From fuller.artful at gmail.com Thu Sep 1 03:52:17 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 1 Sep 2011 04:52:17 -0400 Subject: [AccessD] FYI In-Reply-To: <4FBD11DE4F9D49A6B237BC4F059C1660@HAL9007> References: <4FBD11DE4F9D49A6B237BC4F059C1660@HAL9007> Message-ID: Thanks for this, Rocky. I wondered where it went. Arthur From jwcolby at colbyconsulting.com Thu Sep 1 09:25:03 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 01 Sep 2011 10:25:03 -0400 Subject: [AccessD] Hiding objects programmatically Message-ID: <4E5F95BF.4060103@colbyconsulting.com> For production databases I like to hide all the objects in the design window by setting the property to hidden. In the properties window (Tools / options / View) I then uncheck Hidden Objects and System Objects. This just adds another level of obsfucation to the database for the average user. I did this and everything was copacetic. And then... I run one (several actually) of my databases under 2007 runtime and this database was giving me that crash I discussed awhile back. I ended up having to import everything into a new database and in doing so the hidden attribute of everything was set to visible. I don't have any code to set that property true / false for every object so I thought I'd ask before I go write one. So, does anyone have code to set the Hidden property of the database objects (tables, forms etc)? -- John W. Colby www.ColbyConsulting.com From dhb at flsi.com Thu Sep 1 10:28:49 2011 From: dhb at flsi.com (Darrell Burns) Date: Thu, 1 Sep 2011 08:28:49 -0700 Subject: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address In-Reply-To: <000001cc6845$7eebb370$7cc31a50$@gmail.com> References: <01f201cc6759$65ab09c0$31011d40$@flsi.com> <4E5D5C94.24414.39EA6EB@stuart.lexacorp.com.pg> <005f01cc6762$3855ba20$a9012e60$@gmail.com> <01f901cc677f$0366ad70$0a340850$@flsi.com> <023801cc6805$c06b89a0$41429ce0$@flsi.com> <000101cc680f$a84c42b0$f8e4c810$@gmail.com> <024b01cc6822$e6b7e550$b427aff0$@flsi.com> <000001cc6845$7eebb370$7cc31a50$@gmail.com> Message-ID: <028701cc68bb$d949b080$8bdd1180$@flsi.com> Sorry -- default account, not folder. I have 4 eMail accounts set up in Outlook, and one is set as the default account. That's what I'm trying to identify. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, August 31, 2011 6:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Here is a way to set a reference to the default mail folder: Set MyFolder = myNameSpace.GetDefaultFolder(olFolderInbox) ' olFolderInbox = 6 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns Sent: Wednesday, August 31, 2011 5:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Thanx, Bill. I was able to get a list of my accounts. Do you know what the property is for the Default account? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, August 31, 2011 11:56 AM To: 'Access Developers discussion and problem solving' Subject: [Spam]8.51 Re: [AccessD] [Spam]8.51 Re: Get sender's eMail address This works from Access with a reference to Outlook only... Note I have a pst folder called GMAIL and I am searching Inbox... change to suit. Dim myOlApp As Object Dim myNameSpace As Object Dim myfolders As Object Dim MyFolder As Object Dim myfolder2 As Object Dim item As Object Dim n As Long Set myOlApp = CreateObject("Outlook.Application") Set myNameSpace = myOlApp.GetNamespace("MAPI") Set myfolders = myNameSpace.Folders n = 1 Do Until UCase(myfolders.item(n).Name) = "GMAIL" n = n + 1 Loop Set MyFolder = myfolders.item(n) Set myfolder2 = MyFolder.Folders("Inbox") For Each item In myfolder2.Items If item.Class = 43 Then Debug.Print item.SenderEmailAddress End If Next item End Sub -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dhb at flsi.com Thu Sep 1 10:36:13 2011 From: dhb at flsi.com (Darrell Burns) Date: Thu, 1 Sep 2011 08:36:13 -0700 Subject: [AccessD] Access2010 Runtime problem In-Reply-To: <024701cc6819$ada82210$08f86630$@flsi.com> References: <024701cc6819$ada82210$08f86630$@flsi.com> Message-ID: <028801cc68bc$e267b710$a7372530$@flsi.com> FWIW, I discovered that the remedy to the read-only constraint is to make the runtime folder shareable. This makes no sense, of course, because now I have to set the share status on the installation folder on every workstation before I distribute the package. If anybody knows a way around this, I'd love to hear it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns Sent: Wednesday, August 31, 2011 1:08 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access2010 Runtime problem I have an app that's been developed in A2010 on my Windows7 machine running Office2010 32bit. Autoexec runs a proc called "AddTrustedLocation" (which I picked up from UtterAccess) that inserts registry settings to add the app's current database as a trusted location. I created a runtime with the Package Wizard, tested it on the same development box and everything works fine...the registry settings are properly updated and the app opens into the Switchboard. But when I install the runtime on a different Windows7 machine (also with Office 2010) it crashes on opening. I confirmed that the folder is trusted via the registry settings. So I disabled the Autoexec and all the Switchboard startup procedures. At least the app opens the Switchboard, but now I get a "This database has been opened read-only" message. I suspect that this is why it was crashing before I disabled everything. This is a front-end to a SQLServer database but I do have a few local tables I use for temporary storage, so read-only is a show-stopper. The folder it's in has full privileges. I confirmed this by copying in the accdb version, and it works just fine. What would be the cause (and remedy) for this condition? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Thu Sep 1 11:53:12 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 1 Sep 2011 09:53:12 -0700 Subject: [AccessD] Access2010 Runtime problem In-Reply-To: <028801cc68bc$e267b710$a7372530$@flsi.com> References: <024701cc6819$ada82210$08f86630$@flsi.com> <028801cc68bc$e267b710$a7372530$@flsi.com> Message-ID: It's details like that that make pro shops use packagers like Wise or InstallShield, which can be scripted to handle those situations when the runtime installs. Charlotte Foust On Thu, Sep 1, 2011 at 8:36 AM, Darrell Burns wrote: > FWIW, I discovered that the remedy to the read-only constraint is to make > the runtime folder shareable. This makes no sense, of course, because now I > have to set the share status on the installation folder on every > workstation > before I distribute the package. If anybody knows a way around this, I'd > love to hear it. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns > Sent: Wednesday, August 31, 2011 1:08 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Access2010 Runtime problem > > I have an app that's been developed in A2010 on my Windows7 machine running > Office2010 32bit. Autoexec runs a proc called "AddTrustedLocation" (which I > picked up from UtterAccess) that inserts registry settings to add the app's > current database as a trusted location. I created a runtime with the > Package > Wizard, tested it on the same development box and everything works > fine...the registry settings are properly updated and the app opens into > the > Switchboard. But when I install the runtime on a different Windows7 machine > (also with Office 2010) it crashes on opening. I confirmed that the folder > is trusted via the registry settings. > > So I disabled the Autoexec and all the Switchboard startup procedures. At > least the app opens the Switchboard, but now I get a "This database has > been > opened read-only" message. I suspect that this is why it was crashing > before > I disabled everything. This is a front-end to a SQLServer database but I do > have a few local tables I use for temporary storage, so read-only is a > show-stopper. The folder it's in has full privileges. I confirmed this by > copying in the accdb version, and it works just fine. What would be the > cause (and remedy) for this condition? > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Thu Sep 1 11:55:47 2011 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Thu, 1 Sep 2011 12:55:47 -0400 Subject: [AccessD] Hiding objects programmatically In-Reply-To: <4E5F95BF.4060103@colbyconsulting.com> References: <4E5F95BF.4060103@colbyconsulting.com> Message-ID: Heads Up John, I don't know if this bug has been fixed but check this out... http://access.mvps.org/access/bugs/bugs0036.htm Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, September 01, 2011 10:25 AM To: Access Developers discussion and problem solving Subject: [AccessD] Hiding objects programmatically For production databases I like to hide all the objects in the design window by setting the property to hidden. In the properties window (Tools / options / View) I then uncheck Hidden Objects and System Objects. This just adds another level of obsfucation to the database for the average user. I did this and everything was copacetic. And then... I run one (several actually) of my databases under 2007 runtime and this database was giving me that crash I discussed awhile back. I ended up having to import everything into a new database and in doing so the hidden attribute of everything was set to visible. I don't have any code to set that property true / false for every object so I thought I'd ask before I go write one. So, does anyone have code to set the Hidden property of the database objects (tables, forms etc)? -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Thu Sep 1 12:01:23 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 1 Sep 2011 10:01:23 -0700 Subject: [AccessD] Hiding objects programmatically In-Reply-To: References: <4E5F95BF.4060103@colbyconsulting.com> Message-ID: As I recall, the dbHiddenObject flag was used internally when you "deleted" a table. I got bitten by this back in A2k, IIRC. Charlotte Foust On Thu, Sep 1, 2011 at 9:55 AM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > Heads Up John, > > I don't know if this bug has been fixed but check this out... > > http://access.mvps.org/access/bugs/bugs0036.htm > > > > Lambert > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, September 01, 2011 10:25 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Hiding objects programmatically > > For production databases I like to hide all the objects in the design > window by setting the property to hidden. In the properties window (Tools / > options / View) I then uncheck Hidden Objects and System Objects. This just > adds another level of obsfucation to the database for the average user. > > I did this and everything was copacetic. And then... I run one (several > actually) of my databases under 2007 runtime and this database was giving me > that crash I discussed awhile back. I ended up having to import everything > into a new database and in doing so the hidden attribute of everything was > set to visible. > > I don't have any code to set that property true / false for every object so > I thought I'd ask before I go write one. > > So, does anyone have code to set the Hidden property of the database > objects (tables, forms etc)? > > -- > John W. Colby > www.ColbyConsulting.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 Thu Sep 1 12:09:59 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 01 Sep 2011 13:09:59 -0400 Subject: [AccessD] Hiding objects programmatically In-Reply-To: References: <4E5F95BF.4060103@colbyconsulting.com> Message-ID: <4E5FBC67.5010506@colbyconsulting.com> Wow, thanks for the warning. I vaguely remember this but never really used the hidden property before. I guess I will set by hand. Do we think this only apples to tables or every database object? John W. Colby www.ColbyConsulting.com On 9/1/2011 12:55 PM, Heenan, Lambert wrote: > Heads Up John, > > I don't know if this bug has been fixed but check this out... > > http://access.mvps.org/access/bugs/bugs0036.htm > > Lambert > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, September 01, 2011 10:25 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Hiding objects programmatically > > For production databases I like to hide all the objects in the design window by setting the property to hidden. In the properties window (Tools / options / View) I then uncheck Hidden Objects and System Objects. This just adds another level of obsfucation to the database for the average user. > > I did this and everything was copacetic. And then... I run one (several actually) of my databases under 2007 runtime and this database was giving me that crash I discussed awhile back. I ended up having to import everything into a new database and in doing so the hidden attribute of everything was set to visible. > > I don't have any code to set that property true / false for every object so I thought I'd ask before I go write one. > > So, does anyone have code to set the Hidden property of the database objects (tables, forms etc)? > > -- > John W. Colby > www.ColbyConsulting.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 Sep 1 12:26:05 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Thu, 1 Sep 2011 13:26:05 -0400 Subject: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address In-Reply-To: <028701cc68bb$d949b080$8bdd1180$@flsi.com> References: <01f201cc6759$65ab09c0$31011d40$@flsi.com> <4E5D5C94.24414.39EA6EB@stuart.lexacorp.com.pg> <005f01cc6762$3855ba20$a9012e60$@gmail.com> <01f901cc677f$0366ad70$0a340850$@flsi.com> <023801cc6805$c06b89a0$41429ce0$@flsi.com> <000101cc680f$a84c42b0$f8e4c810$@gmail.com> <024b01cc6822$e6b7e550$b427aff0$@flsi.com> <000001cc6845$7eebb370$7cc31a50$@gmail.com> <028701cc68bb$d949b080$8bdd1180$@flsi.com> Message-ID: <001b01cc68cc$3c5b1140$b51133c0$@gmail.com> Not sure it can be done without Redemption because there just is nothing exposed through the Outlook library that lets you examine the Session object that carefully. All accounts are in the Accounts collection but there is nothing about any of those objects which tells you it is the default, and nothing about the Session object itself which indicates what account will be used by default to send a message. At least insofar as I have been able to discover through the Locals window. Good luck in the quest and let us know if you get farther, I would like to know. FYI ... this is drifting far away from getting the Sender's e-mail address ... was that resolved to your satisfaction? Bill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns Sent: Thursday, September 01, 2011 11:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Sorry -- default account, not folder. I have 4 eMail accounts set up in Outlook, and one is set as the default account. That's what I'm trying to identify. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, August 31, 2011 6:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Here is a way to set a reference to the default mail folder: Set MyFolder = myNameSpace.GetDefaultFolder(olFolderInbox) ' olFolderInbox = 6 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns Sent: Wednesday, August 31, 2011 5:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Thanx, Bill. I was able to get a list of my accounts. Do you know what the property is for the Default account? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, August 31, 2011 11:56 AM To: 'Access Developers discussion and problem solving' Subject: [Spam]8.51 Re: [AccessD] [Spam]8.51 Re: Get sender's eMail address This works from Access with a reference to Outlook only... Note I have a pst folder called GMAIL and I am searching Inbox... change to suit. Dim myOlApp As Object Dim myNameSpace As Object Dim myfolders As Object Dim MyFolder As Object Dim myfolder2 As Object Dim item As Object Dim n As Long Set myOlApp = CreateObject("Outlook.Application") Set myNameSpace = myOlApp.GetNamespace("MAPI") Set myfolders = myNameSpace.Folders n = 1 Do Until UCase(myfolders.item(n).Name) = "GMAIL" n = n + 1 Loop Set MyFolder = myfolders.item(n) Set myfolder2 = MyFolder.Folders("Inbox") For Each item In myfolder2.Items If item.Class = 43 Then Debug.Print item.SenderEmailAddress End If Next item End Sub -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Thu Sep 1 12:45:37 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Thu, 1 Sep 2011 13:45:37 -0400 Subject: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address References: <01f201cc6759$65ab09c0$31011d40$@flsi.com> <4E5D5C94.24414.39EA6EB@stuart.lexacorp.com.pg> <005f01cc6762$3855ba20$a9012e60$@gmail.com> <01f901cc677f$0366ad70$0a340850$@flsi.com> <023801cc6805$c06b89a0$41429ce0$@flsi.com> <000101cc680f$a84c42b0$f8e4c810$@gmail.com> <024b01cc6822$e6b7e550$b427aff0$@flsi.com> <000001cc6845$7eebb370$7cc31a50$@gmail.com> <028701cc68bb$d949b080$8bdd1180$@flsi.com> Message-ID: <001c01cc68ce$f6c885b0$e4599110$@gmail.com> Ahhh. Found something. Debug.Print olApp.Session.CurrentUser.Address shows the e-mail address that is used by default for a new message. -----Original Message----- From: William Benson (VBACreations.Com) [mailto:vbacreations at gmail.com] Sent: Thursday, September 01, 2011 1:26 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Not sure it can be done without Redemption because there just is nothing exposed through the Outlook library that lets you examine the Session object that carefully. All accounts are in the Accounts collection but there is nothing about any of those objects which tells you it is the default, and nothing about the Session object itself which indicates what account will be used by default to send a message. At least insofar as I have been able to discover through the Locals window. Good luck in the quest and let us know if you get farther, I would like to know. FYI ... this is drifting far away from getting the Sender's e-mail address ... was that resolved to your satisfaction? Bill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns Sent: Thursday, September 01, 2011 11:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Sorry -- default account, not folder. I have 4 eMail accounts set up in Outlook, and one is set as the default account. That's what I'm trying to identify. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, August 31, 2011 6:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Here is a way to set a reference to the default mail folder: Set MyFolder = myNameSpace.GetDefaultFolder(olFolderInbox) ' olFolderInbox = 6 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns Sent: Wednesday, August 31, 2011 5:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Thanx, Bill. I was able to get a list of my accounts. Do you know what the property is for the Default account? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, August 31, 2011 11:56 AM To: 'Access Developers discussion and problem solving' Subject: [Spam]8.51 Re: [AccessD] [Spam]8.51 Re: Get sender's eMail address This works from Access with a reference to Outlook only... Note I have a pst folder called GMAIL and I am searching Inbox... change to suit. Dim myOlApp As Object Dim myNameSpace As Object Dim myfolders As Object Dim MyFolder As Object Dim myfolder2 As Object Dim item As Object Dim n As Long Set myOlApp = CreateObject("Outlook.Application") Set myNameSpace = myOlApp.GetNamespace("MAPI") Set myfolders = myNameSpace.Folders n = 1 Do Until UCase(myfolders.item(n).Name) = "GMAIL" n = n + 1 Loop Set MyFolder = myfolders.item(n) Set myfolder2 = MyFolder.Folders("Inbox") For Each item In myfolder2.Items If item.Class = 43 Then Debug.Print item.SenderEmailAddress End If Next item End Sub -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BradM at blackforestltd.com Thu Sep 1 13:10:56 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Thu, 1 Sep 2011 13:10:56 -0500 Subject: [AccessD] Obtaining Outlook data from Access (in an Outlook mailbox that is not the default) References: <01f201cc6759$65ab09c0$31011d40$@flsi.com> <4E5D5C94.24414.39EA6EB@stuart.lexacorp.com.pg> <005f01cc6762$3855ba20$a9012e60$@gmail.com> <01f901cc677f$0366ad70$0a340850$@flsi.com> <023801cc6805$c06b89a0$41429ce0$@flsi.com> <000101cc680f$a84c42b0$f8e4c810$@gmail.com> <024b01cc6822$e6b7e550$b427aff0$@flsi.com> <000001cc6845$7eebb370$7cc31a50$@gmail.com><028701cc68bb$d949b080$8bdd1180$@flsi.com> <001c01cc68ce$f6c885b0$e4599110$@gmail.com> Message-ID: I have been experimenting with using the Access "Link Exchange/Outlook Wizard" to link to Outlook folders in my mailbox. This works nicely. Now I need to link to a folder in a different mailbox that has been set up for replies to a mass Email that was sent out. (I have the Outlook Account Name and Password) Is this possible with VBA code? An example would be most appreciated. Thanks, Brad From dhb at flsi.com Thu Sep 1 14:37:48 2011 From: dhb at flsi.com (Darrell Burns) Date: Thu, 1 Sep 2011 12:37:48 -0700 Subject: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address In-Reply-To: <001c01cc68ce$f6c885b0$e4599110$@gmail.com> References: <01f201cc6759$65ab09c0$31011d40$@flsi.com> <4E5D5C94.24414.39EA6EB@stuart.lexacorp.com.pg> <005f01cc6762$3855ba20$a9012e60$@gmail.com> <01f901cc677f$0366ad70$0a340850$@flsi.com> <023801cc6805$c06b89a0$41429ce0$@flsi.com> <000101cc680f$a84c42b0$f8e4c810$@gmail.com> <024b01cc6822$e6b7e550$b427aff0$@flsi.com> <000001cc6845$7eebb370$7cc31a50$@gmail.com> <028701cc68bb$d949b080$8bdd1180$@flsi.com> <001c01cc68ce$f6c885b0$e4599110$@gmail.com> Message-ID: <029801cc68de$a2bac7c0$e8305740$@flsi.com> Excellent, Bill. I really appreciate your persistence on this. Thanx! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Thursday, September 01, 2011 10:46 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Ahhh. Found something. Debug.Print olApp.Session.CurrentUser.Address shows the e-mail address that is used by default for a new message. -----Original Message----- From: William Benson (VBACreations.Com) [mailto:vbacreations at gmail.com] Sent: Thursday, September 01, 2011 1:26 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Not sure it can be done without Redemption because there just is nothing exposed through the Outlook library that lets you examine the Session object that carefully. All accounts are in the Accounts collection but there is nothing about any of those objects which tells you it is the default, and nothing about the Session object itself which indicates what account will be used by default to send a message. At least insofar as I have been able to discover through the Locals window. Good luck in the quest and let us know if you get farther, I would like to know. FYI ... this is drifting far away from getting the Sender's e-mail address ... was that resolved to your satisfaction? Bill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns Sent: Thursday, September 01, 2011 11:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Sorry -- default account, not folder. I have 4 eMail accounts set up in Outlook, and one is set as the default account. That's what I'm trying to identify. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, August 31, 2011 6:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Here is a way to set a reference to the default mail folder: Set MyFolder = myNameSpace.GetDefaultFolder(olFolderInbox) ' olFolderInbox = 6 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns Sent: Wednesday, August 31, 2011 5:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Thanx, Bill. I was able to get a list of my accounts. Do you know what the property is for the Default account? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, August 31, 2011 11:56 AM To: 'Access Developers discussion and problem solving' Subject: [Spam]8.51 Re: [AccessD] [Spam]8.51 Re: Get sender's eMail address This works from Access with a reference to Outlook only... Note I have a pst folder called GMAIL and I am searching Inbox... change to suit. Dim myOlApp As Object Dim myNameSpace As Object Dim myfolders As Object Dim MyFolder As Object Dim myfolder2 As Object Dim item As Object Dim n As Long Set myOlApp = CreateObject("Outlook.Application") Set myNameSpace = myOlApp.GetNamespace("MAPI") Set myfolders = myNameSpace.Folders n = 1 Do Until UCase(myfolders.item(n).Name) = "GMAIL" n = n + 1 Loop Set MyFolder = myfolders.item(n) Set myfolder2 = MyFolder.Folders("Inbox") For Each item In myfolder2.Items If item.Class = 43 Then Debug.Print item.SenderEmailAddress End If Next item End Sub -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 iggy at nanaimo.ark.com Thu Sep 1 14:39:21 2011 From: iggy at nanaimo.ark.com (Tony Septav) Date: Thu, 1 Sep 2011 12:39:21 -0700 Subject: [AccessD] :) In-Reply-To: <9E95C48974A94C5D80EFB3444668BD61@HAL9007> References: <3D568192E72C468FB4DD4A4693553C54@SusanHarkins>, <4E5CCF00.7000101@colbyconsulting.com>, <4E5D4E1B.21029.3661FC1@stuart.lexacorp.com.pg> <9E95C48974A94C5D80EFB3444668BD61@HAL9007> Message-ID: Hey All CPU you, no CPU you! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, August 30, 2011 2:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] :) With that obsolete floppy you're sporting? I don't think so... R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: August 30, 2011 1:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] :) Can my Front End access you back End? -- Stuart On 30 Aug 2011 at 7:58, Dean Davids wrote: > Actually, that one may work. > > > Dean S. Davids > www.cmbscorp.com > 954-868-4421 > > On Aug 30, 2011, at 7:52 AM, jwcolby > wrote: > > > I think the very worst Access pickup line might well be > > > > 1) I love your back end! > > > > John W. Colby > > www.ColbyConsulting.com > > > > On 8/29/2011 2:04 PM, Susan Harkins wrote: > >> Top 10 Worst Access Pick-Up Lines > >> > >> To commemorate the one year anniversary of the Access Junkie Top 10 > >> List, here's another list to help you get through a tough workday. > >> In addition, since it is the weekend, these should come in handy as > >> you're out on the town. Most of these can be used with either > >> gender, but some are obviously gender specific. > >> > >> A word of caution here! These pick-up lines will probably work on > >> only the MOST intelligent of prospective mates. Most of the time, > >> however, you will be met with mixed results. By "mixed" I mean you > >> will most likely have a mixed drink tossed in your face!! > >> > >> So here you go: Top 10 Worst Access Pick-Up Lines: > >> > >> 10. Compile here often? > >> > >> 9. What's your sign? DAO or ADO? > >> > >> 8. WOW! You just put a Breakpoint right on my heart! > >> > >> 7. I would love to hear you talk SQL to me. > >> > >> 6. Want to go back to my place and Debug a few hundred lines of > >> code? > >> > >> 5. Hi there, I don't think we've been properly Dimmed. > >> > >> 4. Is that an Add-In in your pocket or are you just happy to see > >> me? > >> > >> 3. You show me your References and I'll show you mine! > >> > >> 2. Would you like to go out back and play in Sandbox mode? > >> . > >> . > >> . > >> . > >> . > >> . > >> And the number one worst Access Pick-Up Line: > >> > >> 1. What are the chances of you and I getting to Third Normal Form? > >> (splash) > >> > >> > >> > >> >> kuplines> > >> > >> Can't believe I've never seen this before. :) > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 ----- No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1392 / Virus Database: 1520/3869 - Release Date: 08/31/11 From vbacreations at gmail.com Thu Sep 1 15:29:43 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 1 Sep 2011 16:29:43 -0400 Subject: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address In-Reply-To: <029801cc68de$a2bac7c0$e8305740$@flsi.com> References: <01f201cc6759$65ab09c0$31011d40$@flsi.com> <4E5D5C94.24414.39EA6EB@stuart.lexacorp.com.pg> <005f01cc6762$3855ba20$a9012e60$@gmail.com> <01f901cc677f$0366ad70$0a340850$@flsi.com> <023801cc6805$c06b89a0$41429ce0$@flsi.com> <000101cc680f$a84c42b0$f8e4c810$@gmail.com> <024b01cc6822$e6b7e550$b427aff0$@flsi.com> <000001cc6845$7eebb370$7cc31a50$@gmail.com> <028701cc68bb$d949b080$8bdd1180$@flsi.com> <001c01cc68ce$f6c885b0$e4599110$@gmail.com> <029801cc68de$a2bac7c0$e8305740$@flsi.com> Message-ID: Happy to help when I can. This List been my salvation so many times. On Sep 1, 2011 3:38 PM, "Darrell Burns" wrote: > Excellent, Bill. I really appreciate your persistence on this. > Thanx! > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > (VBACreations.Com) > Sent: Thursday, September 01, 2011 10:46 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail > address > > Ahhh. Found something. > > Debug.Print olApp.Session.CurrentUser.Address shows > > the e-mail address that is used by default for a new message. > > > > -----Original Message----- > From: William Benson (VBACreations.Com) [mailto:vbacreations at gmail.com] > Sent: Thursday, September 01, 2011 1:26 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail > address > > Not sure it can be done without Redemption because there just is nothing > exposed through the Outlook library that lets you examine the Session object > that carefully. All accounts are in the Accounts collection but there is > nothing about any of those objects which tells you it is the default, and > nothing about the Session object itself which indicates what account will be > used by default to send a message. > > At least insofar as I have been able to discover through the Locals window. > > Good luck in the quest and let us know if you get farther, I would like to > know. > > FYI ... this is drifting far away from getting the Sender's e-mail address > ... was that resolved to your satisfaction? > Bill > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns > Sent: Thursday, September 01, 2011 11:29 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail > address > > Sorry -- default account, not folder. I have 4 eMail accounts set up in > Outlook, and one is set as the default account. That's what I'm trying to > identify. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > (VBACreations.Com) > Sent: Wednesday, August 31, 2011 6:22 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail > address > > Here is a way to set a reference to the default mail folder: > > Set MyFolder = myNameSpace.GetDefaultFolder(olFolderInbox) ' olFolderInbox > = 6 > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns > Sent: Wednesday, August 31, 2011 5:14 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail > address > > Thanx, Bill. I was able to get a list of my accounts. Do you know what the > property is for the Default account? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > (VBACreations.Com) > Sent: Wednesday, August 31, 2011 11:56 AM > To: 'Access Developers discussion and problem solving' > Subject: [Spam]8.51 Re: [AccessD] [Spam]8.51 Re: Get sender's eMail address > > This works from Access with a reference to Outlook only... Note I have a pst > folder called GMAIL and I am searching Inbox... change to suit. > > > Dim myOlApp As Object > Dim myNameSpace As Object > Dim myfolders As Object > Dim MyFolder As Object > Dim myfolder2 As Object > Dim item As Object > > Dim n As Long > > > Set myOlApp = CreateObject("Outlook.Application") > Set myNameSpace = myOlApp.GetNamespace("MAPI") Set myfolders = > myNameSpace.Folders > > n = 1 > Do Until UCase(myfolders.item(n).Name) = "GMAIL" > n = n + 1 > Loop > > Set MyFolder = myfolders.item(n) > Set myfolder2 = MyFolder.Folders("Inbox") > > For Each item In myfolder2.Items > If item.Class = 43 Then > Debug.Print item.SenderEmailAddress > End If > Next item > > > End Sub > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Thu Sep 1 22:22:45 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 1 Sep 2011 23:22:45 -0400 Subject: [AccessD] :) In-Reply-To: References: <3D568192E72C468FB4DD4A4693553C54@SusanHarkins> <4E5CCF00.7000101@colbyconsulting.com> <4E5D4E1B.21029.3661FC1@stuart.lexacorp.com.pg> <9E95C48974A94C5D80EFB3444668BD61@HAL9007> Message-ID: I don't get it On Sep 1, 2011 3:40 PM, "Tony Septav" wrote: > Hey All > CPU you, no CPU you! > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Tuesday, August 30, 2011 2:02 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] :) > > With that obsolete floppy you're sporting? I don't think so... > > > R > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: August 30, 2011 1:55 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] :) > > Can my Front End access you back End? > > -- > Stuart > > On 30 Aug 2011 at 7:58, Dean Davids wrote: > >> Actually, that one may work. >> >> >> Dean S. Davids >> www.cmbscorp.com >> 954-868-4421 >> >> On Aug 30, 2011, at 7:52 AM, jwcolby >> wrote: >> >> > I think the very worst Access pickup line might well be >> > >> > 1) I love your back end! >> > >> > John W. Colby >> > www.ColbyConsulting.com >> > >> > On 8/29/2011 2:04 PM, Susan Harkins wrote: >> >> Top 10 Worst Access Pick-Up Lines >> >> >> >> To commemorate the one year anniversary of the Access Junkie Top 10 >> >> List, here's another list to help you get through a tough workday. >> >> In addition, since it is the weekend, these should come in handy as >> >> you're out on the town. Most of these can be used with either >> >> gender, but some are obviously gender specific. >> >> >> >> A word of caution here! These pick-up lines will probably work on >> >> only the MOST intelligent of prospective mates. Most of the time, >> >> however, you will be met with mixed results. By "mixed" I mean you >> >> will most likely have a mixed drink tossed in your face!! >> >> >> >> So here you go: Top 10 Worst Access Pick-Up Lines: >> >> >> >> 10. Compile here often? >> >> >> >> 9. What's your sign? DAO or ADO? >> >> >> >> 8. WOW! You just put a Breakpoint right on my heart! >> >> >> >> 7. I would love to hear you talk SQL to me. >> >> >> >> 6. Want to go back to my place and Debug a few hundred lines of >> >> code? >> >> >> >> 5. Hi there, I don't think we've been properly Dimmed. >> >> >> >> 4. Is that an Add-In in your pocket or are you just happy to see >> >> me? >> >> >> >> 3. You show me your References and I'll show you mine! >> >> >> >> 2. Would you like to go out back and play in Sandbox mode? >> >> . >> >> . >> >> . >> >> . >> >> . >> >> . >> >> And the number one worst Access Pick-Up Line: >> >> >> >> 1. What are the chances of you and I getting to Third Normal Form? >> >> (splash) >> >> >> >> >> >> >> >> > >> kuplines> >> >> >> >> Can't believe I've never seen this before. :) >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/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 > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 10.0.1392 / Virus Database: 1520/3869 - Release Date: 08/31/11 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From dnod at aol.com Thu Sep 1 22:29:10 2011 From: dnod at aol.com (Dean Davids) Date: Thu, 1 Sep 2011 23:29:10 -0400 Subject: [AccessD] :) In-Reply-To: References: <3D568192E72C468FB4DD4A4693553C54@SusanHarkins> <4E5CCF00.7000101@colbyconsulting.com> <4E5D4E1B.21029.3661FC1@stuart.lexacorp.com.pg> <9E95C48974A94C5D80EFB3444668BD61@HAL9007> Message-ID: <9F5A6DED-6FE5-4528-9ABB-350F32372559@aol.com> Not if I CPU first! Dean S. Davids www.cmbscorp.com 954-868-4421 On Sep 1, 2011, at 11:22 PM, William Benson wrote: > I don't get it > On Sep 1, 2011 3:40 PM, "Tony Septav" wrote: >> Hey All >> CPU you, no CPU you! >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin >> Sent: Tuesday, August 30, 2011 2:02 PM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] :) >> >> With that obsolete floppy you're sporting? I don't think so... >> >> >> R >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan >> Sent: August 30, 2011 1:55 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] :) >> >> Can my Front End access you back End? >> >> -- >> Stuart >> >> On 30 Aug 2011 at 7:58, Dean Davids wrote: >> >>> Actually, that one may work. >>> >>> >>> Dean S. Davids >>> www.cmbscorp.com >>> 954-868-4421 >>> >>> On Aug 30, 2011, at 7:52 AM, jwcolby >>> wrote: >>> >>>> I think the very worst Access pickup line might well be >>>> >>>> 1) I love your back end! >>>> >>>> John W. Colby >>>> www.ColbyConsulting.com >>>> >>>> On 8/29/2011 2:04 PM, Susan Harkins wrote: >>>>> Top 10 Worst Access Pick-Up Lines >>>>> >>>>> To commemorate the one year anniversary of the Access Junkie Top 10 >>>>> List, here's another list to help you get through a tough workday. >>>>> In addition, since it is the weekend, these should come in handy as >>>>> you're out on the town. Most of these can be used with either >>>>> gender, but some are obviously gender specific. >>>>> >>>>> A word of caution here! These pick-up lines will probably work on >>>>> only the MOST intelligent of prospective mates. Most of the time, >>>>> however, you will be met with mixed results. By "mixed" I mean you >>>>> will most likely have a mixed drink tossed in your face!! >>>>> >>>>> So here you go: Top 10 Worst Access Pick-Up Lines: >>>>> >>>>> 10. Compile here often? >>>>> >>>>> 9. What's your sign? DAO or ADO? >>>>> >>>>> 8. WOW! You just put a Breakpoint right on my heart! >>>>> >>>>> 7. I would love to hear you talk SQL to me. >>>>> >>>>> 6. Want to go back to my place and Debug a few hundred lines of >>>>> code? >>>>> >>>>> 5. Hi there, I don't think we've been properly Dimmed. >>>>> >>>>> 4. Is that an Add-In in your pocket or are you just happy to see >>>>> me? >>>>> >>>>> 3. You show me your References and I'll show you mine! >>>>> >>>>> 2. Would you like to go out back and play in Sandbox mode? >>>>> . >>>>> . >>>>> . >>>>> . >>>>> . >>>>> . >>>>> And the number one worst Access Pick-Up Line: >>>>> >>>>> 1. What are the chances of you and I getting to Third Normal Form? >>>>> (splash) >>>>> >>>>> >>>>> >>>>> >>>> kuplines> >>>>> >>>>> Can't believe I've never seen this before. :) >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/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 >> ----- >> No virus found in this message. >> Checked by AVG - www.avg.com >> Version: 10.0.1392 / Virus Database: 1520/3869 - Release Date: 08/31/11 >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Thu Sep 1 23:19:41 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 1 Sep 2011 21:19:41 -0700 Subject: [AccessD] Hiding objects programmatically In-Reply-To: <4E5FBC67.5010506@colbyconsulting.com> References: <4E5F95BF.4060103@colbyconsulting.com> <4E5FBC67.5010506@colbyconsulting.com> Message-ID: I don't recall, but I would assume so. Charlotte Foust On Thu, Sep 1, 2011 at 10:09 AM, jwcolby wrote: > Wow, thanks for the warning. I vaguely remember this but never really used > the hidden property before. > > I guess I will set by hand. Do we think this only apples to tables or > every database object? > > > John W. Colby > www.ColbyConsulting.com > > > > On 9/1/2011 12:55 PM, Heenan, Lambert wrote: > >> Heads Up John, >> >> I don't know if this bug has been fixed but check this out... >> >> http://access.mvps.org/access/**bugs/bugs0036.htm >> >> >> >> Lambert >> >> >> -----Original Message----- >> From: accessd-bounces@**databaseadvisors.com[mailto: >> accessd-bounces@**databaseadvisors.com] >> On Behalf Of jwcolby >> Sent: Thursday, September 01, 2011 10:25 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Hiding objects programmatically >> >> For production databases I like to hide all the objects in the design >> window by setting the property to hidden. In the properties window (Tools / >> options / View) I then uncheck Hidden Objects and System Objects. This just >> adds another level of obsfucation to the database for the average user. >> >> I did this and everything was copacetic. And then... I run one (several >> actually) of my databases under 2007 runtime and this database was giving me >> that crash I discussed awhile back. I ended up having to import everything >> into a new database and in doing so the hidden attribute of everything was >> set to visible. >> >> I don't have any code to set that property true / false for every object >> so I thought I'd ask before I go write one. >> >> So, does anyone have code to set the Hidden property of the database >> objects (tables, forms etc)? >> >> -- >> John W. Colby >> www.ColbyConsulting.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 Fri Sep 2 11:33:01 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 09:33:01 -0700 Subject: [AccessD] freelancing job sites In-Reply-To: References: Message-ID: Ha ha, I think you have about covered it. Very good article. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, August 22, 2011 6:25 AM To: Access Developers discussion and problem solving Subject: [AccessD] freelancing job sites This one ruffled a few feathers -- someone told me I give contractors a bad name and that I should retire. :) Guess that means it was good. :) After writing the above article, a reader asked me to recommend my favorite freelancing/contracting job sites. Well, that might turn into a good article -- so let's see what happens. At the very least, we'll compile a great list for ourselves. :) Dice.com seems to be the biggest one -- what do you guys think of it? Thanks! Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 2 11:50:47 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 09:50:47 -0700 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: <4E52BED3.9080600@colbyconsulting.com> References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> Message-ID: I have six clients that I have been supporting for over 15 years...the oldest one is 24 years. There is not a system that cannot be improved and I never mention, to any of them, how much they have paid me in total. When cost is discussed, we talk about our dealings as an extended insurance policy and everyone seems happy. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, August 22, 2011 1:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites (OT Reply) 9 years and 240K later one of my clients is still adding to the system I write for them (in Access). I started in July 2002. We are about to migrate the data to SQL Server. John W. Colby www.ColbyConsulting.com On 8/22/2011 3:51 PM, Mark Simms wrote: >> Lately, my 'salesman' has been taking my time/money quotes, and not >> adjusting them properly. When I say 2 weeks, he should be telling his >> customer 4 weeks, instead, he tells them 1 week, and hounds me. > > Sorry, I've got to "top" that one. > A couple of years ago I was hired to enhance a system that basically was a > custom-made CRM for a very specialized business. > There were no off-the-shelf packages, so their in-house developer wrote it > over a period of 3 years. > It was built using VB6, Access 97, and a bunch of 3rd party controls. > They lost the licenses and the developer, so I gave them the option of > building out additional functionality via Access 97. > It was to provide a new source of revenue for them. 6-8 weeks later it was > done. > > Management then decided they wanted to rewrite the whole system....I gave > them a proposal in Access 2007 for $80,000 and 8 months time which they > rejected. Instead, they signed a development company to do it in dot-net/SQL > Server. I was disappointed, I thought I had given them a "bargain". Their > volume did not dictate a need for a heavy-duty database. > > Two years and $250,000 later, the dot-net system is still nowhere near > completed. > > Lesson: in IT freelancing, it's so easy to get burned. > > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 2 12:12:57 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 10:12:57 -0700 Subject: [AccessD] freelancing job sites In-Reply-To: <35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net> <35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> Message-ID: <8C2AEC85399344049C37CCE2430D9D79@creativesystemdesigns.com> Hi Susan: Unless I am missing something, for the most part everyone is in complete agreement with your assumptions. If there is "hateful feedback", I did not find it. Maybe you are being too sensitive? Give us some examples. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, August 23, 2011 9:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites I've never had an article illicit such hateful feedback before. Mostly, people are generous when they disagree, but a couple of them want my head on a platter, and I don't really understand why -- there's really no attack in the article, so I'm truly surprised at some of the hateful responses. I mean, it's not like I said, "You're a crappy developer if you use bound forms" or something. :) Susan H. > Spot on Susan! > >> > out-freelancing/2685?tag=content;blog-list-river> > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Fri Sep 2 12:29:24 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 13:29:24 -0400 Subject: [AccessD] freelancing job sites References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net><35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> <8C2AEC85399344049C37CCE2430D9D79@creativesystemdesigns.com> Message-ID: <63AE84781A4D4D06831092CAE59A695A@SusanHarkins> I'm not being sensitive because they don't bother me. I find them odd and I'd prefer not to get them, but I'm not upset about it. I don't think telling me that I give freelancers a bad name and that I should retire is constructive criticism. There was another that was even worst -- suggested TR not use me as a contributor anymore. Too sensitive? I don't think so. I didn't write anything that should've illicited that kind of ire from anyone. Some people are just too crumpy to interact with other people in a reasonable manner. Like I said, most people had some interesting stories to tell and even those that disagreed with me did so in a reasonable manner. The flip side's coming out soon and after that I've got one that lists the reasons I don't miss Office 2003 -- they'll fry me up for supper after reading that one. :) Susan H. > Hi Susan: > > Unless I am missing something, for the most part everyone is in complete > agreement with your assumptions. If there is "hateful feedback", I did not > find it. > > Maybe you are being too sensitive? Give us some examples. ;-) > From accessd at shaw.ca Fri Sep 2 12:33:00 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 10:33:00 -0700 Subject: [AccessD] freelancing job sites In-Reply-To: <78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net> <35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> <013c01cc6261$e4237320$ac6a5960$@net> <78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> Message-ID: Hi Susan: You are obviously not hosting a political blog if you find some of those comments "hateful". ;-) If you are over 50, the chances of you getting a full-time gig in the IT field is almost zero... (Have you heard of any 35 year old quarter-backs?) OTOH you are always being called to fix some programming disaster as the young guys tend to be too fast and not as methodical in code-crawling. I noticed that you said, when working an IT guy has the options of working from dusk-to-dawn or dawn-to-dusk; you forgot the other option of around-the-clock. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, August 24, 2011 9:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites Mostly, there have been a lot of really positive and constructive comments -- it's been a good discussion. Only a few were obnoxious, I just wasn't expecting them. 2.) Man, it's the truth. No way to sugar-coat it. If you're over 50 and looking for work, you're in a world of hurt. If you're over 50 and been freelancing for the last few years, you're toast. I know, there are exceptions to every rule, but I think in general, it would be hard for me to find traditional employment now. 3.) If you're not working, you're not making money. It's all the self-discipline I need. :) Susan H. > Susan - I didn't see many really hateful responses. > I was simply amazed at the NUMBER of responses....wow ! > > 3 big take-aways for me were: > 1) agencies behavior > 2) impact of age on employment by large corps > 3) self discipline requirement -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 2 12:35:21 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 10:35:21 -0700 Subject: [AccessD] Sending email from Access In-Reply-To: References: <000101cc61d1$659f2750$30dd75f0$@flsi.com> Message-ID: <45A6917C3BBE4A38B729B1CCF49306A4@creativesystemdesigns.com> I have found BLAT so reliable that when it fails, I start checking the ISP code. In other words, if the app fails, get a new computer. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Wednesday, August 24, 2011 10:33 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sending email from Access hahaha Another vote for Blat. On Tue, Aug 23, 2011 at 6:02 PM, Arthur Fuller wrote: > I use Redemption, but that could be because I'm a serious Bob Marley fan, > not that he had anything to do with it, but I love "Redemption Song" and > their code seems to work just fine. > > A. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Fri Sep 2 12:46:44 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 13:46:44 -0400 Subject: [AccessD] freelancing job sites References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net><35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins><013c01cc6261$e4237320$ac6a5960$@net><78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> Message-ID: <8CC6AE5727664443AF54311595CA9AA2@SusanHarkins> > You are obviously not hosting a political blog if you find some of those > comments "hateful". ;-) ========They're hateful and there's really no room for them in the conversation, but I know that some people are that miserable in their lives. > > I noticed that you said, when working an IT guy has the options of working > from dusk-to-dawn or dawn-to-dusk; you forgot the other option of > around-the-clock. =========Damn! I wish I'd thought of that. :) Susan H. From jm.hwsn at gmail.com Fri Sep 2 13:11:01 2011 From: jm.hwsn at gmail.com (jm.hwsn) Date: Fri, 2 Sep 2011 13:11:01 -0500 Subject: [AccessD] freelancing job sites In-Reply-To: References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net><35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins><013c01cc6261$e4237320$ac6a5960$@net><78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> Message-ID: ---- If you are over 50, the chances of you getting a full-time gig in the IT field is almost zero... (Have you heard of any 35 year old quarter-backs?) ---- Me! I'm 62. I'm working full-time in Access 2007 only. Been on the same gig for over 2 years... and they just renewed my contract for another year. I feel, I owe it all to this list. I am a "lurker" most of the time, but I read almost everything that this list publishes. I've learned a lot over the several years that I have been a member. It's been so long I don't remember when I joined. It's like family. Thanks everyone. Jim -----Original Message----- From: Jim Lawrence Sent: Friday, September 02, 2011 12:33 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] freelancing job sites Hi Susan: You are obviously not hosting a political blog if you find some of those comments "hateful". ;-) If you are over 50, the chances of you getting a full-time gig in the IT field is almost zero... (Have you heard of any 35 year old quarter-backs?) OTOH you are always being called to fix some programming disaster as the young guys tend to be too fast and not as methodical in code-crawling. I noticed that you said, when working an IT guy has the options of working from dusk-to-dawn or dawn-to-dusk; you forgot the other option of around-the-clock. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, August 24, 2011 9:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites Mostly, there have been a lot of really positive and constructive comments -- it's been a good discussion. Only a few were obnoxious, I just wasn't expecting them. 2.) Man, it's the truth. No way to sugar-coat it. If you're over 50 and looking for work, you're in a world of hurt. If you're over 50 and been freelancing for the last few years, you're toast. I know, there are exceptions to every rule, but I think in general, it would be hard for me to find traditional employment now. 3.) If you're not working, you're not making money. It's all the self-discipline I need. :) Susan H. > Susan - I didn't see many really hateful responses. > I was simply amazed at the NUMBER of responses....wow ! > > 3 big take-aways for me were: > 1) agencies behavior > 2) impact of age on employment by large corps > 3) self discipline requirement -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 shamil at smsconsulting.spb.ru Fri Sep 2 13:21:39 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 2 Sep 2011 22:21:39 +0400 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: References: <00d901cc6104$e48b4e40$ada1eac0$@net><4E52BED3.9080600@colbyconsulting.com> Message-ID: <2BB94FDF62ED42B194C1CC6F12061C3D@nant> Hi Jim -- I guess your clients do have got developed strong business thanks to your good software development work for them - that seems to be the key point for a freelancing carrier success. Although there exist so many "prospect customers" who are trying to "save a penny" by burning out freelancers. Therefore additionally to 'must have' constant mastering of software development skills and learning by doing the new technologies every freelancer should also master the art of selecting (and nurturing/cultivating) "good" customers and ignoring the "bad" ones... Thank you. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: 2 ???????? 2011 ?. 20:51 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] freelancing job sites (OT Reply) I have six clients that I have been supporting for over 15 years...the oldest one is 24 years. There is not a system that cannot be improved and I never mention, to any of them, how much they have paid me in total. When cost is discussed, we talk about our dealings as an extended insurance policy and everyone seems happy. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, August 22, 2011 1:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites (OT Reply) 9 years and 240K later one of my clients is still adding to the system I write for them (in Access). I started in July 2002. We are about to migrate the data to SQL Server. John W. Colby www.ColbyConsulting.com On 8/22/2011 3:51 PM, Mark Simms wrote: >> Lately, my 'salesman' has been taking my time/money quotes, and not >> adjusting them properly. When I say 2 weeks, he should be telling >> his customer 4 weeks, instead, he tells them 1 week, and hounds me. > > Sorry, I've got to "top" that one. > A couple of years ago I was hired to enhance a system that basically > was a custom-made CRM for a very specialized business. > There were no off-the-shelf packages, so their in-house developer > wrote it over a period of 3 years. > It was built using VB6, Access 97, and a bunch of 3rd party controls. > They lost the licenses and the developer, so I gave them the option of > building out additional functionality via Access 97. > It was to provide a new source of revenue for them. 6-8 weeks later it > was done. > > Management then decided they wanted to rewrite the whole system....I > gave them a proposal in Access 2007 for $80,000 and 8 months time > which they rejected. Instead, they signed a development company to do > it in dot-net/SQL > Server. I was disappointed, I thought I had given them a "bargain". > Their volume did not dictate a need for a heavy-duty database. > > Two years and $250,000 later, the dot-net system is still nowhere near > completed. > > Lesson: in IT freelancing, it's so easy to get burned. > > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Sep 2 13:33:28 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 14:33:28 -0400 Subject: [AccessD] freelancing job sites (OT Reply) References: <00d901cc6104$e48b4e40$ada1eac0$@net><4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> Message-ID: <62F88463B3514BCFAC753FB624FDD05A@SusanHarkins> Since you brought that up... Nice to hear from you Shamil!! Susan H. > Therefore additionally to 'must have' constant mastering of software > development skills and learning by doing the new technologies every > freelancer should also master the art of selecting (and > nurturing/cultivating) "good" customers and ignoring the "bad" ones... > > Thank you. From ssharkins at gmail.com Fri Sep 2 13:31:45 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 14:31:45 -0400 Subject: [AccessD] freelancing job sites References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net><35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins><013c01cc6261$e4237320$ac6a5960$@net><78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> Message-ID: <33489E6DBF734353B20E14B94CCC3446@SusanHarkins> That's great news for you and encouraging news for some of us! ;) Susan H. > ---- > If you are over 50, the chances of you getting a full-time gig in the IT > field is almost zero... (Have you heard of any 35 year old quarter-backs?) > ---- > Me! > I'm 62. I'm working full-time in Access 2007 only. > Been on the same gig for over 2 years... and they just renewed my contract > for another year. > I feel, I owe it all to this list. > I am a "lurker" most of the time, but I read almost everything that this > list publishes. > I've learned a lot over the several years that I have been a member. > It's been so long I don't remember when I joined. > It's like family. > Thanks everyone. > Jim From accessd at shaw.ca Fri Sep 2 13:51:55 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 11:51:55 -0700 Subject: [AccessD] Freelancing In-Reply-To: References: Message-ID: There are a number of areas, which look very interesting in which to spend new time. The problem is finding the time. First; You will never make many money building one-off products for a client. Building and marketing a product multiple times is much more cost effective. Second; everything is going web-based, especially if you live and work in any major urban centers. So it is time to learn everything you can about HTML5, CSS3 and JavaScript > JQuery, JASON etc. There is so much free code, information and inexpensive services out on the web that it can be amazing how fast an application can be hacked together, with little knowledge. Third; converting apps to display and run on SmartPhones is a great idea. There are a host of free or cheap application that will allow you to do that. In addition, there are a number of great frameworks out there that can fit anyone's needs. (They will of course have to be hacked for any complex or specific designs...I like VS ASP.Net for building boilerplate code). Fourth; databases can no longer be just SQL types. The new map-reduce or NOSQL databases are quickly replacing systems where over a 10 million pieces of data that require routine searching. Most of these new databases are free or very inexpensive. Fifth; backend server technology is also changing as well as the DBs. Checkout NODE.js...it is incredibly fast and this allows you to leverage your JavaScript skills. Sixth; hosting your or having your client's hosting their own databases may not be a good idea as cloud hosting is coming into its own. There are deals like one TB of data for $8.00 a month, including full backups. If you are up to it you can build, you own Cloud, as drives are very cheap now. (Example: 2TB = $89 for an external drive...I just pull them apart and stuff the drive into the server. There are lots of opportunities out there for programmers, even old codgers like myself, but the learning curve is real steep though not expensive...this is something to do for guys that say they have retired. ;-) Seventh; I would recommend do not try to do it all on your own. One fool working alone is only a third as effective as two such individuals are. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav Sent: Friday, August 26, 2011 12:26 PM To: 'accessd-bounces at databaseadvisors.com' Subject: [AccessD] Freelancing Hey Susan Your article was an eye opener. I have been producing database applications for over 20 years. No ego being inferred but I figure I have produced quality products that are 99.9% bullet proof (many are still in use today). But I feel I am going the way of the dinosaur. Since the 2008 recession I have found that most companies no longer want to spend money to save money (no matter want you do to try and convince them of such). To be honest, on my end, the market is drying up. I am kind of looking at leaving ACCESS and starting to develop customized iPad/iPod (whatever) "Apps" for clients. If that doesn't work then I will be buying a "Weenie" wagon and hanging out at the beach. Not a boo hoo scenario, just reality. -- 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 Sep 2 13:55:06 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 2 Sep 2011 14:55:06 -0400 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: <2BB94FDF62ED42B194C1CC6F12061C3D@nant> References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> Message-ID: A critical skill in the freelancing world is learning how to fire customers. The moment they become a PITA is the time to fire them. This includes outrageous demands (can't you just make it do this too, for free?) to late payments to aggravating meetings. Call me a curmudgeon but I don't have enough time left on this planet to deal with such crap. The first moment I see a bad sign, I fire the client. A. From fuller.artful at gmail.com Fri Sep 2 14:14:18 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 2 Sep 2011 15:14:18 -0400 Subject: [AccessD] Freelancing In-Reply-To: References: Message-ID: I definitely hear you on the NoSQL front, and wish I had enough money to buy a few more GBs of RAM to make my elementary tests more real-world, but I don't, so I can't. The technology remains fascinating, and it makes a ton more sense than hard disks. On your first point (You will never make money building one-offs), I also agree completely. In Canada, the established law is that subject to a written contract specifying that the ownership of the code goes to the developer, in which case should you devise, for example, an app for veterinarions, then the code belongs to you, and not to the vet who constracted you to write it; hence you are free to turn it into a mass-market app (well, that assumes that vets are a mass-market, but you get the point). Such an app, in terms of development cost and potential returns, is vastly smaller than, say, eHealth (that's a Canadian term, and is vaguely equivalent to Medicaid or whatever they call it in USA); basically it means that every medical item on your list is stored in a massive db, including all your X-rays, CT-scans, MRIs, previous phyisicians, etc., and that it is all obtainable by both your current physician and also the Department of Health (that would be provincial not federal; there is no federal Department of Health in Canada; but that in turn causes needless complications: a very popular thing to do in Canada is move from Newfoundland to Alberta, where jobs in the oil industry abound, and transferring your medical records from one province to another is non-trivial. It can be done, but it take time. Since I am not a citizen of the USA and haven't bothered to explore the legalities lurking therein, I have only the Canadian model from which to work. Here, the client must specifically include a clause claiming ownership of the code; failure to do that means that the code belongs to the developer, who may freely sell it numerous times; but to be fair, if it were a hair-salon app, it would be a tad rude to sell it to the hair-salon across the street -- still legal, but rude. I think there are at least a couple of USA lawyers who visit this list, and I would be most interested in their perspective. TIA, Arthur On Fri, Sep 2, 2011 at 2:51 PM, Jim Lawrence wrote: > There are a number of areas, which look very interesting in which to spend > new time. The problem is finding the time. > > First; You will never make many money building one-off products for a > client. Building and marketing a product multiple times is much more cost > effective. > > Second; everything is going web-based, especially if you live and work in > any major urban centers. So it is time to learn everything you can about > HTML5, CSS3 and JavaScript > JQuery, JASON etc. There is so much free code, > information and inexpensive services out on the web that it can be amazing > how fast an application can be hacked together, with little knowledge. > > Third; converting apps to display and run on SmartPhones is a great idea. > There are a host of free or cheap application that will allow you to do > that. In addition, there are a number of great frameworks out there that > can > fit anyone's needs. (They will of course have to be hacked for any complex > or specific designs...I like VS ASP.Net for building boilerplate code). > > Fourth; databases can no longer be just SQL types. The new map-reduce or > NOSQL databases are quickly replacing systems where over a 10 million > pieces > of data that require routine searching. Most of these new databases are > free > or very inexpensive. > > Fifth; backend server technology is also changing as well as the DBs. > Checkout NODE.js...it is incredibly fast and this allows you to leverage > your JavaScript skills. > > Sixth; hosting your or having your client's hosting their own databases may > not be a good idea as cloud hosting is coming into its own. There are deals > like one TB of data for $8.00 a month, including full backups. If you are > up > to it you can build, you own Cloud, as drives are very cheap now. (Example: > 2TB = $89 for an external drive...I just pull them apart and stuff the > drive > into the server. > > There are lots of opportunities out there for programmers, even old codgers > like myself, but the learning curve is real steep though not > expensive...this is something to do for guys that say they have retired. > ;-) > > Seventh; I would recommend do not try to do it all on your own. One fool > working alone is only a third as effective as two such individuals are. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav > Sent: Friday, August 26, 2011 12:26 PM > To: 'accessd-bounces at databaseadvisors.com' > Subject: [AccessD] Freelancing > > Hey Susan > Your article was an eye opener. > I have been producing database applications for over 20 years. No ego being > inferred but I figure I have produced quality products that are 99.9% > bullet proof (many are still in use today). But I feel I am going the way > of > the dinosaur. Since the 2008 recession I have found that most companies no > longer want to spend money to save money (no matter want you do to try and > convince them of such). To be honest, on my end, the market is drying up. I > am kind of looking at leaving ACCESS and starting to develop customized > iPad/iPod (whatever) "Apps" for clients. If that doesn't work then I will > be > buying a "Weenie" wagon and hanging out at the beach. Not a boo hoo > scenario, just reality. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Fri Sep 2 14:17:06 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 12:17:06 -0700 Subject: [AccessD] User interface In-Reply-To: References: <4E591854.8090208@colbyconsulting.com> <6BAD4B05F0474F8083137B9C25B1038C@HAL9007> <4E597AE8.6269.28B4FE51@stuart.lexacorp.com.pg> Message-ID: <995A599CDD874FC9B8BA4966502999A2@creativesystemdesigns.com> Hi Arthur: I went to a very interesting talk about a year ago to do with the physiology behind the UI. The company that was doing the presentation made their living by redesigning UI for product development companies. One of their main claims to fame was that they worked with Apple and Google, in design work. There were so many components of UIs, that they covered, that most of the little things were forgotten. The main points I remember was: 1. Keep it lean...less is more. 2. A pretty and very clean design is as important or maybe more important than the actual application. (Spending half an hour on rounded curves and shadows may be you best time investment.) 3. Use graphics...people do not read. 4. When using text, the less text the better and font choice and weight and giving emphasis to key points or words is best. When I am deciding on an interface, checking out an Apple or Google app is a good way to refresh memory. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, August 27, 2011 5:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] User interface So, given that there are only three of us so far on this thread, I seem to be the odd man out on letting the themes define the colors. That's ok. But I confess that I am not a big fan of letting software developers (e.g. Google et. al.) define my color schemes. I would far prefer this be done on a global scale so that all apps are painted with the color-scheme I chose in WIndows itself, not the particular app. But that's just me. A. On Sat, Aug 27, 2011 at 7:54 PM, Rocky Smolin wrote: > I'm a fan of the one-form-at-a-time approach for the app I distribute as a > run time. It's complex enough without the users getting lost between > windows. I make them go back up the menu tree and down again to the form > they want. I have occasional buttons for lateral moves but not many. > > R > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 2 14:22:42 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 12:22:42 -0700 Subject: [AccessD] User Interface In-Reply-To: <000001cc66a1$04903830$0db0a890$@com.au> References: <000a01cc65dc$abb30b30$03192190$@com.au> <001701cc664e$2381e7a0$6a85b6e0$@gmail.com> <000001cc66a1$04903830$0db0a890$@com.au> Message-ID: Users rule. They are always right even when they are wrong. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Monday, August 29, 2011 4:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] User Interface Yes, absolutely! In fact I get annoyed with fellow developers who think user feedback and concerns are a pain. To me their feedback is usually pure gold. Keep them happy and content and you'll keep your job for a long time. I am a big fan of not letting option be available until they are ready to work flawlessly. Why on earth show them an active print button if it is going to fail on print because they are missing some information. For really unskilled users I normally have even made up little tick lists that show where they are in the process and what else they need to complete to finish the task. Yes, it takes a lot more time to put this sort of thing together but it pays very big dividends, especially when you have hundreds of users all over the country and there is no way you can give them all your personal assistance. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, 30 August 2011 1:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] User Interface Here here for the "No False Moves" strategy. The most important thing, IMO, is to make the user feel both powerful and elegant: nothing that should not happen should be permitted to happen. I know from experience that this is a PITA to deliver, but it inevitably is correct: foreclose the options that should not be available in the given context. A silly example, but I hope meaningful -- unless a given OrderID has been selected, then dis-allow the printing of an Invoice. The point here is ultimately, "Make the user feel graceful"; not merely competent, although that is Step One, but Graceful (that is Step Two). I have followed this strategy for about 20 years and it invariably has worked in my favour. In fact, I have learned some things from the users of my apps which I didn't even consider, because I don't actually use my deliverables, but just test them and then deploy them; the people who use them use them frequently, and are quicker than I to detect annoyances. I do listen to them, and I try to deliver smoother avenues on next deployment. I'm not claiming any expertise in this area. My rule of thumb is, Shut Up and Listen. I don't often run the systems I deliver, especially all day long; so I trust my customer-base to tell me what is a PITA and what is nice; then I go back to the drawing board and try to design the PITA out. Sometimes this strategy doesn't work, but most of the time it does. Users Rule; it's not about Referential Integrity or Validation Rules etc., it's about the user-experience, and about getting from Here to There in the fewest possible clicks and keystrokes. That's my design goal, anyway. I don't want the user (God, I hate that word, it reminds me of drug-dealers!) to have the simplest possible path toward creating a new Customer with its ancillary tables, or to update an existing Customer and her Locations, and her Location_Projects. I want all the background stuff to be invisible to the current Customer. This should all happen under smoke-and-mirrors, and then once the scaffold has been laid, everything else should happen automagically On Mon, Aug 29, 2011 at 9:18 AM, William Benson (VBACreations.Com) < vbacreations at gmail.com> wrote: > I think you all write applications for many more users than I do. I have > not > written anything for more than about 3 users at a time and basically they > are easily trained. The most important things have been to get work done in > the fewest number of steps. And no "false moves". On one app I built lately > there are several buttons down the right hand side of each of the main > forms. I can put anything I want in their captions then handle all button > clicks through a test of screen.activeform.name, > screen.activeform.ActiveControl.Name. I ALWAYS use captions, never images, > for just that reason. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins > Sent: Sunday, August 28, 2011 7:46 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] User Interface > > Hah, that is pretty much what I wanted to say, but as usual, waffled off > topic a fair bit... > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav > Sent: Monday, 29 August 2011 12:36 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] User Interface > > Hey John > In designing a user interface I always try to keep it clean, simple and > intuitive. Always keeping in mind that you are programming/designing not > for > the 99.9% but the .1% of the users ( a friend of mine used to laugh at this > "You spent a lot of time trying to solve the .1% problem", that was until > he > worked with me on a project). > > I am always trying to keep in mind when designing, the lowest common > denominator ,my theoretical "computer illiterate user". Meaning I control > what a user can and cannot do. I am always trying to second guess the user > and trying to shut any backdoors they may sneak into and open. > > I like to use single simple forms/single tab forms > There is no HELP (the form should visually flow/display to the user what > and > how things need to be done) > There are no menus. > The information intuitively flows from top to bottom > Where applicable some information may be highlighted in coloured boxes. I > use colour sparingly as it can tend to make the form look goofy or too > busy. > The forms contain all the things, buttons, my navigation bars (when > needed), > list boxes, pop ups, etc. necessary to let the user carry out the > activities > the form is designed to perform. > Where necesary the form may contain my own (not Access) message boxes > intrusive - ".....Sorry cannot do that..." and nonintrusive - ".... Are you > sure? Continue Y/N?" > > As most of you have probably done, I will design what I thought was a > pretty cool form, but a week later when I go back to continue my testing, > the form just doesn't seem to flow the way it should (not intuitive). So I > tear apart and rebuild it and start again. > > Nothing new here, just my 2 cents worth. > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 shamil at smsconsulting.spb.ru Fri Sep 2 14:23:01 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 2 Sep 2011 23:23:01 +0400 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: <62F88463B3514BCFAC753FB624FDD05A@SusanHarkins> References: <00d901cc6104$e48b4e40$ada1eac0$@net><4E52BED3.9080600@colbyconsulting.com><2BB94FDF62ED42B194C1CC6F12061C3D@nant> <62F88463B3514BCFAC753FB624FDD05A@SusanHarkins> Message-ID: <2945C176827A4F7EAAFB339176853DB0@nant> Hi Susan -- Thank you for your pointing out on that your article. It looks like we have a bit of telepathy here :) Why just "Five tips for weeding out potentially bad clients" not "Ten tips..." as usual? Let's try to add some more tips? #6. Ask prospect customer to write a short spec on what they wanted you to do for them - if they will tell you they do not have time - say them good buy... ... Thank you for your kind words, Susan - it's always nice to hear from you - and I do read most of your TechRep articles as I'm subscribed on TechRep announcements for a long time... Thank you. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: 2 ???????? 2011 ?. 22:33 To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites (OT Reply) Since you brought that up... Nice to hear from you Shamil!! Susan H. > Therefore additionally to 'must have' constant mastering of software > development skills and learning by doing the new technologies every > freelancer should also master the art of selecting (and > nurturing/cultivating) "good" customers and ignoring the "bad" ones... > > Thank you. -- 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 Sep 2 14:21:41 2011 From: df.waters at comcast.net (Dan Waters) Date: Fri, 2 Sep 2011 14:21:41 -0500 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> Message-ID: <003f01cc69a5$8bf4d360$a3de7a20$@comcast.net> Since I charge user license fees (in place of Maintenance fees) I don't fire clients. I change the parameters of how I'll work with them, but I don't threaten to leave. For example, at one meeting a DBA 'took over' the meeting, hadn't read the material I had sent out to begin with, and wasted an hour of 6 people's time. Not to mention two hours driving for me. I sent my contacts an email stating that I would not work with or meet with that person again, and they never asked me to. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, September 02, 2011 1:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites (OT Reply) A critical skill in the freelancing world is learning how to fire customers. The moment they become a PITA is the time to fire them. This includes outrageous demands (can't you just make it do this too, for free?) to late payments to aggravating meetings. Call me a curmudgeon but I don't have enough time left on this planet to deal with such crap. The first moment I see a bad sign, I fire the client. A. -- 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 Sep 2 14:24:04 2011 From: df.waters at comcast.net (Dan Waters) Date: Fri, 2 Sep 2011 14:24:04 -0500 Subject: [AccessD] User Interface In-Reply-To: References: <000a01cc65dc$abb30b30$03192190$@com.au> <001701cc664e$2381e7a0$6a85b6e0$@gmail.com> <000001cc66a1$04903830$0db0a890$@com.au> Message-ID: <004001cc69a5$e0fa1d70$a2ee5850$@comcast.net> Yes - they know they're right. It's my job to ask enough questions to discover what they really need, and then later show them that they were right! ;-) Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, September 02, 2011 2:23 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] User Interface Users rule. They are always right even when they are wrong. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Monday, August 29, 2011 4:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] User Interface Yes, absolutely! In fact I get annoyed with fellow developers who think user feedback and concerns are a pain. To me their feedback is usually pure gold. Keep them happy and content and you'll keep your job for a long time. I am a big fan of not letting option be available until they are ready to work flawlessly. Why on earth show them an active print button if it is going to fail on print because they are missing some information. For really unskilled users I normally have even made up little tick lists that show where they are in the process and what else they need to complete to finish the task. Yes, it takes a lot more time to put this sort of thing together but it pays very big dividends, especially when you have hundreds of users all over the country and there is no way you can give them all your personal assistance. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, 30 August 2011 1:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] User Interface Here here for the "No False Moves" strategy. The most important thing, IMO, is to make the user feel both powerful and elegant: nothing that should not happen should be permitted to happen. I know from experience that this is a PITA to deliver, but it inevitably is correct: foreclose the options that should not be available in the given context. A silly example, but I hope meaningful -- unless a given OrderID has been selected, then dis-allow the printing of an Invoice. The point here is ultimately, "Make the user feel graceful"; not merely competent, although that is Step One, but Graceful (that is Step Two). I have followed this strategy for about 20 years and it invariably has worked in my favour. In fact, I have learned some things from the users of my apps which I didn't even consider, because I don't actually use my deliverables, but just test them and then deploy them; the people who use them use them frequently, and are quicker than I to detect annoyances. I do listen to them, and I try to deliver smoother avenues on next deployment. I'm not claiming any expertise in this area. My rule of thumb is, Shut Up and Listen. I don't often run the systems I deliver, especially all day long; so I trust my customer-base to tell me what is a PITA and what is nice; then I go back to the drawing board and try to design the PITA out. Sometimes this strategy doesn't work, but most of the time it does. Users Rule; it's not about Referential Integrity or Validation Rules etc., it's about the user-experience, and about getting from Here to There in the fewest possible clicks and keystrokes. That's my design goal, anyway. I don't want the user (God, I hate that word, it reminds me of drug-dealers!) to have the simplest possible path toward creating a new Customer with its ancillary tables, or to update an existing Customer and her Locations, and her Location_Projects. I want all the background stuff to be invisible to the current Customer. This should all happen under smoke-and-mirrors, and then once the scaffold has been laid, everything else should happen automagically On Mon, Aug 29, 2011 at 9:18 AM, William Benson (VBACreations.Com) < vbacreations at gmail.com> wrote: > I think you all write applications for many more users than I do. I > have not written anything for more than about 3 users at a time and > basically they are easily trained. The most important things have been > to get work done in > the fewest number of steps. And no "false moves". On one app I built lately > there are several buttons down the right hand side of each of the main > forms. I can put anything I want in their captions then handle all > button clicks through a test of screen.activeform.name, > screen.activeform.ActiveControl.Name. I ALWAYS use captions, never > images, for just that reason. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl > Collins > Sent: Sunday, August 28, 2011 7:46 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] User Interface > > Hah, that is pretty much what I wanted to say, but as usual, waffled > off topic a fair bit... > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav > Sent: Monday, 29 August 2011 12:36 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] User Interface > > Hey John > In designing a user interface I always try to keep it clean, simple > and intuitive. Always keeping in mind that you are > programming/designing not for the 99.9% but the .1% of the users ( a > friend of mine used to laugh at this > "You spent a lot of time trying to solve the .1% problem", that was > until he worked with me on a project). > > I am always trying to keep in mind when designing, the lowest common > denominator ,my theoretical "computer illiterate user". Meaning I > control what a user can and cannot do. I am always trying to second > guess the user and trying to shut any backdoors they may sneak into and open. > > I like to use single simple forms/single tab forms There is no HELP > (the form should visually flow/display to the user what and how things > need to be done) There are no menus. > The information intuitively flows from top to bottom Where applicable > some information may be highlighted in coloured boxes. I use colour > sparingly as it can tend to make the form look goofy or too busy. > The forms contain all the things, buttons, my navigation bars (when > needed), list boxes, pop ups, etc. necessary to let the user carry out > the activities the form is designed to perform. > Where necesary the form may contain my own (not Access) message boxes > intrusive - ".....Sorry cannot do that..." and nonintrusive - ".... > Are you > sure? Continue Y/N?" > > As most of you have probably done, I will design what I thought was a > pretty cool form, but a week later when I go back to continue my > testing, the form just doesn't seem to flow the way it should (not > intuitive). So I tear apart and rebuild it and start again. > > Nothing new here, just my 2 cents worth. > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 fuller.artful at gmail.com Fri Sep 2 14:28:01 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 2 Sep 2011 15:28:01 -0400 Subject: [AccessD] User interface In-Reply-To: <995A599CDD874FC9B8BA4966502999A2@creativesystemdesigns.com> References: <4E591854.8090208@colbyconsulting.com> <6BAD4B05F0474F8083137B9C25B1038C@HAL9007> <4E597AE8.6269.28B4FE51@stuart.lexacorp.com.pg> <995A599CDD874FC9B8BA4966502999A2@creativesystemdesigns.com> Message-ID: I think of Google as the UI par excellence. Lean and clean and decidedly not noisy. I admire their design sense immensely. A. From fuller.artful at gmail.com Fri Sep 2 14:29:19 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 2 Sep 2011 15:29:19 -0400 Subject: [AccessD] User Interface In-Reply-To: References: <000a01cc65dc$abb30b30$03192190$@com.au> <001701cc664e$2381e7a0$6a85b6e0$@gmail.com> <000001cc66a1$04903830$0db0a890$@com.au> Message-ID: Those are the watchwords: users rule. On Fri, Sep 2, 2011 at 3:22 PM, Jim Lawrence wrote: > Users rule. They are always right even when they are wrong. ;-) > > Jim > From ssharkins at gmail.com Fri Sep 2 14:33:31 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 15:33:31 -0400 Subject: [AccessD] Freelancing References: Message-ID: How do you guys feel about SmallSQL? Susan H. >I definitely hear you on the NoSQL front, and wish I had enough money to >buy > a few more GBs of RAM to make my elementary tests more real-world, but I > don't, so I can't. The technology remains fascinating, and it makes a ton > more sense than hard disks. > From ssharkins at gmail.com Fri Sep 2 14:35:05 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 15:35:05 -0400 Subject: [AccessD] freelancing job sites (OT Reply) References: <00d901cc6104$e48b4e40$ada1eac0$@net><4E52BED3.9080600@colbyconsulting.com><2BB94FDF62ED42B194C1CC6F12061C3D@nant><62F88463B3514BCFAC753FB624FDD05A@SusanHarkins> <2945C176827A4F7EAAFB339176853DB0@nant> Message-ID: <8F06E942435D4994AC536AF787B0FE57@SusanHarkins> If I can't come up with 10, I weddle it down to the best 5 I can come up with. :) Susan H. > Hi Susan -- > > Thank you for your pointing out on that your article. > It looks like we have a bit of telepathy here :) > > Why just "Five tips for weeding out potentially bad clients" not "Ten > tips..." as usual? > > Let's try to add some more tips? > > #6. Ask prospect customer to write a short spec on what they wanted you to > do for them - if they will tell you they do not have time - say them good > buy... > > ... > > Thank you for your kind words, Susan - it's always nice to hear from you - > and I do read most of your TechRep articles as I'm subscribed on TechRep > announcements for a long time... > > Thank you. > > -- > Shamil > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: 2 ???????? 2011 ?. 22:33 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] freelancing job sites (OT Reply) > > Since you brought that up... > > ially-bad-clients/1011?tag=content;blog-list-river> > > Nice to hear from you Shamil!! > > Susan H. > >> Therefore additionally to 'must have' constant mastering of software >> development skills and learning by doing the new technologies every >> freelancer should also master the art of selecting (and >> nurturing/cultivating) "good" customers and ignoring the "bad" ones... >> >> Thank you. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 2 14:39:58 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 12:39:58 -0700 Subject: [AccessD] Print graphics file from Access In-Reply-To: References: Message-ID: <72D8D5AB6C0B4B88977336DE35B0B41E@creativesystemdesigns.com> Have you tried save the image as a GIF or PNG type file with transparency? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Tuesday, August 30, 2011 9:08 AM To: Access Developers discussion and problem solving Subject: [AccessD] Print graphics file from Access Hello All: I have an A2003 invoicing database; when it prints an invoice, it prints a signature which has been captured by another app. The signature is in a .jpg file. This worked fine until recently, when we changed the signature capture app. It turns out that the new app is creating a transparent .jpg, and the old one created one with a white background. Access won't print the transparent .jpg. If I open a signature file in Paint, then re-save it, Paint converts the transparent background to white and Access is happy. But my client isn't happy at the idea of doing this by hand for every invoice he prints! Does anyone know of a way that I can automatically convert a transparent jpg to white background in code, or have any other ideas to make this work? Thanks, 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 Sep 2 14:55:26 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 12:55:26 -0700 Subject: [AccessD] freelancing job sites In-Reply-To: <63AE84781A4D4D06831092CAE59A695A@SusanHarkins> References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net> <35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> <8C2AEC85399344049C37CCE2430D9D79@creativesystemdesigns.com> <63AE84781A4D4D06831092CAE59A695A@SusanHarkins> Message-ID: <731C2D1762BB47A7B995DF7EB26128BE@creativesystemdesigns.com> Ha ha ha... I guess some Freelancers do not like to hear the facts...too bad. OTOH, the more controversy you stir up the better for business. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, September 02, 2011 10:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites I'm not being sensitive because they don't bother me. I find them odd and I'd prefer not to get them, but I'm not upset about it. I don't think telling me that I give freelancers a bad name and that I should retire is constructive criticism. There was another that was even worst -- suggested TR not use me as a contributor anymore. Too sensitive? I don't think so. I didn't write anything that should've illicited that kind of ire from anyone. Some people are just too crumpy to interact with other people in a reasonable manner. Like I said, most people had some interesting stories to tell and even those that disagreed with me did so in a reasonable manner. The flip side's coming out soon and after that I've got one that lists the reasons I don't miss Office 2003 -- they'll fry me up for supper after reading that one. :) Susan H. > Hi Susan: > > Unless I am missing something, for the most part everyone is in complete > agreement with your assumptions. If there is "hateful feedback", I did not > find it. > > Maybe you are being too sensitive? Give us some examples. ;-) > -- 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 Sep 2 15:03:07 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 2 Sep 2011 16:03:07 -0400 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: <8F06E942435D4994AC536AF787B0FE57@SusanHarkins> References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> <62F88463B3514BCFAC753FB624FDD05A@SusanHarkins> <2945C176827A4F7EAAFB339176853DB0@nant> <8F06E942435D4994AC536AF787B0FE57@SusanHarkins> Message-ID: I guess that my stance on this is that I value time more than money. There are so many books to read, so many new apps to learn, so much music to appreciate. You want to tackle say Shostakovitch or Beethoven or Bach, there goes several hundred hours each. And then you still have Brahms, Stravinsky and Bartok to go, and that's only the beginning of your education in classic music, let alone quantum physics etc. A. On Fri, Sep 2, 2011 at 3:35 PM, Susan Harkins wrote: > If I can't come up with 10, I weddle it down to the best 5 I can come up > with. :) > > Susan H. > > From stuart at lexacorp.com.pg Fri Sep 2 15:03:38 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 03 Sep 2011 06:03:38 +1000 Subject: [AccessD] Freelancing In-Reply-To: References: , Message-ID: <4E61369A.11630.12AA561C@stuart.lexacorp.com.pg> All I know is that it is a desktop based, single user Java DBMS which uses JDBC. Since I don't do Java, I've never looked any further. I'd rather stick with SQLite - it does the same thing with a single native code DLL which can be incorporated into any development environment. -- Stuart On 2 Sep 2011 at 15:33, Susan Harkins wrote: > How do you guys feel about SmallSQL? > > Susan H. > > > >I definitely hear you on the NoSQL front, and wish I had enough money > >to buy > > a few more GBs of RAM to make my elementary tests more real-world, > > but I don't, so I can't. The technology remains fascinating, and it > > makes a ton more sense than hard disks. > > > > -- > 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 Sep 2 15:04:35 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 2 Sep 2011 16:04:35 -0400 Subject: [AccessD] User Interface In-Reply-To: <004001cc69a5$e0fa1d70$a2ee5850$@comcast.net> References: <000a01cc65dc$abb30b30$03192190$@com.au> <001701cc664e$2381e7a0$6a85b6e0$@gmail.com> <000001cc66a1$04903830$0db0a890$@com.au> <004001cc69a5$e0fa1d70$a2ee5850$@comcast.net> Message-ID: Reminds me of the Clipper mantra: ask them what they want, then deliver what they need. A. On Fri, Sep 2, 2011 at 3:24 PM, Dan Waters wrote: > Yes - they know they're right. It's my job to ask enough questions to > discover what they really need, and then later show them that they were > right! ;-) > > Dan > From dbdoug at gmail.com Fri Sep 2 15:08:37 2011 From: dbdoug at gmail.com (Doug Steele) Date: Fri, 2 Sep 2011 13:08:37 -0700 Subject: [AccessD] Print graphics file from Access In-Reply-To: <72D8D5AB6C0B4B88977336DE35B0B41E@creativesystemdesigns.com> References: <72D8D5AB6C0B4B88977336DE35B0B41E@creativesystemdesigns.com> Message-ID: The API for the signature capture software doesn't give any options about output types. But it turned out that the .Net System.Drawing namespace had the answer. I was able to find some sample code on the web which led me to a solution which we've implemented: (C# code in the capture app, error handling code removed): // get signature as default (png format) System.Drawing.Bitmap BM = ctlSignature.SaveSignature(""); // save as jpg BM.Save(Server.MapPath("~/sigs/" + SessionVars.EditWONum.ToString() + "sign.jpg"), System.Drawing.Imaging.ImageFormat.Jpeg); Approximately 8 hours of research, mostly off on a wild goose chase, led to a solution consisting of two lines of code :) Doug On Fri, Sep 2, 2011 at 12:39 PM, Jim Lawrence wrote: > Have you tried save the image as a GIF or PNG type file with transparency? > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele > Sent: Tuesday, August 30, 2011 9:08 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Print graphics file from Access > > Hello All: > > I have an A2003 invoicing database; when it prints an invoice, it prints a > signature which has been captured by another app. The signature is in a > .jpg file. > > This worked fine until recently, when we changed the signature capture app. > It turns out that the new app is creating a transparent .jpg, and the old > one created one with a white background. Access won't print the > transparent > .jpg. If I open a signature file in Paint, then re-save it, Paint converts > the transparent background to white and Access is happy. But my client > isn't happy at the idea of doing this by hand for every invoice he prints! > > Does anyone know of a way that I can automatically convert a transparent > jpg > to white background in code, or have any other ideas to make this work? > > 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 fuller.artful at gmail.com Fri Sep 2 15:09:50 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 2 Sep 2011 16:09:50 -0400 Subject: [AccessD] Freelancing In-Reply-To: References: Message-ID: I've never tried it but just downloaded it and about to install it. A. On Fri, Sep 2, 2011 at 3:33 PM, Susan Harkins wrote: > How do you guys feel about SmallSQL? > > Susan H. > From BradM at blackforestltd.com Fri Sep 2 15:15:22 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Fri, 2 Sep 2011 15:15:22 -0500 Subject: [AccessD] Pulling Data from Outlook into Access References: <000a01cc65dc$abb30b30$03192190$@com.au><001701cc664e$2381e7a0$6a85b6e0$@gmail.com><000001cc66a1$04903830$0db0a890$@com.au><004001cc69a5$e0fa1d70$a2ee5850$@comcast.net> Message-ID: All, Below is a small Sub that pulls data from Outlook into Access. This works fine to pull data from my Outlook Mailbox. I now need to pull data that resides in a different Outlook Mailbox. I have the Mailbox name and password. Is this possible? Thanks, Brad ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Sub Outlook_Test() Dim myOlApp As Outlook.Application Dim myNameSpace As Object Dim myFolders As Object Dim myFolder As Object Dim mySubFolder As Object Dim Item As Object Set myOlApp = CreateObject("Outlook.Application") Set myNameSpace = myOlApp.GetNamespace("MAPI") Set myFolders = myNameSpace.Folders Set myFolder = myFolders.Item(1) Set mySubFolder = myFolder.Folders("Inbox") For Each Item In mySubFolder.Items MsgBox Item.Subject & vbLf & Item.Body Next Item End Sub ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From accessd at shaw.ca Fri Sep 2 15:43:27 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 13:43:27 -0700 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: <2BB94FDF62ED42B194C1CC6F12061C3D@nant> References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> Message-ID: <8D44FC3DF663451D800CEAEDA46ED092@creativesystemdesigns.com> Hi Shamil: With my old time clients any new technology has to be careful implemented...they do not like new especially if it looks too different. The slow refinement method works best. ;-) I have been quietly moving my clients to the web/SQL and as long as I have been able to emulate the old forms in design, layout and features they are very happy. Most new younger client's want instant gratification, absolute perfection and it all done very cheap. The choices are; Good, Fast and cheap; pick any two. I like to modularize applications so a project can be allowed to evolve over a length of time with lots of user assistance. A long-term 'insurance and incremental development' policy is the goal of course. I try to never 're-invent the wheel'. I use existing apps and technology as long as it makes my job easier and moves the project ahead. Some clients are 'early adopters', they really like any technology that is new and shiny, and they tend to be the ones willing and capable of paying for the learning curve. The only thing is that, I may end up supporting a technology that fades fast. MS Silverlight comes to mind as it has been superseded by the industry standards of HTML5 as even Adobe is abandoning their Flash product in favour of the standard: www.adobe.com/EdgePreview (HTML5/CSS3 web builder) I agree that it is good to know when to divorce a customer or never become acquainted. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, September 02, 2011 11:22 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] freelancing job sites (OT Reply) Hi Jim -- I guess your clients do have got developed strong business thanks to your good software development work for them - that seems to be the key point for a freelancing carrier success. Although there exist so many "prospect customers" who are trying to "save a penny" by burning out freelancers. Therefore additionally to 'must have' constant mastering of software development skills and learning by doing the new technologies every freelancer should also master the art of selecting (and nurturing/cultivating) "good" customers and ignoring the "bad" ones... Thank you. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: 2 ???????? 2011 ?. 20:51 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] freelancing job sites (OT Reply) I have six clients that I have been supporting for over 15 years...the oldest one is 24 years. There is not a system that cannot be improved and I never mention, to any of them, how much they have paid me in total. When cost is discussed, we talk about our dealings as an extended insurance policy and everyone seems happy. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, August 22, 2011 1:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites (OT Reply) 9 years and 240K later one of my clients is still adding to the system I write for them (in Access). I started in July 2002. We are about to migrate the data to SQL Server. John W. Colby www.ColbyConsulting.com On 8/22/2011 3:51 PM, Mark Simms wrote: >> Lately, my 'salesman' has been taking my time/money quotes, and not >> adjusting them properly. When I say 2 weeks, he should be telling >> his customer 4 weeks, instead, he tells them 1 week, and hounds me. > > Sorry, I've got to "top" that one. > A couple of years ago I was hired to enhance a system that basically > was a custom-made CRM for a very specialized business. > There were no off-the-shelf packages, so their in-house developer > wrote it over a period of 3 years. > It was built using VB6, Access 97, and a bunch of 3rd party controls. > They lost the licenses and the developer, so I gave them the option of > building out additional functionality via Access 97. > It was to provide a new source of revenue for them. 6-8 weeks later it > was done. > > Management then decided they wanted to rewrite the whole system....I > gave them a proposal in Access 2007 for $80,000 and 8 months time > which they rejected. Instead, they signed a development company to do > it in dot-net/SQL > Server. I was disappointed, I thought I had given them a "bargain". > Their volume did not dictate a need for a heavy-duty database. > > Two years and $250,000 later, the dot-net system is still nowhere near > completed. > > Lesson: in IT freelancing, it's so easy to get burned. > > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Fri Sep 2 15:45:55 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 13:45:55 -0700 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: <62F88463B3514BCFAC753FB624FDD05A@SusanHarkins> References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> <62F88463B3514BCFAC753FB624FDD05A@SusanHarkins> Message-ID: My goodness you are such a complete source of information. You should have a "Ask Susan" blog. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, September 02, 2011 11:33 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites (OT Reply) Since you brought that up... Nice to hear from you Shamil!! Susan H. > Therefore additionally to 'must have' constant mastering of software > development skills and learning by doing the new technologies every > freelancer should also master the art of selecting (and > nurturing/cultivating) "good" customers and ignoring the "bad" ones... > > Thank you. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 2 15:47:09 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 13:47:09 -0700 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> Message-ID: <88234EDB76E044DA882E31214D603FA3@creativesystemdesigns.com> Well spoken. :-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, September 02, 2011 11:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites (OT Reply) A critical skill in the freelancing world is learning how to fire customers. The moment they become a PITA is the time to fire them. This includes outrageous demands (can't you just make it do this too, for free?) to late payments to aggravating meetings. Call me a curmudgeon but I don't have enough time left on this planet to deal with such crap. The first moment I see a bad sign, I fire the client. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Fri Sep 2 15:50:56 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 16:50:56 -0400 Subject: [AccessD] freelancing job sites (OT Reply) References: <00d901cc6104$e48b4e40$ada1eac0$@net><4E52BED3.9080600@colbyconsulting.com><2BB94FDF62ED42B194C1CC6F12061C3D@nant><62F88463B3514BCFAC753FB624FDD05A@SusanHarkins> Message-ID: <7AFD83CBFEE14C14A8B4D1B11D47136D@SusanHarkins> I'm afraid I would get stumped too often to maintain my reputation. :) Susan H. > My goodness you are such a complete source of information. You should have > a > "Ask Susan" blog. ;-) > > Jim > > Since you brought that up... > > ially-bad-clients/1011?tag=content;blog-list-river> > > Nice to hear from you Shamil!! > > Susan H. > >> Therefore additionally to 'must have' constant mastering of software >> development skills and learning by doing the new technologies every >> freelancer should also master the art of selecting (and >> nurturing/cultivating) "good" customers and ignoring the "bad" ones... >> >> Thank you. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 2 15:54:04 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 13:54:04 -0700 Subject: [AccessD] Freelancing In-Reply-To: References: Message-ID: I think you could make a good case anywhere in North America as code is more an art form than a technology...and art is protected in both countries. The "John Fogerty" act/law/precedence comes to mind. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, September 02, 2011 12:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Freelancing I definitely hear you on the NoSQL front, and wish I had enough money to buy a few more GBs of RAM to make my elementary tests more real-world, but I don't, so I can't. The technology remains fascinating, and it makes a ton more sense than hard disks. On your first point (You will never make money building one-offs), I also agree completely. In Canada, the established law is that subject to a written contract specifying that the ownership of the code goes to the developer, in which case should you devise, for example, an app for veterinarions, then the code belongs to you, and not to the vet who constracted you to write it; hence you are free to turn it into a mass-market app (well, that assumes that vets are a mass-market, but you get the point). Such an app, in terms of development cost and potential returns, is vastly smaller than, say, eHealth (that's a Canadian term, and is vaguely equivalent to Medicaid or whatever they call it in USA); basically it means that every medical item on your list is stored in a massive db, including all your X-rays, CT-scans, MRIs, previous phyisicians, etc., and that it is all obtainable by both your current physician and also the Department of Health (that would be provincial not federal; there is no federal Department of Health in Canada; but that in turn causes needless complications: a very popular thing to do in Canada is move from Newfoundland to Alberta, where jobs in the oil industry abound, and transferring your medical records from one province to another is non-trivial. It can be done, but it take time. Since I am not a citizen of the USA and haven't bothered to explore the legalities lurking therein, I have only the Canadian model from which to work. Here, the client must specifically include a clause claiming ownership of the code; failure to do that means that the code belongs to the developer, who may freely sell it numerous times; but to be fair, if it were a hair-salon app, it would be a tad rude to sell it to the hair-salon across the street -- still legal, but rude. I think there are at least a couple of USA lawyers who visit this list, and I would be most interested in their perspective. TIA, Arthur On Fri, Sep 2, 2011 at 2:51 PM, Jim Lawrence wrote: > There are a number of areas, which look very interesting in which to spend > new time. The problem is finding the time. > > First; You will never make many money building one-off products for a > client. Building and marketing a product multiple times is much more cost > effective. > > Second; everything is going web-based, especially if you live and work in > any major urban centers. So it is time to learn everything you can about > HTML5, CSS3 and JavaScript > JQuery, JASON etc. There is so much free code, > information and inexpensive services out on the web that it can be amazing > how fast an application can be hacked together, with little knowledge. > > Third; converting apps to display and run on SmartPhones is a great idea. > There are a host of free or cheap application that will allow you to do > that. In addition, there are a number of great frameworks out there that > can > fit anyone's needs. (They will of course have to be hacked for any complex > or specific designs...I like VS ASP.Net for building boilerplate code). > > Fourth; databases can no longer be just SQL types. The new map-reduce or > NOSQL databases are quickly replacing systems where over a 10 million > pieces > of data that require routine searching. Most of these new databases are > free > or very inexpensive. > > Fifth; backend server technology is also changing as well as the DBs. > Checkout NODE.js...it is incredibly fast and this allows you to leverage > your JavaScript skills. > > Sixth; hosting your or having your client's hosting their own databases may > not be a good idea as cloud hosting is coming into its own. There are deals > like one TB of data for $8.00 a month, including full backups. If you are > up > to it you can build, you own Cloud, as drives are very cheap now. (Example: > 2TB = $89 for an external drive...I just pull them apart and stuff the > drive > into the server. > > There are lots of opportunities out there for programmers, even old codgers > like myself, but the learning curve is real steep though not > expensive...this is something to do for guys that say they have retired. > ;-) > > Seventh; I would recommend do not try to do it all on your own. One fool > working alone is only a third as effective as two such individuals are. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav > Sent: Friday, August 26, 2011 12:26 PM > To: 'accessd-bounces at databaseadvisors.com' > Subject: [AccessD] Freelancing > > Hey Susan > Your article was an eye opener. > I have been producing database applications for over 20 years. No ego being > inferred but I figure I have produced quality products that are 99.9% > bullet proof (many are still in use today). But I feel I am going the way > of > the dinosaur. Since the 2008 recession I have found that most companies no > longer want to spend money to save money (no matter want you do to try and > convince them of such). To be honest, on my end, the market is drying up. I > am kind of looking at leaving ACCESS and starting to develop customized > iPad/iPod (whatever) "Apps" for clients. If that doesn't work then I will > be > buying a "Weenie" wagon and hanging out at the beach. Not a boo hoo > scenario, just reality. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Fri Sep 2 15:56:00 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 13:56:00 -0700 Subject: [AccessD] User Interface In-Reply-To: <004001cc69a5$e0fa1d70$a2ee5850$@comcast.net> References: <000a01cc65dc$abb30b30$03192190$@com.au> <001701cc664e$2381e7a0$6a85b6e0$@gmail.com> <000001cc66a1$04903830$0db0a890$@com.au> <004001cc69a5$e0fa1d70$a2ee5850$@comcast.net> Message-ID: <92B15C80720D41EC93F809509C5BEB81@creativesystemdesigns.com> Good policy. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, September 02, 2011 12:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] User Interface Yes - they know they're right. It's my job to ask enough questions to discover what they really need, and then later show them that they were right! ;-) Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, September 02, 2011 2:23 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] User Interface Users rule. They are always right even when they are wrong. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Monday, August 29, 2011 4:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] User Interface Yes, absolutely! In fact I get annoyed with fellow developers who think user feedback and concerns are a pain. To me their feedback is usually pure gold. Keep them happy and content and you'll keep your job for a long time. I am a big fan of not letting option be available until they are ready to work flawlessly. Why on earth show them an active print button if it is going to fail on print because they are missing some information. For really unskilled users I normally have even made up little tick lists that show where they are in the process and what else they need to complete to finish the task. Yes, it takes a lot more time to put this sort of thing together but it pays very big dividends, especially when you have hundreds of users all over the country and there is no way you can give them all your personal assistance. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, 30 August 2011 1:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] User Interface Here here for the "No False Moves" strategy. The most important thing, IMO, is to make the user feel both powerful and elegant: nothing that should not happen should be permitted to happen. I know from experience that this is a PITA to deliver, but it inevitably is correct: foreclose the options that should not be available in the given context. A silly example, but I hope meaningful -- unless a given OrderID has been selected, then dis-allow the printing of an Invoice. The point here is ultimately, "Make the user feel graceful"; not merely competent, although that is Step One, but Graceful (that is Step Two). I have followed this strategy for about 20 years and it invariably has worked in my favour. In fact, I have learned some things from the users of my apps which I didn't even consider, because I don't actually use my deliverables, but just test them and then deploy them; the people who use them use them frequently, and are quicker than I to detect annoyances. I do listen to them, and I try to deliver smoother avenues on next deployment. I'm not claiming any expertise in this area. My rule of thumb is, Shut Up and Listen. I don't often run the systems I deliver, especially all day long; so I trust my customer-base to tell me what is a PITA and what is nice; then I go back to the drawing board and try to design the PITA out. Sometimes this strategy doesn't work, but most of the time it does. Users Rule; it's not about Referential Integrity or Validation Rules etc., it's about the user-experience, and about getting from Here to There in the fewest possible clicks and keystrokes. That's my design goal, anyway. I don't want the user (God, I hate that word, it reminds me of drug-dealers!) to have the simplest possible path toward creating a new Customer with its ancillary tables, or to update an existing Customer and her Locations, and her Location_Projects. I want all the background stuff to be invisible to the current Customer. This should all happen under smoke-and-mirrors, and then once the scaffold has been laid, everything else should happen automagically On Mon, Aug 29, 2011 at 9:18 AM, William Benson (VBACreations.Com) < vbacreations at gmail.com> wrote: > I think you all write applications for many more users than I do. I > have not written anything for more than about 3 users at a time and > basically they are easily trained. The most important things have been > to get work done in > the fewest number of steps. And no "false moves". On one app I built lately > there are several buttons down the right hand side of each of the main > forms. I can put anything I want in their captions then handle all > button clicks through a test of screen.activeform.name, > screen.activeform.ActiveControl.Name. I ALWAYS use captions, never > images, for just that reason. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl > Collins > Sent: Sunday, August 28, 2011 7:46 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] User Interface > > Hah, that is pretty much what I wanted to say, but as usual, waffled > off topic a fair bit... > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav > Sent: Monday, 29 August 2011 12:36 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] User Interface > > Hey John > In designing a user interface I always try to keep it clean, simple > and intuitive. Always keeping in mind that you are > programming/designing not for the 99.9% but the .1% of the users ( a > friend of mine used to laugh at this > "You spent a lot of time trying to solve the .1% problem", that was > until he worked with me on a project). > > I am always trying to keep in mind when designing, the lowest common > denominator ,my theoretical "computer illiterate user". Meaning I > control what a user can and cannot do. I am always trying to second > guess the user and trying to shut any backdoors they may sneak into and open. > > I like to use single simple forms/single tab forms There is no HELP > (the form should visually flow/display to the user what and how things > need to be done) There are no menus. > The information intuitively flows from top to bottom Where applicable > some information may be highlighted in coloured boxes. I use colour > sparingly as it can tend to make the form look goofy or too busy. > The forms contain all the things, buttons, my navigation bars (when > needed), list boxes, pop ups, etc. necessary to let the user carry out > the activities the form is designed to perform. > Where necesary the form may contain my own (not Access) message boxes > intrusive - ".....Sorry cannot do that..." and nonintrusive - ".... > Are you > sure? Continue Y/N?" > > As most of you have probably done, I will design what I thought was a > pretty cool form, but a week later when I go back to continue my > testing, the form just doesn't seem to flow the way it should (not > intuitive). So I tear apart and rebuild it and start again. > > Nothing new here, just my 2 cents worth. > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Fri Sep 2 15:59:16 2011 From: marksimms at verizon.net (Mark Simms) Date: Fri, 02 Sep 2011 16:59:16 -0400 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome In-Reply-To: References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net><35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins><013c01cc6261$e4237320$ac6a5960$@net><78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> Message-ID: <013f01cc69b3$2dc3c950$894b5bf0$@net> Re: "Been on the same gig for over 2 years..." That's hugely unusual these days. Most large corps have "rules" in place that disallow temp employment past 12 or 18 months. You should be so grateful for this long, long gig....and I am sure any agency that has represented you has given you at least an "atta boy". In the past 3 years I've only been able to get "stinkers".....short term, high pressure, low pay deals. It does appear as if the Indian companies have garnished all of the "Sweet deals". Every 3 months I am re-interviewing by phone and in person, re-profiling my background, updating references, updating resumes, etc. I call this the Sisyphus syndrome: "Camus outlines the legend of Sisyphus who defied the gods and put Death in chains so that no human needed to die. When Death was eventually liberated and it came time for Sisyphus himself to die, he concocted a deceit which let him escape from the underworld. Finally captured, the gods decided on his punishment: for all eternity, he would have to push a rock up a mountain; on the top, the rock rolls down again and Sisyphus has to start over. Camus sees Sisyphus as the absurd hero who lives life to the fullest, hates death and is condemned to a meaningless task." "Camus presents Sisyphus's ceaseless and pointless toil as a metaphor for modern lives spent working at futile jobs in factories and offices. The workman of today works every day in his life at the same tasks, and this fate is no less absurd. But it is tragic only at the rare moments when it becomes conscious." From accessd at shaw.ca Fri Sep 2 16:04:32 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 14:04:32 -0700 Subject: [AccessD] Freelancing In-Reply-To: References: Message-ID: <591283956F204426BE1F3A86038EF3C5@creativesystemdesigns.com> Well, it has a small footprint, limited features, runs on Windows and Linux and is totally written in Java (some computer science major's thesis project). I have only had a very limited information on the product and have heard of no one playing with it; even my most geeky friends. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, September 02, 2011 12:34 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Freelancing How do you guys feel about SmallSQL? Susan H. >I definitely hear you on the NoSQL front, and wish I had enough money to >buy > a few more GBs of RAM to make my elementary tests more real-world, but I > don't, so I can't. The technology remains fascinating, and it makes a ton > more sense than hard disks. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Fri Sep 2 16:06:40 2011 From: marksimms at verizon.net (Mark Simms) Date: Fri, 02 Sep 2011 17:06:40 -0400 Subject: [AccessD] Freelancing-one off In-Reply-To: References: Message-ID: <014001cc69b4$36369bc0$a2a3d340$@net> > First; You will never make many money building one-off products for a > client. Building and marketing a product multiple times is much more > cost effective. Yet this is what has been required of me in all of my "stinkers". I once created an add-in type of product (over 12 years ago) and it was somewhat of a failure until I had one huge, multilicense sale that brought in a huge amount of revenue. Suddenly, it was successful ! This is very similar to what had happened with Richard Branson when he started Virgin Records.... It was failing and then he signed Phil Collins and Boy George.....and in the end, he sold the company for 1 billion !!! From accessd at shaw.ca Fri Sep 2 16:07:42 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 14:07:42 -0700 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: <7AFD83CBFEE14C14A8B4D1B11D47136D@SusanHarkins> References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> <62F88463B3514BCFAC753FB624FDD05A@SusanHarkins> <7AFD83CBFEE14C14A8B4D1B11D47136D@SusanHarkins> Message-ID: <02560AC64F9741DEA3D09DE4D5C4C6D4@creativesystemdesigns.com> There is always your extended staff on the DBA forums. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, September 02, 2011 1:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites (OT Reply) I'm afraid I would get stumped too often to maintain my reputation. :) Susan H. > My goodness you are such a complete source of information. You should have > a > "Ask Susan" blog. ;-) > > Jim > > Since you brought that up... > > ially-bad-clients/1011?tag=content;blog-list-river> > > Nice to hear from you Shamil!! > > Susan H. > >> Therefore additionally to 'must have' constant mastering of software >> development skills and learning by doing the new technologies every >> freelancer should also master the art of selecting (and >> nurturing/cultivating) "good" customers and ignoring the "bad" ones... >> >> Thank you. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Fri Sep 2 16:08:06 2011 From: marksimms at verizon.net (Mark Simms) Date: Fri, 02 Sep 2011 17:08:06 -0400 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> Message-ID: <014101cc69b4$69a67c50$3cf374f0$@net> Wise beyond belief. > A critical skill in the freelancing world is learning how to fire > customers. > The moment they become a PITA is the time to fire them. This includes > outrageous demands (can't you just make it do this too, for free?) From ssharkins at gmail.com Fri Sep 2 16:12:14 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 17:12:14 -0400 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net><35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins><013c01cc6261$e4237320$ac6a5960$@net><78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> <013f01cc69b3$2dc3c950$894b5bf0$@net> Message-ID: <3F99AAEAA574487A8F3A75D63D35F01A@SusanHarkins> That's been forced by the feds. I just went through a long and rather intimidating "qualifying" process for one of my clients -- at the time I only had 2 and the majority of my time/income was with them. That was a problem for them because they don't want the feds denying my contractor status. Ugly business... I wish the feds would stay out of my business. :( I was just furious, but it was necessary. It use to be so easy. :( In the end, it wasn't a problem, but it was uncomfortable for me. They asked questions that were none of their business and I didn't answer. It all worked out, but geez Louise. :( Susan H. > Re: "Been on the same gig for over 2 years..." > > That's hugely unusual these days. Most large corps have "rules" in place > that disallow temp employment past 12 or 18 months. > From ssharkins at gmail.com Fri Sep 2 16:15:33 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 17:15:33 -0400 Subject: [AccessD] Freelancing References: <591283956F204426BE1F3A86038EF3C5@creativesystemdesigns.com> Message-ID: <86C16B2C7EE948FB942A29A5E0E78978@SusanHarkins> I'm more interested in SQLLite really and would love to learn it. Anyone using it to create mobile apps? It's the topic of the day right now. Susan H. > Well, it has a small footprint, limited features, runs on Windows and > Linux > and is totally written in Java (some computer science major's thesis > project). I have only had a very limited information on the product and > have > heard of no one playing with it; even my most geeky friends. > > Jim > > How do you guys feel about SmallSQL? > > Susan H. > > >>I definitely hear you on the NoSQL front, and wish I had enough money to >>buy >> a few more GBs of RAM to make my elementary tests more real-world, but I >> don't, so I can't. The technology remains fascinating, and it makes a ton >> more sense than hard disks. From ssharkins at gmail.com Fri Sep 2 16:17:01 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 17:17:01 -0400 Subject: [AccessD] freelancing job sites (OT Reply) References: <00d901cc6104$e48b4e40$ada1eac0$@net><4E52BED3.9080600@colbyconsulting.com><2BB94FDF62ED42B194C1CC6F12061C3D@nant><62F88463B3514BCFAC753FB624FDD05A@SusanHarkins><7AFD83CBFEE14C14A8B4D1B11D47136D@SusanHarkins> <02560AC64F9741DEA3D09DE4D5C4C6D4@creativesystemdesigns.com> Message-ID: Well, I do often ask for help, don't I? ;) The honest truth is this: I often have a hard time understanding exactly what the problem is. I'm seldom sure if it's because I have no experience with the topic or if they just don't know how to ask questions. I think it's a mixture of both. :) Susan H. > There is always your extended staff on the DBA forums. ;-) > > Jim > > > I'm afraid I would get stumped too often to maintain my reputation. :) > > Susan H. > > >> My goodness you are such a complete source of information. You should >> have > >> a >> "Ask Susan" blog. ;-) >> >> Jim >> >> Since you brought that up... >> >> > > ially-bad-clients/1011?tag=content;blog-list-river> >> >> Nice to hear from you Shamil!! >> >> Susan H. >> >>> Therefore additionally to 'must have' constant mastering of software >>> development skills and learning by doing the new technologies every >>> freelancer should also master the art of selecting (and >>> nurturing/cultivating) "good" customers and ignoring the "bad" ones... >>> >>> Thank you. >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/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 Fri Sep 2 16:15:13 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 14:15:13 -0700 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome In-Reply-To: <013f01cc69b3$2dc3c950$894b5bf0$@net> References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net> <35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> <013c01cc6261$e4237320$ac6a5960$@net> <78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> <013f01cc69b3$2dc3c950$894b5bf0$@net> Message-ID: My goodness that observation is even negative for me. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Friday, September 02, 2011 1:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] freelancing job sites-Sisyphus Syndrome Re: "Been on the same gig for over 2 years..." That's hugely unusual these days. Most large corps have "rules" in place that disallow temp employment past 12 or 18 months. You should be so grateful for this long, long gig....and I am sure any agency that has represented you has given you at least an "atta boy". In the past 3 years I've only been able to get "stinkers".....short term, high pressure, low pay deals. It does appear as if the Indian companies have garnished all of the "Sweet deals". Every 3 months I am re-interviewing by phone and in person, re-profiling my background, updating references, updating resumes, etc. I call this the Sisyphus syndrome: "Camus outlines the legend of Sisyphus who defied the gods and put Death in chains so that no human needed to die. When Death was eventually liberated and it came time for Sisyphus himself to die, he concocted a deceit which let him escape from the underworld. Finally captured, the gods decided on his punishment: for all eternity, he would have to push a rock up a mountain; on the top, the rock rolls down again and Sisyphus has to start over. Camus sees Sisyphus as the absurd hero who lives life to the fullest, hates death and is condemned to a meaningless task." "Camus presents Sisyphus's ceaseless and pointless toil as a metaphor for modern lives spent working at futile jobs in factories and offices. The workman of today works every day in his life at the same tasks, and this fate is no less absurd. But it is tragic only at the rare moments when it becomes conscious." -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 2 16:19:57 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 14:19:57 -0700 Subject: [AccessD] Freelancing-one off In-Reply-To: <014001cc69b4$36369bc0$a2a3d340$@net> References: <014001cc69b4$36369bc0$a2a3d340$@net> Message-ID: <374770BA6B3B4C938F3CDC903991CA04@creativesystemdesigns.com> Definitely. We can never tell what is going to be the next break through product. ;-) I had one excellent seller a few years ago...unfortunately, that market dried up. I have been working on another such product and who know?! Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Friday, September 02, 2011 2:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Freelancing-one off > First; You will never make many money building one-off products for a > client. Building and marketing a product multiple times is much more > cost effective. Yet this is what has been required of me in all of my "stinkers". I once created an add-in type of product (over 12 years ago) and it was somewhat of a failure until I had one huge, multilicense sale that brought in a huge amount of revenue. Suddenly, it was successful ! This is very similar to what had happened with Richard Branson when he started Virgin Records.... It was failing and then he signed Phil Collins and Boy George.....and in the end, he sold the company for 1 billion !!! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 2 16:26:15 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 14:26:15 -0700 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome In-Reply-To: <3F99AAEAA574487A8F3A75D63D35F01A@SusanHarkins> References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net> <35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> <013c01cc6261$e4237320$ac6a5960$@net> <78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> <013f01cc69b3$2dc3c950$894b5bf0$@net> <3F99AAEAA574487A8F3A75D63D35F01A@SusanHarkins> Message-ID: We have been having the same issues around here for years. The government wants to make sure that you are not working as a full-time employee for someone but only registering as a contractor. That method of circumnavigating taxes became common until the government stepped in. It is death and taxes...your death, their taxes. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, September 02, 2011 2:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites-Sisyphus Syndrome That's been forced by the feds. I just went through a long and rather intimidating "qualifying" process for one of my clients -- at the time I only had 2 and the majority of my time/income was with them. That was a problem for them because they don't want the feds denying my contractor status. Ugly business... I wish the feds would stay out of my business. :( I was just furious, but it was necessary. It use to be so easy. :( In the end, it wasn't a problem, but it was uncomfortable for me. They asked questions that were none of their business and I didn't answer. It all worked out, but geez Louise. :( Susan H. > Re: "Been on the same gig for over 2 years..." > > That's hugely unusual these days. Most large corps have "rules" in place > that disallow temp employment past 12 or 18 months. > -- 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 Sep 2 16:27:49 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 2 Sep 2011 17:27:49 -0400 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> <62F88463B3514BCFAC753FB624FDD05A@SusanHarkins> <7AFD83CBFEE14C14A8B4D1B11D47136D@SusanHarkins> <02560AC64F9741DEA3D09DE4D5C4C6D4@creativesystemdesigns.com> Message-ID: As Homer Simpson (I think) said, there are no stupid questions, just stupid users :) A. On Fri, Sep 2, 2011 at 5:17 PM, Susan Harkins wrote: > Well, I do often ask for help, don't I? ;) > > The honest truth is this: I often have a hard time understanding exactly > what the problem is. I'm seldom sure if it's because I have no experience > with the topic or if they just don't know how to ask questions. I think it's > a mixture of both. :) > > Susan H. > From vbacreations at gmail.com Fri Sep 2 16:33:05 2011 From: vbacreations at gmail.com (William Benson) Date: Fri, 2 Sep 2011 17:33:05 -0400 Subject: [AccessD] Freelancing-one off In-Reply-To: <014001cc69b4$36369bc0$a2a3d340$@net> References: <014001cc69b4$36369bc0$a2a3d340$@net> Message-ID: I have a product now that is one of those one hit wonders (excel adding). It's just difficult to decide whether to sell it to individuals or Microsoft. If the latter then I have to invest in protective patents which may not be possible. Well I can dream ... On Sep 2, 2011 5:07 PM, "Mark Simms" wrote: >> First; You will never make many money building one-off products for a >> client. Building and marketing a product multiple times is much more >> cost effective. > > Yet this is what has been required of me in all of my "stinkers". > > I once created an add-in type of product (over 12 years ago) and it was > somewhat of a failure > until I had one huge, multilicense sale that brought in a huge amount of > revenue. Suddenly, it was successful ! > This is very similar to what had happened with Richard Branson when he > started Virgin Records.... > It was failing and then he signed Phil Collins and Boy George.....and in the > end, he sold the company for > 1 billion !!! > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From ssharkins at gmail.com Fri Sep 2 16:36:59 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 17:36:59 -0400 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net><35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins><013c01cc6261$e4237320$ac6a5960$@net><78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins><013f01cc69b3$2dc3c950$894b5bf0$@net><3F99AAEAA574487A8F3A75D63D35F01A@SusanHarkins> Message-ID: <0682C918B7F843E5BDF101A3CCAF475A@SusanHarkins> > We have been having the same issues around here for years. The government > wants to make sure that you are not working as a full-time employee for > someone but only registering as a contractor. > > That method of circumnavigating taxes became common until the government > stepped in. It is death and taxes...your death, their taxes. =======Circumvent crap... I pay more taxes as a contractor than I would as a traditional employee. Susan H. From accessd at shaw.ca Fri Sep 2 16:51:25 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 14:51:25 -0700 Subject: [AccessD] Freelancing In-Reply-To: <86C16B2C7EE948FB942A29A5E0E78978@SusanHarkins> References: <591283956F204426BE1F3A86038EF3C5@creativesystemdesigns.com> <86C16B2C7EE948FB942A29A5E0E78978@SusanHarkins> Message-ID: <144225DA5D5B4F6BB5CEC2B89B416ABD@creativesystemdesigns.com> Here are two free and cheap applications for building great little mobile apps: phonegap (http://www.phonegap.com/start/) and sencha touch (http://www.sencha.com/products/touch/)...check them out...intuitive and a full GUI. Phonegap definitely supports HTML5 local storage and treats it in a database using sqlite. Check the following examples out: http://docs.phonegap.com/phonegap_storage_storage.md.html If you need to access external data use Ajax/rest for communication and push for inbound notifications. My brilliance, on the subject is due to the fact that my son-in-law is working on app phone projects as we speak...so I can take none of the credit. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, September 02, 2011 2:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Freelancing I'm more interested in SQLLite really and would love to learn it. Anyone using it to create mobile apps? It's the topic of the day right now. Susan H. > Well, it has a small footprint, limited features, runs on Windows and > Linux > and is totally written in Java (some computer science major's thesis > project). I have only had a very limited information on the product and > have > heard of no one playing with it; even my most geeky friends. > > Jim > > How do you guys feel about SmallSQL? > > Susan H. > > >>I definitely hear you on the NoSQL front, and wish I had enough money to >>buy >> a few more GBs of RAM to make my elementary tests more real-world, but I >> don't, so I can't. The technology remains fascinating, and it makes a ton >> more sense than hard disks. -- 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 Sep 2 16:55:19 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 03 Sep 2011 07:55:19 +1000 Subject: [AccessD] Freelancing In-Reply-To: <86C16B2C7EE948FB942A29A5E0E78978@SusanHarkins> References: , <86C16B2C7EE948FB942A29A5E0E78978@SusanHarkins> Message-ID: <4E6150C7.2713.131095EC@stuart.lexacorp.com.pg> I don't use it for mobile apps, but it is very easy to use with PowerBasic. A nice Firefox plugin for managing SQLite databases: http://code.google.com/p/sqlite-manager/ -- Stuart On 2 Sep 2011 at 17:15, Susan Harkins wrote: > I'm more interested in SQLLite really and would love to learn it. > Anyone using it to create mobile apps? It's the topic of the day right > now. > > Susan H. > > > > Well, it has a small footprint, limited features, runs on Windows > > and Linux and is totally written in Java (some computer science > > major's thesis project). I have only had a very limited information > > on the product and have heard of no one playing with it; even my > > most geeky friends. > > > > Jim > > > > How do you guys feel about SmallSQL? > > > > Susan H. > > > > > >>I definitely hear you on the NoSQL front, and wish I had enough > >>money to buy > >> a few more GBs of RAM to make my elementary tests more real-world, > >> but I don't, so I can't. The technology remains fascinating, and it > >> makes a ton more sense than hard disks. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Fri Sep 2 17:10:44 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 15:10:44 -0700 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome In-Reply-To: <0682C918B7F843E5BDF101A3CCAF475A@SusanHarkins> References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net> <35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> <013c01cc6261$e4237320$ac6a5960$@net> <78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> <013f01cc69b3$2dc3c950$894b5bf0$@net> <3F99AAEAA574487A8F3A75D63D35F01A@SusanHarkins> <0682C918B7F843E5BDF101A3CCAF475A@SusanHarkins> Message-ID: <20219FED288E4CBB9E227495FBFFE83E@creativesystemdesigns.com> The government officials in your region must be a bunch of thieves. As a contractor one of my main benefits is, I can write off virtually everything as a business expense right off the taxable income. Clothes (bunny slippers with pink eyes and ears), computer products, some lunches, car expenses, training courses, internet connectivity, cell and phone charges and even one fifth of the house maintenance and associated utilities. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, September 02, 2011 2:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites-Sisyphus Syndrome > We have been having the same issues around here for years. The government > wants to make sure that you are not working as a full-time employee for > someone but only registering as a contractor. > > That method of circumnavigating taxes became common until the government > stepped in. It is death and taxes...your death, their taxes. =======Circumvent crap... I pay more taxes as a contractor than I would as a traditional employee. 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 Fri Sep 2 17:21:37 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 18:21:37 -0400 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net><35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins><013c01cc6261$e4237320$ac6a5960$@net><78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins><013f01cc69b3$2dc3c950$894b5bf0$@net><3F99AAEAA574487A8F3A75D63D35F01A@SusanHarkins><0682C918B7F843E5BDF101A3CCAF475A@SusanHarkins> <20219FED288E4CBB9E227495FBFFE83E@creativesystemdesigns.com> Message-ID: <12858A421D24419D865827E3B2170999@SusanHarkins> I can deduct business-related costs. The house deduction is limited the amount of space I actually use... um... it's all in one room, but it's better than nothing. I do take the deduction, but in the end, none of it saves me very much, but I'll take what I can get. Susan H. > The government officials in your region must be a bunch of thieves. > > As a contractor one of my main benefits is, I can write off virtually > everything as a business expense right off the taxable income. Clothes > (bunny slippers with pink eyes and ears), computer products, some lunches, > car expenses, training courses, internet connectivity, cell and phone > charges and even one fifth of the house maintenance and associated > utilities. From shamil at smsconsulting.spb.ru Fri Sep 2 17:26:20 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 3 Sep 2011 02:26:20 +0400 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: <8D44FC3DF663451D800CEAEDA46ED092@creativesystemdesigns.com> References: <00d901cc6104$e48b4e40$ada1eac0$@net><4E52BED3.9080600@colbyconsulting.com><2BB94FDF62ED42B194C1CC6F12061C3D@nant> <8D44FC3DF663451D800CEAEDA46ED092@creativesystemdesigns.com> Message-ID: <8DB3E9E8C98F46ECB1BB2B6DD7D6EB98@nant> Hi Jim -- <<< Most new younger client's want instant gratification, absolute perfection and it all done very cheap he choices are; Good, Fast and cheap; pick any two >>> I suppose it will never work well that way for custom software development - "there is no free cheese..." And there will always be demand for custom software development not just customizing "off-the-shelf" solutions. Yes, HTML5/CSS3 + JavaScript are in my "mastering" list... Thank you. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: 3 ???????? 2011 ?. 0:43 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] freelancing job sites (OT Reply) Hi Shamil: With my old time clients any new technology has to be careful implemented...they do not like new especially if it looks too different. The slow refinement method works best. ;-) I have been quietly moving my clients to the web/SQL and as long as I have been able to emulate the old forms in design, layout and features they are very happy. Most new younger client's want instant gratification, absolute perfection and it all done very cheap. The choices are; Good, Fast and cheap; pick any two. I like to modularize applications so a project can be allowed to evolve over a length of time with lots of user assistance. A long-term 'insurance and incremental development' policy is the goal of course. I try to never 're-invent the wheel'. I use existing apps and technology as long as it makes my job easier and moves the project ahead. Some clients are 'early adopters', they really like any technology that is new and shiny, and they tend to be the ones willing and capable of paying for the learning curve. The only thing is that, I may end up supporting a technology that fades fast. MS Silverlight comes to mind as it has been superseded by the industry standards of HTML5 as even Adobe is abandoning their Flash product in favour of the standard: www.adobe.com/EdgePreview (HTML5/CSS3 web builder) I agree that it is good to know when to divorce a customer or never become acquainted. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, September 02, 2011 11:22 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] freelancing job sites (OT Reply) Hi Jim -- I guess your clients do have got developed strong business thanks to your good software development work for them - that seems to be the key point for a freelancing carrier success. Although there exist so many "prospect customers" who are trying to "save a penny" by burning out freelancers. Therefore additionally to 'must have' constant mastering of software development skills and learning by doing the new technologies every freelancer should also master the art of selecting (and nurturing/cultivating) "good" customers and ignoring the "bad" ones... Thank you. -- Shamil From accessd at shaw.ca Fri Sep 2 18:06:36 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 16:06:36 -0700 Subject: [AccessD] Freelancing In-Reply-To: <86C16B2C7EE948FB942A29A5E0E78978@SusanHarkins> References: <591283956F204426BE1F3A86038EF3C5@creativesystemdesigns.com> <86C16B2C7EE948FB942A29A5E0E78978@SusanHarkins> Message-ID: PS There is even a JQuery product coming out soon but the current beta version is not ready for prime time. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, September 02, 2011 2:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Freelancing I'm more interested in SQLLite really and would love to learn it. Anyone using it to create mobile apps? It's the topic of the day right now. Susan H. > Well, it has a small footprint, limited features, runs on Windows and > Linux > and is totally written in Java (some computer science major's thesis > project). I have only had a very limited information on the product and > have > heard of no one playing with it; even my most geeky friends. > > Jim > > How do you guys feel about SmallSQL? > > Susan H. > > >>I definitely hear you on the NoSQL front, and wish I had enough money to >>buy >> a few more GBs of RAM to make my elementary tests more real-world, but I >> don't, so I can't. The technology remains fascinating, and it makes a ton >> more sense than hard disks. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Sat Sep 3 09:16:40 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 03 Sep 2011 10:16:40 -0400 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome In-Reply-To: References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net> <35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> <013c01cc6261$e4237320$ac6a5960$@net> <78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> <013f01cc69b3$2dc3c950$894b5bf0$@net> <3F99AAEAA574487A8F3A75D63D35F01A@SusanHarkins> Message-ID: <000501cc6a44$1a0ad660$4e208320$@net> > We have been having the same issues around here for years. The > government > wants to make sure that you are not working as a full-time employee for > someone but only registering as a contractor. What this "rule" did was to give complete and utter control to the AGENCIES that one is now forced to go thru unless you can afford a marketing department to go "direct". Agencies continue to flourish....now that's a great business to be in. They've been successful despite the Indianization of the IT consulting business in the USA. Most of them have at least a 50% of their billable consultants as foreigners....I garnished this from my last Fortune 500 companies Activedirectory which listed all contractors and agencies. Lastly, many large companies treat their favored agency reps like "rock stars" as if THEY really make a big contribution to that company when in fact, it's the CONSULTANT who makes the contribution, but never sees the accolades. At my last gig, I never saw my agent....in fact he didn't spend any effort at all getting to know me or anything. For 6 months effort, his agency pulled in about $20,000.......barely having to raise a finger. From marksimms at verizon.net Sat Sep 3 09:23:14 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 03 Sep 2011 10:23:14 -0400 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome In-Reply-To: <0682C918B7F843E5BDF101A3CCAF475A@SusanHarkins> References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net><35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins><013c01cc6261$e4237320$ac6a5960$@net><78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins><013f01cc69b3$2dc3c950$894b5bf0$@net><3F99AAEAA574487A8F3A75D63D35F01A@SusanHarkins> <0682C918B7F843E5BDF101A3CCAF475A@SusanHarkins> Message-ID: <004a01cc6a45$053133a0$0f939ae0$@net> > =======Circumvent crap... I pay more taxes as a contractor than I would > as a > traditional employee. Exactly. Self employment tax IS terrible. This is a perfect example of the government taking action via legislation and not considering all of the consequences....and even worse, never making any amendments to that terrible law after-the-fact. This could partially explain our country's dire condition right now. From marksimms at verizon.net Sat Sep 3 09:26:11 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 03 Sep 2011 10:26:11 -0400 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome In-Reply-To: <20219FED288E4CBB9E227495FBFFE83E@creativesystemdesigns.com> References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net> <35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> <013c01cc6261$e4237320$ac6a5960$@net> <78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> <013f01cc69b3$2dc3c950$894b5bf0$@net> <3F99AAEAA574487A8F3A75D63D35F01A@SusanHarkins> <0682C918B7F843E5BDF101A3CCAF475A@SusanHarkins> <20219FED288E4CBB9E227495FBFFE83E@creativesystemdesigns.com> Message-ID: <004b01cc6a45$6e51e410$4af5ac30$@net> > As a contractor one of my main benefits is, I can write off virtually > everything as a business expense right off the taxable income. Clothes > (bunny slippers with pink eyes and ears), computer products, some > lunches, car expenses, training courses, internet connectivity, cell and phone > charges and even one fifth of the house maintenance and associated > utilities. Yes Jim, this does help.... but the real thieves are the AGENCIES.....whom I have to effectively write a check to for nearly 30% of the client billables. Strangely, there are no "discount" agencies....I wonder why ? From accessd at shaw.ca Sat Sep 3 12:01:12 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 3 Sep 2011 10:01:12 -0700 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome In-Reply-To: <004b01cc6a45$6e51e410$4af5ac30$@net> References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net> <35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> <013c01cc6261$e4237320$ac6a5960$@net> <78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> <013f01cc69b3$2dc3c950$894b5bf0$@net> <3F99AAEAA574487A8F3A75D63D35F01A@SusanHarkins> <0682C918B7F843E5BDF101A3CCAF475A@SusanHarkins> <20219FED288E4CBB9E227495FBFFE83E@creativesystemdesigns.com> <004b01cc6a45$6e51e410$4af5ac30$@net> Message-ID: <1A9165FE2CA147ACBF4D3C4D2BCA8BF8@creativesystemdesigns.com> Hi Mark: " Strangely, there are no "discount" agencies....I wonder why ? " Can you say m-o-n-o-p-o-l-y? A lot of the problem is because there is not a group that stands for the actual IT workers. There is no union, association, agency or guild that works for the people that actually do the work. All lawyers, doctors and architects belong to an association even most restaurant workers. Even Ronald Regan was the president of the actor's guild before the white house. If the IT worker is going to stubbornly hold on to their "individual" status there will always be many people willing to play one off against the other and in the end few if any IT person will make any money. The question is why should a person get a university degree only to be paid the same as the senior fry-guy at McDonalds? Enough said on this subject as we have an OT list for such philosophizing. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Saturday, September 03, 2011 7:26 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] freelancing job sites-Sisyphus Syndrome > As a contractor one of my main benefits is, I can write off virtually > everything as a business expense right off the taxable income. Clothes > (bunny slippers with pink eyes and ears), computer products, some > lunches, car expenses, training courses, internet connectivity, cell and phone > charges and even one fifth of the house maintenance and associated > utilities. Yes Jim, this does help.... but the real thieves are the AGENCIES.....whom I have to effectively write a check to for nearly 30% of the client billables. Strangely, there are no "discount" agencies....I wonder why ? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Sep 3 12:09:12 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 03 Sep 2011 13:09:12 -0400 Subject: [AccessD] Passing ParamArrays down the line Message-ID: <4E625F38.1060601@colbyconsulting.com> I use param arrays to allow me to pass in things like group ids that a user might belong to. The following fails: Function mPLSUserInGroup(ParamArray Grps() As Variant) As Boolean mPLSUserInGroup = cPLS.cCurrUser.pUserInGrp(Grps) End Function However the following works: Function mPLSUserInGroup(ParamArray Grps() As Variant) As Boolean Dim lGrps() As Variant lGrps = Grps mPLSUserInGroup = cPLS.cCurrUser.pUserInGrp(lGrps) End Function Thus in order to push a paramarray into another function we just need to dim an array, set it equal to the paramarray and then push that array on down. Pretty strange that a ParamArray cannot be directly passed along. -- John W. Colby www.ColbyConsulting.com From tinanfields at torchlake.com Sat Sep 3 17:36:53 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 03 Sep 2011 18:36:53 -0400 Subject: [AccessD] Combo retains last selection Message-ID: <4E62AC05.60505@torchlake.com> Hi, I have a form with an unbound combo-box, that I use for opening a form to the record associated with the selection I made in the combo-box. Okay, that works fine. But, when I come back to the form, the last selection still appears in the text box of the combo. I would like it to be blank as it was when I first opened the form. What do I need to do? Thanks, T -- Tina Norris Fields tinanfields at torchlake.com 231-322-2787 From stuart at lexacorp.com.pg Sat Sep 3 17:52:45 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 04 Sep 2011 08:52:45 +1000 Subject: [AccessD] Combo retains last selection In-Reply-To: <4E62AC05.60505@torchlake.com> References: <4E62AC05.60505@torchlake.com> Message-ID: <4E62AFBD.13378.186B8D02@stuart.lexacorp.com.pg> Set cboSelector = Null at an appropriate place (in the event that opens the form after getting the combo's value?" -- Stuart On 3 Sep 2011 at 18:36, Tina Norris Fields wrote: > Hi, > > I have a form with an unbound combo-box, that I use for opening a form > to the record associated with the selection I made in the combo-box. > Okay, that works fine. But, when I come back to the form, the last > selection still appears in the text box of the combo. I would like it > to be blank as it was when I first opened the form. What do I need to > do? > > Thanks, > T > > -- > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > -- > 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 Sep 3 17:54:07 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 3 Sep 2011 18:54:07 -0400 Subject: [AccessD] Combo retains last selection In-Reply-To: <4E62AC05.60505@torchlake.com> References: <4E62AC05.60505@torchlake.com> Message-ID: Set its value to null when you return to (activate) the form. On Sat, Sep 3, 2011 at 6:36 PM, Tina Norris Fields < tinanfields at torchlake.com> wrote: > Hi, > > I have a form with an unbound combo-box, that I use for opening a form to > the record associated with the selection I made in the combo-box. Okay, > that works fine. But, when I come back to the form, the last selection > still appears in the text box of the combo. I would like it to be blank as > it was when I first opened the form. What do I need to do? > > Thanks, > T > > -- > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > From tinanfields at torchlake.com Sat Sep 3 18:54:40 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 03 Sep 2011 19:54:40 -0400 Subject: [AccessD] Combo retains last selection In-Reply-To: References: <4E62AC05.60505@torchlake.com> Message-ID: <4E62BE40.60601@torchlake.com> Arthur, Stuart, Of course! Thank you for waking up my brain! T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 9/3/2011 6:54 PM, Arthur Fuller wrote: > Set its value to null when you return to (activate) the form. > > On Sat, Sep 3, 2011 at 6:36 PM, Tina Norris Fields< > tinanfields at torchlake.com> wrote: > >> Hi, >> >> I have a form with an unbound combo-box, that I use for opening a form to >> the record associated with the selection I made in the combo-box. Okay, >> that works fine. But, when I come back to the form, the last selection >> still appears in the text box of the combo. I would like it to be blank as >> it was when I first opened the form. What do I need to do? >> >> Thanks, >> T >> >> -- >> Tina Norris Fields >> tinanfields at torchlake.com >> 231-322-2787 >> >> -- >> 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 Sep 3 23:06:38 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sat, 3 Sep 2011 21:06:38 -0700 Subject: [AccessD] Passing ParamArrays down the line In-Reply-To: <4E625F38.1060601@colbyconsulting.com> References: <4E625F38.1060601@colbyconsulting.com> Message-ID: It's been that way as long as there have been paramarrays, John. It may be odd, but it's familiar odd. Charlotte Foust Charlotte On Sep 3, 2011 10:10 AM, "jwcolby" wrote: > I use param arrays to allow me to pass in things like group ids that a user might belong to. The > following fails: > > Function mPLSUserInGroup(ParamArray Grps() As Variant) As Boolean > mPLSUserInGroup = cPLS.cCurrUser.pUserInGrp(Grps) > End Function > > However the following works: > > Function mPLSUserInGroup(ParamArray Grps() As Variant) As Boolean > Dim lGrps() As Variant > lGrps = Grps > mPLSUserInGroup = cPLS.cCurrUser.pUserInGrp(lGrps) > End Function > > Thus in order to push a paramarray into another function we just need to dim an array, set it equal > to the paramarray and then push that array on down. > > Pretty strange that a ParamArray cannot be directly passed along. > > -- > John W. Colby > www.ColbyConsulting.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 Sep 4 08:51:25 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 04 Sep 2011 15:51:25 +0200 Subject: [AccessD] User interface Message-ID: Hi Arthur and Jim Really? I find GMail to represent an horror example of bad (or lacking) design - with a mess of colours, buttons and pop-ups everywhere, yellow and green bars, boring fonts. No style. Contrary to this, the redesigned live.com (hotmail etc.) is a good example on how very similar pages can appear much lighter and neater by use of a simple tricks like careful colouring and shading, stylish fonts, and just a few frames (with right-angled corners; round corners should be forbidden by law!). Currently Microsoft is way ahead of anyone else regarding design with Windows Phone 7 and now Windows 8 as the stellar examples of the Metro project. Even the ribbon has proved right for me as I'm now able to use PowerPoint which I previously stayed off. Now it is even fun! That tells it all. The interesting and encouraging part is, that this is the result of hard work by several teams of very skilled and brave persons, not just some fancy ideas. They are being bashed from many sides which - could one believe - want Windows 3.11 and Word 2.0 back. MS management deserves credit for having promoted design to have top priority. /gustav >>> fuller.artful at gmail.com 02-09-2011 21:28:01 >>> I think of Google as the UI par excellence. Lean and clean and decidedly not noisy. I admire their design sense immensely. A. From charlotte.foust at gmail.com Sun Sep 4 13:29:14 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sun, 4 Sep 2011 11:29:14 -0700 Subject: [AccessD] User interface In-Reply-To: References: Message-ID: I have to say that I agree about Google's interfaces. I always use the simplest one they offer, but I don't really like any of them. That said, I'm not thrilled with the live.com either, although it's far easier to retrieve other email accounts from it than from Google. Charlotte Foust On Sun, Sep 4, 2011 at 6:51 AM, Gustav Brock wrote: > Hi Arthur and Jim > > Really? I find GMail to represent an horror example of bad (or lacking) > design - with a mess of colours, buttons and pop-ups everywhere, yellow and > green bars, boring fonts. No style. > Contrary to this, the redesigned live.com > > (hotmail etc.) is a good example on how very similar pages can appear much > lighter and neater by use of a simple tricks like careful colouring and > shading, stylish fonts, and just a few frames (with right-angled corners; > round corners should be forbidden by law!). > > Currently Microsoft is way ahead of anyone else regarding design with > Windows Phone 7 and now Windows 8 as the stellar examples of the Metro > project. Even the ribbon has proved right for me as I'm now able to use > PowerPoint which I previously stayed off. Now it is even fun! That tells it > all. > > The interesting and encouraging part is, that this is the result of hard > work by several teams of very skilled and brave persons, not just some fancy > ideas. They are being bashed from many sides which - could one believe - > want Windows 3.11 and Word 2.0 back. MS management deserves credit for > having promoted design to have top priority. > > /gustav > > > >>> fuller.artful at gmail.com 02-09-2011 21:28:01 >>> > I think of Google as the UI par excellence. Lean and clean and decidedly > not noisy. I admire their design sense immensely. > > A. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From accessd at shaw.ca Sun Sep 4 13:47:03 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 4 Sep 2011 11:47:03 -0700 Subject: [AccessD] User interface In-Reply-To: References: Message-ID: <0E04E1A006F743CD9CB3F2880659B2F7@creativesystemdesigns.com> I like the Windows Small phone design. It is a lot cleaner that I would have suspected. I am also am very familiar with the Windows so I would hardly be a person to be predisposed to make an objective or negative opinion. OTOH, design and layout of an application is as important as the design and development of the code. The average user just does not care what is under-the-hood. Pretty is always most important...think no further than our obsession with models. Most of my work is with web sites and there are always very basic rules...like everything must read from top-left to bottom-right. (European standard) Most sites work with the two or three-column design...all have headers and footers. After that, there are many more abstract and fresh layouts. When surfing, everyone knows when they have landed on a corporate or a geek or a store or an application site. It is all about the layout. Companies like MS, Apple, Google and even Linux have spent as much money on their product UI designs as on the coding. In the Linux world there are two schools of design, the Gnome (apple like) and KDE (windows like) interfaces. In recent years a great deal of study has gone into just how people logically (intuitively) think. The Apple type layouts assume people think in specific logical patterns and clutter just confuses. Less is best. Single forms but more effort is placed on transitions, showing depth and graphics. Windows type layouts have everything of an application shown...if there are 50 choices there are 50 buttons. There are no transitions as a feature is either off or on, there are no rounded curves and there are no shadows. Everything runs from a single desktop. It is so personal as to which interface is more intuitional but the current trends are towards the "Apple/Gnome" like interfaces...of course that trend or fashion could change. For me, it is what ever the user wants. Right now Gnome UI is running two to one, in popularity and finally the new Windows phone interface is very lean, similar but different (more block layout) to the Gnome uncluttered interface. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, September 04, 2011 6:51 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] User interface Hi Arthur and Jim Really? I find GMail to represent an horror example of bad (or lacking) design - with a mess of colours, buttons and pop-ups everywhere, yellow and green bars, boring fonts. No style. Contrary to this, the redesigned live.com (hotmail etc.) is a good example on how very similar pages can appear much lighter and neater by use of a simple tricks like careful colouring and shading, stylish fonts, and just a few frames (with right-angled corners; round corners should be forbidden by law!). Currently Microsoft is way ahead of anyone else regarding design with Windows Phone 7 and now Windows 8 as the stellar examples of the Metro project. Even the ribbon has proved right for me as I'm now able to use PowerPoint which I previously stayed off. Now it is even fun! That tells it all. The interesting and encouraging part is, that this is the result of hard work by several teams of very skilled and brave persons, not just some fancy ideas. They are being bashed from many sides which - could one believe - want Windows 3.11 and Word 2.0 back. MS management deserves credit for having promoted design to have top priority. /gustav >>> fuller.artful at gmail.com 02-09-2011 21:28:01 >>> I think of Google as the UI par excellence. Lean and clean and decidedly not noisy. I admire their design sense immensely. 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 Sep 4 14:03:16 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sun, 4 Sep 2011 12:03:16 -0700 Subject: [AccessD] User interface In-Reply-To: <0E04E1A006F743CD9CB3F2880659B2F7@creativesystemdesigns.com> References: <0E04E1A006F743CD9CB3F2880659B2F7@creativesystemdesigns.com> Message-ID: I've always hated the apple UI. It was never intuitive to me, so I'm in the minority who prefers the alternative, whether on the PC or on a phone. As far as pretty being important, I think elegant is ahead of that, or maybe we're using different words for the same thing. I don't want to be awestruck by the beauty of the UI, merely at home with it and comfortable finding what I need without being offended by the look (think, some of the Windows themes!). The traditional Windows UI didn't focus on rounded corners, but they're everywhere in the last few versions of Visual Studio and Windows, and in fact, the messageboxes, various window edges, and so forth have had rounded corners for a long time. Charlotte Foust On Sun, Sep 4, 2011 at 11:47 AM, Jim Lawrence wrote: > I like the Windows Small phone design. It is a lot cleaner that I would > have > suspected. I am also am very familiar with the Windows so I would hardly be > a person to be predisposed to make an objective or negative opinion. > > OTOH, design and layout of an application is as important as the design and > development of the code. The average user just does not care what is > under-the-hood. Pretty is always most important...think no further than our > obsession with models. > > Most of my work is with web sites and there are always very basic > rules...like everything must read from top-left to bottom-right. (European > standard) Most sites work with the two or three-column design...all have > headers and footers. After that, there are many more abstract and fresh > layouts. > > When surfing, everyone knows when they have landed on a corporate or a geek > or a store or an application site. It is all about the layout. > > Companies like MS, Apple, Google and even Linux have spent as much money on > their product UI designs as on the coding. In the Linux world there are two > schools of design, the Gnome (apple like) and KDE (windows like) > interfaces. > In recent years a great deal of study has gone into just how people > logically (intuitively) think. > > The Apple type layouts assume people think in specific logical patterns and > clutter just confuses. Less is best. Single forms but more effort is placed > on transitions, showing depth and graphics. > > Windows type layouts have everything of an application shown...if there are > 50 choices there are 50 buttons. There are no transitions as a feature is > either off or on, there are no rounded curves and there are no shadows. > Everything runs from a single desktop. > > It is so personal as to which interface is more intuitional but the current > trends are towards the "Apple/Gnome" like interfaces...of course that trend > or fashion could change. > > For me, it is what ever the user wants. Right now Gnome UI is running two > to > one, in popularity and finally the new Windows phone interface is very > lean, > similar but different (more block layout) to the Gnome uncluttered > interface. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Sunday, September 04, 2011 6:51 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] User interface > > Hi Arthur and Jim > > Really? I find GMail to represent an horror example of bad (or lacking) > design - with a mess of colours, buttons and pop-ups everywhere, yellow and > green bars, boring fonts. No style. > Contrary to this, the redesigned live.com > > (hotmail etc.) is a good example > on how very similar pages can appear much lighter and neater by use of a > simple tricks like careful colouring and shading, stylish fonts, and just a > few frames (with right-angled corners; round corners should be forbidden by > law!). > > Currently Microsoft is way ahead of anyone else regarding design with > Windows Phone 7 and now Windows 8 as the stellar examples of the Metro > project. Even the ribbon has proved right for me as I'm now able to use > PowerPoint which I previously stayed off. Now it is even fun! That tells it > all. > > The interesting and encouraging part is, that this is the result of hard > work by several teams of very skilled and brave persons, not just some > fancy > ideas. They are being bashed from many sides which - could one believe - > want Windows 3.11 and Word 2.0 back. MS management deserves credit for > having promoted design to have top priority. > > /gustav > > > >>> fuller.artful at gmail.com 02-09-2011 21:28:01 >>> > I think of Google as the UI par excellence. Lean and clean and decidedly > not > noisy. I admire their design sense immensely. > > A. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From accessd at shaw.ca Sun Sep 4 15:44:53 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 4 Sep 2011 13:44:53 -0700 Subject: [AccessD] User interface In-Reply-To: References: <0E04E1A006F743CD9CB3F2880659B2F7@creativesystemdesigns.com> Message-ID: The new Windows has embraced "pretty"...semi-transparent rounded window thick borders are even a little over the top for me...but maybe my age is showing. The kids, those under 40, just love this stuff and that love is making Apple the riches company on the planet. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Sunday, September 04, 2011 12:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] User interface I've always hated the apple UI. It was never intuitive to me, so I'm in the minority who prefers the alternative, whether on the PC or on a phone. As far as pretty being important, I think elegant is ahead of that, or maybe we're using different words for the same thing. I don't want to be awestruck by the beauty of the UI, merely at home with it and comfortable finding what I need without being offended by the look (think, some of the Windows themes!). The traditional Windows UI didn't focus on rounded corners, but they're everywhere in the last few versions of Visual Studio and Windows, and in fact, the messageboxes, various window edges, and so forth have had rounded corners for a long time. Charlotte Foust On Sun, Sep 4, 2011 at 11:47 AM, Jim Lawrence wrote: > I like the Windows Small phone design. It is a lot cleaner that I would > have > suspected. I am also am very familiar with the Windows so I would hardly be > a person to be predisposed to make an objective or negative opinion. > > OTOH, design and layout of an application is as important as the design and > development of the code. The average user just does not care what is > under-the-hood. Pretty is always most important...think no further than our > obsession with models. > > Most of my work is with web sites and there are always very basic > rules...like everything must read from top-left to bottom-right. (European > standard) Most sites work with the two or three-column design...all have > headers and footers. After that, there are many more abstract and fresh > layouts. > > When surfing, everyone knows when they have landed on a corporate or a geek > or a store or an application site. It is all about the layout. > > Companies like MS, Apple, Google and even Linux have spent as much money on > their product UI designs as on the coding. In the Linux world there are two > schools of design, the Gnome (apple like) and KDE (windows like) > interfaces. > In recent years a great deal of study has gone into just how people > logically (intuitively) think. > > The Apple type layouts assume people think in specific logical patterns and > clutter just confuses. Less is best. Single forms but more effort is placed > on transitions, showing depth and graphics. > > Windows type layouts have everything of an application shown...if there are > 50 choices there are 50 buttons. There are no transitions as a feature is > either off or on, there are no rounded curves and there are no shadows. > Everything runs from a single desktop. > > It is so personal as to which interface is more intuitional but the current > trends are towards the "Apple/Gnome" like interfaces...of course that trend > or fashion could change. > > For me, it is what ever the user wants. Right now Gnome UI is running two > to > one, in popularity and finally the new Windows phone interface is very > lean, > similar but different (more block layout) to the Gnome uncluttered > interface. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Sunday, September 04, 2011 6:51 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] User interface > > Hi Arthur and Jim > > Really? I find GMail to represent an horror example of bad (or lacking) > design - with a mess of colours, buttons and pop-ups everywhere, yellow and > green bars, boring fonts. No style. > Contrary to this, the redesigned live.com > > (hotmail etc.) is a good example > on how very similar pages can appear much lighter and neater by use of a > simple tricks like careful colouring and shading, stylish fonts, and just a > few frames (with right-angled corners; round corners should be forbidden by > law!). > > Currently Microsoft is way ahead of anyone else regarding design with > Windows Phone 7 and now Windows 8 as the stellar examples of the Metro > project. Even the ribbon has proved right for me as I'm now able to use > PowerPoint which I previously stayed off. Now it is even fun! That tells it > all. > > The interesting and encouraging part is, that this is the result of hard > work by several teams of very skilled and brave persons, not just some > fancy > ideas. They are being bashed from many sides which - could one believe - > want Windows 3.11 and Word 2.0 back. MS management deserves credit for > having promoted design to have top priority. > > /gustav > > > >>> fuller.artful at gmail.com 02-09-2011 21:28:01 >>> > I think of Google as the UI par excellence. Lean and clean and decidedly > not > noisy. I admire their design sense immensely. > > A. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sun Sep 4 17:37:21 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 04 Sep 2011 18:37:21 -0400 Subject: [AccessD] Passing ParamArrays down the line In-Reply-To: References: <4E625F38.1060601@colbyconsulting.com> Message-ID: <4E63FDA1.5080805@colbyconsulting.com> It is familiar but I never knew how to pass them along. Suddenly it occurred to me... John W. Colby www.ColbyConsulting.com On 9/4/2011 12:06 AM, Charlotte Foust wrote: > It's been that way as long as there have been paramarrays, John. It may be > odd, but it's familiar odd. > > Charlotte Foust > > Charlotte > On Sep 3, 2011 10:10 AM, "jwcolby" wrote: >> I use param arrays to allow me to pass in things like group ids that a > user might belong to. The >> following fails: >> >> Function mPLSUserInGroup(ParamArray Grps() As Variant) As Boolean >> mPLSUserInGroup = cPLS.cCurrUser.pUserInGrp(Grps) >> End Function >> >> However the following works: >> >> Function mPLSUserInGroup(ParamArray Grps() As Variant) As Boolean >> Dim lGrps() As Variant >> lGrps = Grps >> mPLSUserInGroup = cPLS.cCurrUser.pUserInGrp(lGrps) >> End Function >> >> Thus in order to push a paramarray into another function we just need to > dim an array, set it equal >> to the paramarray and then push that array on down. >> >> Pretty strange that a ParamArray cannot be directly passed along. >> >> -- >> John W. Colby >> www.ColbyConsulting.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 Sep 4 18:39:46 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 5 Sep 2011 09:39:46 +1000 Subject: [AccessD] Freelancing-one off In-Reply-To: <20110903070956.Tx9u1h01u0xgD8Z01x9vx2@bne3-0001mz.server-mail.com> References: <20110903070956.Tx9u1h01u0xgD8Z01x9vx2@bne3-0001mz.server-mail.com> Message-ID: <000501cc6b5b$ee74f4e0$cb5edea0$@com.au> Tubular Bells was what really got Virgin Music out of the basement and on the map... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Saturday, 3 September 2011 7:07 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Freelancing-one off > First; You will never make many money building one-off products for a > client. Building and marketing a product multiple times is much more > cost effective. Yet this is what has been required of me in all of my "stinkers". I once created an add-in type of product (over 12 years ago) and it was somewhat of a failure until I had one huge, multilicense sale that brought in a huge amount of revenue. Suddenly, it was successful ! This is very similar to what had happened with Richard Branson when he started Virgin Records.... It was failing and then he signed Phil Collins and Boy George.....and in the end, he sold the company for 1 billion !!! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Mon Sep 5 09:27:40 2011 From: marksimms at verizon.net (Mark Simms) Date: Mon, 05 Sep 2011 10:27:40 -0400 Subject: [AccessD] Freelancing-one off In-Reply-To: <000501cc6b5b$ee74f4e0$cb5edea0$@com.au> References: <20110903070956.Tx9u1h01u0xgD8Z01x9vx2@bne3-0001mz.server-mail.com> <000501cc6b5b$ee74f4e0$cb5edea0$@com.au> Message-ID: <004901cc6bd7$f80b90f0$e822b2d0$@net> I think you are right.... http://en.wikipedia.org/wiki/Virgin_Records > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Darryl Collins > Sent: Sunday, September 04, 2011 7:40 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Freelancing-one off > > Tubular Bells was what really got Virgin Music out of the basement and > on > the map... > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Saturday, 3 September 2011 7:07 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Freelancing-one off > > > First; You will never make many money building one-off products for a > > client. Building and marketing a product multiple times is much more > > cost effective. > > Yet this is what has been required of me in all of my "stinkers". > > I once created an add-in type of product (over 12 years ago) and it was > somewhat of a failure > until I had one huge, multilicense sale that brought in a huge amount > of > revenue. Suddenly, it was successful ! > This is very similar to what had happened with Richard Branson when he > started Virgin Records.... > It was failing and then he signed Phil Collins and Boy George.....and > in the > end, he sold the company for > 1 billion !!! > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 5 10:56:55 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 05 Sep 2011 11:56:55 -0400 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: <003f01cc69a5$8bf4d360$a3de7a20$@comcast.net> References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> <003f01cc69a5$8bf4d360$a3de7a20$@comcast.net> Message-ID: <69E2F4283C704DEAAA23A2729C8FA20D@XPS> I take a slightly different attitude; you wasted my time and if that's what you want to do fine, you get a bill either way. When you bill by the hour, it's amazing how little time gets wasted. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, September 02, 2011 03:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] freelancing job sites (OT Reply) Since I charge user license fees (in place of Maintenance fees) I don't fire clients. I change the parameters of how I'll work with them, but I don't threaten to leave. For example, at one meeting a DBA 'took over' the meeting, hadn't read the material I had sent out to begin with, and wasted an hour of 6 people's time. Not to mention two hours driving for me. I sent my contacts an email stating that I would not work with or meet with that person again, and they never asked me to. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, September 02, 2011 1:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites (OT Reply) A critical skill in the freelancing world is learning how to fire customers. The moment they become a PITA is the time to fire them. This includes outrageous demands (can't you just make it do this too, for free?) to late payments to aggravating meetings. Call me a curmudgeon but I don't have enough time left on this planet to deal with such crap. The first moment I see a bad sign, I fire the client. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dbdoug at gmail.com Mon Sep 5 11:19:30 2011 From: dbdoug at gmail.com (Doug Steele) Date: Mon, 5 Sep 2011 09:19:30 -0700 Subject: [AccessD] Access date problem Message-ID: Hello All: I have some code which depends on the weekday number. On all computers except for one of my client's, it runs OK. The computers are a mixed bag of Access 2003, 2010 and Windows 7 and Vista. On the 'bad' computer, everything is off by one day. Debugging on this computer gives '7' as the result of Weekday("9/4/2011") - a Sunday. According to Access help, the default for Sunday is 1. I've checked the Windows 7 Regional and Language settings on this computer and 'Sunday' is set as the first day of the week. So Access and Windows are different. I can't find a setting in Access to change this, and nothing on the Web. But it must be some kind of configuration setup - does anyone have a suggestion? Thanks, Doug From jwcolby at colbyconsulting.com Mon Sep 5 12:30:01 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 05 Sep 2011 13:30:01 -0400 Subject: [AccessD] SQL Server compression Message-ID: <4E650719.7020301@colbyconsulting.com> The other day I populated the second socket of my (AMD) server with another 8 core chip. With cores to spare I decided to give compression a whirl. I am finding a lot of stuff out there now saying that it reduces the I/O a ton and that if you are not cpu limited then it makes the database faster because more stuff fits into memory. Basically the objective is to get as much of the stuff that is being actively used to stay resident in memory. One immediate benefit is that it cuts the total size of my databases on disk roughly in half. This is a good thing because I keep the major players on SSD which is expensive. Keeping them compressed means that I have more room on the SSD. When I got into this business in October 2004 I had servers with AMD single core 3.8 ghz and 4 gigs or RAM running x32 windows and sql server. I was trying to run count queries on 100 gb databases and while it worked, it was... not fast. I would run counts that took a half hour. Through knowledge acquired on these lists I rebuilt my database tables, learned indexing, and made the databases much more efficient. Seven years later I have 16 cores and 32 gigs RAM running X64 windows and SQL server. A year ago I bought 32 gigs of DDR3 1300 registered ECC ram for $1000. Today I ordered another 32 gigs for $400. It is incredible to me that using brute force and ignorance, I can now keep multiple largish databases entirely in memory. While I have no benchmarks recorded to compare yesteryear to today, I am doing things in minutes or even seconds that would have taken me a half hour or even hours seven years ago. These are exciting times. BTW I found something called GeekBench which I ran on my machine. It is the only thing I have found that is a reasonable cost ($13) to give me numbers to compare to others. My Geekbench number is ~13,500, and it pointed out to me that I am currently running the server with 1/2 of the memory "bandwidth" I could be getting (the biggest reason I am adding more). I had 4 DIMMS and a single processor. The processor has a 4 port memory controller. When I added the new processor I redistributed the memory so that each chip had 1/2 of the memory (2 dimms) but in doing so I "crippled" the memory controller. The price of memory is dropping like a rock so now seems like a good time to top up. It will be interesting to see what filling out the memory controller does to the numbers. I "retired" my previous server to be my VM server, and it just occurred to me that I can run Geekbench on that to get a comparison of my previous server against my current server. My previous server is an AMD quad core with 16 gigs of RAM and the geekbench on that is 7469. -- John W. Colby www.ColbyConsulting.com From charlotte.foust at gmail.com Mon Sep 5 13:35:00 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 5 Sep 2011 11:35:00 -0700 Subject: [AccessD] Access date problem In-Reply-To: References: Message-ID: It's set in vba using the Weekday function and specifying the optional firstdayofweek argument. If you just modify your code to include vbSunday, you should get the desired result. Have you tried that? Charlotte Foust On Mon, Sep 5, 2011 at 9:19 AM, Doug Steele wrote: > Hello All: > > I have some code which depends on the weekday number. On all computers > except for one of my client's, it runs OK. The computers are a mixed bag > of > Access 2003, 2010 and Windows 7 and Vista. > > On the 'bad' computer, everything is off by one day. Debugging on this > computer gives '7' as the result of Weekday("9/4/2011") - a Sunday. > According to Access help, the default for Sunday is 1. I've checked the > Windows 7 Regional and Language settings on this computer and 'Sunday' is > set as the first day of the week. So Access and Windows are different. > > I can't find a setting in Access to change this, and nothing on the Web. > But it must be some kind of configuration setup - does anyone have a > suggestion? > > Thanks, > Doug > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From stephen at bondsoftware.co.nz Mon Sep 5 14:54:46 2011 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Tue, 06 Sep 2011 07:54:46 +1200 Subject: [AccessD] SQL Server advice Message-ID: After mucking around on the fringes for too long I am ready to make a more committed leap into SQL Server. I can foresee a customer needing to upgrade their Access back end within the next six months to a year and want to get 'expertly' ahead . I have a fully licenced 2000 Standard edition (acquired with an Action Pack in the days when MS New Zealand charged a one-time fee for Action Packs) on a 10-year-old WinXP box (?GB) and I am comfortable with this at the 'play' level. On a year-old Windows 7 box with 4GB, my question concerns which tool to use, the above ... or SQL Server 2008 R2 Express? The downsides that I can see of Express 2008 would be (a) another learning curve (b) the nagging feeling that I remember something about these less-than-complete SQL Server implementations that is not good - like inability to do important development stuff that is available in the full-blown models. This, iirc, was true for one of MS's implementations, long ago. The upside is that I make the enormous leap into another century. But wait, there's got to be more (to both -ve and +ve). Any feedback gratefully received. Stephen Bond PS - I'm a bit like Arthur (same age and increasingly pursuing other interests), so we're not talking long-term large commitments here (financial or long learning curve). From jwcolby at colbyconsulting.com Mon Sep 5 15:30:58 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 05 Sep 2011 16:30:58 -0400 Subject: [AccessD] SQL Server advice In-Reply-To: References: Message-ID: <4E653182.9030905@colbyconsulting.com> Stephen, > I have a fully licensed 2000 Standard edition (acquired with an Action Pack in the days when MS New Zealand charged a one-time fee for Action Packs) on a 10-year-old WinXP box (?GB) Way under powered. It will run (barely) but you won't be happy. SQL Server of any kind is a somewhat major learning curve. You can just set up and go but then... The express version is quite powerful for what it is but it has major limitations such as a single core and a gig of ram. I have discovered that if you are hitting the limits of Access then you may already be at the limits of express. It will be fine for getting in the water so to speak but it is missing stuff. I thought I was going to use it for a client of mine but when I looked closely it just wasn't powerful enough. OTOH my client has nursed his access system way beyond reason and now has 25 users and around 4-5 gigs of data. We are now looking at a pretty expensive upgrade to full on SQL Server. Once you do a new server (hardware) with 25 seats on the OS and 25 seats on SQL Server you are looking at > $10K, and probably closer to $15K. That said, you then have power to take you through the next 5-10 years. > PS - I'm a bit like Arthur (same age and increasingly pursuing other interests), so we're not talking long-term large commitments here (financial or long learning curve). Uhh... this just means that you only have 20 years of work life left right? ;) John W. Colby www.ColbyConsulting.com On 9/5/2011 3:54 PM, Stephen Bond wrote: > After mucking around on the fringes for too long I am ready to make a more committed leap into SQL Server. I can foresee a customer needing to upgrade their Access back end within the next six months to a year and want to get 'expertly' ahead. > I have a fully licenced 2000 Standard edition (acquired with an Action Pack in the days when MS New Zealand charged a one-time fee for Action Packs) on a 10-year-old WinXP box (?GB) and I am comfortable with this at the 'play' level. > > On a year-old Windows 7 box with 4GB, my question concerns which tool to use, the above ... or SQL Server 2008 R2 Express? The downsides that I can see of Express 2008 would be (a) another learning curve (b) the nagging feeling that I remember something about these less-than-complete SQL Server implementations that is not good - like inability to do important development stuff that is available in the full-blown models. This, iirc, was true for one of MS's implementations, long ago. The upside is that I make the enormous leap into another century. But wait, there's got to be more (to both -ve and +ve). > > Any feedback gratefully received. > > Stephen Bond > > PS - I'm a bit like Arthur (same age and increasingly pursuing other interests), so we're not talking long-term large commitments here (financial or long learning curve). > From dbdoug at gmail.com Mon Sep 5 16:12:37 2011 From: dbdoug at gmail.com (Doug Steele) Date: Mon, 5 Sep 2011 14:12:37 -0700 Subject: [AccessD] Access date problem In-Reply-To: References: Message-ID: Hi Charlotte: Changing all instances of the Weekday function to include vbSunday as the second parameter did fix the problem. I'm still curious, however, why one computer in particular would have vbMonday set as the first day of the week contrary to the Access documentation. Doug On Mon, Sep 5, 2011 at 11:35 AM, Charlotte Foust wrote: > It's set in vba using the Weekday function and specifying the optional > firstdayofweek argument. If you just modify your code to include vbSunday, > you should get the desired result. Have you tried that? > > Charlotte Foust > > On Mon, Sep 5, 2011 at 9:19 AM, Doug Steele wrote: > > > Hello All: > > > > I have some code which depends on the weekday number. On all computers > > except for one of my client's, it runs OK. The computers are a mixed bag > > of > > Access 2003, 2010 and Windows 7 and Vista. > > > > On the 'bad' computer, everything is off by one day. Debugging on this > > computer gives '7' as the result of Weekday("9/4/2011") - a Sunday. > > According to Access help, the default for Sunday is 1. I've checked the > > Windows 7 Regional and Language settings on this computer and 'Sunday' is > > set as the first day of the week. So Access and Windows are different. > > > > I can't find a setting in Access to change this, and nothing on the Web. > > But it must be some kind of configuration setup - does anyone have a > > suggestion? > > > > 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 charlotte.foust at gmail.com Mon Sep 5 16:25:48 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 5 Sep 2011 14:25:48 -0700 Subject: [AccessD] Access date problem In-Reply-To: References: Message-ID: Haven't a clue, but you might want to check the time settings on that machine to see if the timestamps are off by 12 hours. Charlotte Foust On Mon, Sep 5, 2011 at 2:12 PM, Doug Steele wrote: > Hi Charlotte: > Changing all instances of the Weekday function to include vbSunday as the > second parameter did fix the problem. I'm still curious, however, why one > computer in particular would have vbMonday set as the first day of the week > contrary to the Access documentation. > > Doug > > > On Mon, Sep 5, 2011 at 11:35 AM, Charlotte Foust > wrote: > > > It's set in vba using the Weekday function and specifying the optional > > firstdayofweek argument. If you just modify your code to include > vbSunday, > > you should get the desired result. Have you tried that? > > > > Charlotte Foust > > > > On Mon, Sep 5, 2011 at 9:19 AM, Doug Steele wrote: > > > > > Hello All: > > > > > > I have some code which depends on the weekday number. On all computers > > > except for one of my client's, it runs OK. The computers are a mixed > bag > > > of > > > Access 2003, 2010 and Windows 7 and Vista. > > > > > > On the 'bad' computer, everything is off by one day. Debugging on this > > > computer gives '7' as the result of Weekday("9/4/2011") - a Sunday. > > > According to Access help, the default for Sunday is 1. I've checked > the > > > Windows 7 Regional and Language settings on this computer and 'Sunday' > is > > > set as the first day of the week. So Access and Windows are different. > > > > > > I can't find a setting in Access to change this, and nothing on the > Web. > > > But it must be some kind of configuration setup - does anyone have a > > > suggestion? > > > > > > 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 > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From ssharkins at gmail.com Mon Sep 5 18:00:57 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 5 Sep 2011 19:00:57 -0400 Subject: [AccessD] SQL Server advice References: Message-ID: <85D3AD6237B74727A3876A613CB2476F@SusanHarkins> On a year-old Windows 7 box with 4GB, my question concerns which tool to use, the above ... or SQL Server 2008 R2 Express? The downsides that I can see of Express 2008 would be (a) another learning curve (b) the nagging feeling that I remember something about these less-than-complete SQL Server implementations that is not good - like inability to do important development stuff that is available in the full-blown models. This, iirc, was true for one of MS's implementations, long ago. The upside is that I make the enormous leap into another century. But wait, there's got to be more (to both -ve and +ve). Any feedback gratefully received. =======I'd go with the more recent version of Express -- if you're already familiar with SQL Server, it won't be significant. Susan H. From stephen at bondsoftware.co.nz Tue Sep 6 00:42:03 2011 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Tue, 06 Sep 2011 17:42:03 +1200 Subject: [AccessD] SQL Server advice In-Reply-To: <63403747290942CF848F636F67DF3A1A@BondSoftware.local> References: <63403747290942CF848F636F67DF3A1A@BondSoftware.local> Message-ID: So, John, would the following scenario still fly? ... as far as getting out of the shallow end, I could install the 2000 version on my Win7 box. No cost so far. I have a good beginner's knowledge of 2000 from much 'playing around' and lots of documentation on hand including the MS training curriculum and a good SP textbook. Use this to do serious work converting the customer's queries to SPs, getting me up to speed for the day the several gigs of data (and growing each month - it is a milk production system feeding into genetic analysis) needs the customer to buy a bigger engine to process. At which point I get serious, upgrade myself to Express or bigger, and the customer to whatever he can afford .......... And I forget the WinXP box, 2000 is on it, but never used for anything in anger, just a little toybox for me to play like I knew what I was doing. Or am I totally wasting my time with 2000 on any computer? And I amend the PS ... long learning curve is OK (I've got 20 years right?), but big financial outlay not. Stephen Bond -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, 6 September 2011 8:46 a.m. To: Stephen Subject: Re: [AccessD] SQL Server advice Stephen, > I have a fully licensed 2000 Standard edition (acquired with an Action Pack in the days when MS New Zealand charged a one-time fee for Action Packs) on a 10-year-old WinXP box (?GB) Way under powered. It will run (barely) but you won't be happy. SQL Server of any kind is a somewhat major learning curve. You can just set up and go but then... The express version is quite powerful for what it is but it has major limitations such as a single core and a gig of ram. I have discovered that if you are hitting the limits of Access then you may already be at the limits of express. It will be fine for getting in the water so to speak but it is missing stuff. I thought I was going to use it for a client of mine but when I looked closely it just wasn't powerful enough. OTOH my client has nursed his access system way beyond reason and now has 25 users and around 4-5 gigs of data. We are now looking at a pretty expensive upgrade to full on SQL Server. Once you do a new server (hardware) with 25 seats on the OS and 25 seats on SQL Server you are looking at > $10K, and probably closer to $15K. That said, you then have power to take you through the next 5-10 years. > PS - I'm a bit like Arthur (same age and increasingly pursuing other interests), so we're not talking long-term large commitments here (financial or long learning curve). Uhh... this just means that you only have 20 years of work life left right? ;) John W. Colby www.ColbyConsulting.com On 9/5/2011 3:54 PM, Stephen Bond wrote: > After mucking around on the fringes for too long I am ready to make a more committed leap into SQL Server. I can foresee a customer needing to upgrade their Access back end within the next six months to a year and want to get 'expertly' ahead. > I have a fully licenced 2000 Standard edition (acquired with an Action Pack in the days when MS New Zealand charged a one-time fee for Action Packs) on a 10-year-old WinXP box (?GB) and I am comfortable with this at the 'play' level. > > On a year-old Windows 7 box with 4GB, my question concerns which tool to use, the above ... or SQL Server 2008 R2 Express? The downsides that I can see of Express 2008 would be (a) another learning curve (b) the nagging feeling that I remember something about these less-than-complete SQL Server implementations that is not good - like inability to do important development stuff that is available in the full-blown models. This, iirc, was true for one of MS's implementations, long ago. The upside is that I make the enormous leap into another century. But wait, there's got to be more (to both -ve and +ve). > > Any feedback gratefully received. > > Stephen Bond > > PS - I'm a bit like Arthur (same age and increasingly pursuing other interests), so we're not talking long-term large commitments here (financial or long learning curve). > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Sep 6 01:17:23 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 06 Sep 2011 08:17:23 +0200 Subject: [AccessD] Access date problem Message-ID: Hi Doug Weekday("9/4/2011") and Weekday(#9/4/2011#) is not the same thing so if that computer doesn't use the "reverse" US date format (mm/dd/yyyy) your expression will read as 2011-04-09. Always use data type date/time for dates in VB(A). /gustav >>> dbdoug at gmail.com 05-09-2011 18:19 >>> Hello All: I have some code which depends on the weekday number. On all computers except for one of my client's, it runs OK. The computers are a mixed bag of Access 2003, 2010 and Windows 7 and Vista. On the 'bad' computer, everything is off by one day. Debugging on this computer gives '7' as the result of Weekday("9/4/2011") - a Sunday. According to Access help, the default for Sunday is 1. I've checked the Windows 7 Regional and Language settings on this computer and 'Sunday' is set as the first day of the week. So Access and Windows are different. I can't find a setting in Access to change this, and nothing on the Web. But it must be some kind of configuration setup - does anyone have a suggestion? Thanks, Doug From fuller.artful at gmail.com Tue Sep 6 05:26:10 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 6 Sep 2011 06:26:10 -0400 Subject: [AccessD] SQL Server advice In-Reply-To: References: <63403747290942CF848F636F67DF3A1A@BondSoftware.local> Message-ID: You would be totally wasting your time with SQL 2000. Why begin your learning 2 versions behind? And within 6 months, you'd be 3 versions behind (Denali will be released by then). Since you have a six-month window, my advice would be to install SQL 2008 Express on a Windows 7 box with about 4 gigs of RAM. For diving into SQL Server, this would be a sufficient learning machine. As JC wrote, you won't get all the benefits of a serious machine, but it's not for you anyway, it's for the client to decide whether to pick up that cost. Everything you learn on Express is directly applicable to upscale versions. Granted, there are a few things you won't be able to learn (clustered dbs, for example), but if you make it through the major stuff (Management Studio, T-SQL, views, stored procedures, User Defined Functions, Reporting Services and Analysis Services), what remains to learn won't take long. Arthur From jwcolby at colbyconsulting.com Tue Sep 6 05:29:03 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 06 Sep 2011 06:29:03 -0400 Subject: [AccessD] SQL Server advice In-Reply-To: References: <63403747290942CF848F636F67DF3A1A@BondSoftware.local> Message-ID: <4E65F5EF.80202@colbyconsulting.com> That'll work. SQL Server 2003 is missing some tsql syntax that was added later but if you don't need that then you will not miss it. John W. Colby www.ColbyConsulting.com On 9/6/2011 1:42 AM, Stephen Bond wrote: > So, John, would the following scenario still fly? ... as far as getting out of the shallow end, I could install the 2000 version on my Win7 box. No cost so far. I have a good beginner's knowledge of 2000 from much 'playing around' and lots of documentation on hand including the MS training curriculum and a good SP textbook. Use this to do serious work converting the customer's queries to SPs, getting me up to speed for the day the several gigs of data (and growing each month - it is a milk production system feeding into genetic analysis) needs the customer to buy a bigger engine to process. At which point I get serious, upgrade myself to Express or bigger, and the customer to whatever he can afford .......... > > And I forget the WinXP box, 2000 is on it, but never used for anything in anger, just a little toybox for me to play like I knew what I was doing. > > Or am I totally wasting my time with 2000 on any computer? > > And I amend the PS ... long learning curve is OK (I've got 20 years right?), but big financial outlay not. > > Stephen Bond > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, 6 September 2011 8:46 a.m. > To: Stephen > Subject: Re: [AccessD] SQL Server advice > > Stephen, > > > I have a fully licensed 2000 Standard edition (acquired with an Action Pack in the days when MS > New Zealand charged a one-time fee for Action Packs) on a 10-year-old WinXP box (?GB) > > Way under powered. It will run (barely) but you won't be happy. > > SQL Server of any kind is a somewhat major learning curve. You can just set up and go but then... > > The express version is quite powerful for what it is but it has major limitations such as a single > core and a gig of ram. I have discovered that if you are hitting the limits of Access then you may > already be at the limits of express. It will be fine for getting in the water so to speak but it is > missing stuff. > > I thought I was going to use it for a client of mine but when I looked closely it just wasn't > powerful enough. OTOH my client has nursed his access system way beyond reason and now has 25 users > and around 4-5 gigs of data. We are now looking at a pretty expensive upgrade to full on SQL > Server. Once you do a new server (hardware) with 25 seats on the OS and 25 seats on SQL Server you > are looking at> $10K, and probably closer to $15K. That said, you then have power to take you > through the next 5-10 years. > > > PS - I'm a bit like Arthur (same age and increasingly pursuing other interests), so we're not > talking long-term large commitments here (financial or long learning curve). > > Uhh... this just means that you only have 20 years of work life left right? ;) > > John W. Colby > www.ColbyConsulting.com > > On 9/5/2011 3:54 PM, Stephen Bond wrote: >> After mucking around on the fringes for too long I am ready to make a more committed leap into SQL Server. I can foresee a customer needing to upgrade their Access back end within the next six months to a year and want to get 'expertly' ahead. >> I have a fully licenced 2000 Standard edition (acquired with an Action Pack in the days when MS New Zealand charged a one-time fee for Action Packs) on a 10-year-old WinXP box (?GB) and I am comfortable with this at the 'play' level. >> >> On a year-old Windows 7 box with 4GB, my question concerns which tool to use, the above ... or SQL Server 2008 R2 Express? The downsides that I can see of Express 2008 would be (a) another learning curve (b) the nagging feeling that I remember something about these less-than-complete SQL Server implementations that is not good - like inability to do important development stuff that is available in the full-blown models. This, iirc, was true for one of MS's implementations, long ago. The upside is that I make the enormous leap into another century. But wait, there's got to be more (to both -ve and +ve). >> >> Any feedback gratefully received. >> >> Stephen Bond >> >> PS - I'm a bit like Arthur (same age and increasingly pursuing other interests), so we're not talking long-term large commitments here (financial or long learning curve). >> From jwcolby at colbyconsulting.com Tue Sep 6 05:53:18 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 06 Sep 2011 06:53:18 -0400 Subject: [AccessD] SQL Server advice In-Reply-To: <4E65F5EF.80202@colbyconsulting.com> References: <63403747290942CF848F636F67DF3A1A@BondSoftware.local> <4E65F5EF.80202@colbyconsulting.com> Message-ID: <4E65FB9E.8020909@colbyconsulting.com> >Server 2003 is missing some tsql syntax I meant to say TSQL 2000 I do agree with Arthur however, you would be well served to just go with 2008. 2000 is very old. John W. Colby www.ColbyConsulting.com On 9/6/2011 6:29 AM, jwcolby wrote: > That'll work. SQL Server 2003 is missing some tsql syntax that was added later but if you don't need > that then you will not miss it. > > John W. Colby > www.ColbyConsulting.com > > On 9/6/2011 1:42 AM, Stephen Bond wrote: >> So, John, would the following scenario still fly? ... as far as getting out of the shallow end, I >> could install the 2000 version on my Win7 box. No cost so far. I have a good beginner's knowledge >> of 2000 from much 'playing around' and lots of documentation on hand including the MS training >> curriculum and a good SP textbook. Use this to do serious work converting the customer's queries >> to SPs, getting me up to speed for the day the several gigs of data (and growing each month - it >> is a milk production system feeding into genetic analysis) needs the customer to buy a bigger >> engine to process. At which point I get serious, upgrade myself to Express or bigger, and the >> customer to whatever he can afford .......... >> >> And I forget the WinXP box, 2000 is on it, but never used for anything in anger, just a little >> toybox for me to play like I knew what I was doing. >> >> Or am I totally wasting my time with 2000 on any computer? >> >> And I amend the PS ... long learning curve is OK (I've got 20 years right?), but big financial >> outlay not. >> >> Stephen Bond >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf >> Of jwcolby >> Sent: Tuesday, 6 September 2011 8:46 a.m. >> To: Stephen >> Subject: Re: [AccessD] SQL Server advice >> >> Stephen, >> >> > I have a fully licensed 2000 Standard edition (acquired with an Action Pack in the days when MS >> New Zealand charged a one-time fee for Action Packs) on a 10-year-old WinXP box (?GB) >> >> Way under powered. It will run (barely) but you won't be happy. >> >> SQL Server of any kind is a somewhat major learning curve. You can just set up and go but then... >> >> The express version is quite powerful for what it is but it has major limitations such as a single >> core and a gig of ram. I have discovered that if you are hitting the limits of Access then you may >> already be at the limits of express. It will be fine for getting in the water so to speak but it is >> missing stuff. >> >> I thought I was going to use it for a client of mine but when I looked closely it just wasn't >> powerful enough. OTOH my client has nursed his access system way beyond reason and now has 25 users >> and around 4-5 gigs of data. We are now looking at a pretty expensive upgrade to full on SQL >> Server. Once you do a new server (hardware) with 25 seats on the OS and 25 seats on SQL Server you >> are looking at> $10K, and probably closer to $15K. That said, you then have power to take you >> through the next 5-10 years. >> >> > PS - I'm a bit like Arthur (same age and increasingly pursuing other interests), so we're not >> talking long-term large commitments here (financial or long learning curve). >> >> Uhh... this just means that you only have 20 years of work life left right? ;) >> >> John W. Colby >> www.ColbyConsulting.com >> >> On 9/5/2011 3:54 PM, Stephen Bond wrote: >>> After mucking around on the fringes for too long I am ready to make a more committed leap into >>> SQL Server. I can foresee a customer needing to upgrade their Access back end within the next six >>> months to a year and want to get 'expertly' ahead. >>> I have a fully licenced 2000 Standard edition (acquired with an Action Pack in the days when MS >>> New Zealand charged a one-time fee for Action Packs) on a 10-year-old WinXP box (?GB) and I am >>> comfortable with this at the 'play' level. >>> >>> On a year-old Windows 7 box with 4GB, my question concerns which tool to use, the above ... or >>> SQL Server 2008 R2 Express? The downsides that I can see of Express 2008 would be (a) another >>> learning curve (b) the nagging feeling that I remember something about these less-than-complete >>> SQL Server implementations that is not good - like inability to do important development stuff >>> that is available in the full-blown models. This, iirc, was true for one of MS's implementations, >>> long ago. The upside is that I make the enormous leap into another century. But wait, there's got >>> to be more (to both -ve and +ve). >>> >>> Any feedback gratefully received. >>> >>> Stephen Bond >>> >>> PS - I'm a bit like Arthur (same age and increasingly pursuing other interests), so we're not >>> talking long-term large commitments here (financial or long learning curve). >>> From jwcolby at colbyconsulting.com Tue Sep 6 12:12:44 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 06 Sep 2011 13:12:44 -0400 Subject: [AccessD] Google and you Message-ID: <4E66548C.6090400@colbyconsulting.com> http://www.linkedin.com/news?actionBar=&articleID=751340935&ids=0Rd30Qd3oNdjsIcPASdzgRcjkTb3kPej0QcP4RdOMMe3oPe34PdjsIdPwTd3sVczkT&aag=true&freq=weekly&trk=eml-tod-b-ttle-4&ut=3APSkFFU2qw4U1 -- John W. Colby www.ColbyConsulting.com From marksimms at verizon.net Tue Sep 6 12:32:29 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 06 Sep 2011 13:32:29 -0400 Subject: [AccessD] SQL Server advice In-Reply-To: <4E65FB9E.8020909@colbyconsulting.com> References: <63403747290942CF848F636F67DF3A1A@BondSoftware.local> <4E65F5EF.80202@colbyconsulting.com> <4E65FB9E.8020909@colbyconsulting.com> Message-ID: <000001cc6cba$f4881e60$dd985b20$@net> > > I do agree with Arthur however, you would be well served to just go > with 2008. 2000 is very old. > That being said....I was at one shop....and they were paranoid to upgrade even to 2005 because of potential performance degradation. IOW: that ancient release was kind of lean-and-mean for the hardware they were running. With hardware so cheap today...no excuse not to "move up". From jwcolby at colbyconsulting.com Tue Sep 6 13:23:25 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 06 Sep 2011 14:23:25 -0400 Subject: [AccessD] SQL Server advice In-Reply-To: <000001cc6cba$f4881e60$dd985b20$@net> References: <63403747290942CF848F636F67DF3A1A@BondSoftware.local> <4E65F5EF.80202@colbyconsulting.com> <4E65FB9E.8020909@colbyconsulting.com> <000001cc6cba$f4881e60$dd985b20$@net> Message-ID: <4E66651D.1010503@colbyconsulting.com> LOL, that ancient release is lean and mean. It was designed to run on the platform of the day which was 32 bit, slow processors and 4 gigs of ram max. An interesting history lesson. http://blogs.msdn.com/b/euanga/archive/2006/01/19/514479.aspx We now have 64 bit processors, OSes and SQL Server. > With hardware so cheap today...no excuse not to "move up". Which I am in complete agreement. I am a 1.36 man show, and yet I have a rockin system. I am a developer and as such have access to the action pack which in this specific area is an enormous plus. Still, I do mostly have to buy my own hardware. My strategy was simply to build something and use it, then upgrade and keep the old parts, using them on other systems. At this point I have a dual socket motherboard, dual processors (16 total cores) and 64 gigs of ram. Just that part costs (today) about $1800. While that isn't chump change, plenty of rich kids spend that on their super duper Intel processor and a video card for gaming. My server supports SQL Server in a style that helps the work get done quickly. My client has 25 people in the database, they pay probably 40K or more a *month* in salary for those users. From my perspective it is insane to quibble about a one time cost of $20K (good for at least 5 years) to buy a power server to run the data side of that business. 4K a year to support 25 employees costing you a half million a year in salary is a pretty darned good deal. I actually spend about 4K a year just to support my 1.36 person company, and I consider that a good deal. John W. Colby www.ColbyConsulting.com On 9/6/2011 1:32 PM, Mark Simms wrote: >> >> I do agree with Arthur however, you would be well served to just go >> with 2008. 2000 is very old. >> > That being said....I was at one shop....and they were paranoid to upgrade > even to 2005 because of potential performance degradation. > IOW: that ancient release was kind of lean-and-mean for the hardware they > were running. > With hardware so cheap today...no excuse not to "move up". > > > From john at winhaven.net Tue Sep 6 13:25:43 2011 From: john at winhaven.net (John Bartow) Date: Tue, 6 Sep 2011 13:25:43 -0500 Subject: [AccessD] Google and you In-Reply-To: <4E66548C.6090400@colbyconsulting.com> References: <4E66548C.6090400@colbyconsulting.com> Message-ID: <030a01cc6cc2$63cb39e0$2b61ada0$@winhaven.net> Welcome to the "cloud". -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 06, 2011 12:13 PM To: Access Developers discussion and problem solving Subject: [AccessD] Google and you http://www.linkedin.com/news?actionBar=&articleID=751340935&ids=0Rd30Qd3oNdj sIcPASdzgRcjkTb3kPej0QcP4RdOMMe3oPe34PdjsIdPwTd3sVczkT&aag=true&freq=weekly& trk=eml-tod-b-ttle-4&ut=3APSkFFU2qw4U1 -- John W. Colby www.ColbyConsulting.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 Sep 6 13:58:24 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 6 Sep 2011 11:58:24 -0700 Subject: [AccessD] SQL Server advice In-Reply-To: References: Message-ID: <7DA414D02EB544E08C55B1A904F85CEC@creativesystemdesigns.com> Hi Steve: To really get up to speed fast sell a project or make one of your own. Your current computers are limited, the MS SQL is out of date and you need a new server2008. Cost; are you can buy some MS SQL/Server 2008 as well as hardware off EBay. A friend bought a older noisy server off EBay, 8GB RAM, built in RAID with 7 350GB HD, for about $350.00...It has been running fine for a year so it was a good deal. If you want the latest MS software, it will cost about $1200 minimum and $2000 for the premium TechNet addition. The minimum version has all the Servers, Office products and MS SQL versions. The premium edition also includes all the development packages. (VS/VS Lightswitch etc.) If the budget is limited, there are free express versions of MS SQL and VS. They do not have all the bell-and-whistles but their features are impressive. If you simply must have the full versions, you can download and use them for 60 to 90 day free-trial. There also is some other pricing specifically for developers but I am not familiar with process or the programs and some on the DBA will know the details. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stephen Bond Sent: Monday, September 05, 2011 12:55 PM To: Access Developers discussion and problem solving Subject: [AccessD] SQL Server advice After mucking around on the fringes for too long I am ready to make a more committed leap into SQL Server. I can foresee a customer needing to upgrade their Access back end within the next six months to a year and want to get 'expertly' ahead . I have a fully licenced 2000 Standard edition (acquired with an Action Pack in the days when MS New Zealand charged a one-time fee for Action Packs) on a 10-year-old WinXP box (?GB) and I am comfortable with this at the 'play' level. On a year-old Windows 7 box with 4GB, my question concerns which tool to use, the above ... or SQL Server 2008 R2 Express? The downsides that I can see of Express 2008 would be (a) another learning curve (b) the nagging feeling that I remember something about these less-than-complete SQL Server implementations that is not good - like inability to do important development stuff that is available in the full-blown models. This, iirc, was true for one of MS's implementations, long ago. The upside is that I make the enormous leap into another century. But wait, there's got to be more (to both -ve and +ve). Any feedback gratefully received. Stephen Bond PS - I'm a bit like Arthur (same age and increasingly pursuing other interests), so we're not talking long-term large commitments here (financial or long learning curve). -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Tue Sep 6 14:10:38 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 6 Sep 2011 12:10:38 -0700 Subject: [AccessD] Google and you In-Reply-To: <4E66548C.6090400@colbyconsulting.com> References: <4E66548C.6090400@colbyconsulting.com> Message-ID: Now we are the product. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 06, 2011 10:13 AM To: Access Developers discussion and problem solving Subject: [AccessD] Google and you http://www.linkedin.com/news?actionBar=&articleID=751340935&ids=0Rd30Qd3oNdj sIcPASdzgRcjkTb3kPej0QcP4RdOMMe3oPe34PdjsIdPwTd3sVczkT&aag=true&freq=weekly& trk=eml-tod-b-ttle-4&ut=3APSkFFU2qw4U1 -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From EdTesiny at oasas.ny.gov Tue Sep 6 14:16:18 2011 From: EdTesiny at oasas.ny.gov (Tesiny, Ed) Date: Tue, 6 Sep 2011 15:16:18 -0400 Subject: [AccessD] IIF Function Message-ID: Hi All, I have the following IIF statement in a query: LureenRev1: IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date]<3 And [Lureen_Reviewed]<>2),"OK","Followup") RssApplicationApproved 06/17/2011 (Date) Lureen_Reviewed_Date 06/16/2011 (Date) Lureen_Reviewed 2 (long integer) The statement returns OK Could someone tell me what's wrong with it, I can't see what's wrong. TIA, Ed Edward P. Tesiny Director of Evaluation and Outcomes Management New York State OASAS 1450 Western Avenue Albany, NY 12203 Phone: (518) 485-2322 Fax: (518) 485-5228 EdTesiny at oasas.ny.gov IMPORTANT: This E-mail may contain confidential material for the sole use of the intended recipient. The use, distribution, transmittal or re-transmittal by an unintended recipient of any communication is prohibited without our express approval in writing or by e-mail. Any use, distribution, transmittal or re-transmittal by persons who are not intended recipients of this e-mail may be a violation of law and is strictly prohibited. If you are not the intended recipient please contact the sender and delete all copies. E-mail transmission cannot be guaranteed to be secure or error-free. The sender therefore does not accept liability for any errors or omissions in the contents of this transmission. All e-mails sent to or from NYS OASAS are to be used for our business purposes only. E-mails sent from or to NYS OASAS are subject to review by the Agency. From paul.hartland at googlemail.com Tue Sep 6 14:22:29 2011 From: paul.hartland at googlemail.com (Paul Hartland) Date: Tue, 6 Sep 2011 20:22:29 +0100 Subject: [AccessD] IIF Function In-Reply-To: References: Message-ID: Ed, Not sure if you have made a typo but shouldnt your code; LureenRev1: IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date]<3 And [Lureen_Reviewed]<>2),"OK","Followup") Be LureenRev1: IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date])<3 And [Lureen_Reviewed]<>2,"OK","Followup") i.e. the bracket after the <>2 in your code moved to after the [Lureen_Reviewed_Date] in the datediff code ? Paul On 6 September 2011 20:16, Tesiny, Ed wrote: > Hi All, > > I have the following IIF statement in a query: > > > > LureenRev1: > IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date]<3 And > [Lureen_Reviewed]<>2),"OK","Followup") > > > > RssApplicationApproved 06/17/2011 (Date) > > Lureen_Reviewed_Date 06/16/2011 (Date) > > Lureen_Reviewed 2 (long integer) > > > > The statement returns OK > > > > Could someone tell me what's wrong with it, I can't see what's wrong. > > TIA, > > Ed > > > > Edward P. Tesiny > > Director of Evaluation and Outcomes Management > > New York State OASAS > > 1450 Western Avenue > > Albany, NY 12203 > > Phone: (518) 485-2322 > > Fax: (518) 485-5228 > > EdTesiny at oasas.ny.gov > > > > IMPORTANT: This E-mail may contain confidential material for the sole > use of the intended recipient. The use, distribution, transmittal or > re-transmittal by an unintended recipient of any communication is > prohibited without our express approval in writing or by e-mail. Any > use, distribution, transmittal or re-transmittal by persons who are not > intended recipients of this e-mail may be a violation of law and is > strictly prohibited. If you are not the intended recipient please > contact the sender and delete all copies. E-mail transmission cannot be > guaranteed to be secure or error-free. The sender therefore does not > accept liability for any errors or omissions in the contents of this > transmission. All e-mails sent to or from NYS OASAS are to be used for > our business purposes only. E-mails sent from or to NYS OASAS are > subject to review by the Agency. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Paul Hartland paul.hartland at googlemail.com From ab-mi at post3.tele.dk Tue Sep 6 14:25:21 2011 From: ab-mi at post3.tele.dk (Asger Blond) Date: Tue, 6 Sep 2011 21:25:21 +0200 Subject: [AccessD] IIF Function In-Reply-To: References: Message-ID: IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date])<3 And [Lureen_Reviewed]<>2,"OK","Followup") Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Tesiny, Ed Sendt: 6. september 2011 21:16 Til: Off Topic; Access Developers discussion and problem solving Emne: [AccessD] IIF Function Hi All, I have the following IIF statement in a query: LureenRev1: IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date]<3 And [Lureen_Reviewed]<>2),"OK","Followup") RssApplicationApproved 06/17/2011 (Date) Lureen_Reviewed_Date 06/16/2011 (Date) Lureen_Reviewed 2 (long integer) The statement returns OK Could someone tell me what's wrong with it, I can't see what's wrong. TIA, Ed Edward P. Tesiny Director of Evaluation and Outcomes Management New York State OASAS 1450 Western Avenue Albany, NY 12203 Phone: (518) 485-2322 Fax: (518) 485-5228 EdTesiny at oasas.ny.gov IMPORTANT: This E-mail may contain confidential material for the sole use of the intended recipient. The use, distribution, transmittal or re-transmittal by an unintended recipient of any communication is prohibited without our express approval in writing or by e-mail. Any use, distribution, transmittal or re-transmittal by persons who are not intended recipients of this e-mail may be a violation of law and is strictly prohibited. If you are not the intended recipient please contact the sender and delete all copies. E-mail transmission cannot be guaranteed to be secure or error-free. The sender therefore does not accept liability for any errors or omissions in the contents of this transmission. All e-mails sent to or from NYS OASAS are to be used for our business purposes only. E-mails sent from or to NYS OASAS are subject to review by the Agency. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jm.hwsn at gmail.com Tue Sep 6 14:30:10 2011 From: jm.hwsn at gmail.com (jm.hwsn) Date: Tue, 6 Sep 2011 14:30:10 -0500 Subject: [AccessD] IIF Function In-Reply-To: References: Message-ID: <4e6674c4.100d960a.6705.0b58@mx.google.com> I believe your statement needs a closing parens after [Lureen_Reviewed_Date] just before the left caret ( < ). So the formula should look like: IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date]) <3 And [Lureen_Reviewed]<>2),"OK","Followup") HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed Sent: Tuesday, September 06, 2011 2:16 PM To: Off Topic; Access Developers discussion and problem solving Subject: [AccessD] IIF Function Hi All, I have the following IIF statement in a query: LureenRev1: IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date]<3 And [Lureen_Reviewed]<>2),"OK","Followup") RssApplicationApproved 06/17/2011 (Date) Lureen_Reviewed_Date 06/16/2011 (Date) Lureen_Reviewed 2 (long integer) The statement returns OK Could someone tell me what's wrong with it, I can't see what's wrong. TIA, Ed Edward P. Tesiny Director of Evaluation and Outcomes Management New York State OASAS 1450 Western Avenue Albany, NY 12203 Phone: (518) 485-2322 Fax: (518) 485-5228 EdTesiny at oasas.ny.gov IMPORTANT: This E-mail may contain confidential material for the sole use of the intended recipient. The use, distribution, transmittal or re-transmittal by an unintended recipient of any communication is prohibited without our express approval in writing or by e-mail. Any use, distribution, transmittal or re-transmittal by persons who are not intended recipients of this e-mail may be a violation of law and is strictly prohibited. If you are not the intended recipient please contact the sender and delete all copies. E-mail transmission cannot be guaranteed to be secure or error-free. The sender therefore does not accept liability for any errors or omissions in the contents of this transmission. All e-mails sent to or from NYS OASAS are to be used for our business purposes only. E-mails sent from or to NYS OASAS are subject to review by the Agency. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From EdTesiny at oasas.ny.gov Tue Sep 6 14:31:17 2011 From: EdTesiny at oasas.ny.gov (Tesiny, Ed) Date: Tue, 6 Sep 2011 15:31:17 -0400 Subject: [AccessD] IIF Function In-Reply-To: References: Message-ID: Paul/Asger, Of course you're right...I hate it when you make a mistake with a ")" Thank you! Ed Tesiny EdTesiny at oasas.ny.gov -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond Sent: Tuesday, September 06, 2011 3:25 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] IIF Function IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date])<3 And [Lureen_Reviewed]<>2,"OK","Followup") Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Tesiny, Ed Sendt: 6. september 2011 21:16 Til: Off Topic; Access Developers discussion and problem solving Emne: [AccessD] IIF Function Hi All, I have the following IIF statement in a query: LureenRev1: IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date]<3 And [Lureen_Reviewed]<>2),"OK","Followup") RssApplicationApproved 06/17/2011 (Date) Lureen_Reviewed_Date 06/16/2011 (Date) Lureen_Reviewed 2 (long integer) The statement returns OK Could someone tell me what's wrong with it, I can't see what's wrong. TIA, Ed Edward P. Tesiny Director of Evaluation and Outcomes Management New York State OASAS 1450 Western Avenue Albany, NY 12203 Phone: (518) 485-2322 Fax: (518) 485-5228 EdTesiny at oasas.ny.gov IMPORTANT: This E-mail may contain confidential material for the sole use of the intended recipient. The use, distribution, transmittal or re-transmittal by an unintended recipient of any communication is prohibited without our express approval in writing or by e-mail. Any use, distribution, transmittal or re-transmittal by persons who are not intended recipients of this e-mail may be a violation of law and is strictly prohibited. If you are not the intended recipient please contact the sender and delete all copies. E-mail transmission cannot be guaranteed to be secure or error-free. The sender therefore does not accept liability for any errors or omissions in the contents of this transmission. All e-mails sent to or from NYS OASAS are to be used for our business purposes only. E-mails sent from or to NYS OASAS are subject to review by the Agency. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 stephen at bondsoftware.co.nz Tue Sep 6 15:07:28 2011 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Wed, 07 Sep 2011 08:07:28 +1200 Subject: [AccessD] SQL Server advice In-Reply-To: References: Message-ID: The list does it again. Not for the first time. John, Arthur, Susan, Mark, Jim - many thanks. SQL Express 2008 it is then for the Win7 box, and I'll leave the SQL2000 on the XP box as a gracefully ageing toy (my very own Model T) Stephen Bond From vbacreations at gmail.com Tue Sep 6 16:44:48 2011 From: vbacreations at gmail.com (William Benson) Date: Tue, 6 Sep 2011 17:44:48 -0400 Subject: [AccessD] IIF Function In-Reply-To: References: Message-ID: But they didn't ... you did! Ha ha ha I crack myself up. No offense, really, I am just in a wacky mood. On Tue, Sep 6, 2011 at 3:31 PM, Tesiny, Ed wrote: > Paul/Asger, > Of course you're right...I hate it when you make a mistake with a ")" > Thank you! > > Ed Tesiny > EdTesiny at oasas.ny.gov > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond > Sent: Tuesday, September 06, 2011 3:25 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] IIF Function > > > IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date])<3 And > [Lureen_Reviewed]<>2,"OK","Followup") > > Asger > > -----Oprindelig meddelelse----- > Fra: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] P? vegne af Tesiny, Ed > Sendt: 6. september 2011 21:16 > Til: Off Topic; Access Developers discussion and problem solving > Emne: [AccessD] IIF Function > > Hi All, > > I have the following IIF statement in a query: > > > > LureenRev1: > IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date]<3 And > [Lureen_Reviewed]<>2),"OK","Followup") > > > > RssApplicationApproved 06/17/2011 (Date) > > Lureen_Reviewed_Date 06/16/2011 (Date) > > Lureen_Reviewed 2 (long integer) > > > > The statement returns OK > > > > Could someone tell me what's wrong with it, I can't see what's wrong. > > TIA, > > Ed > > > > Edward P. Tesiny > > Director of Evaluation and Outcomes Management > > New York State OASAS > > 1450 Western Avenue > > Albany, NY 12203 > > Phone: (518) 485-2322 > > Fax: (518) 485-5228 > > EdTesiny at oasas.ny.gov > > > > IMPORTANT: This E-mail may contain confidential material for the sole > use of the intended recipient. The use, distribution, transmittal or > re-transmittal by an unintended recipient of any communication is > prohibited without our express approval in writing or by e-mail. Any > use, distribution, transmittal or re-transmittal by persons who are not > intended recipients of this e-mail may be a violation of law and is > strictly prohibited. If you are not the intended recipient please > contact the sender and delete all copies. E-mail transmission cannot be > guaranteed to be secure or error-free. The sender therefore does not > accept liability for any errors or omissions in the contents of this > transmission. All e-mails sent to or from NYS OASAS are to be used for > our business purposes only. E-mails sent from or to NYS OASAS are > subject to review by the Agency. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 > -- *Regards,* ** ** *Bill Benson* *VBACreations* ** PS: You've gotten this e-mail *because you matter to me!* From jwcolby at colbyconsulting.com Tue Sep 6 16:45:33 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 06 Sep 2011 17:45:33 -0400 Subject: [AccessD] SQL Server advice In-Reply-To: References: Message-ID: <4E66947D.9080003@colbyconsulting.com> LOL. did you say the win7 box a laptop? If not, throw some more memory on it and migrate the sql server 2000 machine to a vm. The best of both worlds. You can get faster hardware and start / stop it as you need. John W. Colby www.ColbyConsulting.com On 9/6/2011 4:07 PM, Stephen Bond wrote: > The list does it again. > Not for the first time. > John, Arthur, Susan, Mark, Jim - many thanks. > > SQL Express 2008 it is then for the Win7 box, and I'll leave the SQL2000 > on the XP box as a gracefully ageing toy (my very own Model T) > > Stephen Bond > From kismert at gmail.com Tue Sep 6 16:52:13 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Tue, 6 Sep 2011 16:52:13 -0500 Subject: [AccessD] Passing ParamArrays down the line Message-ID: John: It's true: you can't pass a ParamArray to a routine expecting a Variant() or Variant parameter. You have to convert to a Variant array first. You can pass ParamArrays to other routines accepting a ParamArray. But, the initial ParamArray gets nested in element(0) in the ParamArray of the called routine, making the values hard to extract. This routine takes any ParamArray with any level of nesting, and returns the actual values as a plain variant array: ' UnpackParamArray ' ' Unpacks the given ParamArray, and returns it as a Variant array ' * Handles nested ParamArray calls ' * Handles an array passed to a ParamArray ' ' Allows several parameter passing styles: ' 1. ParamArray from another routine -- lowest-level nested array ' 2. Variant Array as only parameter -- " " ' 3. List of values -- returns array containing values given ' (works, but use Array() instead) ' ParamArray Nesting ' * Every time you pass a ParamArray to another routine, it gets nested as ' element 0 in the new ParamArray: ' ' Nest Level Array Structure ' --------------------------------------------------------------------------- ' 1 Array(N) ' 2 Array(0) -> Array(N) ' 3 Array(0) -> Array(0) -> Array(N) ' 4 Array(0) -> Array(0) -> Array(0) -> Array(N) ' ' * This function unwraps the nested Array(0) pointers until the base array is found. ' * When you pass a standard array to a ParamArray, you start at nest level 2. ' ' Notes: ' * ParamArrays can only be passed to other Routines as ParamArrays ' * Passing ParamArray() to Variant() or Variant will result in an ' 'Invalid Use Of ParamArray' compile error. ' * If an object with a default property is passed, the property is used instead of the object ' Public Function UnpackParamArray(ParamArray vParameters() As Variant) As Variant() Dim vOut() As Variant Dim vTemp() As Variant Dim lUBound As Long On Error GoTo HandleErr ' empty array: LBound=0; UBound=-1 UnpackParamArray = VBA.Array() vOut() = vParameters() lUBound = UBound(vOut) ' If UBound > 0, some regular array has been found, so skip this loop Do While (lUBound = 0) If IsArray(vOut(0)) Then ' Swap carefully to avoid fatal error vTemp() = vOut(0) Erase vOut() vOut() = vTemp() Erase vTemp() ' test the bounds of the new array lUBound = UBound(vOut) Else ' scalar or object value: return array holding it lUBound = 1 End If Loop If lUBound >= 0 Then ' Return UnpackParamArray = vOut() End If Exit Function HandleErr: Err.Raise Err.Number, "UnpackParamArray" & VbCrLf & Err.Source, Err.Description End Function jwcolby: > I use param arrays to allow me to pass in things like group ids that a user > might belong to. The following fails: > > Function mPLSUserInGroup(ParamArray Grps() As Variant) As Boolean > mPLSUserInGroup = cPLS.cCurrUser.pUserInGrp(**Grps) > End Function > > However the following works: > > Function mPLSUserInGroup(ParamArray Grps() As Variant) As Boolean > Dim lGrps() As Variant > lGrps = Grps > mPLSUserInGroup = cPLS.cCurrUser.pUserInGrp(**lGrps) > End Function > > Thus in order to push a paramarray into another function we just need to > dim an array, set it equal to the paramarray and then push that array on > down. > > Pretty strange that a ParamArray cannot be directly passed along. > From ab-mi at post3.tele.dk Tue Sep 6 16:54:00 2011 From: ab-mi at post3.tele.dk (Asger Blond) Date: Tue, 6 Sep 2011 23:54:00 +0200 Subject: [AccessD] IIF Function In-Reply-To: References: Message-ID: :) Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af William Benson Sendt: 6. september 2011 23:45 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] IIF Function But they didn't ... you did! Ha ha ha I crack myself up. No offense, really, I am just in a wacky mood. On Tue, Sep 6, 2011 at 3:31 PM, Tesiny, Ed wrote: > Paul/Asger, > Of course you're right...I hate it when you make a mistake with a ")" > Thank you! > > Ed Tesiny > EdTesiny at oasas.ny.gov > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond > Sent: Tuesday, September 06, 2011 3:25 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] IIF Function > > > IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date])<3 And > [Lureen_Reviewed]<>2,"OK","Followup") > > Asger > > -----Oprindelig meddelelse----- > Fra: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] P? vegne af Tesiny, Ed > Sendt: 6. september 2011 21:16 > Til: Off Topic; Access Developers discussion and problem solving > Emne: [AccessD] IIF Function > > Hi All, > > I have the following IIF statement in a query: > > > > LureenRev1: > IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date]<3 And > [Lureen_Reviewed]<>2),"OK","Followup") > > > > RssApplicationApproved 06/17/2011 (Date) > > Lureen_Reviewed_Date 06/16/2011 (Date) > > Lureen_Reviewed 2 (long integer) > > > > The statement returns OK > > > > Could someone tell me what's wrong with it, I can't see what's wrong. > > TIA, > > Ed > > > > Edward P. Tesiny > > Director of Evaluation and Outcomes Management > > New York State OASAS > > 1450 Western Avenue > > Albany, NY 12203 > > Phone: (518) 485-2322 > > Fax: (518) 485-5228 > > EdTesiny at oasas.ny.gov > > > > IMPORTANT: This E-mail may contain confidential material for the sole > use of the intended recipient. The use, distribution, transmittal or > re-transmittal by an unintended recipient of any communication is > prohibited without our express approval in writing or by e-mail. Any > use, distribution, transmittal or re-transmittal by persons who are not > intended recipients of this e-mail may be a violation of law and is > strictly prohibited. If you are not the intended recipient please > contact the sender and delete all copies. E-mail transmission cannot be > guaranteed to be secure or error-free. The sender therefore does not > accept liability for any errors or omissions in the contents of this > transmission. All e-mails sent to or from NYS OASAS are to be used for > our business purposes only. E-mails sent from or to NYS OASAS are > subject to review by the Agency. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 > -- *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 jwcolby at colbyconsulting.com Tue Sep 6 16:59:16 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 06 Sep 2011 17:59:16 -0400 Subject: [AccessD] Passing ParamArrays down the line In-Reply-To: References: Message-ID: <4E6697B4.3080601@colbyconsulting.com> I actually just copied the param array into an array() ov var and passed that. It just never occurred to me to try that. John W. Colby www.ColbyConsulting.com On 9/6/2011 5:52 PM, Kenneth Ismert wrote: > John: > > It's true: you can't pass a ParamArray to a routine expecting a Variant() or > Variant parameter. You have to convert to a Variant array first. > > You can pass ParamArrays to other routines accepting a ParamArray. But, the > initial ParamArray gets nested in element(0) in the ParamArray of the called > routine, making the values hard to extract. > > This routine takes any ParamArray with any level of nesting, and returns the > actual values as a plain variant array: > > ' UnpackParamArray > ' > ' Unpacks the given ParamArray, and returns it as a Variant array > ' * Handles nested ParamArray calls > ' * Handles an array passed to a ParamArray > ' > ' Allows several parameter passing styles: > ' 1. ParamArray from another routine -- lowest-level nested array > ' 2. Variant Array as only parameter -- " " > ' 3. List of values -- returns array containing > values given > ' (works, but use Array() instead) > ' ParamArray Nesting > ' * Every time you pass a ParamArray to another routine, it gets nested as > ' element 0 in the new ParamArray: > ' > ' Nest Level Array Structure > ' > --------------------------------------------------------------------------- > ' 1 Array(N) > ' 2 Array(0) -> Array(N) > ' 3 Array(0) -> Array(0) -> Array(N) > ' 4 Array(0) -> Array(0) -> Array(0) -> Array(N) > ' > ' * This function unwraps the nested Array(0) pointers until the base array > is found. > ' * When you pass a standard array to a ParamArray, you start at nest level > 2. > ' > ' Notes: > ' * ParamArrays can only be passed to other Routines as ParamArrays > ' * Passing ParamArray() to Variant() or Variant will result in an > ' 'Invalid Use Of ParamArray' compile error. > ' * If an object with a default property is passed, the property is used > instead of the object > ' > Public Function UnpackParamArray(ParamArray vParameters() As Variant) As > Variant() > > Dim vOut() As Variant > Dim vTemp() As Variant > Dim lUBound As Long > > On Error GoTo HandleErr > > ' empty array: LBound=0; UBound=-1 > UnpackParamArray = VBA.Array() > > vOut() = vParameters() > lUBound = UBound(vOut) > > ' If UBound> 0, some regular array has been found, so skip this loop > Do While (lUBound = 0) > > If IsArray(vOut(0)) Then > ' Swap carefully to avoid fatal error > vTemp() = vOut(0) > Erase vOut() > vOut() = vTemp() > Erase vTemp() > ' test the bounds of the new array > lUBound = UBound(vOut) > > Else > ' scalar or object value: return array holding it > lUBound = 1 > > End If > > Loop > > If lUBound>= 0 Then > ' Return > UnpackParamArray = vOut() > End If > > Exit Function > > HandleErr: > Err.Raise Err.Number, "UnpackParamArray"& VbCrLf& Err.Source, > Err.Description > End Function > > > jwcolby: >> I use param arrays to allow me to pass in things like group ids that a user >> might belong to. The following fails: >> >> Function mPLSUserInGroup(ParamArray Grps() As Variant) As Boolean >> mPLSUserInGroup = cPLS.cCurrUser.pUserInGrp(**Grps) >> End Function >> >> However the following works: >> >> Function mPLSUserInGroup(ParamArray Grps() As Variant) As Boolean >> Dim lGrps() As Variant >> lGrps = Grps >> mPLSUserInGroup = cPLS.cCurrUser.pUserInGrp(**lGrps) >> End Function >> >> Thus in order to push a paramarray into another function we just need to >> dim an array, set it equal to the paramarray and then push that array on >> down. >> >> Pretty strange that a ParamArray cannot be directly passed along. >> From darryl at whittleconsulting.com.au Tue Sep 6 18:35:18 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 7 Sep 2011 09:35:18 +1000 Subject: [AccessD] SQL Server advice In-Reply-To: References: <63403747290942CF848F636F67DF3A1A@BondSoftware.local> Message-ID: <001c01cc6ced$a387d9a0$ea978ce0$@com.au> Why not just download the free version Denali "Community Technology Preview 3" (CTP3), that is what I did a while back and it has been good to use so far and dead easy to setup. Nice one :). <> Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, 6 September 2011 8:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SQL Server advice You would be totally wasting your time with SQL 2000. Why begin your learning 2 versions behind? And within 6 months, you'd be 3 versions behind (Denali will be released by then). Since you have a six-month window, my advice would be to install SQL 2008 Express on a Windows 7 box with about 4 gigs of RAM. For diving into SQL Server, this would be a sufficient learning machine. As JC wrote, you won't get all the benefits of a serious machine, but it's not for you anyway, it's for the client to decide whether to pick up that cost. Everything you learn on Express is directly applicable to upscale versions. Granted, there are a few things you won't be able to learn (clustered dbs, for example), but if you make it through the major stuff (Management Studio, T-SQL, views, stored procedures, User Defined Functions, Reporting Services and Analysis Services), what remains to learn won't take long. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Tue Sep 6 20:34:03 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 7 Sep 2011 11:34:03 +1000 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <4E6697B4.3080601@colbyconsulting.com> References: <4E6697B4.3080601@colbyconsulting.com> Message-ID: <002601cc6cfe$3a74d510$af5e7f30$@com.au> Uh oh... I thought today was going too darn well. I am working with data which has "#" as part of the string which causes the VBA code to fail For Example: gstrSQL = vbNullString gstrSQL = gstrSQL & " SELECT" gstrSQL = gstrSQL & " Activity," gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" gstrSQL = gstrSQL & " FROM ProbC_tblActivities" gstrSQL = gstrSQL & " GROUP BY Activity" gstrSQL = gstrSQL & " HAVING Activity="#Input" gstrSQL = gstrSQL & " AND Total_CF <> 0" Which sort of makes sense as the # is used in VBA for Conditional Compile. Is there some way I can I get VBA to accept the # as part of the string and not a command? Google has fairly useless when searching for "#" as well. Bah humbubg. Cheers Darryl From charlotte.foust at gmail.com Tue Sep 6 20:42:36 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Tue, 6 Sep 2011 18:42:36 -0700 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <002601cc6cfe$3a74d510$af5e7f30$@com.au> References: <4E6697B4.3080601@colbyconsulting.com> <002601cc6cfe$3a74d510$af5e7f30$@com.au> Message-ID: If you copied this from your code, the # isn't why it's failing. Remove the stray " before the # and see what happens. Charlotte Foust On Tue, Sep 6, 2011 at 6:34 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Uh oh... I thought today was going too darn well. > > I am working with data which has "#" as part of the string which causes the > VBA code to fail > > For Example: > > gstrSQL = vbNullString > gstrSQL = gstrSQL & " SELECT" > gstrSQL = gstrSQL & " Activity," > gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" > gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" > gstrSQL = gstrSQL & " FROM ProbC_tblActivities" > gstrSQL = gstrSQL & " GROUP BY Activity" > gstrSQL = gstrSQL & " HAVING Activity="#Input" > gstrSQL = gstrSQL & " AND Total_CF <> 0" > > Which sort of makes sense as the # is used in VBA for Conditional Compile. > > Is there some way I can I get VBA to accept the # as part of the string and > not a command? > > Google has fairly useless when searching for "#" as well. Bah humbubg. > > 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 Sep 6 20:45:09 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 06 Sep 2011 21:45:09 -0400 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <002601cc6cfe$3a74d510$af5e7f30$@com.au> References: <4E6697B4.3080601@colbyconsulting.com> <002601cc6cfe$3a74d510$af5e7f30$@com.au> Message-ID: <4E66CCA5.9030603@colbyconsulting.com> # on both sides signifies a date but *only* in the Access version of SQL, not (for example) in TSQL for SQL Server. Probably you are confusing Access SQL by making it think you are trying to specify a date. John W. Colby www.ColbyConsulting.com On 9/6/2011 9:34 PM, Darryl Collins wrote: > Uh oh... I thought today was going too darn well. > > I am working with data which has "#" as part of the string which causes the > VBA code to fail > > For Example: > > gstrSQL = vbNullString > gstrSQL = gstrSQL& " SELECT" > gstrSQL = gstrSQL& " Activity," > gstrSQL = gstrSQL& " SUM(Activity_CF) AS Total_CF" > gstrSQL = gstrSQL& " SUM(Activity_DCF) AS Total_DCF" > gstrSQL = gstrSQL& " FROM ProbC_tblActivities" > gstrSQL = gstrSQL& " GROUP BY Activity" > gstrSQL = gstrSQL& " HAVING Activity="#Input" > gstrSQL = gstrSQL& " AND Total_CF<> 0" > > Which sort of makes sense as the # is used in VBA for Conditional Compile. > > Is there some way I can I get VBA to accept the # as part of the string and > not a command? > > Google has fairly useless when searching for "#" as well. Bah humbubg. > > Cheers > Darryl > From newsgrps at dalyn.co.nz Tue Sep 6 20:50:24 2011 From: newsgrps at dalyn.co.nz (newsgrps) Date: Wed, 07 Sep 2011 13:50:24 +1200 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <002601cc6cfe$3a74d510$af5e7f30$@com.au> References: <4E6697B4.3080601@colbyconsulting.com> <002601cc6cfe$3a74d510$af5e7f30$@com.au> Message-ID: <20110907015040.DIJG839.mta02.xtra.co.nz@David-PC.dalyn.co.nz> Darryl Try gstrSQL = gstrSQL & " HAVING Activity='#Input'" (Putting #Input within single quotes.) Regards David Emerson Dalyn Software Ltd New Zealand At 7/09/2011, Darryl Collins wrote: >Uh oh... I thought today was going too darn well. > >I am working with data which has "#" as part of the string which causes the >VBA code to fail > >For Example: > >gstrSQL = vbNullString >gstrSQL = gstrSQL & " SELECT" >gstrSQL = gstrSQL & " Activity," >gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" >gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" >gstrSQL = gstrSQL & " FROM ProbC_tblActivities" >gstrSQL = gstrSQL & " GROUP BY Activity" >gstrSQL = gstrSQL & " HAVING Activity="#Input" >gstrSQL = gstrSQL & " AND Total_CF <> 0" > >Which sort of makes sense as the # is used in VBA for Conditional Compile. > >Is there some way I can I get VBA to accept the # as part of the string and >not a command? > >Google has fairly useless when searching for "#" as well. Bah humbubg. > >Cheers >Darryl > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From dbdoug at gmail.com Tue Sep 6 21:06:08 2011 From: dbdoug at gmail.com (Doug Steele) Date: Tue, 6 Sep 2011 19:06:08 -0700 Subject: [AccessD] Access date problem In-Reply-To: References: Message-ID: Thanks, Gustav - I know you've gone over this many times before! In this particular case, I was just typing into the immediate window, and I had checked that the computer's Windows date format was mm/dd/yyyy. When I use the Weekday function in code, I always use Date/Time variables. Doug On Mon, Sep 5, 2011 at 11:17 PM, Gustav Brock wrote: > Hi Doug > > Weekday("9/4/2011") and Weekday(#9/4/2011#) is not the same thing so if > that computer doesn't use the "reverse" US date format (mm/dd/yyyy) your > expression will read as 2011-04-09. > > Always use data type date/time for dates in VB(A). > > /gustav > > > >>> dbdoug at gmail.com 05-09-2011 18:19 >>> > Hello All: > > I have some code which depends on the weekday number. On all computers > except for one of my client's, it runs OK. The computers are a mixed bag > of > Access 2003, 2010 and Windows 7 and Vista. > > On the 'bad' computer, everything is off by one day. Debugging on this > computer gives '7' as the result of Weekday("9/4/2011") - a Sunday. > According to Access help, the default for Sunday is 1. I've checked the > Windows 7 Regional and Language settings on this computer and 'Sunday' is > set as the first day of the week. So Access and Windows are different. > > I can't find a setting in Access to change this, and nothing on the Web. > But it must be some kind of configuration setup - does anyone have a > suggestion? > > Thanks, > Doug > > > -- > 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 Sep 6 21:16:18 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 07 Sep 2011 12:16:18 +1000 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <002601cc6cfe$3a74d510$af5e7f30$@com.au> References: , <4E6697B4.3080601@colbyconsulting.com>, <002601cc6cfe$3a74d510$af5e7f30$@com.au> Message-ID: <4E66D3F2.25051.2899085E@stuart.lexacorp.com.pg> As others have pointed out, the # is not the problem. #Input is a string inside your SQL which needs to be delimited inside your strSQL. You are using double quotes as your strSQL building delimiter so the inner variable needs to be surrounded by single quotes. Also you are missing a comma after Total_CF Try this: gstrSQL = "SELECT " & _ "Activity, " & _ "SUM(Activity_CF) AS Total_CF," & _ "SUM(Activity_DCF) AS Total_DCF " & _ "FROM ProbC_tblActivities " & _ "GROUP BY Activity " & _ "HAVING Activity='#Input' " & _ "AND Total_CF <> 0" & _ On 7 Sep 2011 at 11:34, Darryl Collins wrote: > Uh oh... I thought today was going too darn well. > > I am working with data which has "#" as part of the string which > causes the VBA code to fail > > For Example: > > gstrSQL = vbNullString > gstrSQL = gstrSQL & " SELECT" > gstrSQL = gstrSQL & " Activity," > gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" > gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" > gstrSQL = gstrSQL & " FROM ProbC_tblActivities" > gstrSQL = gstrSQL & " GROUP BY Activity" > gstrSQL = gstrSQL & " HAVING Activity="#Input" > gstrSQL = gstrSQL & " AND Total_CF <> 0" > > Which sort of makes sense as the # is used in VBA for Conditional > Compile. > > Is there some way I can I get VBA to accept the # as part of the > string and not a command? > > Google has fairly useless when searching for "#" as well. Bah > humbubg. > > Cheers > Darryl > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Tue Sep 6 22:04:31 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 7 Sep 2011 13:04:31 +1000 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <4E66D3F2.25051.2899085E@stuart.lexacorp.com.pg> References: , <4E6697B4.3080601@colbyconsulting.com>, <002601cc6cfe$3a74d510$af5e7f30$@com.au> <4E66D3F2.25051.2899085E@stuart.lexacorp.com.pg> Message-ID: <002a01cc6d0a$dde5fec0$99b1fc40$@com.au> Hmmmm...... time for a coffee. Thanks guys... Stupid! Got it working fine now I have the my syntax and commas in place. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, 7 September 2011 12:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] String with "#" in VBA? As others have pointed out, the # is not the problem. #Input is a string inside your SQL which needs to be delimited inside your strSQL. You are using double quotes as your strSQL building delimiter so the inner variable needs to be surrounded by single quotes. Also you are missing a comma after Total_CF Try this: gstrSQL = "SELECT " & _ "Activity, " & _ "SUM(Activity_CF) AS Total_CF," & _ "SUM(Activity_DCF) AS Total_DCF " & _ "FROM ProbC_tblActivities " & _ "GROUP BY Activity " & _ "HAVING Activity='#Input' " & _ "AND Total_CF <> 0" & _ On 7 Sep 2011 at 11:34, Darryl Collins wrote: > Uh oh... I thought today was going too darn well. > > I am working with data which has "#" as part of the string which > causes the VBA code to fail > > For Example: > > gstrSQL = vbNullString > gstrSQL = gstrSQL & " SELECT" > gstrSQL = gstrSQL & " Activity," > gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" > gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" > gstrSQL = gstrSQL & " FROM ProbC_tblActivities" > gstrSQL = gstrSQL & " GROUP BY Activity" > gstrSQL = gstrSQL & " HAVING Activity="#Input" > gstrSQL = gstrSQL & " AND Total_CF <> 0" > > Which sort of makes sense as the # is used in VBA for Conditional > Compile. > > Is there some way I can I get VBA to accept the # as part of the > string and not a command? > > Google has fairly useless when searching for "#" as well. Bah > humbubg. > > Cheers > Darryl > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 6 22:15:44 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Tue, 6 Sep 2011 23:15:44 -0400 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <4E66D3F2.25051.2899085E@stuart.lexacorp.com.pg> References: , <4E6697B4.3080601@colbyconsulting.com>, <002601cc6cfe$3a74d510$af5e7f30$@com.au> <4E66D3F2.25051.2899085E@stuart.lexacorp.com.pg> Message-ID: <001501cc6d0c$6efc10b0$4cf43210$@gmail.com> I concur with the single-quotes and the comma additions... but I was not aware you are allowed to use the result field's name in the HAVING clause, I thought you needed to show the function again (see below)? gstrSQL = "" gstrSQL = gstrSQL & " SELECT" gstrSQL = gstrSQL & " Activity," gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF," gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" gstrSQL = gstrSQL & " FROM ProbC_tblActivities" gstrSQL = gstrSQL & " GROUP BY Activity" gstrSQL = gstrSQL & " HAVING Activity='#Input'" gstrSQL = gstrSQL & " AND SUM(Activity_CF) <> 0" -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, September 06, 2011 10:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] String with "#" in VBA? As others have pointed out, the # is not the problem. #Input is a string inside your SQL which needs to be delimited inside your strSQL. You are using double quotes as your strSQL building delimiter so the inner variable needs to be surrounded by single quotes. Also you are missing a comma after Total_CF Try this: gstrSQL = "SELECT " & _ "Activity, " & _ "SUM(Activity_CF) AS Total_CF," & _ "SUM(Activity_DCF) AS Total_DCF " & _ "FROM ProbC_tblActivities " & _ "GROUP BY Activity " & _ "HAVING Activity='#Input' " & _ "AND Total_CF <> 0" & _ On 7 Sep 2011 at 11:34, Darryl Collins wrote: > Uh oh... I thought today was going too darn well. > > I am working with data which has "#" as part of the string which > causes the VBA code to fail > > For Example: > > gstrSQL = vbNullString > gstrSQL = gstrSQL & " SELECT" > gstrSQL = gstrSQL & " Activity," > gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" > gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" > gstrSQL = gstrSQL & " FROM ProbC_tblActivities" > gstrSQL = gstrSQL & " GROUP BY Activity" > gstrSQL = gstrSQL & " HAVING Activity="#Input" > gstrSQL = gstrSQL & " AND Total_CF <> 0" > > Which sort of makes sense as the # is used in VBA for Conditional > Compile. > > Is there some way I can I get VBA to accept the # as part of the > string and not a command? > > Google has fairly useless when searching for "#" as well. Bah > humbubg. > > Cheers > Darryl > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 6 22:20:07 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 7 Sep 2011 13:20:07 +1000 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <002a01cc6d0a$dde5fec0$99b1fc40$@com.au> References: , <4E6697B4.3080601@colbyconsulting.com>, <002601cc6cfe$3a74d510$af5e7f30$@com.au> <4E66D3F2.25051.2899085E@stuart.lexacorp.com.pg> <002a01cc6d0a$dde5fec0$99b1fc40$@com.au> Message-ID: <002b01cc6d0d$0b299a20$217cce60$@com.au> Here is what I ended up using. gstrSQL = vbNullString gstrSQL = gstrSQL & "SELECT" gstrSQL = gstrSQL & " Activity," gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" gstrSQL = gstrSQL & " FROM ProbC_tblActivities" gstrSQL = gstrSQL & " GROUP BY Activity" gstrSQL = gstrSQL & " HAVING Activity='#Input'" The rest of the code was not required. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, 7 September 2011 1:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] String with "#" in VBA? Hmmmm...... time for a coffee. Thanks guys... Stupid! Got it working fine now I have the my syntax and commas in place. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, 7 September 2011 12:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] String with "#" in VBA? As others have pointed out, the # is not the problem. #Input is a string inside your SQL which needs to be delimited inside your strSQL. You are using double quotes as your strSQL building delimiter so the inner variable needs to be surrounded by single quotes. Also you are missing a comma after Total_CF Try this: gstrSQL = "SELECT " & _ "Activity, " & _ "SUM(Activity_CF) AS Total_CF," & _ "SUM(Activity_DCF) AS Total_DCF " & _ "FROM ProbC_tblActivities " & _ "GROUP BY Activity " & _ "HAVING Activity='#Input' " & _ "AND Total_CF <> 0" & _ On 7 Sep 2011 at 11:34, Darryl Collins wrote: > Uh oh... I thought today was going too darn well. > > I am working with data which has "#" as part of the string which > causes the VBA code to fail > > For Example: > > gstrSQL = vbNullString > gstrSQL = gstrSQL & " SELECT" > gstrSQL = gstrSQL & " Activity," > gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" > gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" > gstrSQL = gstrSQL & " FROM ProbC_tblActivities" > gstrSQL = gstrSQL & " GROUP BY Activity" > gstrSQL = gstrSQL & " HAVING Activity="#Input" > gstrSQL = gstrSQL & " AND Total_CF <> 0" > > Which sort of makes sense as the # is used in VBA for Conditional > Compile. > > Is there some way I can I get VBA to accept the # as part of the > string and not a command? > > Google has fairly useless when searching for "#" as well. Bah > humbubg. > > Cheers > Darryl > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Tue Sep 6 22:24:24 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 7 Sep 2011 13:24:24 +1000 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <001501cc6d0c$6efc10b0$4cf43210$@gmail.com> References: , <4E6697B4.3080601@colbyconsulting.com>, <002601cc6cfe$3a74d510$af5e7f30$@com.au> <4E66D3F2.25051.2899085E@stuart.lexacorp.com.pg> <001501cc6d0c$6efc10b0$4cf43210$@gmail.com> Message-ID: <003101cc6d0d$a4552e30$ecff8a90$@com.au> Yes, that syntax would be correct Bill. Man, I made a mess of this one didn't I... hmmmmm. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, 7 September 2011 1:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] String with "#" in VBA? I concur with the single-quotes and the comma additions... but I was not aware you are allowed to use the result field's name in the HAVING clause, I thought you needed to show the function again (see below)? gstrSQL = "" gstrSQL = gstrSQL & " SELECT" gstrSQL = gstrSQL & " Activity," gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF," gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" gstrSQL = gstrSQL & " FROM ProbC_tblActivities" gstrSQL = gstrSQL & " GROUP BY Activity" gstrSQL = gstrSQL & " HAVING Activity='#Input'" gstrSQL = gstrSQL & " AND SUM(Activity_CF) <> 0" -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, September 06, 2011 10:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] String with "#" in VBA? As others have pointed out, the # is not the problem. #Input is a string inside your SQL which needs to be delimited inside your strSQL. You are using double quotes as your strSQL building delimiter so the inner variable needs to be surrounded by single quotes. Also you are missing a comma after Total_CF Try this: gstrSQL = "SELECT " & _ "Activity, " & _ "SUM(Activity_CF) AS Total_CF," & _ "SUM(Activity_DCF) AS Total_DCF " & _ "FROM ProbC_tblActivities " & _ "GROUP BY Activity " & _ "HAVING Activity='#Input' " & _ "AND Total_CF <> 0" & _ On 7 Sep 2011 at 11:34, Darryl Collins wrote: > Uh oh... I thought today was going too darn well. > > I am working with data which has "#" as part of the string which > causes the VBA code to fail > > For Example: > > gstrSQL = vbNullString > gstrSQL = gstrSQL & " SELECT" > gstrSQL = gstrSQL & " Activity," > gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" > gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" > gstrSQL = gstrSQL & " FROM ProbC_tblActivities" > gstrSQL = gstrSQL & " GROUP BY Activity" > gstrSQL = gstrSQL & " HAVING Activity="#Input" > gstrSQL = gstrSQL & " AND Total_CF <> 0" > > Which sort of makes sense as the # is used in VBA for Conditional > Compile. > > Is there some way I can I get VBA to accept the # as part of the > string and not a command? > > Google has fairly useless when searching for "#" as well. Bah > humbubg. > > Cheers > Darryl > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 6 22:41:41 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Tue, 6 Sep 2011 23:41:41 -0400 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <003101cc6d0d$a4552e30$ecff8a90$@com.au> References: , <4E6697B4.3080601@colbyconsulting.com>, <002601cc6cfe$3a74d510$af5e7f30$@com.au> <4E66D3F2.25051.2899085E@stuart.lexacorp.com.pg> <001501cc6d0c$6efc10b0$4cf43210$@gmail.com> <003101cc6d0d$a4552e30$ecff8a90$@com.au> Message-ID: <001601cc6d10$0f115440$2d33fcc0$@gmail.com> No more than anyone else going from the top of their head. To wit, no one else pointed out that the Having Clause required the actual computation. And, no one pointed out (including me) that most non-calculated constraints are put in a WHERE clause, not the Having clause. I would imagine the query plan Access builds handles that kind of misappropriation without fuss however. Some SQL which I generated using only the Access query designer (with unneeded parens removed). SELECT Max(Tbl_GIB.LASTMODIFIED_DATE) AS MyMaxDate, 1+1 AS SomeCalc FROM Tbl_GIB WHERE Tbl_GIB.SITE_DB<>'Bill' HAVING 1+1=2 And Max(Tbl_GIB.LASTMODIFIED_DATE) < #12/31/2050# This fails: SELECT Max(Tbl_GIB.LASTMODIFIED_DATE) AS MyMaxDate, 1+1 AS SomeCalc FROM Tbl_GIB WHERE Tbl_GIB.SITE_DB<>'Bill' HAVING SomeCalc =2 As does this SELECT Max(Tbl_GIB.LASTMODIFIED_DATE) AS MyMaxDate, 1+1 AS SomeCalc FROM Tbl_GIB HAVING MyMaxDate < #12/31/2050#; -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Tuesday, September 06, 2011 11:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] String with "#" in VBA? Yes, that syntax would be correct Bill. Man, I made a mess of this one didn't I... hmmmmm. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, 7 September 2011 1:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] String with "#" in VBA? I concur with the single-quotes and the comma additions... but I was not aware you are allowed to use the result field's name in the HAVING clause, I thought you needed to show the function again (see below)? gstrSQL = "" gstrSQL = gstrSQL & " SELECT" gstrSQL = gstrSQL & " Activity," gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF," gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" gstrSQL = gstrSQL & " FROM ProbC_tblActivities" gstrSQL = gstrSQL & " GROUP BY Activity" gstrSQL = gstrSQL & " HAVING Activity='#Input'" gstrSQL = gstrSQL & " AND SUM(Activity_CF) <> 0" -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, September 06, 2011 10:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] String with "#" in VBA? As others have pointed out, the # is not the problem. #Input is a string inside your SQL which needs to be delimited inside your strSQL. You are using double quotes as your strSQL building delimiter so the inner variable needs to be surrounded by single quotes. Also you are missing a comma after Total_CF Try this: gstrSQL = "SELECT " & _ "Activity, " & _ "SUM(Activity_CF) AS Total_CF," & _ "SUM(Activity_DCF) AS Total_DCF " & _ "FROM ProbC_tblActivities " & _ "GROUP BY Activity " & _ "HAVING Activity='#Input' " & _ "AND Total_CF <> 0" & _ On 7 Sep 2011 at 11:34, Darryl Collins wrote: > Uh oh... I thought today was going too darn well. > > I am working with data which has "#" as part of the string which > causes the VBA code to fail > > For Example: > > gstrSQL = vbNullString > gstrSQL = gstrSQL & " SELECT" > gstrSQL = gstrSQL & " Activity," > gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" > gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" > gstrSQL = gstrSQL & " FROM ProbC_tblActivities" > gstrSQL = gstrSQL & " GROUP BY Activity" > gstrSQL = gstrSQL & " HAVING Activity="#Input" > gstrSQL = gstrSQL & " AND Total_CF <> 0" > > Which sort of makes sense as the # is used in VBA for Conditional > Compile. > > Is there some way I can I get VBA to accept the # as part of the > string and not a command? > > Google has fairly useless when searching for "#" as well. Bah > humbubg. > > Cheers > Darryl > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 6 23:03:54 2011 From: vbacreations at gmail.com (William Benson) Date: Wed, 7 Sep 2011 00:03:54 -0400 Subject: [AccessD] Access date problem In-Reply-To: References: Message-ID: Obviously that computer was built on a Monday? Its always been GM's excuse. On Sep 5, 2011 5:14 PM, "Doug Steele" wrote: > Hi Charlotte: > Changing all instances of the Weekday function to include vbSunday as the > second parameter did fix the problem. I'm still curious, however, why one > computer in particular would have vbMonday set as the first day of the week > contrary to the Access documentation. > > Doug > > > On Mon, Sep 5, 2011 at 11:35 AM, Charlotte Foust > wrote: > >> It's set in vba using the Weekday function and specifying the optional >> firstdayofweek argument. If you just modify your code to include vbSunday, >> you should get the desired result. Have you tried that? >> >> Charlotte Foust >> >> On Mon, Sep 5, 2011 at 9:19 AM, Doug Steele wrote: >> >> > Hello All: >> > >> > I have some code which depends on the weekday number. On all computers >> > except for one of my client's, it runs OK. The computers are a mixed bag >> > of >> > Access 2003, 2010 and Windows 7 and Vista. >> > >> > On the 'bad' computer, everything is off by one day. Debugging on this >> > computer gives '7' as the result of Weekday("9/4/2011") - a Sunday. >> > According to Access help, the default for Sunday is 1. I've checked the >> > Windows 7 Regional and Language settings on this computer and 'Sunday' is >> > set as the first day of the week. So Access and Windows are different. >> > >> > I can't find a setting in Access to change this, and nothing on the Web. >> > But it must be some kind of configuration setup - does anyone have a >> > suggestion? >> > >> > 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 >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Gustav at cactus.dk Wed Sep 7 05:55:46 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 07 Sep 2011 12:55:46 +0200 Subject: [AccessD] SQL Server advice Message-ID: Hi Stephen Just pay attention to the limitations of SQL Server 2008 R2 Express: - Maximum 10 GB per database. - Uses no more than 1 processor. - Uses no more than 1 GB of internal memory. /gustav >>> stephen at bondsoftware.co.nz 06-09-2011 22:07 >>> The list does it again. Not for the first time. John, Arthur, Susan, Mark, Jim - many thanks. SQL Express 2008 it is then for the Win7 box, and I'll leave the SQL2000 on the XP box as a gracefully ageing toy (my very own Model T) Stephen Bond From fuller.artful at gmail.com Wed Sep 7 08:46:04 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 7 Sep 2011 09:46:04 -0400 Subject: [AccessD] Ac27 DLL Problem Message-ID: When I try to run the A2K7 upsizing wizard I immediately get the error "Error in Loading DLL." Anyone know why this is occurring and how to fix the problem? TIA, Arthur From jimdettman at verizon.net Wed Sep 7 08:51:21 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 07 Sep 2011 09:51:21 -0400 Subject: [AccessD] Of possible interest Message-ID: <7090E912B0544D45A427C7B55D04A980@XPS> picked this up from another list /group: http://www.zdnet.com/blog/microsoft/microsoft-to-focus-on-html5-and-javascri pt-for-office-15-extensions/10266 Something to think about... Jim. From accessd at shaw.ca Wed Sep 7 12:57:26 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 7 Sep 2011 10:57:26 -0700 Subject: [AccessD] Of possible interest In-Reply-To: <7090E912B0544D45A427C7B55D04A980@XPS> References: <7090E912B0544D45A427C7B55D04A980@XPS> Message-ID: <610914D12AB544868F8FF0CBB80BC76B@creativesystemdesigns.com> Excellent news and about time... It will not be long before we are all going web based. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, September 07, 2011 6:51 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Of possible interest picked this up from another list /group: http://www.zdnet.com/blog/microsoft/microsoft-to-focus-on-html5-and-javascri pt-for-office-15-extensions/10266 Something to think about... Jim. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Sep 7 13:03:08 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 7 Sep 2011 11:03:08 -0700 Subject: [AccessD] SQL Server advice In-Reply-To: <001c01cc6ced$a387d9a0$ea978ce0$@com.au> References: <63403747290942CF848F636F67DF3A1A@BondSoftware.local> <001c01cc6ced$a387d9a0$ea978ce0$@com.au> Message-ID: <968A7928D657458A9D0EFC2C72F52164@creativesystemdesigns.com> Thanks for the heads up Darryl. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Tuesday, September 06, 2011 4:35 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SQL Server advice Why not just download the free version Denali "Community Technology Preview 3" (CTP3), that is what I did a while back and it has been good to use so far and dead easy to setup. Nice one :). <> Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, 6 September 2011 8:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SQL Server advice You would be totally wasting your time with SQL 2000. Why begin your learning 2 versions behind? And within 6 months, you'd be 3 versions behind (Denali will be released by then). Since you have a six-month window, my advice would be to install SQL 2008 Express on a Windows 7 box with about 4 gigs of RAM. For diving into SQL Server, this would be a sufficient learning machine. As JC wrote, you won't get all the benefits of a serious machine, but it's not for you anyway, it's for the client to decide whether to pick up that cost. Everything you learn on Express is directly applicable to upscale versions. Granted, there are a few things you won't be able to learn (clustered dbs, for example), but if you make it through the major stuff (Management Studio, T-SQL, views, stored procedures, User Defined Functions, Reporting Services and Analysis Services), what remains to learn won't take long. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Wed Sep 7 13:21:02 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Wed, 07 Sep 2011 14:21:02 -0400 Subject: [AccessD] :) In-Reply-To: References: <3D568192E72C468FB4DD4A4693553C54@SusanHarkins><4E5CCF00.7000101@colbyconsulting.com><4E5D4E1B.21029.3661FC1@stuart.lexacorp.com.pg><9E95C48974A94C5D80EFB3444668BD61@HAL9007><8FC7AA6C2378493895EF53C A29E5509B@XPS><001401cc67de$d56db840$804928c0$@gmail.com> Message-ID: <4E67B60E.90401@torchlake.com> Okay, I just have to tell you guys this one. My Larry is from Indiana, which means that he has some regional pronunciation idiosyncrasies. He bought a new winch that he wanted mounted on the back end of his truck, so he went to Sam, our local guru, and asked him, "Can I mount a wench on the back of my truck?" To which, Sam responded, "Is Tina okay with this?" Before Larry caught on to the meaning, he said, "Well, of course, she is!" Then Sam said something about Larry's wife being more open-minded than his own wife about other women. That's when the light went on for Larry. One of our favorite little memories. :-) So, Arthur, you stay away from the wenches! Best, T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 8/31/2011 10:55 AM, Arthur Fuller wrote: > Nope. I have instead adopted the one-to-zero model. No wenches, no problems! > I realize that this model doesn't work for everyone, but it works for me. As > Greta Garbo said, "I didn't say I want to be alone, I said I want to be left > alone." That solution works for me, at this late stage of my life. > > I am approaching 64yo, and the man I most admired in my life died on Monday, > at age 61. I have abused my body with various chemicals, and Jack never did > the same, and I'm alive and he is dead; there is no justice in this world; > there may be some justice in some other world but it clearly is not this > one.If there were any justice, Jack would live on and I would be the one to > die, but that's not how it happened. I'm still alive, and Jack is dead, and > if anyone was creating this universe intelligently, the opposite would be > True. > > The only thing that I can hold from this is that I better get out there and > do some volunteer work with what remains of my life. I'm going to do that > right now. As long as this involves no wenches, I think that I'll be > relatively safe. Gotta watch out for wenches. They are more dangerous than > wrenches. > > A. > > On Wed, Aug 31, 2011 at 9:06 AM, William Benson (VBACreations.Com)< > vbacreations at gmail.com> wrote: > >> I think we left out "Are you into one-to-many relationships?" >> From jwcolby at colbyconsulting.com Wed Sep 7 13:22:12 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 07 Sep 2011 14:22:12 -0400 Subject: [AccessD] Of possible interest In-Reply-To: <610914D12AB544868F8FF0CBB80BC76B@creativesystemdesigns.com> References: <7090E912B0544D45A427C7B55D04A980@XPS> <610914D12AB544868F8FF0CBB80BC76B@creativesystemdesigns.com> Message-ID: <4E67B654.2010501@colbyconsulting.com> LOL. Not until they condense the 37 different technologies required down into one or two. John W. Colby www.ColbyConsulting.com On 9/7/2011 1:57 PM, Jim Lawrence wrote: > Excellent news and about time... It will not be long before we are all going > web based. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Wednesday, September 07, 2011 6:51 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Of possible interest > > picked this up from another list /group: > > http://www.zdnet.com/blog/microsoft/microsoft-to-focus-on-html5-and-javascri > pt-for-office-15-extensions/10266 > > Something to think about... > > Jim. From markamatte at hotmail.com Wed Sep 7 15:04:56 2011 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 7 Sep 2011 20:04:56 +0000 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <001601cc6d10$0f115440$2d33fcc0$@gmail.com> References: , , <4E6697B4.3080601@colbyconsulting.com>, , <002601cc6cfe$3a74d510$af5e7f30$@com.au> <4E66D3F2.25051.2899085E@stuart.lexacorp.com.pg> <001501cc6d0c$6efc10b0$4cf43210$@gmail.com>, <003101cc6d0d$a4552e30$ecff8a90$@com.au>, <001601cc6d10$0f115440$2d33fcc0$@gmail.com> Message-ID: I had to think twice... Me and SQL spend our days between SQL Server, Access, and Foxpro...last week I was moving some processes from Foxpro to SQL Server and I learned that in Foxpro the HAVING clause will utilize the calculation or the alias... just FYI... Mark M. > From: vbacreations at gmail.com > To: accessd at databaseadvisors.com > Date: Tue, 6 Sep 2011 23:41:41 -0400 > Subject: Re: [AccessD] String with "#" in VBA? > > No more than anyone else going from the top of their head. To wit, no one > else pointed out that the Having Clause required the actual computation. > And, no one pointed out (including me) that most non-calculated constraints > are put in a WHERE clause, not the Having clause. I would imagine the query > plan Access builds handles that kind of misappropriation without fuss > however. Some SQL which I generated using only the Access query designer > (with unneeded parens removed). > > SELECT Max(Tbl_GIB.LASTMODIFIED_DATE) AS MyMaxDate, 1+1 AS SomeCalc > FROM Tbl_GIB > WHERE Tbl_GIB.SITE_DB<>'Bill' > HAVING 1+1=2 And Max(Tbl_GIB.LASTMODIFIED_DATE) < #12/31/2050# > > This fails: > > SELECT Max(Tbl_GIB.LASTMODIFIED_DATE) AS MyMaxDate, 1+1 AS SomeCalc > FROM Tbl_GIB > WHERE Tbl_GIB.SITE_DB<>'Bill' > HAVING SomeCalc =2 > > > As does this > > SELECT Max(Tbl_GIB.LASTMODIFIED_DATE) AS MyMaxDate, 1+1 AS SomeCalc > FROM Tbl_GIB > HAVING MyMaxDate < #12/31/2050#; > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins > Sent: Tuesday, September 06, 2011 11:24 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] String with "#" in VBA? > > Yes, that syntax would be correct Bill. Man, I made a mess of this one > didn't I... hmmmmm. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > (VBACreations.Com) > Sent: Wednesday, 7 September 2011 1:16 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] String with "#" in VBA? > > I concur with the single-quotes and the comma additions... but I was not > aware you are allowed to use the result field's name in the HAVING clause, I > thought you needed to show the function again (see below)? > > > gstrSQL = "" > gstrSQL = gstrSQL & " SELECT" > gstrSQL = gstrSQL & " Activity," > gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF," > gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" > gstrSQL = gstrSQL & " FROM ProbC_tblActivities" > gstrSQL = gstrSQL & " GROUP BY Activity" > gstrSQL = gstrSQL & " HAVING Activity='#Input'" > gstrSQL = gstrSQL & " AND SUM(Activity_CF) <> 0" > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Tuesday, September 06, 2011 10:16 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] String with "#" in VBA? > > As others have pointed out, the # is not the problem. > > #Input is a string inside your SQL which needs to be delimited inside your > strSQL. > You are using double quotes as your strSQL building delimiter so the inner > variable needs to > be surrounded by single quotes. > > Also you are missing a comma after Total_CF > > > > Try this: > > gstrSQL = "SELECT " & _ > "Activity, " & _ > "SUM(Activity_CF) AS Total_CF," & _ > "SUM(Activity_DCF) AS Total_DCF " & _ > "FROM ProbC_tblActivities " & _ > "GROUP BY Activity " & _ > "HAVING Activity='#Input' " & _ > "AND Total_CF <> 0" & _ > > > > > On 7 Sep 2011 at 11:34, Darryl Collins wrote: > > > Uh oh... I thought today was going too darn well. > > > > I am working with data which has "#" as part of the string which > > causes the VBA code to fail > > > > For Example: > > > > gstrSQL = vbNullString > > gstrSQL = gstrSQL & " SELECT" > > gstrSQL = gstrSQL & " Activity," > > gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" > > gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" > > gstrSQL = gstrSQL & " FROM ProbC_tblActivities" > > gstrSQL = gstrSQL & " GROUP BY Activity" > > gstrSQL = gstrSQL & " HAVING Activity="#Input" > > gstrSQL = gstrSQL & " AND Total_CF <> 0" > > > > Which sort of makes sense as the # is used in VBA for Conditional > > Compile. > > > > Is there some way I can I get VBA to accept the # as part of the > > string and not a command? > > > > Google has fairly useless when searching for "#" as well. Bah > > humbubg. > > > > Cheers > > Darryl > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 fuller.artful at gmail.com Wed Sep 7 16:40:31 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 7 Sep 2011 17:40:31 -0400 Subject: [AccessD] :) In-Reply-To: <4E67B60E.90401@torchlake.com> References: <3D568192E72C468FB4DD4A4693553C54@SusanHarkins> <4E5CCF00.7000101@colbyconsulting.com> <4E5D4E1B.21029.3661FC1@stuart.lexacorp.com.pg> <9E95C48974A94C5D80EFB3444668BD61@HAL9007> <001401cc67de$d56db840$804928c0$@gmail.com> <4E67B60E.90401@torchlake.com> Message-ID: It's the winches that scare me! A. On Wed, Sep 7, 2011 at 2:21 PM, Tina Norris Fields < tinanfields at torchlake.com> wrote: > Okay, I just have to tell you guys this one. My Larry is from Indiana, > which means that he has some regional pronunciation idiosyncrasies. He > bought a new winch that he wanted mounted on the back end of his truck, so > he went to Sam, our local guru, and asked him, "Can I mount a wench on the > back of my truck?" To which, Sam responded, "Is Tina okay with this?" > Before Larry caught on to the meaning, he said, "Well, of course, she is!" > Then Sam said something about Larry's wife being more open-minded than his > own wife about other women. That's when the light went on for Larry. One > of our favorite little memories. :-) > > So, Arthur, you stay away from the wenches! > > Best, > T > From darryl at whittleconsulting.com.au Wed Sep 7 20:47:19 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 8 Sep 2011 11:47:19 +1000 Subject: [AccessD] Wish List. Message-ID: <000701cc6dc9$427bde90$c7739bb0$@com.au> Been doing a lot of work with forms. In particular single forms with a lot of controls that are hidden or revealed depending on what options are available. I really wish MS were inspired by Adobe with how form design behaves. Why can't forms be layered? So you can work on individual layers which only have the relevant controls for that layer, but when the form is displayed all layers are shown, just like an image in Photoshop for example. That would be super useful as right now if I want to change anything on first controls I added, I have to move all of the other controls on top out of the way, make the changes, and then put them all back again. A real PITA. Would be wonderful to turn on and off visibility on the layers and then it would be easy to access any set of controls that are just on that layer. I know I can sort of fake this by using tabs, is this a better way or does anyone has a different angle I can consider? Cheers Darryl. Darryl Collins Whittle Consulting Pty Ltd Suite 8, 660 Canterbury Rd Surrey Hills, VIC, 3127 p: +61 3 9898 3242 m: +61 418 381 548 f: +61 3 9898 1855 e: darryl at whittleconsulting.com.au w: www.whittleconsulting.com.au From accessd at shaw.ca Wed Sep 7 20:16:27 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 7 Sep 2011 18:16:27 -0700 Subject: [AccessD] Of possible interest In-Reply-To: <4E67B654.2010501@colbyconsulting.com> References: <7090E912B0544D45A427C7B55D04A980@XPS> <610914D12AB544868F8FF0CBB80BC76B@creativesystemdesigns.com> <4E67B654.2010501@colbyconsulting.com> Message-ID: <4470814838CB464C9023DDBC40A42735@creativesystemdesigns.com> According to a computer expert who has been in the business, forever, similar to us, (but has been extremely successful with third thriving companies) he said, "A person can only master one or two technologies and so other than a working knowledge in a few, don't waste you time." I like that concept so just I will just dump the other 35. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, September 07, 2011 11:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Of possible interest LOL. Not until they condense the 37 different technologies required down into one or two. John W. Colby www.ColbyConsulting.com On 9/7/2011 1:57 PM, Jim Lawrence wrote: > Excellent news and about time... It will not be long before we are all going > web based. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Wednesday, September 07, 2011 6:51 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Of possible interest > > picked this up from another list /group: > > http://www.zdnet.com/blog/microsoft/microsoft-to-focus-on-html5-and-javascri > pt-for-office-15-extensions/10266 > > Something to think about... > > Jim. -- 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 Sep 7 21:50:20 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 08 Sep 2011 12:50:20 +1000 Subject: [AccessD] Wish List. In-Reply-To: <000701cc6dc9$427bde90$c7739bb0$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> Message-ID: <4E682D6C.27223.2DDE8F35@stuart.lexacorp.com.pg> Group blocks of controls and then drag the groups you are working on down to below the visible area of the screen? On 8 Sep 2011 at 11:47, Darryl Collins wrote: > Been doing a lot of work with forms. In particular single forms with a > lot of controls that are hidden or revealed depending on what options > are available. I really wish MS were inspired by Adobe with how form > design behaves. Why can't forms be layered? So you can work on > individual layers which only have the relevant controls for that > layer, but when the form is displayed all layers are shown, just like > an image in Photoshop for example. > > > > That would be super useful as right now if I want to change anything > on first controls I added, I have to move all of the other controls on > top out of the way, make the changes, and then put them all back > again. A real PITA. Would be wonderful to turn on and off visibility > on the layers and then it would be easy to access any set of controls > that are just on that layer. > > > > I know I can sort of fake this by using tabs, is this a better way or > does anyone has a different angle I can consider? > > > > Cheers > > Darryl. > > > > Darryl Collins > > Whittle Consulting Pty Ltd > > Suite 8, 660 Canterbury Rd > > Surrey Hills, VIC, 3127 > > > > p: +61 3 9898 3242 > > m: +61 418 381 548 > > f: +61 3 9898 1855 > > e: > darryl at whittleconsulting.com.au > > w: > www.whittleconsulting.com.au > > > > -- > 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 Sep 7 21:00:10 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 7 Sep 2011 22:00:10 -0400 Subject: [AccessD] Wish List. In-Reply-To: <000701cc6dc9$427bde90$c7739bb0$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> Message-ID: I've never tried it, but I wonder if you can make the BackColor of a tab control transparent. I recall that in some (maybe all?) versions, you have an option of where to display the tabs themselves; I think it offered Top, Side and None. As long as we're wishing, I wish there were a Go-To-Control command in form design. Sometimes in complex forms with lots of controls, I can't find ctl_xxx no matter how hard I look. Arthur From vbacreations at gmail.com Wed Sep 7 22:16:16 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Wed, 7 Sep 2011 23:16:16 -0400 Subject: [AccessD] Wish List. In-Reply-To: <4E682D6C.27223.2DDE8F35@stuart.lexacorp.com.pg> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <4E682D6C.27223.2DDE8F35@stuart.lexacorp.com.pg> Message-ID: <000601cc6dd5$acff35d0$06fda170$@gmail.com> Tag property is your friend... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, September 07, 2011 10:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. Group blocks of controls and then drag the groups you are working on down to below the visible area of the screen? On 8 Sep 2011 at 11:47, Darryl Collins wrote: > Been doing a lot of work with forms. In particular single forms with a > lot of controls that are hidden or revealed depending on what options > are available. I really wish MS were inspired by Adobe with how form > design behaves. Why can't forms be layered? So you can work on > individual layers which only have the relevant controls for that > layer, but when the form is displayed all layers are shown, just like > an image in Photoshop for example. > > > > That would be super useful as right now if I want to change anything > on first controls I added, I have to move all of the other controls on > top out of the way, make the changes, and then put them all back > again. A real PITA. Would be wonderful to turn on and off visibility > on the layers and then it would be easy to access any set of controls > that are just on that layer. > > > > I know I can sort of fake this by using tabs, is this a better way or > does anyone has a different angle I can consider? > > > > Cheers > > Darryl. > > > > Darryl Collins > > Whittle Consulting Pty Ltd > > Suite 8, 660 Canterbury Rd > > Surrey Hills, VIC, 3127 > > > > p: +61 3 9898 3242 > > m: +61 418 381 548 > > f: +61 3 9898 1855 > > e: > darryl at whittleconsulting.com.au > > w: > www.whittleconsulting.com.au > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Thu Sep 8 01:18:32 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 7 Sep 2011 23:18:32 -0700 Subject: [AccessD] Wish List. In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> Message-ID: No, you can't, probably because that would defeat the purpose. If you want things to show up on all pages, they have to be on the tab control itself. Anything else only shows up on the page on which it's located. Charlotte Foust On Wed, Sep 7, 2011 at 7:00 PM, Arthur Fuller wrote: > I've never tried it, but I wonder if you can make the BackColor of a tab > control transparent. I recall that in some (maybe all?) versions, you have > an option of where to display the tabs themselves; I think it offered Top, > Side and None. > > As long as we're wishing, I wish there were a Go-To-Control command in form > design. Sometimes in complex forms with lots of controls, I can't find > ctl_xxx no matter how hard I look. > > Arthur > -- > 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 Sep 8 01:21:52 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 8 Sep 2011 16:21:52 +1000 Subject: [AccessD] Wish List. In-Reply-To: <000601cc6dd5$acff35d0$06fda170$@gmail.com> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <4E682D6C.27223.2DDE8F35@stuart.lexacorp.com.pg> <000601cc6dd5$acff35d0$06fda170$@gmail.com> Message-ID: <001401cc6def$9a0ac470$ce204d50$@com.au> Hah, I am already using tags to control which controls are visible when... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Thursday, 8 September 2011 1:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Wish List. Tag property is your friend... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, September 07, 2011 10:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. Group blocks of controls and then drag the groups you are working on down to below the visible area of the screen? On 8 Sep 2011 at 11:47, Darryl Collins wrote: > Been doing a lot of work with forms. In particular single forms with a > lot of controls that are hidden or revealed depending on what options > are available. I really wish MS were inspired by Adobe with how form > design behaves. Why can't forms be layered? So you can work on > individual layers which only have the relevant controls for that > layer, but when the form is displayed all layers are shown, just like > an image in Photoshop for example. > > > > That would be super useful as right now if I want to change anything > on first controls I added, I have to move all of the other controls on > top out of the way, make the changes, and then put them all back > again. A real PITA. Would be wonderful to turn on and off visibility > on the layers and then it would be easy to access any set of controls > that are just on that layer. > > > > I know I can sort of fake this by using tabs, is this a better way or > does anyone has a different angle I can consider? > > > > Cheers > > Darryl. > > > > Darryl Collins > > Whittle Consulting Pty Ltd > > Suite 8, 660 Canterbury Rd > > Surrey Hills, VIC, 3127 > > > > p: +61 3 9898 3242 > > m: +61 418 381 548 > > f: +61 3 9898 1855 > > e: > darryl at whittleconsulting.com.au > > w: > www.whittleconsulting.com.au > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 7 21:09:39 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 7 Sep 2011 19:09:39 -0700 Subject: [AccessD] Wish List. In-Reply-To: <000701cc6dc9$427bde90$c7739bb0$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> Message-ID: Microsoft addressed this years ago by introducing tab controls. Why on earth would you want to use layers that all showed up at the same time? Logically, layers would only show the controls relevant to that layer/page. Charlotte Foust On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Been doing a lot of work with forms. In particular single forms with a lot > of controls that are hidden or revealed depending on what options are > available. I really wish MS were inspired by Adobe with how form design > behaves. Why can't forms be layered? So you can work on individual layers > which only have the relevant controls for that layer, but when the form is > displayed all layers are shown, just like an image in Photoshop for > example. > > > > That would be super useful as right now if I want to change anything on > first controls I added, I have to move all of the other controls on top out > of the way, make the changes, and then put them all back again. A real > PITA. Would be wonderful to turn on and off visibility on the layers and > then it would be easy to access any set of controls that are just on that > layer. > > > > I know I can sort of fake this by using tabs, is this a better way or does > anyone has a different angle I can consider? > > > > Cheers > > Darryl. > > > > Darryl Collins > > Whittle Consulting Pty Ltd > > Suite 8, 660 Canterbury Rd > > Surrey Hills, VIC, 3127 > > > > p: +61 3 9898 3242 > > m: +61 418 381 548 > > f: +61 3 9898 1855 > > e: > darryl at whittleconsulting.com.au > > w: > > www.whittleconsulting.com.au > > > > > > -- > 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 Sep 7 21:37:45 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 7 Sep 2011 22:37:45 -0400 Subject: [AccessD] Of possible interest In-Reply-To: <4470814838CB464C9023DDBC40A42735@creativesystemdesigns.com> References: <7090E912B0544D45A427C7B55D04A980@XPS> <610914D12AB544868F8FF0CBB80BC76B@creativesystemdesigns.com> <4E67B654.2010501@colbyconsulting.com> <4470814838CB464C9023DDBC40A42735@creativesystemdesigns.com> Message-ID: I'm with you on that, Jim. I waste far too much time putzing around with technologies I'm never going to work in. I should learn to concentrate on the two I know best and forget about all the other stuff. On Wed, Sep 7, 2011 at 9:16 PM, Jim Lawrence wrote: > According to a computer expert who has been in the business, forever, > similar to us, (but has been extremely successful with third thriving > companies) he said, "A person can only master one or two technologies and > so > other than a working knowledge in a few, don't waste you time." > > I like that concept so just I will just dump the other 35. ;-) > > Jim > > From jwcolby at colbyconsulting.com Wed Sep 7 23:39:45 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 08 Sep 2011 00:39:45 -0400 Subject: [AccessD] Of possible interest In-Reply-To: <4470814838CB464C9023DDBC40A42735@creativesystemdesigns.com> References: <7090E912B0544D45A427C7B55D04A980@XPS> <610914D12AB544868F8FF0CBB80BC76B@creativesystemdesigns.com> <4E67B654.2010501@colbyconsulting.com> <4470814838CB464C9023DDBC40A42735@creativesystemdesigns.com> Message-ID: <4E684711.3020806@colbyconsulting.com> And that is my point exactly. Every time I look at web stuff it is 37 different things that I have to learn. .Net has finally gotten us down to just a handful. John W. Colby www.ColbyConsulting.com On 9/7/2011 9:16 PM, Jim Lawrence wrote: > According to a computer expert who has been in the business, forever, > similar to us, (but has been extremely successful with third thriving > companies) he said, "A person can only master one or two technologies and so > other than a working knowledge in a few, don't waste you time." > > I like that concept so just I will just dump the other 35. ;-) > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Wednesday, September 07, 2011 11:22 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Of possible interest > > LOL. Not until they condense the 37 different technologies required down > into one or two. > > John W. Colby > www.ColbyConsulting.com > > On 9/7/2011 1:57 PM, Jim Lawrence wrote: >> Excellent news and about time... It will not be long before we are all > going >> web based. >> >> Jim >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman >> Sent: Wednesday, September 07, 2011 6:51 AM >> To: 'Access Developers discussion and problem solving' >> Subject: [AccessD] Of possible interest >> >> picked this up from another list /group: >> >> > http://www.zdnet.com/blog/microsoft/microsoft-to-focus-on-html5-and-javascri >> pt-for-office-15-extensions/10266 >> >> Something to think about... >> >> Jim. From accessd at shaw.ca Wed Sep 7 22:22:50 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 7 Sep 2011 20:22:50 -0700 Subject: [AccessD] Wish List. In-Reply-To: <000701cc6dc9$427bde90$c7739bb0$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> Message-ID: <119C27B2D4EF415DBBFB653662F6DFEA@creativesystemdesigns.com> You are right "tab faking" is the best so far. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, September 07, 2011 6:47 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Wish List. Been doing a lot of work with forms. In particular single forms with a lot of controls that are hidden or revealed depending on what options are available. I really wish MS were inspired by Adobe with how form design behaves. Why can't forms be layered? So you can work on individual layers which only have the relevant controls for that layer, but when the form is displayed all layers are shown, just like an image in Photoshop for example. That would be super useful as right now if I want to change anything on first controls I added, I have to move all of the other controls on top out of the way, make the changes, and then put them all back again. A real PITA. Would be wonderful to turn on and off visibility on the layers and then it would be easy to access any set of controls that are just on that layer. I know I can sort of fake this by using tabs, is this a better way or does anyone has a different angle I can consider? Cheers Darryl. Darryl Collins Whittle Consulting Pty Ltd Suite 8, 660 Canterbury Rd Surrey Hills, VIC, 3127 p: +61 3 9898 3242 m: +61 418 381 548 f: +61 3 9898 1855 e: darryl at whittleconsulting.com.au w: www.whittleconsulting.com.au -- 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 Sep 8 01:57:21 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 8 Sep 2011 16:57:21 +1000 Subject: [AccessD] Wish List. In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> Message-ID: <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> Hi Charlotte - forgive me for this as I really respect your opinion, but I am not sure you understand how layers work in other applications - they would never show up all at the same time (unless that is what you wanted). You can control which ones are visible to the user - might be one, might be several in different combinations and you can show and reveal based on what the user needs. Layers would also have the huge advantage of allowing you to edit each layer individually in design mode. So you have no need to move controls out of the way to get to a control that is under another one. Have play in photoshop if you get the chance and you will see how useful this method is. I know I can fake it using a tab form but the result is less elegant you cannot hide the tab label itself and it is a pain to ensure all the controls on each tab is aligned. Blah blah, I have resorted to tabs in the past and it is a clunky solution for what I am trying to do. That said, sometimes tabbed forms are the way to go. Just depends on what you want to achieve. In this instance I was thinking "Man, wish I had a layered design view"... Just my thoughts. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 8 September 2011 12:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. Microsoft addressed this years ago by introducing tab controls. Why on earth would you want to use layers that all showed up at the same time? Logically, layers would only show the controls relevant to that layer/page. Charlotte Foust On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Been doing a lot of work with forms. In particular single forms with a lot > of controls that are hidden or revealed depending on what options are > available. I really wish MS were inspired by Adobe with how form design > behaves. Why can't forms be layered? So you can work on individual layers > which only have the relevant controls for that layer, but when the form is > displayed all layers are shown, just like an image in Photoshop for > example. > > > > That would be super useful as right now if I want to change anything on > first controls I added, I have to move all of the other controls on top out > of the way, make the changes, and then put them all back again. A real > PITA. Would be wonderful to turn on and off visibility on the layers and > then it would be easy to access any set of controls that are just on that > layer. > > > > I know I can sort of fake this by using tabs, is this a better way or does > anyone has a different angle I can consider? > > > > Cheers > > Darryl. > > > > Darryl Collins > > Whittle Consulting Pty Ltd > > Suite 8, 660 Canterbury Rd > > Surrey Hills, VIC, 3127 > > > > p: +61 3 9898 3242 > > m: +61 418 381 548 > > f: +61 3 9898 1855 > > e: > darryl at whittleconsulting.com.au > > w: > > www.whittleconsulting.com.au > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 8 08:12:51 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Thu, 8 Sep 2011 09:12:51 -0400 Subject: [AccessD] Wish List. In-Reply-To: <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> Message-ID: <000d01cc6e29$03d46f30$0b7d4d90$@gmail.com> Hear Hear! Or is it "Here Here!" Either way, I'm with you Darryl. It's amazing what Access developers put up with, and what the user is still willing to pay for (for now). Maybe a way you can handle this is to build several forms with identical controls (or supplemental ones) but a single naming scheme, to depict scenario-based controls in the proper position. The sterile forms just hold controls, no data and no code. The "live" form is the one which keeps all controls, but basically has anything not needed in a "scenario" tucked out of the visible range. Any time a scenario changes, you consult the sterile form, put all the control names and positions and sizes in an array (might not really need the sizes, but might if you had to play with sizes of the live-form's controls in order to "park" them somewhere out of the way etc)... then build a collection of all controls NOT in that array, park them out of the way, then reposition what is left over according to the array of controls you read off the sterile forms. Just an idea ... keeps your options open. Bill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Thursday, September 08, 2011 2:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Wish List. Hi Charlotte - forgive me for this as I really respect your opinion, but I am not sure you understand how layers work in other applications - they would never show up all at the same time (unless that is what you wanted). You can control which ones are visible to the user - might be one, might be several in different combinations and you can show and reveal based on what the user needs. Layers would also have the huge advantage of allowing you to edit each layer individually in design mode. So you have no need to move controls out of the way to get to a control that is under another one. Have play in photoshop if you get the chance and you will see how useful this method is. I know I can fake it using a tab form but the result is less elegant you cannot hide the tab label itself and it is a pain to ensure all the controls on each tab is aligned. Blah blah, I have resorted to tabs in the past and it is a clunky solution for what I am trying to do. That said, sometimes tabbed forms are the way to go. Just depends on what you want to achieve. In this instance I was thinking "Man, wish I had a layered design view"... Just my thoughts. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 8 September 2011 12:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. Microsoft addressed this years ago by introducing tab controls. Why on earth would you want to use layers that all showed up at the same time? Logically, layers would only show the controls relevant to that layer/page. Charlotte Foust On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Been doing a lot of work with forms. In particular single forms with a lot > of controls that are hidden or revealed depending on what options are > available. I really wish MS were inspired by Adobe with how form design > behaves. Why can't forms be layered? So you can work on individual layers > which only have the relevant controls for that layer, but when the form is > displayed all layers are shown, just like an image in Photoshop for > example. > > > > That would be super useful as right now if I want to change anything on > first controls I added, I have to move all of the other controls on top out > of the way, make the changes, and then put them all back again. A real > PITA. Would be wonderful to turn on and off visibility on the layers and > then it would be easy to access any set of controls that are just on that > layer. > > > > I know I can sort of fake this by using tabs, is this a better way or does > anyone has a different angle I can consider? > > > > Cheers > > Darryl. > > > > Darryl Collins > > Whittle Consulting Pty Ltd > > Suite 8, 660 Canterbury Rd > > Surrey Hills, VIC, 3127 > > > > p: +61 3 9898 3242 > > m: +61 418 381 548 > > f: +61 3 9898 1855 > > e: > darryl at whittleconsulting.com.au > > w: > > www.whittleconsulting.com.au > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 rusty.hammond at cpiqpc.com Thu Sep 8 08:45:31 2011 From: rusty.hammond at cpiqpc.com (Rusty Hammond) Date: Thu, 8 Sep 2011 08:45:31 -0500 Subject: [AccessD] Wish List. In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> Message-ID: <49A286ABF515E94A8505CD14DEB721701744A125@CPIEMAIL-EVS1.CPIQPC.NET> Arthur, In design view, on the Formatting toolbar, there is a drop down that lists all of the controls on your form. Pick the control you want and it selects that control on the form. HTH, Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, September 07, 2011 9:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. I've never tried it, but I wonder if you can make the BackColor of a tab control transparent. I recall that in some (maybe all?) versions, you have an option of where to display the tabs themselves; I think it offered Top, Side and None. As long as we're wishing, I wish there were a Go-To-Control command in form design. Sometimes in complex forms with lots of controls, I can't find ctl_xxx no matter how hard I look. Arthur -- 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 Gustav at cactus.dk Thu Sep 8 08:51:45 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 08 Sep 2011 15:51:45 +0200 Subject: [AccessD] Wish List. Message-ID: Hi Darryl Perhaps you could use a paged form. One page for each scenario. Controls needed on more than one page you just duplicate. It's the technique used for wizards in the (old) versions of Access; move Next or Back just moves the form to the next or previous page. Simple and fast. /gustav >>> darryl at whittleconsulting.com.au 08-09-2011 08:57 >>> Hi Charlotte - forgive me for this as I really respect your opinion, but I am not sure you understand how layers work in other applications - they would never show up all at the same time (unless that is what you wanted). You can control which ones are visible to the user - might be one, might be several in different combinations and you can show and reveal based on what the user needs. Layers would also have the huge advantage of allowing you to edit each layer individually in design mode. So you have no need to move controls out of the way to get to a control that is under another one. Have play in photoshop if you get the chance and you will see how useful this method is. I know I can fake it using a tab form but the result is less elegant you cannot hide the tab label itself and it is a pain to ensure all the controls on each tab is aligned. Blah blah, I have resorted to tabs in the past and it is a clunky solution for what I am trying to do. That said, sometimes tabbed forms are the way to go. Just depends on what you want to achieve. In this instance I was thinking "Man, wish I had a layered design view"... Just my thoughts. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 8 September 2011 12:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. Microsoft addressed this years ago by introducing tab controls. Why on earth would you want to use layers that all showed up at the same time? Logically, layers would only show the controls relevant to that layer/page. Charlotte Foust On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Been doing a lot of work with forms. In particular single forms with a lot > of controls that are hidden or revealed depending on what options are > available. I really wish MS were inspired by Adobe with how form design > behaves. Why can't forms be layered? So you can work on individual layers > which only have the relevant controls for that layer, but when the form is > displayed all layers are shown, just like an image in Photoshop for > example. > > That would be super useful as right now if I want to change anything on > first controls I added, I have to move all of the other controls on top out > of the way, make the changes, and then put them all back again. A real > PITA. Would be wonderful to turn on and off visibility on the layers and > then it would be easy to access any set of controls that are just on that > layer. > > I know I can sort of fake this by using tabs, is this a better way or does > anyone has a different angle I can consider? > > Cheers > Darryl. From tinanfields at torchlake.com Thu Sep 8 09:18:30 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 08 Sep 2011 10:18:30 -0400 Subject: [AccessD] How to troubleshoot In-Reply-To: <4E563B61.30005@colbyconsulting.com> References: <4E55B105.8070604@colbyconsulting.com> <4E563B61.30005@colbyconsulting.com> Message-ID: <4E68CEB6.6010802@torchlake.com> Now THAT'S weird! But, I have to admit I've run into similar situations, and I have no clue what's really going on! T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 8/25/2011 8:09 AM, jwcolby wrote: > Rocky, > > In my case I am developing in Access 2003 but running it under 2007 > runtime so that I can distribute it for free. The application ran > everywhere except under runtime. The application was running, even > under runtime, and then something occurred in a version about a month > ago and it stopped running under runtime, returning that error > message. It still ran under the dev environment. Another application > I built was still running under runtime, so it is not the runtime > install. > > I found the latest version that still ran under runtime and started > comparing the startup code. Basically the "bad" version was failing > even before my little security log in form opened. > > There is an Init() function with about 8 functions which init() calls > and I decided to start at the very end and comment out line by line > until the db opened. The very last line in Init() opened the > switchboard. That line cannot even run until the log in occurs, > however when I commented out that last line (open switchboard) the > database opened under runtime and allowed me to log in, although it > didn't open the switchboard after the log in (of course). > > Hmmmm... a line of code not even reached is preventing the database > from even opening. > > I uncommented that line and it still runs under runtime. Hmm.... > > Problem solved, but what was the problem? > > I had done a complete decompile / compile / compact cycle and that did > not solve the problem, but commenting and uncommenting a line that is > not even executed until after log in allows the database to open, let > me log in and open the switchboard. > > John W. Colby > www.ColbyConsulting.com > > On 8/25/2011 12:23 AM, Rocky Smolin wrote: >> Don't know but I'm getting that "has stopped working" in 2003 in both >> Access >> and Outlook (don't use word or excel much but they may have the same >> problem) - Access in mdbs, Outlook when I'm writing an email. Don't >> know >> what to do about it. >> >> Rocky >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: August 24, 2011 7:19 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] How to troubleshoot >> >> Any clue how to troubleshoot "Access has stopped working" in the 2007 >> runtime? I have a version that works just fine, and another app >> works just >> fine but the latest version just immediately closes giving that error >> message. "A problem sending a command to the program". >> >> -- >> John W. Colby >> www.ColbyConsulting.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> From tinanfields at torchlake.com Thu Sep 8 09:38:47 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 08 Sep 2011 10:38:47 -0400 Subject: [AccessD] 12-biggest-pc-duds-ever In-Reply-To: <005101cc6383$88e24ea0$9aa6ebe0$@gmail.com> References: <005101cc6383$88e24ea0$9aa6ebe0$@gmail.com> Message-ID: <4E68D377.6080709@torchlake.com> Fascinating! I bought the Commodore 128 in 1986 and used it for doing things like printing customized airway bills for my customers (at the time I was in outside sales for an international air freight forwarder). I had it and used it when I went back to college in 1988. Learned most of my BASIC programming on that machine. It could be run CPM or something like DOS (not real DOS, but something like it). When I bought my 'luggable' lunch-box-style portable computer (40Mb hard drive, LED screen, 640K RAM), I continued to use the Commodore as my second or stand-by machine. By the time I moved back to my family farm in Michigan (1991), the Commodore was just something I couldn't quite let go of, but never really used - except for the monitor - that was one really nice monitor! T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 8/25/2011 8:03 PM, William Benson (VBACreations.Com) wrote: > Might interest those who did or did not buy one of these... > http://www.pcmag.com/slideshow/story/286031/the-12-biggest-pc-duds-ever/1 > > From marksimms at verizon.net Thu Sep 8 10:51:57 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 08 Sep 2011 11:51:57 -0400 Subject: [AccessD] Of possible interest In-Reply-To: <4470814838CB464C9023DDBC40A42735@creativesystemdesigns.com> References: <7090E912B0544D45A427C7B55D04A980@XPS> <610914D12AB544868F8FF0CBB80BC76B@creativesystemdesigns.com> <4E67B654.2010501@colbyconsulting.com> <4470814838CB464C9023DDBC40A42735@creativesystemdesigns.com> Message-ID: <014b01cc6e3f$3e809170$bb81b450$@net> Webdev has always been a endeavor similar to making sausage. This never seems to change. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Wednesday, September 07, 2011 9:16 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Of possible interest > > According to a computer expert who has been in the business, forever, > similar to us, (but has been extremely successful with third thriving > companies) he said, "A person can only master one or two technologies > and so > other than a working knowledge in a few, don't waste you time." > > I like that concept so just I will just dump the other 35. ;-) > > Jim > > From charlotte.foust at gmail.com Thu Sep 8 10:56:16 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 8 Sep 2011 08:56:16 -0700 Subject: [AccessD] Wish List. In-Reply-To: <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> Message-ID: I do know how they work, but I was confused by what I understood of your description. What you're describing is exactly what tab controls are for, and I've used them that way in both Access and VB.Net. All you need to do with a tab control is select the tab page and that brings the controls on that page up for you to edit. In effect, you see them the way the user does, except for any controls that you make conditionally visible to the user when that page is up. Those, of course, you see in design view all the time. I'm not sure what you mean about not hiding the tab label. If you're talking about the tabs themselves, they can be turned off so that you control the visible page through code. In Access and .Net, I simply have used the top and left settigs to insure that things lined up. How hard is that? As for photoshop, I hate it. It seems to me the ultimate in non-intuitive UIs, but I admit to being a luddite on some issues, especially with respect to graphics. Charlotte Foust On Wed, Sep 7, 2011 at 11:57 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hi Charlotte - forgive me for this as I really respect your opinion, but I > am not sure you understand how layers work in other applications - they > would never show up all at the same time (unless that is what you wanted). > You can control which ones are visible to the user - might be one, might be > several in different combinations and you can show and reveal based on what > the user needs. > > Layers would also have the huge advantage of allowing you to edit each > layer > individually in design mode. So you have no need to move controls out of > the way to get to a control that is under another one. Have play in > photoshop if you get the chance and you will see how useful this method is. > I know I can fake it using a tab form but the result is less elegant you > cannot hide the tab label itself and it is a pain to ensure all the > controls > on each tab is aligned. Blah blah, I have resorted to tabs in the past and > it is a clunky solution for what I am trying to do. > > That said, sometimes tabbed forms are the way to go. Just depends on what > you want to achieve. In this instance I was thinking "Man, wish I had a > layered design view"... > > Just my thoughts. > Cheers > Darryl. > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Thursday, 8 September 2011 12:10 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Wish List. > > Microsoft addressed this years ago by introducing tab controls. Why on > earth would you want to use layers that all showed up at the same time? > Logically, layers would only show the controls relevant to that layer/page. > > Charlotte Foust > On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Been doing a lot of work with forms. In particular single forms with a > lot > > of controls that are hidden or revealed depending on what options are > > available. I really wish MS were inspired by Adobe with how form design > > behaves. Why can't forms be layered? So you can work on individual > layers > > which only have the relevant controls for that layer, but when the form > is > > displayed all layers are shown, just like an image in Photoshop for > > example. > > > > > > > > That would be super useful as right now if I want to change anything on > > first controls I added, I have to move all of the other controls on top > out > > of the way, make the changes, and then put them all back again. A real > > PITA. Would be wonderful to turn on and off visibility on the layers and > > then it would be easy to access any set of controls that are just on that > > layer. > > > > > > > > I know I can sort of fake this by using tabs, is this a better way or > does > > anyone has a different angle I can consider? > > > > > > > > Cheers > > > > Darryl. > > > > > > > > Darryl Collins > > > > Whittle Consulting Pty Ltd > > > > Suite 8, 660 Canterbury Rd > > > > Surrey Hills, VIC, 3127 > > > > > > > > p: +61 3 9898 3242 > > > > m: +61 418 381 548 > > > > f: +61 3 9898 1855 > > > > e: > > darryl at whittleconsulting.com.au > > > > w: > > > > > > www.whittleconsulting.com.au > > > > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From marksimms at verizon.net Thu Sep 8 12:47:27 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 08 Sep 2011 13:47:27 -0400 Subject: [AccessD] Wish List. In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> Message-ID: <018301cc6e4f$60f20fd0$22d62f70$@net> I think there is some confusion here over multipage vs. tab controls. I never really determined how/when to use the latter. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Thursday, September 08, 2011 11:56 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Wish List. > > I do know how they work, but I was confused by what I understood of > your > description. What you're describing is exactly what tab controls are > for, > and I've used them that way in both Access and VB.Net. All you need to > do > with a tab control is select the tab page and that brings the controls > on > that page up for you to edit. In effect, you see them the way the user > does, except for any controls that you make conditionally visible to > the > user when that page is up. Those, of course, you see in design view > all the > time. From charlotte.foust at gmail.com Thu Sep 8 13:13:23 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 8 Sep 2011 11:13:23 -0700 Subject: [AccessD] Wish List. In-Reply-To: <018301cc6e4f$60f20fd0$22d62f70$@net> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> Message-ID: I never do multipage without tab controls, there are just too many drawbacks and problems otherwise. Each tab page contains either controls or subforms, which contain controls. It depends on whether the entire form is bound to one data set or each page draws from different sources. That eliminates the need for a complicated query behind the main form because each subform on whichever tab page has its own data source and is bound to the parent dataset using the master/child links or bound JIT. Alternatively (JIT), unbound subforms are populated from code based on whatever criteria are set at the parent level, but not until the tab page has been selected. On Thu, Sep 8, 2011 at 10:47 AM, Mark Simms wrote: > I think there is some confusion here over multipage vs. tab controls. > I never really determined how/when to use the latter. > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > > bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > > Sent: Thursday, September 08, 2011 11:56 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Wish List. > > > > I do know how they work, but I was confused by what I understood of > > your > > description. What you're describing is exactly what tab controls are > > for, > > and I've used them that way in both Access and VB.Net. All you need to > > do > > with a tab control is select the tab page and that brings the controls > > on > > that page up for you to edit. In effect, you see them the way the user > > does, except for any controls that you make conditionally visible to > > the > > user when that page is up. Those, of course, you see in design view > > all the > > time. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From jwcolby at colbyconsulting.com Thu Sep 8 13:20:48 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 08 Sep 2011 14:20:48 -0400 Subject: [AccessD] Wish List. In-Reply-To: <018301cc6e4f$60f20fd0$22d62f70$@net> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> Message-ID: <4E690780.30904@colbyconsulting.com> I also think there is some confusion about what page means. There is actually a page control which if inserted on a form causes the form to "page down" when the page down control is hit. It is nothing more than a tiny little control that is inserted at some point vertically in the form. I never use it because it feels clunky. What another lister was discussing is dynamically loading forms as the user moves through "pages" of a wizard. that is completely different. In that case all of the controls are literally in a subform which is of course just another form. John W. Colby www.ColbyConsulting.com On 9/8/2011 1:47 PM, Mark Simms wrote: > I think there is some confusion here over multipage vs. tab controls. > I never really determined how/when to use the latter. > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd- >> bounces at databaseadvisors.com] On Behalf Of Charlotte Foust >> Sent: Thursday, September 08, 2011 11:56 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Wish List. >> >> I do know how they work, but I was confused by what I understood of >> your >> description. What you're describing is exactly what tab controls are >> for, >> and I've used them that way in both Access and VB.Net. All you need to >> do >> with a tab control is select the tab page and that brings the controls >> on >> that page up for you to edit. In effect, you see them the way the user >> does, except for any controls that you make conditionally visible to >> the >> user when that page is up. Those, of course, you see in design view >> all the >> time. > > From marksimms at verizon.net Thu Sep 8 14:18:40 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 08 Sep 2011 15:18:40 -0400 Subject: [AccessD] Wish List. In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> Message-ID: <003101cc6e5c$1e87bac0$5b973040$@net> Once again I think confusion abounds: Multipage has tabs with associated pages to allow insertion of other controls, etc. The Tab Control is just this tiny thing that has tabs with no pages. From jimdettman at verizon.net Thu Sep 8 15:10:45 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 08 Sep 2011 16:10:45 -0400 Subject: [AccessD] Wish List. In-Reply-To: <4E690780.30904@colbyconsulting.com> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <4E690780.30904@colbyconsulting.com> Message-ID: <741B2D4E45DD422F9132F66C063664FE@XPS> I used the pages breaks in forms before there was a tab control. I placed page buttons in the group footer along with some hidden controls in each section to jump to a "page". It was extremely fast. The major limitation of course was 22" of space. Tab controls solved that, so there is really no reason to use the page breaks anymore. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, September 08, 2011 02:21 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. I also think there is some confusion about what page means. There is actually a page control which if inserted on a form causes the form to "page down" when the page down control is hit. It is nothing more than a tiny little control that is inserted at some point vertically in the form. I never use it because it feels clunky. What another lister was discussing is dynamically loading forms as the user moves through "pages" of a wizard. that is completely different. In that case all of the controls are literally in a subform which is of course just another form. John W. Colby www.ColbyConsulting.com On 9/8/2011 1:47 PM, Mark Simms wrote: > I think there is some confusion here over multipage vs. tab controls. > I never really determined how/when to use the latter. > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd- >> bounces at databaseadvisors.com] On Behalf Of Charlotte Foust >> Sent: Thursday, September 08, 2011 11:56 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Wish List. >> >> I do know how they work, but I was confused by what I understood of >> your >> description. What you're describing is exactly what tab controls are >> for, >> and I've used them that way in both Access and VB.Net. All you need to >> do >> with a tab control is select the tab page and that brings the controls >> on >> that page up for you to edit. In effect, you see them the way the user >> does, except for any controls that you make conditionally visible to >> the >> user when that page is up. Those, of course, you see in design view >> all the >> time. > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Thu Sep 8 15:34:12 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Thu, 8 Sep 2011 16:34:12 -0400 Subject: [AccessD] Wish List. In-Reply-To: <741B2D4E45DD422F9132F66C063664FE@XPS> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <4E690780.30904@colbyconsulting.com> <741B2D4E45DD422F9132F66C063664FE@XPS> Message-ID: <001501cc6e66$aeed7960$0cc86c20$@gmail.com> Hey - since I just whipped the idea off the top of my head I would love to hear feedback (good or bad - no sense chasing a bad idea either) on the idea I posted back in this thread (multiple forms to help with layout issues). Thx. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, September 08, 2011 4:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Wish List. I used the pages breaks in forms before there was a tab control. I placed page buttons in the group footer along with some hidden controls in each section to jump to a "page". It was extremely fast. The major limitation of course was 22" of space. Tab controls solved that, so there is really no reason to use the page breaks anymore. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, September 08, 2011 02:21 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. I also think there is some confusion about what page means. There is actually a page control which if inserted on a form causes the form to "page down" when the page down control is hit. It is nothing more than a tiny little control that is inserted at some point vertically in the form. I never use it because it feels clunky. What another lister was discussing is dynamically loading forms as the user moves through "pages" of a wizard. that is completely different. In that case all of the controls are literally in a subform which is of course just another form. John W. Colby www.ColbyConsulting.com On 9/8/2011 1:47 PM, Mark Simms wrote: > I think there is some confusion here over multipage vs. tab controls. > I never really determined how/when to use the latter. > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd- >> bounces at databaseadvisors.com] On Behalf Of Charlotte Foust >> Sent: Thursday, September 08, 2011 11:56 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Wish List. >> >> I do know how they work, but I was confused by what I understood of >> your >> description. What you're describing is exactly what tab controls are >> for, >> and I've used them that way in both Access and VB.Net. All you need to >> do >> with a tab control is select the tab page and that brings the controls >> on >> that page up for you to edit. In effect, you see them the way the user >> does, except for any controls that you make conditionally visible to >> the >> user when that page is up. Those, of course, you see in design view >> all the >> time. > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Thu Sep 8 15:48:26 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 8 Sep 2011 13:48:26 -0700 Subject: [AccessD] Wish List. In-Reply-To: <003101cc6e5c$1e87bac0$5b973040$@net> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <003101cc6e5c$1e87bac0$5b973040$@net> Message-ID: I'm not sure which version the multipage control was introduced in (probably 2007), but it serves the same purpose as the tab control was introduced for back in A95 or A97. Tab controls actually do have pages, which you insert much the same way, although they aren't very intuitive either. I don't know why they came up with another control to do the same thing, but such is the world of Microsoft. Charlotte Foust On Thu, Sep 8, 2011 at 12:18 PM, Mark Simms wrote: > Once again I think confusion abounds: > Multipage has tabs with associated pages to allow insertion of other > controls, etc. > The Tab Control is just this tiny thing that has tabs with no pages. > > > -- > 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 Sep 8 18:48:17 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Fri, 9 Sep 2011 09:48:17 +1000 Subject: [AccessD] Wish List. In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <003101cc6e5c$1e87bac0$5b973040$@net> Message-ID: <000001cc6e81$c8c7de00$5a579a00$@com.au> Aaah, thanks everyone for their thoughts and comments. It is entirely possible that I am just doing this the hard way (wouldn't be the first time). Anyway, I will probably end up using tabs like always. I don't like the way you have to leave the label visible at the top of the page though - even if only one tab is displayed. Visually it is not what I want, but I guess its all I have to work with. Anyway, didn't mean to get folks fired up about what is a tab or what is a page. Sometimes I think it would be nice if you could take the best of all the software UI and include it in a single package. Ok: Here is another prime example of poor user functionality - or more like sheer bloody laziness on behalf of MSoft. If I am using Firefox tabs in the browser, right on the *Active* tab there is a little "X" on the RHS of that tab that allows you to close it. Nice and useful, don't have to move the mouse far and it is darn clear which tab you are going to close. In A2007 (which uses a tab setup to display all the open DB objects such as forms, tables, queries etc) the close button is on the extreme RHS of the *Screen* - freakin miles away from where you are actually working. Now I have huge widescreen monitor at work and if I have single tab open there is about 1 foot (say 28 cms) of screen real estate between the active tab I am working on, and the little 'close tab' "x" on the RHS of the screen. Even more annoying is if you have many tabs open, you need to double check the one want to close is indeed the active tab before pressing the "x" - ok there are other ways of closing the tab, such as right mouse click directly on the tab, but why on earth didn't they just put the close "X" on the active tab like everyone else does. Little gripes, I wouldn't mind so much if I didn't have to pay MS so darn much for their software. I don't mind paying, but I expect better functionality and performance than I can get for free from other vendors. Heh, can you tell I need a coffee ;) Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, 9 September 2011 6:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. I'm not sure which version the multipage control was introduced in (probably 2007), but it serves the same purpose as the tab control was introduced for back in A95 or A97. Tab controls actually do have pages, which you insert much the same way, although they aren't very intuitive either. I don't know why they came up with another control to do the same thing, but such is the world of Microsoft. Charlotte Foust On Thu, Sep 8, 2011 at 12:18 PM, Mark Simms wrote: > Once again I think confusion abounds: > Multipage has tabs with associated pages to allow insertion of other > controls, etc. > The Tab Control is just this tiny thing that has tabs with no pages. > From vbacreations at gmail.com Thu Sep 8 18:57:01 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 8 Sep 2011 19:57:01 -0400 Subject: [AccessD] Wish List. In-Reply-To: <000001cc6e81$c8c7de00$5a579a00$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <003101cc6e5c$1e87bac0$5b973040$@net> <000001cc6e81$c8c7de00$5a579a00$@com.au> Message-ID: Or had too much coffee ... On Sep 8, 2011 7:53 PM, "Darryl Collins" wrote: > Aaah, thanks everyone for their thoughts and comments. It is entirely > possible that I am just doing this the hard way (wouldn't be the first > time). Anyway, I will probably end up using tabs like always. > > I don't like the way you have to leave the label visible at the top of the > page though - even if only one tab is displayed. Visually it is not what I > want, but I guess its all I have to work with. > > Anyway, didn't mean to get folks fired up about what is a tab or what is a > page. Sometimes I think it would be nice if you could take the best of all > the software UI and include it in a single package. > > Ok: Here is another prime example of poor user functionality - or more like > sheer bloody laziness on behalf of MSoft. If I am using Firefox tabs in the > browser, right on the *Active* tab there is a little "X" on the RHS of that > tab that allows you to close it. Nice and useful, don't have to move the > mouse far and it is darn clear which tab you are going to close. > > In A2007 (which uses a tab setup to display all the open DB objects such as > forms, tables, queries etc) the close button is on the extreme RHS of the > *Screen* - freakin miles away from where you are actually working. Now I > have huge widescreen monitor at work and if I have single tab open there is > about 1 foot (say 28 cms) of screen real estate between the active tab I am > working on, and the little 'close tab' "x" on the RHS of the screen. Even > more annoying is if you have many tabs open, you need to double check the > one want to close is indeed the active tab before pressing the "x" > > - ok there are other ways of closing the tab, such as right mouse click > directly on the tab, but why on earth didn't they just put the close "X" on > the active tab like everyone else does. > > Little gripes, I wouldn't mind so much if I didn't have to pay MS so darn > much for their software. I don't mind paying, but I expect better > functionality and performance than I can get for free from other vendors. > > Heh, can you tell I need a coffee ;) > > Cheers > Darryl. > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Friday, 9 September 2011 6:48 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Wish List. > > I'm not sure which version the multipage control was introduced in (probably > 2007), but it serves the same purpose as the tab control was introduced for > back in A95 or A97. Tab controls actually do have pages, which you insert > much the same way, although they aren't very intuitive either. I don't know > why they came up with another control to do the same thing, but such is the > world of Microsoft. > > Charlotte Foust > > On Thu, Sep 8, 2011 at 12:18 PM, Mark Simms wrote: > >> Once again I think confusion abounds: >> Multipage has tabs with associated pages to allow insertion of other >> controls, etc. >> The Tab Control is just this tiny thing that has tabs with no pages. >> > > > -- > 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 Sep 8 19:02:07 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Fri, 9 Sep 2011 10:02:07 +1000 Subject: [AccessD] Wish List. In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> Message-ID: <000101cc6e83$b72b2150$258163f0$@com.au> " I'm not sure what you mean about not hiding the tab label." At the top of every tab you have a label (tab) which sticks up above the rest of the form - the bit the user presses to change tabs if more than one tab is visible. The problem is even if only 1 tab is visible you cannot hide this label which stick out above the rest of the form/page. Visually this is not what we want to see. Maybe I am just anal about this sort of thing, but it looks ugly, at least for what I am try to achieve. Don't get me wrong, I am not anti-tabbed forms/pages. I have used the extensively in the past and will do so again. It is just in this one instance using tabs seems (and looks) like a cheap and tacky workaround. Cheers Darryl,. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, 9 September 2011 1:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. I do know how they work, but I was confused by what I understood of your description. What you're describing is exactly what tab controls are for, and I've used them that way in both Access and VB.Net. All you need to do with a tab control is select the tab page and that brings the controls on that page up for you to edit. In effect, you see them the way the user does, except for any controls that you make conditionally visible to the user when that page is up. Those, of course, you see in design view all the time. I'm not sure what you mean about not hiding the tab label. If you're talking about the tabs themselves, they can be turned off so that you control the visible page through code. In Access and .Net, I simply have used the top and left settigs to insure that things lined up. How hard is that? As for photoshop, I hate it. It seems to me the ultimate in non-intuitive UIs, but I admit to being a luddite on some issues, especially with respect to graphics. Charlotte Foust On Wed, Sep 7, 2011 at 11:57 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hi Charlotte - forgive me for this as I really respect your opinion, but I > am not sure you understand how layers work in other applications - they > would never show up all at the same time (unless that is what you wanted). > You can control which ones are visible to the user - might be one, might be > several in different combinations and you can show and reveal based on what > the user needs. > > Layers would also have the huge advantage of allowing you to edit each > layer > individually in design mode. So you have no need to move controls out of > the way to get to a control that is under another one. Have play in > photoshop if you get the chance and you will see how useful this method is. > I know I can fake it using a tab form but the result is less elegant you > cannot hide the tab label itself and it is a pain to ensure all the > controls > on each tab is aligned. Blah blah, I have resorted to tabs in the past and > it is a clunky solution for what I am trying to do. > > That said, sometimes tabbed forms are the way to go. Just depends on what > you want to achieve. In this instance I was thinking "Man, wish I had a > layered design view"... > > Just my thoughts. > Cheers > Darryl. > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Thursday, 8 September 2011 12:10 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Wish List. > > Microsoft addressed this years ago by introducing tab controls. Why on > earth would you want to use layers that all showed up at the same time? > Logically, layers would only show the controls relevant to that layer/page. > > Charlotte Foust > On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Been doing a lot of work with forms. In particular single forms with a > lot > > of controls that are hidden or revealed depending on what options are > > available. I really wish MS were inspired by Adobe with how form design > > behaves. Why can't forms be layered? So you can work on individual > layers > > which only have the relevant controls for that layer, but when the form > is > > displayed all layers are shown, just like an image in Photoshop for > > example. > > > > > > > > That would be super useful as right now if I want to change anything on > > first controls I added, I have to move all of the other controls on top > out > > of the way, make the changes, and then put them all back again. A real > > PITA. Would be wonderful to turn on and off visibility on the layers and > > then it would be easy to access any set of controls that are just on that > > layer. > > > > > > > > I know I can sort of fake this by using tabs, is this a better way or > does > > anyone has a different angle I can consider? > > > > > > > > Cheers > > > > Darryl. > > > > > > > > Darryl Collins > > > > Whittle Consulting Pty Ltd > > > > Suite 8, 660 Canterbury Rd > > > > Surrey Hills, VIC, 3127 > > > > > > > > p: +61 3 9898 3242 > > > > m: +61 418 381 548 > > > > f: +61 3 9898 1855 > > > > e: > > darryl at whittleconsulting.com.au > > > > w: > > > > > > www.whittleconsulting.com.au > > > > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 Thu Sep 8 19:06:39 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 8 Sep 2011 17:06:39 -0700 Subject: [AccessD] Wish List. In-Reply-To: <000001cc6e81$c8c7de00$5a579a00$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <003101cc6e5c$1e87bac0$5b973040$@net> <000001cc6e81$c8c7de00$5a579a00$@com.au> Message-ID: The way we handled the X button issue in VB.Net was to have a close/back/exit button (with caption) in a standard location at the bottom of all forms, along with a menu item at the top to call the same routine. The rule of thumb was to always give the user multiple ways of getting there. Charlotte Foust On Thu, Sep 8, 2011 at 4:48 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Aaah, thanks everyone for their thoughts and comments. It is entirely > possible that I am just doing this the hard way (wouldn't be the first > time). Anyway, I will probably end up using tabs like always. > > I don't like the way you have to leave the label visible at the top of the > page though - even if only one tab is displayed. Visually it is not what I > want, but I guess its all I have to work with. > > Anyway, didn't mean to get folks fired up about what is a tab or what is a > page. Sometimes I think it would be nice if you could take the best of all > the software UI and include it in a single package. > > Ok: Here is another prime example of poor user functionality - or more like > sheer bloody laziness on behalf of MSoft. If I am using Firefox tabs in > the > browser, right on the *Active* tab there is a little "X" on the RHS of that > tab that allows you to close it. Nice and useful, don't have to move the > mouse far and it is darn clear which tab you are going to close. > > In A2007 (which uses a tab setup to display all the open DB objects such as > forms, tables, queries etc) the close button is on the extreme RHS of the > *Screen* - freakin miles away from where you are actually working. Now I > have huge widescreen monitor at work and if I have single tab open there is > about 1 foot (say 28 cms) of screen real estate between the active tab I am > working on, and the little 'close tab' "x" on the RHS of the screen. Even > more annoying is if you have many tabs open, you need to double check the > one want to close is indeed the active tab before pressing the "x" > > - ok there are other ways of closing the tab, such as right mouse click > directly on the tab, but why on earth didn't they just put the close "X" on > the active tab like everyone else does. > > Little gripes, I wouldn't mind so much if I didn't have to pay MS so darn > much for their software. I don't mind paying, but I expect better > functionality and performance than I can get for free from other vendors. > > Heh, can you tell I need a coffee ;) > > Cheers > Darryl. > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Friday, 9 September 2011 6:48 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Wish List. > > I'm not sure which version the multipage control was introduced in > (probably > 2007), but it serves the same purpose as the tab control was introduced for > back in A95 or A97. Tab controls actually do have pages, which you insert > much the same way, although they aren't very intuitive either. I don't > know > why they came up with another control to do the same thing, but such is the > world of Microsoft. > > Charlotte Foust > > On Thu, Sep 8, 2011 at 12:18 PM, Mark Simms wrote: > > > Once again I think confusion abounds: > > Multipage has tabs with associated pages to allow insertion of other > > controls, etc. > > The Tab Control is just this tiny thing that has tabs with no pages. > > > > > -- > 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 Sep 8 19:06:37 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Fri, 9 Sep 2011 10:06:37 +1000 Subject: [AccessD] Wish List. (OT) In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <003101cc6e5c$1e87bac0$5b973040$@net> <000001cc6e81$c8c7de00$5a579a00$@com.au> Message-ID: <000201cc6e84$588ff6b0$09afe410$@com.au> Haha, not a chance. We've run out of milk at work and it is cold and wet outside today. We all want a coffee from the expresso machine, but who is going to crack first and walk in the rain to the shop to get more milk for everyone. .... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Friday, 9 September 2011 9:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. Or had too much coffee ... > Heh, can you tell I need a coffee ;) > > Cheers > Darryl. > From charlotte.foust at gmail.com Thu Sep 8 19:16:53 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 8 Sep 2011 17:16:53 -0700 Subject: [AccessD] Wish List. In-Reply-To: <000101cc6e83$b72b2150$258163f0$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <000101cc6e83$b72b2150$258163f0$@com.au> Message-ID: I didn't realize that's what you were referring to. That's the point of not using tabs or buttons on the tab control but putting the "navigation controls" into a subform on the form header or footer. You're going to have space there regardless if you use buttons or tabs, and it floats to the top so the only way to cover it is with an empty subform. Charlotte Foust On Thu, Sep 8, 2011 at 5:02 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > " I'm not sure what you mean about not hiding the tab label." > > At the top of every tab you have a label (tab) which sticks up above the > rest of the form - the bit the user presses to change tabs if more than one > tab is visible. The problem is even if only 1 tab is visible you cannot > hide this label which stick out above the rest of the form/page. Visually > this is not what we want to see. > > Maybe I am just anal about this sort of thing, but it looks ugly, at least > for what I am try to achieve. > > Don't get me wrong, I am not anti-tabbed forms/pages. I have used the > extensively in the past and will do so again. It is just in this one > instance using tabs seems (and looks) like a cheap and tacky workaround. > > Cheers > Darryl,. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Friday, 9 September 2011 1:56 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Wish List. > > I do know how they work, but I was confused by what I understood of your > description. What you're describing is exactly what tab controls are for, > and I've used them that way in both Access and VB.Net. All you need to do > with a tab control is select the tab page and that brings the controls on > that page up for you to edit. In effect, you see them the way the user > does, except for any controls that you make conditionally visible to the > user when that page is up. Those, of course, you see in design view all > the > time. > > I'm not sure what you mean about not hiding the tab label. If you're > talking about the tabs themselves, they can be turned off so that you > control the visible page through code. In Access and .Net, I simply have > used the top and left settigs to insure that things lined up. How hard is > that? As for photoshop, I hate it. It seems to me the ultimate in > non-intuitive UIs, but I admit to being a luddite on some issues, > especially > with respect to graphics. > > Charlotte Foust > > On Wed, Sep 7, 2011 at 11:57 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Hi Charlotte - forgive me for this as I really respect your opinion, but > I > > am not sure you understand how layers work in other applications - they > > would never show up all at the same time (unless that is what you > wanted). > > You can control which ones are visible to the user - might be one, might > be > > several in different combinations and you can show and reveal based on > what > > the user needs. > > > > Layers would also have the huge advantage of allowing you to edit each > > layer > > individually in design mode. So you have no need to move controls out of > > the way to get to a control that is under another one. Have play in > > photoshop if you get the chance and you will see how useful this method > is. > > I know I can fake it using a tab form but the result is less elegant you > > cannot hide the tab label itself and it is a pain to ensure all the > > controls > > on each tab is aligned. Blah blah, I have resorted to tabs in the past > and > > it is a clunky solution for what I am trying to do. > > > > That said, sometimes tabbed forms are the way to go. Just depends on > what > > you want to achieve. In this instance I was thinking "Man, wish I had a > > layered design view"... > > > > Just my thoughts. > > Cheers > > Darryl. > > > > > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > > Sent: Thursday, 8 September 2011 12:10 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Wish List. > > > > Microsoft addressed this years ago by introducing tab controls. Why on > > earth would you want to use layers that all showed up at the same time? > > Logically, layers would only show the controls relevant to that > layer/page. > > > > Charlotte Foust > > On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < > > darryl at whittleconsulting.com.au> wrote: > > > > > Been doing a lot of work with forms. In particular single forms with a > > lot > > > of controls that are hidden or revealed depending on what options are > > > available. I really wish MS were inspired by Adobe with how form > design > > > behaves. Why can't forms be layered? So you can work on individual > > layers > > > which only have the relevant controls for that layer, but when the form > > is > > > displayed all layers are shown, just like an image in Photoshop for > > > example. > > > > > > > > > > > > That would be super useful as right now if I want to change anything on > > > first controls I added, I have to move all of the other controls on top > > out > > > of the way, make the changes, and then put them all back again. A real > > > PITA. Would be wonderful to turn on and off visibility on the layers > and > > > then it would be easy to access any set of controls that are just on > that > > > layer. > > > > > > > > > > > > I know I can sort of fake this by using tabs, is this a better way or > > does > > > anyone has a different angle I can consider? > > > > > > > > > > > > Cheers > > > > > > Darryl. > > > > > > > > > > > > Darryl Collins > > > > > > Whittle Consulting Pty Ltd > > > > > > Suite 8, 660 Canterbury Rd > > > > > > Surrey Hills, VIC, 3127 > > > > > > > > > > > > p: +61 3 9898 3242 > > > > > > m: +61 418 381 548 > > > > > > f: +61 3 9898 1855 > > > > > > e: > > > darryl at whittleconsulting.com.au > > > > > > w: > > > > > > > > > > > > www.whittleconsulting.com.au > > > > > > > > > > > > > > > > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/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 darryl at whittleconsulting.com.au Thu Sep 8 19:17:09 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Fri, 9 Sep 2011 10:17:09 +1000 Subject: [AccessD] Wish List. In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <003101cc6e5c$1e87bac0$5b973040$@net> <000001cc6e81$c8c7de00$5a579a00$@com.au> Message-ID: <000301cc6e85$d10170a0$730451e0$@com.au> Oh yes, on *my* forms I always do this too. I am talking about MS's own UI in Access design mode which is not customisable by developer. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, 9 September 2011 10:07 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. The way we handled the X button issue in VB.Net was to have a close/back/exit button (with caption) in a standard location at the bottom of all forms, along with a menu item at the top to call the same routine. The rule of thumb was to always give the user multiple ways of getting there. Charlotte Foust On Thu, Sep 8, 2011 at 4:48 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Aaah, thanks everyone for their thoughts and comments. It is entirely > possible that I am just doing this the hard way (wouldn't be the first > time). Anyway, I will probably end up using tabs like always. > > I don't like the way you have to leave the label visible at the top of the > page though - even if only one tab is displayed. Visually it is not what I > want, but I guess its all I have to work with. > > Anyway, didn't mean to get folks fired up about what is a tab or what is a > page. Sometimes I think it would be nice if you could take the best of all > the software UI and include it in a single package. > > Ok: Here is another prime example of poor user functionality - or more like > sheer bloody laziness on behalf of MSoft. If I am using Firefox tabs in > the > browser, right on the *Active* tab there is a little "X" on the RHS of that > tab that allows you to close it. Nice and useful, don't have to move the > mouse far and it is darn clear which tab you are going to close. > > In A2007 (which uses a tab setup to display all the open DB objects such as > forms, tables, queries etc) the close button is on the extreme RHS of the > *Screen* - freakin miles away from where you are actually working. Now I > have huge widescreen monitor at work and if I have single tab open there is > about 1 foot (say 28 cms) of screen real estate between the active tab I am > working on, and the little 'close tab' "x" on the RHS of the screen. Even > more annoying is if you have many tabs open, you need to double check the > one want to close is indeed the active tab before pressing the "x" > > - ok there are other ways of closing the tab, such as right mouse click > directly on the tab, but why on earth didn't they just put the close "X" on > the active tab like everyone else does. > > Little gripes, I wouldn't mind so much if I didn't have to pay MS so darn > much for their software. I don't mind paying, but I expect better > functionality and performance than I can get for free from other vendors. > > Heh, can you tell I need a coffee ;) > > Cheers > Darryl. > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Friday, 9 September 2011 6:48 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Wish List. > > I'm not sure which version the multipage control was introduced in > (probably > 2007), but it serves the same purpose as the tab control was introduced for > back in A95 or A97. Tab controls actually do have pages, which you insert > much the same way, although they aren't very intuitive either. I don't > know > why they came up with another control to do the same thing, but such is the > world of Microsoft. > > Charlotte Foust > > On Thu, Sep 8, 2011 at 12:18 PM, Mark Simms wrote: > > > Once again I think confusion abounds: > > Multipage has tabs with associated pages to allow insertion of other > > controls, etc. > > The Tab Control is just this tiny thing that has tabs with no pages. > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 8 19:27:06 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 09 Sep 2011 10:27:06 +1000 Subject: [AccessD] Wish List. (OT) In-Reply-To: <000201cc6e84$588ff6b0$09afe410$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au>, , <000201cc6e84$588ff6b0$09afe410$@com.au> Message-ID: <4E695D5A.13920.3281CC2D@stuart.lexacorp.com.pg> Milk ruins the taste of decent coffee. Just drink it straight - black and unsweetened :-) -- Stuart On 9 Sep 2011 at 10:06, Darryl Collins wrote: > Haha, not a chance. We've run out of milk at work and it is cold and > wet outside today. We all want a coffee from the expresso machine, > but who is going to crack first and walk in the rain to the shop to > get more milk for everyone. > > .... > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Benson Sent: Friday, 9 September 2011 9:57 AM To: Access Developers > discussion and problem solving Subject: Re: [AccessD] Wish List. > > Or had too much coffee ... > > > > > > > Heh, can you tell I need a coffee ;) > > > > Cheers > > Darryl. > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From df.waters at comcast.net Thu Sep 8 19:58:46 2011 From: df.waters at comcast.net (Dan Waters) Date: Thu, 8 Sep 2011 19:58:46 -0500 Subject: [AccessD] Wish List. In-Reply-To: <000001cc6e81$c8c7de00$5a579a00$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <003101cc6e5c$1e87bac0$5b973040$@net> <000001cc6e81$c8c7de00$5a579a00$@com.au> Message-ID: <006201cc6e8b$a17e24d0$e47a6e70$@comcast.net> I haven't completely read each post so maybe this has already been brought up. On your form, create a subform. Now create a form to use in that subform, with all the controls from one of your 'layers'. Then create (start by copying?) all the forms (as layers) that you'll want to use in the subform. In your main form, write code to change the SourceObject property to the name of whichever form you want to display depending on what your user needs to do. You might want to use Application.Echo False/True in code to surround the switch from one form to the other to minimize screen flashing. This separates out each group of controls onto its own easily editable separate form, and gives your user a clean GUI which doesn't have the tabs of a tab control. I have used this and it works fine. You can so the same thing with a subreport control on a report. HTH, Dan From vbacreations at gmail.com Thu Sep 8 20:16:00 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 8 Sep 2011 21:16:00 -0400 Subject: [AccessD] Wish List. In-Reply-To: <006201cc6e8b$a17e24d0$e47a6e70$@comcast.net> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <003101cc6e5c$1e87bac0$5b973040$@net> <000001cc6e81$c8c7de00$5a579a00$@com.au> <006201cc6e8b$a17e24d0$e47a6e70$@comcast.net> Message-ID: I like that concept. Any downside you're hiding from us? ;) On Sep 8, 2011 9:06 PM, "Dan Waters" wrote: > I haven't completely read each post so maybe this has already been brought > up. > > On your form, create a subform. Now create a form to use in that subform, > with all the controls from one of your 'layers'. Then create (start by > copying?) all the forms (as layers) that you'll want to use in the subform. > In your main form, write code to change the SourceObject property to the > name of whichever form you want to display depending on what your user needs > to do. You might want to use Application.Echo False/True in code to > surround the switch from one form to the other to minimize screen flashing. > > This separates out each group of controls onto its own easily editable > separate form, and gives your user a clean GUI which doesn't have the tabs > of a tab control. I have used this and it works fine. > > You can so the same thing with a subreport control on a report. > > HTH, > Dan > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From vbacreations at gmail.com Thu Sep 8 20:47:46 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 8 Sep 2011 21:47:46 -0400 Subject: [AccessD] String with "#" in VBA? In-Reply-To: References: <4E6697B4.3080601@colbyconsulting.com> <002601cc6cfe$3a74d510$af5e7f30$@com.au> <4E66D3F2.25051.2899085E@stuart.lexacorp.com.pg> <001501cc6d0c$6efc10b0$4cf43210$@gmail.com> <003101cc6d0d$a4552e30$ecff8a90$@com.au> <001601cc6d10$0f115440$2d33fcc0$@gmail.com> Message-ID: It makes much intuitive sense to allow either. Almost hard to see why implement it any other way. On Sep 7, 2011 4:06 PM, "Mark A Matte" wrote: > > I had to think twice... > > Me and SQL spend our days between SQL Server, Access, and Foxpro...last week I was moving some processes from Foxpro to SQL Server and I learned that in Foxpro the HAVING clause will utilize the calculation or the alias... > > just FYI... > > Mark M. > > > >> From: vbacreations at gmail.com >> To: accessd at databaseadvisors.com >> Date: Tue, 6 Sep 2011 23:41:41 -0400 >> Subject: Re: [AccessD] String with "#" in VBA? >> >> No more than anyone else going from the top of their head. To wit, no one >> else pointed out that the Having Clause required the actual computation. >> And, no one pointed out (including me) that most non-calculated constraints >> are put in a WHERE clause, not the Having clause. I would imagine the query >> plan Access builds handles that kind of misappropriation without fuss >> however. Some SQL which I generated using only the Access query designer >> (with unneeded parens removed). >> >> SELECT Max(Tbl_GIB.LASTMODIFIED_DATE) AS MyMaxDate, 1+1 AS SomeCalc >> FROM Tbl_GIB >> WHERE Tbl_GIB.SITE_DB<>'Bill' >> HAVING 1+1=2 And Max(Tbl_GIB.LASTMODIFIED_DATE) < #12/31/2050# >> >> This fails: >> >> SELECT Max(Tbl_GIB.LASTMODIFIED_DATE) AS MyMaxDate, 1+1 AS SomeCalc >> FROM Tbl_GIB >> WHERE Tbl_GIB.SITE_DB<>'Bill' >> HAVING SomeCalc =2 >> >> >> As does this >> >> SELECT Max(Tbl_GIB.LASTMODIFIED_DATE) AS MyMaxDate, 1+1 AS SomeCalc >> FROM Tbl_GIB >> HAVING MyMaxDate < #12/31/2050#; >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins >> Sent: Tuesday, September 06, 2011 11:24 PM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] String with "#" in VBA? >> >> Yes, that syntax would be correct Bill. Man, I made a mess of this one >> didn't I... hmmmmm. >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson >> (VBACreations.Com) >> Sent: Wednesday, 7 September 2011 1:16 PM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] String with "#" in VBA? >> >> I concur with the single-quotes and the comma additions... but I was not >> aware you are allowed to use the result field's name in the HAVING clause, I >> thought you needed to show the function again (see below)? >> >> >> gstrSQL = "" >> gstrSQL = gstrSQL & " SELECT" >> gstrSQL = gstrSQL & " Activity," >> gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF," >> gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" >> gstrSQL = gstrSQL & " FROM ProbC_tblActivities" >> gstrSQL = gstrSQL & " GROUP BY Activity" >> gstrSQL = gstrSQL & " HAVING Activity='#Input'" >> gstrSQL = gstrSQL & " AND SUM(Activity_CF) <> 0" >> >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan >> Sent: Tuesday, September 06, 2011 10:16 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] String with "#" in VBA? >> >> As others have pointed out, the # is not the problem. >> >> #Input is a string inside your SQL which needs to be delimited inside your >> strSQL. >> You are using double quotes as your strSQL building delimiter so the inner >> variable needs to >> be surrounded by single quotes. >> >> Also you are missing a comma after Total_CF >> >> >> >> Try this: >> >> gstrSQL = "SELECT " & _ >> "Activity, " & _ >> "SUM(Activity_CF) AS Total_CF," & _ >> "SUM(Activity_DCF) AS Total_DCF " & _ >> "FROM ProbC_tblActivities " & _ >> "GROUP BY Activity " & _ >> "HAVING Activity='#Input' " & _ >> "AND Total_CF <> 0" & _ >> >> >> >> >> On 7 Sep 2011 at 11:34, Darryl Collins wrote: >> >> > Uh oh... I thought today was going too darn well. >> > >> > I am working with data which has "#" as part of the string which >> > causes the VBA code to fail >> > >> > For Example: >> > >> > gstrSQL = vbNullString >> > gstrSQL = gstrSQL & " SELECT" >> > gstrSQL = gstrSQL & " Activity," >> > gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" >> > gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" >> > gstrSQL = gstrSQL & " FROM ProbC_tblActivities" >> > gstrSQL = gstrSQL & " GROUP BY Activity" >> > gstrSQL = gstrSQL & " HAVING Activity="#Input" >> > gstrSQL = gstrSQL & " AND Total_CF <> 0" >> > >> > Which sort of makes sense as the # is used in VBA for Conditional >> > Compile. >> > >> > Is there some way I can I get VBA to accept the # as part of the >> > string and not a command? >> > >> > Google has fairly useless when searching for "#" as well. Bah >> > humbubg. >> > >> > Cheers >> > Darryl >> > >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/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 Thu Sep 8 22:13:53 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 8 Sep 2011 20:13:53 -0700 Subject: [AccessD] Wish List. In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <003101cc6e5c$1e87bac0$5b973040$@net> <000001cc6e81$c8c7de00$5a579a00$@com.au> <006201cc6e8b$a17e24d0$e47a6e70$@comcast.net> Message-ID: Yeah, there is, but only if you're using bound subforms. If they're unbound, it isn't a problem! ;-> When using bound subforms, the master/child links have to be cleared and reset, which is a great argument for using unbound subforms. This is essentially what I've done with tab controls, except that with the tab control option, you don't have to clear and reload the subform control each time, which will create a delay, although perhaps not a noticeable one if the subform and its source are straightforward. The tab control only has to load the subform once when you go to a particular tab page. After that, the tab control takes care of hiding and displaying it. And binding isn't a problem. Charlotte Foust On Thu, Sep 8, 2011 at 6:16 PM, William Benson wrote: > I like that concept. Any downside you're hiding from us? > > ;) > On Sep 8, 2011 9:06 PM, "Dan Waters" wrote: > > I haven't completely read each post so maybe this has already been > brought > > up. > > > > On your form, create a subform. Now create a form to use in that subform, > > with all the controls from one of your 'layers'. Then create (start by > > copying?) all the forms (as layers) that you'll want to use in the > subform. > > In your main form, write code to change the SourceObject property to the > > name of whichever form you want to display depending on what your user > needs > > to do. You might want to use Application.Echo False/True in code to > > surround the switch from one form to the other to minimize screen > flashing. > > > > This separates out each group of controls onto its own easily editable > > separate form, and gives your user a clean GUI which doesn't have the > tabs > > of a tab control. I have used this and it works fine. > > > > You can so the same thing with a subreport control on a report. > > > > HTH, > > Dan > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 Sep 9 00:47:34 2011 From: rockysmolin at bchacc.com (rockysmolin at bchacc.com) Date: Thu, 08 Sep 2011 22:47:34 -0700 Subject: [AccessD] Wish List. Message-ID: <20110908224734.86c3debdd1c3983866efe200e2feb95f.d804cf892c.wbe@email18.secureserver.net> Try setting the Style property of the tab control to None. Rocky -------- Original Message -------- Subject: Re: [AccessD] Wish List. From: "Darryl Collins" Date: Thu, September 08, 2011 5:02 pm To: "'Access Developers discussion and problem solving'" " I'm not sure what you mean about not hiding the tab label." At the top of every tab you have a label (tab) which sticks up above the rest of the form - the bit the user presses to change tabs if more than one tab is visible. The problem is even if only 1 tab is visible you cannot hide this label which stick out above the rest of the form/page. Visually this is not what we want to see. Maybe I am just anal about this sort of thing, but it looks ugly, at least for what I am try to achieve. Don't get me wrong, I am not anti-tabbed forms/pages. I have used the extensively in the past and will do so again. It is just in this one instance using tabs seems (and looks) like a cheap and tacky workaround. Cheers Darryl,. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, 9 September 2011 1:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. I do know how they work, but I was confused by what I understood of your description. What you're describing is exactly what tab controls are for, and I've used them that way in both Access and VB.Net. All you need to do with a tab control is select the tab page and that brings the controls on that page up for you to edit. In effect, you see them the way the user does, except for any controls that you make conditionally visible to the user when that page is up. Those, of course, you see in design view all the time. I'm not sure what you mean about not hiding the tab label. If you're talking about the tabs themselves, they can be turned off so that you control the visible page through code. In Access and .Net, I simply have used the top and left settigs to insure that things lined up. How hard is that? As for photoshop, I hate it. It seems to me the ultimate in non-intuitive UIs, but I admit to being a luddite on some issues, especially with respect to graphics. Charlotte Foust On Wed, Sep 7, 2011 at 11:57 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hi Charlotte - forgive me for this as I really respect your opinion, but I > am not sure you understand how layers work in other applications - they > would never show up all at the same time (unless that is what you wanted). > You can control which ones are visible to the user - might be one, might be > several in different combinations and you can show and reveal based on what > the user needs. > > Layers would also have the huge advantage of allowing you to edit each > layer > individually in design mode. So you have no need to move controls out of > the way to get to a control that is under another one. Have play in > photoshop if you get the chance and you will see how useful this method is. > I know I can fake it using a tab form but the result is less elegant you > cannot hide the tab label itself and it is a pain to ensure all the > controls > on each tab is aligned. Blah blah, I have resorted to tabs in the past and > it is a clunky solution for what I am trying to do. > > That said, sometimes tabbed forms are the way to go. Just depends on what > you want to achieve. In this instance I was thinking "Man, wish I had a > layered design view"... > > Just my thoughts. > Cheers > Darryl. > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Thursday, 8 September 2011 12:10 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Wish List. > > Microsoft addressed this years ago by introducing tab controls. Why on > earth would you want to use layers that all showed up at the same time? > Logically, layers would only show the controls relevant to that layer/page. > > Charlotte Foust > On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Been doing a lot of work with forms. In particular single forms with a > lot > > of controls that are hidden or revealed depending on what options are > > available. I really wish MS were inspired by Adobe with how form design > > behaves. Why can't forms be layered? So you can work on individual > layers > > which only have the relevant controls for that layer, but when the form > is > > displayed all layers are shown, just like an image in Photoshop for > > example. > > > > > > > > That would be super useful as right now if I want to change anything on > > first controls I added, I have to move all of the other controls on top > out > > of the way, make the changes, and then put them all back again. A real > > PITA. Would be wonderful to turn on and off visibility on the layers and > > then it would be easy to access any set of controls that are just on that > > layer. > > > > > > > > I know I can sort of fake this by using tabs, is this a better way or > does > > anyone has a different angle I can consider? > > > > > > > > Cheers > > > > Darryl. > > > > > > > > Darryl Collins > > > > Whittle Consulting Pty Ltd > > > > Suite 8, 660 Canterbury Rd > > > > Surrey Hills, VIC, 3127 > > > > > > > > p: +61 3 9898 3242 > > > > m: +61 418 381 548 > > > > f: +61 3 9898 1855 > > > > e: > > darryl at whittleconsulting.com.au > > > > w: > > > > > > www.whittleconsulting.com.au > > > > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 darryl at whittleconsulting.com.au Fri Sep 9 01:32:31 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Fri, 9 Sep 2011 16:32:31 +1000 Subject: [AccessD] Wish List. In-Reply-To: <20110908224734.86c3debdd1c3983866efe200e2feb95f.d804cf892c.wbe@email18.secureserver.net> References: <20110908224734.86c3debdd1c3983866efe200e2feb95f.d804cf892c.wbe@email18.secureserver.net> Message-ID: <000701cc6eba$4488cc10$cd9a6430$@com.au> Thanks Rocky, I will give that a go and see how it turns out. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rockysmolin at bchacc.com Sent: Friday, 9 September 2011 3:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. Try setting the Style property of the tab control to None. Rocky -------- Original Message -------- Subject: Re: [AccessD] Wish List. From: "Darryl Collins" Date: Thu, September 08, 2011 5:02 pm To: "'Access Developers discussion and problem solving'" " I'm not sure what you mean about not hiding the tab label." At the top of every tab you have a label (tab) which sticks up above the rest of the form - the bit the user presses to change tabs if more than one tab is visible. The problem is even if only 1 tab is visible you cannot hide this label which stick out above the rest of the form/page. Visually this is not what we want to see. Maybe I am just anal about this sort of thing, but it looks ugly, at least for what I am try to achieve. Don't get me wrong, I am not anti-tabbed forms/pages. I have used the extensively in the past and will do so again. It is just in this one instance using tabs seems (and looks) like a cheap and tacky workaround. Cheers Darryl,. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, 9 September 2011 1:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. I do know how they work, but I was confused by what I understood of your description. What you're describing is exactly what tab controls are for, and I've used them that way in both Access and VB.Net. All you need to do with a tab control is select the tab page and that brings the controls on that page up for you to edit. In effect, you see them the way the user does, except for any controls that you make conditionally visible to the user when that page is up. Those, of course, you see in design view all the time. I'm not sure what you mean about not hiding the tab label. If you're talking about the tabs themselves, they can be turned off so that you control the visible page through code. In Access and .Net, I simply have used the top and left settigs to insure that things lined up. How hard is that? As for photoshop, I hate it. It seems to me the ultimate in non-intuitive UIs, but I admit to being a luddite on some issues, especially with respect to graphics. Charlotte Foust On Wed, Sep 7, 2011 at 11:57 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hi Charlotte - forgive me for this as I really respect your opinion, but I > am not sure you understand how layers work in other applications - they > would never show up all at the same time (unless that is what you wanted). > You can control which ones are visible to the user - might be one, might be > several in different combinations and you can show and reveal based on what > the user needs. > > Layers would also have the huge advantage of allowing you to edit each > layer > individually in design mode. So you have no need to move controls out of > the way to get to a control that is under another one. Have play in > photoshop if you get the chance and you will see how useful this method is. > I know I can fake it using a tab form but the result is less elegant you > cannot hide the tab label itself and it is a pain to ensure all the > controls > on each tab is aligned. Blah blah, I have resorted to tabs in the past and > it is a clunky solution for what I am trying to do. > > That said, sometimes tabbed forms are the way to go. Just depends on what > you want to achieve. In this instance I was thinking "Man, wish I had a > layered design view"... > > Just my thoughts. > Cheers > Darryl. > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Thursday, 8 September 2011 12:10 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Wish List. > > Microsoft addressed this years ago by introducing tab controls. Why on > earth would you want to use layers that all showed up at the same time? > Logically, layers would only show the controls relevant to that layer/page. > > Charlotte Foust > On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Been doing a lot of work with forms. In particular single forms with a > lot > > of controls that are hidden or revealed depending on what options are > > available. I really wish MS were inspired by Adobe with how form design > > behaves. Why can't forms be layered? So you can work on individual > layers > > which only have the relevant controls for that layer, but when the form > is > > displayed all layers are shown, just like an image in Photoshop for > > example. > > > > > > > > That would be super useful as right now if I want to change anything on > > first controls I added, I have to move all of the other controls on top > out > > of the way, make the changes, and then put them all back again. A real > > PITA. Would be wonderful to turn on and off visibility on the layers and > > then it would be easy to access any set of controls that are just on that > > layer. > > > > > > > > I know I can sort of fake this by using tabs, is this a better way or > does > > anyone has a different angle I can consider? > > > > > > > > Cheers > > > > Darryl. > > > > > > > > Darryl Collins > > > > Whittle Consulting Pty Ltd > > > > Suite 8, 660 Canterbury Rd > > > > Surrey Hills, VIC, 3127 > > > > > > > > p: +61 3 9898 3242 > > > > m: +61 418 381 548 > > > > f: +61 3 9898 1855 > > > > e: > > darryl at whittleconsulting.com.au > > > > w: > > > > > > www.whittleconsulting.com.au > > > > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 stuart at lexacorp.com.pg Fri Sep 9 02:54:18 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 09 Sep 2011 17:54:18 +1000 Subject: [AccessD] Wish List. In-Reply-To: <20110908224734.86c3debdd1c3983866efe200e2feb95f.d804cf892c.wbe@email18.secureserver.net> References: <20110908224734.86c3debdd1c3983866efe200e2feb95f.d804cf892c.wbe@email18.secureserver.net> Message-ID: <4E69C62A.28927.341B36BA@stuart.lexacorp.com.pg> It's true what they say - you live and learn. I've been using tabs for umpteen years and I wasn't aware of that trick. Neat! -- Stuart On 8 Sep 2011 at 22:47, rockysmolin at bchacc.com wrote: > Try setting the Style property of the tab control to None. > > Rocky > > > > -------- Original Message -------- > Subject: Re: [AccessD] Wish List. > From: "Darryl Collins" > Date: Thu, September 08, 2011 5:02 pm > To: "'Access Developers discussion and problem solving'" > > > " I'm not sure what you mean about not hiding the tab label." > > At the top of every tab you have a label (tab) which sticks up above > the rest of the form - the bit the user presses to change tabs if more > than one tab is visible. The problem is even if only 1 tab is visible > you cannot hide this label which stick out above the rest of the > form/page. Visually this is not what we want to see. > > Maybe I am just anal about this sort of thing, but it looks ugly, at > least for what I am try to achieve. > > Don't get me wrong, I am not anti-tabbed forms/pages. I have used the > extensively in the past and will do so again. It is just in this one > instance using tabs seems (and looks) like a cheap and tacky > workaround. > > Cheers > Darryl,. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust Sent: Friday, 9 September 2011 1:56 AM To: Access Developers > discussion and problem solving Subject: Re: [AccessD] Wish List. > > I do know how they work, but I was confused by what I understood of > your description. What you're describing is exactly what tab controls > are for, and I've used them that way in both Access and VB.Net. All > you need to do with a tab control is select the tab page and that > brings the controls on that page up for you to edit. In effect, you > see them the way the user does, except for any controls that you make > conditionally visible to the user when that page is up. Those, of > course, you see in design view all the time. > > I'm not sure what you mean about not hiding the tab label. If you're > talking about the tabs themselves, they can be turned off so that you > control the visible page through code. In Access and .Net, I simply > have used the top and left settigs to insure that things lined up. How > hard is that? As for photoshop, I hate it. It seems to me the ultimate > in non-intuitive UIs, but I admit to being a luddite on some issues, > especially with respect to graphics. > > Charlotte Foust > > On Wed, Sep 7, 2011 at 11:57 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Hi Charlotte - forgive me for this as I really respect your opinion, > > but I am not sure you understand how layers work in other > > applications - they would never show up all at the same time (unless > > that is what you wanted). You can control which ones are visible to > > the user - might be one, might > be > > several in different combinations and you can show and reveal based > > on > what > > the user needs. > > > > Layers would also have the huge advantage of allowing you to edit > > each layer individually in design mode. So you have no need to move > > controls out of the way to get to a control that is under another > > one. Have play in photoshop if you get the chance and you will see > > how useful this method > is. > > I know I can fake it using a tab form but the result is less elegant > > you cannot hide the tab label itself and it is a pain to ensure all > > the controls on each tab is aligned. Blah blah, I have resorted to > > tabs in the past > and > > it is a clunky solution for what I am trying to do. > > > > That said, sometimes tabbed forms are the way to go. Just depends on > > what you want to achieve. In this instance I was thinking "Man, wish > > I had a layered design view"... > > > > Just my thoughts. > > Cheers > > Darryl. > > > > > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > > Foust Sent: Thursday, 8 September 2011 12:10 PM To: Access > > Developers discussion and problem solving Subject: Re: [AccessD] > > Wish List. > > > > Microsoft addressed this years ago by introducing tab controls. Why > > on earth would you want to use layers that all showed up at the same > > time? Logically, layers would only show the controls relevant to > > that > layer/page. > > > > Charlotte Foust > > On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < > > darryl at whittleconsulting.com.au> wrote: > > > > > Been doing a lot of work with forms. In particular single forms > > > with a > > lot > > > of controls that are hidden or revealed depending on what options > > > are available. I really wish MS were inspired by Adobe with how > > > form design behaves. Why can't forms be layered? So you can work > > > on individual > > layers > > > which only have the relevant controls for that layer, but when the > > > form > > is > > > displayed all layers are shown, just like an image in Photoshop > > > for example. > > > > > > > > > > > > That would be super useful as right now if I want to change > > > anything on first controls I added, I have to move all of the > > > other controls on top > > out > > > of the way, make the changes, and then put them all back again. A > > > real PITA. Would be wonderful to turn on and off visibility on the > > > layers > and > > > then it would be easy to access any set of controls that are just > > > on > that > > > layer. > > > > > > > > > > > > I know I can sort of fake this by using tabs, is this a better way > > > or > > does > > > anyone has a different angle I can consider? > > > > > > > > > > > > Cheers > > > > > > Darryl. > > > > > > > > > > > > Darryl Collins > > > > > > Whittle Consulting Pty Ltd > > > > > > Suite 8, 660 Canterbury Rd > > > > > > Surrey Hills, VIC, 3127 > > > > > > > > > > > > p: +61 3 9898 3242 > > > > > > m: +61 418 381 548 > > > > > > f: +61 3 9898 1855 > > > > > > e: > > > darryl at whittleconsulting.com.au > > > > > > w: > > > > > > > > > > www.whittleconsulting.com.au > > > > > > > > > > > > > > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/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 jwcolby at colbyconsulting.com Fri Sep 9 06:52:56 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 09 Sep 2011 07:52:56 -0400 Subject: [AccessD] Access versioning / tracking changes Message-ID: <4E69FE18.6090404@colbyconsulting.com> I use a somewhat simple two table change request database for tracking changes to my Access projects. I have to admit I find it problematic to track changes to a level that allows backing out any specific change while leaving the rest. This has resulted in "rolling back" to a specific level when a problem comes up. And yes they do test but things do happen. I have a CR table where the client places their change requests with explanatory text. It has the typical requested date / requesting person / date to test / date tested etc. A child table holds what I do with explanatory text and a test regimen to test that it work, a text for what they found in test (if problems). I can add another record as a response to that testing problem etc. The problem I run into is that any significant change may involve a change to N queries, additional fields or entire tables, code modules and so forth. A change may be trivial or it may be an entire subsystem. I have never found a way to really document in sufficient detail what I did to implement the change that would allow me to back out just that change, at least of the change is very complex. If I get two or three changes in and then one four changes back is found to be a problem such that they want to roll it back, I often times cant. If we roll back all the changes since (go back to a previous version) then we lose all of the actual work done since. I have never worked in a large design team and witnessed how this is generally done. I am wondering how you guys handle this stuff. Any words of wisdom? Tools? tips? Can we have a discussion on this? -- John W. Colby www.ColbyConsulting.com From jimdettman at verizon.net Fri Sep 9 07:36:45 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 09 Sep 2011 08:36:45 -0400 Subject: [AccessD] Wish List. In-Reply-To: <4E69C62A.28927.341B36BA@stuart.lexacorp.com.pg> References: <20110908224734.86c3debdd1c3983866efe200e2feb95f.d804cf892c.wbe@email18.secureserver.net> <4E69C62A.28927.341B36BA@stuart.lexacorp.com.pg> Message-ID: <2867DF3470B048B7AFF8A1D847B31938@XPS> It's an excellent way to do the "Wizard" paging thing (one tab page for each wizard page). Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Friday, September 09, 2011 03:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. It's true what they say - you live and learn. I've been using tabs for umpteen years and I wasn't aware of that trick. Neat! -- Stuart On 8 Sep 2011 at 22:47, rockysmolin at bchacc.com wrote: > Try setting the Style property of the tab control to None. > > Rocky > > > > -------- Original Message -------- > Subject: Re: [AccessD] Wish List. > From: "Darryl Collins" > Date: Thu, September 08, 2011 5:02 pm > To: "'Access Developers discussion and problem solving'" > > > " I'm not sure what you mean about not hiding the tab label." > > At the top of every tab you have a label (tab) which sticks up above > the rest of the form - the bit the user presses to change tabs if more > than one tab is visible. The problem is even if only 1 tab is visible > you cannot hide this label which stick out above the rest of the > form/page. Visually this is not what we want to see. > > Maybe I am just anal about this sort of thing, but it looks ugly, at > least for what I am try to achieve. > > Don't get me wrong, I am not anti-tabbed forms/pages. I have used the > extensively in the past and will do so again. It is just in this one > instance using tabs seems (and looks) like a cheap and tacky > workaround. > > Cheers > Darryl,. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust Sent: Friday, 9 September 2011 1:56 AM To: Access Developers > discussion and problem solving Subject: Re: [AccessD] Wish List. > > I do know how they work, but I was confused by what I understood of > your description. What you're describing is exactly what tab controls > are for, and I've used them that way in both Access and VB.Net. All > you need to do with a tab control is select the tab page and that > brings the controls on that page up for you to edit. In effect, you > see them the way the user does, except for any controls that you make > conditionally visible to the user when that page is up. Those, of > course, you see in design view all the time. > > I'm not sure what you mean about not hiding the tab label. If you're > talking about the tabs themselves, they can be turned off so that you > control the visible page through code. In Access and .Net, I simply > have used the top and left settigs to insure that things lined up. How > hard is that? As for photoshop, I hate it. It seems to me the ultimate > in non-intuitive UIs, but I admit to being a luddite on some issues, > especially with respect to graphics. > > Charlotte Foust > > On Wed, Sep 7, 2011 at 11:57 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Hi Charlotte - forgive me for this as I really respect your opinion, > > but I am not sure you understand how layers work in other > > applications - they would never show up all at the same time (unless > > that is what you wanted). You can control which ones are visible to > > the user - might be one, might > be > > several in different combinations and you can show and reveal based > > on > what > > the user needs. > > > > Layers would also have the huge advantage of allowing you to edit > > each layer individually in design mode. So you have no need to move > > controls out of the way to get to a control that is under another > > one. Have play in photoshop if you get the chance and you will see > > how useful this method > is. > > I know I can fake it using a tab form but the result is less elegant > > you cannot hide the tab label itself and it is a pain to ensure all > > the controls on each tab is aligned. Blah blah, I have resorted to > > tabs in the past > and > > it is a clunky solution for what I am trying to do. > > > > That said, sometimes tabbed forms are the way to go. Just depends on > > what you want to achieve. In this instance I was thinking "Man, wish > > I had a layered design view"... > > > > Just my thoughts. > > Cheers > > Darryl. > > > > > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > > Foust Sent: Thursday, 8 September 2011 12:10 PM To: Access > > Developers discussion and problem solving Subject: Re: [AccessD] > > Wish List. > > > > Microsoft addressed this years ago by introducing tab controls. Why > > on earth would you want to use layers that all showed up at the same > > time? Logically, layers would only show the controls relevant to > > that > layer/page. > > > > Charlotte Foust > > On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < > > darryl at whittleconsulting.com.au> wrote: > > > > > Been doing a lot of work with forms. In particular single forms > > > with a > > lot > > > of controls that are hidden or revealed depending on what options > > > are available. I really wish MS were inspired by Adobe with how > > > form design behaves. Why can't forms be layered? So you can work > > > on individual > > layers > > > which only have the relevant controls for that layer, but when the > > > form > > is > > > displayed all layers are shown, just like an image in Photoshop > > > for example. > > > > > > > > > > > > That would be super useful as right now if I want to change > > > anything on first controls I added, I have to move all of the > > > other controls on top > > out > > > of the way, make the changes, and then put them all back again. A > > > real PITA. Would be wonderful to turn on and off visibility on the > > > layers > and > > > then it would be easy to access any set of controls that are just > > > on > that > > > layer. > > > > > > > > > > > > I know I can sort of fake this by using tabs, is this a better way > > > or > > does > > > anyone has a different angle I can consider? > > > > > > > > > > > > Cheers > > > > > > Darryl. > > > > > > > > > > > > Darryl Collins > > > > > > Whittle Consulting Pty Ltd > > > > > > Suite 8, 660 Canterbury Rd > > > > > > Surrey Hills, VIC, 3127 > > > > > > > > > > > > p: +61 3 9898 3242 > > > > > > m: +61 418 381 548 > > > > > > f: +61 3 9898 1855 > > > > > > e: > > > darryl at whittleconsulting.com.au > > > > > > w: > > > > > > > > > > www.whittleconsulting.com.au > > > > > > > > > > > > > > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/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 > -- 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 Sep 9 07:56:02 2011 From: df.waters at comcast.net (Dan Waters) Date: Fri, 9 Sep 2011 07:56:02 -0500 Subject: [AccessD] Access versioning / tracking changes In-Reply-To: <4E69FE18.6090404@colbyconsulting.com> References: <4E69FE18.6090404@colbyconsulting.com> Message-ID: <001b01cc6eef$d4ce49f0$7e6addd0$@comcast.net> Hi John, I'm impressed that you do track changes to this extent. I don't - my method is just fix as needed when needed. One thing you might look at: FMS has a tool called Access Detective. It's used to tell you the differences between any two mdb files. If you keep a copy of each released version, you'd be able to compare, in detail, your current system with any previous released version. Long ago I had a copy of Detective, but that was before I understood the process of developing! HTH, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, September 09, 2011 6:53 AM To: Access Developers discussion and problem solving Subject: [AccessD] Access versioning / tracking changes I use a somewhat simple two table change request database for tracking changes to my Access projects. I have to admit I find it problematic to track changes to a level that allows backing out any specific change while leaving the rest. This has resulted in "rolling back" to a specific level when a problem comes up. And yes they do test but things do happen. I have a CR table where the client places their change requests with explanatory text. It has the typical requested date / requesting person / date to test / date tested etc. A child table holds what I do with explanatory text and a test regimen to test that it work, a text for what they found in test (if problems). I can add another record as a response to that testing problem etc. The problem I run into is that any significant change may involve a change to N queries, additional fields or entire tables, code modules and so forth. A change may be trivial or it may be an entire subsystem. I have never found a way to really document in sufficient detail what I did to implement the change that would allow me to back out just that change, at least of the change is very complex. If I get two or three changes in and then one four changes back is found to be a problem such that they want to roll it back, I often times cant. If we roll back all the changes since (go back to a previous version) then we lose all of the actual work done since. I have never worked in a large design team and witnessed how this is generally done. I am wondering how you guys handle this stuff. Any words of wisdom? Tools? tips? Can we have a discussion on this? -- John W. Colby www.ColbyConsulting.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 Fri Sep 9 07:59:51 2011 From: df.waters at comcast.net (Dan Waters) Date: Fri, 9 Sep 2011 07:59:51 -0500 Subject: [AccessD] Wish List. In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <003101cc6e5c$1e87bac0$5b973040$@net> <000001cc6e81$c8c7de00$5a579a00$@com.au> <006201cc6e8b$a17e24d0$e47a6e70$@comcast.net> Message-ID: <001f01cc6ef0$5d4c0010$17e40030$@comcast.net> Not true! Since you're already setting the Sourceobject of the subform by code, you can do the same with the master/child link properties. When I did this, the master/child were the same anyway, which I'd guess in Darryl's case would also be true. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, September 08, 2011 10:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. Yeah, there is, but only if you're using bound subforms. If they're unbound, it isn't a problem! ;-> When using bound subforms, the master/child links have to be cleared and reset, which is a great argument for using unbound subforms. This is essentially what I've done with tab controls, except that with the tab control option, you don't have to clear and reload the subform control each time, which will create a delay, although perhaps not a noticeable one if the subform and its source are straightforward. The tab control only has to load the subform once when you go to a particular tab page. After that, the tab control takes care of hiding and displaying it. And binding isn't a problem. Charlotte Foust On Thu, Sep 8, 2011 at 6:16 PM, William Benson wrote: > I like that concept. Any downside you're hiding from us? > > ;) > On Sep 8, 2011 9:06 PM, "Dan Waters" wrote: > > I haven't completely read each post so maybe this has already been > brought > > up. > > > > On your form, create a subform. Now create a form to use in that > > subform, with all the controls from one of your 'layers'. Then > > create (start by > > copying?) all the forms (as layers) that you'll want to use in the > subform. > > In your main form, write code to change the SourceObject property to > > the name of whichever form you want to display depending on what > > your user > needs > > to do. You might want to use Application.Echo False/True in code to > > surround the switch from one form to the other to minimize screen > flashing. > > > > This separates out each group of controls onto its own easily > > editable separate form, and gives your user a clean GUI which > > doesn't have the > tabs > > of a tab control. I have used this and it works fine. > > > > You can so the same thing with a subreport control on a report. > > > > HTH, > > Dan > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Fri Sep 9 09:59:48 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 9 Sep 2011 07:59:48 -0700 Subject: [AccessD] Access versioning / tracking changes In-Reply-To: <4E69FE18.6090404@colbyconsulting.com> References: <4E69FE18.6090404@colbyconsulting.com> Message-ID: John, The way to do this is with version control software, i.e., SourceSafe, SourceGear Vault, etc. There are Access add-ins that allow you to use the version control software in a comparable manner to other languages, that is, at the granularity of inidividual containers within the project. You would need to look at what's out there, and the software isn't cheap, but there's a good reason for that. Of the two I've worked with (those above), Vault gives far greater control, but I admit I never worked with it in Access, only VB.Net. Charlotte Foust On Fri, Sep 9, 2011 at 4:52 AM, jwcolby wrote: > I use a somewhat simple two table change request database for tracking > changes to my Access projects. I have to admit I find it problematic to > track changes to a level that allows backing out any specific change while > leaving the rest. This has resulted in "rolling back" to a specific level > when a problem comes up. And yes they do test but things do happen. > > I have a CR table where the client places their change requests with > explanatory text. It has the typical requested date / requesting person / > date to test / date tested etc. A child table holds what I do with > explanatory text and a test regimen to test that it work, a text for what > they found in test (if problems). I can add another record as a response to > that testing problem etc. > > The problem I run into is that any significant change may involve a change > to N queries, additional fields or entire tables, code modules and so forth. > A change may be trivial or it may be an entire subsystem. I have never > found a way to really document in sufficient detail what I did to implement > the change that would allow me to back out just that change, at least of the > change is very complex. > > If I get two or three changes in and then one four changes back is found to > be a problem such that they want to roll it back, I often times cant. If we > roll back all the changes since (go back to a previous version) then we lose > all of the actual work done since. > > I have never worked in a large design team and witnessed how this is > generally done. I am wondering how you guys handle this stuff. Any words > of wisdom? Tools? tips? > > Can we have a discussion on this? > > -- > John W. Colby > www.ColbyConsulting.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From tinanfields at torchlake.com Fri Sep 9 09:07:18 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 09 Sep 2011 10:07:18 -0400 Subject: [AccessD] Access versioning / tracking changes In-Reply-To: <4E69FE18.6090404@colbyconsulting.com> References: <4E69FE18.6090404@colbyconsulting.com> Message-ID: <4E6A1D96.9080808@torchlake.com> John, I like your idea of using a database to track changes. I think I'll adopt it. I use a running notes document with dated entries. Each entry explains what I did and why, including things like working out the logic to do a certain new thing my client wants. At the end of every entry I have a list of the new items created and the existing items modified. The details of all those things are in the narrative of the entry. It can be tedious to go through, but it beats the heck out of having no idea how I got where I am at present. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 9/9/2011 7:52 AM, jwcolby wrote: > I use a somewhat simple two table change request database for tracking > changes to my Access projects. I have to admit I find it problematic > to track changes to a level that allows backing out any specific > change while leaving the rest. This has resulted in "rolling back" to > a specific level when a problem comes up. And yes they do test but > things do happen. > > I have a CR table where the client places their change requests with > explanatory text. It has the typical requested date / requesting > person / date to test / date tested etc. A child table holds what I > do with explanatory text and a test regimen to test that it work, a > text for what they found in test (if problems). I can add another > record as a response to that testing problem etc. > > The problem I run into is that any significant change may involve a > change to N queries, additional fields or entire tables, code modules > and so forth. A change may be trivial or it may be an entire > subsystem. I have never found a way to really document in sufficient > detail what I did to implement the change that would allow me to back > out just that change, at least of the change is very complex. > > If I get two or three changes in and then one four changes back is > found to be a problem such that they want to roll it back, I often > times cant. If we roll back all the changes since (go back to a > previous version) then we lose all of the actual work done since. > > I have never worked in a large design team and witnessed how this is > generally done. I am wondering how you guys handle this stuff. Any > words of wisdom? Tools? tips? > > Can we have a discussion on this? > From jwcolby at colbyconsulting.com Fri Sep 9 11:37:12 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 09 Sep 2011 12:37:12 -0400 Subject: [AccessD] Access versioning / tracking changes In-Reply-To: References: <4E69FE18.6090404@colbyconsulting.com> Message-ID: <4E6A40B8.3030509@colbyconsulting.com> Charlotte, I do version control in my C# code, at least I check stuff in etc. I really just use it for the code repository, not really for versioning. One problem I have is that I am solo. I do not the training to actually use a VCS to create and release versions, mark changes as verson XYZ etc. I use SVN and we check in changes, all that stuff. But how is that used to roll back a specific change? I dunno. If I understood that I might have the impetus to get Access working with that but if all I am going to do is check it in it seems less than useful. In the case of my C# stuff it is still useful because we can be working on things locally and only check in when it is tested etc. I.e. I can use an older version until the latest changes seem to be working. Even so it would be nice to say I want to roll back just change xyz. John W. Colby www.ColbyConsulting.com On 9/9/2011 10:59 AM, Charlotte Foust wrote: > John, > > The way to do this is with version control software, i.e., SourceSafe, > SourceGear Vault, etc. There are Access add-ins that allow you to use the > version control software in a comparable manner to other languages, that is, > at the granularity of inidividual containers within the project. You would > need to look at what's out there, and the software isn't cheap, but there's > a good reason for that. Of the two I've worked with (those above), Vault > gives far greater control, but I admit I never worked with it in Access, > only VB.Net. > > Charlotte Foust > > On Fri, Sep 9, 2011 at 4:52 AM, jwcolby wrote: > >> I use a somewhat simple two table change request database for tracking >> changes to my Access projects. I have to admit I find it problematic to >> track changes to a level that allows backing out any specific change while >> leaving the rest. This has resulted in "rolling back" to a specific level >> when a problem comes up. And yes they do test but things do happen. >> >> I have a CR table where the client places their change requests with >> explanatory text. It has the typical requested date / requesting person / >> date to test / date tested etc. A child table holds what I do with >> explanatory text and a test regimen to test that it work, a text for what >> they found in test (if problems). I can add another record as a response to >> that testing problem etc. >> >> The problem I run into is that any significant change may involve a change >> to N queries, additional fields or entire tables, code modules and so forth. >> A change may be trivial or it may be an entire subsystem. I have never >> found a way to really document in sufficient detail what I did to implement >> the change that would allow me to back out just that change, at least of the >> change is very complex. >> >> If I get two or three changes in and then one four changes back is found to >> be a problem such that they want to roll it back, I often times cant. If we >> roll back all the changes since (go back to a previous version) then we lose >> all of the actual work done since. >> >> I have never worked in a large design team and witnessed how this is >> generally done. I am wondering how you guys handle this stuff. Any words >> of wisdom? Tools? tips? >> >> Can we have a discussion on this? >> >> -- >> John W. Colby >> www.ColbyConsulting.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 Sep 9 08:39:11 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 09 Sep 2011 09:39:11 -0400 Subject: [AccessD] Access versioning / tracking changes In-Reply-To: <4E69FE18.6090404@colbyconsulting.com> References: <4E69FE18.6090404@colbyconsulting.com> Message-ID: I work along similar lines and have never found a good way to handle this either. I try and keep my changes small and do them one at a time, making a copy of the DB with each change. But trying to document everything and anything I change just takes too long. And like you, if the first change in a series of four needs to be un-done, then I can either go to a backup and loose all four or try to take out the first one manually. I've never done the latter though. Generally I want to get a client up and running as fast as possible, so I'll either fix it quick (if I think I can), or I simply drop back to the last known good copy and loose all four changes. I suppose I could use Total Access Detective like Dan suggests and try to pull out the first change, but I've never tried to do a rollback like that and it always seemed to me to be more trouble then it was possibly worth. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, September 09, 2011 07:53 AM To: Access Developers discussion and problem solving Subject: [AccessD] Access versioning / tracking changes I use a somewhat simple two table change request database for tracking changes to my Access projects. I have to admit I find it problematic to track changes to a level that allows backing out any specific change while leaving the rest. This has resulted in "rolling back" to a specific level when a problem comes up. And yes they do test but things do happen. I have a CR table where the client places their change requests with explanatory text. It has the typical requested date / requesting person / date to test / date tested etc. A child table holds what I do with explanatory text and a test regimen to test that it work, a text for what they found in test (if problems). I can add another record as a response to that testing problem etc. The problem I run into is that any significant change may involve a change to N queries, additional fields or entire tables, code modules and so forth. A change may be trivial or it may be an entire subsystem. I have never found a way to really document in sufficient detail what I did to implement the change that would allow me to back out just that change, at least of the change is very complex. If I get two or three changes in and then one four changes back is found to be a problem such that they want to roll it back, I often times cant. If we roll back all the changes since (go back to a previous version) then we lose all of the actual work done since. I have never worked in a large design team and witnessed how this is generally done. I am wondering how you guys handle this stuff. Any words of wisdom? Tools? tips? Can we have a discussion on this? -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Sep 9 12:01:39 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 09 Sep 2011 19:01:39 +0200 Subject: [AccessD] Access versioning / tracking changes Message-ID: Hi John You could have the EatBloat code from Max (where did he go?) to read out some or all objects to text files in your repository. Should you need an old version of your app, read back the set of files of that version. I do it simpler. At a given state - usually after some major batch of changes or just before deploying the app - I zip the app appending manually the next version number to the file name, like MyApp_027.zip. /gustav >>> jwcolby at colbyconsulting.com 09-09-2011 18:37 >>> Charlotte, I do version control in my C# code, at least I check stuff in etc. I really just use it for the code repository, not really for versioning. One problem I have is that I am solo. I do not the training to actually use a VCS to create and release versions, mark changes as verson XYZ etc. I use SVN and we check in changes, all that stuff. But how is that used to roll back a specific change? I dunno. If I understood that I might have the impetus to get Access working with that but if all I am going to do is check it in it seems less than useful. In the case of my C# stuff it is still useful because we can be working on things locally and only check in when it is tested etc. I.e. I can use an older version until the latest changes seem to be working. Even so it would be nice to say I want to roll back just change xyz. John W. Colby www.ColbyConsulting.com On 9/9/2011 10:59 AM, Charlotte Foust wrote: > John, > > The way to do this is with version control software, i.e., SourceSafe, > SourceGear Vault, etc. There are Access add-ins that allow you to use the > version control software in a comparable manner to other languages, that is, > at the granularity of inidividual containers within the project. You would > need to look at what's out there, and the software isn't cheap, but there's > a good reason for that. Of the two I've worked with (those above), Vault > gives far greater control, but I admit I never worked with it in Access, > only VB.Net. > > Charlotte Foust > > On Fri, Sep 9, 2011 at 4:52 AM, jwcolby wrote: > >> I use a somewhat simple two table change request database for tracking >> changes to my Access projects. I have to admit I find it problematic to >> track changes to a level that allows backing out any specific change while >> leaving the rest. This has resulted in "rolling back" to a specific level >> when a problem comes up. And yes they do test but things do happen. >> >> I have a CR table where the client places their change requests with >> explanatory text. It has the typical requested date / requesting person / >> date to test / date tested etc. A child table holds what I do with >> explanatory text and a test regimen to test that it work, a text for what >> they found in test (if problems). I can add another record as a response to >> that testing problem etc. >> >> The problem I run into is that any significant change may involve a change >> to N queries, additional fields or entire tables, code modules and so forth. >> A change may be trivial or it may be an entire subsystem. I have never >> found a way to really document in sufficient detail what I did to implement >> the change that would allow me to back out just that change, at least of the >> change is very complex. >> >> If I get two or three changes in and then one four changes back is found to >> be a problem such that they want to roll it back, I often times cant. If we >> roll back all the changes since (go back to a previous version) then we lose >> all of the actual work done since. >> >> I have never worked in a large design team and witnessed how this is >> generally done. I am wondering how you guys handle this stuff. Any words >> of wisdom? Tools? tips? >> >> Can we have a discussion on this? >> >> -- >> John W. Colby >> www.ColbyConsulting.com From jedi at charm.net Fri Sep 9 12:21:09 2011 From: jedi at charm.net (Michael Bahr) Date: Fri, 9 Sep 2011 13:21:09 -0400 (EDT) Subject: [AccessD] Access versioning / tracking changes In-Reply-To: <4E69FE18.6090404@colbyconsulting.com> References: <4E69FE18.6090404@colbyconsulting.com> Message-ID: <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> John, there are some concepts that you need to understand; version and revision. Revisions are incremental changes since the last offical release or version. Rollback "destroys" previous revisions. You can always checkout an earlier revision without destroying the other revision but, you still wind up with lost changes. SCM tools operate on text-based files or source code. They have a built-in ability to "compare" any two revisions for changes and display the results, similair to standalone that compare text files. Access is binary so you can not compare anything. That is your problem. As others have mentioned there are some plug-ins available that could extract the tables/queries/reports but it still binary. > I use a somewhat simple two table change request database for tracking > changes to my Access > projects. I have to admit I find it problematic to track changes to a > level that allows backing out > any specific change while leaving the rest. This has resulted in "rolling > back" to a specific level > when a problem comes up. And yes they do test but things do happen. > > I have a CR table where the client places their change requests with > explanatory text. It has the > typical requested date / requesting person / date to test / date tested > etc. A child table holds > what I do with explanatory text and a test regimen to test that it work, a > text for what they found > in test (if problems). I can add another record as a response to that > testing problem etc. > > The problem I run into is that any significant change may involve a change > to N queries, additional > fields or entire tables, code modules and so forth. A change may be > trivial or it may be an entire > subsystem. I have never found a way to really document in sufficient > detail what I did to implement > the change that would allow me to back out just that change, at least of > the change is very complex. Never gonna happen. You will still loose everything after that change provided that there are later revisions. Even with text-based source code you can not just get a portion of a revision, it is the whole revision or nothing. A possible solution would be to commit one requirement at a time instead of several. Still will not solve your problem. > > If I get two or three changes in and then one four changes back is found > to be a problem such that > they want to roll it back, I often times cant. If we roll back all the > changes since (go back to a > previous version) then we lose all of the actual work done since. Can not be helped. Then either the testing was incomplete or the requirements were faulty or the understanding of the requirement was faulty. > > I have never worked in a large design team and witnessed how this is > generally done. I am wondering > how you guys handle this stuff. Any words of wisdom? Tools? tips? > > Can we have a discussion on this? You should have some requirements that the customer must provide testing parameters/data so you can test and understand their changes. If they decide that those changes do not work then they must understand the risks. Mike... From jwcolby at colbyconsulting.com Fri Sep 9 12:52:12 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 09 Sep 2011 13:52:12 -0400 Subject: [AccessD] Access versioning / tracking changes In-Reply-To: <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> Message-ID: <4E6A524C.80305@colbyconsulting.com> Michael, I pretty much understand all of that. So what you are saying is that there is no way to really check out a version with everything except a specific change. That really makes sense given the possibility of interactions between lines of code. Actually even having the ability to look at changes at revision levels would be useful. John W. Colby www.ColbyConsulting.com On 9/9/2011 1:21 PM, Michael Bahr wrote: > John, there are some concepts that you need to understand; version and > revision. Revisions are incremental changes since the last offical > release or version. Rollback "destroys" previous revisions. You can > always checkout an earlier revision without destroying the other revision > but, you still wind up with lost changes. > > SCM tools operate on text-based files or source code. They have a > built-in ability to "compare" any two revisions for changes and display > the results, similair to standalone that compare text files. Access is > binary so you can not compare anything. That is your problem. As others > have mentioned there are some plug-ins available that could extract the > tables/queries/reports but it still binary. > >> I use a somewhat simple two table change request database for tracking >> changes to my Access >> projects. I have to admit I find it problematic to track changes to a >> level that allows backing out >> any specific change while leaving the rest. This has resulted in "rolling >> back" to a specific level >> when a problem comes up. And yes they do test but things do happen. >> >> I have a CR table where the client places their change requests with >> explanatory text. It has the >> typical requested date / requesting person / date to test / date tested >> etc. A child table holds >> what I do with explanatory text and a test regimen to test that it work, a >> text for what they found >> in test (if problems). I can add another record as a response to that >> testing problem etc. >> >> The problem I run into is that any significant change may involve a change >> to N queries, additional >> fields or entire tables, code modules and so forth. A change may be >> trivial or it may be an entire >> subsystem. I have never found a way to really document in sufficient >> detail what I did to implement >> the change that would allow me to back out just that change, at least of >> the change is very complex. > > Never gonna happen. You will still loose everything after that change > provided that there are later revisions. Even with text-based source code > you can not just get a portion of a revision, it is the whole revision or > nothing. A possible solution would be to commit one requirement at a time > instead of several. Still will not solve your problem. > >> >> If I get two or three changes in and then one four changes back is found >> to be a problem such that >> they want to roll it back, I often times cant. If we roll back all the >> changes since (go back to a >> previous version) then we lose all of the actual work done since. > > Can not be helped. Then either the testing was incomplete or the > requirements were faulty or the understanding of the requirement was > faulty. > >> >> I have never worked in a large design team and witnessed how this is >> generally done. I am wondering >> how you guys handle this stuff. Any words of wisdom? Tools? tips? >> >> Can we have a discussion on this? > > You should have some requirements that the customer must provide testing > parameters/data so you can test and understand their changes. If they > decide that those changes do not work then they must understand the risks. > > Mike... > From stuart at lexacorp.com.pg Fri Sep 9 16:18:49 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 10 Sep 2011 07:18:49 +1000 Subject: [AccessD] Access versioning / tracking changes In-Reply-To: References: Message-ID: <4E6A82B9.1795.36FBC699@stuart.lexacorp.com.pg> I do the same, but it doesn't help John's problem. Unfortunately John's idea is a "pipedream". Example: He is on version 2.5. He wants to remove the changes made in version 2.2 but keep the changes made in ver 2.3, 2.4 and 3.5 What happens if any to the 2.3, 2.4 or 2.5 enhancements use a function or a query field added in 2.2, or even depend on just a change made in a function somewhere in the application? -- Stuart On 9 Sep 2011 at 19:01, Gustav Brock wrote: > Hi John > > You could have the EatBloat code from Max (where did he go?) to read > out some or all objects to text files in your repository. Should you > need an old version of your app, read back the set of files of that > version. > > I do it simpler. At a given state - usually after some major batch of > changes or just before deploying the app - I zip the app appending > manually the next version number to the file name, like MyApp_027.zip. ... > >> If I get two or three changes in and then one four changes back is > >> found to be a problem such that they want to roll it back, I often > >> times cant. If we roll back all the changes since (go back to a > >> previous version) then we lose all of the actual work done since. > >> From jwcolby at colbyconsulting.com Fri Sep 9 17:10:33 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 09 Sep 2011 18:10:33 -0400 Subject: [AccessD] Access versioning / tracking changes In-Reply-To: <4E6A82B9.1795.36FBC699@stuart.lexacorp.com.pg> References: <4E6A82B9.1795.36FBC699@stuart.lexacorp.com.pg> Message-ID: <4E6A8ED9.5020405@colbyconsulting.com> Yep. But that is what the client wants to happen. It is inherently obvious to the most casual observer that it can't really happen. John W. Colby www.ColbyConsulting.com On 9/9/2011 5:18 PM, Stuart McLachlan wrote: > I do the same, but it doesn't help John's problem. > > Unfortunately John's idea is a "pipedream". > > Example: > He is on version 2.5. He wants to remove the changes made in version 2.2 but keep the > changes made in ver 2.3, 2.4 and 3.5 > > What happens if any to the 2.3, 2.4 or 2.5 enhancements use a function or a query field > added in 2.2, or even depend on just a change made in a function somewhere in the > application? > > From fuller.artful at gmail.com Fri Sep 9 19:18:30 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 9 Sep 2011 20:18:30 -0400 Subject: [AccessD] Access versioning / tracking changes In-Reply-To: <4E6A8ED9.5020405@colbyconsulting.com> References: <4E6A82B9.1795.36FBC699@stuart.lexacorp.com.pg> <4E6A8ED9.5020405@colbyconsulting.com> Message-ID: After reading all this, I must confess that the method I use is *primitive*! While doing development I keep OneNote open and copy/paste any code I'm about to change into a new OneNote page. Then I plunge ahead (after of course backing up the current version), and when I've made the change(s), I copy and paste that code into OneNote. It ain't exactly an audit trail nor a VCS but it's as close as I've been able to come. In theory, I like the idea of using EatBloat to export all the stuff as text and then stuff that into a genuine VCS, but I've been bitten by EatBloat more than once and I'm now gun-shy. A. On Fri, Sep 9, 2011 at 6:10 PM, jwcolby wrote: > Yep. But that is what the client wants to happen. It is inherently > obvious to the most casual observer that it can't really happen. > > > John W. Colby > www.ColbyConsulting.com > > > From jedi at charm.net Sat Sep 10 11:52:03 2011 From: jedi at charm.net (Michael Bahr) Date: Sat, 10 Sep 2011 12:52:03 -0400 (EDT) Subject: [AccessD] Access versioning / tracking changes In-Reply-To: <4E6A524C.80305@colbyconsulting.com> References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> <4E6A524C.80305@colbyconsulting.com> Message-ID: <4368.24.35.110.93.1315673523.squirrel@mail.expedient.net> > Michael, > > I pretty much understand all of that. So what you are saying is that > there is no way to really > check out a version with everything except a specific change. That really revision not version, all changes up to and including that revision. > makes sense given the > possibility of interactions between lines of code. > > Actually even having the ability to look at changes at revision levels > would be useful. It is very useful BUT only source code which is text-based. As someone already mentioned FMS has this ability but it is a manual task after GETting an earilier revision and comparing the two. Another feature the SCM tools have is the ability to "branch" or run developement in parallel to the main trunk. Think of a tree, which has a main trunk and branches. The SCM tools allow you to branch then merge if necessary back into the main trunk. For example, you have a deliverable product and one of your customers wants a specific feature that no onw else wants. You branch your project and add the new features and more forward from there without disturbing the main product. Now if the main product continues with its developement then you can merge the specific revisions into the other branch to keep the core application up to date. However since you have a binary file/application you would have to do the merging manually. Then test and do regression testing. Mike... > > John W. Colby > www.ColbyConsulting.com > > On 9/9/2011 1:21 PM, Michael Bahr wrote: >> John, there are some concepts that you need to understand; version and >> revision. Revisions are incremental changes since the last offical >> release or version. Rollback "destroys" previous revisions. You can >> always checkout an earlier revision without destroying the other >> revision >> but, you still wind up with lost changes. >> >> SCM tools operate on text-based files or source code. They have a >> built-in ability to "compare" any two revisions for changes and display >> the results, similair to standalone that compare text files. Access is >> binary so you can not compare anything. That is your problem. As >> others >> have mentioned there are some plug-ins available that could extract the >> tables/queries/reports but it still binary. >> >>> I use a somewhat simple two table change request database for tracking >>> changes to my Access >>> projects. I have to admit I find it problematic to track changes to a >>> level that allows backing out >>> any specific change while leaving the rest. This has resulted in >>> "rolling >>> back" to a specific level >>> when a problem comes up. And yes they do test but things do happen. >>> >>> I have a CR table where the client places their change requests with >>> explanatory text. It has the >>> typical requested date / requesting person / date to test / date tested >>> etc. A child table holds >>> what I do with explanatory text and a test regimen to test that it >>> work, a >>> text for what they found >>> in test (if problems). I can add another record as a response to that >>> testing problem etc. >>> >>> The problem I run into is that any significant change may involve a >>> change >>> to N queries, additional >>> fields or entire tables, code modules and so forth. A change may be >>> trivial or it may be an entire >>> subsystem. I have never found a way to really document in sufficient >>> detail what I did to implement >>> the change that would allow me to back out just that change, at least >>> of >>> the change is very complex. >> >> Never gonna happen. You will still loose everything after that change >> provided that there are later revisions. Even with text-based source >> code >> you can not just get a portion of a revision, it is the whole revision >> or >> nothing. A possible solution would be to commit one requirement at a >> time >> instead of several. Still will not solve your problem. >> >>> >>> If I get two or three changes in and then one four changes back is >>> found >>> to be a problem such that >>> they want to roll it back, I often times cant. If we roll back all the >>> changes since (go back to a >>> previous version) then we lose all of the actual work done since. >> >> Can not be helped. Then either the testing was incomplete or the >> requirements were faulty or the understanding of the requirement was >> faulty. >> >>> >>> I have never worked in a large design team and witnessed how this is >>> generally done. I am wondering >>> how you guys handle this stuff. Any words of wisdom? Tools? tips? >>> >>> Can we have a discussion on this? >> >> You should have some requirements that the customer must provide testing >> parameters/data so you can test and understand their changes. If they >> decide that those changes do not work then they must understand the >> risks. >> >> Mike... >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From marksimms at verizon.net Sun Sep 11 09:03:31 2011 From: marksimms at verizon.net (Mark Simms) Date: Sun, 11 Sep 2011 10:03:31 -0400 Subject: [AccessD] OLE DB being retired In-Reply-To: <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> Message-ID: <000001cc708b$975c37b0$c614a710$@net> Just when you thought the craziness at MSFT had stopped: Rohan Lam, the Program Manager for SQL Server Connectivity, has officially stated that the next version of SQL Server,Denali, will be the last that will support OLE DB. The SQL Server OLE DB provider will then be deprecated in favour of SQL Server Native Client ODBC. In seven years' time OLE DB will be a dead, unsupported technology for SQL Server. What does one read into this remarkable handbrake-turn? Microsoft still publishes White Papers exhorting us to abandon ODBC in favour of OLE DB. Is it is now time to abandon OLE DB? www.sqlservercentral.com From accessd at shaw.ca Sun Sep 11 10:14:06 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 11 Sep 2011 08:14:06 -0700 Subject: [AccessD] OLE DB being retired In-Reply-To: <000001cc708b$975c37b0$c614a710$@net> References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> <000001cc708b$975c37b0$c614a710$@net> Message-ID: <2CDFE19088B646B2818F45D85C1B60DE@creativesystemdesigns.com> I for one will not be happy to see OLE leaving. It is a very fast protocol as all the encumbrances of the ODBC wrapper were removed. Matching ADO with OLE was always fast and slick...a real dream to work with. I do wonder why support for such an elegant designed product was removed? Fortunately, desktop application have been slowly migrating to browser/web bases designs and it disappearance will have little negative impact. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Sunday, September 11, 2011 7:04 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OLE DB being retired Just when you thought the craziness at MSFT had stopped: Rohan Lam, the Program Manager for SQL Server Connectivity, has officially stated that the next version of SQL Server,Denali, will be the last that will support OLE DB. The SQL Server OLE DB provider will then be deprecated in favour of SQL Server Native Client ODBC. In seven years' time OLE DB will be a dead, unsupported technology for SQL Server. What does one read into this remarkable handbrake-turn? Microsoft still publishes White Papers exhorting us to abandon ODBC in favour of OLE DB. Is it is now time to abandon OLE DB? www.sqlservercentral.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sun Sep 11 16:58:31 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 12 Sep 2011 07:58:31 +1000 Subject: [AccessD] OLE DB being retired In-Reply-To: <000001cc708b$975c37b0$c614a710$@net> References: <4E69FE18.6090404@colbyconsulting.com>, <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net>, <000001cc708b$975c37b0$c614a710$@net> Message-ID: <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> I must be psychic. That's four in a row where I made the right decision not to follow MS up a blind alley I stayed with DAO instead of ADODB I stayed away from ADPs I stayed away from DAPs I stayed with ODBC/Native Client instead of OLEDB (actually 5 if you include .Net ) -- Stuart On 11 Sep 2011 at 10:03, Mark Simms wrote: > Just when you thought the craziness at MSFT had stopped: > > Rohan Lam, the Program Manager for SQL Server Connectivity, has > officially stated that the next version of SQL Server,Denali, will be > the last that will support OLE DB. The SQL Server OLE DB provider will > then be deprecated in favour of SQL Server Native Client ODBC. In > seven years' time OLE DB will be a dead, unsupported technology for > SQL Server. What does one read into this remarkable handbrake-turn? > Microsoft still publishes White Papers exhorting us to abandon ODBC in > favour of OLE DB. Is it is now time to abandon OLE DB? > > www.sqlservercentral.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 Sep 11 19:18:12 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 11 Sep 2011 17:18:12 -0700 Subject: [AccessD] OLE DB being retired In-Reply-To: <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> <000001cc708b$975c37b0$c614a710$@net> <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> Message-ID: <87993497A95340A69B7F2BF3A37953F7@creativesystemdesigns.com> I will give you credit for the correct choices but I have always been a sucker for raw speed... A friend, who just retired from his carpentry business, would always say, "You know as well as I do there is no substitute for horse-power." Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, September 11, 2011 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OLE DB being retired I must be psychic. That's four in a row where I made the right decision not to follow MS up a blind alley I stayed with DAO instead of ADODB I stayed away from ADPs I stayed away from DAPs I stayed with ODBC/Native Client instead of OLEDB (actually 5 if you include .Net ) -- Stuart On 11 Sep 2011 at 10:03, Mark Simms wrote: > Just when you thought the craziness at MSFT had stopped: > > Rohan Lam, the Program Manager for SQL Server Connectivity, has > officially stated that the next version of SQL Server,Denali, will be > the last that will support OLE DB. The SQL Server OLE DB provider will > then be deprecated in favour of SQL Server Native Client ODBC. In > seven years' time OLE DB will be a dead, unsupported technology for > SQL Server. What does one read into this remarkable handbrake-turn? > Microsoft still publishes White Papers exhorting us to abandon ODBC in > favour of OLE DB. Is it is now time to abandon OLE DB? > > www.sqlservercentral.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Sun Sep 11 19:29:15 2011 From: newsgrps at dalyn.co.nz (newsgrps) Date: Mon, 12 Sep 2011 12:29:15 +1200 Subject: [AccessD] OLE DB being retired In-Reply-To: <87993497A95340A69B7F2BF3A37953F7@creativesystemdesigns.com > References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> <000001cc708b$975c37b0$c614a710$@net> <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> <87993497A95340A69B7F2BF3A37953F7@creativesystemdesigns.com> Message-ID: <20110912002938.DWQE20837.mta01.xtra.co.nz@David-PC.dalyn.co.nz> Is it any coincidence that Denali is an anagram for Denial? David Emerson Dalyn Software Ltd New Zealand At 12/09/2011, Jim Lawrence wrote: >I will give you credit for the correct choices but I have always been a >sucker for raw speed... > >A friend, who just retired from his carpentry business, would always say, >"You know as well as I do there is no substitute for horse-power." > >Jim > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan >Sent: Sunday, September 11, 2011 2:59 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] OLE DB being retired > >I must be psychic. That's four in a row where I made the right decision not >to follow MS up a >blind alley > >I stayed with DAO instead of ADODB >I stayed away from ADPs >I stayed away from DAPs >I stayed with ODBC/Native Client instead of OLEDB > >(actually 5 if you include .Net ) > >-- >Stuart > > >On 11 Sep 2011 at 10:03, Mark Simms wrote: > > > Just when you thought the craziness at MSFT had stopped: > > > > Rohan Lam, the Program Manager for SQL Server Connectivity, has > > officially stated that the next version of SQL Server,Denali, will be > > the last that will support OLE DB. The SQL Server OLE DB provider will > > then be deprecated in favour of SQL Server Native Client ODBC. In > > seven years' time OLE DB will be a dead, unsupported technology for > > SQL Server. What does one read into this remarkable handbrake-turn? > > Microsoft still publishes White Papers exhorting us to abandon ODBC in > > favour of OLE DB. Is it is now time to abandon OLE DB? > > > > www.sqlservercentral.com > > From accessd at shaw.ca Sun Sep 11 19:39:03 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 11 Sep 2011 17:39:03 -0700 Subject: [AccessD] OLE DB being retired In-Reply-To: <20110912002938.DWQE20837.mta01.xtra.co.nz@David-PC.dalyn.co.nz> References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> <000001cc708b$975c37b0$c614a710$@net> <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> <87993497A95340A69B7F2BF3A37953F7@creativesystemdesigns.com> <20110912002938.DWQE20837.mta01.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: <67F68698D62C4EF9AE68A3417BDD9666@creativesystemdesigns.com> A Freudian slip? How did you know I was starting tests on the product this evening? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of newsgrps Sent: Sunday, September 11, 2011 5:29 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OLE DB being retired Is it any coincidence that Denali is an anagram for Denial? David Emerson Dalyn Software Ltd New Zealand At 12/09/2011, Jim Lawrence wrote: >I will give you credit for the correct choices but I have always been a >sucker for raw speed... > >A friend, who just retired from his carpentry business, would always say, >"You know as well as I do there is no substitute for horse-power." > >Jim > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan >Sent: Sunday, September 11, 2011 2:59 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] OLE DB being retired > >I must be psychic. That's four in a row where I made the right decision not >to follow MS up a >blind alley > >I stayed with DAO instead of ADODB >I stayed away from ADPs >I stayed away from DAPs >I stayed with ODBC/Native Client instead of OLEDB > >(actually 5 if you include .Net ) > >-- >Stuart > > >On 11 Sep 2011 at 10:03, Mark Simms wrote: > > > Just when you thought the craziness at MSFT had stopped: > > > > Rohan Lam, the Program Manager for SQL Server Connectivity, has > > officially stated that the next version of SQL Server,Denali, will be > > the last that will support OLE DB. The SQL Server OLE DB provider will > > then be deprecated in favour of SQL Server Native Client ODBC. In > > seven years' time OLE DB will be a dead, unsupported technology for > > SQL Server. What does one read into this remarkable handbrake-turn? > > Microsoft still publishes White Papers exhorting us to abandon ODBC in > > favour of OLE DB. Is it is now time to abandon OLE DB? > > > > www.sqlservercentral.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 Sep 11 19:44:27 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sun, 11 Sep 2011 17:44:27 -0700 Subject: [AccessD] OLE DB being retired In-Reply-To: <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> <000001cc708b$975c37b0$c614a710$@net> <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> Message-ID: Don't break your arm patting your back! ADODB was a wonderful introduction to ADO.Net. Charlotte Foust On Sun, Sep 11, 2011 at 2:58 PM, Stuart McLachlan wrote: > I must be psychic. That's four in a row where I made the right decision > not to follow MS up a > blind alley > > I stayed with DAO instead of ADODB > I stayed away from ADPs > I stayed away from DAPs > I stayed with ODBC/Native Client instead of OLEDB > > (actually 5 if you include .Net ) > > -- > Stuart > > > On 11 Sep 2011 at 10:03, Mark Simms wrote: > > > Just when you thought the craziness at MSFT had stopped: > > > > Rohan Lam, the Program Manager for SQL Server Connectivity, has > > officially stated that the next version of SQL Server,Denali, will be > > the last that will support OLE DB. The SQL Server OLE DB provider will > > then be deprecated in favour of SQL Server Native Client ODBC. In > > seven years' time OLE DB will be a dead, unsupported technology for > > SQL Server. What does one read into this remarkable handbrake-turn? > > Microsoft still publishes White Papers exhorting us to abandon ODBC in > > favour of OLE DB. Is it is now time to abandon OLE DB? > > > > www.sqlservercentral.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 Sep 11 23:00:25 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 12 Sep 2011 14:00:25 +1000 Subject: [AccessD] Archives? In-Reply-To: References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> <000001cc708b$975c37b0$c614a710$@net> <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> Message-ID: <002001cc7100$806bd130$81437390$@com.au> Hi Admin folks, Access D archives link from the website seems to be (still) down. I recall reading folks were having issues a while back, but of course I cannot access the archives to see what the solution might have been. >From memory there was a cunning secret link that still worked, or maybe I was drunk at the time I read that? Any pointers? Cheers Darryl. From stuart at lexacorp.com.pg Mon Sep 12 03:45:55 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 12 Sep 2011 18:45:55 +1000 Subject: [AccessD] OLE DB being retired In-Reply-To: <20110912002938.DWQE20837.mta01.xtra.co.nz@David-PC.dalyn.co.nz> References: <4E69FE18.6090404@colbyconsulting.com>, <87993497A95340A69B7F2BF3A37953F7@creativesystemdesigns.com >, <20110912002938.DWQE20837.mta01.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: <4E6DC6C3.15083.1CFA28E@stuart.lexacorp.com.pg> or Nailed or And Lie :) -- Stuart On 12 Sep 2011 at 12:29, newsgrps wrote: > Is it any coincidence that Denali is an anagram for Denial? > > David Emerson > Dalyn Software Ltd > New Zealand > > At 12/09/2011, Jim Lawrence wrote: > >I will give you credit for the correct choices but I have always been > >a sucker for raw speed... > > > >A friend, who just retired from his carpentry business, would always > >say, "You know as well as I do there is no substitute for > >horse-power." > > > >Jim > > > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > >McLachlan Sent: Sunday, September 11, 2011 2:59 PM To: Access > >Developers discussion and problem solving Subject: Re: [AccessD] OLE > >DB being retired > > > >I must be psychic. That's four in a row where I made the right > >decision not to follow MS up a blind alley > > > >I stayed with DAO instead of ADODB > >I stayed away from ADPs > >I stayed away from DAPs > >I stayed with ODBC/Native Client instead of OLEDB > > > >(actually 5 if you include .Net ) > > > >-- > >Stuart > > > > > >On 11 Sep 2011 at 10:03, Mark Simms wrote: > > > > > Just when you thought the craziness at MSFT had stopped: > > > > > > Rohan Lam, the Program Manager for SQL Server Connectivity, has > > > officially stated that the next version of SQL Server,Denali, will > > > be the last that will support OLE DB. The SQL Server OLE DB > > > provider will then be deprecated in favour of SQL Server Native > > > Client ODBC. In seven years' time OLE DB will be a dead, > > > unsupported technology for SQL Server. What does one read into > > > this remarkable handbrake-turn? Microsoft still publishes White > > > Papers exhorting us to abandon ODBC in favour of OLE DB. Is it is > > > now time to abandon OLE DB? > > > > > > www.sqlservercentral.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 Sep 12 08:36:46 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 12 Sep 2011 09:36:46 -0400 Subject: [AccessD] OLE DB being retired In-Reply-To: <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> References: <4E69FE18.6090404@colbyconsulting.com>, <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net>, <000001cc708b$975c37b0$c614a710$@net> <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> Message-ID: <88899EFC79F041318C1738F1BAD85AA8@XPS> Stuart, Were actually on the same page. I use ADO and ADP's a bit, but for the most part I have stayed away from them and never really moved to ADO at all. I still use DAO for just about everything (if I can get away with it). I've also stayed away from .Net, but it looks like I'm going to pay for that one having at least 15 years yet to retirement. Access doesn't seem like it's going to hang on (for me) that long with the likes of Lightswitch and it's wholesale move to the web. It has too little focus on producing desktop apps anymore, which I suppose is a sign of the times. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, September 11, 2011 05:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OLE DB being retired I must be psychic. That's four in a row where I made the right decision not to follow MS up a blind alley I stayed with DAO instead of ADODB I stayed away from ADPs I stayed away from DAPs I stayed with ODBC/Native Client instead of OLEDB (actually 5 if you include .Net ) -- Stuart On 11 Sep 2011 at 10:03, Mark Simms wrote: > Just when you thought the craziness at MSFT had stopped: > > Rohan Lam, the Program Manager for SQL Server Connectivity, has > officially stated that the next version of SQL Server,Denali, will be > the last that will support OLE DB. The SQL Server OLE DB provider will > then be deprecated in favour of SQL Server Native Client ODBC. In > seven years' time OLE DB will be a dead, unsupported technology for > SQL Server. What does one read into this remarkable handbrake-turn? > Microsoft still publishes White Papers exhorting us to abandon ODBC in > favour of OLE DB. Is it is now time to abandon OLE DB? > > www.sqlservercentral.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 Sep 13 07:59:12 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Sep 2011 08:59:12 -0400 Subject: [AccessD] Background color when modifying Message-ID: <4E6F53A0.1040400@colbyconsulting.com> I am working on a database. The labels are apparently transparent and the form has a background pattern (one of those auto form thingies). When I click in the label for a control and then click again to edit the caption, the background color turns this obnoxious dark red-ish brown and makes it darned near impossible to see the blue font. Does anyone know if that is a property somewhere that I can modify? This is not a runtime property, it is a design time property. -- John W. Colby www.ColbyConsulting.com From jm.hwsn at gmail.com Tue Sep 13 08:18:26 2011 From: jm.hwsn at gmail.com (jm.hwsn) Date: Tue, 13 Sep 2011 08:18:26 -0500 Subject: [AccessD] Background color when modifying In-Reply-To: <4E6F53A0.1040400@colbyconsulting.com> References: <4E6F53A0.1040400@colbyconsulting.com> Message-ID: <4e6f5826.a3afec0a.532b.6bc3@mx.google.com> John, I had that happen to me too. Check the background color of the label. What happens is when you modify the text the background color is shown. So change it to white and it'll work for you. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 13, 2011 7:59 AM To: Access Developers discussion and problem solving Subject: [AccessD] Background color when modifying I am working on a database. The labels are apparently transparent and the form has a background pattern (one of those auto form thingies). When I click in the label for a control and then click again to edit the caption, the background color turns this obnoxious dark red-ish brown and makes it darned near impossible to see the blue font. Does anyone know if that is a property somewhere that I can modify? This is not a runtime property, it is a design time property. -- John W. Colby www.ColbyConsulting.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 Tue Sep 13 08:21:55 2011 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Tue, 13 Sep 2011 09:21:55 -0400 Subject: [AccessD] Background color when modifying In-Reply-To: <4E6F53A0.1040400@colbyconsulting.com> References: <4E6F53A0.1040400@colbyconsulting.com> Message-ID: I think you may be dealing with a form formatted with the 'International' style. In any case the dreadful color you see is what the label would have if it did *not* have a transparent background. So all you need to do is change the Back Color property from 13209 (or whatever it may be ) to white (16777215), and then you'll be able to read it while you edit the caption. Naturally you could also do this in code by just looping through all the labels and changing heir back color in VBA. Of course you can also simply edit the caption in the property sheet. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 13, 2011 8:59 AM To: Access Developers discussion and problem solving Subject: [AccessD] Background color when modifying I am working on a database. The labels are apparently transparent and the form has a background pattern (one of those auto form thingies). When I click in the label for a control and then click again to edit the caption, the background color turns this obnoxious dark red-ish brown and makes it darned near impossible to see the blue font. Does anyone know if that is a property somewhere that I can modify? This is not a runtime property, it is a design time property. -- John W. Colby www.ColbyConsulting.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 Sep 13 08:51:33 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Sep 2011 09:51:33 -0400 Subject: [AccessD] Background color when modifying In-Reply-To: <4e6f5826.a3afec0a.532b.6bc3@mx.google.com> References: <4E6F53A0.1040400@colbyconsulting.com> <4e6f5826.a3afec0a.532b.6bc3@mx.google.com> Message-ID: <4E6F5FE5.4010808@colbyconsulting.com> Thanks guys. It is indeed transparent but a funky color. Setting the color to white and transparent fixes the problem. John W. Colby www.ColbyConsulting.com On 9/13/2011 9:18 AM, jm.hwsn wrote: > John, I had that happen to me too. > Check the background color of the label. > What happens is when you modify the text the background color is shown. > So change it to white and it'll work for you. > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, September 13, 2011 7:59 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Background color when modifying > > I am working on a database. The labels are apparently transparent and the > form has a background > pattern (one of those auto form thingies). When I click in the label for a > control and then click > again to edit the caption, the background color turns this obnoxious dark > red-ish brown and makes it > darned near impossible to see the blue font. > > Does anyone know if that is a property somewhere that I can modify? This is > not a runtime property, > it is a design time property. > From jwcolby at colbyconsulting.com Tue Sep 13 09:01:55 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Sep 2011 10:01:55 -0400 Subject: [AccessD] Runtime when full version is installed Message-ID: <4E6F6253.2070808@colbyconsulting.com> I have a small (non-profit) client that wants me to install full office 2010 on all of their employees systems. However I want my Access App to run under the runtime. Mostly just for that additional security of not allowing them access to design time stuff unless they intentionally open the app under the full version. I have installed the runtime on other machines but I do not remember if the runtime install allows me to set the destination (install) directory. Is anyone using the runtime? Any tips or tricks for this scenario? -- John W. Colby www.ColbyConsulting.com From Gustav at cactus.dk Tue Sep 13 09:15:31 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 13 Sep 2011 16:15:31 +0200 Subject: [AccessD] Runtime when full version is installed Message-ID: Hi John Non-profit and full Office 2010 doesn't match costly wise. Are you they need Access on all machines? We've never had a client - profit or none - with that demand; we always use the Office 2010 for home and small business with the cheap PCK license. /gustav >>> jwcolby at colbyconsulting.com 13-09-2011 16:01 >>> I have a small (non-profit) client that wants me to install full office 2010 on all of their employees systems. However I want my Access App to run under the runtime. Mostly just for that additional security of not allowing them access to design time stuff unless they intentionally open the app under the full version. I have installed the runtime on other machines but I do not remember if the runtime install allows me to set the destination (install) directory. Is anyone using the runtime? Any tips or tricks for this scenario? -- John W. Colby www.ColbyConsulting.com From charlotte.foust at gmail.com Tue Sep 13 09:24:17 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Tue, 13 Sep 2011 07:24:17 -0700 Subject: [AccessD] Runtime when full version is installed In-Reply-To: <4E6F6253.2070808@colbyconsulting.com> References: <4E6F6253.2070808@colbyconsulting.com> Message-ID: It does, but that doesn't really help if the file association is with full version Access. We used Sage Key scripts to wrap the runtime executable so that the PC didn't get confused. Charlotte Foust On Tue, Sep 13, 2011 at 7:01 AM, jwcolby wrote: > I have a small (non-profit) client that wants me to install full office > 2010 on all of their employees systems. However I want my Access App to run > under the runtime. Mostly just for that additional security of not allowing > them access to design time stuff unless they intentionally open the app > under the full version. > > I have installed the runtime on other machines but I do not remember if the > runtime install allows me to set the destination (install) directory. > > Is anyone using the runtime? Any tips or tricks for this scenario? > > -- > John W. Colby > www.ColbyConsulting.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From jm.hwsn at gmail.com Tue Sep 13 09:38:48 2011 From: jm.hwsn at gmail.com (jm.hwsn) Date: Tue, 13 Sep 2011 09:38:48 -0500 Subject: [AccessD] Runtime when full version is installed In-Reply-To: References: Message-ID: <4e6f6afb.f154ec0a.1d80.7f09@mx.google.com> I agree with that assessment. However, if the client really wants the full install and you want them to run your database using the runtime. The quickest and easiest is to change the extension of the file to accdr. Access will treat it as if it's running under runtime. Yes, the extension can be changed back quite easily. However, with a little bit code it won't run without the proper extension. Such as: If SysCmd(acSysCmdRuntime) = False Then 'Should be using runtime but if not, quit application. If MsgBox("This file is in the wrong format and will not run.", vbCritical, "Application Quit") = vbOK Then Application.Quit End If End If I put this in the on open event of the first form that opens. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, September 13, 2011 9:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Runtime when full version is installed Hi John Non-profit and full Office 2010 doesn't match costly wise. Are you they need Access on all machines? We've never had a client - profit or none - with that demand; we always use the Office 2010 for home and small business with the cheap PCK license. /gustav >>> jwcolby at colbyconsulting.com 13-09-2011 16:01 >>> I have a small (non-profit) client that wants me to install full office 2010 on all of their employees systems. However I want my Access App to run under the runtime. Mostly just for that additional security of not allowing them access to design time stuff unless they intentionally open the app under the full version. I have installed the runtime on other machines but I do not remember if the runtime install allows me to set the destination (install) directory. Is anyone using the runtime? Any tips or tricks for this scenario? -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davidmcafee at gmail.com Tue Sep 13 11:09:22 2011 From: davidmcafee at gmail.com (David McAfee) Date: Tue, 13 Sep 2011 09:09:22 -0700 Subject: [AccessD] Runtime when full version is installed In-Reply-To: References: <4E6F6253.2070808@colbyconsulting.com> Message-ID: +1 on the Sagekey scripts. I haven't used it with 2007/2010 but did use it with earlier versions. Expensive, but worth it. On Tue, Sep 13, 2011 at 7:24 AM, Charlotte Foust wrote: > It does, but that doesn't really help if the file association is with full > version Access. We used Sage Key scripts to wrap the runtime executable so > that the PC didn't get confused. > > Charlotte Foust > > On Tue, Sep 13, 2011 at 7:01 AM, jwcolby >wrote: > > > I have a small (non-profit) client that wants me to install full office > > 2010 on all of their employees systems. However I want my Access App to > run > > under the runtime. Mostly just for that additional security of not > allowing > > them access to design time stuff unless they intentionally open the app > > under the full version. > > > > I have installed the runtime on other machines but I do not remember if > the > > runtime install allows me to set the destination (install) directory. > > > > Is anyone using the runtime? Any tips or tricks for this scenario? > > > > -- > > John W. Colby > > www.ColbyConsulting.com > > > > > > -- > > 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 Tue Sep 13 11:14:01 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Sep 2011 12:14:01 -0400 Subject: [AccessD] Runtime when full version is installed In-Reply-To: References: <4E6F6253.2070808@colbyconsulting.com> Message-ID: <4E6F8149.3000107@colbyconsulting.com> Charlotte, > It does, but that doesn't really help if the file association is with full version Access. Associations only matter if you double click a file. If I have a shortcut that uses the actual installed access runtime instance to open the file then... >We used Sage Key scripts to wrap the runtime executable so that the PC didn't get confused. It is so nice of you to offer to buy that for me. ;) John W. Colby www.ColbyConsulting.com On 9/13/2011 10:24 AM, Charlotte Foust wrote: > It does, but that doesn't really help if the file association is with full > version Access. We used Sage Key scripts to wrap the runtime executable so > that the PC didn't get confused. > > Charlotte Foust > > On Tue, Sep 13, 2011 at 7:01 AM, jwcolbywrote: > >> I have a small (non-profit) client that wants me to install full office >> 2010 on all of their employees systems. However I want my Access App to run >> under the runtime. Mostly just for that additional security of not allowing >> them access to design time stuff unless they intentionally open the app >> under the full version. >> >> I have installed the runtime on other machines but I do not remember if the >> runtime install allows me to set the destination (install) directory. >> >> Is anyone using the runtime? Any tips or tricks for this scenario? >> >> -- >> John W. Colby >> www.ColbyConsulting.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 Sep 13 11:17:52 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Sep 2011 12:17:52 -0400 Subject: [AccessD] Runtime when full version is installed In-Reply-To: References: Message-ID: <4E6F8230.3000703@colbyconsulting.com> As a non-profit they got something like 50 licenses from Microsoft for almost nothing. They want the full version on the employees machines so that they can use all of the other office applications and all be using the same version to do so. I don't want them using the full version on the Access application simply because is exposes the application. I will probably go with a "compiled" version (MDE) once it stabilizes but for now using the runtime will help me keep users where they belong. John W. Colby www.ColbyConsulting.com On 9/13/2011 10:15 AM, Gustav Brock wrote: > Hi John > > Non-profit and full Office 2010 doesn't match costly wise. Are you they need Access on all machines? We've never had a client - profit or none - with that demand; we always use the Office 2010 for home and small business with the cheap PCK license. > > /gustav > > >>>> jwcolby at colbyconsulting.com 13-09-2011 16:01>>> > I have a small (non-profit) client that wants me to install full office 2010 on all of their > employees systems. However I want my Access App to run under the runtime. Mostly just for that > additional security of not allowing them access to design time stuff unless they intentionally open > the app under the full version. > > I have installed the runtime on other machines but I do not remember if the runtime install allows > me to set the destination (install) directory. > > Is anyone using the runtime? Any tips or tricks for this scenario? > From jimdettman at verizon.net Tue Sep 13 11:42:28 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 13 Sep 2011 12:42:28 -0400 Subject: [AccessD] Runtime when full version is installed In-Reply-To: <4E6F8230.3000703@colbyconsulting.com> References: <4E6F8230.3000703@colbyconsulting.com> Message-ID: <3B0E65B4AEE54DB88C1961E8015F4817@XPS> John, No need for the run-time. Distribute as a MDE and use the SysCmd(acSysCmdRuntime) call to determine if it started in run-time mode and if not quit the app. Then give them a shortcut on the desktop with the /runtime switch. If they use anything other then the shortcut, they go no where. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 13, 2011 12:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Runtime when full version is installed As a non-profit they got something like 50 licenses from Microsoft for almost nothing. They want the full version on the employees machines so that they can use all of the other office applications and all be using the same version to do so. I don't want them using the full version on the Access application simply because is exposes the application. I will probably go with a "compiled" version (MDE) once it stabilizes but for now using the runtime will help me keep users where they belong. John W. Colby www.ColbyConsulting.com On 9/13/2011 10:15 AM, Gustav Brock wrote: > Hi John > > Non-profit and full Office 2010 doesn't match costly wise. Are you they need Access on all machines? We've never had a client - profit or none - with that demand; we always use the Office 2010 for home and small business with the cheap PCK license. > > /gustav > > >>>> jwcolby at colbyconsulting.com 13-09-2011 16:01>>> > I have a small (non-profit) client that wants me to install full office 2010 on all of their > employees systems. However I want my Access App to run under the runtime. Mostly just for that > additional security of not allowing them access to design time stuff unless they intentionally open > the app under the full version. > > I have installed the runtime on other machines but I do not remember if the runtime install allows > me to set the destination (install) directory. > > Is anyone using the runtime? Any tips or tricks for this scenario? > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Sep 13 12:46:55 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Sep 2011 13:46:55 -0400 Subject: [AccessD] Runtime when full version is installed In-Reply-To: References: <4E6F6253.2070808@colbyconsulting.com> Message-ID: <4E6F970F.3070004@colbyconsulting.com> Oh my, so many people volunteering to buy it for me. ;) Please remember that this is Pro bono work. I am already giving away tons of hours. John W. Colby www.ColbyConsulting.com On 9/13/2011 12:09 PM, David McAfee wrote: > +1 on the Sagekey scripts. > > I haven't used it with 2007/2010 but did use it with earlier versions. > > Expensive, but worth it. > > > On Tue, Sep 13, 2011 at 7:24 AM, Charlotte Foust > wrote: > >> It does, but that doesn't really help if the file association is with full >> version Access. We used Sage Key scripts to wrap the runtime executable so >> that the PC didn't get confused. >> >> Charlotte Foust >> >> On Tue, Sep 13, 2011 at 7:01 AM, jwcolby>> wrote: >> >>> I have a small (non-profit) client that wants me to install full office >>> 2010 on all of their employees systems. However I want my Access App to >> run >>> under the runtime. Mostly just for that additional security of not >> allowing >>> them access to design time stuff unless they intentionally open the app >>> under the full version. >>> >>> I have installed the runtime on other machines but I do not remember if >> the >>> runtime install allows me to set the destination (install) directory. >>> >>> Is anyone using the runtime? Any tips or tricks for this scenario? >>> >>> -- >>> John W. Colby >>> www.ColbyConsulting.com >>> >>> >>> -- >>> 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 Tue Sep 13 12:48:45 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Sep 2011 13:48:45 -0400 Subject: [AccessD] Runtime when full version is installed In-Reply-To: <3B0E65B4AEE54DB88C1961E8015F4817@XPS> References: <4E6F8230.3000703@colbyconsulting.com> <3B0E65B4AEE54DB88C1961E8015F4817@XPS> Message-ID: <4E6F977D.4070405@colbyconsulting.com> Woa, that is an awesome solution! Thanks! John W. Colby www.ColbyConsulting.com On 9/13/2011 12:42 PM, Jim Dettman wrote: > John, > > No need for the run-time. > > Distribute as a MDE and use the SysCmd(acSysCmdRuntime) call to determine > if it started in run-time mode and if not quit the app. > > Then give them a shortcut on the desktop with the /runtime switch. > > If they use anything other then the shortcut, they go no where. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, September 13, 2011 12:18 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Runtime when full version is installed > > As a non-profit they got something like 50 licenses from Microsoft for > almost nothing. They want > the full version on the employees machines so that they can use all of the > other office applications > and all be using the same version to do so. > > I don't want them using the full version on the Access application simply > because is exposes the > application. I will probably go with a "compiled" version (MDE) once it > stabilizes but for now > using the runtime will help me keep users where they belong. > > John W. Colby > www.ColbyConsulting.com > > On 9/13/2011 10:15 AM, Gustav Brock wrote: >> Hi John >> >> Non-profit and full Office 2010 doesn't match costly wise. Are you they > need Access on all machines? We've never had a client - profit or none - > with that demand; we always use the Office 2010 for home and small business > with the cheap PCK license. >> >> /gustav >> >> >>>>> jwcolby at colbyconsulting.com 13-09-2011 16:01>>> >> I have a small (non-profit) client that wants me to install full office > 2010 on all of their >> employees systems. However I want my Access App to run under the runtime. > Mostly just for that >> additional security of not allowing them access to design time stuff > unless they intentionally open >> the app under the full version. >> >> I have installed the runtime on other machines but I do not remember if > the runtime install allows >> me to set the destination (install) directory. >> >> Is anyone using the runtime? Any tips or tricks for this scenario? >> From dnod at aol.com Tue Sep 13 12:53:18 2011 From: dnod at aol.com (Dean) Date: Tue, 13 Sep 2011 13:53:18 -0400 Subject: [AccessD] Runtime when full version is installed In-Reply-To: <4E6F970F.3070004@colbyconsulting.com> References: <4E6F6253.2070808@colbyconsulting.com> <4E6F970F.3070004@colbyconsulting.com> Message-ID: Do they need Access installed as part of the Suite. I meet very few end users who have a clue what to do with it. In my own office, I install MS Office often without including Access so as not to complicate the runtime apps maintenance. Dean S. Davids Fort Lauderdale, Fl On Sep 13, 2011, at 1:46 PM, jwcolby wrote: > Oh my, so many people volunteering to buy it for me. ;) > > Please remember that this is Pro bono work. I am already giving away tons of hours. > > John W. Colby > www.ColbyConsulting.com > > On 9/13/2011 12:09 PM, David McAfee wrote: >> +1 on the Sagekey scripts. >> >> I haven't used it with 2007/2010 but did use it with earlier versions. >> >> Expensive, but worth it. >> >> >> On Tue, Sep 13, 2011 at 7:24 AM, Charlotte Foust >> wrote: >> >>> It does, but that doesn't really help if the file association is with full >>> version Access. We used Sage Key scripts to wrap the runtime executable so >>> that the PC didn't get confused. >>> >>> Charlotte Foust >>> >>> On Tue, Sep 13, 2011 at 7:01 AM, jwcolby>>> wrote: >>> >>>> I have a small (non-profit) client that wants me to install full office >>>> 2010 on all of their employees systems. However I want my Access App to >>> run >>>> under the runtime. Mostly just for that additional security of not >>> allowing >>>> them access to design time stuff unless they intentionally open the app >>>> under the full version. >>>> >>>> I have installed the runtime on other machines but I do not remember if >>> the >>>> runtime install allows me to set the destination (install) directory. >>>> >>>> Is anyone using the runtime? Any tips or tricks for this scenario? >>>> >>>> -- >>>> John W. Colby >>>> www.ColbyConsulting.com >>>> >>>> >>>> -- >>>> 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 Tue Sep 13 13:14:21 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Sep 2011 14:14:21 -0400 Subject: [AccessD] Runtime when full version is installed In-Reply-To: References: <4E6F6253.2070808@colbyconsulting.com> <4E6F970F.3070004@colbyconsulting.com> Message-ID: <4E6F9D7D.9000201@colbyconsulting.com> Well there's another idea. It is kind of useful to have the full version in case I am trying to fix a bug on that user's machine. John W. Colby www.ColbyConsulting.com On 9/13/2011 1:53 PM, Dean wrote: > Do they need Access installed as part of the Suite. I meet very few end users who have a clue what to do with it. In my own office, I install MS Office often without including Access so as not to complicate the runtime apps maintenance. > > Dean S. Davids > Fort Lauderdale, Fl > > On Sep 13, 2011, at 1:46 PM, jwcolby wrote: > >> Oh my, so many people volunteering to buy it for me. ;) >> >> Please remember that this is Pro bono work. I am already giving away tons of hours. >> >> John W. Colby >> www.ColbyConsulting.com >> >> On 9/13/2011 12:09 PM, David McAfee wrote: >>> +1 on the Sagekey scripts. >>> >>> I haven't used it with 2007/2010 but did use it with earlier versions. >>> >>> Expensive, but worth it. >>> >>> >>> On Tue, Sep 13, 2011 at 7:24 AM, Charlotte Foust >>> wrote: >>> >>>> It does, but that doesn't really help if the file association is with full >>>> version Access. We used Sage Key scripts to wrap the runtime executable so >>>> that the PC didn't get confused. >>>> >>>> Charlotte Foust >>>> >>>> On Tue, Sep 13, 2011 at 7:01 AM, jwcolby>>>> wrote: >>>> >>>>> I have a small (non-profit) client that wants me to install full office >>>>> 2010 on all of their employees systems. However I want my Access App to >>>> run >>>>> under the runtime. Mostly just for that additional security of not >>>> allowing >>>>> them access to design time stuff unless they intentionally open the app >>>>> under the full version. >>>>> >>>>> I have installed the runtime on other machines but I do not remember if >>>> the >>>>> runtime install allows me to set the destination (install) directory. >>>>> >>>>> Is anyone using the runtime? Any tips or tricks for this scenario? >>>>> >>>>> -- >>>>> John W. Colby >>>>> www.ColbyConsulting.com >>>>> >>>>> >>>>> -- >>>>> 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 dnod at aol.com Tue Sep 13 13:33:17 2011 From: dnod at aol.com (Dean) Date: Tue, 13 Sep 2011 14:33:17 -0400 Subject: [AccessD] Runtime when full version is installed In-Reply-To: <4E6F9D7D.9000201@colbyconsulting.com> References: <4E6F6253.2070808@colbyconsulting.com> <4E6F970F.3070004@colbyconsulting.com> <4E6F9D7D.9000201@colbyconsulting.com> Message-ID: <2ED2C15A-6C12-4A0A-8A14-99873D514457@aol.com> Yes, that has indeed been an issue. Never enough to change my course however. Dean S. Davids Fort Lauderdale, FL On Sep 13, 2011, at 2:14 PM, jwcolby wrote: > Well there's another idea. It is kind of useful to have the full version in case I am trying to fix a bug on that user's machine. > > John W. Colby > www.ColbyConsulting.com > > On 9/13/2011 1:53 PM, Dean wrote: >> Do they need Access installed as part of the Suite. I meet very few end users who have a clue what to do with it. In my own office, I install MS Office often without including Access so as not to complicate the runtime apps maintenance. >> >> Dean S. Davids >> Fort Lauderdale, Fl >> >> On Sep 13, 2011, at 1:46 PM, jwcolby wrote: >> >>> Oh my, so many people volunteering to buy it for me. ;) >>> >>> Please remember that this is Pro bono work. I am already giving away tons of hours. >>> >>> John W. Colby >>> www.ColbyConsulting.com >>> >>> On 9/13/2011 12:09 PM, David McAfee wrote: >>>> +1 on the Sagekey scripts. >>>> >>>> I haven't used it with 2007/2010 but did use it with earlier versions. >>>> >>>> Expensive, but worth it. >>>> >>>> >>>> On Tue, Sep 13, 2011 at 7:24 AM, Charlotte Foust >>>> wrote: >>>> >>>>> It does, but that doesn't really help if the file association is with full >>>>> version Access. We used Sage Key scripts to wrap the runtime executable so >>>>> that the PC didn't get confused. >>>>> >>>>> Charlotte Foust >>>>> >>>>> On Tue, Sep 13, 2011 at 7:01 AM, jwcolby>>>>> wrote: >>>>> >>>>>> I have a small (non-profit) client that wants me to install full office >>>>>> 2010 on all of their employees systems. However I want my Access App to >>>>> run >>>>>> under the runtime. Mostly just for that additional security of not >>>>> allowing >>>>>> them access to design time stuff unless they intentionally open the app >>>>>> under the full version. >>>>>> >>>>>> I have installed the runtime on other machines but I do not remember if >>>>> the >>>>>> runtime install allows me to set the destination (install) directory. >>>>>> >>>>>> Is anyone using the runtime? Any tips or tricks for this scenario? >>>>>> >>>>>> -- >>>>>> John W. Colby >>>>>> www.ColbyConsulting.com >>>>>> >>>>>> >>>>>> -- >>>>>> 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 >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Sep 13 13:42:43 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Sep 2011 14:42:43 -0400 Subject: [AccessD] Runtime when full version is installed In-Reply-To: <3B0E65B4AEE54DB88C1961E8015F4817@XPS> References: <4E6F8230.3000703@colbyconsulting.com> <3B0E65B4AEE54DB88C1961E8015F4817@XPS> Message-ID: <4E6FA423.1040500@colbyconsulting.com> Jim, When you say distribute as an mde I assume you mean "compiled"? John W. Colby www.ColbyConsulting.com On 9/13/2011 12:42 PM, Jim Dettman wrote: > John, > > No need for the run-time. > > Distribute as a MDE and use the SysCmd(acSysCmdRuntime) call to determine > if it started in run-time mode and if not quit the app. > > Then give them a shortcut on the desktop with the /runtime switch. > > If they use anything other then the shortcut, they go no where. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, September 13, 2011 12:18 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Runtime when full version is installed > > As a non-profit they got something like 50 licenses from Microsoft for > almost nothing. They want > the full version on the employees machines so that they can use all of the > other office applications > and all be using the same version to do so. > > I don't want them using the full version on the Access application simply > because is exposes the > application. I will probably go with a "compiled" version (MDE) once it > stabilizes but for now > using the runtime will help me keep users where they belong. > > John W. Colby > www.ColbyConsulting.com > > On 9/13/2011 10:15 AM, Gustav Brock wrote: >> Hi John >> >> Non-profit and full Office 2010 doesn't match costly wise. Are you they > need Access on all machines? We've never had a client - profit or none - > with that demand; we always use the Office 2010 for home and small business > with the cheap PCK license. >> >> /gustav >> >> >>>>> jwcolby at colbyconsulting.com 13-09-2011 16:01>>> >> I have a small (non-profit) client that wants me to install full office > 2010 on all of their >> employees systems. However I want my Access App to run under the runtime. > Mostly just for that >> additional security of not allowing them access to design time stuff > unless they intentionally open >> the app under the full version. >> >> I have installed the runtime on other machines but I do not remember if > the runtime install allows >> me to set the destination (install) directory. >> >> Is anyone using the runtime? Any tips or tricks for this scenario? >> From john at winhaven.net Tue Sep 13 13:58:53 2011 From: john at winhaven.net (John Bartow) Date: Tue, 13 Sep 2011 13:58:53 -0500 Subject: [AccessD] Archives? In-Reply-To: <002001cc7100$806bd130$81437390$@com.au> References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> <000001cc708b$975c37b0$c614a710$@net> <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> <002001cc7100$806bd130$81437390$@com.au> Message-ID: <010201cc7247$2ee473b0$8cad5b10$@winhaven.net> Hi Daryl, We're looking into it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Sunday, September 11, 2011 11:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Archives? Hi Admin folks, Access D archives link from the website seems to be (still) down. I recall reading folks were having issues a while back, but of course I cannot access the archives to see what the solution might have been. >From memory there was a cunning secret link that still worked, or maybe >I was drunk at the time I read that? Any pointers? Cheers Darryl. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Tue Sep 13 14:36:10 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 13 Sep 2011 15:36:10 -0400 Subject: [AccessD] Runtime when full version is installed In-Reply-To: <4E6FA423.1040500@colbyconsulting.com> References: <4E6F8230.3000703@colbyconsulting.com> <3B0E65B4AEE54DB88C1961E8015F4817@XPS> <4E6FA423.1040500@colbyconsulting.com> Message-ID: John, Source code stripped out, so yes that would be compiled. If that's done, no changes can be made to the code and the code cannot be viewed. If you want to be able to make code changes on site, the alternative would be to distribute as normal, but put a password on the VBA project file. That would be enough to keep the mildly curious out, but still let you make changes on site if needed. And BTW, I see the other Jim posted with more or less the same idea before I did (he suggested changing the extension on the file to .accdr, which also forces runtime mode in 2007 and up. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 13, 2011 02:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Runtime when full version is installed Jim, When you say distribute as an mde I assume you mean "compiled"? John W. Colby www.ColbyConsulting.com On 9/13/2011 12:42 PM, Jim Dettman wrote: > John, > > No need for the run-time. > > Distribute as a MDE and use the SysCmd(acSysCmdRuntime) call to determine > if it started in run-time mode and if not quit the app. > > Then give them a shortcut on the desktop with the /runtime switch. > > If they use anything other then the shortcut, they go no where. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, September 13, 2011 12:18 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Runtime when full version is installed > > As a non-profit they got something like 50 licenses from Microsoft for > almost nothing. They want > the full version on the employees machines so that they can use all of the > other office applications > and all be using the same version to do so. > > I don't want them using the full version on the Access application simply > because is exposes the > application. I will probably go with a "compiled" version (MDE) once it > stabilizes but for now > using the runtime will help me keep users where they belong. > > John W. Colby > www.ColbyConsulting.com > > On 9/13/2011 10:15 AM, Gustav Brock wrote: >> Hi John >> >> Non-profit and full Office 2010 doesn't match costly wise. Are you they > need Access on all machines? We've never had a client - profit or none - > with that demand; we always use the Office 2010 for home and small business > with the cheap PCK license. >> >> /gustav >> >> >>>>> jwcolby at colbyconsulting.com 13-09-2011 16:01>>> >> I have a small (non-profit) client that wants me to install full office > 2010 on all of their >> employees systems. However I want my Access App to run under the runtime. > Mostly just for that >> additional security of not allowing them access to design time stuff > unless they intentionally open >> the app under the full version. >> >> I have installed the runtime on other machines but I do not remember if > the runtime install allows >> me to set the destination (install) directory. >> >> Is anyone using the runtime? Any tips or tricks for this scenario? >> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Tue Sep 13 18:41:30 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 14 Sep 2011 09:41:30 +1000 Subject: [AccessD] Archives? In-Reply-To: <010201cc7247$2ee473b0$8cad5b10$@winhaven.net> References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> <000001cc708b$975c37b0$c614a710$@net> <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> <002001cc7100$806bd130$81437390$@com.au> <010201cc7247$2ee473b0$8cad5b10$@winhaven.net> Message-ID: <001501cc726e$aa1c4450$fe54ccf0$@com.au> Thanks John, I appreciate you all have lives outside of Access D so happy to wait for when you can get a solution. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Wednesday, 14 September 2011 4:59 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Archives? Hi Daryl, We're looking into it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Sunday, September 11, 2011 11:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Archives? Hi Admin folks, Access D archives link from the website seems to be (still) down. I recall reading folks were having issues a while back, but of course I cannot access the archives to see what the solution might have been. >From memory there was a cunning secret link that still worked, or maybe >I was drunk at the time I read that? Any pointers? Cheers Darryl. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Sep 13 20:35:25 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 13 Sep 2011 18:35:25 -0700 Subject: [AccessD] New Windows 8 In-Reply-To: <2F9A0DD5E91F496C8AE781EC53B17173@creativesystemdesigns.com> References: <2F9A0DD5E91F496C8AE781EC53B17173@creativesystemdesigns.com> Message-ID: The first look of Windows 8 may be a bit of a curiosity. Actually, it is two products in one or a core with two distros...like Linux, given say, Lime and Ubuntu, each interface looks completely different but each has the same kernel. There will be the new default browser/cell phone type interface and then there will be Windows7. http://www.theregister.co.uk/2011/09/13/windows_8_preview/ I think this product is an evolutionary product...One part says desktop PC and the other says Web based browser. The interface is just a step on the journey which will lead away from the desktop PC to an internet support application. Many articles have been written saying it more bluntly, but this is the formal acceptance and official agreement, on the part of Microsoft. They have just acknowledged the truth and that is that the PC, as we know it, is dead. So boys and girls if you plan to be working in the computer industry, of the future get your internet skills ready. Learn about web servers, internet protocols, distributive databases, HTMLx, CSSx, JavaScript, web based graphics and cloud based applications (and all the forth-coming generations). It is going to be a thrilling ride as we launch off from the PC. Jim From dhb at flsi.com Tue Sep 13 20:48:22 2011 From: dhb at flsi.com (Darrell Burns) Date: Tue, 13 Sep 2011 18:48:22 -0700 Subject: [AccessD] Runtime when full version is installed In-Reply-To: <4E6F6253.2070808@colbyconsulting.com> References: <4E6F6253.2070808@colbyconsulting.com> Message-ID: <025001cc7280$6306eb80$2914c280$@flsi.com> Sorry if I'm answering this late but yes, I have just implemented A2010 runtime in a corporate environment where the workstations are running a mix of Office 2003 thru 2010. I had to jump thru 3 sets of hoops: 1) to send eMail messages, and 2) to jump over the security popups, and 3) to overcome the Office2010 SP1 development bug. I'd be happy to share my results if you're bedeviled by any of these quirks. The answer to your question " runtime install allows me to set the destination (install) directory" is YES. Darrell -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 13, 2011 7:02 AM To: Access Developers discussion and problem solving Subject: [AccessD] Runtime when full version is installed I have a small (non-profit) client that wants me to install full office 2010 on all of their employees systems. However I want my Access App to run under the runtime. Mostly just for that additional security of not allowing them access to design time stuff unless they intentionally open the app under the full version. I have installed the runtime on other machines but I do not remember if the runtime install allows me to set the destination (install) directory. Is anyone using the runtime? Any tips or tricks for this scenario? -- John W. Colby www.ColbyConsulting.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 Tue Sep 13 21:18:47 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 14 Sep 2011 12:18:47 +1000 Subject: [AccessD] New Windows 8 In-Reply-To: References: , <2F9A0DD5E91F496C8AE781EC53B17173@creativesystemdesigns.com>, Message-ID: <4E700F07.22290.383F13@stuart.lexacorp.com.pg> Maybe in the US where internet access is fast and bandiwdth is cheap. It will be many years before businesses in much of the world are prepared to go that way. -- Stuart On 13 Sep 2011 at 18:35, Jim Lawrence wrote: > Many articles have been written saying it more bluntly, but this is > the formal acceptance and official agreement, on the part of > Microsoft. They have just acknowledged the truth and that is that the > PC, as we know it, is dead. > > So boys and girls if you plan to be working in the computer industry, > of the future get your internet skills ready. Learn about web servers, > internet protocols, distributive databases, HTMLx, CSSx, JavaScript, > web based graphics and cloud based applications (and all the > forth-coming generations). > > It is going to be a thrilling ride as we launch off from the PC. > From darryl at whittleconsulting.com.au Tue Sep 13 21:27:23 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 14 Sep 2011 12:27:23 +1000 Subject: [AccessD] New Windows 8 In-Reply-To: <4E700F07.22290.383F13@stuart.lexacorp.com.pg> References: , <2F9A0DD5E91F496C8AE781EC53B17173@creativesystemdesigns.com>, <4E700F07.22290.383F13@stuart.lexacorp.com.pg> Message-ID: <002e01cc7285$d71b2900$85517b00$@com.au> Yeah, that is a good point. In many places in Oz the prices are steep and the speed woeful - especially outside of the Metro areas... And there is no use using someone else as there is only the one service provider in much of the country. Suck it up really. Hmmmmm. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, 14 September 2011 12:19 PM To: 'Discussion of Hardware and Software issues'; 'Off Topic'; 'Discussion concerning Visual Basic and related programming issues.'; 'Discussion concerning MS SQL Server'; 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New Windows 8 Maybe in the US where internet access is fast and bandiwdth is cheap. It will be many years before businesses in much of the world are prepared to go that way. -- Stuart On 13 Sep 2011 at 18:35, Jim Lawrence wrote: > Many articles have been written saying it more bluntly, but this is > the formal acceptance and official agreement, on the part of > Microsoft. They have just acknowledged the truth and that is that the > PC, as we know it, is dead. > > So boys and girls if you plan to be working in the computer industry, > of the future get your internet skills ready. Learn about web servers, > internet protocols, distributive databases, HTMLx, CSSx, JavaScript, > web based graphics and cloud based applications (and all the > forth-coming generations). > > It is going to be a thrilling ride as we launch off from the PC. > -- 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 Sep 14 15:31:01 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 14 Sep 2011 16:31:01 -0400 Subject: [AccessD] Numbers within a street Message-ID: I am working on a political campaign management app. The thing I need to do is post reports that identify the even and odd numbers on a given street. I inherited the db and have freedom to change it (it was written by amateurs and they know it and there are no hard feelings if I make a change, insofar as said change increases productivity). So... given a current field called StreetAddress, I want to break it into two fields, StreetNumber and StreetAddress, so that I can filter the even numbers for one report and the odd numbers for an identical report. How can I intelligently extract the data and populate my new columns? Example data: 123 Normal Street ' easy 234A Abnormal Street ' a tad trickier 2333-1070 Queen Street ' the 2333 part should fall into the StreetNumber field and the rest into the StreetAddress field. Any clever ideas how I might achieve this? TIA, Arthur From jimdettman at verizon.net Wed Sep 14 15:40:20 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 14 Sep 2011 16:40:20 -0400 Subject: [AccessD] Numbers within a street In-Reply-To: References: Message-ID: <2A48DB970C304F07A8F2486788C482D2@XPS> Well right now, it looks like you could split it at the first space. I doubt that it will be that simple though. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, September 14, 2011 04:31 PM To: Access Developers discussion and problem solving Subject: [AccessD] Numbers within a street I am working on a political campaign management app. The thing I need to do is post reports that identify the even and odd numbers on a given street. I inherited the db and have freedom to change it (it was written by amateurs and they know it and there are no hard feelings if I make a change, insofar as said change increases productivity). So... given a current field called StreetAddress, I want to break it into two fields, StreetNumber and StreetAddress, so that I can filter the even numbers for one report and the odd numbers for an identical report. How can I intelligently extract the data and populate my new columns? Example data: 123 Normal Street ' easy 234A Abnormal Street ' a tad trickier 2333-1070 Queen Street ' the 2333 part should fall into the StreetNumber field and the rest into the StreetAddress field. Any clever ideas how I might achieve this? TIA, Arthur -- 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 Sep 14 16:06:15 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 14 Sep 2011 17:06:15 -0400 Subject: [AccessD] Numbers within a street In-Reply-To: <2A48DB970C304F07A8F2486788C482D2@XPS> References: <2A48DB970C304F07A8F2486788C482D2@XPS> Message-ID: You're quite right. Given that the inputs have been largely entered by (gasp) db-ignorant volunteers, there may not be any simple extraction. But a simple query extracting (most of the) street numers will get us about 80% of the rows, and the remainder can be adjusted manually. That's my guess, anyway. Upon achievement of this interim step, it's a cinch to grab the odd and even numbers. In case you're wondering, this is to facilitate the people canvassing and/or hanging signs for the designated politician. My first shot at this target was back in the days of DOS. I wrote the campaign-management software for our recently-departed Jack Layton Back then I did it for free, because I believed in his vision. Now I'm doing it again, and again for free, because I believe in the NDP vision. A. On Wed, Sep 14, 2011 at 4:40 PM, Jim Dettman wrote: > > Well right now, it looks like you could split it at the first space. I > doubt that it will be that simple though. > > Jim. > > From stuart at lexacorp.com.pg Wed Sep 14 16:44:00 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 15 Sep 2011 07:44:00 +1000 Subject: [AccessD] Numbers within a street In-Reply-To: References: Message-ID: <4E712020.12464.4630E58@stuart.lexacorp.com.pg> A query Column =VAL(StreetAddress) will give you the street number in all of those cases. If all you want is whether it is odd or evem, then just create a query column =VAL(StrretAddress) Mod 2 If you want the Street Name by itself , a first pass would be =RIGHT$(StreetAddress, INSTR(StreetAddress," ") + 1) Note: In your third example, VAL() returns just the 2333. If looking for the street name, I would want "Queen Street", not "1070 Queen Street", so you lose data when splitting. For the actual address, you'd use the original data rather that trying to put the Number and Streetname back together again. -- Stuart On 14 Sep 2011 at 16:31, Arthur Fuller wrote: > I am working on a political campaign management app. The thing I need > to do is post reports that identify the even and odd numbers on a > given street. I inherited the db and have freedom to change it (it was > written by amateurs and they know it and there are no hard feelings if > I make a change, insofar as said change increases productivity). > > So... given a current field called StreetAddress, I want to break it > into two fields, StreetNumber and StreetAddress, so that I can filter > the even numbers for one report and the odd numbers for an identical > report. How can I intelligently extract the data and populate my new > columns? > > Example data: > > 123 Normal Street ' easy > 234A Abnormal Street ' a tad trickier > 2333-1070 Queen Street ' the 2333 part should fall into the > StreetNumber field and the rest into the StreetAddress field. > > Any clever ideas how I might achieve this? > > TIA, > Arthur > -- > 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 Wed Sep 14 17:53:11 2011 From: ab-mi at post3.tele.dk (Asger Blond) Date: Thu, 15 Sep 2011 00:53:11 +0200 Subject: [AccessD] Numbers within a street In-Reply-To: <4E712020.12464.4630E58@stuart.lexacorp.com.pg> References: <4E712020.12464.4630E58@stuart.lexacorp.com.pg> Message-ID: <733989AEB1FE426DB045681A207AF183@abpc> But VAL wouldn't catch the street number 234A. A function like this might do the work: Function StreetNumber(Address As String) As String Dim strStreetNumber AS String strStreetNumber = Left(Address, InStr(Address, " ")) If InStr(Address, "-") > 0 Then strStreetNumber = Left(Address, InStr(Address, "-") - 1) End If StreetNumber = strStreetNumber End Function Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Stuart McLachlan Sendt: 14. september 2011 23:44 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Numbers within a street A query Column =VAL(StreetAddress) will give you the street number in all of those cases. If all you want is whether it is odd or evem, then just create a query column =VAL(StrretAddress) Mod 2 If you want the Street Name by itself , a first pass would be =RIGHT$(StreetAddress, INSTR(StreetAddress," ") + 1) Note: In your third example, VAL() returns just the 2333. If looking for the street name, I would want "Queen Street", not "1070 Queen Street", so you lose data when splitting. For the actual address, you'd use the original data rather that trying to put the Number and Streetname back together again. -- Stuart On 14 Sep 2011 at 16:31, Arthur Fuller wrote: > I am working on a political campaign management app. The thing I need > to do is post reports that identify the even and odd numbers on a > given street. I inherited the db and have freedom to change it (it was > written by amateurs and they know it and there are no hard feelings if > I make a change, insofar as said change increases productivity). > > So... given a current field called StreetAddress, I want to break it > into two fields, StreetNumber and StreetAddress, so that I can filter > the even numbers for one report and the odd numbers for an identical > report. How can I intelligently extract the data and populate my new > columns? > > Example data: > > 123 Normal Street ' easy > 234A Abnormal Street ' a tad trickier > 2333-1070 Queen Street ' the 2333 part should fall into the > StreetNumber field and the rest into the StreetAddress field. > > Any clever ideas how I might achieve this? > > TIA, > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Wed Sep 14 18:19:40 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 14 Sep 2011 19:19:40 -0400 Subject: [AccessD] Numbers within a street In-Reply-To: <733989AEB1FE426DB045681A207AF183@abpc> References: <4E712020.12464.4630E58@stuart.lexacorp.com.pg> <733989AEB1FE426DB045681A207AF183@abpc> Message-ID: Thanks for this, Asger. But ultimately, it would be better to teach the volunteers that there is a separate textbox for the Number and another for the street. And thinking down the road, it frequently happens that the fuling party gets to re-draw the electoral map, moving this and that street into a block guaranteed to win a legislative seat, and shunting the others into NowwhereLand. All parties in Canada are guilty of this bad behaviour, so it's impossible to side with any given one and claim the high road. They all do it. The ideal campaign-management software would easily accommodate this sad reality, and make it simple to transfer streets x, y and z, and perhaps street numbers t, u and v, to another riding, to correspond to the latest dicta from the governing party. This would be way slick, and might even prove a deterrent to mitigate such shenanigans: you re-draw the boundaries and presto, one click and we've dealt with it! There's a whole other ball of wax that we don't experience in Canada. I believe the American term for it is "pork barrel". It means that a bunch of stuff gets tacked on to an otherwise virgin bill. I'm not a USA citizen or dweller but I do read the news, and from what I have gleaned, the above is an accurate description of what happens. I find it hilarious that about 90% of the populace in USA is against open immigration policies, while virtually all of same are either first or second-generation immigrants. There is a word for this kind of behavior, and I don't mean "hypocrite", which is emotionally loaded. There is another word for this behavior, and I challenge you to name it. Arthur On Wed, Sep 14, 2011 at 6:53 PM, Asger Blond wrote: > But VAL wouldn't catch the street number 234A. > A function like this might do the work: > > Function StreetNumber(Address As String) As String > Dim strStreetNumber AS String > strStreetNumber = Left(Address, InStr(Address, " ")) > If InStr(Address, "-") > 0 Then > strStreetNumber = Left(Address, InStr(Address, "-") - 1) > End If > StreetNumber = strStreetNumber > End Function > > Asger > From darryl at whittleconsulting.com.au Wed Sep 14 18:42:14 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 15 Sep 2011 09:42:14 +1000 Subject: [AccessD] Numbers within a street In-Reply-To: References: Message-ID: <000f01cc7337$eed9d2f0$cc8d78d0$@com.au> Arthur I would sort the data first. Then I would export it to Excel - your issue here will be the size of the dataset although if you are using XL2007+ this is less of a hurdle By having the data sorted you should be able to get the low hanging fruit early. That is the "24 MyStreet Ave" and deal with them all pretty much in one go. You can then use the "Text to Columns" function to split the data. If you do it in groups you might find you get a lot of it done easily. Given how messy this sort of data is going to be, I feel eyeballing it manually is going to be your best approach. This will allow you to group it into data chucks that you can then run a function or script over and get a result. Anyway. Good luck. It is usually a messy process as there are many dissimilar valid combinations with address Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, 15 September 2011 6:31 AM To: Access Developers discussion and problem solving Subject: [AccessD] Numbers within a street I am working on a political campaign management app. The thing I need to do is post reports that identify the even and odd numbers on a given street. I inherited the db and have freedom to change it (it was written by amateurs and they know it and there are no hard feelings if I make a change, insofar as said change increases productivity). So... given a current field called StreetAddress, I want to break it into two fields, StreetNumber and StreetAddress, so that I can filter the even numbers for one report and the odd numbers for an identical report. How can I intelligently extract the data and populate my new columns? Example data: 123 Normal Street ' easy 234A Abnormal Street ' a tad trickier 2333-1070 Queen Street ' the 2333 part should fall into the StreetNumber field and the rest into the StreetAddress field. Any clever ideas how I might achieve this? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Wed Sep 14 19:07:47 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 14 Sep 2011 20:07:47 -0400 Subject: [AccessD] Numbers within a street References: <4E712020.12464.4630E58@stuart.lexacorp.com.pg><733989AEB1FE426DB045681A207AF183@abpc> Message-ID: <0069F3C180D74086BF98CD281F733A1C@SusanHarkins> > I find it hilarious that about 90% of the populace in USA is against open > immigration policies, while virtually all of same are either first or > second-generation immigrants. There is a word for this kind of behavior, > and > I don't mean "hypocrite", which is emotionally loaded. There is another > word > for this behavior, and I challenge you to name it. =====Check your percentages Arthur -- totally out of whack. Susan H. From stuart at lexacorp.com.pg Wed Sep 14 19:08:57 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 15 Sep 2011 10:08:57 +1000 Subject: [AccessD] Numbers within a street In-Reply-To: <733989AEB1FE426DB045681A207AF183@abpc> References: , <4E712020.12464.4630E58@stuart.lexacorp.com.pg>, <733989AEB1FE426DB045681A207AF183@abpc> Message-ID: <4E714219.5762.4E7C27D@stuart.lexacorp.com.pg> It will for Arthur's purpose. Val(234A....) returns 234 which is on the Even side of the street. There is no real difference between 234A and 2333-1070. The initial numeric part (234, 2333) identifies the building location, the rest just identifies something such as the apartment number within the building. -- Stuart On 15 Sep 2011 at 0:53, Asger Blond wrote: > But VAL wouldn't catch the street number 234A. > A function like this might do the work: > > Function StreetNumber(Address As String) As String > Dim strStreetNumber AS String > strStreetNumber = Left(Address, InStr(Address, " ")) > If InStr(Address, "-") > 0 Then > strStreetNumber = Left(Address, InStr(Address, "-") - 1) > End If > StreetNumber = strStreetNumber > End Function > > Asger > > -----Oprindelig meddelelse----- > Fra: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Stuart > McLachlan Sendt: 14. september 2011 23:44 Til: Access Developers > discussion and problem solving Emne: Re: [AccessD] Numbers within a > street > > A query Column =VAL(StreetAddress) will give you the street number in > all of those cases. > > If all you want is whether it is odd or evem, then just create a query > column =VAL(StrretAddress) Mod 2 > > If you want the Street Name by itself , a first pass would be > =RIGHT$(StreetAddress, INSTR(StreetAddress," ") + 1) > > Note: In your third example, VAL() returns just the 2333. If looking > for the street name, I would want "Queen Street", not "1070 Queen > Street", so you lose data when splitting. For the actual address, > you'd use the original data rather that trying to put the Number and > Streetname back together again. > > -- > Stuart > > On 14 Sep 2011 at 16:31, Arthur Fuller wrote: > > > I am working on a political campaign management app. The thing I > > need to do is post reports that identify the even and odd numbers on > > a given street. I inherited the db and have freedom to change it (it > > was written by amateurs and they know it and there are no hard > > feelings if I make a change, insofar as said change increases > > productivity). > > > > So... given a current field called StreetAddress, I want to break it > > into two fields, StreetNumber and StreetAddress, so that I can > > filter the even numbers for one report and the odd numbers for an > > identical report. How can I intelligently extract the data and > > populate my new columns? > > > > Example data: > > > > 123 Normal Street ' easy > > 234A Abnormal Street ' a tad trickier > > 2333-1070 Queen Street ' the 2333 part should fall into the > > StreetNumber field and the rest into the StreetAddress field. > > > > Any clever ideas how I might achieve this? > > > > TIA, > > Arthur > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From karenr7 at q.com Wed Sep 14 19:09:32 2011 From: karenr7 at q.com (Karen Rosenstiel) Date: Wed, 14 Sep 2011 17:09:32 -0700 Subject: [AccessD] Numbers within a street In-Reply-To: <0069F3C180D74086BF98CD281F733A1C@SusanHarkins> References: <4E712020.12464.4630E58@stuart.lexacorp.com.pg><733989AEB1FE426DB045681A207AF183@abpc> <0069F3C180D74086BF98CD281F733A1C@SusanHarkins> Message-ID: <000c01cc733b$bef0d260$3cd27720$@com> And some of us have families that have been here a little longer than that. Native Americans, anyone? My own ancestors are johnny-come-latelies; only here since 1603. 90% ??? I don't think so. Regards, Karen Rosenstiel Seattle WA USA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, September 14, 2011 5:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Numbers within a street > I find it hilarious that about 90% of the populace in USA is against open > immigration policies, while virtually all of same are either first or > second-generation immigrants. There is a word for this kind of behavior, > and > I don't mean "hypocrite", which is emotionally loaded. There is another > word > for this behavior, and I challenge you to name it. =====Check your percentages Arthur -- totally out of whack. 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 Wed Sep 14 19:10:36 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 15 Sep 2011 10:10:36 +1000 Subject: [AccessD] Numbers within a street In-Reply-To: References: , <733989AEB1FE426DB045681A207AF183@abpc>, Message-ID: <4E71427C.21165.4E94294@stuart.lexacorp.com.pg> To deal with things like "234A Abnormal St" and "2333-1017 Queen St", you need three fields: Building Number Apartment/Dwelling Identifier Street Name -- Stuart On 14 Sep 2011 at 19:19, Arthur Fuller wrote: > Thanks for this, Asger. But ultimately, it would be better to teach > the volunteers that there is a separate textbox for the Number and > another for the street. > > And thinking down the road, it frequently happens that the fuling > party gets to re-draw the electoral map, moving this and that street > into a block guaranteed to win a legislative seat, and shunting the > others into NowwhereLand. All parties in Canada are guilty of this bad > behaviour, so it's impossible to side with any given one and claim the > high road. They all do it. > > The ideal campaign-management software would easily accommodate this > sad reality, and make it simple to transfer streets x, y and z, and > perhaps street numbers t, u and v, to another riding, to correspond to > the latest dicta from the governing party. This would be way slick, > and might even prove a deterrent to mitigate such shenanigans: you > re-draw the boundaries and presto, one click and we've dealt with it! > > There's a whole other ball of wax that we don't experience in Canada. > I believe the American term for it is "pork barrel". It means that a > bunch of stuff gets tacked on to an otherwise virgin bill. > > I'm not a USA citizen or dweller but I do read the news, and from what > I have gleaned, the above is an accurate description of what happens. > > I find it hilarious that about 90% of the populace in USA is against > open immigration policies, while virtually all of same are either > first or second-generation immigrants. There is a word for this kind > of behavior, and I don't mean "hypocrite", which is emotionally > loaded. There is another word for this behavior, and I challenge you > to name it. > > Arthur > > On Wed, Sep 14, 2011 at 6:53 PM, Asger Blond > wrote: > > > But VAL wouldn't catch the street number 234A. > > A function like this might do the work: > > > > Function StreetNumber(Address As String) As String > > Dim strStreetNumber AS String > > strStreetNumber = Left(Address, InStr(Address, " ")) > > If InStr(Address, "-") > 0 Then > > strStreetNumber = Left(Address, InStr(Address, "-") - 1) > > End If > > StreetNumber = strStreetNumber > > End Function > > > > Asger > > > -- > 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 Sep 14 19:17:31 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 15 Sep 2011 10:17:31 +1000 Subject: [AccessD] Numbers within a street In-Reply-To: <000f01cc7337$eed9d2f0$cc8d78d0$@com.au> References: , <000f01cc7337$eed9d2f0$cc8d78d0$@com.au> Message-ID: <4E71441B.26776.4EF98A0@stuart.lexacorp.com.pg> Why Excel? It's much easier in Access. I do this a lot. 1. Add the new required new fields. 2. Run a query to update the fields where everything before the first space is numeric using suitable functions. 3. Filter the table to only show records where the new fields are empty. 4. Look for the next common pattern and update all records where the new fields are empty with an appropriate function. Repeat 3 and 4 until you get down to a small subset that is easier to update manually. -- Stuart On 15 Sep 2011 at 9:42, Darryl Collins wrote: > Arthur > > I would sort the data first. > > Then I would export it to Excel - your issue here will be the size of > the dataset although if you are using XL2007+ this is less of a hurdle > > By having the data sorted you should be able to get the low hanging > fruit early. That is the "24 MyStreet Ave" and deal with them all > pretty much in one go. > > You can then use the "Text to Columns" function to split the data. > > If you do it in groups you might find you get a lot of it done easily. > > Given how messy this sort of data is going to be, I feel eyeballing it > manually is going to be your best approach. This will allow you to > group it into data chucks that you can then run a function or script > over and get a result. > > Anyway. Good luck. It is usually a messy process as there are many > dissimilar valid combinations with address > > Cheers > Darryl > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur > Fuller Sent: Thursday, 15 September 2011 6:31 AM To: Access Developers > discussion and problem solving Subject: [AccessD] Numbers within a > street > > I am working on a political campaign management app. The thing I need > to do is post reports that identify the even and odd numbers on a > given street. I inherited the db and have freedom to change it (it was > written by amateurs and they know it and there are no hard feelings if > I make a change, insofar as said change increases productivity). > > So... given a current field called StreetAddress, I want to break it > into two fields, StreetNumber and StreetAddress, so that I can filter > the even numbers for one report and the odd numbers for an identical > report. How can I intelligently extract the data and populate my new > columns? > > Example data: > > 123 Normal Street ' easy > 234A Abnormal Street ' a tad trickier > 2333-1070 Queen Street ' the 2333 part should fall into the > StreetNumber field and the rest into the StreetAddress field. > > Any clever ideas how I might achieve this? > > TIA, > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Wed Sep 14 20:07:28 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 15 Sep 2011 11:07:28 +1000 Subject: [AccessD] Numbers within a street In-Reply-To: <4E71441B.26776.4EF98A0@stuart.lexacorp.com.pg> References: , <000f01cc7337$eed9d2f0$cc8d78d0$@com.au> <4E71441B.26776.4EF98A0@stuart.lexacorp.com.pg> Message-ID: <001001cc7343$d7090f40$851b2dc0$@com.au> Heh, I guess it shows my long term background. I like Excel for really messy jobs as you can break the data up easily and I know how to do a lot of fast and sneaky tricks on it. Faster than I know how to in Access anyway. I don't doubt if you are less of a hack than me than Access could be a good tool for the job. In this case I would be the constraint in the system, rather than the software itself. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, 15 September 2011 10:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Numbers within a street Why Excel? It's much easier in Access. I do this a lot. 1. Add the new required new fields. 2. Run a query to update the fields where everything before the first space is numeric using suitable functions. 3. Filter the table to only show records where the new fields are empty. 4. Look for the next common pattern and update all records where the new fields are empty with an appropriate function. Repeat 3 and 4 until you get down to a small subset that is easier to update manually. -- Stuart On 15 Sep 2011 at 9:42, Darryl Collins wrote: > Arthur > > I would sort the data first. > > Then I would export it to Excel - your issue here will be the size of > the dataset although if you are using XL2007+ this is less of a hurdle > > By having the data sorted you should be able to get the low hanging > fruit early. That is the "24 MyStreet Ave" and deal with them all > pretty much in one go. > > You can then use the "Text to Columns" function to split the data. > > If you do it in groups you might find you get a lot of it done easily. > > Given how messy this sort of data is going to be, I feel eyeballing it > manually is going to be your best approach. This will allow you to > group it into data chucks that you can then run a function or script > over and get a result. > > Anyway. Good luck. It is usually a messy process as there are many > dissimilar valid combinations with address > > Cheers > Darryl > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur > Fuller Sent: Thursday, 15 September 2011 6:31 AM To: Access Developers > discussion and problem solving Subject: [AccessD] Numbers within a > street > > I am working on a political campaign management app. The thing I need > to do is post reports that identify the even and odd numbers on a > given street. I inherited the db and have freedom to change it (it was > written by amateurs and they know it and there are no hard feelings if > I make a change, insofar as said change increases productivity). > > So... given a current field called StreetAddress, I want to break it > into two fields, StreetNumber and StreetAddress, so that I can filter > the even numbers for one report and the odd numbers for an identical > report. How can I intelligently extract the data and populate my new > columns? > > Example data: > > 123 Normal Street ' easy > 234A Abnormal Street ' a tad trickier > 2333-1070 Queen Street ' the 2333 part should fall into the > StreetNumber field and the rest into the StreetAddress field. > > Any clever ideas how I might achieve this? > > TIA, > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Sep 14 21:47:28 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 14 Sep 2011 22:47:28 -0400 Subject: [AccessD] How does Access locking work Message-ID: <4E716740.9090909@colbyconsulting.com> I need to find documentation about the actual locking mechanism for Access. I vaguely remember something about Jet using a file, and (IIRC) applying system locks to pieces out past the end of that file. It is all very old memories and I am not finding anything "real" about the actual details. Anyone know what it was I read so long ago? -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Wed Sep 14 21:54:31 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 14 Sep 2011 22:54:31 -0400 Subject: [AccessD] SSDs and BE storage Message-ID: <4E7168E7.2000502@colbyconsulting.com> Does anyone have experience with using an SSD (or SSD RAID) to store the Access BEs? Does it significantly speed up the database? My client has a pretty large (by Access standards) database. It is a call center application and they do mostly reads (viewing claim data as they talk to the client), but do a fair amount of "documenting" the phone calls by writing notes. About 25 users in the database all day. It seems logical that the SSDs enormous IOPS and streaming reads would speed things up but I have never seen any actual studies or documented usage data. -- John W. Colby www.ColbyConsulting.com From charlotte.foust at gmail.com Wed Sep 14 21:54:43 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 14 Sep 2011 19:54:43 -0700 Subject: [AccessD] How does Access locking work In-Reply-To: <4E716740.9090909@colbyconsulting.com> References: <4E716740.9090909@colbyconsulting.com> Message-ID: Are you talking about the ldb file, John? That was the lock file for Jet. That's reaching waaaay back but there's probably something in the archives. Charlotte Foust On Wed, Sep 14, 2011 at 7:47 PM, jwcolby wrote: > I need to find documentation about the actual locking mechanism for Access. > I vaguely remember something about Jet using a file, and (IIRC) applying > system locks to pieces out past the end of that file. It is all very old > memories and I am not finding anything "real" about the actual details. > > Anyone know what it was I read so long ago? > > -- > John W. Colby > www.ColbyConsulting.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From jwcolby at colbyconsulting.com Wed Sep 14 22:08:44 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 14 Sep 2011 23:08:44 -0400 Subject: [AccessD] mysql BE for Access? Message-ID: <4E716C3C.7080404@colbyconsulting.com> Is this doable? I am using SQL Server as the data store for Access and positively love it but it is expensive. Is anyone using MySQL or some other cheap / free but powerful data store with Access? -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Wed Sep 14 22:10:55 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 14 Sep 2011 23:10:55 -0400 Subject: [AccessD] How does Access locking work In-Reply-To: References: <4E716740.9090909@colbyconsulting.com> Message-ID: <4E716CBF.1070503@colbyconsulting.com> I am not really sure actually. I find stuff about the lock file but only what is actually in the lock file and that is just two pieces of info (username / workstation I think). I am talking about placing locks on records / pages, parts of the database file etc. How and where is that physically implemented. John W. Colby www.ColbyConsulting.com On 9/14/2011 10:54 PM, Charlotte Foust wrote: > Are you talking about the ldb file, John? That was the lock file for Jet. > That's reaching waaaay back but there's probably something in the archives. > > Charlotte Foust > On Wed, Sep 14, 2011 at 7:47 PM, jwcolbywrote: > >> I need to find documentation about the actual locking mechanism for Access. >> I vaguely remember something about Jet using a file, and (IIRC) applying >> system locks to pieces out past the end of that file. It is all very old >> memories and I am not finding anything "real" about the actual details. >> >> Anyone know what it was I read so long ago? >> >> -- >> John W. Colby >> www.ColbyConsulting.com >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> >> >> Website: http://www.databaseadvisors.**com >> >> >> From accessd at shaw.ca Wed Sep 14 22:21:27 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 14 Sep 2011 20:21:27 -0700 Subject: [AccessD] Numbers within a street In-Reply-To: References: Message-ID: <4271468061D041CE993701EA0E4A963A@creativesystemdesigns.com> Hi Arthur: Fixing data is as hard as writing the program. I would slowly extract the data and fix the data one pass at a time. Checking to see that there is no weird results, after each pass...you might have to go in and do some manual fixes, as there are always records that defy any translators (and there is no point writing 100 lines of code to fix 10 records). Depending on the complexity of the data and your code, 3 to 5 passes is not unusual before a clean set of data can be obtained. Many years ago, I wrote a "riding" application, which would put a canvasser's data into the correct poll just from a poll's legal description. If you need any assistance, I would be glad to help. I also have the appropriate credentials, heritage and my official retirement is close at hand. ;-) You can contact me off line, if you would like. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, September 14, 2011 1:31 PM To: Access Developers discussion and problem solving Subject: [AccessD] Numbers within a street I am working on a political campaign management app. The thing I need to do is post reports that identify the even and odd numbers on a given street. I inherited the db and have freedom to change it (it was written by amateurs and they know it and there are no hard feelings if I make a change, insofar as said change increases productivity). So... given a current field called StreetAddress, I want to break it into two fields, StreetNumber and StreetAddress, so that I can filter the even numbers for one report and the odd numbers for an identical report. How can I intelligently extract the data and populate my new columns? Example data: 123 Normal Street ' easy 234A Abnormal Street ' a tad trickier 2333-1070 Queen Street ' the 2333 part should fall into the StreetNumber field and the rest into the StreetAddress field. Any clever ideas how I might achieve this? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Sep 14 22:43:58 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 14 Sep 2011 20:43:58 -0700 Subject: [AccessD] Numbers within a street In-Reply-To: <4271468061D041CE993701EA0E4A963A@creativesystemdesigns.com> References: <4271468061D041CE993701EA0E4A963A@creativesystemdesigns.com> Message-ID: <520670419AB7481C97A7E16CA3540DBB@HAL9007> Arthur: How many records need to be processed? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: September 14, 2011 8:21 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Numbers within a street Hi Arthur: Fixing data is as hard as writing the program. I would slowly extract the data and fix the data one pass at a time. Checking to see that there is no weird results, after each pass...you might have to go in and do some manual fixes, as there are always records that defy any translators (and there is no point writing 100 lines of code to fix 10 records). Depending on the complexity of the data and your code, 3 to 5 passes is not unusual before a clean set of data can be obtained. Many years ago, I wrote a "riding" application, which would put a canvasser's data into the correct poll just from a poll's legal description. If you need any assistance, I would be glad to help. I also have the appropriate credentials, heritage and my official retirement is close at hand. ;-) You can contact me off line, if you would like. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, September 14, 2011 1:31 PM To: Access Developers discussion and problem solving Subject: [AccessD] Numbers within a street I am working on a political campaign management app. The thing I need to do is post reports that identify the even and odd numbers on a given street. I inherited the db and have freedom to change it (it was written by amateurs and they know it and there are no hard feelings if I make a change, insofar as said change increases productivity). So... given a current field called StreetAddress, I want to break it into two fields, StreetNumber and StreetAddress, so that I can filter the even numbers for one report and the odd numbers for an identical report. How can I intelligently extract the data and populate my new columns? Example data: 123 Normal Street ' easy 234A Abnormal Street ' a tad trickier 2333-1070 Queen Street ' the 2333 part should fall into the StreetNumber field and the rest into the StreetAddress field. Any clever ideas how I might achieve this? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Wed Sep 14 22:53:51 2011 From: john at winhaven.net (John Bartow) Date: Wed, 14 Sep 2011 22:53:51 -0500 Subject: [AccessD] How does Access locking work In-Reply-To: <4E716CBF.1070503@colbyconsulting.com> References: <4E716740.9090909@colbyconsulting.com> <4E716CBF.1070503@colbyconsulting.com> Message-ID: <037401cc735b$151c82f0$3f5588d0$@winhaven.net> IIRC you can open the .ldb file in a text editor and see the contents. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, September 14, 2011 10:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How does Access locking work I am not really sure actually. I find stuff about the lock file but only what is actually in the lock file and that is just two pieces of info (username / workstation I think). I am talking about placing locks on records / pages, parts of the database file etc. How and where is that physically implemented. John W. Colby www.ColbyConsulting.com On 9/14/2011 10:54 PM, Charlotte Foust wrote: > Are you talking about the ldb file, John? That was the lock file for Jet. > That's reaching waaaay back but there's probably something in the archives. > > Charlotte Foust > On Wed, Sep 14, 2011 at 7:47 PM, jwcolbywrote: > >> I need to find documentation about the actual locking mechanism for Access. >> I vaguely remember something about Jet using a file, and (IIRC) >> applying system locks to pieces out past the end of that file. It is >> all very old memories and I am not finding anything "real" about the actual details. >> >> Anyone know what it was I read so long ago? >> >> -- >> John W. Colby >> www.ColbyConsulting.com >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd> eadvisors.com/mailman/listinfo/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 Sep 14 22:59:36 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 14 Sep 2011 23:59:36 -0400 Subject: [AccessD] mysql BE for Access? In-Reply-To: <4E716C3C.7080404@colbyconsulting.com> References: <4E716C3C.7080404@colbyconsulting.com> Message-ID: See my website for how to do exactly this, JC. www.artfulsoftware.com. There are chapters concerning this and also, should you require it, how to hook .NET to MySQL as well. HTH, Arthur On Wed, Sep 14, 2011 at 11:08 PM, jwcolby wrote: > Is this doable? I am using SQL Server as the data store for Access and > positively love it but it is expensive. > > Is anyone using MySQL or some other cheap / free but powerful data store > with Access? > From accessd at shaw.ca Wed Sep 14 23:05:02 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 14 Sep 2011 21:05:02 -0700 Subject: [AccessD] Numbers within a street In-Reply-To: <0069F3C180D74086BF98CD281F733A1C@SusanHarkins> References: <4E712020.12464.4630E58@stuart.lexacorp.com.pg> <733989AEB1FE426DB045681A207AF183@abpc> <0069F3C180D74086BF98CD281F733A1C@SusanHarkins> Message-ID: It all depends on which areas you come from. Some areas have some very stable populations, with many generations in one place. OTOH, many of the super fast growing cities and areas like LA, Vancouver, New York and Toronto are more than doubling in population in less than 20 years. (For example Vancouver had about 1 million in 1980 and is supposed to have over 3.5 million by 2020) There is a lot of fun with sorting the new arrivals. Half the names you cannot spell and other half you cannot pronounce. We have many East Indian and Chinese emigrants, in our area. Many of the east Indians have their title, like our equivalent of Mr. and Sir, embedded in the official name and then the Chinese have both their Chinese name and their English name, all of which can be extremely confusing. Then names do not signify inform you of where a person is from; example both English and Chinese have a very common last name of Lee... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, September 14, 2011 5:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Numbers within a street > I find it hilarious that about 90% of the populace in USA is against open > immigration policies, while virtually all of same are either first or > second-generation immigrants. There is a word for this kind of behavior, > and > I don't mean "hypocrite", which is emotionally loaded. There is another > word > for this behavior, and I challenge you to name it. =====Check your percentages Arthur -- totally out of whack. 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 Wed Sep 14 23:14:17 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 15 Sep 2011 14:14:17 +1000 Subject: [AccessD] mysql BE for Access? In-Reply-To: <4E716C3C.7080404@colbyconsulting.com> References: <4E716C3C.7080404@colbyconsulting.com> Message-ID: <4E717B99.28709.5C85F7B@stuart.lexacorp.com.pg> Yes with myODBC. I have one clieit with a MySQL based application and I built an Access FE with about 20 users (primarily Read Only). Works well. http://dev.mysql.com/downloads/connector/odbc/ -- Stuart On 14 Sep 2011 at 23:08, jwcolby wrote: > Is this doable? I am using SQL Server as the data store for Access > and positively love it but it is expensive. > > Is anyone using MySQL or some other cheap / free but powerful data > store with Access? > > -- > John W. Colby > www.ColbyConsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at Marlow.com Thu Sep 15 00:51:38 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 15 Sep 2011 00:51:38 -0500 Subject: [AccessD] How does Access locking work In-Reply-To: <4E716740.9090909@colbyconsulting.com> References: <4E716740.9090909@colbyconsulting.com> Message-ID: I think I have the old Jet white paper somewhere. But basically Jet would 'lock' the .ldb file where it needed to lock the .mdb. So the .mdb would never be locked (allowing for multiple edits), and the lock on the .mdb would be actually on the .ldb file. So say the .mdb was 100 megs. And it needed to lock the 50th megabyte, the .ldb file was always small (I think it was 64 bits per user, up to 255 users), so it would never reach the 50 meg size, but the 'lock' would be placed on the 'virtual' 50 meg point of the .ldb. Make sense? Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, September 14, 2011 9:47 PM To: Access Developers discussion and problem solving Subject: [AccessD] How does Access locking work I need to find documentation about the actual locking mechanism for Access. I vaguely remember something about Jet using a file, and (IIRC) applying system locks to pieces out past the end of that file. It is all very old memories and I am not finding anything "real" about the actual details. Anyone know what it was I read so long ago? -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From stephen at bondsoftware.co.nz Thu Sep 15 01:36:34 2011 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Thu, 15 Sep 2011 18:36:34 +1200 Subject: [AccessD] How does Access locking work In-Reply-To: <418DA397713F403A89FE0E8D479DD43A@BondSoftware.local> References: <4E716740.9090909@colbyconsulting.com> <418DA397713F403A89FE0E8D479DD43A@BondSoftware.local> Message-ID: John, I've scanned the first couple pages of the White Paper and sent you off-list. Stephen Bond -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, 15 September 2011 6:00 p.m. To: Stephen Subject: Re: [AccessD] How does Access locking work I think I have the old Jet white paper somewhere. But basically Jet would 'lock' the .ldb file where it needed to lock the .mdb. So the .mdb would never be locked (allowing for multiple edits), and the lock on the .mdb would be actually on the .ldb file. So say the .mdb was 100 megs. And it needed to lock the 50th megabyte, the .ldb file was always small (I think it was 64 bits per user, up to 255 users), so it would never reach the 50 meg size, but the 'lock' would be placed on the 'virtual' 50 meg point of the .ldb. Make sense? Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, September 14, 2011 9:47 PM To: Access Developers discussion and problem solving Subject: [AccessD] How does Access locking work I need to find documentation about the actual locking mechanism for Access. I vaguely remember something about Jet using a file, and (IIRC) applying system locks to pieces out past the end of that file. It is all very old memories and I am not finding anything "real" about the actual details. Anyone know what it was I read so long ago? -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Sep 15 05:22:48 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Sep 2011 06:22:48 -0400 Subject: [AccessD] How does Access locking work In-Reply-To: References: <4E716740.9090909@colbyconsulting.com> Message-ID: <4E71D1F8.6040105@colbyconsulting.com> It does make sense and that is what I am talking about. John W. Colby www.ColbyConsulting.com On 9/15/2011 1:51 AM, Drew Wutka wrote: > I think I have the old Jet white paper somewhere. But basically Jet > would 'lock' the .ldb file where it needed to lock the .mdb. So the > .mdb would never be locked (allowing for multiple edits), and the lock > on the .mdb would be actually on the .ldb file. > > So say the .mdb was 100 megs. And it needed to lock the 50th megabyte, > the .ldb file was always small (I think it was 64 bits per user, up to > 255 users), so it would never reach the 50 meg size, but the 'lock' > would be placed on the 'virtual' 50 meg point of the .ldb. > > Make sense? > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Wednesday, September 14, 2011 9:47 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] How does Access locking work > > I need to find documentation about the actual locking mechanism for > Access. I vaguely remember something about Jet using a file, and (IIRC) > applying system locks to pieces out past the end of that file. It is > all very old memories and I am not finding anything "real" about the > actual details. > > Anyone know what it was I read so long ago? > > -- > John W. Colby > www.ColbyConsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > The information contained in this transmission is intended only for the person or entity > to which it is addressed and may contain II-VI Proprietary and/or II-VI Business > Sensitive material. If you are not the intended recipient, please contact the sender > immediately and destroy the material in its entirety, whether electronic or hard copy. > You are notified that any review, retransmission, copying, disclosure, dissemination, > or other use of, or taking of any action in reliance upon this information by persons > or entities other than the intended recipient is prohibited. > > From jwcolby at colbyconsulting.com Thu Sep 15 06:32:23 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Sep 2011 07:32:23 -0400 Subject: [AccessD] How does Access locking work In-Reply-To: References: <4E716740.9090909@colbyconsulting.com> <418DA397713F403A89FE0E8D479DD43A@BondSoftware.local> Message-ID: <4E71E247.3040708@colbyconsulting.com> I found the white paper document out on the internet. http://support.microsoft.com/default.aspx?scid=kb;en-us;176670 I am trying to discover whether moving a client to an SSD for the BE will help with their speed issues. The lock part, what is weritten to the lock file, how often etc is a poorly understood part of the puzzle. John W. Colby www.ColbyConsulting.com On 9/15/2011 2:36 AM, Stephen Bond wrote: > John, I've scanned the first couple pages of the White Paper and sent > you off-list. > > Stephen Bond From jwcolby at colbyconsulting.com Thu Sep 15 06:34:56 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Sep 2011 07:34:56 -0400 Subject: [AccessD] How does Access locking work In-Reply-To: References: <4E716740.9090909@colbyconsulting.com> Message-ID: <4E71E2E0.8030603@colbyconsulting.com> So what is a lock? Something written to disk I assume? Where? Completely stored in memory? How do I speed that up. John W. Colby www.ColbyConsulting.com On 9/15/2011 1:51 AM, Drew Wutka wrote: > I think I have the old Jet white paper somewhere. But basically Jet > would 'lock' the .ldb file where it needed to lock the .mdb. So the > .mdb would never be locked (allowing for multiple edits), and the lock > on the .mdb would be actually on the .ldb file. > > So say the .mdb was 100 megs. And it needed to lock the 50th megabyte, > the .ldb file was always small (I think it was 64 bits per user, up to > 255 users), so it would never reach the 50 meg size, but the 'lock' > would be placed on the 'virtual' 50 meg point of the .ldb. > > Make sense? > > Drew From jimdettman at verizon.net Thu Sep 15 06:37:30 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 15 Sep 2011 07:37:30 -0400 Subject: [AccessD] How does Access locking work In-Reply-To: <4E71D1F8.6040105@colbyconsulting.com> References: <4E716740.9090909@colbyconsulting.com> <4E71D1F8.6040105@colbyconsulting.com> Message-ID: <14428EB56A674FD0933DD8BB9131A2F1@XPS> And that it's exactly. I have the white paper here somewhere written by Kevin Collins that describes the locking (even includes a DB lock utility you can use to poll locks). However it was never updated for JET 4.0 and record level locking. How that works has never been described anywhere. It's also incomplete in that it describes all the locks for 3.5, but locking in JET 4.0 was changed (besides the record locking), so the types of locks and when they are placed are different. What's your goal? Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, September 15, 2011 06:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How does Access locking work It does make sense and that is what I am talking about. John W. Colby www.ColbyConsulting.com On 9/15/2011 1:51 AM, Drew Wutka wrote: > I think I have the old Jet white paper somewhere. But basically Jet > would 'lock' the .ldb file where it needed to lock the .mdb. So the > .mdb would never be locked (allowing for multiple edits), and the lock > on the .mdb would be actually on the .ldb file. > > So say the .mdb was 100 megs. And it needed to lock the 50th megabyte, > the .ldb file was always small (I think it was 64 bits per user, up to > 255 users), so it would never reach the 50 meg size, but the 'lock' > would be placed on the 'virtual' 50 meg point of the .ldb. > > Make sense? > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Wednesday, September 14, 2011 9:47 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] How does Access locking work > > I need to find documentation about the actual locking mechanism for > Access. I vaguely remember something about Jet using a file, and (IIRC) > applying system locks to pieces out past the end of that file. It is > all very old memories and I am not finding anything "real" about the > actual details. > > Anyone know what it was I read so long ago? > > -- > John W. Colby > www.ColbyConsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > The information contained in this transmission is intended only for the person or entity > to which it is addressed and may contain II-VI Proprietary and/or II-VI Business > Sensitive material. If you are not the intended recipient, please contact the sender > immediately and destroy the material in its entirety, whether electronic or hard copy. > You are notified that any review, retransmission, copying, disclosure, dissemination, > or other use of, or taking of any action in reliance upon this information by persons > or entities other than the intended recipient is prohibited. > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Thu Sep 15 06:47:00 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 15 Sep 2011 07:47:00 -0400 Subject: [AccessD] How does Access locking work In-Reply-To: <4E71E2E0.8030603@colbyconsulting.com> References: <4E716740.9090909@colbyconsulting.com> <4E71E2E0.8030603@colbyconsulting.com> Message-ID: John, A lock is never written to disk. It's completely stored in memory (unless of course the OS starts paging to disk because it runs out of memory). <> Faster processor and/or memory. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, September 15, 2011 07:35 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How does Access locking work So what is a lock? Something written to disk I assume? Where? Completely stored in memory? How do I speed that up. John W. Colby www.ColbyConsulting.com On 9/15/2011 1:51 AM, Drew Wutka wrote: > I think I have the old Jet white paper somewhere. But basically Jet > would 'lock' the .ldb file where it needed to lock the .mdb. So the > .mdb would never be locked (allowing for multiple edits), and the lock > on the .mdb would be actually on the .ldb file. > > So say the .mdb was 100 megs. And it needed to lock the 50th megabyte, > the .ldb file was always small (I think it was 64 bits per user, up to > 255 users), so it would never reach the 50 meg size, but the 'lock' > would be placed on the 'virtual' 50 meg point of the .ldb. > > Make sense? > > Drew -- 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 Sep 15 07:23:51 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 15 Sep 2011 22:23:51 +1000 Subject: [AccessD] How does Access locking work In-Reply-To: References: <4E716740.9090909@colbyconsulting.com>, <4E71E2E0.8030603@colbyconsulting.com>, Message-ID: <4E71EE57.9701.78896D9@stuart.lexacorp.com.pg> If it is stored in memory, how can multi-user/ server based BEs work? How can my workstation read/write locks in the server's memory or the memory on another workstation and/or how can they read my memory? It must be physically written somewhere accessible to all users such as the lock file. -- Stuart On 15 Sep 2011 at 7:47, Jim Dettman wrote: > John, > > A lock is never written to disk. It's completely stored in memory > (unless > of course the OS starts paging to disk because it runs out of memory). > > <> > > Faster processor and/or memory. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, September 15, 2011 07:35 AM To: Access Developers > discussion and problem solving Subject: Re: [AccessD] How does Access > locking work > > So what is a lock? Something written to disk I assume? Where? > Completely stored in memory? How do I speed that up. > > John W. Colby > www.ColbyConsulting.com > > On 9/15/2011 1:51 AM, Drew Wutka wrote: > > I think I have the old Jet white paper somewhere. But basically Jet > > would 'lock' the .ldb file where it needed to lock the .mdb. So the > > .mdb would never be locked (allowing for multiple edits), and the > > lock on the .mdb would be actually on the .ldb file. > > > > So say the .mdb was 100 megs. And it needed to lock the 50th > > megabyte, the .ldb file was always small (I think it was 64 bits per > > user, up to 255 users), so it would never reach the 50 meg size, but > > the 'lock' would be placed on the 'virtual' 50 meg point of the > > .ldb. > > > > Make sense? > > > > Drew > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at verizon.net Thu Sep 15 07:39:58 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 15 Sep 2011 08:39:58 -0400 Subject: [AccessD] How does Access locking work In-Reply-To: <4E71EE57.9701.78896D9@stuart.lexacorp.com.pg> References: <4E716740.9090909@colbyconsulting.com>, <4E71E2E0.8030603@colbyconsulting.com>, <4E71EE57.9701.78896D9@stuart.lexacorp.com.pg> Message-ID: <06AA67ADF4DB4C56BF085FF7A0247C49@XPS> Stuart, It's the server that holds the locks, not the clients. The .LDB file is an array of 255 64 byte slots, one for each user. 32 bytes for the computer name, 32 bytes for the username. The .LDB file never grows physically beyond 16k. Each slot is matched to the slot in the database header page, where two bytes represent the operations the user is currently performing (reading/writing, index update, etc). The clients place lock requests against the .LDB file. By doing that, the .MDB file is always free to be read/written by any client. Windows OS's (and all others that I'm aware of) do not care if you try to lock part of a file that doesn't exist. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, September 15, 2011 08:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How does Access locking work If it is stored in memory, how can multi-user/ server based BEs work? How can my workstation read/write locks in the server's memory or the memory on another workstation and/or how can they read my memory? It must be physically written somewhere accessible to all users such as the lock file. -- Stuart On 15 Sep 2011 at 7:47, Jim Dettman wrote: > John, > > A lock is never written to disk. It's completely stored in memory > (unless > of course the OS starts paging to disk because it runs out of memory). > > <> > > Faster processor and/or memory. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, September 15, 2011 07:35 AM To: Access Developers > discussion and problem solving Subject: Re: [AccessD] How does Access > locking work > > So what is a lock? Something written to disk I assume? Where? > Completely stored in memory? How do I speed that up. > > John W. Colby > www.ColbyConsulting.com > > On 9/15/2011 1:51 AM, Drew Wutka wrote: > > I think I have the old Jet white paper somewhere. But basically Jet > > would 'lock' the .ldb file where it needed to lock the .mdb. So the > > .mdb would never be locked (allowing for multiple edits), and the > > lock on the .mdb would be actually on the .ldb file. > > > > So say the .mdb was 100 megs. And it needed to lock the 50th > > megabyte, the .ldb file was always small (I think it was 64 bits per > > user, up to 255 users), so it would never reach the 50 meg size, but > > the 'lock' would be placed on the 'virtual' 50 meg point of the > > .ldb. > > > > Make sense? > > > > Drew > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Thu Sep 15 07:47:34 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Sep 2011 08:47:34 -0400 Subject: [AccessD] mysql BE for Access? In-Reply-To: References: <4E716C3C.7080404@colbyconsulting.com> Message-ID: <4E71F3E6.2090301@colbyconsulting.com> Arthur, I purchased your e-book. Since you seem to be the resident expert... How doable is this? The database is currently Access MDB based, split into about 5 different BEs because of data size and speed issues. ~ 180 tables, ~ 10 major tables, ~1.2 million records in the largest major table. The data itself is not extraordinarily large as databases go, probably about 5 gigs today and up to 10 gigs in the next few years. ~25 users in the database all day every day. The server is currently a 4 physical core Intel based Dell server circa early 2K, running Windows 2000 x32, with 4 gigs of RAM. Replacing the server is in the plan but not in the immediate future - not in 2011. 1) What are realistic server hardware requirements? 2) Is MySQL highly threaded? Will a modern high core count processor help? Lots of memory? 3) Can I migrate existing mdbs / tables to mysql easily, quickly and safely? 4) Are there tools to assist with this? Can it be scripted? 5) Can I link back to these tables using odbc in a manner similar to what I do in SQL Server? 6) What is performance like? 7) Can mysql enforce relational integrity and all that? 8) Are there gui tools for table and index creation? 9) Any tricks or things I need to understand going in? Arthur, as mentioned I have purchased your book and will read it but I thought I'd get a discussion started about the reality of actually using mysql long term for a real production database with an Access front end, specifically the pain of setting up MySQL and doing the conversion. Anything anyone can tell me is most appreciated. John W. Colby www.ColbyConsulting.com On 9/14/2011 11:59 PM, Arthur Fuller wrote: > See my website for how to do exactly this, JC. www.artfulsoftware.com. There > are chapters concerning this and also, should you require it, how to hook > .NET to MySQL as well. > > HTH, > Arthur > > On Wed, Sep 14, 2011 at 11:08 PM, jwcolbywrote: > >> Is this doable? I am using SQL Server as the data store for Access and >> positively love it but it is expensive. >> >> Is anyone using MySQL or some other cheap / free but powerful data store >> with Access? >> From DWUTKA at Marlow.com Thu Sep 15 11:23:55 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 15 Sep 2011 11:23:55 -0500 Subject: [AccessD] How does Access locking work In-Reply-To: <4E71E2E0.8030603@colbyconsulting.com> References: <4E716740.9090909@colbyconsulting.com> <4E71E2E0.8030603@colbyconsulting.com> Message-ID: Stored in memory, by the OS. I know your programming days pre-date mine, so you should have had file writes where you were writing a specific section of a file. The OS 'locks' the section you are telling it you are writing to, then it performs the write. Same process with the .ldb lock, just a write never occurs. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, September 15, 2011 6:35 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How does Access locking work So what is a lock? Something written to disk I assume? Where? Completely stored in memory? How do I speed that up. John W. Colby www.ColbyConsulting.com On 9/15/2011 1:51 AM, Drew Wutka wrote: > I think I have the old Jet white paper somewhere. But basically Jet > would 'lock' the .ldb file where it needed to lock the .mdb. So the > .mdb would never be locked (allowing for multiple edits), and the lock > on the .mdb would be actually on the .ldb file. > > So say the .mdb was 100 megs. And it needed to lock the 50th > megabyte, the .ldb file was always small (I think it was 64 bits per > user, up to > 255 users), so it would never reach the 50 meg size, but the 'lock' > would be placed on the 'virtual' 50 meg point of the .ldb. > > Make sense? > > Drew -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From rusty.hammond at cpiqpc.com Thu Sep 15 11:27:55 2011 From: rusty.hammond at cpiqpc.com (Rusty Hammond) Date: Thu, 15 Sep 2011 11:27:55 -0500 Subject: [AccessD] mysql BE for Access? In-Reply-To: <4E71F3E6.2090301@colbyconsulting.com> References: <4E716C3C.7080404@colbyconsulting.com> <4E71F3E6.2090301@colbyconsulting.com> Message-ID: <49A286ABF515E94A8505CD14DEB721701744A15E@CPIEMAIL-EVS1.CPIQPC.NET> Arthur, just out of curiosity, have you used mySQL on a Linux server with Access linked to it? I just wondered about the performance vs. a windows OS based server/mySQL install. Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, September 15, 2011 7:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] mysql BE for Access? Arthur, I purchased your e-book. Since you seem to be the resident expert... How doable is this? The database is currently Access MDB based, split into about 5 different BEs because of data size and speed issues. ~ 180 tables, ~ 10 major tables, ~1.2 million records in the largest major table. The data itself is not extraordinarily large as databases go, probably about 5 gigs today and up to 10 gigs in the next few years. ~25 users in the database all day every day. The server is currently a 4 physical core Intel based Dell server circa early 2K, running Windows 2000 x32, with 4 gigs of RAM. Replacing the server is in the plan but not in the immediate future - not in 2011. 1) What are realistic server hardware requirements? 2) Is MySQL highly threaded? Will a modern high core count processor help? Lots of memory? 3) Can I migrate existing mdbs / tables to mysql easily, quickly and safely? 4) Are there tools to assist with this? Can it be scripted? 5) Can I link back to these tables using odbc in a manner similar to what I do in SQL Server? 6) What is performance like? 7) Can mysql enforce relational integrity and all that? 8) Are there gui tools for table and index creation? 9) Any tricks or things I need to understand going in? Arthur, as mentioned I have purchased your book and will read it but I thought I'd get a discussion started about the reality of actually using mysql long term for a real production database with an Access front end, specifically the pain of setting up MySQL and doing the conversion. Anything anyone can tell me is most appreciated. John W. Colby www.ColbyConsulting.com On 9/14/2011 11:59 PM, Arthur Fuller wrote: > See my website for how to do exactly this, JC. www.artfulsoftware.com. > There are chapters concerning this and also, should you require it, > how to hook .NET to MySQL as well. > > HTH, > Arthur > > On Wed, Sep 14, 2011 at 11:08 PM, jwcolbywrote: > >> Is this doable? I am using SQL Server as the data store for Access >> and positively love it but it is expensive. >> >> Is anyone using MySQL or some other cheap / free but powerful data >> store with Access? >> -- 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 jwcolby at colbyconsulting.com Thu Sep 15 12:30:40 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Sep 2011 13:30:40 -0400 Subject: [AccessD] mysql BE for Access? In-Reply-To: References: <4E716C3C.7080404@colbyconsulting.com> Message-ID: <4E723640.8060602@colbyconsulting.com> OK, I bought the ebook with updates. John W. Colby www.ColbyConsulting.com On 9/14/2011 11:59 PM, Arthur Fuller wrote: > See my website for how to do exactly this, JC. www.artfulsoftware.com. There > are chapters concerning this and also, should you require it, how to hook > .NET to MySQL as well. > > HTH, > Arthur > > On Wed, Sep 14, 2011 at 11:08 PM, jwcolbywrote: > >> Is this doable? I am using SQL Server as the data store for Access and >> positively love it but it is expensive. >> >> Is anyone using MySQL or some other cheap / free but powerful data store >> with Access? >> From rbgajewski at roadrunner.com Thu Sep 15 17:51:50 2011 From: rbgajewski at roadrunner.com (Bob Gajewski) Date: Thu, 15 Sep 2011 18:51:50 -0400 Subject: [AccessD] Numbers within a street In-Reply-To: References: Message-ID: Arthur Just my 2-cents ... I would not assume that 2333-1070 Queen Street has 2333 for the numeric ... Many places using the hyphenated format actually are putting the unit/suite/lot number in front of the address ... Your example might really be 1070 Queen Street, Unit 2333 ... This is quite prevalent in Canada, for example I know that only makes it murkier :-) Best regards, Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, September 14, 2011 16:31 PM To: Access Developers discussion and problem solving Subject: [AccessD] Numbers within a street I am working on a political campaign management app. The thing I need to do is post reports that identify the even and odd numbers on a given street. I inherited the db and have freedom to change it (it was written by amateurs and they know it and there are no hard feelings if I make a change, insofar as said change increases productivity). So... given a current field called StreetAddress, I want to break it into two fields, StreetNumber and StreetAddress, so that I can filter the even numbers for one report and the odd numbers for an identical report. How can I intelligently extract the data and populate my new columns? Example data: 123 Normal Street ' easy 234A Abnormal Street ' a tad trickier 2333-1070 Queen Street ' the 2333 part should fall into the StreetNumber field and the rest into the StreetAddress field. Any clever ideas how I might achieve this? TIA, Arthur -- 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 Sep 15 20:54:42 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 15 Sep 2011 21:54:42 -0400 Subject: [AccessD] Numbers within a street In-Reply-To: References: Message-ID: Nobody ever said this was going to be simple! Least of all, me. Way back when (in the DOS era) I wrote the original campaign-management software for our late lamented Jack Layton and his wife Olivia, back when they were city councillors. And we had problems then, and they continue to plague us. Sign posters work one half of a given street, and address-entry continues to be problematic for some simple algorithmic reply. Alack and alas, that's why they pay me the nonexistent big bucks. It's something to do, at least. I could instead be picking my nose. "And here is this week's Best Pick!" A. From accessd at shaw.ca Fri Sep 16 13:03:15 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 16 Sep 2011 11:03:15 -0700 Subject: [AccessD] Downloading In-Reply-To: <003f01cc73da$10e5eb70$32b1c250$@winhaven.net> References: <4E723D82.16000.8BDD768@stuart.lexacorp.com.pg> <003f01cc73da$10e5eb70$32b1c250$@winhaven.net> Message-ID: Hi All: Can anyone recommend a app that a client can use to stabilize a long download that may drop a few times and need to be resumed with no lose of data. There use to be a application called Vampire that would retry again and again on a long modem download, but that was many years ago. In this circumstance I can not get direct access to the client so they will have to install and setup such an app themselves... I have been come so use to stable or managed data streaming that I have not thought about dropping connections for a while so any thoughts would be greatly appreciated. TIA Jim From davidmcafee at gmail.com Fri Sep 16 14:30:59 2011 From: davidmcafee at gmail.com (David McAfee) Date: Fri, 16 Sep 2011 12:30:59 -0700 Subject: [AccessD] Downloading In-Reply-To: References: <4E723D82.16000.8BDD768@stuart.lexacorp.com.pg> <003f01cc73da$10e5eb70$32b1c250$@winhaven.net> Message-ID: If they have WinRar they can Rar the file into many smaller pieces. I've used this method many times. WinRar will extract it all into one file on the other end, no need to manually reassemble. On Fri, Sep 16, 2011 at 11:03 AM, Jim Lawrence wrote: > Hi All: > > Can anyone recommend a app that a client can use to stabilize a long > download that may drop a few times and need to be resumed with no lose of > data. > > There use to be a application called Vampire that would retry again and > again on a long modem download, but that was many years ago. In this > circumstance I can not get direct access to the client so they will have to > install and setup such an app themselves... > > I have been come so use to stable or managed data streaming that I have not > thought about dropping connections for a while so any thoughts would be > greatly appreciated. > > TIA > Jim > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Fri Sep 16 15:33:05 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 16 Sep 2011 13:33:05 -0700 Subject: [AccessD] Downloading In-Reply-To: References: <4E723D82.16000.8BDD768@stuart.lexacorp.com.pg> <003f01cc73da$10e5eb70$32b1c250$@winhaven.net> Message-ID: <751961C6BAD64A6CB8DD7CC59CBDC568@creativesystemdesigns.com> That is interesting but it is not quite what I mean. Within the download process an interruption may occur at any time. Many years ago when modems were the only access methods to the internet, a protocol named zmodem was commonly used as it could recover from a download interruption and then continue the download process, picking the file at the point of interruption with no data loss. Though the RAR method might be effective as the user can just start over at the last completed segment and at the end of the process just stick all the components together, I do not want the user to have to manage or manipulate the data in this fashion as the likelihood of error is in the extreme. What the client needs is a application the will handle all these complex issues...restart, if necessary and reassemble without involvement. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Friday, September 16, 2011 12:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Downloading If they have WinRar they can Rar the file into many smaller pieces. I've used this method many times. WinRar will extract it all into one file on the other end, no need to manually reassemble. On Fri, Sep 16, 2011 at 11:03 AM, Jim Lawrence wrote: > Hi All: > > Can anyone recommend a app that a client can use to stabilize a long > download that may drop a few times and need to be resumed with no lose of > data. > > There use to be a application called Vampire that would retry again and > again on a long modem download, but that was many years ago. In this > circumstance I can not get direct access to the client so they will have to > install and setup such an app themselves... > > I have been come so use to stable or managed data streaming that I have not > thought about dropping connections for a while so any thoughts would be > greatly appreciated. > > TIA > 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 davidmcafee at gmail.com Fri Sep 16 15:41:04 2011 From: davidmcafee at gmail.com (David McAfee) Date: Fri, 16 Sep 2011 13:41:04 -0700 Subject: [AccessD] Downloading In-Reply-To: <751961C6BAD64A6CB8DD7CC59CBDC568@creativesystemdesigns.com> References: <4E723D82.16000.8BDD768@stuart.lexacorp.com.pg> <003f01cc73da$10e5eb70$32b1c250$@winhaven.net> <751961C6BAD64A6CB8DD7CC59CBDC568@creativesystemdesigns.com> Message-ID: I was suggesting that as an alternative. Another thing you could do is torrent the file. A lot of torrent clients will automatically continue if the computer is reboot, and the torrent download restarted. I used to use BitTornado, not sure if they are still around as most of this stuff is blocked here at work as it is often used to download movies. On Fri, Sep 16, 2011 at 1:33 PM, Jim Lawrence wrote: > That is interesting but it is not quite what I mean. Within the download > process an interruption may occur at any time. > > Many years ago when modems were the only access methods to the internet, a > protocol named zmodem was commonly used as it could recover from a download > interruption and then continue the download process, picking the file at > the > point of interruption with no data loss. > > Though the RAR method might be effective as the user can just start over at > the last completed segment and at the end of the process just stick all the > components together, I do not want the user to have to manage or manipulate > the data in this fashion as the likelihood of error is in the extreme. > > What the client needs is a application the will handle all these complex > issues...restart, if necessary and reassemble without involvement. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee > Sent: Friday, September 16, 2011 12:31 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Downloading > > If they have WinRar they can Rar the file into many smaller pieces. > > I've used this method many times. > > WinRar will extract it all into one file on the other end, no need to > manually reassemble. > > > On Fri, Sep 16, 2011 at 11:03 AM, Jim Lawrence wrote: > > > Hi All: > > > > Can anyone recommend a app that a client can use to stabilize a long > > download that may drop a few times and need to be resumed with no lose of > > data. > > > > There use to be a application called Vampire that would retry again and > > again on a long modem download, but that was many years ago. In this > > circumstance I can not get direct access to the client so they will have > to > > install and setup such an app themselves... > > > > I have been come so use to stable or managed data streaming that I have > not > > thought about dropping connections for a while so any thoughts would be > > greatly appreciated. > > > > TIA > > 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 accessd at shaw.ca Fri Sep 16 16:14:25 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 16 Sep 2011 14:14:25 -0700 Subject: [AccessD] Downloading In-Reply-To: References: <4E723D82.16000.8BDD768@stuart.lexacorp.com.pg> <003f01cc73da$10e5eb70$32b1c250$@winhaven.net> <751961C6BAD64A6CB8DD7CC59CBDC568@creativesystemdesigns.com> Message-ID: <1C46D71DA73242ABA8DB834AF359ED69@creativesystemdesigns.com> Hi David: BitTorrent...excellent idea. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Friday, September 16, 2011 1:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Downloading I was suggesting that as an alternative. Another thing you could do is torrent the file. A lot of torrent clients will automatically continue if the computer is reboot, and the torrent download restarted. I used to use BitTornado, not sure if they are still around as most of this stuff is blocked here at work as it is often used to download movies. On Fri, Sep 16, 2011 at 1:33 PM, Jim Lawrence wrote: > That is interesting but it is not quite what I mean. Within the download > process an interruption may occur at any time. > > Many years ago when modems were the only access methods to the internet, a > protocol named zmodem was commonly used as it could recover from a download > interruption and then continue the download process, picking the file at > the > point of interruption with no data loss. > > Though the RAR method might be effective as the user can just start over at > the last completed segment and at the end of the process just stick all the > components together, I do not want the user to have to manage or manipulate > the data in this fashion as the likelihood of error is in the extreme. > > What the client needs is a application the will handle all these complex > issues...restart, if necessary and reassemble without involvement. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee > Sent: Friday, September 16, 2011 12:31 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Downloading > > If they have WinRar they can Rar the file into many smaller pieces. > > I've used this method many times. > > WinRar will extract it all into one file on the other end, no need to > manually reassemble. > > > On Fri, Sep 16, 2011 at 11:03 AM, Jim Lawrence wrote: > > > Hi All: > > > > Can anyone recommend a app that a client can use to stabilize a long > > download that may drop a few times and need to be resumed with no lose of > > data. > > > > There use to be a application called Vampire that would retry again and > > again on a long modem download, but that was many years ago. In this > > circumstance I can not get direct access to the client so they will have > to > > install and setup such an app themselves... > > > > I have been come so use to stable or managed data streaming that I have > not > > thought about dropping connections for a while so any thoughts would be > > greatly appreciated. > > > > TIA > > 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 shamil at smsconsulting.spb.ru Sat Sep 17 12:21:19 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 17 Sep 2011 21:21:19 +0400 Subject: [AccessD] Downloading In-Reply-To: References: <4E723D82.16000.8BDD768@stuart.lexacorp.com.pg><003f01cc73da$10e5eb70$32b1c250$@winhaven.net> Message-ID: <4F96CEBC873940C8B0419D73E934BBC3@nant> Hi Jim, FileZilla - http://filezilla-project.org/client_features.php ? Thank you. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: 16 ???????? 2011 ?. 22:03 To: 'Discussion of Hardware and Software issues'; 'Access Developers discussion and problem solving' Subject: [AccessD] Downloading Hi All: Can anyone recommend a app that a client can use to stabilize a long download that may drop a few times and need to be resumed with no lose of data. There use to be a application called Vampire that would retry again and again on a long modem download, but that was many years ago. In this circumstance I can not get direct access to the client so they will have to install and setup such an app themselves... I have been come so use to stable or managed data streaming that I have not thought about dropping connections for a while so any thoughts would be greatly appreciated. TIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sat Sep 17 12:38:32 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 17 Sep 2011 10:38:32 -0700 Subject: [AccessD] Downloading In-Reply-To: <4F96CEBC873940C8B0419D73E934BBC3@nant> References: <4E723D82.16000.8BDD768@stuart.lexacorp.com.pg> <003f01cc73da$10e5eb70$32b1c250$@winhaven.net> <4F96CEBC873940C8B0419D73E934BBC3@nant> Message-ID: <6FDA5457B886486097D44374DE1D2519@creativesystemdesigns.com> As meantioned on the DBA_tech list...Filezilla is definitely a first choice. Thanks Shamil. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, September 17, 2011 10:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Downloading Hi Jim, FileZilla - http://filezilla-project.org/client_features.php ? Thank you. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: 16 ???????? 2011 ?. 22:03 To: 'Discussion of Hardware and Software issues'; 'Access Developers discussion and problem solving' Subject: [AccessD] Downloading Hi All: Can anyone recommend a app that a client can use to stabilize a long download that may drop a few times and need to be resumed with no lose of data. There use to be a application called Vampire that would retry again and again on a long modem download, but that was many years ago. In this circumstance I can not get direct access to the client so they will have to install and setup such an app themselves... I have been come so use to stable or managed data streaming that I have not thought about dropping connections for a while so any thoughts would be greatly appreciated. TIA 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 jwcolby at colbyconsulting.com Sat Sep 17 18:24:13 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 17 Sep 2011 19:24:13 -0400 Subject: [AccessD] MySQL Message-ID: <4E752C1D.9060901@colbyconsulting.com> Today I built a Windows XP SP3 VM (x32) and installed MySQL Community Edition. I installed all the prereqs, the database and the ODBC connector. The .Net connector refused to install due to missing .net 2.0 or 4.0. I also installed the workbench. It looks very foreign. It is very foreign. This is the part of new technology I hate, that first look - "I don't recognize a thing" feeling. Being a vm, I have a boot drive and a data drive. The boot is 30 gigs and the data is 60 gigs. Let's hope that is enough, though one would think so for small databases. I am trying to learn enough to assist a client with evaluating MySQL for replacing his Access MDB data store. For now I have to figure out how to create a database. Is it the same concept as SQL Server? A file or set of files where tables, indexes, views etc are stored? I assumed there would be some visual designer that would allow me to create the db, then tables etc. It looks like that stuff is in "SQL Development". This thing looks pretty nice, but very different on the surface. -- John W. Colby www.ColbyConsulting.com From stuart at lexacorp.com.pg Sat Sep 17 18:51:42 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 18 Sep 2011 09:51:42 +1000 Subject: [AccessD] MySQL In-Reply-To: <4E752C1D.9060901@colbyconsulting.com> References: <4E752C1D.9060901@colbyconsulting.com> Message-ID: <4E75328E.20690.144B1BE3@stuart.lexacorp.com.pg> I run MySQL locally as part of a WAMP installation and remotely on our FreeBSD servers. I use phpMyAdmin for all the administration. It's a very intuitive interface. It's possibly worth installing WAMP just for the phpMyAdmin. -- Stuart On 17 Sep 2011 at 19:24, jwcolby wrote: > For now I have to figure out how to create a database. Is it the same > concept as SQL Server? A file or set of files where tables, indexes, > views etc are stored? I assumed there would be some visual designer > that would allow me to create the db, then tables etc. It looks like > that stuff is in "SQL Development". > > This thing looks pretty nice, but very different on the surface. > From jwcolby at colbyconsulting.com Sat Sep 17 19:53:31 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 17 Sep 2011 20:53:31 -0400 Subject: [AccessD] SQL Server security Message-ID: <4E75410B.1080607@colbyconsulting.com> I see logs of references to people probing ports looking for SQL Server ports (and mysql as well I assume). If I come in through a Hamachi VPN then I do not directly expose the port to the outside world correct? IOW the hacker would need to belong to my VPN network in order to directly get to the open port? -- John W. Colby www.ColbyConsulting.com From drcaa at click21.com.br Sun Sep 18 06:43:40 2011 From: drcaa at click21.com.br (drcaa at click21.com.br) Date: Sun, 18 Sep 2011 08:43:40 -0300 Subject: [AccessD] A2007 - importing objects from A2000 Message-ID: <1316346220.4e75d96c85e8c@webmail4.click21.com.br> Hi people! I have had a situation tryiong to use a A2000 database in A2007. Some forms (including a switchboard created by myself) and all reports are not shown in navigation pane. I tried to convert the database, tried to use in A2000 format and no success. Also tried to import all objects from A2000 database, but those objects I mentioned are not shown either. Any hints??? TIA, Carl?os Alberto Alves ___________________________________________________________________________________ Para fazer uma liga??o DDD pra perto ou pra longe, faz um 21. A Embratel tem tarifas muito baratas esperando por voc?. Aproveite! From vbacreations at gmail.com Sun Sep 18 07:46:51 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Sun, 18 Sep 2011 08:46:51 -0400 Subject: [AccessD] A2007 - importing objects from A2000 In-Reply-To: <1316346220.4e75d96c85e8c@webmail4.click21.com.br> References: <1316346220.4e75d96c85e8c@webmail4.click21.com.br> Message-ID: <001901cc7601$0a4d6170$1ee82450$@gmail.com> Are you able to create new objects at all in this database? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of drcaa at click21.com.br Sent: Sunday, September 18, 2011 7:44 AM To: accessd at databaseadvisors.com Subject: [AccessD] A2007 - importing objects from A2000 Hi people! I have had a situation tryiong to use a A2000 database in A2007. Some forms (including a switchboard created by myself) and all reports are not shown in navigation pane. I tried to convert the database, tried to use in A2000 format and no success. Also tried to import all objects from A2000 database, but those objects I mentioned are not shown either. Any hints??? TIA, Carl?os Alberto Alves ____________________________________________________________________________ _______ Para fazer uma liga??o DDD pra perto ou pra longe, faz um 21. A Embratel tem tarifas muito baratas esperando por voc?. Aproveite! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marklbreen at gmail.com Sun Sep 18 10:13:03 2011 From: marklbreen at gmail.com (Mark Breen) Date: Sun, 18 Sep 2011 16:13:03 +0100 Subject: [AccessD] Downloading In-Reply-To: <6FDA5457B886486097D44374DE1D2519@creativesystemdesigns.com> References: <4E723D82.16000.8BDD768@stuart.lexacorp.com.pg> <003f01cc73da$10e5eb70$32b1c250$@winhaven.net> <4F96CEBC873940C8B0419D73E934BBC3@nant> <6FDA5457B886486097D44374DE1D2519@creativesystemdesigns.com> Message-ID: Hello All, Can I add to that the FileZilla Client is great, but FileZilla Server is also great for me. I am using that for a few years now and it makes setting up FTP accounts nice and easy. Mark On 17 September 2011 18:38, Jim Lawrence wrote: > As meantioned on the DBA_tech list...Filezilla is definitely a first > choice. > > > Thanks Shamil. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Saturday, September 17, 2011 10:21 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Downloading > > Hi Jim, > > FileZilla - http://filezilla-project.org/client_features.php ? > > Thank you. > > -- > Shamil > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: 16 ???????? 2011 ?. 22:03 > To: 'Discussion of Hardware and Software issues'; 'Access Developers > discussion and problem solving' > Subject: [AccessD] Downloading > > Hi All: > > Can anyone recommend a app that a client can use to stabilize a long > download that may drop a few times and need to be resumed with no lose of > data. > > There use to be a application called Vampire that would retry again and > again on a long modem download, but that was many years ago. In this > circumstance I can not get direct access to the client so they will have to > install and setup such an app themselves... > > I have been come so use to stable or managed data streaming that I have not > thought about dropping connections for a while so any thoughts would be > greatly appreciated. > > TIA > 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 accessd at shaw.ca Sun Sep 18 10:30:07 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 18 Sep 2011 08:30:07 -0700 Subject: [AccessD] Downloading In-Reply-To: References: <4E723D82.16000.8BDD768@stuart.lexacorp.com.pg> <003f01cc73da$10e5eb70$32b1c250$@winhaven.net> <4F96CEBC873940C8B0419D73E934BBC3@nant> <6FDA5457B886486097D44374DE1D2519@creativesystemdesigns.com> Message-ID: Confer, both are excellent. :-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: Sunday, September 18, 2011 8:13 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Downloading Hello All, Can I add to that the FileZilla Client is great, but FileZilla Server is also great for me. I am using that for a few years now and it makes setting up FTP accounts nice and easy. Mark On 17 September 2011 18:38, Jim Lawrence wrote: > As meantioned on the DBA_tech list...Filezilla is definitely a first > choice. > > > Thanks Shamil. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Saturday, September 17, 2011 10:21 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Downloading > > Hi Jim, > > FileZilla - http://filezilla-project.org/client_features.php ? > > Thank you. > > -- > Shamil > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: 16 ???????? 2011 ?. 22:03 > To: 'Discussion of Hardware and Software issues'; 'Access Developers > discussion and problem solving' > Subject: [AccessD] Downloading > > Hi All: > > Can anyone recommend a app that a client can use to stabilize a long > download that may drop a few times and need to be resumed with no lose of > data. > > There use to be a application called Vampire that would retry again and > again on a long modem download, but that was many years ago. In this > circumstance I can not get direct access to the client so they will have to > install and setup such an app themselves... > > I have been come so use to stable or managed data streaming that I have not > thought about dropping connections for a while so any thoughts would be > greatly appreciated. > > TIA > 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 marksimms at verizon.net Sun Sep 18 10:45:00 2011 From: marksimms at verizon.net (Mark Simms) Date: Sun, 18 Sep 2011 11:45:00 -0400 Subject: [AccessD] MySQL, Tableau In-Reply-To: <4E752C1D.9060901@colbyconsulting.com> References: <4E752C1D.9060901@colbyconsulting.com> Message-ID: <003a01cc7619$ed5d0ca0$c81725e0$@net> Same thing happened to me when I installed Tableau recently. The first thing I wanted to do was "export to excel"....and OF COURSE, they made that very difficult. > It looks very foreign. It is very foreign. This is the part of new > technology I hate, that first > look - "I don't recognize a thing" feeling. From stuart at lexacorp.com.pg Sun Sep 18 16:36:38 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 19 Sep 2011 07:36:38 +1000 Subject: [AccessD] Downloading In-Reply-To: References: , <6FDA5457B886486097D44374DE1D2519@creativesystemdesigns.com>, Message-ID: <4E766466.4798.18F5D1D2@stuart.lexacorp.com.pg> I used to use Filezilla and still install the server where clients need one but I don't bother with separate FTP clients these days. Not since I found the FireFTP plugin for Firefox. Most of my FTP usage is for websites and it justs so easy to upload, switch tabs to the webpage and hit F5. Stuart On 18 Sep 2011 at 16:13, Mark Breen wrote: > Hello All, > > Can I add to that the FileZilla Client is great, but FileZilla Server > is also great for me. I am using that for a few years now and it > makes setting up FTP accounts nice and easy. > > Mark > > > On 17 September 2011 18:38, Jim Lawrence wrote: > > > As meantioned on the DBA_tech list...Filezilla is definitely a first > > choice. > > > > > > Thanks Shamil. > > > > Jim > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > > Salakhetdinov Sent: Saturday, September 17, 2011 10:21 AM To: > > 'Access Developers discussion and problem solving' Subject: Re: > > [AccessD] Downloading > > > > Hi Jim, > > > > FileZilla - http://filezilla-project.org/client_features.php ? > > > > Thank you. > > > > -- > > Shamil > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim > > Lawrence Sent: 16 ???????? 2011 ?. 22:03 To: 'Discussion of Hardware > > and Software issues'; 'Access Developers discussion and problem > > solving' Subject: [AccessD] Downloading > > > > Hi All: > > > > Can anyone recommend a app that a client can use to stabilize a long > > download that may drop a few times and need to be resumed with no > > lose of data. > > > > There use to be a application called Vampire that would retry again > > and again on a long modem download, but that was many years ago. In > > this circumstance I can not get direct access to the client so they > > will have to install and setup such an app themselves... > > > > I have been come so use to stable or managed data streaming that I > > have not thought about dropping connections for a while so any > > thoughts would be greatly appreciated. > > > > TIA > > 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 Sun Sep 18 19:48:47 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 18 Sep 2011 17:48:47 -0700 Subject: [AccessD] Downloading In-Reply-To: <4E766466.4798.18F5D1D2@stuart.lexacorp.com.pg> References: <6FDA5457B886486097D44374DE1D2519@creativesystemdesigns.com> <4E766466.4798.18F5D1D2@stuart.lexacorp.com.pg> Message-ID: <41DED998C7EE4ABDB21A5B8AA6E5B5F6@creativesystemdesigns.com> That sounds like a good idea. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, September 18, 2011 2:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Downloading I used to use Filezilla and still install the server where clients need one but I don't bother with separate FTP clients these days. Not since I found the FireFTP plugin for Firefox. Most of my FTP usage is for websites and it justs so easy to upload, switch tabs to the webpage and hit F5. Stuart On 18 Sep 2011 at 16:13, Mark Breen wrote: > Hello All, > > Can I add to that the FileZilla Client is great, but FileZilla Server > is also great for me. I am using that for a few years now and it > makes setting up FTP accounts nice and easy. > > Mark > > > On 17 September 2011 18:38, Jim Lawrence wrote: > > > As meantioned on the DBA_tech list...Filezilla is definitely a first > > choice. > > > > > > Thanks Shamil. > > > > Jim > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > > Salakhetdinov Sent: Saturday, September 17, 2011 10:21 AM To: > > 'Access Developers discussion and problem solving' Subject: Re: > > [AccessD] Downloading > > > > Hi Jim, > > > > FileZilla - http://filezilla-project.org/client_features.php ? > > > > Thank you. > > > > -- > > Shamil > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim > > Lawrence Sent: 16 ???????? 2011 ?. 22:03 To: 'Discussion of Hardware > > and Software issues'; 'Access Developers discussion and problem > > solving' Subject: [AccessD] Downloading > > > > Hi All: > > > > Can anyone recommend a app that a client can use to stabilize a long > > download that may drop a few times and need to be resumed with no > > lose of data. > > > > There use to be a application called Vampire that would retry again > > and again on a long modem download, but that was many years ago. In > > this circumstance I can not get direct access to the client so they > > will have to install and setup such an app themselves... > > > > I have been come so use to stable or managed data streaming that I > > have not thought about dropping connections for a while so any > > thoughts would be greatly appreciated. > > > > TIA > > 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 > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sun Sep 18 21:59:24 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 18 Sep 2011 22:59:24 -0400 Subject: [AccessD] Access to MySQL conversion Message-ID: <4E76B00C.5020204@colbyconsulting.com> Has anybody found a package to do this? I am finding some things but they look suspicious. -- John W. Colby www.ColbyConsulting.com From michaeljrobertson at gmail.com Sun Sep 18 22:50:36 2011 From: michaeljrobertson at gmail.com (Michael) Date: Mon, 19 Sep 2011 13:50:36 +1000 Subject: [AccessD] Access to MySQL conversion In-Reply-To: <4E76B00C.5020204@colbyconsulting.com> References: <4E76B00C.5020204@colbyconsulting.com> Message-ID: <001a01cc767f$4d508af0$e7f1a0d0$@gmail.com> John, Have a look at http://forums.mysql.com/list.php?65 This deals with Access/MySQL migrations as well as many other related matters. Michael -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, 19 September 2011 12:59 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access to MySQL conversion Has anybody found a package to do this? I am finding some things but they look suspicious. -- John W. Colby www.ColbyConsulting.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 Sep 19 11:52:30 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 19 Sep 2011 12:52:30 -0400 Subject: [AccessD] Access to MySQL conversion In-Reply-To: <001a01cc767f$4d508af0$e7f1a0d0$@gmail.com> References: <4E76B00C.5020204@colbyconsulting.com> <001a01cc767f$4d508af0$e7f1a0d0$@gmail.com> Message-ID: <4E77734E.50607@colbyconsulting.com> This was interesting http://25yearsofprogramming.com/blog/2010/20100718.htm Option #2 use Access to push structure and data. I will definitely be giving this a try. I may be able to do programmatically what he was doing manually which would make it pretty easy. John W. Colby www.ColbyConsulting.com On 9/18/2011 11:50 PM, Michael wrote: > John, > > Have a look at http://forums.mysql.com/list.php?65 > > This deals with Access/MySQL migrations as well as many other related > matters. > > Michael > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, 19 September 2011 12:59 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Access to MySQL conversion > > Has anybody found a package to do this? I am finding some things but they > look suspicious. > From rlister at actuarial-files.com Mon Sep 19 16:18:31 2011 From: rlister at actuarial-files.com (Ralf Lister) Date: Mon, 19 Sep 2011 17:18:31 -0400 Subject: [AccessD] Ambiguous Name Message-ID: <000001cc7711$bb3f9f00$31bedd00$@com> Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia From michaeljrobertson at gmail.com Mon Sep 19 17:38:59 2011 From: michaeljrobertson at gmail.com (Michael) Date: Tue, 20 Sep 2011 08:38:59 +1000 Subject: [AccessD] Access to MySQL conversion In-Reply-To: <4E77734E.50607@colbyconsulting.com> References: <4E76B00C.5020204@colbyconsulting.com> <001a01cc767f$4d508af0$e7f1a0d0$@gmail.com> <4E77734E.50607@colbyconsulting.com> Message-ID: <001201cc771c$ef415e50$cdc41af0$@gmail.com> John, You might also have a look at Navicat for MySQL - http://www.navicat.com/en/products/navicat_mysql/mysql_overview.html I personally use the Premium Version of Navicat to manage remote databases, develop complex queries, create views, triggers, UDFs and so on. I use MySQL as the backend for dynamic websites I build here in Australia - the hosts are in California. While phpMyAdmin is useful and free, it doesn't compare to the Navicat product which of course costs ($199 for the MySQL version). While this may sound like an advertisement for Navicat (it isn't) I simply can't do without Navicat (I use the Premium Edition which covers most of the major DBs). At the very least I recommend that you have a look at the product - it has a 30 day free trial. As an experiment I imported a few tables from an Access database, across the WAN and it worked well. I didn't choose anything too complex deliberately, but from what I saw it has all of the features you might need for a migration from Access to MySQL plus the ongoing benefit of DB Management. I do all my DB development work directly in Navicat. I also use Access as a front-end to MySQL for complex site maintenance activities - using ODBC for that. Hope that helps. Rgeards, Michael -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, 20 September 2011 2:53 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access to MySQL conversion This was interesting http://25yearsofprogramming.com/blog/2010/20100718.htm Option #2 use Access to push structure and data. I will definitely be giving this a try. I may be able to do programmatically what he was doing manually which would make it pretty easy. John W. Colby www.ColbyConsulting.com On 9/18/2011 11:50 PM, Michael wrote: > John, > > Have a look at http://forums.mysql.com/list.php?65 > > This deals with Access/MySQL migrations as well as many other related > matters. > > Michael > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, 19 September 2011 12:59 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Access to MySQL conversion > > Has anybody found a package to do this? I am finding some things but > they look suspicious. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From steve at goodhall.info Mon Sep 19 18:33:24 2011 From: steve at goodhall.info (Steve Goodhall) Date: Mon, 19 Sep 2011 19:33:24 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: <000001cc7711$bb3f9f00$31bedd00$@com> References: <000001cc7711$bb3f9f00$31bedd00$@com> Message-ID: Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- 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 Sep 19 18:42:11 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 20 Sep 2011 09:42:11 +1000 Subject: [AccessD] Ambiguous Name In-Reply-To: <000001cc7711$bb3f9f00$31bedd00$@com> References: <000001cc7711$bb3f9f00$31bedd00$@com> Message-ID: <000a01cc7725$c0fad0e0$42f072a0$@com.au> I would just search for "gsngAportesSR". It is likely you have it dimmed in a module somewhere else. Search for "Dim gsngAportesSR" for starters and then just "gsngAportesSR" - it will be in there somewhere. I would also ensure all your modules are "Option Explicit" to ensure nothing is getting dimmed twice by the VBE. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Tuesday, 20 September 2011 7:19 AM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- 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 Sep 19 18:56:39 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 19 Sep 2011 19:56:39 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: <000001cc7711$bb3f9f00$31bedd00$@com> References: <000001cc7711$bb3f9f00$31bedd00$@com> Message-ID: First of all, I am semi-retired, after 25+ years in the trenches. Second, I am an opponent of Hungarien (Simonyi) notation. I invented my own school of notation, which I call (in homage to the aforementioned) Post-Hungarian. In a nutshell this means: frm_MyForm --> MyForm_frm. And so on for all objects in said project. Why adopt this convention? Because all the objects related to, let's say, Customer, are all sorted naturally, I can find everything related to Customer easy as pie. At the end of the day, I am most interested in retrieving said objects. I go further. I have suffixes including "_qs", "qu", "qd" and "qi" and these mean "query select", "query update", "query delete" and "query insert"/ The point being that the prefix "Customer..." sorts the people according to what they affect, and from there I can work out what is destined to do something to the underlying data. Granted, this is only my opinion on how objects ought to be named. Smarter people on this list might come up with superior schemes, A. From darryl at whittleconsulting.com.au Mon Sep 19 20:44:24 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 20 Sep 2011 11:44:24 +1000 Subject: [AccessD] Ambiguous Name In-Reply-To: References: <000001cc7711$bb3f9f00$31bedd00$@com> Message-ID: <000b01cc7736$d44b8480$7ce28d80$@com.au> Interesting approach Arthur and I can see why that maybe useful in doing things that way. I would say don't think there is a right or wrong way of doing this and we all have our own preferences, I think the only 'crime' (for the want of a better word - maybe 'mistake' (?)) is to be inconsistent with your approach. The main aim I have on naming things in a certain way is to minimise risk. By putting some details of what to expect in the object name I find it is easy to chase down any issues. But of course that is just me. Everyone else's mileage will vary. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, 20 September 2011 9:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name First of all, I am semi-retired, after 25+ years in the trenches. Second, I am an opponent of Hungarien (Simonyi) notation. I invented my own school of notation, which I call (in homage to the aforementioned) Post-Hungarian. In a nutshell this means: frm_MyForm --> MyForm_frm. And so on for all objects in said project. Why adopt this convention? Because all the objects related to, let's say, Customer, are all sorted naturally, I can find everything related to Customer easy as pie. At the end of the day, I am most interested in retrieving said objects. I go further. I have suffixes including "_qs", "qu", "qd" and "qi" and these mean "query select", "query update", "query delete" and "query insert"/ The point being that the prefix "Customer..." sorts the people according to what they affect, and from there I can work out what is destined to do something to the underlying data. Granted, this is only my opinion on how objects ought to be named. Smarter people on this list might come up with superior schemes, 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 Mon Sep 19 23:29:54 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 19 Sep 2011 21:29:54 -0700 Subject: [AccessD] Ambiguous Name In-Reply-To: References: <000001cc7711$bb3f9f00$31bedd00$@com> Message-ID: That's the kind of thing my former employer decided to do when we moved to VB.Net. Made it very easy to sort things into groups by name, but it was a nightmare if you wanted to look at, say, all subreports. I hated it because it solved one "problem" by creating others. Charlotte Foust On Mon, Sep 19, 2011 at 4:56 PM, Arthur Fuller wrote: > First of all, I am semi-retired, after 25+ years in the trenches. > Second, I am an opponent of Hungarien (Simonyi) notation. I invented my own > school of notation, which I call (in homage to the aforementioned) > Post-Hungarian. In a nutshell this means: > > frm_MyForm --> MyForm_frm. And so on for all objects in said project. Why > adopt this convention? Because all the objects related to, let's say, > Customer, are all sorted naturally, I can find everything related to > Customer easy as pie. At the end of the day, I am most interested in > retrieving said objects. I go further. I have suffixes including "_qs", > "qu", "qd" and "qi" and these mean "query select", "query update", "query > delete" and "query insert"/ The point being that the prefix "Customer..." > sorts the people according to what they affect, and from there I can work > out what is destined to do something to the underlying data. > > Granted, this is only my opinion on how objects ought to be named. Smarter > people on this list might come up with superior schemes, > > A. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From fuller.artful at gmail.com Tue Sep 20 00:36:48 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 20 Sep 2011 01:36:48 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: References: <000001cc7711$bb3f9f00$31bedd00$@com> Message-ID: I never claimed perfection, Charlotte, LOL. And any naming convention is bound to have its pluses and minuses. But I try to keep it sensible, as best I can. So, we have forms called Customer_frm, CustomerOrder_subfrm, CustomerOrderDetails_subfrm, etc. Main thing is that they sort alphabetically and sensibly, IMO. Same nomenclature for reports. I also have a few procs in a module called Listers which (gasp) list objects of various types (forms, reports, modules) so I can grab the results and paste them into an Excel workbook and thus mark off my regression testing. It may not be perfect but it works well enough for me, until I find something better. Suggestions are always welcome. A. On Tue, Sep 20, 2011 at 12:29 AM, Charlotte Foust wrote: > That's the kind of thing my former employer decided to do when we moved to > VB.Net. Made it very easy to sort things into groups by name, but it was a > nightmare if you wanted to look at, say, all subreports. I hated it > because > it solved one "problem" by creating others. > > Charlotte Foust > > From Gustav at cactus.dk Tue Sep 20 02:24:55 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 20 Sep 2011 09:24:55 +0200 Subject: [AccessD] [dba-SQLServer] Oracle 11g EX (was: MySQL) Message-ID: Hi Arthur et al Also Oracle sports a free Express version, Oracle 11g XE with these limitations: * Maximum database size is 11 GB * Maximum RAM it will use is 1 GB * Only one instance can be installed on a single computer * Uses only a single CPU Here is a guide for the Windows installation (for people like JC encountering the unknown!): http://www.codeproject.com/KB/database/InstallOracle11gXE.aspx Not that I have used it or intend to do so. The last time I tried (Oracle 8i?) it installed a monster suite of tools and yet you had to deal with manual editing of ora files etc. ... I felt much like JC does now facing the WAMP package. Things may have changed, I know, I'm just not ready to meet the challenge (= have no purpose for it). /gustav -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, September 17, 2011 6:53 PM To: Discussion concerning MS SQL Server Subject: Re: [dba-SQLServer] [AccessD] MySQL There are some nice things about MySQL but on the other hand I definitely do not like where Oracle is going with this puppy since its acquisition of Sun and by inheritance MySQL. I'm still on the fence about these developments, but quite frankly I am leaning against Oracle on all these transmutations of what was originally a simple, straightforward approach. At last recollection, Monty has departed, and with him, I fear, has the guiding vision of this product. Frankly, I am all over the place on where next to go: I look at Mongo and see it exquisite for web-apps but not for OLTP situations. I look at PostGreSQL and think it's got a bunch of things right. I look at Oracle and MS-SQL and think they have some things right as well. I frankly do not have any clue into which basket to toss my next eggs. Arthur From jwcolby at colbyconsulting.com Tue Sep 20 06:51:08 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Sep 2011 07:51:08 -0400 Subject: [AccessD] Access to MySQL conversion In-Reply-To: <001201cc771c$ef415e50$cdc41af0$@gmail.com> References: <4E76B00C.5020204@colbyconsulting.com> <001a01cc767f$4d508af0$e7f1a0d0$@gmail.com> <4E77734E.50607@colbyconsulting.com> <001201cc771c$ef415e50$cdc41af0$@gmail.com> Message-ID: <4E787E2C.7070106@colbyconsulting.com> AFAICT this is $250 for the "non-commercial" version which I could qualify for if I used it for one of my non-profits. John W. Colby www.ColbyConsulting.com On 9/19/2011 6:38 PM, Michael wrote: > John, > > You might also have a look at Navicat for MySQL - > http://www.navicat.com/en/products/navicat_mysql/mysql_overview.html > > I personally use the Premium Version of Navicat to manage remote databases, > develop complex queries, create views, triggers, UDFs and so on. I use MySQL > as the backend for dynamic websites I build here in Australia - the hosts > are in California. While phpMyAdmin is useful and free, it doesn't compare > to the Navicat product which of course costs ($199 for the MySQL version). > > While this may sound like an advertisement for Navicat (it isn't) I simply > can't do without Navicat (I use the Premium Edition which covers most of the > major DBs). At the very least I recommend that you have a look at the > product - it has a 30 day free trial. > > As an experiment I imported a few tables from an Access database, across the > WAN and it worked well. I didn't choose anything too complex deliberately, > but from what I saw it has all of the features you might need for a > migration from Access to MySQL plus the ongoing benefit of DB Management. I > do all my DB development work directly in Navicat. > > I also use Access as a front-end to MySQL for complex site maintenance > activities - using ODBC for that. > > Hope that helps. > > Rgeards, > > Michael > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, 20 September 2011 2:53 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access to MySQL conversion > > This was interesting > > http://25yearsofprogramming.com/blog/2010/20100718.htm > > Option #2 use Access to push structure and data. I will definitely be > giving this a try. I may be able to do programmatically what he was doing > manually which would make it pretty easy. > > John W. Colby > www.ColbyConsulting.com > > On 9/18/2011 11:50 PM, Michael wrote: >> John, >> >> Have a look at http://forums.mysql.com/list.php?65 >> >> This deals with Access/MySQL migrations as well as many other related >> matters. >> >> Michael >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Monday, 19 September 2011 12:59 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Access to MySQL conversion >> >> Has anybody found a package to do this? I am finding some things but >> they look suspicious. >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Tue Sep 20 07:10:26 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Sep 2011 08:10:26 -0400 Subject: [AccessD] SSDs and BE storage In-Reply-To: <4E7168E7.2000502@colbyconsulting.com> References: <4E7168E7.2000502@colbyconsulting.com> Message-ID: <4E7882B2.7040407@colbyconsulting.com> Well, it seems I will be answering this question in the next few weeks. The client is building a server in the next couple of weeks, which will include a raid1 SSD as the data store. Phase 1 of the story will be to move the access BEs to that SSD and use that while we migrate the data into something else (MySQL maybe). My FE / framework logs the start / stop time when opening forms so it should be easy to discover whether the SSD makes things significantly faster. John W. Colby www.ColbyConsulting.com On 9/14/2011 10:54 PM, jwcolby wrote: > Does anyone have experience with using an SSD (or SSD RAID) to store the Access BEs? Does it > significantly speed up the database? > > My client has a pretty large (by Access standards) database. It is a call center application and > they do mostly reads (viewing claim data as they talk to the client), but do a fair amount of > "documenting" the phone calls by writing notes. About 25 users in the database all day. > > It seems logical that the SSDs enormous IOPS and streaming reads would speed things up but I have > never seen any actual studies or documented usage data. > From df.waters at comcast.net Tue Sep 20 07:48:52 2011 From: df.waters at comcast.net (Dan Waters) Date: Tue, 20 Sep 2011 07:48:52 -0500 Subject: [AccessD] SSDs and BE storage In-Reply-To: <4E7882B2.7040407@colbyconsulting.com> References: <4E7168E7.2000502@colbyconsulting.com> <4E7882B2.7040407@colbyconsulting.com> Message-ID: <001701cc7793$a75c8ca0$f615a5e0$@comcast.net> Hi John, A few months ago I switched to using an SSD for the Windows 7 OS and applications, and a WD Black HD for data storage. And yes, things are significantly faster. If I had a 2nd gen Intel CPU I'd see another jump in speed. But the way it is now, every Access file I open is up in about 1 second (if it doesn't have startup code). VS 2010 takes about 35 seconds to open and a VS app takes about 5 seconds to open. If you're going to all SSD, then you'll see a dramatic difference. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 20, 2011 7:10 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SSDs and BE storage Well, it seems I will be answering this question in the next few weeks. The client is building a server in the next couple of weeks, which will include a raid1 SSD as the data store. Phase 1 of the story will be to move the access BEs to that SSD and use that while we migrate the data into something else (MySQL maybe). My FE / framework logs the start / stop time when opening forms so it should be easy to discover whether the SSD makes things significantly faster. John W. Colby www.ColbyConsulting.com On 9/14/2011 10:54 PM, jwcolby wrote: > Does anyone have experience with using an SSD (or SSD RAID) to store > the Access BEs? Does it significantly speed up the database? > > My client has a pretty large (by Access standards) database. It is a > call center application and they do mostly reads (viewing claim data > as they talk to the client), but do a fair amount of "documenting" the phone calls by writing notes. About 25 users in the database all day. > > It seems logical that the SSDs enormous IOPS and streaming reads would > speed things up but I have never seen any actual studies or documented usage data. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rlister at actuarial-files.com Tue Sep 20 09:48:00 2011 From: rlister at actuarial-files.com (Ralf Lister) Date: Tue, 20 Sep 2011 10:48:00 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: <000a01cc7725$c0fad0e0$42f072a0$@com.au> References: <000001cc7711$bb3f9f00$31bedd00$@com> <000a01cc7725$c0fad0e0$42f072a0$@com.au> Message-ID: <000101cc77a4$4d2eb3f0$e78c1bd0$@com> Thanks Darryl, Thanks to your advice all is working wonderfully now. I found that the ambiguous variable gsngAportesSR was dimmed twice. Thousand thanks! Saludos Actuary Ralf Lister La Paz, Bolivia Registrado en APS No. Registro: Act.Mat. 001 NIT: 1016725022 Skype Name: ralf.martin.lister1 Tel.: 222 26 61, Cel. 70136531 rlister at actuarial-files.com www.actuarial-files.com -----Mensaje original----- De: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] En nombre de Darryl Collins Enviado el: Lunes, 19 de Septiembre de 2011 07:42 p.m. Para: 'Access Developers discussion and problem solving' Asunto: Re: [AccessD] Ambiguous Name I would just search for "gsngAportesSR". It is likely you have it dimmed in a module somewhere else. Search for "Dim gsngAportesSR" for starters and then just "gsngAportesSR" - it will be in there somewhere. I would also ensure all your modules are "Option Explicit" to ensure nothing is getting dimmed twice by the VBE. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Tuesday, 20 September 2011 7:19 AM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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: 10.0.1410 / Virus Database: 1520/3906 - Release Date: 09/19/11 From Gustav at cactus.dk Tue Sep 20 09:52:45 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 20 Sep 2011 16:52:45 +0200 Subject: [AccessD] Ambiguous Name Message-ID: Hi Steve Nothing wrong with global variables. Trouble is always located at those handling these (the programmer!). /gustav >>> steve at goodhall.info 20-09-2011 01:33:24 >>> Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia From dc8 at btinternet.com Tue Sep 20 10:45:42 2011 From: dc8 at btinternet.com (Chris Swann) Date: Tue, 20 Sep 2011 16:45:42 +0100 Subject: [AccessD] Two counts, one unique in pivot table In-Reply-To: <001701cc7793$a75c8ca0$f615a5e0$@comcast.net> References: <4E7168E7.2000502@colbyconsulting.com><4E7882B2.7040407@colbyconsulting.com> <001701cc7793$a75c8ca0$f615a5e0$@comcast.net> Message-ID: <4E78B526.6070908@btinternet.com> Hi all, I'm trying to produce a pivot table in Access that has two counts in it. One of these is based upon a field that is unique within the data and another that can have duplicates. What I need to show is, based upon the small example, this SAMPLE NUMBER PATIENT NUMBER A.1 1 A.2 2 A.3 2 A.4 2 A.5 3 A.6 4 A.7 4 A.8 5 A.9 5 A.10 6 10 6 which would show that there were 10 visits made by 6 distinct patients. Could anyone point me in the right direction as to how to achieve this ? Many thanks in advance, Chris Swann From marksimms at verizon.net Tue Sep 20 10:46:14 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 20 Sep 2011 11:46:14 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: Message-ID: <002401cc77ac$6df7fa30$49e7ee90$@net> Au Contraire....use sparingly at best: www.vb123.com/smart/fp/1998-05.pdf "they dramatically increase the costs of maintaining an application. After all, when you find a bad value in a global variable, that value could have been placed in the variable from any routine in the application. Thats a lot of code to debug" > > Nothing wrong with global variables. > Trouble is always located at those handling these (the programmer!). > From Lambert.Heenan at chartisinsurance.com Tue Sep 20 10:49:16 2011 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Tue, 20 Sep 2011 11:49:16 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: References: <000001cc7711$bb3f9f00$31bedd00$@com> Message-ID: I'm 100% with you on this Arthur. Been using a variation on the theme for years. I especially like being able to 'find' objects in the database window by typing the initial few letters of the name. Suffixes for me, not prefixes. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, September 19, 2011 7:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name First of all, I am semi-retired, after 25+ years in the trenches. Second, I am an opponent of Hungarien (Simonyi) notation. I invented my own school of notation, which I call (in homage to the aforementioned) Post-Hungarian. In a nutshell this means: frm_MyForm --> MyForm_frm. And so on for all objects in said project. Why adopt this convention? Because all the objects related to, let's say, Customer, are all sorted naturally, I can find everything related to Customer easy as pie. At the end of the day, I am most interested in retrieving said objects. I go further. I have suffixes including "_qs", "qu", "qd" and "qi" and these mean "query select", "query update", "query delete" and "query insert"/ The point being that the prefix "Customer..." sorts the people according to what they affect, and from there I can work out what is destined to do something to the underlying data. Granted, this is only my opinion on how objects ought to be named. Smarter people on this list might come up with superior schemes, A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Sep 20 11:06:29 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 20 Sep 2011 18:06:29 +0200 Subject: [AccessD] Global Vars (was Ambiguous Name) Message-ID: Hi Mark Not true. Except, of course, if your programming discipline is a mess. When did you last program an app where "any routine" just like that sets "some" global variable? It's not happening here. /gustav >>> marksimms at verizon.net 20-09-2011 17:46:14 >>> Au Contraire....use sparingly at best: www.vb123.com/smart/fp/1998-05.pdf "they dramatically increase the costs of maintaining an application. After all, when you find a bad value in a global variable, that value could have been placed in the variable from any routine in the application. Thats a lot of code to debug" > > Nothing wrong with global variables. > Trouble is always located at those handling these (the programmer!). From steve at goodhall.info Tue Sep 20 11:16:50 2011 From: steve at goodhall.info (Steve Goodhall) Date: Tue, 20 Sep 2011 12:16:50 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: References: Message-ID: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> I can't agree. Global variables break the whole model of structured programming. In many ways they are worse than goto statements. Sent from my Verizon Wireless Phone -----Original message----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Hi Steve Nothing wrong with global variables. Trouble is always located at those handling these (the programmer!). /gustav >>> steve at goodhall.info 20-09-2011 01:33:24 >>> Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Tue Sep 20 11:22:50 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 20 Sep 2011 12:22:50 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> References: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> Message-ID: There is nothing wrong with using a global variable like this: Private objcurDB As DAO.Database Public Function CurDb(Optional bolRefresh As Boolean = False) As DAO.Database If objcurDB Is Nothing Or bolRefresh = True Then Set objcurDB = CurrentDb() End If Set CurDb = objcurDB End Function And even if you did define it public, so what? It's not like it would be hard to spot where it's used. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 12:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I can't agree. Global variables break the whole model of structured programming. In many ways they are worse than goto statements. Sent from my Verizon Wireless Phone -----Original message----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Hi Steve Nothing wrong with global variables. Trouble is always located at those handling these (the programmer!). /gustav >>> steve at goodhall.info 20-09-2011 01:33:24 >>> Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Tue Sep 20 11:26:36 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 20 Sep 2011 12:26:36 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <002401cc77ac$6df7fa30$49e7ee90$@net> References: <002401cc77ac$6df7fa30$49e7ee90$@net> Message-ID: <13EE22ABA751467BAC797D46200F01AA@XPS> Mark, You should have quoted the second paragraph as well: "This narrow-minded attitude of mine can create difficulties when trying to share data between forms in a single application." He goes on to say there are lot's of solutions to that problem (which is true), but that doesn't apply that global's should not be used or do not have a place in Access development. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Tuesday, September 20, 2011 11:46 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Global Vars (was Ambiguous Name) Au Contraire....use sparingly at best: www.vb123.com/smart/fp/1998-05.pdf "they dramatically increase the costs of maintaining an application. After all, when you find a bad value in a global variable, that value could have been placed in the variable from any routine in the application. Thats a lot of code to debug" > > Nothing wrong with global variables. > Trouble is always located at those handling these (the programmer!). > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From steve at goodhall.info Tue Sep 20 11:30:08 2011 From: steve at goodhall.info (Steve Goodhall) Date: Tue, 20 Sep 2011 12:30:08 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: References: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> Message-ID: I don't see global in this example. Sent from my Verizon Wireless Phone -----Original message----- From: Jim Dettman To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 20, 2011 16:25:09 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name There is nothing wrong with using a global variable like this: Private objcurDB As DAO.Database Public Function CurDb(Optional bolRefresh As Boolean = False) As DAO.Database If objcurDB Is Nothing Or bolRefresh = True Then Set objcurDB = CurrentDb() End If Set CurDb = objcurDB End Function And even if you did define it public, so what? It's not like it would be hard to spot where it's used. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 12:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I can't agree. Global variables break the whole model of structured programming. In many ways they are worse than goto statements. Sent from my Verizon Wireless Phone -----Original message----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Hi Steve Nothing wrong with global variables. Trouble is always located at those handling these (the programmer!). /gustav >>> steve at goodhall.info 20-09-2011 01:33:24 >>> Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Tue Sep 20 11:41:20 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 20 Sep 2011 12:41:20 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: References: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> Message-ID: <5B015C9C2D79479F90807E92714D112E@XPS> Steve, I should have said that this code exists in a standard module. objcurDB has been declared private to limit the scope to the module, but it's still a global variable, which could be accessed by any procedure in that module. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I don't see global in this example. Sent from my Verizon Wireless Phone -----Original message----- From: Jim Dettman To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 20, 2011 16:25:09 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name There is nothing wrong with using a global variable like this: Private objcurDB As DAO.Database Public Function CurDb(Optional bolRefresh As Boolean = False) As DAO.Database If objcurDB Is Nothing Or bolRefresh = True Then Set objcurDB = CurrentDb() End If Set CurDb = objcurDB End Function And even if you did define it public, so what? It's not like it would be hard to spot where it's used. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 12:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I can't agree. Global variables break the whole model of structured programming. In many ways they are worse than goto statements. Sent from my Verizon Wireless Phone -----Original message----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Hi Steve Nothing wrong with global variables. Trouble is always located at those handling these (the programmer!). /gustav >>> steve at goodhall.info 20-09-2011 01:33:24 >>> Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 jwcolby at colbyconsulting.com Tue Sep 20 11:57:55 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Sep 2011 12:57:55 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: <5B015C9C2D79479F90807E92714D112E@XPS> References: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> <5B015C9C2D79479F90807E92714D112E@XPS> Message-ID: <4E78C613.4060707@colbyconsulting.com> True, scope includes different levels of global. John W. Colby www.ColbyConsulting.com On 9/20/2011 12:41 PM, Jim Dettman wrote: > Steve, > > I should have said that this code exists in a standard module. objcurDB > has been declared private to limit the scope to the module, but it's still a > global variable, which could be accessed by any procedure in that module. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall > Sent: Tuesday, September 20, 2011 12:30 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Ambiguous Name > > I don't see global in this example. > > Sent from my Verizon Wireless Phone > > -----Original message----- > From: Jim Dettman > To: 'Access Developers discussion and problem solving' > > Sent: Tue, Sep 20, 2011 16:25:09 GMT+00:00 > Subject: Re: [AccessD] Ambiguous Name > > There is nothing wrong with using a global variable like this: > > Private objcurDB As DAO.Database > > Public Function CurDb(Optional bolRefresh As Boolean = False) As > DAO.Database > > If objcurDB Is Nothing Or bolRefresh = True Then > Set objcurDB = CurrentDb() > End If > > Set CurDb = objcurDB > > End Function > > > And even if you did define it public, so what? It's not like it would be > hard to spot where it's used. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall > Sent: Tuesday, September 20, 2011 12:17 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Ambiguous Name > > I can't agree. Global variables break the whole model of structured > programming. In many ways they are worse than goto statements. > > Sent from my Verizon Wireless Phone > > -----Original message----- > From: Gustav Brock > To: accessd at databaseadvisors.com > Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 > Subject: Re: [AccessD] Ambiguous Name > > Hi Steve > > Nothing wrong with global variables. > Trouble is always located at those handling these (the programmer!). > > /gustav > > >>>> steve at goodhall.info 20-09-2011 01:33:24>>> > Yet another reason to never use global variables. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister > Sent: Monday, September 19, 2011 5:19 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Ambiguous Name > > Hello all, > > I work with Access 2007. > > Lately I ran into a problem I don't know how to solve: By running the code I > got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha > detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code > looking for gsngAportes defined by two different data types (e.g. Public > gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but > without success. > > Does anyone of you know how to fix this problem? > > I should say that gsngAportesSR is a global variable with data type Single. > > Thanks and Saludos > Ralf Lister > La Paz, Bolivia > > From steve at goodhall.info Tue Sep 20 12:02:07 2011 From: steve at goodhall.info (Steve Goodhall) Date: Tue, 20 Sep 2011 13:02:07 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: <5B015C9C2D79479F90807E92714D112E@XPS> References: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> <5B015C9C2D79479F90807E92714D112E@XPS> Message-ID: <555b16e1-b94d-4373-b5d6-3dab4e7ad029@blur> By definition, that's a class variable not a global. Sent from my Verizon Wireless Phone -----Original message----- From: Jim Dettman To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 20, 2011 16:42:42 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Steve, I should have said that this code exists in a standard module. objcurDB has been declared private to limit the scope to the module, but it's still a global variable, which could be accessed by any procedure in that module. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I don't see global in this example. Sent from my Verizon Wireless Phone -----Original message----- From: Jim Dettman To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 20, 2011 16:25:09 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name There is nothing wrong with using a global variable like this: Private objcurDB As DAO.Database Public Function CurDb(Optional bolRefresh As Boolean = False) As DAO.Database If objcurDB Is Nothing Or bolRefresh = True Then Set objcurDB = CurrentDb() End If Set CurDb = objcurDB End Function And even if you did define it public, so what? It's not like it would be hard to spot where it's used. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 12:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I can't agree. Global variables break the whole model of structured programming. In many ways they are worse than goto statements. Sent from my Verizon Wireless Phone -----Original message----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Hi Steve Nothing wrong with global variables. Trouble is always located at those handling these (the programmer!). /gustav >>> steve at goodhall.info 20-09-2011 01:33:24 >>> Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Tue Sep 20 12:06:44 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 20 Sep 2011 13:06:44 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: <555b16e1-b94d-4373-b5d6-3dab4e7ad029@blur> References: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> <5B015C9C2D79479F90807E92714D112E@XPS> <555b16e1-b94d-4373-b5d6-3dab4e7ad029@blur> Message-ID: <1D2245AE6A524C0A920E38022E9FE3CA@XPS> Well except for the fact that it's not in a class module. It doesn't represent a property. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 01:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name By definition, that's a class variable not a global. Sent from my Verizon Wireless Phone -----Original message----- From: Jim Dettman To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 20, 2011 16:42:42 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Steve, I should have said that this code exists in a standard module. objcurDB has been declared private to limit the scope to the module, but it's still a global variable, which could be accessed by any procedure in that module. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I don't see global in this example. Sent from my Verizon Wireless Phone -----Original message----- From: Jim Dettman To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 20, 2011 16:25:09 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name There is nothing wrong with using a global variable like this: Private objcurDB As DAO.Database Public Function CurDb(Optional bolRefresh As Boolean = False) As DAO.Database If objcurDB Is Nothing Or bolRefresh = True Then Set objcurDB = CurrentDb() End If Set CurDb = objcurDB End Function And even if you did define it public, so what? It's not like it would be hard to spot where it's used. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 12:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I can't agree. Global variables break the whole model of structured programming. In many ways they are worse than goto statements. Sent from my Verizon Wireless Phone -----Original message----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Hi Steve Nothing wrong with global variables. Trouble is always located at those handling these (the programmer!). /gustav >>> steve at goodhall.info 20-09-2011 01:33:24 >>> Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 marksimms at verizon.net Tue Sep 20 12:12:00 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 20 Sep 2011 13:12:00 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <13EE22ABA751467BAC797D46200F01AA@XPS> References: <002401cc77ac$6df7fa30$49e7ee90$@net> <13EE22ABA751467BAC797D46200F01AA@XPS> Message-ID: <002801cc77b8$693dfe20$3bb9fa60$@net> I'm not totally against them, but lately I've been tending towards the Public Property, the value of which can be easily traced/debugged. Interestingly, MZTOOLZ has a function to do just that: convert globals to properties. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Tuesday, September 20, 2011 12:27 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Global Vars (was Ambiguous Name) > > Mark, > > You should have quoted the second paragraph as well: > > "This narrow-minded attitude of mine can create difficulties when > trying to > share data between forms in a single application." > > He goes on to say there are lot's of solutions to that problem (which > is > true), but that doesn't apply that global's should not be used or do > not > have a place in Access development. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Tuesday, September 20, 2011 11:46 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Global Vars (was Ambiguous Name) > > Au Contraire....use sparingly at best: > www.vb123.com/smart/fp/1998-05.pdf > "they dramatically increase the costs of > maintaining an application. After all, when you find a bad value in a > global > variable, that value could have been placed in the variable from any > routine > in the application. Thats a lot of code to debug" > > > > > Nothing wrong with global variables. > > Trouble is always located at those handling these (the programmer!). > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 20 12:28:56 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Sep 2011 13:28:56 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <002801cc77b8$693dfe20$3bb9fa60$@net> References: <002401cc77ac$6df7fa30$49e7ee90$@net> <13EE22ABA751467BAC797D46200F01AA@XPS> <002801cc77b8$693dfe20$3bb9fa60$@net> Message-ID: <4E78CD58.9030604@colbyconsulting.com> The nice thing about properties is that they can be set (modified) in the module but read-only from outside of the module. It is impossible to do that with globals. John W. Colby www.ColbyConsulting.com On 9/20/2011 1:12 PM, Mark Simms wrote: > I'm not totally against them, but lately I've been tending towards the > Public Property, > the value of which can be easily traced/debugged. > Interestingly, MZTOOLZ has a function to do just that: convert globals to > properties. > > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd- >> bounces at databaseadvisors.com] On Behalf Of Jim Dettman >> Sent: Tuesday, September 20, 2011 12:27 PM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Global Vars (was Ambiguous Name) >> >> Mark, >> >> You should have quoted the second paragraph as well: >> >> "This narrow-minded attitude of mine can create difficulties when >> trying to >> share data between forms in a single application." >> >> He goes on to say there are lot's of solutions to that problem (which >> is >> true), but that doesn't apply that global's should not be used or do >> not >> have a place in Access development. >> >> Jim. >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms >> Sent: Tuesday, September 20, 2011 11:46 AM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Global Vars (was Ambiguous Name) >> >> Au Contraire....use sparingly at best: >> www.vb123.com/smart/fp/1998-05.pdf >> "they dramatically increase the costs of >> maintaining an application. After all, when you find a bad value in a >> global >> variable, that value could have been placed in the variable from any >> routine >> in the application. Thats a lot of code to debug" >> >>> >>> Nothing wrong with global variables. >>> Trouble is always located at those handling these (the programmer!). >>> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/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 Sep 20 12:32:46 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Sep 2011 13:32:46 -0400 Subject: [AccessD] SSDs and BE storage In-Reply-To: <001701cc7793$a75c8ca0$f615a5e0$@comcast.net> References: <4E7168E7.2000502@colbyconsulting.com> <4E7882B2.7040407@colbyconsulting.com> <001701cc7793$a75c8ca0$f615a5e0$@comcast.net> Message-ID: <4E78CE3E.1090104@colbyconsulting.com> The system they are building includes a latest generation 8 port Areca Raid controller, with 3x 120gb SSDs and 5X WD Black 1 gb drives. We will be going Raid 5 with hot spare for the SSDs as well as the rotating so it should be reasonably fast with a hardware controller to buffer things. The SSD will be reserved for only the data store container files, which at first will be the Access MDB files. As we migrate to MySQL or SQL Server those data files will go on the SSD. John W. Colby www.ColbyConsulting.com On 9/20/2011 8:48 AM, Dan Waters wrote: > Hi John, > > A few months ago I switched to using an SSD for the Windows 7 OS and > applications, and a WD Black HD for data storage. And yes, things are > significantly faster. If I had a 2nd gen Intel CPU I'd see another jump in > speed. But the way it is now, every Access file I open is up in about 1 > second (if it doesn't have startup code). VS 2010 takes about 35 seconds to > open and a VS app takes about 5 seconds to open. > > If you're going to all SSD, then you'll see a dramatic difference. > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, September 20, 2011 7:10 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] SSDs and BE storage > > Well, it seems I will be answering this question in the next few weeks. The > client is building a server in the next couple of weeks, which will include > a raid1 SSD as the data store. Phase 1 of the story will be to move the > access BEs to that SSD and use that while we migrate the data into something > else (MySQL maybe). > > My FE / framework logs the start / stop time when opening forms so it > should be easy to discover whether the SSD makes things significantly > faster. > > John W. Colby > www.ColbyConsulting.com > > On 9/14/2011 10:54 PM, jwcolby wrote: >> Does anyone have experience with using an SSD (or SSD RAID) to store >> the Access BEs? Does it significantly speed up the database? >> >> My client has a pretty large (by Access standards) database. It is a >> call center application and they do mostly reads (viewing claim data >> as they talk to the client), but do a fair amount of "documenting" the > phone calls by writing notes. About 25 users in the database all day. >> >> It seems logical that the SSDs enormous IOPS and streaming reads would >> speed things up but I have never seen any actual studies or documented > usage data. >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From steve at goodhall.info Tue Sep 20 12:37:16 2011 From: steve at goodhall.info (Steve Goodhall) Date: Tue, 20 Sep 2011 13:37:16 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: <1D2245AE6A524C0A920E38022E9FE3CA@XPS> References: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> <5B015C9C2D79479F90807E92714D112E@XPS> <555b16e1-b94d-4373-b5d6-3dab4e7ad029@blur> <1D2245AE6A524C0A920E38022E9FE3CA@XPS> Message-ID: I missed where you said standard module. So long as it's private I can live with it, public would be anathema. Sent from my Verizon Wireless Phone -----Original message----- From: Jim Dettman To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 20, 2011 17:08:14 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Well except for the fact that it's not in a class module. It doesn't represent a property. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 01:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name By definition, that's a class variable not a global. Sent from my Verizon Wireless Phone -----Original message----- From: Jim Dettman To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 20, 2011 16:42:42 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Steve, I should have said that this code exists in a standard module. objcurDB has been declared private to limit the scope to the module, but it's still a global variable, which could be accessed by any procedure in that module. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I don't see global in this example. Sent from my Verizon Wireless Phone -----Original message----- From: Jim Dettman To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 20, 2011 16:25:09 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name There is nothing wrong with using a global variable like this: Private objcurDB As DAO.Database Public Function CurDb(Optional bolRefresh As Boolean = False) As DAO.Database If objcurDB Is Nothing Or bolRefresh = True Then Set objcurDB = CurrentDb() End If Set CurDb = objcurDB End Function And even if you did define it public, so what? It's not like it would be hard to spot where it's used. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 12:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I can't agree. Global variables break the whole model of structured programming. In many ways they are worse than goto statements. Sent from my Verizon Wireless Phone -----Original message----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Hi Steve Nothing wrong with global variables. Trouble is always located at those handling these (the programmer!). /gustav >>> steve at goodhall.info 20-09-2011 01:33:24 >>> Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BradM at blackforestltd.com Tue Sep 20 12:57:32 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Tue, 20 Sep 2011 12:57:32 -0500 Subject: [AccessD] Access "Bloat" - Basic Questions References: <4E591854.8090208@colbyconsulting.com><6BAD4B05F0474F8083137B9C25B1038C@HAL9007><4E597AE8.6269.28B4FE51@stuart.lexacorp.com.pg> Message-ID: My background is in the mainframe world where we never had to be concerned about bloat. Now I work in the Microsoft Access world and it appears that I have had my first encounter with significant bloating. We have an Access 2007 application that obtains data from several SQL-Server tables (via ODBC) and from two Excel files. This application creates a number of reports. One of the reports needs data from 2 SQL-Server tables and 2 Excel files. Because of the complexity of the data, we cannot simply use queries to create the report, but we have had to resort to an intermediate Access table that is updated with VBA code via Record-Set processing. Once the data is processed and stored in this intermediate table, a query is used to pull this data from the table for use by the report. The report in question can be run for any desired date range. If the date range is small, we see little increase in the size of the accdb file. However, if the date range selected is large (like a full year's worth of data), the accdb file grows from 15 MB to 85MB. I believe that this large increase in size is primarily caused by the Access table that is used for the intermediate processing of the data. In the mainframe world, we used "temporary work files" for such intermediate processing. Is there something similar available in Access 2007? One idea that I have considered is to use a delete query to clear out all of the records in the intermediate table after the report is generated and then add a "Compact on close" option to the application. Again, I am new to the world of Access bloat and would like to better understand how others handle this issue. Thanks, Brad From accessd at shaw.ca Tue Sep 20 13:01:19 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 20 Sep 2011 11:01:19 -0700 Subject: [AccessD] [dba-SQLServer] Oracle 11g EX (was: MySQL) In-Reply-To: References: Message-ID: <1B78ED899FC4405DBA3DE40D5145D8B3@creativesystemdesigns.com> Gustav: Actually, you can down load Oracles full enterprise version (at least the last time I looked...Oracle version 11i) but it is limited in how many connection and users can have access to it. In addition, if you do call for support you will be directed to a local resource person(s). This system was created so computer science students and small consultant firms could get up to speed in the product. The major difference between Oracle and MS SQL is that in Oracle you can modify and optimize everything. Managing queues, temp tables, transactions, sizes and recovery points. Microsoft has chosen to eliminate or automate most of the fine-tuning part of data management. This is good and it is bad. OOH, a tech can spend years learning the black-art of database control, tuning everything to the nth degree as well as building a very precise set of reports and intergrating various Oracle servers. Rest assured, if a company has a medium and larger site there must be a full-time tech there. Oracle is also very careful on just how many techs are allowed to pass their exams so the rate at which a fully qualified Oracle tech is paid very well. OTOH, a MS SQL site is far more easily setup. A person with a bit of database knowledge can put together a stable SQL site in less than a day. It may not be a fully optimized site but it will work and render the expected results. Some tech can learn as they go and MS is not concerned about whether the person asking for database support is a person that owns a plumbing company or a fully certified tech. Microsoft's exams, though thorough, do not restrict the number of qualified graduates...the more the merrier. The rate a small company will pay a MS SQL qualified person is usually much lower than an Oracle tech with similar qualifications. Much like Microsoft has entrenched itself in new desktop computers and the office application markets, Oracle has tied up most of the high end database market. The other major difference is cost; MS SQL is about a third of the cost of an Oracle suite. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, September 20, 2011 12:25 AM To: accessd at databaseadvisors.com; dba-sqlserver at databaseadvisors.com Subject: Re: [AccessD] [dba-SQLServer] Oracle 11g EX (was: MySQL) Hi Arthur et al Also Oracle sports a free Express version, Oracle 11g XE with these limitations: * Maximum database size is 11 GB * Maximum RAM it will use is 1 GB * Only one instance can be installed on a single computer * Uses only a single CPU Here is a guide for the Windows installation (for people like JC encountering the unknown!): http://www.codeproject.com/KB/database/InstallOracle11gXE.aspx Not that I have used it or intend to do so. The last time I tried (Oracle 8i?) it installed a monster suite of tools and yet you had to deal with manual editing of ora files etc. ... I felt much like JC does now facing the WAMP package. Things may have changed, I know, I'm just not ready to meet the challenge (= have no purpose for it). /gustav -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, September 17, 2011 6:53 PM To: Discussion concerning MS SQL Server Subject: Re: [dba-SQLServer] [AccessD] MySQL There are some nice things about MySQL but on the other hand I definitely do not like where Oracle is going with this puppy since its acquisition of Sun and by inheritance MySQL. I'm still on the fence about these developments, but quite frankly I am leaning against Oracle on all these transmutations of what was originally a simple, straightforward approach. At last recollection, Monty has departed, and with him, I fear, has the guiding vision of this product. Frankly, I am all over the place on where next to go: I look at Mongo and see it exquisite for web-apps but not for OLTP situations. I look at PostGreSQL and think it's got a bunch of things right. I look at Oracle and MS-SQL and think they have some things right as well. I frankly do not have any clue into which basket to toss my next eggs. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue Sep 20 13:20:34 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 20 Sep 2011 11:20:34 -0700 Subject: [AccessD] Access "Bloat" - Basic Questions In-Reply-To: References: <4E591854.8090208@colbyconsulting.com><6BAD4B05F0474F8083137B9C25B1038C@HAL9007><4E597AE8.6269.28B4FE51@stuart.lexacorp.com.pg> Message-ID: <84AAA6DAF2D74F98AE7C9EAC6E3BB72C@HAL9007> Deleting the records and then setting Compact on close will do it unless they keep the app open, or unless the tables are in the back end then I think you have to trigger the compact on the back end through code. Another solution posted in bygone years on the list is to put the temp tables in an external db - create the mdb and tables on the fly, use 'em and delete when done. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: September 20, 2011 10:58 AM To: Access Developers discussion and problem solving Subject: [AccessD] Access "Bloat" - Basic Questions My background is in the mainframe world where we never had to be concerned about bloat. Now I work in the Microsoft Access world and it appears that I have had my first encounter with significant bloating. We have an Access 2007 application that obtains data from several SQL-Server tables (via ODBC) and from two Excel files. This application creates a number of reports. One of the reports needs data from 2 SQL-Server tables and 2 Excel files. Because of the complexity of the data, we cannot simply use queries to create the report, but we have had to resort to an intermediate Access table that is updated with VBA code via Record-Set processing. Once the data is processed and stored in this intermediate table, a query is used to pull this data from the table for use by the report. The report in question can be run for any desired date range. If the date range is small, we see little increase in the size of the accdb file. However, if the date range selected is large (like a full year's worth of data), the accdb file grows from 15 MB to 85MB. I believe that this large increase in size is primarily caused by the Access table that is used for the intermediate processing of the data. In the mainframe world, we used "temporary work files" for such intermediate processing. Is there something similar available in Access 2007? One idea that I have considered is to use a delete query to clear out all of the records in the intermediate table after the report is generated and then add a "Compact on close" option to the application. Again, I am new to the world of Access bloat and would like to better understand how others handle this issue. Thanks, Brad -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Tue Sep 20 13:25:00 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 20 Sep 2011 11:25:00 -0700 Subject: [AccessD] Ambiguous Name In-Reply-To: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> References: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> Message-ID: Hi Steve: Just a note: As soon as you step in the internet world these standards are broken again. Apache uses .htaccess and IIS uses web.config to hold their universal settings, variable and objects which not only affords consolidation but a level of security, as these files can be stored outside the access area of anyone but the system admin. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 9:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I can't agree. Global variables break the whole model of structured programming. In many ways they are worse than goto statements. Sent from my Verizon Wireless Phone -----Original message----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Hi Steve Nothing wrong with global variables. Trouble is always located at those handling these (the programmer!). /gustav >>> steve at goodhall.info 20-09-2011 01:33:24 >>> Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue Sep 20 13:29:06 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 20 Sep 2011 11:29:06 -0700 Subject: [AccessD] Access "Bloat" - Basic Questions In-Reply-To: <84AAA6DAF2D74F98AE7C9EAC6E3BB72C@HAL9007> References: <4E591854.8090208@colbyconsulting.com><6BAD4B05F0474F8083137B9C25B1038C@HAL9007><4E597AE8.6269.28B4FE51@stuart.lexacorp.com.pg> <84AAA6DAF2D74F98AE7C9EAC6E3BB72C@HAL9007> Message-ID: Or you could give them a 'Compact Now' command button on the Main Menu. Or, how about doing nothing? 85MB is not such a big file. Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: September 20, 2011 11:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access "Bloat" - Basic Questions Deleting the records and then setting Compact on close will do it unless they keep the app open, or unless the tables are in the back end then I think you have to trigger the compact on the back end through code. Another solution posted in bygone years on the list is to put the temp tables in an external db - create the mdb and tables on the fly, use 'em and delete when done. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: September 20, 2011 10:58 AM To: Access Developers discussion and problem solving Subject: [AccessD] Access "Bloat" - Basic Questions My background is in the mainframe world where we never had to be concerned about bloat. Now I work in the Microsoft Access world and it appears that I have had my first encounter with significant bloating. We have an Access 2007 application that obtains data from several SQL-Server tables (via ODBC) and from two Excel files. This application creates a number of reports. One of the reports needs data from 2 SQL-Server tables and 2 Excel files. Because of the complexity of the data, we cannot simply use queries to create the report, but we have had to resort to an intermediate Access table that is updated with VBA code via Record-Set processing. Once the data is processed and stored in this intermediate table, a query is used to pull this data from the table for use by the report. The report in question can be run for any desired date range. If the date range is small, we see little increase in the size of the accdb file. However, if the date range selected is large (like a full year's worth of data), the accdb file grows from 15 MB to 85MB. I believe that this large increase in size is primarily caused by the Access table that is used for the intermediate processing of the data. In the mainframe world, we used "temporary work files" for such intermediate processing. Is there something similar available in Access 2007? One idea that I have considered is to use a delete query to clear out all of the records in the intermediate table after the report is generated and then add a "Compact on close" option to the application. Again, I am new to the world of Access bloat and would like to better understand how others handle this issue. Thanks, Brad -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kismert at gmail.com Tue Sep 20 13:45:03 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Tue, 20 Sep 2011 13:45:03 -0500 Subject: [AccessD] SSDs and BE storage Message-ID: All, SSDs sound ideal for server applications, except for one nagging question: when will it wear out? SSD endurance summary http://www.storagesearch.com/ssdmyths-endurance.html But, there are circumstances where SSDs make a compelling argument for adoption: SSDs replacing HDDs? that's not exactly the way it happened http://www.storagesearch.com/bitmicro-art3.html If you do spring for them, get the (much more expensive) server-rated SSDs using SLC memory -- see response to Micker in comments: Debunking SSD lifespan and random write performance concerns http://maxschireson.com/2011/04/21/debunking-ssd-lifespan-and-random-write-performance-concerns/ Don't expect consumer-level SSDs to last very long in a server environment. -Ken > > ---------- Forwarded message ---------- > From: jwcolby > To: Access Developers discussion and problem solving < > accessd at databaseadvisors.com> > Date: Tue, 20 Sep 2011 08:10:26 -0400 > Subject: Re: [AccessD] SSDs and BE storage > Well, it seems I will be answering this question in the next few weeks. > The client is building a server in the next couple of weeks, which will > include a raid1 SSD as the data store. Phase 1 of the story will be to move > the access BEs to that SSD and use that while we migrate the data into > something else (MySQL maybe). > > My FE / framework logs the start / stop time when opening forms so it > should be easy to discover whether the SSD makes things significantly > faster. > > John W. Colby > www.ColbyConsulting.com > > ---------- Forwarded message ---------- > From: "Dan Waters" > To: "'Access Developers discussion and problem solving'" < > accessd at databaseadvisors.com> > Date: Tue, 20 Sep 2011 07:48:52 -0500 > Subject: Re: [AccessD] SSDs and BE storage > Hi John, > > A few months ago I switched to using an SSD for the Windows 7 OS and > applications, and a WD Black HD for data storage. And yes, things are > significantly faster. If I had a 2nd gen Intel CPU I'd see another jump in > speed. But the way it is now, every Access file I open is up in about 1 > second (if it doesn't have startup code). VS 2010 takes about 35 seconds > to > open and a VS app takes about 5 seconds to open. > > If you're going to all SSD, then you'll see a dramatic difference. > > Dan > > From fuller.artful at gmail.com Tue Sep 20 14:16:40 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 20 Sep 2011 15:16:40 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: References: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> Message-ID: I am surprised that no one has mentioned the A2K7 variant to these approaches. For evidennce how it works, load the Northwind A2K7 sample app and investigate. I used to be a big fan of static functions, but I'm always willing to learn a better approach, and this baby has it. Mind you, not backwards-portable, but nice nonetheless, and saves me a bunch of time executing my static functions. Arthur From markamatte at hotmail.com Tue Sep 20 14:17:26 2011 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 20 Sep 2011 19:17:26 +0000 Subject: [AccessD] Two counts, one unique in pivot table In-Reply-To: <4E78B526.6070908@btinternet.com> References: <4E7168E7.2000502@colbyconsulting.com><4E7882B2.7040407@colbyconsulting.com>, <001701cc7793$a75c8ca0$f615a5e0$@comcast.net>, <4E78B526.6070908@btinternet.com> Message-ID: Don't know about about a pivot...but: select count(patient) as count_patient,sum(CountOfnumber) as visits from (SELECT tbl_test.patient, Count(tbl_test.number) AS CountOfnumber FROM tbl_test GROUP BY tbl_test.patient) Hope it helps... Mark A. Matte > Date: Tue, 20 Sep 2011 16:45:42 +0100 > From: dc8 at btinternet.com > To: accessd at databaseadvisors.com > Subject: [AccessD] Two counts, one unique in pivot table > > Hi all, > > I'm trying to produce a pivot table in Access that has two counts in it. > > One of these is based upon a field that is unique within the data and > another that can have duplicates. > > What I need to show is, based upon the small example, this > > SAMPLE NUMBER PATIENT NUMBER > A.1 1 > A.2 2 > A.3 2 > A.4 2 > A.5 3 > A.6 4 > A.7 4 > A.8 5 > A.9 5 > A.10 6 > > 10 6 > > which would show that there were 10 visits made by 6 distinct patients. > > Could anyone point me in the right direction as to how to achieve this ? > > Many thanks in advance, > > Chris Swann > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From df.waters at comcast.net Tue Sep 20 14:19:29 2011 From: df.waters at comcast.net (Dan Waters) Date: Tue, 20 Sep 2011 14:19:29 -0500 Subject: [AccessD] Access "Bloat" - Basic Questions In-Reply-To: References: <4E591854.8090208@colbyconsulting.com><6BAD4B05F0474F8083137B9C25B1038C@HAL9007><4E597AE8.6269.28B4FE51@stuart.lexacorp.com.pg> Message-ID: <004001cc77ca$3872f9a0$a958ece0$@comcast.net> Hi Brad, What I do is this: 1) Set your BE file to Compact on Close. 2) Write a small Access file (named CompactBEXXX.mdb) which has a single purpose. When it is opened, an AutoExec macro runs code which opens and closes your CompactBEXXX.mdb file. When your BE closes it will compact. 3) Create a task in Task Manager to open your CompactBEXXX.mdb file at a time when no one will be using it. 4) You may need to use your username/password to get the task to work. If you do, and you have a periodic requirement to change your password, remember to go back into the task and reset the task with your new password. I've been using this at all my customers for a few years, and it works well. Here is the code. You'll need to write an AutoExec macro which will run the function CompactBE(). Good Luck! Dan '---------------------------------------- Public Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) Public Function CompactBE() On Error GoTo EH Dim stgPathBEFile As String Dim stgPathBELDB As String Dim appAccess As Access.Application Dim fso As FileSystemObject Dim stg As String Dim rst As DAO.Recordset ' Stop stg = "SELECT BEFullPath FROM tblBEFullPath" Set rst = DBEngine(0)(0).OpenRecordset(stg, dbOpenSnapshot) stgPathBEFile = rst("BEFullPath") rst.Close Set rst = Nothing Set fso = CreateObject("Scripting.FileSystemObject") '-- If the BE file is in use then the BE can't be compacted stgPathBELDB = Replace(stgPathBEFile, "mdb", "ldb") If fso.FileExists(stgPathBELDB) Then Access.Application.Quit acQuitSaveNone Exit Function End If Set appAccess = New Access.Application '-- Open the BE - wait for 5 seconds appAccess.OpenCurrentDatabase stgPathBEFile, False Sleep 5000 '-- When the BE closes it will auto-compact. appAccess.CloseCurrentDatabase Sleep 5000 '-- Close this db in 5 seconds appAccess.Quit acQuitSaveNone Set appAccess = Nothing DoEvents Access.Application.Quit acQuitSaveNone Exit Function EH: Access.Application.Quit acQuitSaveNone End Function '---------------------------------------- -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: Tuesday, September 20, 2011 12:58 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access "Bloat" - Basic Questions My background is in the mainframe world where we never had to be concerned about bloat. Now I work in the Microsoft Access world and it appears that I have had my first encounter with significant bloating. We have an Access 2007 application that obtains data from several SQL-Server tables (via ODBC) and from two Excel files. This application creates a number of reports. One of the reports needs data from 2 SQL-Server tables and 2 Excel files. Because of the complexity of the data, we cannot simply use queries to create the report, but we have had to resort to an intermediate Access table that is updated with VBA code via Record-Set processing. Once the data is processed and stored in this intermediate table, a query is used to pull this data from the table for use by the report. The report in question can be run for any desired date range. If the date range is small, we see little increase in the size of the accdb file. However, if the date range selected is large (like a full year's worth of data), the accdb file grows from 15 MB to 85MB. I believe that this large increase in size is primarily caused by the Access table that is used for the intermediate processing of the data. In the mainframe world, we used "temporary work files" for such intermediate processing. Is there something similar available in Access 2007? One idea that I have considered is to use a delete query to clear out all of the records in the intermediate table after the report is generated and then add a "Compact on close" option to the application. Again, I am new to the world of Access bloat and would like to better understand how others handle this issue. Thanks, Brad -- 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 Sep 20 14:26:39 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Tue, 20 Sep 2011 12:26:39 -0700 Subject: [AccessD] Access "Bloat" - Basic Questions In-Reply-To: References: <4E591854.8090208@colbyconsulting.com> <6BAD4B05F0474F8083137B9C25B1038C@HAL9007> <4E597AE8.6269.28B4FE51@stuart.lexacorp.com.pg> Message-ID: How about writing the data to xml files and deleting the files after the query has run? Any version of Access from 2002 up will handle that cleanly Charlotte Foust On Tue, Sep 20, 2011 at 10:57 AM, Brad Marks wrote: > My background is in the mainframe world where we never had to be > concerned about bloat. > > Now I work in the Microsoft Access world and it appears that I have had > my first encounter with significant bloating. > > We have an Access 2007 application that obtains data from several > SQL-Server tables (via ODBC) and from two Excel files. > > This application creates a number of reports. One of the reports needs > data from 2 SQL-Server tables and 2 Excel files. Because of the > complexity of the data, we cannot simply use queries to create the > report, but we have had to resort to an intermediate Access table that > is updated with VBA code via Record-Set processing. Once the data is > processed and stored in this intermediate table, a query is used to pull > this data from the table for use by the report. > > The report in question can be run for any desired date range. If the > date range is small, we see little increase in the size of the accdb > file. However, if the date range selected is large (like a full year's > worth of data), the accdb file grows from 15 MB to 85MB. I believe that > this large increase in size is primarily caused by the Access table that > is used for the intermediate processing of the data. > > In the mainframe world, we used "temporary work files" for such > intermediate processing. Is there something similar available in Access > 2007? > > One idea that I have considered is to use a delete query to clear out > all of the records in the intermediate table after the report is > generated and then add a "Compact on close" option to the application. > > Again, I am new to the world of Access bloat and would like to better > understand how others handle this issue. > > Thanks, > Brad > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From jwcolby at colbyconsulting.com Tue Sep 20 14:54:29 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Sep 2011 15:54:29 -0400 Subject: [AccessD] SSDs and BE storage In-Reply-To: References: Message-ID: <4E78EF75.9040204@colbyconsulting.com> LOL, everyone has an angle. One of the SSD myths is that your SSD will die in a month. It actually is not a myth, it will die in a month (or a few months) if all you do is run random write disk tests for that entire month. > Don't expect consumer-level SSDs to last very long in a server environment. What exactly is a "server environment"? I have a server with 400 gigs of (consumer level) SSDs with SQL Server data files on them. I read from them all day every day. I write to each file once a month for a monthly update. That is a server environment. You should see my server chug. I do millions of dollars a month business for my client. Not my share unfortunately. The specific client I have been discussing that is building the server is a small company with about 5 gigs of data (currently). It took them 8 years to get to 5 gigs of data. If they add another 5 gigs every year for the next 10 years... (and they won't) They are a call center so they have 25 people in the database all day every day. They ask the caller for enough info to search for a claim. They open a tabbed form and can see every part of the claim. They discuss the claim with the caller. They write a couple of paragraphs about the call into a memo field which gets written to disk. They change a phone number here, an address there. That is a server environment. 25 users in the database all day! You should see the reports they generate at the end of every month for their clients!!! All read-only btw. My point Ken is that there is no such thing as "a server environment". Like anything else "it all depends" is pretty much the answer. There are as many "server environments" as there are servers. Some would kill an SSD in a month, most will never kill an SSD in the 5-10 years the server will exist. I work for small companies exclusively. All of my posts have discussed these details in excruciating detail so this is not new to anyone here. And yet what you are discussing is some "theoretical server environment" where the server is writing every block 100 times a day. I am sure that environment does exist, but it is way less common than environments like mine. And then there is this. One of the largest internet companies on the planet is buying SSD literally by the ton. http://www.datacenterknowledge.com/archives/2011/03/10/facebooks-appetite-for-ssd-boosts-fusion-io/ I'm guessing they have the expertise to analyze the cost / benefit / probability of failure. > If you do spring for them, get the (much more expensive) server-rated SSDs using SLC memory I am absolutely comfortable with the consumer grade SSDs in my server here at my office. I doubt seriously it will *ever* wear out. Likewise for the server being built at my client. In fact in these situations the life expectancy of the SSD is probably realistically 100 times longer than an equivalent rotating drive. No moving parts, very little heat, never turned on / off, a few hundred megs of writes a day. What's to wear out? > Don't expect consumer-level SSDs to last very long in a server environment. Why in the world would I pay 5X the dollars for 10 times the life span when I expect to be dead (and I'm not *that* old) long before my drives wear out? Engineering is all about *requirements* analysis. John W. Colby www.ColbyConsulting.com On 9/20/2011 2:45 PM, Kenneth Ismert wrote: > All, > > SSDs sound ideal for server applications, except for one nagging question: > when will it wear out? > > SSD endurance summary > http://www.storagesearch.com/ssdmyths-endurance.html > > > But, there are circumstances where SSDs make a compelling argument for > adoption: > > SSDs replacing HDDs? that's not exactly the way it happened > http://www.storagesearch.com/bitmicro-art3.html > > > If you do spring for them, get the (much more expensive) server-rated SSDs > using SLC memory -- see response to Micker in comments: > > Debunking SSD lifespan and random write performance concerns > http://maxschireson.com/2011/04/21/debunking-ssd-lifespan-and-random-write-performance-concerns/ > > Don't expect consumer-level SSDs to last very long in a server environment. > > -Ken From ab-mi at post3.tele.dk Tue Sep 20 14:58:38 2011 From: ab-mi at post3.tele.dk (Asger Blond) Date: Tue, 20 Sep 2011 21:58:38 +0200 Subject: [AccessD] Two counts, one unique in pivot table In-Reply-To: References: <4E7168E7.2000502@colbyconsulting.com><4E7882B2.7040407@colbyconsulting.com>, <001701cc7793$a75c8ca0$f615a5e0$@comcast.net>, <4E78B526.6070908@btinternet.com> Message-ID: Or: SELECT Count(*) AS Count_Visits, (SELECT COUNT(*) FROM (SELECT DISTINCT Patient_Number FROM tblTest)) AS Count_Distinct_Patients FROM tblTest Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Mark A Matte Sendt: 20. september 2011 21:17 Til: accessd at databaseadvisors.com Emne: Re: [AccessD] Two counts, one unique in pivot table Don't know about about a pivot...but: select count(patient) as count_patient,sum(CountOfnumber) as visits from (SELECT tbl_test.patient, Count(tbl_test.number) AS CountOfnumber FROM tbl_test GROUP BY tbl_test.patient) Hope it helps... Mark A. Matte > Date: Tue, 20 Sep 2011 16:45:42 +0100 > From: dc8 at btinternet.com > To: accessd at databaseadvisors.com > Subject: [AccessD] Two counts, one unique in pivot table > > Hi all, > > I'm trying to produce a pivot table in Access that has two counts in it. > > One of these is based upon a field that is unique within the data and > another that can have duplicates. > > What I need to show is, based upon the small example, this > > SAMPLE NUMBER PATIENT NUMBER > A.1 1 > A.2 2 > A.3 2 > A.4 2 > A.5 3 > A.6 4 > A.7 4 > A.8 5 > A.9 5 > A.10 6 > > 10 6 > > which would show that there were 10 visits made by 6 distinct patients. > > Could anyone point me in the right direction as to how to achieve this ? > > Many thanks in advance, > > Chris Swann > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Tue Sep 20 15:54:34 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Tue, 20 Sep 2011 15:54:34 -0500 Subject: [AccessD] Ambiguous Name Message-ID: Steve, Jim, Gustav: In VBA, standard modules are a kind of static class. Modules can have Properties, and employ data hiding through private member variables, just like a class. Modules can't be instantiated, and have no initialization method, similar to other static class implementations. So, Steve is right in a way: Jim's CurDb function can be viewed as a global method of a static class. In response to Gustav's argument that discipline is all that is needed to use global variables properly, I say that works well for single programmers, but it is begging for trouble with multiple programmers. A construction like Jim's makes the intent of the global much more apparent. But, in defense of Gustav, Jim's construction only works for 'set once' globals. What about globals that need to change over time? How does one implement a changeable global in a 'safe' way in VBA? Put another way, once you allow a global property to be changed, you are in the same boat as a plain global variable: anyone can change it anywhere at any time. Any 'enforcement' scheme you put in place can easily be copied by a fellow programmer with access to the code to do the wrong thing at the wrong time. The question remains: is there any way to enforce safe global value modification in VBA, except by employing Gustav's discipline? -Ken Steve Goodhall: > I missed where you said standard module. So long as it's private I can > live with it, public would be anathema. > > Jim Dettman: > Well except for the fact that it's not in a class module. It doesn't > represent a property. > > Steve Goodhall: > By definition, that's a class variable not a global. > > Jim Dettman: > There is nothing wrong with using a global variable like this: > > Private objcurDB As DAO.Database > > Public Function CurDb(Optional bolRefresh As Boolean = False) As > DAO.Database > > If objcurDB Is Nothing Or bolRefresh = True Then > Set objcurDB = CurrentDb() > End If > > Set CurDb = objcurDB > > End Function > From stuart at lexacorp.com.pg Tue Sep 20 16:31:05 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 21 Sep 2011 07:31:05 +1000 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <002401cc77ac$6df7fa30$49e7ee90$@net> References: , <002401cc77ac$6df7fa30$49e7ee90$@net> Message-ID: <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> Horsepucky. That's just a confirmation of Gustav's statement that the problem is the programmer, not the global. As a general rule, Global's should be set in only one place, but can read/used anywhere. They should not be used to carry values which can be modified indiscriminately. (unless you are using them in a mulit-threaded application where they are also useful for passing values between threads) -- Stuart On 20 Sep 2011 at 11:46, Mark Simms wrote: > Au Contraire....use sparingly at best: > www.vb123.com/smart/fp/1998-05.pdf > "they dramatically increase the costs of > maintaining an application. After all, when you find a bad value in a > global variable, that value could have been placed in the variable > from any routine in the application. Thats a lot of code to debug" > > > > > Nothing wrong with global variables. > > Trouble is always located at those handling these (the programmer!). > > > > > -- > 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 Sep 20 16:37:17 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 21 Sep 2011 07:37:17 +1000 Subject: [AccessD] Ambiguous Name In-Reply-To: <5B015C9C2D79479F90807E92714D112E@XPS> References: , , <5B015C9C2D79479F90807E92714D112E@XPS> Message-ID: <4E79078D.18538.23430621@stuart.lexacorp.com.pg> In that case, it's NOT Global. It's Local to the module. -- Stuart On 20 Sep 2011 at 12:41, Jim Dettman wrote: > Steve, > > I should have said that this code exists in a standard module. > objcurDB > has been declared private to limit the scope to the module, but it's > still a global variable, which could be accessed by any procedure in > that module. > > Jim. > From stuart at lexacorp.com.pg Tue Sep 20 16:37:16 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 21 Sep 2011 07:37:16 +1000 Subject: [AccessD] Ambiguous Name In-Reply-To: <4E78C613.4060707@colbyconsulting.com> References: , <5B015C9C2D79479F90807E92714D112E@XPS>, <4E78C613.4060707@colbyconsulting.com> Message-ID: <4E79078C.31199.234305A4@stuart.lexacorp.com.pg> WTF? Global is the top level scope. That's like being "a little bit pregnant". -- Stuart On 20 Sep 2011 at 12:57, jwcolby wrote: > True, scope includes different levels of global. > > John W. Colby > www.ColbyConsulting.com > > On 9/20/2011 12:41 PM, Jim Dettman wrote: > > Steve, > > > > I should have said that this code exists in a standard module. > > objcurDB > > has been declared private to limit the scope to the module, but it's > > still a global variable, which could be accessed by any procedure in > > that module. > > > > Jim. > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve > > Goodhall Sent: Tuesday, September 20, 2011 12:30 PM To: Access > > Developers discussion and problem solving Subject: Re: [AccessD] > > Ambiguous Name > > > > I don't see global in this example. > > > > Sent from my Verizon Wireless Phone > > > > -----Original message----- > > From: Jim Dettman > > To: 'Access Developers discussion and problem solving' > > > > Sent: Tue, Sep 20, 2011 16:25:09 GMT+00:00 > > Subject: Re: [AccessD] Ambiguous Name > > > > There is nothing wrong with using a global variable like this: > > > > Private objcurDB As DAO.Database > > > > Public Function CurDb(Optional bolRefresh As Boolean = False) As > > DAO.Database > > > > If objcurDB Is Nothing Or bolRefresh = True Then > > Set objcurDB = CurrentDb() > > End If > > > > Set CurDb = objcurDB > > > > End Function > > > > > > And even if you did define it public, so what? It's not like it > > would be > > hard to spot where it's used. > > > > Jim. > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve > > Goodhall Sent: Tuesday, September 20, 2011 12:17 PM To: Access > > Developers discussion and problem solving Subject: Re: [AccessD] > > Ambiguous Name > > > > I can't agree. Global variables break the whole model of structured > > programming. In many ways they are worse than goto statements. > > > > Sent from my Verizon Wireless Phone > > > > -----Original message----- > > From: Gustav Brock > > To: accessd at databaseadvisors.com > > Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 > > Subject: Re: [AccessD] Ambiguous Name > > > > Hi Steve > > > > Nothing wrong with global variables. > > Trouble is always located at those handling these (the programmer!). > > > > /gustav > > > > > >>>> steve at goodhall.info 20-09-2011 01:33:24>>> > > Yet another reason to never use global variables. > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf > > Lister Sent: Monday, September 19, 2011 5:19 PM To: > > accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name > > > > Hello all, > > > > I work with Access 2007. > > > > Lately I ran into a problem I don't know how to solve: By running > > the code I got an error message "Ambiguous Name was detected: > > gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). > > I searched the whole code looking for gsngAportes defined by two > > different data types (e.g. Public gsngAportesSR As Single, and then > > also Public gsngAportesSR As Integer), but without success. > > > > Does anyone of you know how to fix this problem? > > > > I should say that gsngAportesSR is a global variable with data type > > Single. > > > > Thanks and Saludos > > Ralf Lister > > La Paz, Bolivia > > > > > -- > 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 Sep 20 16:40:23 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 21 Sep 2011 07:40:23 +1000 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <4E78CD58.9030604@colbyconsulting.com> References: , <002801cc77b8$693dfe20$3bb9fa60$@net>, <4E78CD58.9030604@colbyconsulting.com> Message-ID: <4E790847.27609.2345DC63@stuart.lexacorp.com.pg> It's simple to do than. Just avoid putting "myGlobal = ..." in any code outside of module as a matter of policy. -- Stuart On 20 Sep 2011 at 13:28, jwcolby wrote: > The nice thing about properties is that they can be set (modified) in > the module but read-only from outside of the module. It is impossible > to do that with globals. > > John W. Colby > www.ColbyConsulting.com > > On 9/20/2011 1:12 PM, Mark Simms wrote: > > I'm not totally against them, but lately I've been tending towards > > the Public Property, the value of which can be easily > > traced/debugged. Interestingly, MZTOOLZ has a function to do just > > that: convert globals to properties. > > > > > >> -----Original Message----- > >> From: accessd-bounces at databaseadvisors.com [mailto:accessd- > >> bounces at databaseadvisors.com] On Behalf Of Jim Dettman > >> Sent: Tuesday, September 20, 2011 12:27 PM > >> To: 'Access Developers discussion and problem solving' > >> Subject: Re: [AccessD] Global Vars (was Ambiguous Name) > >> > >> Mark, > >> > >> You should have quoted the second paragraph as well: > >> > >> "This narrow-minded attitude of mine can create difficulties when > >> trying to share data between forms in a single application." > >> > >> He goes on to say there are lot's of solutions to that problem > >> (which > >> is > >> true), but that doesn't apply that global's should not be used or > >> do not have a place in Access development. > >> > >> Jim. > >> > >> -----Original Message----- > >> From: accessd-bounces at databaseadvisors.com > >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark > >> Simms Sent: Tuesday, September 20, 2011 11:46 AM To: 'Access > >> Developers discussion and problem solving' Subject: Re: [AccessD] > >> Global Vars (was Ambiguous Name) > >> > >> Au Contraire....use sparingly at best: > >> www.vb123.com/smart/fp/1998-05.pdf > >> "they dramatically increase the costs of > >> maintaining an application. After all, when you find a bad value in > >> a global variable, that value could have been placed in the > >> variable from any routine in the application. Thats a lot of code > >> to debug" > >> > >>> > >>> Nothing wrong with global variables. > >>> Trouble is always located at those handling these (the > >>> programmer!). > >>> > >> > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/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 Tue Sep 20 17:00:22 2011 From: df.waters at comcast.net (Dan Waters) Date: Tue, 20 Sep 2011 17:00:22 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> References: , <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> Message-ID: <004f01cc77e0$b1db7130$15925390$@comcast.net> I have one module titled Global Variables. That's the only place a global variable gets set. And I don't use them as often as I used to. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, September 20, 2011 4:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Global Vars (was Ambiguous Name) Horsepucky. That's just a confirmation of Gustav's statement that the problem is the programmer, not the global. As a general rule, Global's should be set in only one place, but can read/used anywhere. They should not be used to carry values which can be modified indiscriminately. (unless you are using them in a mulit-threaded application where they are also useful for passing values between threads) -- Stuart On 20 Sep 2011 at 11:46, Mark Simms wrote: > Au Contraire....use sparingly at best: > www.vb123.com/smart/fp/1998-05.pdf > "they dramatically increase the costs of maintaining an application. > After all, when you find a bad value in a global variable, that value > could have been placed in the variable from any routine in the > application. Thats a lot of code to debug" > > > > > Nothing wrong with global variables. > > Trouble is always located at those handling these (the programmer!). > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 20 17:03:42 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Sep 2011 18:03:42 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <4E790847.27609.2345DC63@stuart.lexacorp.com.pg> References: , <002801cc77b8$693dfe20$3bb9fa60$@net>, <4E78CD58.9030604@colbyconsulting.com> <4E790847.27609.2345DC63@stuart.lexacorp.com.pg> Message-ID: <4E790DBE.9050406@colbyconsulting.com> > It's simple to do than. Just avoid putting "myGlobal = ..." in any code outside of module as a matter of policy. Rotfl. As a matter of policy, policemen never beat innocent (or even guilty) people, right? Yea... right. As a matter of policy, politicians never allow contributions to influence their vote, right. Yea... right. If you have ever studied the law, policy is where something goes wrong and there is no specific law to cover it so a policy is written. And policy is just about worth the paper it is written on. John W. Colby www.ColbyConsulting.com On 9/20/2011 5:40 PM, Stuart McLachlan wrote: > It's simple to do than. Just avoid putting "myGlobal = ..." in any code outside of module as a > matter of policy. > From drcaa at click21.com.br Tue Sep 20 17:15:58 2011 From: drcaa at click21.com.br (drcaa at click21.com.br) Date: Tue, 20 Sep 2011 19:15:58 -0300 Subject: [AccessD] A2007 - importing objects from A2000 Message-ID: <1316556958.4e79109e461d8@webmail7.click21.com.br> On 09/18/2011 09:46 AM, William Benson (VBACreations.Com) wrote: > Are you able to create new objects at all in this database? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > drcaa at click21.com.br > Sent: Sunday, September 18, 2011 7:44 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] A2007 - importing objects from A2000 > > Hi people! > I have had a situation tryiong to use a A2000 database in A2007. Some forms > (including a switchboard created by myself) and all reports are not shown in > navigation pane. I tried to convert the database, tried to use in A2000 > format > and no success. Also tried to import all objects from A2000 database, but > those > objects I mentioned are not shown either. > Any hints??? > TIA, > Carl?os Alberto Alves > > Yes, I can. -- ********************************* * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst * * Rio de Janeiro, Brazil * * Skype: carlos-aa * * mailto:drcaa at click21.com.br * * mailto:drcaa at predialnet.com.br* ********************************* ___________________________________________________________________________________ Para fazer uma liga??o DDD pra perto ou pra longe, faz um 21. A Embratel tem tarifas muito baratas esperando por voc?. Aproveite! From john at winhaven.net Tue Sep 20 18:38:15 2011 From: john at winhaven.net (John Bartow) Date: Tue, 20 Sep 2011 18:38:15 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <004f01cc77e0$b1db7130$15925390$@comcast.net> References: , <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> Message-ID: <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> This is the approach I have taken over the years also. Global variables are set at startup/login. Since I'm the only VBA coder it has worked wonderfully :o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, September 20, 2011 5:00 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Global Vars (was Ambiguous Name) I have one module titled Global Variables. That's the only place a global variable gets set. And I don't use them as often as I used to. From fuller.artful at gmail.com Tue Sep 20 19:06:55 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 20 Sep 2011 20:06:55 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> Message-ID: I think that I am going to go with JWC's concept of this. Assuming of course that I have it right, you create a class that houses all the otherwise global variable, and they are protected by Get/Set methods. This appears to me the superior way to go. No way you can touch them. fork with them, without a specific call. No accidents, no side effects. Good for you, JWC. I think you are right on the money here. Arthur From marksimms at verizon.net Tue Sep 20 20:16:03 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 20 Sep 2011 21:16:03 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> Message-ID: <00a901cc77fc$086c9720$1945c560$@net> The only problem then is enforcing a SINGLE INSTANCE of that class. Somehow, the Initialize method must trap the second instance.....perhaps a STATIC variable set to true ? This would effectively provide you with a static class which is what you want here. > I think that I am going to go with JWC's concept of this. Assuming of > course > that I have it right, you create a class that houses all the otherwise > global variable, and they are protected by Get/Set methods. This > appears to > me the superior way to go. No way you can touch them. fork with them, > without a specific call. No accidents, no side effects. Good for you, From jwcolby at colbyconsulting.com Tue Sep 20 21:20:43 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Sep 2011 22:20:43 -0400 Subject: [AccessD] Is hadoop for you? Or me? Fascinating but do I need to spend any more time on this? Message-ID: <4E7949FB.7060607@colbyconsulting.com> http://radar.oreilly.com/2011/01/what-is-hadoop.html Mike Olson: The Hadoop platform was designed to solve problems where you have a lot of data ? perhaps a mixture of complex and structured data ? *and it doesn't fit nicely into tables.* Mike Olson: Hadoop is designed to run on a large number of machines that don't share any memory or disks. Architecturally, the reason you're able to deal with lots of data is because Hadoop spreads it out. And the reason you're able to ask complicated computational questions is because you've got all of these processors, working in parallel, harnessed together. Mike Olson: It's fair to say that a current Hadoop adopter must be more sophisticated than a relational database adopter. Mike Olson: I'm a deep believer in relational databases and in SQL. I think the language is awesome and the products are incredible. I hate the term "NoSQL." It was invented to create cachet around a bunch of different projects, each of which has different properties and behaves in different ways. *The real question is, what problems are you solving? That's what matters to users.* http://freedb2.com/2010/02/04/is-hadoop-cloud-computing/ If you are not familiar with Hadoop, the best way to understand what it does is to think of it as a method or *a programming model for executing complex compute jobs on very large clusters of computers*. These clusters can comprise hundreds and, sometimes, thousands of machines. What Hadoop does is break, or Map, these complex jobs in to much more manageable tasks that are distributed to run on the machines in the cluster. It then assembles the results of the execution of these much smaller parts of the overall job in to one coherent answer. This process of collecting and consolidating the results of the execution is called ?Reduce?. http://en.wikipedia.org/wiki/Apache_Hadoop Apache Hadoop is a software framework that supports data-intensive distributed applications under a free license.[1] *It enables applications to work with thousands of nodes and petabytes of data*. Hadoop was inspired by Google's MapReduce and Google File System (GFS) papers. -- John W. Colby www.ColbyConsulting.com From Gustav at cactus.dk Wed Sep 21 03:12:55 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 21 Sep 2011 10:12:55 +0200 Subject: [AccessD] [dba-SQLServer] Oracle 11g EX (was: MySQL) Message-ID: Hi Jim Yes, as I remember OTN (haven't checked recently) - and contrary to MS, you can download _everything_ to test with no limits and use in development. However, as soon you use the software for whatever other purpose, you have to pay the big money including the fee for your lawyer to check the book-sized license agreement. The XE, however, is free to use in production. /gustav >>> accessd at shaw.ca 20-09-2011 20:01 >>> Gustav: Actually, you can down load Oracles full enterprise version (at least the last time I looked...Oracle version 11i) but it is limited in how many connection and users can have access to it. In addition, if you do call for support you will be directed to a local resource person(s). This system was created so computer science students and small consultant firms could get up to speed in the product. The major difference between Oracle and MS SQL is that in Oracle you can modify and optimize everything. Managing queues, temp tables, transactions, sizes and recovery points. Microsoft has chosen to eliminate or automate most of the fine-tuning part of data management. This is good and it is bad. OOH, a tech can spend years learning the black-art of database control, tuning everything to the nth degree as well as building a very precise set of reports and intergrating various Oracle servers. Rest assured, if a company has a medium and larger site there must be a full-time tech there. Oracle is also very careful on just how many techs are allowed to pass their exams so the rate at which a fully qualified Oracle tech is paid very well. OTOH, a MS SQL site is far more easily setup. A person with a bit of database knowledge can put together a stable SQL site in less than a day. It may not be a fully optimized site but it will work and render the expected results. Some tech can learn as they go and MS is not concerned about whether the person asking for database support is a person that owns a plumbing company or a fully certified tech. Microsoft's exams, though thorough, do not restrict the number of qualified graduates...the more the merrier. The rate a small company will pay a MS SQL qualified person is usually much lower than an Oracle tech with similar qualifications. Much like Microsoft has entrenched itself in new desktop computers and the office application markets, Oracle has tied up most of the high end database market. The other major difference is cost; MS SQL is about a third of the cost of an Oracle suite. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, September 20, 2011 12:25 AM To: accessd at databaseadvisors.com; dba-sqlserver at databaseadvisors.com Subject: Re: [AccessD] [dba-SQLServer] Oracle 11g EX (was: MySQL) Hi Arthur et al Also Oracle sports a free Express version, Oracle 11g XE with these limitations: * Maximum database size is 11 GB * Maximum RAM it will use is 1 GB * Only one instance can be installed on a single computer * Uses only a single CPU Here is a guide for the Windows installation (for people like JC encountering the unknown!): http://www.codeproject.com/KB/database/InstallOracle11gXE.aspx Not that I have used it or intend to do so. The last time I tried (Oracle 8i?) it installed a monster suite of tools and yet you had to deal with manual editing of ora files etc. ... I felt much like JC does now facing the WAMP package. Things may have changed, I know, I'm just not ready to meet the challenge (= have no purpose for it). /gustav -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, September 17, 2011 6:53 PM To: Discussion concerning MS SQL Server Subject: Re: [dba-SQLServer] [AccessD] MySQL There are some nice things about MySQL but on the other hand I definitely do not like where Oracle is going with this puppy since its acquisition of Sun and by inheritance MySQL. I'm still on the fence about these developments, but quite frankly I am leaning against Oracle on all these transmutations of what was originally a simple, straightforward approach. At last recollection, Monty has departed, and with him, I fear, has the guiding vision of this product. Frankly, I am all over the place on where next to go: I look at Mongo and see it exquisite for web-apps but not for OLTP situations. I look at PostGreSQL and think it's got a bunch of things right. I look at Oracle and MS-SQL and think they have some things right as well. I frankly do not have any clue into which basket to toss my next eggs. Arthur From jimdettman at verizon.net Wed Sep 21 08:06:41 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 21 Sep 2011 09:06:41 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: <4E79078D.18538.23430621@stuart.lexacorp.com.pg> References: , , <5B015C9C2D79479F90807E92714D112E@XPS> <4E79078D.18538.23430621@stuart.lexacorp.com.pg> Message-ID: <970A63995E4748EEB471C3B1ADE833BE@XPS> Stuart, I don't agree. It's a global variable. It's scope has been limited to module level yes, but it's still global because more then one procedure can access it. More importantly is the fact that once the module is loaded, the variable exists until the app terminates. That is quit different from a local variable which is created/destroyed when a procedure executes and then terminates. But if it floats your boat, make "private" "public" and nothing has really changed in terms of the discussion. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, September 20, 2011 05:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name In that case, it's NOT Global. It's Local to the module. -- Stuart On 20 Sep 2011 at 12:41, Jim Dettman wrote: > Steve, > > I should have said that this code exists in a standard module. > objcurDB > has been declared private to limit the scope to the module, but it's > still a global variable, which could be accessed by any procedure in > that module. > > Jim. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BradM at blackforestltd.com Wed Sep 21 08:27:42 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Wed, 21 Sep 2011 08:27:42 -0500 Subject: [AccessD] Access "Bloat" - Basic Questions References: <4E591854.8090208@colbyconsulting.com><6BAD4B05F0474F8083137B9C25B1038C@HAL9007><4E597AE8.6269.28B4FE51@stuart.lexacorp.com.pg> Message-ID: A big "Thank You" to everyone who shared their ideas on this issue. I appreciate the assistance. I do "sort of" miss the good-old-days when I worked in the mainframe realm. The only bloat we ever saw was in the invoices from IBM ... and it was huge :-) Thanks again, Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, September 20, 2011 2:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access "Bloat" - Basic Questions How about writing the data to xml files and deleting the files after the query has run? Any version of Access from 2002 up will handle that cleanly Charlotte Foust On Tue, Sep 20, 2011 at 10:57 AM, Brad Marks wrote: > My background is in the mainframe world where we never had to be > concerned about bloat. > > Now I work in the Microsoft Access world and it appears that I have had > my first encounter with significant bloating. > > We have an Access 2007 application that obtains data from several > SQL-Server tables (via ODBC) and from two Excel files. > > This application creates a number of reports. One of the reports needs > data from 2 SQL-Server tables and 2 Excel files. Because of the > complexity of the data, we cannot simply use queries to create the > report, but we have had to resort to an intermediate Access table that > is updated with VBA code via Record-Set processing. Once the data is > processed and stored in this intermediate table, a query is used to pull > this data from the table for use by the report. > > The report in question can be run for any desired date range. If the > date range is small, we see little increase in the size of the accdb > file. However, if the date range selected is large (like a full year's > worth of data), the accdb file grows from 15 MB to 85MB. I believe that > this large increase in size is primarily caused by the Access table that > is used for the intermediate processing of the data. > > In the mainframe world, we used "temporary work files" for such > intermediate processing. Is there something similar available in Access > 2007? > > One idea that I have considered is to use a delete query to clear out > all of the records in the intermediate table after the report is > generated and then add a "Compact on close" option to the application. > > Again, I am new to the world of Access bloat and would like to better > understand how others handle this issue. > > 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 accessd at shaw.ca Wed Sep 21 08:38:25 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 21 Sep 2011 06:38:25 -0700 Subject: [AccessD] [dba-SQLServer] Oracle 11g EX (was: MySQL) In-Reply-To: References: Message-ID: <46EDBC03793C427B8C5462816B493936@creativesystemdesigns.com> Agreed. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 21, 2011 1:13 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] [dba-SQLServer] Oracle 11g EX (was: MySQL) Hi Jim Yes, as I remember OTN (haven't checked recently) - and contrary to MS, you can download _everything_ to test with no limits and use in development. However, as soon you use the software for whatever other purpose, you have to pay the big money including the fee for your lawyer to check the book-sized license agreement. The XE, however, is free to use in production. /gustav >>> accessd at shaw.ca 20-09-2011 20:01 >>> Gustav: Actually, you can down load Oracles full enterprise version (at least the last time I looked...Oracle version 11i) but it is limited in how many connection and users can have access to it. In addition, if you do call for support you will be directed to a local resource person(s). This system was created so computer science students and small consultant firms could get up to speed in the product. The major difference between Oracle and MS SQL is that in Oracle you can modify and optimize everything. Managing queues, temp tables, transactions, sizes and recovery points. Microsoft has chosen to eliminate or automate most of the fine-tuning part of data management. This is good and it is bad. OOH, a tech can spend years learning the black-art of database control, tuning everything to the nth degree as well as building a very precise set of reports and intergrating various Oracle servers. Rest assured, if a company has a medium and larger site there must be a full-time tech there. Oracle is also very careful on just how many techs are allowed to pass their exams so the rate at which a fully qualified Oracle tech is paid very well. OTOH, a MS SQL site is far more easily setup. A person with a bit of database knowledge can put together a stable SQL site in less than a day. It may not be a fully optimized site but it will work and render the expected results. Some tech can learn as they go and MS is not concerned about whether the person asking for database support is a person that owns a plumbing company or a fully certified tech. Microsoft's exams, though thorough, do not restrict the number of qualified graduates...the more the merrier. The rate a small company will pay a MS SQL qualified person is usually much lower than an Oracle tech with similar qualifications. Much like Microsoft has entrenched itself in new desktop computers and the office application markets, Oracle has tied up most of the high end database market. The other major difference is cost; MS SQL is about a third of the cost of an Oracle suite. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, September 20, 2011 12:25 AM To: accessd at databaseadvisors.com; dba-sqlserver at databaseadvisors.com Subject: Re: [AccessD] [dba-SQLServer] Oracle 11g EX (was: MySQL) Hi Arthur et al Also Oracle sports a free Express version, Oracle 11g XE with these limitations: * Maximum database size is 11 GB * Maximum RAM it will use is 1 GB * Only one instance can be installed on a single computer * Uses only a single CPU Here is a guide for the Windows installation (for people like JC encountering the unknown!): http://www.codeproject.com/KB/database/InstallOracle11gXE.aspx Not that I have used it or intend to do so. The last time I tried (Oracle 8i?) it installed a monster suite of tools and yet you had to deal with manual editing of ora files etc. ... I felt much like JC does now facing the WAMP package. Things may have changed, I know, I'm just not ready to meet the challenge (= have no purpose for it). /gustav -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, September 17, 2011 6:53 PM To: Discussion concerning MS SQL Server Subject: Re: [dba-SQLServer] [AccessD] MySQL There are some nice things about MySQL but on the other hand I definitely do not like where Oracle is going with this puppy since its acquisition of Sun and by inheritance MySQL. I'm still on the fence about these developments, but quite frankly I am leaning against Oracle on all these transmutations of what was originally a simple, straightforward approach. At last recollection, Monty has departed, and with him, I fear, has the guiding vision of this product. Frankly, I am all over the place on where next to go: I look at Mongo and see it exquisite for web-apps but not for OLTP situations. I look at PostGreSQL and think it's got a bunch of things right. I look at Oracle and MS-SQL and think they have some things right as well. I frankly do not have any clue into which basket to toss my next eggs. Arthur -- 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 Sep 21 12:29:21 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 21 Sep 2011 13:29:21 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <00a901cc77fc$086c9720$1945c560$@net> References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <00a901cc77fc$086c9720$1945c560$@net> Message-ID: That part is easy! The more difficult part is translating all my static functions to use the new paradigm, which I definitely recognize as superior. This will take some time and won't be backwards-compatible to A2K and A2K3 and A2K7 and so on, but I shall endeavour to figure this out. A. From fuller.artful at gmail.com Wed Sep 21 12:45:22 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 21 Sep 2011 13:45:22 -0400 Subject: [AccessD] Access "Bloat" - Basic Questions In-Reply-To: References: <4E591854.8090208@colbyconsulting.com> <6BAD4B05F0474F8083137B9C25B1038C@HAL9007> <4E597AE8.6269.28B4FE51@stuart.lexacorp.com.pg> Message-ID: Wow! You made my day, Brad! If not month, and maybe year! That was the funniest and most reminiscent email I've had in decades. Thank you for awaking ugly memories. On Wed, Sep 21, 2011 at 9:27 AM, Brad Marks wrote: > A big "Thank You" to everyone who shared their ideas on this issue. > > I appreciate the assistance. > > I do "sort of" miss the good-old-days when I worked in the mainframe > realm. The only bloat we ever saw was in the invoices from IBM ... and > it was huge :-) > > Thanks again, > Brad > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Tuesday, September 20, 2011 2:27 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access "Bloat" - Basic Questions > > How about writing the data to xml files and deleting the files after the > query has run? Any version of Access from 2002 up will handle that > cleanly > > Charlotte Foust > > On Tue, Sep 20, 2011 at 10:57 AM, Brad Marks > wrote: > > > My background is in the mainframe world where we never had to be > > concerned about bloat. > > > > Now I work in the Microsoft Access world and it appears that I have > had > > my first encounter with significant bloating. > > > > We have an Access 2007 application that obtains data from several > > SQL-Server tables (via ODBC) and from two Excel files. > > > > This application creates a number of reports. One of the reports > needs > > data from 2 SQL-Server tables and 2 Excel files. Because of the > > complexity of the data, we cannot simply use queries to create the > > report, but we have had to resort to an intermediate Access table that > > is updated with VBA code via Record-Set processing. Once the data is > > processed and stored in this intermediate table, a query is used to > pull > > this data from the table for use by the report. > > > > The report in question can be run for any desired date range. If the > > date range is small, we see little increase in the size of the accdb > > file. However, if the date range selected is large (like a full > year's > > worth of data), the accdb file grows from 15 MB to 85MB. I believe > that > > this large increase in size is primarily caused by the Access table > that > > is used for the intermediate processing of the data. > > > > In the mainframe world, we used "temporary work files" for such > > intermediate processing. Is there something similar available in > Access > > 2007? > > > > One idea that I have considered is to use a delete query to clear out > > all of the records in the intermediate table after the report is > > generated and then add a "Compact on close" option to the application. > > > > Again, I am new to the world of Access bloat and would like to better > > understand how others handle this issue. > > > > 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 kismert at gmail.com Wed Sep 21 13:25:07 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Wed, 21 Sep 2011 13:25:07 -0500 Subject: [AccessD] Ambiguous Name In-Reply-To: References: Message-ID: All, Ken Ismert: > ... > The question remains: is there any way to enforce safe global value > modification in VBA, except by employing Gustav's discipline? > Thinking about this further, I have come up with two approaches that could work: 1. Use messaging. In this scenario, no global parameters are kept at all. All objects communicate by sending messages to one another in a standardized way. The sender is always identified. Receivers can then decide who to ignore, and who to listen to. 2. Use a listener 'static class'. Some object requests to be the 'speaker', first-come, first-served. Once accepted, only the speaker can set parameters for the rest. Sample code: Option Explicit ' module MTestListener Private Const ML_ERR_SPEAKER As Long = -2147213504 ' 8000 + vbObjectError Private mlPtr As Long ' ObjPtr(Nothing) = 0 Public Sub ListenToMe(ByVal rSpeaker As Object) If mlPtr = 0 Then ' setting mlPtr does not increment the object's ' reference count, so the object can close normally mlPtr = ObjPtr(rSpeaker) Else Err.Raise ML_ERR_SPEAKER, "MTestListener.ListenToMe", _ "Sorry, listening to Object at " & mlPtr End If End Sub Public Sub IgnoreMe(ByVal rSpeaker As Object) If ObjPtr(rSpeaker) = mlPtr Then mlPtr = 0 End If End Sub Public Sub SetParameter(ByVal rSpeaker As Object, sName As String, vValue As Variant) ' must match speaker, and not be nothing If (ObjPtr(rSpeaker) = mlPtr) And (mlPtr <> 0) Then ' set global parameter sName = vValue Else Err.Raise ML_ERR_SPEAKER, "MTestListener.SetParameter", _ "Sorry, listening to Object at " & mlPtr End If End Sub Public Function GetParameter(sName As String) As Variant ' anybody can get a parameter End Function From kismert at gmail.com Wed Sep 21 13:52:07 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Wed, 21 Sep 2011 13:52:07 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) Message-ID: Mark, Just use a standard module, with private member variables, or functions with static variables. As I explained in an earlier post, you can treat a standard module as a static class in VBA (modules even support properties). If you need initialization, call a private Init function that holds a static, like you suggested. -Ken Mark Simms: > The only problem then is enforcing a SINGLE INSTANCE of that class. > Somehow, the Initialize method must trap the second instance.....perhaps a > STATIC variable set to true ? .... > From kismert at gmail.com Wed Sep 21 14:16:21 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Wed, 21 Sep 2011 14:16:21 -0500 Subject: [AccessD] AccessD Digest, Vol 103, Issue 17 In-Reply-To: References: Message-ID: > > Stuart McLachlan: > > As a general rule, Global's should be set in only one place, but can > read/used anywhere. > I think the interesting question is not where a global is set, but by whom. If it is not simply read-once, how do you ensure the right party gets to set the globals? They should not be used to carry values which can be modified > indiscriminately... > But what if you need to modify globals? What do you do then? It is hard to write a real Access app that doesn't require global parameter passing, which requires changing globals. -Ken From kismert at gmail.com Wed Sep 21 14:26:37 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Wed, 21 Sep 2011 14:26:37 -0500 Subject: [AccessD] SSDs and BE storage Message-ID: > jwcolby: > ... > That is a server environment. You should see my server chug. I do > millions of dollars a month business for my client. Not my share > unfortunately. > ... > That seems to be a fairly cavalier attitude given the value of the data you are handling... I think the only rational approach is expressed by 'M' at the bottom of the 'Debunking SSD lifespan and random write performance concerns' post: 'We plan for the failure' -Ken From fuller.artful at gmail.com Wed Sep 21 14:52:45 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 21 Sep 2011 15:52:45 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: References: Message-ID: I like this! Way cool and way slick. Arthur From jwcolby at colbyconsulting.com Wed Sep 21 15:55:21 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 21 Sep 2011 16:55:21 -0400 Subject: [AccessD] SSDs and BE storage In-Reply-To: References: Message-ID: <4E7A4F39.2060400@colbyconsulting.com> > 'We plan for the failure' LOL, and who says I am not? All I said is that there is no "server environment" but rather around a billion "server environments" all different. Do you buy an 18 wheeler because you might need to move once every 20 years? Could you afford an 18 wheeler even if you wanted to do that? Personally I rent one as necessary. For my server, I have a system with a 16 port Areca raid controller, holding 6 tb of raid 6 volumes with hot spare. These hold most of my data. My SSDs are updated once a month. They are backed up to that raid 6 array immediately after the update. If the SSD does fails I haven't lost anything. But it isn't going to fail. *EVER*, at least not from write wear. "We plan for failure" doesn't mean I have to spend money I don't have for tools I don't need. Read carefully and you will find that this specific author's opinions are not widely held, in fact I would call him borderline nutcase. Not to mention the fact that most of what he wrote was written centuries ago (in the SSD world) and just about do not apply today. I can tell he believes that stuff but I did extensive reading of white papers analyzing the problem and the consensus is that unless you are constantly streaming data to the drive as fast as the SATA port will bear, you are never going to wear out even the consumer grade drives. Instead of reading one ... person's opinion I do my own analysis. Did you know that as sectors start to have read errors the controllers move the sectors and mark them bad? This is true in rotating and SS media. So let's do an analysis (for my client building the new system). 1) With a real data set of perhaps 5 gigs 2) And a 100gb (formatted, available) ssd, if you get 5K writes for any block before you get errors This means you can move the entire 5 gigs 20 times before you can no longer write to the disk, which turns into 100 thousand writes of that entire 5 gigs of data. But if the customer is writing 5 gigs once and then updating perhaps 1 to 2 megs of data a day... This is essentially a write once database. Not quite but you get the picture Let's be brutally honest, this thing is going to last about a jillion years. Well, maybe only a million years. They are going Raid 1 with hot spare, and an intelligent controller that costs more than the SSDs. They are also buying a brand (which I recommended) which uses the 34 micron chips precisely because the new 28 micron chips are reporting all kinds of errors at this point in time. And they already (with their existing server) do a full nightly backup. So I need to tell them that the SSD has to be a thousand dollars a pop SLC drives because...???? > I think the only rational approach is expressed by 'M' at the bottom of the 'Debunking SSD lifespan and random write performance concerns' post: > > 'We plan for the failure' I think the only rational approach is 'Use my own brain'. ;) And to imply that I do not plan for failure is unkind at the very least. I have been doing business for the million a month client for 7 years and have never lost data. I have actually lost disks (two in that time period) but the hot spare dropped in and the controller rebuilt the array automatically. I have moved the array twice (to new servers) and never lost data. Raid 6 for main storage and backups has done me well. Believe me I do not have a cavalier attitude with my client's data. OTOH you seem to have a cavalier attitude about spending other people's money! ;) John W. Colby www.ColbyConsulting.com On 9/21/2011 3:26 PM, Kenneth Ismert wrote: >> jwcolby: >> ... >> That is a server environment. You should see my server chug. I do >> millions of dollars a month business for my client. Not my share >> unfortunately. >> ... >> > > That seems to be a fairly cavalier attitude given the value of the data you > are handling... > > I think the only rational approach is expressed by 'M' at the bottom of the > 'Debunking SSD lifespan and random write performance concerns' post: > > 'We plan for the failure' > > -Ken From jwcolby at colbyconsulting.com Wed Sep 21 15:55:57 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 21 Sep 2011 16:55:57 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: References: Message-ID: <4E7A4F5D.7030100@colbyconsulting.com> Ambiguous names are way cool and slick? John W. Colby www.ColbyConsulting.com On 9/21/2011 3:52 PM, Arthur Fuller wrote: > I like this! Way cool and way slick. > > Arthur From gustav at cactus.dk Wed Sep 21 16:13:02 2011 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 21 Sep 2011 23:13:02 +0200 Subject: [AccessD] Global Vars (was Ambiguous Name) Message-ID: Hi Ken You make it sound as if global variables happen to be changed by magic. They don't, because you - the programmer - decides what (and not who) can set the value and when. Since when have developers lost control of a well-designed application? If nothing can change a global variable (or a static or set a property or call a set method) what should its purpose be? Use a constant in that case. /gustav >>> kismert at gmail.com 21-09-2011 21:16 >>> > > Stuart McLachlan: > > As a general rule, Global's should be set in only one place, but can > read/used anywhere. > I think the interesting question is not where a global is set, but by whom. If it is not simply read-once, how do you ensure the right party gets to set the globals? They should not be used to carry values which can be modified > indiscriminately... > But what if you need to modify globals? What do you do then? It is hard to write a real Access app that doesn't require global parameter passing, which requires changing globals. -Ken From fuller.artful at gmail.com Wed Sep 21 16:31:25 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 21 Sep 2011 17:31:25 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: <4E7A4F5D.7030100@colbyconsulting.com> References: <4E7A4F5D.7030100@colbyconsulting.com> Message-ID: Perhaps I have been spending too much time watching The Wire, which in my opinion is the best series ever made for HBO (it's not TV, it's HBO), but all that said, there is no excuse for ambiguous names. On Wed, Sep 21, 2011 at 4:55 PM, jwcolby wrote: > Ambiguous names are way cool and slick? > > From stuart at lexacorp.com.pg Wed Sep 21 16:56:26 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 22 Sep 2011 07:56:26 +1000 Subject: [AccessD] Ambiguous Name In-Reply-To: <970A63995E4748EEB471C3B1ADE833BE@XPS> References: , <4E79078D.18538.23430621@stuart.lexacorp.com.pg>, <970A63995E4748EEB471C3B1ADE833BE@XPS> Message-ID: <4E7A5D8A.20430.3E1B954@stuart.lexacorp.com.pg> You and I obviously have a different definition of "Global". :-) Changing Private to Public changes everything. If the variable is Public, it has global scope i.e. it is a Global variable. If the variable is Private, it has local scope just the same way in instance variable does inside an object. All you are doing there is using a standard module to replicate part of the functionality of a class object Why not just create a Globals object instead and get full class functionality? -- Stuart On 21 Sep 2011 at 9:06, Jim Dettman wrote: > > Stuart, > > I don't agree. It's a global variable. It's scope has been > limited to > module level yes, but it's still global because more then one > procedure can access it. > > More importantly is the fact that once the module is loaded, the > variable > exists until the app terminates. That is quit different from a local > variable which is created/destroyed when a procedure executes and then > terminates. > > But if it floats your boat, make "private" "public" and nothing has > really > changed in terms of the discussion. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan Sent: Tuesday, September 20, 2011 05:37 PM To: Access > Developers discussion and problem solving Subject: Re: [AccessD] > Ambiguous Name > > In that case, it's NOT Global. It's Local to the module. > > -- > Stuart > On 20 Sep 2011 at 12:41, Jim Dettman wrote: > > > Steve, > > > > I should have said that this code exists in a standard module. > > objcurDB > > has been declared private to limit the scope to the module, but it's > > still a global variable, which could be accessed by any procedure in > > that module. > > > > 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 stuart at lexacorp.com.pg Wed Sep 21 17:18:24 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 22 Sep 2011 08:18:24 +1000 Subject: [AccessD] Ambiguous Name In-Reply-To: References: , Message-ID: <4E7A62B0.17426.3F5D646@stuart.lexacorp.com.pg> Read once, write many variable: Static Function mySafeGlobal(Optional invalue as Variant) as Variant Dim store as Variant If not isempty(store) then mySafeGlobal = store Exit Function End if If not ismissing(invalue) then store = invalue mySafeGlobal = store End if End Function -- Stuart On 21 Sep 2011 at 13:25, Kenneth Ismert wrote: > All, > > Ken Ismert: > > ... > > The question remains: is there any way to enforce safe global value > > modification in VBA, except by employing Gustav's discipline? > > > > Thinking about this further, I have come up with two approaches that > could work: > > 1. Use messaging. In this scenario, no global parameters are kept at > all. All objects communicate by sending messages to one another in a > standardized way. The sender is always identified. Receivers can then > decide who to ignore, and who to listen to. > > 2. Use a listener 'static class'. Some object requests to be the > 'speaker', first-come, first-served. Once accepted, only the speaker > can set parameters for the rest. Sample code: > > Option Explicit > > ' module MTestListener > Private Const ML_ERR_SPEAKER As Long = -2147213504 ' 8000 + > vbObjectError Private mlPtr As Long ' ObjPtr(Nothing) = 0 > > Public Sub ListenToMe(ByVal rSpeaker As Object) > If mlPtr = 0 Then > ' setting mlPtr does not increment the object's > ' reference count, so the object can close normally > mlPtr = ObjPtr(rSpeaker) > Else > Err.Raise ML_ERR_SPEAKER, "MTestListener.ListenToMe", _ > "Sorry, listening to Object at " & mlPtr > End If > End Sub > > Public Sub IgnoreMe(ByVal rSpeaker As Object) > If ObjPtr(rSpeaker) = mlPtr Then > mlPtr = 0 > End If > End Sub > > Public Sub SetParameter(ByVal rSpeaker As Object, sName As String, > vValue As Variant) > ' must match speaker, and not be nothing > If (ObjPtr(rSpeaker) = mlPtr) And (mlPtr <> 0) Then > ' set global parameter sName = vValue > Else > Err.Raise ML_ERR_SPEAKER, "MTestListener.SetParameter", _ > "Sorry, listening to Object at " & mlPtr > End If > End Sub > > Public Function GetParameter(sName As String) As Variant > ' anybody can get a parameter > End Function > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Wed Sep 21 17:21:56 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 22 Sep 2011 08:21:56 +1000 Subject: [AccessD] AccessD Digest, Vol 103, Issue 17 In-Reply-To: References: , Message-ID: <4E7A6384.23339.3F910C6@stuart.lexacorp.com.pg> On the contrary, I very rarely use a Global in an Access application (I do use them frequently in other environments for things like window handles) I do however use static functions a lot in Access. -- Stuart On 21 Sep 2011 at 14:16, Kenneth Ismert wrote: > > But what if you need to modify globals? What do you do then? It is > hard to write a real Access app that doesn't require global parameter > passing, which requires changing globals. > > -Ken > -- > 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 Sep 21 17:24:42 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 22 Sep 2011 08:24:42 +1000 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: Message-ID: <4E7A642A.25822.3FB9975@stuart.lexacorp.com.pg> I do that a LOT. -- Stuart On 21 Sep 2011 at 23:13, Gustav Brock wrote: > > If nothing can change a global variable (or a static or set a property > or call a set method) what should its purpose be? Use a constant in > that case. > From DWUTKA at Marlow.com Wed Sep 21 22:02:07 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Wed, 21 Sep 2011 22:02:07 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> Message-ID: The point of a global variable is to have a VARIABLE value that can be accessed from multiple points. If you want a VALUE available from anywhere, that would be a constant. A variable's value is meant to change. So, even if you wrap your global variables inside of a class, you are still scoping an instance of that class globally, which makes it a global variable. Any variable and any scope can be used poorly. Just throwing my hat into the ring. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, September 20, 2011 7:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Global Vars (was Ambiguous Name) I think that I am going to go with JWC's concept of this. Assuming of course that I have it right, you create a class that houses all the otherwise global variable, and they are protected by Get/Set methods. This appears to me the superior way to go. No way you can touch them. fork with them, without a specific call. No accidents, no side effects. Good for you, JWC. I think you are right on the money here. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From jwcolby at colbyconsulting.com Thu Sep 22 06:06:21 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 22 Sep 2011 07:06:21 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> Message-ID: <4E7B16AD.6030904@colbyconsulting.com> Already too many hats in the ring. ;) John W. Colby www.ColbyConsulting.com On 9/21/2011 11:02 PM, Drew Wutka wrote: > The point of a global variable is to have a VARIABLE value that can be > accessed from multiple points. > > If you want a VALUE available from anywhere, that would be a constant. > A variable's value is meant to change. > > So, even if you wrap your global variables inside of a class, you are > still scoping an instance of that class globally, which makes it a > global variable. > > Any variable and any scope can be used poorly. > > Just throwing my hat into the ring. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Tuesday, September 20, 2011 7:07 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Global Vars (was Ambiguous Name) > > I think that I am going to go with JWC's concept of this. Assuming of > course that I have it right, you create a class that houses all the > otherwise global variable, and they are protected by Get/Set methods. > This appears to me the superior way to go. No way you can touch them. > fork with them, without a specific call. No accidents, no side effects. > Good for you, JWC. I think you are right on the money here. > > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > The information contained in this transmission is intended only for the person or entity > to which it is addressed and may contain II-VI Proprietary and/or II-VI Business > Sensitive material. If you are not the intended recipient, please contact the sender > immediately and destroy the material in its entirety, whether electronic or hard copy. > You are notified that any review, retransmission, copying, disclosure, dissemination, > or other use of, or taking of any action in reliance upon this information by persons > or entities other than the intended recipient is prohibited. > > From DWUTKA at Marlow.com Thu Sep 22 10:32:28 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 22 Sep 2011 10:32:28 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <4E7B16AD.6030904@colbyconsulting.com> References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> Message-ID: Sounds like a global variable is needed to determine how many there are.... ;) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, September 22, 2011 6:06 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Global Vars (was Ambiguous Name) Already too many hats in the ring. ;) John W. Colby www.ColbyConsulting.com On 9/21/2011 11:02 PM, Drew Wutka wrote: > The point of a global variable is to have a VARIABLE value that can be > accessed from multiple points. > > If you want a VALUE available from anywhere, that would be a constant. > A variable's value is meant to change. > > So, even if you wrap your global variables inside of a class, you are > still scoping an instance of that class globally, which makes it a > global variable. > > Any variable and any scope can be used poorly. > > Just throwing my hat into the ring. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur > Fuller > Sent: Tuesday, September 20, 2011 7:07 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Global Vars (was Ambiguous Name) > > I think that I am going to go with JWC's concept of this. Assuming of > course that I have it right, you create a class that houses all the > otherwise global variable, and they are protected by Get/Set methods. > This appears to me the superior way to go. No way you can touch them. > fork with them, without a specific call. No accidents, no side effects. > Good for you, JWC. I think you are right on the money here. > > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com The information contained in > this transmission is intended only for the person or entity to which > it is addressed and may contain II-VI Proprietary and/or II-VI > Business Sensitive material. If you are not the intended recipient, > please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. > You are notified that any review, retransmission, copying, disclosure, > dissemination, or other use of, or taking of any action in reliance > upon this information by persons or entities other than the intended recipient is prohibited. > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From fuller.artful at gmail.com Thu Sep 22 10:55:13 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 22 Sep 2011 11:55:13 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> Message-ID: I used to be the strongest argue-er for static functions, but then Access trumped with with its collection, and now I lean that way. It took a considerable amount of rewriting old apps, but the benefits are IMO abundant. If you have A2K7+ then look at the NorthWind app for evidence of how cool this works. To put it another way, globals are a bad idea, no matter what the scenario, IMO. In the old days, static functions were better. Then came JC's class-approach, which had beauty and class and ease of use, albeit with one downfall -- loading it into any new app is guaranteed to waste a bunch of memory irrelevant to this particular app; but RAM is cheap and the price is OK, but that said, I do choose to occupy the minimal amount of RAM, and that said, I load the library and see which functions/subs are not called and then remove them, so in theory the footprint is smaller. A. From accessd at shaw.ca Thu Sep 22 12:44:14 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 22 Sep 2011 10:44:14 -0700 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> Message-ID: Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim From rockysmolin at bchacc.com Thu Sep 22 13:36:37 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 22 Sep 2011 11:36:37 -0700 Subject: [AccessD] Filtering with International Dates Message-ID: <8123BC58741345EF884BE7F4C21F6423@HAL9007> Dear List: Because I'm old and can't remember (and the archives are down), I was told how to filter with dates so that if a user is using international dates it doesn't matter. The following code: If Nz(Forms!frmPOReport!txtGEPromisedDate) <> "" Then If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " strSQL = strSQL & "fldPOPromisedDate >= #" & Forms!frmPOReport!txtGEPromisedDate & "# " End If If Nz(Forms!frmPOReport!txtLEPromisedDate) <> "" Then If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " strSQL = strSQL & "fldPOPromisedDate <= #" & Forms!frmPOReport!txtLEPromisedDate & "# " strSQL eventually ends up in Me.Filter. Works good in the USA. :) Fails in Nicaragua. :( Was it CDate I was supposed to use? Sorry for the redux. TIA Rocky From dbdoug at gmail.com Thu Sep 22 13:37:52 2011 From: dbdoug at gmail.com (Doug Steele) Date: Thu, 22 Sep 2011 11:37:52 -0700 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> Message-ID: Hi Jim: I've built a couple of ASP.NET apps running off IIS with an Access back end. You definitely don't have to have Access installed. I think when you install .Net you get the drivers you need. Doug On Thu, Sep 22, 2011 at 10:44 AM, Jim Lawrence wrote: > Hi All: > > In the many years, I have worked with MS Access there is on thing I have > never done with it. I have never used MS Access as the DB for an > application > running off an IIS server...any web server for that matter...MS SQL, > Express, Oracle, MySQL etc but never MDB. > > So does MS Access have to be installed on the IIS server and does an > extension have to be added to the server etc.? Can just a set of drivers be > configured...? (If the truth be known I would just love to upsize to any > other DB and be done with it but that is not what the client wants; and the > client is always right.(?)) > > If any one has experience with this process, their knowledgeable tips would > be greatly appreciated. > > MTIA > Jim > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Thu Sep 22 13:38:31 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 22 Sep 2011 14:38:31 -0400 Subject: [AccessD] MySQL is apparently not installed correctly Message-ID: <4E7B80A7.7030904@colbyconsulting.com> 1) The service does not start. 2) the ,err file tells me that Plugin Federated is disabled. 3) The .err file tells me Table 'mysql.plugin' doesn't exist and then it says to run mysql_upgrade to create it. I ran mysql_upgrade and the first time it took off and went. I deleted the error file, rebooted and when it came back up the service is hung on "starting". The .err file tells me the same stuff. Any suggestions? Uninstall / reinstall? -- John W. Colby www.ColbyConsulting.com From rockysmolin at bchacc.com Thu Sep 22 13:47:02 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 22 Sep 2011 11:47:02 -0700 Subject: [AccessD] Filtering with International Dates In-Reply-To: <8123BC58741345EF884BE7F4C21F6423@HAL9007> References: <8123BC58741345EF884BE7F4C21F6423@HAL9007> Message-ID: <0DBE8D67661849AA8444AC0CC5B50013@HAL9007> This seems to work: Format$(varDate, "\#mm\/dd\/yyyy\#") Is that the best solution? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: 22 September 2011 11:37 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Filtering with International Dates Dear List: Because I'm old and can't remember (and the archives are down), I was told how to filter with dates so that if a user is using international dates it doesn't matter. The following code: If Nz(Forms!frmPOReport!txtGEPromisedDate) <> "" Then If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " strSQL = strSQL & "fldPOPromisedDate >= #" & Forms!frmPOReport!txtGEPromisedDate & "# " End If If Nz(Forms!frmPOReport!txtLEPromisedDate) <> "" Then If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " strSQL = strSQL & "fldPOPromisedDate <= #" & Forms!frmPOReport!txtLEPromisedDate & "# " strSQL eventually ends up in Me.Filter. Works good in the USA. :) Fails in Nicaragua. :( Was it CDate I was supposed to use? Sorry for the redux. TIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Thu Sep 22 13:49:37 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 22 Sep 2011 11:49:37 -0700 Subject: [AccessD] Filtering with International Dates In-Reply-To: <8123BC58741345EF884BE7F4C21F6423@HAL9007> References: <8123BC58741345EF884BE7F4C21F6423@HAL9007> Message-ID: Here's what MS suggests: Function MakeUSDate(DateIn As Variant) As String ' Do nothing if the value is not a date. If Not IsDate(DateIn) Then Exit Function ' Convert the date to a U.S. Date format. MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & Year(DateIn) & "#" End Function I would suggest that if you're using SQL Server as an alternative BE you also have a function to return the proper date delimiter. Charlotte Foust On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin wrote: > Dear List: > > Because I'm old and can't remember (and the archives are down), I was told > how to filter with dates so that if a user is using international dates it > doesn't matter. > > The following code: > > If Nz(Forms!frmPOReport!txtGEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate >= #" & > Forms!frmPOReport!txtGEPromisedDate & "# " > End If > > If Nz(Forms!frmPOReport!txtLEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate <= #" & > Forms!frmPOReport!txtLEPromisedDate & "# " > > strSQL eventually ends up in Me.Filter. > > Works good in the USA. :) Fails in Nicaragua. :( > > Was it CDate I was supposed to use? > > Sorry for the redux. > > TIA > > Rocky > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From rockysmolin at bchacc.com Thu Sep 22 14:27:45 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 22 Sep 2011 12:27:45 -0700 Subject: [AccessD] Filtering with International Dates In-Reply-To: References: <8123BC58741345EF884BE7F4C21F6423@HAL9007> Message-ID: Is that better or more reliable or more general than Format$(varDate, "\#mm\/dd\/yyyy\#")? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, September 22, 2011 11:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Here's what MS suggests: Function MakeUSDate(DateIn As Variant) As String ' Do nothing if the value is not a date. If Not IsDate(DateIn) Then Exit Function ' Convert the date to a U.S. Date format. MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & Year(DateIn) & "#" End Function I would suggest that if you're using SQL Server as an alternative BE you also have a function to return the proper date delimiter. Charlotte Foust On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin wrote: > Dear List: > > Because I'm old and can't remember (and the archives are down), I was > told how to filter with dates so that if a user is using international > dates it doesn't matter. > > The following code: > > If Nz(Forms!frmPOReport!txtGEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate >= #" & > Forms!frmPOReport!txtGEPromisedDate & "# " > End If > > If Nz(Forms!frmPOReport!txtLEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate <= #" & > Forms!frmPOReport!txtLEPromisedDate & "# " > > strSQL eventually ends up in Me.Filter. > > Works good in the USA. :) Fails in Nicaragua. :( > > Was it CDate I was supposed to use? > > Sorry for the redux. > > TIA > > 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 DWUTKA at Marlow.com Thu Sep 22 14:25:50 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 22 Sep 2011 14:25:50 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com> Message-ID: Again, globals are not a 'bad idea'. Globals can be misused. I don't think anyone can argue that. But almost anything can be misused. A global variable is merely a specific scope for a variable. You have procedural, modular and global. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, September 22, 2011 10:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Global Vars (was Ambiguous Name) I used to be the strongest argue-er for static functions, but then Access trumped with with its collection, and now I lean that way. It took a considerable amount of rewriting old apps, but the benefits are IMO abundant. If you have A2K7+ then look at the NorthWind app for evidence of how cool this works. To put it another way, globals are a bad idea, no matter what the scenario, IMO. In the old days, static functions were better. Then came JC's class-approach, which had beauty and class and ease of use, albeit with one downfall -- loading it into any new app is guaranteed to waste a bunch of memory irrelevant to this particular app; but RAM is cheap and the price is OK, but that said, I do choose to occupy the minimal amount of RAM, and that said, I load the library and see which functions/subs are not called and then remove them, so in theory the footprint is smaller. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Thu Sep 22 14:29:32 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 22 Sep 2011 14:29:32 -0500 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com> Message-ID: You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From jwcolby at colbyconsulting.com Thu Sep 22 14:54:42 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 22 Sep 2011 15:54:42 -0400 Subject: [AccessD] MySQL is broke now Message-ID: <4E7B9282.5060606@colbyconsulting.com> The service never ran. I did some stuff including modifying my.ini to add federated. Doing that stopped the error log being generated but the service still would not start. I found something that discusses deleting the service (which worked) but the thing that adds the service does not work. My windows paste buffer is not working between my VM and my laptop so the following is just typed in. The line is: mysql --install MySQL --defaults-file="C:\Program Files\MySQL\MySQL Server 5.5\My.Ini" This does in fact add a line to the services but the problem is that the service thinks that MySQLd.exe is in thesame location as that my.ini whereas it is in fact down in a bin under that dir. I.e. the "path to executable" is looking for the MySQLD.exe in the wrong place and thus cannot be started. This is getting annoying. I have been trying various things for hours and just cannot get MySQL to run as a service and now the entry in the service table (or registry?) is corrupted. Sigh. -- John W. Colby www.ColbyConsulting.com From fuller.artful at gmail.com Thu Sep 22 14:59:09 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 22 Sep 2011 15:59:09 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> Message-ID: Much as I wish to pursue this chat, there is something happening on my head. I am bleeding and I don't have a clue why, but it seems that I ought to attend to this. Back when curred! Whaoa, man, there is abundant stuff comin' outa my head. I don't even know what happened. This is is not gott. Will report back when all is fixed. Arthur From steve at datamanagementsolutions.biz Thu Sep 22 16:08:28 2011 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Fri, 23 Sep 2011 09:08:28 +1200 Subject: [AccessD] Filtering with International Dates In-Reply-To: References: <8123BC58741345EF884BE7F4C21F6423@HAL9007> Message-ID: Rocky As a person in a non-US zone, I have always used the CLng function in such circumstances. Works great. strSQL = strSQL & "fldPOPromisedDate <= " & CLng(Forms!frmPOReport!txtLEPromisedDate) Regards Steve -----Original Message----- From: Rocky Smolin Sent: Friday, September 23, 2011 7:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Filtering with International Dates Is that better or more reliable or more general than Format$(varDate, "\#mm\/dd\/yyyy\#")? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, September 22, 2011 11:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Here's what MS suggests: Function MakeUSDate(DateIn As Variant) As String ' Do nothing if the value is not a date. If Not IsDate(DateIn) Then Exit Function ' Convert the date to a U.S. Date format. MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & Year(DateIn) & "#" End Function I would suggest that if you're using SQL Server as an alternative BE you also have a function to return the proper date delimiter. Charlotte Foust On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin wrote: > Dear List: > > Because I'm old and can't remember (and the archives are down), I was > told how to filter with dates so that if a user is using international > dates it doesn't matter. > > The following code: > > If Nz(Forms!frmPOReport!txtGEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate >= #" & > Forms!frmPOReport!txtGEPromisedDate & "# " > End If > > If Nz(Forms!frmPOReport!txtLEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate <= #" & > Forms!frmPOReport!txtLEPromisedDate & "# " > > strSQL eventually ends up in Me.Filter. > > Works good in the USA. :) Fails in Nicaragua. :( > > Was it CDate I was supposed to use? > > Sorry for the redux. > > TIA > > 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 charlotte.foust at gmail.com Thu Sep 22 16:16:20 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 22 Sep 2011 14:16:20 -0700 Subject: [AccessD] Filtering with International Dates In-Reply-To: References: <8123BC58741345EF884BE7F4C21F6423@HAL9007> Message-ID: But a date isn't an integer of any length, so if you have times included in the date field, CLng would give you the wrong result. Charlotte Foust On Thu, Sep 22, 2011 at 2:08 PM, Steve Schapel < steve at datamanagementsolutions.biz> wrote: > Rocky > > As a person in a non-US zone, I have always used the CLng function in such > circumstances. Works great. > > strSQL = strSQL & "fldPOPromisedDate <= " & CLng(Forms!frmPOReport!** > txtLEPromisedDate) > > Regards > Steve > > -----Original Message----- From: Rocky Smolin > Sent: Friday, September 23, 2011 7:27 AM > > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Filtering with International Dates > > Is that better or more reliable or more general than > > Format$(varDate, "\#mm\/dd\/yyyy\#")? > > Rocky > > -----Original Message----- > From: accessd-bounces@**databaseadvisors.com > [mailto:accessd-bounces@**databaseadvisors.com] > On Behalf Of Charlotte Foust > Sent: Thursday, September 22, 2011 11:50 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Filtering with International Dates > > Here's what MS suggests: > > Function MakeUSDate(DateIn As Variant) As String > > ' Do nothing if the value is not a date. > > If Not IsDate(DateIn) Then Exit Function > > ' Convert the date to a U.S. Date format. > > MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & > Year(DateIn) & "#" > > End Function > > I would suggest that if you're using SQL Server as an alternative BE you > also have a function to return the proper date delimiter. > > Charlotte Foust > On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin > wrote: > > Dear List: >> >> Because I'm old and can't remember (and the archives are down), I was >> told how to filter with dates so that if a user is using international >> dates it doesn't matter. >> >> The following code: >> >> If Nz(Forms!frmPOReport!**txtGEPromisedDate) <> "" Then >> If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " >> strSQL = strSQL & "fldPOPromisedDate >= #" & >> Forms!frmPOReport!**txtGEPromisedDate & "# " >> End If >> >> If Nz(Forms!frmPOReport!**txtLEPromisedDate) <> "" Then >> If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " >> strSQL = strSQL & "fldPOPromisedDate <= #" & >> Forms!frmPOReport!**txtLEPromisedDate & "# " >> >> strSQL eventually ends up in Me.Filter. >> >> Works good in the USA. :) Fails in Nicaragua. :( >> >> Was it CDate I was supposed to use? >> >> Sorry for the redux. >> >> TIA >> >> 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 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From steve at datamanagementsolutions.biz Thu Sep 22 16:36:30 2011 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Fri, 23 Sep 2011 09:36:30 +1200 Subject: [AccessD] Filtering with International Dates In-Reply-To: References: <8123BC58741345EF884BE7F4C21F6423@HAL9007> Message-ID: <9FD44C573AD24BE3BA3BC91827E687F3@stevelaptop> That's correct, Chartlotte. If there is a time component, I use CDbl. Regards Steve -----Original Message----- From: Charlotte Foust Sent: Friday, September 23, 2011 9:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates But a date isn't an integer of any length, so if you have times included in the date field, CLng would give you the wrong result. Charlotte Foust On Thu, Sep 22, 2011 at 2:08 PM, Steve Schapel < steve at datamanagementsolutions.biz> wrote: > Rocky > > As a person in a non-US zone, I have always used the CLng function in such > circumstances. Works great. > > strSQL = strSQL & "fldPOPromisedDate <= " & CLng(Forms!frmPOReport!** > txtLEPromisedDate) > > Regards > Steve > > -----Original Message----- From: Rocky Smolin > Sent: Friday, September 23, 2011 7:27 AM > > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Filtering with International Dates > > Is that better or more reliable or more general than > > Format$(varDate, "\#mm\/dd\/yyyy\#")? > > Rocky > > -----Original Message----- > From: > accessd-bounces@**databaseadvisors.com > [mailto:accessd-bounces@**databaseadvisors.com] > On Behalf Of Charlotte Foust > Sent: Thursday, September 22, 2011 11:50 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Filtering with International Dates > > Here's what MS suggests: > > Function MakeUSDate(DateIn As Variant) As String > > ' Do nothing if the value is not a date. > > If Not IsDate(DateIn) Then Exit Function > > ' Convert the date to a U.S. Date format. > > MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & > Year(DateIn) & "#" > > End Function > > I would suggest that if you're using SQL Server as an alternative BE you > also have a function to return the proper date delimiter. > > Charlotte Foust > On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin > wrote: > > Dear List: >> >> Because I'm old and can't remember (and the archives are down), I was >> told how to filter with dates so that if a user is using international >> dates it doesn't matter. >> >> The following code: >> >> If Nz(Forms!frmPOReport!**txtGEPromisedDate) <> "" Then >> If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " >> strSQL = strSQL & "fldPOPromisedDate >= #" & >> Forms!frmPOReport!**txtGEPromisedDate & "# " >> End If >> >> If Nz(Forms!frmPOReport!**txtLEPromisedDate) <> "" Then >> If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " >> strSQL = strSQL & "fldPOPromisedDate <= #" & >> Forms!frmPOReport!**txtLEPromisedDate & "# " >> >> strSQL eventually ends up in Me.Filter. >> >> Works good in the USA. :) Fails in Nicaragua. :( >> >> Was it CDate I was supposed to use? >> >> Sorry for the redux. >> >> TIA >> >> 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 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/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 DWUTKA at Marlow.com Thu Sep 22 16:45:44 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 22 Sep 2011 16:45:44 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com> Message-ID: ACKKKK !!! Let us know when you are ok Arthur!!! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, September 22, 2011 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Global Vars (was Ambiguous Name) Much as I wish to pursue this chat, there is something happening on my head. I am bleeding and I don't have a clue why, but it seems that I ought to attend to this. Back when curred! Whaoa, man, there is abundant stuff comin' outa my head. I don't even know what happened. This is is not gott. Will report back when all is fixed. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From accessd at shaw.ca Thu Sep 22 16:58:41 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 22 Sep 2011 14:58:41 -0700 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> Message-ID: <2EB95DD236DB48CD942FAEFB4A67DDD2@creativesystemdesigns.com> Unfortunately, we are not talking about ASP.Net but rather classic ASP. :-( Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Thursday, September 22, 2011 11:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Hi Jim: I've built a couple of ASP.NET apps running off IIS with an Access back end. You definitely don't have to have Access installed. I think when you install .Net you get the drivers you need. Doug On Thu, Sep 22, 2011 at 10:44 AM, Jim Lawrence wrote: > Hi All: > > In the many years, I have worked with MS Access there is on thing I have > never done with it. I have never used MS Access as the DB for an > application > running off an IIS server...any web server for that matter...MS SQL, > Express, Oracle, MySQL etc but never MDB. > > So does MS Access have to be installed on the IIS server and does an > extension have to be added to the server etc.? Can just a set of drivers be > configured...? (If the truth be known I would just love to upsize to any > other DB and be done with it but that is not what the client wants; and the > client is always right.(?)) > > If any one has experience with this process, their knowledgeable tips would > be greatly appreciated. > > MTIA > 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 accessd at shaw.ca Thu Sep 22 17:00:56 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 22 Sep 2011 15:00:56 -0700 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> Message-ID: <511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> Does that mean Access have to be installed on the IIS server? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Sep 22 17:04:40 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 22 Sep 2011 15:04:40 -0700 Subject: [AccessD] MySQL is broke now In-Reply-To: <4E7B9282.5060606@colbyconsulting.com> References: <4E7B9282.5060606@colbyconsulting.com> Message-ID: <57B14928257044BB86837DCA8EF3102B@creativesystemdesigns.com> Post a message on OT_SQL...Hans will help you. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, September 22, 2011 12:55 PM To: Access Developers discussion and problem solving Subject: [AccessD] MySQL is broke now The service never ran. I did some stuff including modifying my.ini to add federated. Doing that stopped the error log being generated but the service still would not start. I found something that discusses deleting the service (which worked) but the thing that adds the service does not work. My windows paste buffer is not working between my VM and my laptop so the following is just typed in. The line is: mysql --install MySQL --defaults-file="C:\Program Files\MySQL\MySQL Server 5.5\My.Ini" This does in fact add a line to the services but the problem is that the service thinks that MySQLd.exe is in thesame location as that my.ini whereas it is in fact down in a bin under that dir. I.e. the "path to executable" is looking for the MySQLD.exe in the wrong place and thus cannot be started. This is getting annoying. I have been trying various things for hours and just cannot get MySQL to run as a service and now the entry in the service table (or registry?) is corrupted. Sigh. -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Sep 22 17:08:11 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 22 Sep 2011 15:08:11 -0700 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> Message-ID: <2A0245B6D3774330A2B2A64074601440@creativesystemdesigns.com> Wow, I hope you are OK... Post us as soon as you can. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, September 22, 2011 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Global Vars (was Ambiguous Name) Much as I wish to pursue this chat, there is something happening on my head. I am bleeding and I don't have a clue why, but it seems that I ought to attend to this. Back when curred! Whaoa, man, there is abundant stuff comin' outa my head. I don't even know what happened. This is is not gott. Will report back when all is fixed. Arthur From stuart at lexacorp.com.pg Thu Sep 22 17:10:57 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 23 Sep 2011 08:10:57 +1000 Subject: [AccessD] Filtering with International Dates In-Reply-To: References: <8123BC58741345EF884BE7F4C21F6423@HAL9007>, , Message-ID: <4E7BB271.31766.9156315@stuart.lexacorp.com.pg> CLng returns the wrong value if the data contains a time after midday (it rounds the day part up to the next day). I always use strSQL = ...Datevalue('" & txtDate & "').... -- Stuart On 22 Sep 2011 at 14:16, Charlotte Foust wrote: > But a date isn't an integer of any length, so if you have times > included in the date field, CLng would give you the wrong result. > > Charlotte Foust > > On Thu, Sep 22, 2011 at 2:08 PM, Steve Schapel < > steve at datamanagementsolutions.biz> wrote: > > > Rocky > > > > As a person in a non-US zone, I have always used the CLng function > > in such circumstances. Works great. > > > > strSQL = strSQL & "fldPOPromisedDate <= " & > > CLng(Forms!frmPOReport!** txtLEPromisedDate) > > > > Regards > > Steve > > > > -----Original Message----- From: Rocky Smolin > > Sent: Friday, September 23, 2011 7:27 AM > > > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Filtering with International Dates > > > > Is that better or more reliable or more general than > > > > Format$(varDate, "\#mm\/dd\/yyyy\#")? > > > > Rocky > > > > -----Original Message----- > > From: > > accessd-bounces@**databaseadvisors.com > ors.com> > > [mailto:accessd-bounces@**databaseadvisors.com > aseadvisors.com>] On Behalf Of Charlotte Foust Sent: Thursday, > > September 22, 2011 11:50 AM To: Access Developers discussion and > > problem solving Subject: Re: [AccessD] Filtering with International > > Dates > > > > Here's what MS suggests: > > > > Function MakeUSDate(DateIn As Variant) As String > > > > ' Do nothing if the value is not a date. > > > > If Not IsDate(DateIn) Then Exit Function > > > > ' Convert the date to a U.S. Date format. > > > > MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & > > Year(DateIn) & "#" > > > > End Function > > > > I would suggest that if you're using SQL Server as an alternative BE > > you also have a function to return the proper date delimiter. > > > > Charlotte Foust > > On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin > > wrote: > > > > Dear List: > >> > >> Because I'm old and can't remember (and the archives are down), I > >> was told how to filter with dates so that if a user is using > >> international dates it doesn't matter. > >> > >> The following code: > >> > >> If Nz(Forms!frmPOReport!**txtGEPromisedDate) <> "" Then > >> If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > >> strSQL = strSQL & "fldPOPromisedDate >= #" & > >> Forms!frmPOReport!**txtGEPromisedDate & "# " > >> End If > >> > >> If Nz(Forms!frmPOReport!**txtLEPromisedDate) <> "" Then > >> If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > >> strSQL = strSQL & "fldPOPromisedDate <= #" & > >> Forms!frmPOReport!**txtLEPromisedDate & "# " > >> > >> strSQL eventually ends up in Me.Filter. > >> > >> Works good in the USA. :) Fails in Nicaragua. :( > >> > >> Was it CDate I was supposed to use? > >> > >> Sorry for the redux. > >> > >> TIA > >> > >> Rocky > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/**mailman/listinfo/accessd >> aseadvisors.com/mailman/listinfo/accessd> > >> > >> > >> > >> > >> Website: > >> http://www.databaseadvisors.**com > >> > >> > >> > >> > >> > >> -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/accessd > seadvisors.com/mailman/listinfo/accessd> > > > > > > Website: > > http://www.databaseadvisors.**com > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/accessd > seadvisors.com/mailman/listinfo/accessd> > > > > > > Website: > > http://www.databaseadvisors.**com > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/accessd > seadvisors.com/mailman/listinfo/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 ab-mi at post3.tele.dk Thu Sep 22 17:12:29 2011 From: ab-mi at post3.tele.dk (Asger Blond) Date: Fri, 23 Sep 2011 00:12:29 +0200 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com> Message-ID: <85DE820BDE2B4B4E88D3D27F7298E51C@abpc> Yea, too bad - but that's what all of us must expect when entering global wars.. Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Drew Wutka Sendt: 22. september 2011 23:46 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Global Vars (was Ambiguous Name) ACKKKK !!! Let us know when you are ok Arthur!!! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, September 22, 2011 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Global Vars (was Ambiguous Name) Much as I wish to pursue this chat, there is something happening on my head. I am bleeding and I don't have a clue why, but it seems that I ought to attend to this. Back when curred! Whaoa, man, there is abundant stuff comin' outa my head. I don't even know what happened. This is is not gott. Will report back when all is fixed. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kismert at gmail.com Thu Sep 22 17:17:49 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Thu, 22 Sep 2011 17:17:49 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) Message-ID: > Gustav Brock: > You make it sound as if global variables happen > to be changed by magic. They don't, because you - > the programmer - decides what (and not who) can > set the value and when. Yes, a good recap of the 'discipline' argument for using globals. But discipline is much easier to enforce for yourself than to impose on others. When there are multiple programmers on a project, opportunities for confusion multiply. Once discipline breaks down, and the implicit rules for using particular globals get ignored or misunderstood, you are toast. So, my question to you is, are there simple programmatic lines of defense one can use to protect globals against obvious kinds of misuse? I think the answer is yes, and put forth two concepts. Maybe this is just a theoretical question, but I find thinking about it worthwhile. > If nothing can change a global variable ... what > should its purpose be? Use a constant in that case. There are plenty of cases where you want 'read-once' or 'setup-once' globals, that read local machine settings, setup a global object for persistent use, etc. But in the end, I largely agree with you. Globals are only bad when they are misused. But enforcing discipline can be tricky. -Ken From jimdettman at verizon.net Thu Sep 22 17:21:31 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 22 Sep 2011 18:21:31 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com> Message-ID: Head wounds always bleed like there's no tomorrow. I had a nick the size of a pencil eraser once and totally soaked the shirt I was wearing. Let's hope he thought to sit down and get some pressure on it. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 05:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Global Vars (was Ambiguous Name) ACKKKK !!! Let us know when you are ok Arthur!!! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, September 22, 2011 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Global Vars (was Ambiguous Name) Much as I wish to pursue this chat, there is something happening on my head. I am bleeding and I don't have a clue why, but it seems that I ought to attend to this. Back when curred! Whaoa, man, there is abundant stuff comin' outa my head. I don't even know what happened. This is is not gott. Will report back when all is fixed. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Sep 22 17:25:22 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 22 Sep 2011 15:25:22 -0700 Subject: [AccessD] Filtering with International Dates In-Reply-To: References: <8123BC58741345EF884BE7F4C21F6423@HAL9007> Message-ID: <96BC5E0E427B4876AB655C25A90D0C21@HAL9007> Cool. That would seem to be pretty universal then regardless of source format? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Thursday, September 22, 2011 2:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Rocky As a person in a non-US zone, I have always used the CLng function in such circumstances. Works great. strSQL = strSQL & "fldPOPromisedDate <= " & CLng(Forms!frmPOReport!txtLEPromisedDate) Regards Steve -----Original Message----- From: Rocky Smolin Sent: Friday, September 23, 2011 7:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Filtering with International Dates Is that better or more reliable or more general than Format$(varDate, "\#mm\/dd\/yyyy\#")? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, September 22, 2011 11:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Here's what MS suggests: Function MakeUSDate(DateIn As Variant) As String ' Do nothing if the value is not a date. If Not IsDate(DateIn) Then Exit Function ' Convert the date to a U.S. Date format. MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & Year(DateIn) & "#" End Function I would suggest that if you're using SQL Server as an alternative BE you also have a function to return the proper date delimiter. Charlotte Foust On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin wrote: > Dear List: > > Because I'm old and can't remember (and the archives are down), I was > told how to filter with dates so that if a user is using international > dates it doesn't matter. > > The following code: > > If Nz(Forms!frmPOReport!txtGEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate >= #" & > Forms!frmPOReport!txtGEPromisedDate & "# " > End If > > If Nz(Forms!frmPOReport!txtLEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate <= #" & > Forms!frmPOReport!txtLEPromisedDate & "# " > > strSQL eventually ends up in Me.Filter. > > Works good in the USA. :) Fails in Nicaragua. :( > > Was it CDate I was supposed to use? > > Sorry for the redux. > > TIA > > 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kismert at gmail.com Thu Sep 22 17:33:47 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Thu, 22 Sep 2011 17:33:47 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) Message-ID: > Stuart McLachlan: > You and I obviously have a different definition of > "Global". :-) Changing Private to Public changes > everything ... > ... Why not just create a Globals object instead > and get full class functionality? 'Global Variables' includes globally scoped classes or static functions that allow changeable values. This is my critical point: a writable property of a global class can be changed by anyone anywhere at any time -- just like a global variable, which is supposedly 'bad' for the same reason. So, just using global classes or functions doesn't fix the root problem of global variables. > Read once, write many variable: > Static Function mySafeGlobal(Optional invalue as Variant) as Variant > Dim store as Variant > If not isempty(store) then > mySafeGlobal = store > Exit Function > End if > If not ismissing(invalue) then > store = invalue > mySafeGlobal = store > End if > End Function Looking at the code, I assume you mean 'write once, read many'. And a typo: store should be Static, nod Dim'ed, otherwise you can change the value every time it is called. I use functions similar to this all the time. Contributing code is the most valuable way to work through the real issues of this discussion. -Ken From kismert at gmail.com Thu Sep 22 17:40:07 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Thu, 22 Sep 2011 17:40:07 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) Message-ID: > Drew Wutka: > ... > So, even if you wrap your global variables inside of a > class, you are still scoping an instance of that class > globally, which makes it a global variable... My point exactly. The 'globals are bad' camp haven't explained how a code wrapper that lets you change the value makes the global problem go away. And yes, there are common situations in Access where you want changeable global values. The only advantage I see to the wrapper is that you get to set a breakpoint. Little help when it fails in the field. -Ken From DWUTKA at Marlow.com Thu Sep 22 17:39:51 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 22 Sep 2011 17:39:51 -0500 Subject: [AccessD] MS Access with IIS In-Reply-To: <511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com> <511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> Message-ID: Nope.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 5:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Does that mean Access have to be installed on the IIS server? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From steve at datamanagementsolutions.biz Thu Sep 22 17:56:35 2011 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Fri, 23 Sep 2011 10:56:35 +1200 Subject: [AccessD] Filtering with International Dates In-Reply-To: <96BC5E0E427B4876AB655C25A90D0C21@HAL9007> References: <8123BC58741345EF884BE7F4C21F6423@HAL9007> <96BC5E0E427B4876AB655C25A90D0C21@HAL9007> Message-ID: Yes, Rocky, it always works. A proviso I think is that if you are using an unbound textbox to gather your date criteria, and then referring to that textbox in your code (Me.MyTextbox or Forms!MyForm!MyTextbox), the textbox's Format property should be set to a valid date format. Yes, if you need to cater to a time component (in my experience this is very rare in the type of circumstance you described), then you need to make sure you write your code accordingly, but that is also very easy. Regards Steve -----Original Message----- From: Rocky Smolin Sent: Friday, September 23, 2011 10:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Filtering with International Dates Cool. That would seem to be pretty universal then regardless of source format? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Thursday, September 22, 2011 2:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Rocky As a person in a non-US zone, I have always used the CLng function in such circumstances. Works great. strSQL = strSQL & "fldPOPromisedDate <= " & CLng(Forms!frmPOReport!txtLEPromisedDate) Regards Steve -----Original Message----- From: Rocky Smolin Sent: Friday, September 23, 2011 7:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Filtering with International Dates Is that better or more reliable or more general than Format$(varDate, "\#mm\/dd\/yyyy\#")? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, September 22, 2011 11:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Here's what MS suggests: Function MakeUSDate(DateIn As Variant) As String ' Do nothing if the value is not a date. If Not IsDate(DateIn) Then Exit Function ' Convert the date to a U.S. Date format. MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & Year(DateIn) & "#" End Function I would suggest that if you're using SQL Server as an alternative BE you also have a function to return the proper date delimiter. Charlotte Foust On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin wrote: > Dear List: > > Because I'm old and can't remember (and the archives are down), I was > told how to filter with dates so that if a user is using international > dates it doesn't matter. > > The following code: > > If Nz(Forms!frmPOReport!txtGEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate >= #" & > Forms!frmPOReport!txtGEPromisedDate & "# " > End If > > If Nz(Forms!frmPOReport!txtLEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate <= #" & > Forms!frmPOReport!txtLEPromisedDate & "# " > > strSQL eventually ends up in Me.Filter. > > Works good in the USA. :) Fails in Nicaragua. :( > > Was it CDate I was supposed to use? > > Sorry for the redux. > > TIA > > 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Thu Sep 22 18:57:49 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Thu, 22 Sep 2011 18:57:49 -0500 Subject: [AccessD] SSDs and BE storage Message-ID: I'm sorry that you felt my remarks were unkind. You have done your own research, and have taken steps to mitigate the risks by limiting how your SSDs are used. And you are planning for failure with a robust backup scheme using traditional HDDs. Still, my first experience with an SSD out of the box was that the firmware had a critical bug, which required an update that wasn't available, because the maker needed a lot of time to test the revision. It seems likely that the real cause is that the drive, being a consumer level product, didn't have enough capacitance built-in to shut down gracefully during a power outage. Maybe we made a poor choice, but the device was from a dominant player in the industry. Not a confidence builder. Also, some of your own comments don't bolster your overall glowing endorsement. To wit: the SSD's with the 34 micron chips are good but the new 28 micron chips are bad? That sounds like caveat emptor to me. Problems with scaling down and firmware issues sound to me like indicators of a technology that is still not mature enough to be suitable as drop-in replacements for HDDs in a broad range of server applications. And yes, the one source I quoted does sound like a guy fishing for consulting work, but you conveniently neglected to criticize my other reference, who said things more central to my point, and who seems more credible. Certainly, the technology will mature, and adoption rates will climb. Operating systems that optimize for SSDs will become more popular. Right now, for our server installation, I'm content to wait it out. -Ken From accessd at shaw.ca Thu Sep 22 20:19:53 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 22 Sep 2011 18:19:53 -0700 Subject: [AccessD] Open Source Cloud In-Reply-To: <000001cc7949$4180df00$c4829d00$@winhaven.net> References: <015a01cc78ed$0f1246a0$2d36d3e0$@winhaven.net> <000001cc7949$4180df00$c4829d00$@winhaven.net> Message-ID: <8006FA011228414CA042F947B0D1070F@creativesystemdesigns.com> The Open Source Cloud is here and another homerun for the Open Source community. OpenStack Diablo is a Quantum Leap for Open Source Cloud. OpenStack has been criticized by some as "the consortium of people who can't figure out how to compete with Amazon Web Services on their own." Well, they are half-right. http://www.readwriteweb.com/cloud/2011/09/openstack-diablo-is-a-quantum.php Now all those who wanted to dabble and expand their knowledge into the Cloud have a low cost place to start. Here is a perfect place to run a small (or large) set of travelling applications from; imaging, backups, structure data storage, user access control, etc. To download to your (Ubuntu) Linux (virtual) server: http://www.openstack.org/projects/compute/ Jim From charlotte.foust at gmail.com Thu Sep 22 20:25:45 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 22 Sep 2011 18:25:45 -0700 Subject: [AccessD] Filtering with International Dates In-Reply-To: <9FD44C573AD24BE3BA3BC91827E687F3@stevelaptop> References: <8123BC58741345EF884BE7F4C21F6423@HAL9007> <9FD44C573AD24BE3BA3BC91827E687F3@stevelaptop> Message-ID: One thing I learned the hard way is that there is ALWAYS a time component, even if it's midnight. Using it on a consistent basis is a good idea because assumptions can come back to haunt you. Charlotte Foust On Thu, Sep 22, 2011 at 2:36 PM, Steve Schapel < steve at datamanagementsolutions.biz> wrote: > That's correct, Chartlotte. If there is a time component, I use CDbl. > > Regards > Steve > > -----Original Message----- From: Charlotte Foust > Sent: Friday, September 23, 2011 9:16 AM > > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Filtering with International Dates > > But a date isn't an integer of any length, so if you have times included in > the date field, CLng would give you the wrong result. > > Charlotte Foust > > On Thu, Sep 22, 2011 at 2:08 PM, Steve Schapel < > steve at datamanagementsolutions.**biz > > wrote: > > Rocky >> >> As a person in a non-US zone, I have always used the CLng function in such >> circumstances. Works great. >> >> strSQL = strSQL & "fldPOPromisedDate <= " & CLng(Forms!frmPOReport!** >> txtLEPromisedDate) >> >> Regards >> Steve >> >> -----Original Message----- From: Rocky Smolin >> Sent: Friday, September 23, 2011 7:27 AM >> >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Filtering with International Dates >> >> Is that better or more reliable or more general than >> >> Format$(varDate, "\#mm\/dd\/yyyy\#")? >> >> Rocky >> >> -----Original Message----- >> From: accessd-bounces@**databaseadvi**sors.com >> >> >> > >> [mailto:accessd-bounces@**data**baseadvisors.com >> >> >> >] >> >> On Behalf Of Charlotte Foust >> Sent: Thursday, September 22, 2011 11:50 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Filtering with International Dates >> >> Here's what MS suggests: >> >> Function MakeUSDate(DateIn As Variant) As String >> >> ' Do nothing if the value is not a date. >> >> If Not IsDate(DateIn) Then Exit Function >> >> ' Convert the date to a U.S. Date format. >> >> MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & >> Year(DateIn) & "#" >> >> End Function >> >> I would suggest that if you're using SQL Server as an alternative BE you >> also have a function to return the proper date delimiter. >> >> Charlotte Foust >> On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin >> wrote: >> >> Dear List: >> >>> >>> Because I'm old and can't remember (and the archives are down), I was >>> told how to filter with dates so that if a user is using international >>> dates it doesn't matter. >>> >>> The following code: >>> >>> If Nz(Forms!frmPOReport!****txtGEPromisedDate) <> "" Then >>> If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " >>> strSQL = strSQL & "fldPOPromisedDate >= #" & >>> Forms!frmPOReport!****txtGEPromisedDate & "# " >>> End If >>> >>> If Nz(Forms!frmPOReport!****txtLEPromisedDate) <> "" Then >>> If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " >>> strSQL = strSQL & "fldPOPromisedDate <= #" & >>> Forms!frmPOReport!****txtLEPromisedDate & "# " >>> >>> strSQL eventually ends up in Me.Filter. >>> >>> Works good in the USA. :) Fails in Nicaragua. :( >>> >>> Was it CDate I was supposed to use? >>> >>> Sorry for the redux. >>> >>> TIA >>> >>> 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 >> >> > >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/****mailman/listinfo/accessd >> >> >> >> > >> >> >> Website: http://www.databaseadvisors. >> >> ****com >> >> > >> >> >> >> -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From accessd at shaw.ca Thu Sep 22 20:32:19 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 22 Sep 2011 18:32:19 -0700 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> <511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> Message-ID: Well, you have me at a disadvantage as I do not know what you mean? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 3:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Nope.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 5:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Does that mean Access have to be installed on the IIS server? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From steve at datamanagementsolutions.biz Thu Sep 22 20:46:46 2011 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Fri, 23 Sep 2011 13:46:46 +1200 Subject: [AccessD] Filtering with International Dates In-Reply-To: References: <8123BC58741345EF884BE7F4C21F6423@HAL9007><9FD44C573AD24BE3BA3BC91827E687F3@stevelaptop> Message-ID: <6E600A1F79A9453C9AAB7CA6A2529118@stevelaptop> Sorry, Charlotte, on this occasion I have to disagree with you. "Assumptions" doesn't come into it at all. I don't make assumptions about this stuff. I know my applications. I know whether there will be a time component in a Date/Time field, or in a criteria entered in an unbound textbox. No assumption. And if there is or could be a time component, I also know whether and how I need to deal with it. The approach to date criteria that I have mentioned to Rocky here has never come back to haunt me ... and I have used it a lot - hundreds of times. There might be a application development style consideration here. Except in very exceptional circumstances, if there is a time value, I normally have it in a separate field. Very seldom do I have a date and time combined in a single field. So the issue you raise seldom arises for me anyway. Regards Steve -----Original Message----- From: Charlotte Foust Sent: Friday, September 23, 2011 1:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates One thing I learned the hard way is that there is ALWAYS a time component, even if it's midnight. Using it on a consistent basis is a good idea because assumptions can come back to haunt you. Charlotte Foust On Thu, Sep 22, 2011 at 2:36 PM, Steve Schapel < steve at datamanagementsolutions.biz> wrote: > That's correct, Chartlotte. If there is a time component, I use CDbl. > > Regards > Steve > > -----Original Message----- From: Charlotte Foust > Sent: Friday, September 23, 2011 9:16 AM > > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Filtering with International Dates > > But a date isn't an integer of any length, so if you have times included > in > the date field, CLng would give you the wrong result. > > Charlotte Foust > > On Thu, Sep 22, 2011 at 2:08 PM, Steve Schapel < > steve at datamanagementsolutions.**biz > > wrote: > > Rocky >> >> As a person in a non-US zone, I have always used the CLng function in >> such >> circumstances. Works great. >> >> strSQL = strSQL & "fldPOPromisedDate <= " & CLng(Forms!frmPOReport!** >> txtLEPromisedDate) >> >> Regards >> Steve >> >> -----Original Message----- From: Rocky Smolin >> Sent: Friday, September 23, 2011 7:27 AM >> >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Filtering with International Dates >> >> Is that better or more reliable or more general than >> >> Format$(varDate, "\#mm\/dd\/yyyy\#")? >> >> Rocky >> >> -----Original Message----- >> From: >> accessd-bounces@**databaseadvi**sors.com >> >> >> > >> [mailto:accessd-bounces@**data**baseadvisors.com >> >> >> >] >> >> On Behalf Of Charlotte Foust >> Sent: Thursday, September 22, 2011 11:50 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Filtering with International Dates >> >> Here's what MS suggests: >> >> Function MakeUSDate(DateIn As Variant) As String >> >> ' Do nothing if the value is not a date. >> >> If Not IsDate(DateIn) Then Exit Function >> >> ' Convert the date to a U.S. Date format. >> >> MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & >> Year(DateIn) & "#" >> >> End Function >> >> I would suggest that if you're using SQL Server as an alternative BE you >> also have a function to return the proper date delimiter. >> >> Charlotte Foust >> On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin >> wrote: >> >> Dear List: >> >>> >>> Because I'm old and can't remember (and the archives are down), I was >>> told how to filter with dates so that if a user is using international >>> dates it doesn't matter. >>> >>> The following code: >>> >>> If Nz(Forms!frmPOReport!****txtGEPromisedDate) <> "" Then >>> If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " >>> strSQL = strSQL & "fldPOPromisedDate >= #" & >>> Forms!frmPOReport!****txtGEPromisedDate & "# " >>> End If >>> >>> If Nz(Forms!frmPOReport!****txtLEPromisedDate) <> "" Then >>> If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " >>> strSQL = strSQL & "fldPOPromisedDate <= #" & >>> Forms!frmPOReport!****txtLEPromisedDate & "# " >>> >>> strSQL eventually ends up in Me.Filter. >>> >>> Works good in the USA. :) Fails in Nicaragua. :( >>> >>> Was it CDate I was supposed to use? >>> >>> Sorry for the redux. >>> >>> TIA >>> >>> 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 >> >> > >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/****mailman/listinfo/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 jwcolby at colbyconsulting.com Thu Sep 22 21:31:29 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 22 Sep 2011 22:31:29 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: Message-ID: <4E7BEF81.7070607@colbyconsulting.com> > The only advantage I see to the wrapper is that you get to set a breakpoint. A little more help that that. You can add code that logs the change and the time of day, the workstation running the code or whatever you can think of that might help you troubleshoot the issue. You can add code that limits the values that can go into the variable. Perhaps the global is a date and the date should never be before D day, but somehow it is being set to the date of black friday. Perhaps it is a currency and should never be negative. Perhaps it is a long that should only be between 1000 and 10000. Perhaps it is a date that must always be between two other date variables. Properties exist because they allow you to do validations. Today (when you define the global variable) you cannot imagine that you would ever need such a thing, yet in six months you see six very good reasons. Properties can be read-only (from outside of the module) or write only (from outside of the module). Globals are just a variable that anyone can set at any time for any reason. I have lots of "globals" which can be set from inside of the module but only read from outside (through a property). These are "global" in that anything anywhere can read them, but not write them. There are lots of programmers that have thousands of variables that are global, everything in sight. There are others that have a dozen carefully selected. I have a dozen, carefully selected, but I do in fact have a dozen or so. I use a lot of class and module private variables in the header area (global to the class or module). The simple truth is that no variable should have scope beyond what is needed for that variable. Scope exists for a reason. Global would not exist if it were not occasionally necessary. Module and class "global" (private in the header of the module and class) exist because they are needed. They are still global but only to that module or class. If it were good practice to make everything global then having private keywords would be unnecessary. John W. Colby www.ColbyConsulting.com On 9/22/2011 6:40 PM, Kenneth Ismert wrote: >> Drew Wutka: >> ... >> So, even if you wrap your global variables inside of a >> class, you are still scoping an instance of that class >> globally, which makes it a global variable... > > My point exactly. The 'globals are bad' camp haven't explained how a code > wrapper that lets you change the value makes the global problem go away. > > And yes, there are common situations in Access where you want changeable > global values. > > The only advantage I see to the wrapper is that you get to set a breakpoint. > Little help when it fails in the field. > > -Ken From jwcolby at colbyconsulting.com Thu Sep 22 21:51:26 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 22 Sep 2011 22:51:26 -0400 Subject: [AccessD] SSDs and BE storage In-Reply-To: References: Message-ID: <4E7BF42E.1060602@colbyconsulting.com> The truth be known Ken I pretty much agree with the general assessment of SSDs. It is an immature technology, which you do have to study and plan for. It is not a drop in replacement for rotating media. It needs special handling. Like any other technology it has a bathtub curve wherein you are going to have failures in the first 90 days, and if you get past that point... And if you are in a position where you can afford SLC I highly recommend that. SSD is definitely a technology where the die shrink works for density but against reliability. OTOH it works against DRAM as well, yet I don't hear you railing against that. In point of fact we are rapidly getting to the point where die shrink works against most technology reliability. NASA does not send modern electronics into space precisely because high energy particles can cause significant charge displacement as the gates get so small, whereas the older technologies really did not have that issue. Servers use ECC precisely for the same reason, the gates are getting so small that they have to have safeguards against errors that were previously unheard of. So yes, I study the issues, I study the technology, I study the safeguards and I study the requirements in a way that I really don't need to do with rotating media. But I need the benefits enough to make the effort worthwhile. I used to swear by the top player and I used their product and I love the product that I bought from them two years ago. Today I have switched to another player because my old choice is not reliable (due to using 28 nm chips). I believe that long term, they will figure out how to use the 28 nm chips but today I won't use them, and there are players who agree and do not use them (yet). It is my job to know this stuff if I am going to try and use it, to know what I can use it for and what I cannot. John W. Colby www.ColbyConsulting.com On 9/22/2011 7:57 PM, Kenneth Ismert wrote: > I'm sorry that you felt my remarks were unkind. You have done your own > research, and have taken steps to mitigate the risks by limiting how your > SSDs are used. And you are planning for failure with a robust backup scheme > using traditional HDDs. > > Still, my first experience with an SSD out of the box was that the firmware > had a critical bug, which required an update that wasn't available, because > the maker needed a lot of time to test the revision. It seems likely that > the real cause is that the drive, being a consumer level product, didn't > have enough capacitance built-in to shut down gracefully during a power > outage. Maybe we made a poor choice, but the device was from a dominant > player in the industry. Not a confidence builder. > > Also, some of your own comments don't bolster your overall glowing > endorsement. To wit: the SSD's with the 34 micron chips are good but the new > 28 micron chips are bad? That sounds like caveat emptor to me. Problems with > scaling down and firmware issues sound to me like indicators of a technology > that is still not mature enough to be suitable as drop-in replacements for > HDDs in a broad range of server applications. > > And yes, the one source I quoted does sound like a guy fishing for > consulting work, but you conveniently neglected to criticize my other > reference, who said things more central to my point, and who seems more > credible. > > Certainly, the technology will mature, and adoption rates will climb. > Operating systems that optimize for SSDs will become more popular. Right > now, for our server installation, I'm content to wait it out. > > -Ken From rockysmolin at bchacc.com Thu Sep 22 22:17:04 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 22 Sep 2011 20:17:04 -0700 Subject: [AccessD] Filtering with International Dates In-Reply-To: References: <8123BC58741345EF884BE7F4C21F6423@HAL9007><96BC5E0E427B4876AB655C25A90D0C21@HAL9007> Message-ID: <6C72CCBD694243A09AF4AF68C9080368@HAL9007> What happens if you use CDbl on a date string with no time? R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Thursday, September 22, 2011 3:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Yes, Rocky, it always works. A proviso I think is that if you are using an unbound textbox to gather your date criteria, and then referring to that textbox in your code (Me.MyTextbox or Forms!MyForm!MyTextbox), the textbox's Format property should be set to a valid date format. Yes, if you need to cater to a time component (in my experience this is very rare in the type of circumstance you described), then you need to make sure you write your code accordingly, but that is also very easy. Regards Steve -----Original Message----- From: Rocky Smolin Sent: Friday, September 23, 2011 10:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Filtering with International Dates Cool. That would seem to be pretty universal then regardless of source format? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Thursday, September 22, 2011 2:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Rocky As a person in a non-US zone, I have always used the CLng function in such circumstances. Works great. strSQL = strSQL & "fldPOPromisedDate <= " & CLng(Forms!frmPOReport!txtLEPromisedDate) Regards Steve -----Original Message----- From: Rocky Smolin Sent: Friday, September 23, 2011 7:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Filtering with International Dates Is that better or more reliable or more general than Format$(varDate, "\#mm\/dd\/yyyy\#")? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, September 22, 2011 11:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Here's what MS suggests: Function MakeUSDate(DateIn As Variant) As String ' Do nothing if the value is not a date. If Not IsDate(DateIn) Then Exit Function ' Convert the date to a U.S. Date format. MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & Year(DateIn) & "#" End Function I would suggest that if you're using SQL Server as an alternative BE you also have a function to return the proper date delimiter. Charlotte Foust On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin wrote: > Dear List: > > Because I'm old and can't remember (and the archives are down), I was > told how to filter with dates so that if a user is using international > dates it doesn't matter. > > The following code: > > If Nz(Forms!frmPOReport!txtGEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate >= #" & > Forms!frmPOReport!txtGEPromisedDate & "# " > End If > > If Nz(Forms!frmPOReport!txtLEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate <= #" & > Forms!frmPOReport!txtLEPromisedDate & "# " > > strSQL eventually ends up in Me.Filter. > > Works good in the USA. :) Fails in Nicaragua. :( > > Was it CDate I was supposed to use? > > Sorry for the redux. > > TIA > > 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Thu Sep 22 22:35:06 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 22 Sep 2011 23:35:06 -0400 Subject: [AccessD] MySQL is broke now In-Reply-To: <57B14928257044BB86837DCA8EF3102B@creativesystemdesigns.com> References: <4E7B9282.5060606@colbyconsulting.com> <57B14928257044BB86837DCA8EF3102B@creativesystemdesigns.com> Message-ID: <4E7BFE6A.1060006@colbyconsulting.com> Well, I did an uninstall and reinstall and now I am able to connect to the MYSql server from outside of the VM, using the Hamachi IP, root and the password. Unfortunately from inside of the vm I still cannot get WampServer to talk to the server. It still gives me an error message about the username or password being wrong - (using password: No). I set the password in the phpmyadmin init file but no joy. What I have discovered is that when running MySQL as a service, wampserver will not start correctly. If I stop MySQL service, wampserver now starts (though it still cannot connect to MySQL) but it is now green instead of orange. however with Wampserver started MySQL service will not start. quitting wampserver allows the MySQL Service to start again. The bottom line is that I can now get at MySQL from outside of the VM with the service startwd, which I could not do with the service not started. I need access from outside of the vm, so i guess (for now) I just give up on wampserver. Sigh. John W. Colby www.ColbyConsulting.com On 9/22/2011 6:04 PM, Jim Lawrence wrote: > Post a message on OT_SQL...Hans will help you. ;-) > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, September 22, 2011 12:55 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] MySQL is broke now > > The service never ran. I did some stuff including modifying my.ini to add > federated. > > Doing that stopped the error log being generated but the service still would > not start. I found > something that discusses deleting the service (which worked) but the thing > that adds the service > does not work. > > My windows paste buffer is not working between my VM and my laptop so the > following is just typed in. > > The line is: > > mysql --install MySQL --defaults-file="C:\Program Files\MySQL\MySQL Server > 5.5\My.Ini" > > This does in fact add a line to the services but the problem is that the > service thinks that > MySQLd.exe is in thesame location as that my.ini whereas it is in fact down > in a bin under that dir. > > I.e. the "path to executable" is looking for the MySQLD.exe in the wrong > place and thus cannot be > started. > > This is getting annoying. I have been trying various things for hours and > just cannot get MySQL to > run as a service and now the entry in the service table (or registry?) is > corrupted. > > Sigh. > From steve at datamanagementsolutions.biz Fri Sep 23 00:19:10 2011 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Fri, 23 Sep 2011 17:19:10 +1200 Subject: [AccessD] Filtering with International Dates In-Reply-To: <6C72CCBD694243A09AF4AF68C9080368@HAL9007> References: <8123BC58741345EF884BE7F4C21F6423@HAL9007><96BC5E0E427B4876AB655C25A90D0C21@HAL9007> <6C72CCBD694243A09AF4AF68C9080368@HAL9007> Message-ID: <4FE12949B2B744C3B2A4694407272292@stevelaptop> Yes, Rocky, you could use CDbl in all cases, if you wanted a "catchall" >From Immediate Window: ? CLng(Date()) 40809 ? CDbl(Date()) 40809 ? CLng(Now()) 40810 (it's afternoon here - as identified by Stuart) ? CDbl(Now()) 40809.7191203704 Regards Steve -----Original Message----- From: Rocky Smolin Sent: Friday, September 23, 2011 3:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Filtering with International Dates What happens if you use CDbl on a date string with no time? R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Thursday, September 22, 2011 3:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Yes, Rocky, it always works. A proviso I think is that if you are using an unbound textbox to gather your date criteria, and then referring to that textbox in your code (Me.MyTextbox or Forms!MyForm!MyTextbox), the textbox's Format property should be set to a valid date format. Yes, if you need to cater to a time component (in my experience this is very rare in the type of circumstance you described), then you need to make sure you write your code accordingly, but that is also very easy. Regards Steve -----Original Message----- From: Rocky Smolin Sent: Friday, September 23, 2011 10:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Filtering with International Dates Cool. That would seem to be pretty universal then regardless of source format? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Thursday, September 22, 2011 2:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Rocky As a person in a non-US zone, I have always used the CLng function in such circumstances. Works great. strSQL = strSQL & "fldPOPromisedDate <= " & CLng(Forms!frmPOReport!txtLEPromisedDate) Regards Steve -----Original Message----- From: Rocky Smolin Sent: Friday, September 23, 2011 7:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Filtering with International Dates Is that better or more reliable or more general than Format$(varDate, "\#mm\/dd\/yyyy\#")? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, September 22, 2011 11:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Here's what MS suggests: Function MakeUSDate(DateIn As Variant) As String ' Do nothing if the value is not a date. If Not IsDate(DateIn) Then Exit Function ' Convert the date to a U.S. Date format. MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & Year(DateIn) & "#" End Function I would suggest that if you're using SQL Server as an alternative BE you also have a function to return the proper date delimiter. Charlotte Foust On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin wrote: > Dear List: > > Because I'm old and can't remember (and the archives are down), I was > told how to filter with dates so that if a user is using international > dates it doesn't matter. > > The following code: > > If Nz(Forms!frmPOReport!txtGEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate >= #" & > Forms!frmPOReport!txtGEPromisedDate & "# " > End If > > If Nz(Forms!frmPOReport!txtLEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate <= #" & > Forms!frmPOReport!txtLEPromisedDate & "# " > > strSQL eventually ends up in Me.Filter. > > Works good in the USA. :) Fails in Nicaragua. :( > > Was it CDate I was supposed to use? > > Sorry for the redux. > > TIA > > 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 mwp.reid at qub.ac.uk Fri Sep 23 02:24:03 2011 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 23 Sep 2011 08:24:03 +0100 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> <511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> Message-ID: <631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> Jim Put only the mdb file on the web server running IIS and you should be Ok to go. You do not need to install office or Access on the web server for it to work. Martin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: 23 September 2011 02:32 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Well, you have me at a disadvantage as I do not know what you mean? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 3:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Nope.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 5:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Does that mean Access have to be installed on the IIS server? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Sep 23 05:11:26 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 23 Sep 2011 12:11:26 +0200 Subject: [AccessD] Filtering with International Dates Message-ID: Hi Rocky You are a clever man not to be fooled! There really is no reason to convert dates to numerals. If you can use the date value, use it as is, if not - as often when you build SQL strings - convert it to a proper string expression. The proven method is to use Format and the ISO format: Format(somedatetime, "yyyy\/mm\/dd hh\:nn\:ss") For JET SQL this must be wrapped in #..#, for SQL Server it is single quotes '..' You may get away with using the US mm/dd/yyyy format but it will fail for ADO and FindFirst, thus you can just as well make it a habit to use the ISO format which now is the preferred for SQL Server as well. If you need to cut off a time part to obtain the date part only, a safe and the fastest method is Fix: Fix(somedatetime) because it: - works correctly for dates prior to 1899-12-30 - returns data type date - always rounds off - is native to SQL The use of CDbl or CLng is not very useful. CDbl just returns the underlying data type (Double) of data type Date so you should CDate instead, and CLng will round PM time parts incorrectly, and they both fail for a clean string input like "5/3/2005" which CDate does not. If you need to convert strings to date and time, use CDate for time expressions or to include a time part with a date, or DateValue for dates where the time part should be excluded. When to use date value and when a string expression for a date value is quite simple. When a function is used in SQL, it should return a date value; when you build a SQL string it must be a string expression. Thus, as mentioned by Stuart, this will work because CDate and DateValue (and TimeValue) understands a string formatted as the local settings of Windows: "where [datefield] = Datevalue('" & txtDate & "')" as will this: "where [datefield] = #" & Format(DateValue(txtDate), "yyyy\/mm\/dd") & "#" which, as Format - when using a date format - will try to read the value to format as a date, can be reduced to: "where [datefield] = #" & Format(txtDate, "yyyy\/mm\/dd") & "#" /gustav >>> rockysmolin at bchacc.com 23-09-2011 05:17 >>> What happens if you use CDbl on a date string with no time? R From rockysmolin at bchacc.com Fri Sep 23 07:35:36 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 23 Sep 2011 05:35:36 -0700 Subject: [AccessD] Filtering with International Dates In-Reply-To: References: Message-ID: <6EFC52761EBA4B339988DC086520C56C@HAL9007> Gustav: Dang - it's like taking a class. :) I found this on the web as you suggest: Format$(Forms!frmPOReport!txtGEPromisedDate, "\#mm\/dd\/yyyy\#") (Don't know why the $ after Format but it compiles OK) And it seems to work. But I have to comb through my manufacturing app now - which is a very date driven app, lots of reports where I give the user the option to filter by date - and change those occurrences to something which will be as bulletproof as possible. It looks like that's the best approach in your opinion? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, September 23, 2011 3:11 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Filtering with International Dates Hi Rocky You are a clever man not to be fooled! There really is no reason to convert dates to numerals. If you can use the date value, use it as is, if not - as often when you build SQL strings - convert it to a proper string expression. The proven method is to use Format and the ISO format: Format(somedatetime, "yyyy\/mm\/dd hh\:nn\:ss") For JET SQL this must be wrapped in #..#, for SQL Server it is single quotes '..' You may get away with using the US mm/dd/yyyy format but it will fail for ADO and FindFirst, thus you can just as well make it a habit to use the ISO format which now is the preferred for SQL Server as well. If you need to cut off a time part to obtain the date part only, a safe and the fastest method is Fix: Fix(somedatetime) because it: - works correctly for dates prior to 1899-12-30 - returns data type date - always rounds off - is native to SQL The use of CDbl or CLng is not very useful. CDbl just returns the underlying data type (Double) of data type Date so you should CDate instead, and CLng will round PM time parts incorrectly, and they both fail for a clean string input like "5/3/2005" which CDate does not. If you need to convert strings to date and time, use CDate for time expressions or to include a time part with a date, or DateValue for dates where the time part should be excluded. When to use date value and when a string expression for a date value is quite simple. When a function is used in SQL, it should return a date value; when you build a SQL string it must be a string expression. Thus, as mentioned by Stuart, this will work because CDate and DateValue (and TimeValue) understands a string formatted as the local settings of Windows: "where [datefield] = Datevalue('" & txtDate & "')" as will this: "where [datefield] = #" & Format(DateValue(txtDate), "yyyy\/mm\/dd") & "#" which, as Format - when using a date format - will try to read the value to format as a date, can be reduced to: "where [datefield] = #" & Format(txtDate, "yyyy\/mm\/dd") & "#" /gustav >>> rockysmolin at bchacc.com 23-09-2011 05:17 >>> What happens if you use CDbl on a date string with no time? R -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Sep 23 07:59:07 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 23 Sep 2011 14:59:07 +0200 Subject: [AccessD] Filtering with International Dates Message-ID: Hi Rocky Yes, that will work. It will return #09/23/2011# for today. I've never noticed any difference between Format and Format$ (and all the other old BASIC string handling functions with or without a trailing $). SomeFunction$ is claimed to always return a string, but I've never found, say, Trim to return anything else than a string. Maybe it is just to be compatible with old QBasic or similar. /gustav >>> rockysmolin at bchacc.com 23-09-2011 14:35 >>> Gustav: Dang - it's like taking a class. :) I found this on the web as you suggest: Format$(Forms!frmPOReport!txtGEPromisedDate, "\#mm\/dd\/yyyy\#") (Don't know why the $ after Format but it compiles OK) And it seems to work. But I have to comb through my manufacturing app now - which is a very date driven app, lots of reports where I give the user the option to filter by date - and change those occurrences to something which will be as bulletproof as possible. It looks like that's the best approach in your opinion? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, September 23, 2011 3:11 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Filtering with International Dates Hi Rocky You are a clever man not to be fooled! There really is no reason to convert dates to numerals. If you can use the date value, use it as is, if not - as often when you build SQL strings - convert it to a proper string expression. The proven method is to use Format and the ISO format: Format(somedatetime, "yyyy\/mm\/dd hh\:nn\:ss") For JET SQL this must be wrapped in #..#, for SQL Server it is single quotes '..' You may get away with using the US mm/dd/yyyy format but it will fail for ADO and FindFirst, thus you can just as well make it a habit to use the ISO format which now is the preferred for SQL Server as well. If you need to cut off a time part to obtain the date part only, a safe and the fastest method is Fix: Fix(somedatetime) because it: - works correctly for dates prior to 1899-12-30 - returns data type date - always rounds off - is native to SQL The use of CDbl or CLng is not very useful. CDbl just returns the underlying data type (Double) of data type Date so you should CDate instead, and CLng will round PM time parts incorrectly, and they both fail for a clean string input like "5/3/2005" which CDate does not. If you need to convert strings to date and time, use CDate for time expressions or to include a time part with a date, or DateValue for dates where the time part should be excluded. When to use date value and when a string expression for a date value is quite simple. When a function is used in SQL, it should return a date value; when you build a SQL string it must be a string expression. Thus, as mentioned by Stuart, this will work because CDate and DateValue (and TimeValue) understands a string formatted as the local settings of Windows: "where [datefield] = Datevalue('" & txtDate & "')" as will this: "where [datefield] = #" & Format(DateValue(txtDate), "yyyy\/mm\/dd") & "#" which, as Format - when using a date format - will try to read the value to format as a date, can be reduced to: "where [datefield] = #" & Format(txtDate, "yyyy\/mm\/dd") & "#" /gustav >>> rockysmolin at bchacc.com 23-09-2011 05:17 >>> What happens if you use CDbl on a date string with no time? R From accessd at shaw.ca Fri Sep 23 11:08:18 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 23 Sep 2011 09:08:18 -0700 Subject: [AccessD] MS Access with IIS In-Reply-To: <631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> <511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> <631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> Message-ID: Martin: Thanks for that. I am just use to installing a database before being able to use its resources so it does seem strange. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, September 23, 2011 12:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Jim Put only the mdb file on the web server running IIS and you should be Ok to go. You do not need to install office or Access on the web server for it to work. Martin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: 23 September 2011 02:32 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Well, you have me at a disadvantage as I do not know what you mean? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 3:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Nope.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 5:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Does that mean Access have to be installed on the IIS server? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Sep 23 11:55:04 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 23 Sep 2011 12:55:04 -0400 Subject: [AccessD] MySQL: First table migrated (sorta) Message-ID: <4E7CB9E8.7070403@colbyconsulting.com> I used method 2 of this: http://25yearsofprogramming.com/blog/2010/20100718.htm to migrate my first table from Access to MySQL. It created the table structure and moved the data. Very cool. I am not yet even minimally conversant in any MySQL environment that allows me to see / modify the structure in a gui so I am flying blind. I had high hopes for Wampserver but there are a few things to figure out there before I will be able to use that. Anyway, this method did not make the PKID a key. I am not yet able to see the data types, whether it made the PKID an autoincrement, whether it will pick up on the next number and so forth, but the data moved and that all by itself is huge. -- John W. Colby www.ColbyConsulting.com From delam at zyterra.com Fri Sep 23 13:39:21 2011 From: delam at zyterra.com (Debbie) Date: Fri, 23 Sep 2011 13:39:21 -0500 Subject: [AccessD] OT: Excel Question Message-ID: <766DD8D0-7FA9-45BA-8643-1B8D315B08E1@zyterra.com> I have a database pushing data out to an Excel 2007 template. From this data I am creating a variety of graphs that are stored in the template. Everything works fine except the relative scales on 2 of the graphs. They are side by side and the customer is adamant that the top and bottom line up. This seems really easy, but it is not. One graph has a dynamic y axis because the values can vary a lot. When they do vary, the whole chart area will change height just a bit. Is there a way to fix the total chart height, while still allowing the y axis to automatically determine the best tick marks and scaling within that area? Debbie Sent from my iPhone From DWUTKA at Marlow.com Fri Sep 23 14:52:29 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Fri, 23 Sep 2011 14:52:29 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: Message-ID: Ah, but the 'fails in the field' issue is a TOTALLY separate issue. A global variable will ONLY fail in the SAME way that a modular or procedural variable will. Let's see, what are the 'fail' issues with global variables? #1. 'A global variable can be changed from anywhere.... so it could get a bad value'. Really? So let's look at a procedural variable: Sub Main() Dim x as Long X=1+5 X=0 Msgbox 10/x End Sub Holy Division by Zero Batman. We just 'broke' a procedural variable! Darn it, no more using those!!! We could also try to set X="Hello", again, fail. A variable is a representation of something, whether it is an object, or a value. If we do not know how to handle that representation, it isn't a matter of scope, it's a matter of technique. #2. 'Ambiguous Name'.... Ok, this should really be a no brainer....ummmmm Naming Convetions? #3. A hard stop will clear a Global Variable's value...... - Ok, first, this only applies to VBA, not VB or .Net. Stopping the code in those platforms ends the program. -Next, it also clears the values of modular and procedural variables. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Thursday, September 22, 2011 5:40 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Global Vars (was Ambiguous Name) > Drew Wutka: > ... > So, even if you wrap your global variables inside of a class, you are > still scoping an instance of that class globally, which makes it a > global variable... My point exactly. The 'globals are bad' camp haven't explained how a code wrapper that lets you change the value makes the global problem go away. And yes, there are common situations in Access where you want changeable global values. The only advantage I see to the wrapper is that you get to set a breakpoint. Little help when it fails in the field. -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Fri Sep 23 14:55:39 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Fri, 23 Sep 2011 14:55:39 -0500 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com><511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> Message-ID: Accessing an .mdb on a web server (like IIS) is identical to accessing the .mdb from your programming interface itself. For example, if you want to use classic ASP, then you are using VBScript, and VBScript can access an .mdb using ADO. Now, years ago, I believe you had to install ADO separately, but I think since XP, that ADO is included, not 100% positive on that. If you are using .Net, (ie, ASP.Net), then you have the .Net runtimes installed on the server. What platform are you using to program with, and I can point you in a better direction. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 8:32 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Well, you have me at a disadvantage as I do not know what you mean? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 3:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Nope.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 5:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Does that mean Access have to be installed on the IIS server? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Fri Sep 23 15:03:21 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Fri, 23 Sep 2011 15:03:21 -0500 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com><511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com><631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> Message-ID: Oh, LOL, I see where you disconnect is. Ya, after dealing with a server side db, I can see where back stepping to an .mdb would seem foreign. Susan and I co-wrote an article about using an Access .mdb on IIS. If you can deal with the size limit. The lack of triggers and transaction logging. AND most importantly, if you can properly index it, and realize that your tables should be well normalized, because you aren't going to get the same optimization out of a saved query in an .mdb that you are going to get in 'view' in SQL Server, then an .mdb is a pretty formidable database system residing on a web server. Our Intranet here at work is riddled with .mdb's running in the back ground. NEVER corrupt. Never have problems with the databases themselves. In fact, for a while, I was using an .mdb to log the IIS transactions, but that fills up 2 gigs in a heart beat.... only issue was the size, no performance degradation noticeable, and it ran like a champ. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, September 23, 2011 11:08 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Martin: Thanks for that. I am just use to installing a database before being able to use its resources so it does seem strange. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, September 23, 2011 12:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Jim Put only the mdb file on the web server running IIS and you should be Ok to go. You do not need to install office or Access on the web server for it to work. Martin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: 23 September 2011 02:32 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Well, you have me at a disadvantage as I do not know what you mean? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 3:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Nope.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 5:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Does that mean Access have to be installed on the IIS server? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From fuller.artful at gmail.com Fri Sep 23 15:04:50 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 23 Sep 2011 16:04:50 -0400 Subject: [AccessD] MySQL: First table migrated (sorta) In-Reply-To: <4E7CB9E8.7070403@colbyconsulting.com> References: <4E7CB9E8.7070403@colbyconsulting.com> Message-ID: Grab MySQLWorkbench from the MySQL site. If that doesn't suit your fancy, there are alternatives. Just Google MySQL UI. HTH, Arthur From fuller.artful at gmail.com Fri Sep 23 15:08:29 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 23 Sep 2011 16:08:29 -0400 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> <511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> <631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> Message-ID: I keep hearing about corrupted MDBs but in at least a decade of working with Access, this has never happened to me. Now that I've said that, it will probably happen tomorrow, so I'm immediately going to do a huge backup! Arthur From jwcolby at colbyconsulting.com Fri Sep 23 15:16:01 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 23 Sep 2011 16:16:01 -0400 Subject: [AccessD] MySQL: First table migrated (sorta) In-Reply-To: References: <4E7CB9E8.7070403@colbyconsulting.com> Message-ID: <4E7CE901.6090400@colbyconsulting.com> > Grab MySQLWorkbench from the MySQL site. I have this. John W. Colby www.ColbyConsulting.com On 9/23/2011 4:04 PM, Arthur Fuller wrote: > Grab MySQLWorkbench from the MySQL site. If that doesn't suit your fancy, > there are alternatives. Just Google MySQL UI. > > HTH, > Arthur From delam at zyterra.com Fri Sep 23 15:24:26 2011 From: delam at zyterra.com (Debbie) Date: Fri, 23 Sep 2011 15:24:26 -0500 Subject: [AccessD] OT: Excel Question In-Reply-To: <766DD8D0-7FA9-45BA-8643-1B8D315B08E1@zyterra.com> References: <766DD8D0-7FA9-45BA-8643-1B8D315B08E1@zyterra.com> Message-ID: I managed to answer my own question. There is a very inobvious menu to do this and tell it not to resize or move with data changes. Sadly it is the sort of thing that can be demonstrated, but really hard to describe, so I am not sure I can contribute the solution to the archives. Debbie Sent from my iPhone On Sep 23, 2011, at 1:39 PM, Debbie wrote: > I have a database pushing data out to an Excel 2007 template. From > this data I am creating a variety of graphs that are stored in the > template. > > Everything works fine except the relative scales on 2 of the graphs. > They are side by side and the customer is adamant that the top and > bottom line up. This seems really easy, but it is not. One graph has > a dynamic y axis because the values can vary a lot. When they do > vary, the whole chart area will change height just a bit. > > Is there a way to fix the total chart height, while still allowing > the y axis to automatically determine the best tick marks and > scaling within that area? > > Debbie > > Sent from my iPhone > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri Sep 23 15:37:48 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 23 Sep 2011 13:37:48 -0700 Subject: [AccessD] OT: Excel Question In-Reply-To: <766DD8D0-7FA9-45BA-8643-1B8D315B08E1@zyterra.com> References: <766DD8D0-7FA9-45BA-8643-1B8D315B08E1@zyterra.com> Message-ID: <48B855C8E3374DA4A43498380A97156B@HAL9007> Are you asking to fix it from the VBA in the Access mdb? If so, I've been able to automate everything in Excel from Access by recording a macro in Excel to do what I want and then cribbing the Excel code into the Access module. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Debbie Sent: Friday, September 23, 2011 11:39 AM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Excel Question I have a database pushing data out to an Excel 2007 template. From this data I am creating a variety of graphs that are stored in the template. Everything works fine except the relative scales on 2 of the graphs. They are side by side and the customer is adamant that the top and bottom line up. This seems really easy, but it is not. One graph has a dynamic y axis because the values can vary a lot. When they do vary, the whole chart area will change height just a bit. Is there a way to fix the total chart height, while still allowing the y axis to automatically determine the best tick marks and scaling within that area? Debbie Sent from my iPhone -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kismert at gmail.com Fri Sep 23 15:40:36 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Fri, 23 Sep 2011 15:40:36 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) Message-ID: > Drew Wutka: > A global variable will ONLY fail in the SAME way that a modular or > procedural variable will. > ... > #1. 'A global variable can be changed from anywhere.... so it could get > a bad value'. Really? So let's look at a procedural variable: > ... > Holy Division by Zero Batman. We just 'broke' a procedural variable! ... > You're right, but for one TINY difference ... in your procedural example, you can raise an error up the call chain, and immediately finger the bad actor. In all of the global parameter schemes put forth so far, you don't get that. The failure chain is: 1. Good actor sets global. Time goes past... 2. Bad actor changes global to a 'bad' value, which is accepted without error... 3. Other actor uses global -- BAM! BIF! POW! error. But who did the dirty deed? You can't easily tell. This is the crux of the 'globals are bad' arguement. Without knowing WHO made each change, you're stuck with a tedious debugging mess. But again, talking to the 'globals are bad' camp, I say your solutions so far don't solve the problem. How do you propose fixing the problem? -Ken From jwcolby at colbyconsulting.com Fri Sep 23 15:49:59 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 23 Sep 2011 16:49:59 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: Message-ID: <4E7CF0F7.4050501@colbyconsulting.com> >How do you propose fixing the problem? 1) primarily by limiting the number of globals so that there are fewer for bad actors to modify. 2) By wrapping them in property statements so that they can be easily modified to perform checks. 3) By making them a property of the module which needs to set it (if it is only modified by one "thing") and making the property read-only to the rest. There is no magic answer, just a variety of techniques to make the problem smaller and smaller. John W. Colby www.ColbyConsulting.com On 9/23/2011 4:40 PM, Kenneth Ismert wrote: >> Drew Wutka: >> A global variable will ONLY fail in the SAME way that a modular or >> procedural variable will. >> ... >> #1. 'A global variable can be changed from anywhere.... so it could get >> a bad value'. Really? So let's look at a procedural variable: >> ... >> Holy Division by Zero Batman. We just 'broke' a procedural variable! ... >> > > You're right, but for one TINY difference ... in your procedural example, > you can raise an error up the call chain, and immediately finger the bad > actor. > > In all of the global parameter schemes put forth so far, you don't get that. > The failure chain is: > 1. Good actor sets global. Time goes past... > 2. Bad actor changes global to a 'bad' value, which is accepted without > error... > 3. Other actor uses global -- BAM! BIF! POW! error. > > But who did the dirty deed? You can't easily tell. This is the crux of the > 'globals are bad' arguement. > > Without knowing WHO made each change, you're stuck with a tedious debugging > mess. > > But again, talking to the 'globals are bad' camp, I say your solutions so > far don't solve the problem. How do you propose fixing the problem? > > -Ken From delam at zyterra.com Fri Sep 23 15:51:29 2011 From: delam at zyterra.com (Debbie) Date: Fri, 23 Sep 2011 15:51:29 -0500 Subject: [AccessD] OT: Excel Question In-Reply-To: <48B855C8E3374DA4A43498380A97156B@HAL9007> References: <766DD8D0-7FA9-45BA-8643-1B8D315B08E1@zyterra.com> <48B855C8E3374DA4A43498380A97156B@HAL9007> Message-ID: <1E0FC6BB-EFBC-4008-B581-26771FC3115F@zyterra.com> I do that myself all the time. Trouble is I couldn't find how to do it in Excel. Until I found that, there was no macro to record and no code to crib. Debbie Sent from my iPhone On Sep 23, 2011, at 3:37 PM, "Rocky Smolin" wrote: > Are you asking to fix it from the VBA in the Access mdb? If so, I've > been > able to automate everything in Excel from Access by recording a > macro in > Excel to do what I want and then cribbing the Excel code into the > Access > module. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Debbie > Sent: Friday, September 23, 2011 11:39 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] OT: Excel Question > > I have a database pushing data out to an Excel 2007 template. From > this data > I am creating a variety of graphs that are stored in the template. > > Everything works fine except the relative scales on 2 of the graphs. > They are side by side and the customer is adamant that the top and > bottom > line up. This seems really easy, but it is not. One graph has a > dynamic y > axis because the values can vary a lot. When they do vary, the whole > chart > area will change height just a bit. > > Is there a way to fix the total chart height, while still allowing > the y > axis to automatically determine the best tick marks and scaling > within that > area? > > Debbie > > Sent from my iPhone > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Fri Sep 23 15:52:12 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Fri, 23 Sep 2011 15:52:12 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) Message-ID: Good advice. The points I want to emphasize are: * Write privately, read publicly is inherently safer scheme than globals anybody can change * A small number of carefully defined globals are much more managable than the practice of indescriminately using globals by default * Coding for the smallest scope possible, while indisputably good practice, is also a good way to limit the harm abuse of globals can cause -Ken jwcolby: > > The only advantage I see to the wrapper is that you get to set a > breakpoint. > > A little more help that that. You can add code that logs the change and > the time of day, the workstation running the code or whatever you can think > of that might help you troubleshoot the issue. > > You can add code that limits the values that can go into the variable. > Perhaps the global is a date and the date should never be before D day, but > somehow it is being set to the date of black friday. Perhaps it is a > currency and should never be negative. Perhaps it is a long that should > only be between 1000 and 10000. Perhaps it is a date that must always be > between two other date variables. > > Properties exist because they allow you to do validations. Today (when you > define the global variable) you cannot imagine that you would ever need such > a thing, yet in six months you see six very good reasons. > > Properties can be read-only (from outside of the module) or write only > (from outside of the module). Globals are just a variable that anyone can > set at any time for any reason. > > I have lots of "globals" which can be set from inside of the module but > only read from outside (through a property). These are "global" in that > anything anywhere can read them, but not write them. > > There are lots of programmers that have thousands of variables that are > global, everything in sight. There are others that have a dozen carefully > selected. I have a dozen, carefully selected, but I do in fact have a dozen > or so. I use a lot of class and module private variables in the header area > (global to the class or module). > > The simple truth is that no variable should have scope beyond what is > needed for that variable. Scope exists for a reason. Global would not exist > if it were not occasionally necessary. Module and class "global" (private > in the header of the module and class) exist because they are needed. They > are still global but only to that module or class. If it were good practice > to make everything global then having private keywords would be unnecessary. > > John W. Colby > www.ColbyConsulting.com > > From accessd at shaw.ca Fri Sep 23 17:49:45 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 23 Sep 2011 15:49:45 -0700 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> <511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> Message-ID: Drew: Server 2003 Developers edition with IIS version 6, fully tricked out, runs ASP classic as well as a number of databases protocols and Extensions etc. TIA Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Friday, September 23, 2011 12:56 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Accessing an .mdb on a web server (like IIS) is identical to accessing the .mdb from your programming interface itself. For example, if you want to use classic ASP, then you are using VBScript, and VBScript can access an .mdb using ADO. Now, years ago, I believe you had to install ADO separately, but I think since XP, that ADO is included, not 100% positive on that. If you are using .Net, (ie, ASP.Net), then you have the .Net runtimes installed on the server. What platform are you using to program with, and I can point you in a better direction. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 8:32 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Well, you have me at a disadvantage as I do not know what you mean? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 3:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Nope.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 5:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Does that mean Access have to be installed on the IIS server? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 23 18:02:53 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 23 Sep 2011 16:02:53 -0700 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> <511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> <631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> Message-ID: Drew: Unfortunately, I have little wiggle room. This project is a client's long time baby and they require someone to fix up the interface and to just leave the backend alone. He has no budget or concept of web designing and he really wants to help. So he can save money...yeah. :-( I swore I would never get involved with this type of site but he begged and pulled every favour and I relented. No good deed ever goes unpunished. Now I have to get it running on my development server before proceeding...and I would like to know what I am facing before the clock starts running...or in this case walking. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Friday, September 23, 2011 1:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Oh, LOL, I see where you disconnect is. Ya, after dealing with a server side db, I can see where back stepping to an .mdb would seem foreign. Susan and I co-wrote an article about using an Access .mdb on IIS. If you can deal with the size limit. The lack of triggers and transaction logging. AND most importantly, if you can properly index it, and realize that your tables should be well normalized, because you aren't going to get the same optimization out of a saved query in an .mdb that you are going to get in 'view' in SQL Server, then an .mdb is a pretty formidable database system residing on a web server. Our Intranet here at work is riddled with .mdb's running in the back ground. NEVER corrupt. Never have problems with the databases themselves. In fact, for a while, I was using an .mdb to log the IIS transactions, but that fills up 2 gigs in a heart beat.... only issue was the size, no performance degradation noticeable, and it ran like a champ. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, September 23, 2011 11:08 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Martin: Thanks for that. I am just use to installing a database before being able to use its resources so it does seem strange. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, September 23, 2011 12:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Jim Put only the mdb file on the web server running IIS and you should be Ok to go. You do not need to install office or Access on the web server for it to work. Martin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: 23 September 2011 02:32 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Well, you have me at a disadvantage as I do not know what you mean? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 3:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Nope.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 5:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Does that mean Access have to be installed on the IIS server? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Sat Sep 24 06:28:02 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 24 Sep 2011 07:28:02 -0400 Subject: [AccessD] SSDs and BE storage In-Reply-To: <4E7BF42E.1060602@colbyconsulting.com> References: <4E7BF42E.1060602@colbyconsulting.com> Message-ID: <000001cc7aad$05d94e00$118bea00$@net> I just saw this on Amazon.com - Seagate is making a Momentus hard drive and they are branding it as a "hybrid" - somewhere in between an SSD and a standard spinning platter hard drive. Reviews are very good....and the price is right : $100 for 500 gigs. http://www.amazon.com/Seagate-Momentus-7200RPM-Hybrid-ST95005620AS-Bare/dp/B 003NSBF32/ref=sr_1_1?s=electronics&ie=UTF8&qid=1316863239&sr=1-1 From shamil at smsconsulting.spb.ru Sat Sep 24 07:04:51 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 24 Sep 2011 16:04:51 +0400 Subject: [AccessD] OT: OpenXML SDK 2.0, MS SharePoint Word & Excel Automation Services etc. Message-ID: <92C501A9AFDE4B50B0117108E43F1BBF@nant> Hi All -- I wonder does anybody here uses subj? Here are some useful links: Open XML SDK + Word Automation Services Presentation at PDC (if you'll watch this presentation don't miss the info on Open XML SDK tools presented approximately in the middle of this presentation - it's rather impressive): http://blogs.msdn.com/b/brian_jones/archive/2009/11/23/open-xml-sdk-word-aut omation-services-presentation-at-pdc.aspx Folks asking MS to not bind Word Automation services to MS SharePoint: http://social.msdn.microsoft.com/Forums/en-US/oxmlsdk/thread/f0f09c56-fb41-4 43c-909d-ee467fec7d12 My question: do you know if MS Word Automation Services can be hosted together with MS SharePoint hosting? http://mosshosting.asphostportal.com/?p=252 FYI: Rather pricey alternative solution for "Automation-free" MS Word, Excel etc. documents creating and manipulation - third-party .NET class library: "ASPOSE.Total for .NET" http://www.aspose.com/categories/.net-components/aspose.total-for-.net/defau lt.aspx Thank you. -- Shamil From jwcolby at colbyconsulting.com Sat Sep 24 07:16:09 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Sep 2011 08:16:09 -0400 Subject: [AccessD] SSDs and BE storage In-Reply-To: <000001cc7aad$05d94e00$118bea00$@net> References: <4E7BF42E.1060602@colbyconsulting.com> <000001cc7aad$05d94e00$118bea00$@net> Message-ID: <4E7DCA09.8020908@colbyconsulting.com> It is puzzling that they limited it to 4 gb of ssd. Giving it 16 or 32 gigs would have really opened up what it could cache to the point of having most of what my laptop uses on a daily basis. http://www.overclockersclub.com/reviews/seagate_momentus_xt_500gb/ The review likes it but it clearly is not an ssd killer. Still I think I am going to give it a whirl for my laptop. I have been waiting for the big (220g) ssds to drop to something I am willing to spend on my laptop and they simply are not doing so. John W. Colby www.ColbyConsulting.com On 9/24/2011 7:28 AM, Mark Simms wrote: > http://www.amazon.com/Seagate-Momentus-7200RPM-Hybrid-ST95005620AS-Bare/dp/B > 003NSBF32/ref=sr_1_1?s=electronics&ie=UTF8&qid=1316863239&sr=1-1 From marksimms at verizon.net Sat Sep 24 10:36:55 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 24 Sep 2011 11:36:55 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: Message-ID: <006201cc7acf$cad7eff0$6087cfd0$@net> > 2. Bad actor changes global to a 'bad' value, which is accepted without > error... This does not happen if you use a Property with some validation in the Let or Set. MZTOOLZ has a global-to-property converter - probably for this very reason. > 3. Other actor uses global -- BAM! BIF! POW! error. > > But who did the dirty deed? You can't easily tell. This is the crux of > the 'globals are bad' arguement. > Without knowing WHO made each change, you're stuck with a tedious > debugging mess. > VBA "Find" is your friend here....however, that is worthless if you've got 10,000 lines of code and 40 places where the global is being referenced. However, On the other hand, Property is no help in this one either....UNLESS you are smart enough to code a property PARAMETER which indicates the Caller source proc or function name. Then you can quickly trace within the Property code definition each caller to determine where the problem originated. Once discovered you can hopefully add additional validation code to insure that condition never occurs again. From marksimms at verizon.net Sat Sep 24 10:39:48 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 24 Sep 2011 11:39:48 -0400 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> <511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> <631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> Message-ID: <006301cc7ad0$319fe350$94dfa9f0$@net> > The lack of triggers and transaction logging These are now "in" the 2010 ACCDB format and run-time. From marksimms at verizon.net Sat Sep 24 10:43:54 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 24 Sep 2011 11:43:54 -0400 Subject: [AccessD] SSDs and BE storage In-Reply-To: <4E7DCA09.8020908@colbyconsulting.com> References: <4E7BF42E.1060602@colbyconsulting.com> <000001cc7aad$05d94e00$118bea00$@net> <4E7DCA09.8020908@colbyconsulting.com> Message-ID: <006401cc7ad0$c4395660$4cac0320$@net> Hybrid is at 20 cents per gig....pure SSD is nearly $2 per gig !! 10:1 ratio.. That being said, demand for SSD is far outstripping the supply IMHO. Therefore SSD prices are likely not to drop in the near future. > Still I think I am going to give it a whirl for my laptop. I have been > waiting for the big (220g) > ssds to drop to something I am willing to spend on my laptop and they > simply are not doing so. From john at winhaven.net Fri Sep 23 11:05:52 2011 From: john at winhaven.net (John Bartow) Date: Fri, 23 Sep 2011 11:05:52 -0500 Subject: [AccessD] SSDs and BE storage In-Reply-To: <4E7DCA09.8020908@colbyconsulting.com> References: <4E7BF42E.1060602@colbyconsulting.com> <000001cc7aad$05d94e00$118bea00$@net> <4E7DCA09.8020908@colbyconsulting.com> Message-ID: <019001cc7a0a$ab1c6c10$01554430$@winhaven.net> Something I think I would do on ssds would be to turn off system restore (VSS) for that drive. If only storing data then system restore serves no purpose to begin with. It would reduce disk space usage, write overhead and save all of those read/write count limits on that particular area of the drive. From DWUTKA at Marlow.com Sat Sep 24 11:08:50 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Sat, 24 Sep 2011 11:08:50 -0500 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com><511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com><631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> Message-ID: I haven't seen one in a while, but have certainly seen my share. Almost always it is due to network issues. I wrote a VB 6 program that was a multithreaded app that would corrupt the .mdb it was using, but only a 97 .mdb, 2000 or later, no corruption. (it wrote, constantly, to the same .mdb, from each thread....) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, September 23, 2011 3:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS I keep hearing about corrupted MDBs but in at least a decade of working with Access, this has never happened to me. Now that I've said that, it will probably happen tomorrow, so I'm immediately going to do a huge backup! Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Sat Sep 24 11:14:05 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Sat, 24 Sep 2011 11:14:05 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: Message-ID: So what about a string of functions that you feed a variable, which are byref for their arguments? You would still be 'tracking down' the culprit. I really don't see how a global is that much different in trouble shooting. I completely agree that a global class makes things much easier, it is also cleaner. You can group the values you want into a class, which simply makes more sense too. If you have a dozen global variables, used to hold system settings, why not make a SystemSettings class, easier and more logically combined. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Friday, September 23, 2011 3:41 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Global Vars (was Ambiguous Name) > Drew Wutka: > A global variable will ONLY fail in the SAME way that a modular or > procedural variable will. > ... > #1. 'A global variable can be changed from anywhere.... so it could > get a bad value'. Really? So let's look at a procedural variable: > ... > Holy Division by Zero Batman. We just 'broke' a procedural variable! ... > You're right, but for one TINY difference ... in your procedural example, you can raise an error up the call chain, and immediately finger the bad actor. In all of the global parameter schemes put forth so far, you don't get that. The failure chain is: 1. Good actor sets global. Time goes past... 2. Bad actor changes global to a 'bad' value, which is accepted without error... 3. Other actor uses global -- BAM! BIF! POW! error. But who did the dirty deed? You can't easily tell. This is the crux of the 'globals are bad' arguement. Without knowing WHO made each change, you're stuck with a tedious debugging mess. But again, talking to the 'globals are bad' camp, I say your solutions so far don't solve the problem. How do you propose fixing the problem? -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Sat Sep 24 11:17:25 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Sat, 24 Sep 2011 11:17:25 -0500 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com><511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> Message-ID: Easy Peasy. You are just going to use ADO. Would you like a utility I built a while back, that builds 'data classes' in asp classic? I built it in VB6, you point it to the .mdb, and it creates a data class for a table (or query) along with a 'group' class for the individual data class. Email me off list if you want it. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, September 23, 2011 5:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Drew: Server 2003 Developers edition with IIS version 6, fully tricked out, runs ASP classic as well as a number of databases protocols and Extensions etc. TIA Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Friday, September 23, 2011 12:56 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Accessing an .mdb on a web server (like IIS) is identical to accessing the .mdb from your programming interface itself. For example, if you want to use classic ASP, then you are using VBScript, and VBScript can access an .mdb using ADO. Now, years ago, I believe you had to install ADO separately, but I think since XP, that ADO is included, not 100% positive on that. If you are using .Net, (ie, ASP.Net), then you have the .Net runtimes installed on the server. What platform are you using to program with, and I can point you in a better direction. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 8:32 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Well, you have me at a disadvantage as I do not know what you mean? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 3:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Nope.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 5:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Does that mean Access have to be installed on the IIS server? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Sat Sep 24 11:18:36 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Sat, 24 Sep 2011 11:18:36 -0500 Subject: [AccessD] MS Access with IIS In-Reply-To: <006301cc7ad0$319fe350$94dfa9f0$@net> References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com><511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com><631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> <006301cc7ad0$319fe350$94dfa9f0$@net> Message-ID: Interesting, did not know that, of course, I don't do much with Access nowadays. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Saturday, September 24, 2011 10:40 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS > The lack of triggers and transaction logging These are now "in" the 2010 ACCDB format and run-time. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From jwcolby at colbyconsulting.com Sat Sep 24 14:10:42 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Sep 2011 15:10:42 -0400 Subject: [AccessD] interesting ssd SQL Server testing Message-ID: <4E7E2B32.60008@colbyconsulting.com> http://sqlblog.com/blogs/joe_chang/archive/2011/09/17/consumer-grade-ssds-with-sql-server.aspx -- John W. Colby www.ColbyConsulting.com From stuart at lexacorp.com.pg Sat Sep 24 15:27:36 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 25 Sep 2011 06:27:36 +1000 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <006201cc7acf$cad7eff0$6087cfd0$@net> References: , <006201cc7acf$cad7eff0$6087cfd0$@net> Message-ID: <4E7E3D38.24460.13038105@stuart.lexacorp.com.pg> On 24 Sep 2011 at 11:36, Mark Simms wrote: > VBA "Find" is your friend here....however, that is worthless if you've > got 10,000 lines of code and 40 places where the global is being > referenced. > Correction: "where the global is being set"! i.e. Find: " g_myGlobal = " -- Stuart From marksimms at verizon.net Sat Sep 24 15:41:57 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 24 Sep 2011 16:41:57 -0400 Subject: [AccessD] interesting ssd SQL Server testing In-Reply-To: <4E7E2B32.60008@colbyconsulting.com> References: <4E7E2B32.60008@colbyconsulting.com> Message-ID: <001c01cc7afa$675024e0$35f06ea0$@net> The only valid comparison I saw was the 1 hour to 20 minutes.....very impressive. So how is that scored ? A 67% improvement ? or wait, should that be a 300% increase in speed ? > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Saturday, September 24, 2011 3:11 PM > To: Access Developers discussion and problem solving; VBA; Sqlserver- > Dba > Subject: [AccessD] interesting ssd SQL Server testing > > > http://sqlblog.com/blogs/joe_chang/archive/2011/09/17/consumer-grade- > ssds-with-sql-server.aspx > > -- > John W. Colby > www.ColbyConsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sat Sep 24 15:51:30 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 25 Sep 2011 06:51:30 +1000 Subject: [AccessD] interesting ssd SQL Server testing In-Reply-To: <001c01cc7afa$675024e0$35f06ea0$@net> References: <4E7E2B32.60008@colbyconsulting.com>, <001c01cc7afa$675024e0$35f06ea0$@net> Message-ID: <4E7E42D2.31017.1319652C@stuart.lexacorp.com.pg> Possibly a 67% reduction in time? But for a marketing, 300% increase in speed sounds much better, -- Stuart On 24 Sep 2011 at 16:41, Mark Simms wrote: > The only valid comparison I saw was the 1 hour to 20 minutes.....very > impressive. So how is that scored ? A 67% improvement ? or wait, > should that be a 300% increase in speed ? > From jwcolby at colbyconsulting.com Sat Sep 24 17:29:40 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Sep 2011 18:29:40 -0400 Subject: [AccessD] interesting ssd SQL Server testing In-Reply-To: <001c01cc7afa$675024e0$35f06ea0$@net> References: <4E7E2B32.60008@colbyconsulting.com> <001c01cc7afa$675024e0$35f06ea0$@net> Message-ID: <4E7E59D4.3030609@colbyconsulting.com> I found much of it rather confusing. Too little specifics re the configurations. John W. Colby www.ColbyConsulting.com On 9/24/2011 4:41 PM, Mark Simms wrote: > The only valid comparison I saw was the 1 hour to 20 minutes.....very > impressive. > So how is that scored ? A 67% improvement ? or wait, should that be a 300% > increase in speed ? > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd- >> bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Saturday, September 24, 2011 3:11 PM >> To: Access Developers discussion and problem solving; VBA; Sqlserver- >> Dba >> Subject: [AccessD] interesting ssd SQL Server testing >> >> >> http://sqlblog.com/blogs/joe_chang/archive/2011/09/17/consumer-grade- >> ssds-with-sql-server.aspx >> >> -- >> John W. Colby >> www.ColbyConsulting.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 Sep 25 19:50:14 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 26 Sep 2011 10:50:14 +1000 Subject: [AccessD] OT: Excel Question In-Reply-To: <1E0FC6BB-EFBC-4008-B581-26771FC3115F@zyterra.com> References: <766DD8D0-7FA9-45BA-8643-1B8D315B08E1@zyterra.com> <48B855C8E3374DA4A43498380A97156B@HAL9007> <1E0FC6BB-EFBC-4008-B581-26771FC3115F@zyterra.com> Message-ID: <002001cc7be6$40f6c370$c2e44a50$@com.au> Debbie, If you are using XL2007, MS broke a lot of the macro recording functionality for charting (and a few other areas) and not much is captured by the recorder at all. In XL2010 it is meant to be fixed again. Indeed Charting functionaly in XL2007 is less than stellar. It commonly behaves like it is not fully operational, which is pretty accurate seeing it wasn't when MS pushed XL2007 onto the world. Of course you can fix most of these charting issues by upgrading to XL2010 - great business plan really ;) You can also have Access VBA call and run an code procedure in Excel from Access. I use this a lot. Have the XL code in the XL template and just call it to run from Access. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Debbie Sent: Saturday, 24 September 2011 6:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Excel Question I do that myself all the time. Trouble is I couldn't find how to do it in Excel. Until I found that, there was no macro to record and no code to crib. Debbie Sent from my iPhone On Sep 23, 2011, at 3:37 PM, "Rocky Smolin" wrote: > Are you asking to fix it from the VBA in the Access mdb? If so, I've > been > able to automate everything in Excel from Access by recording a > macro in > Excel to do what I want and then cribbing the Excel code into the > Access > module. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Debbie > Sent: Friday, September 23, 2011 11:39 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] OT: Excel Question > > I have a database pushing data out to an Excel 2007 template. From > this data > I am creating a variety of graphs that are stored in the template. > > Everything works fine except the relative scales on 2 of the graphs. > They are side by side and the customer is adamant that the top and > bottom > line up. This seems really easy, but it is not. One graph has a > dynamic y > axis because the values can vary a lot. When they do vary, the whole > chart > area will change height just a bit. > > Is there a way to fix the total chart height, while still allowing > the y > axis to automatically determine the best tick marks and scaling > within that > area? > > Debbie > > Sent from my iPhone > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 25 19:54:06 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 26 Sep 2011 10:54:06 +1000 Subject: [AccessD] Filtering with International Dates In-Reply-To: References: Message-ID: <002101cc7be6$cb7bbb40$627331c0$@com.au> Yeah, that was my understanding of it. The "$" is short hand for String. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, 23 September 2011 10:59 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Filtering with International Dates Hi Rocky Yes, that will work. It will return #09/23/2011# for today. I've never noticed any difference between Format and Format$ (and all the other old BASIC string handling functions with or without a trailing $). SomeFunction$ is claimed to always return a string, but I've never found, say, Trim to return anything else than a string. Maybe it is just to be compatible with old QBasic or similar. /gustav >>> rockysmolin at bchacc.com 23-09-2011 14:35 >>> Gustav: Dang - it's like taking a class. :) I found this on the web as you suggest: Format$(Forms!frmPOReport!txtGEPromisedDate, "\#mm\/dd\/yyyy\#") (Don't know why the $ after Format but it compiles OK) And it seems to work. But I have to comb through my manufacturing app now - which is a very date driven app, lots of reports where I give the user the option to filter by date - and change those occurrences to something which will be as bulletproof as possible. It looks like that's the best approach in your opinion? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, September 23, 2011 3:11 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Filtering with International Dates Hi Rocky You are a clever man not to be fooled! There really is no reason to convert dates to numerals. If you can use the date value, use it as is, if not - as often when you build SQL strings - convert it to a proper string expression. The proven method is to use Format and the ISO format: Format(somedatetime, "yyyy\/mm\/dd hh\:nn\:ss") For JET SQL this must be wrapped in #..#, for SQL Server it is single quotes '..' You may get away with using the US mm/dd/yyyy format but it will fail for ADO and FindFirst, thus you can just as well make it a habit to use the ISO format which now is the preferred for SQL Server as well. If you need to cut off a time part to obtain the date part only, a safe and the fastest method is Fix: Fix(somedatetime) because it: - works correctly for dates prior to 1899-12-30 - returns data type date - always rounds off - is native to SQL The use of CDbl or CLng is not very useful. CDbl just returns the underlying data type (Double) of data type Date so you should CDate instead, and CLng will round PM time parts incorrectly, and they both fail for a clean string input like "5/3/2005" which CDate does not. If you need to convert strings to date and time, use CDate for time expressions or to include a time part with a date, or DateValue for dates where the time part should be excluded. When to use date value and when a string expression for a date value is quite simple. When a function is used in SQL, it should return a date value; when you build a SQL string it must be a string expression. Thus, as mentioned by Stuart, this will work because CDate and DateValue (and TimeValue) understands a string formatted as the local settings of Windows: "where [datefield] = Datevalue('" & txtDate & "')" as will this: "where [datefield] = #" & Format(DateValue(txtDate), "yyyy\/mm\/dd") & "#" which, as Format - when using a date format - will try to read the value to format as a date, can be reduced to: "where [datefield] = #" & Format(txtDate, "yyyy\/mm\/dd") & "#" /gustav >>> rockysmolin at bchacc.com 23-09-2011 05:17 >>> What happens if you use CDbl on a date string with no time? R -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sun Sep 25 20:14:27 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 25 Sep 2011 18:14:27 -0700 Subject: [AccessD] Filtering subform from parent form Message-ID: <28D458219FE243A29B0ACA165C8408B6@HAL9007> Dear List: I'm trying to set the filter of a subform from parameters on the main form. The first line is Me.subfrmAccountsReceivable.Form.Filter = "" But it wasn't working - so I put: MsgBox Me.subfrmAccountsReceivable.Form.Filter right after the first line and it prints "False" After that first line there's code which I've written a dozen times to accumulate the filtering criteria (in this case an account number and a >= and <= date range) but always for the parent form - never for a sub form. What am I doing wrong? (Besides not drinking some Scotch and making dinner at 6:15 on Sunday night.) MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com From fuller.artful at gmail.com Sun Sep 25 20:23:51 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 25 Sep 2011 21:23:51 -0400 Subject: [AccessD] Filtering subform from parent form In-Reply-To: <28D458219FE243A29B0ACA165C8408B6@HAL9007> References: <28D458219FE243A29B0ACA165C8408B6@HAL9007> Message-ID: I just googled "filter on an Access subform" and I suspected, got led immediately to Allen Browne's site (and others). There are several hits. I'd try Allen's first. IIRC A.D. Tejpal's written something on this. I haven't had a need for this particular capability but google as I did and you should get your answer. HTH, Arthur On Sun, Sep 25, 2011 at 9:14 PM, Rocky Smolin wrote: > Dear List: > > I'm trying to set the filter of a subform from parameters on the main form. > The first line is > > Me.subfrmAccountsReceivable.Form.Filter = "" > > But it wasn't working - so I put: > > MsgBox Me.subfrmAccountsReceivable.Form.Filter > > right after the first line and it prints "False" > > > After that first line there's code which I've written a dozen times to > accumulate the filtering criteria (in this case an account number and a >= > and <= date range) but always for the parent form - never for a sub form. > > What am I doing wrong? (Besides not drinking some Scotch and making dinner > at 6:15 on Sunday night.) > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > www.e-z-mrp.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 Sun Sep 25 20:35:53 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 25 Sep 2011 21:35:53 -0400 Subject: [AccessD] Filtering subform from parent form In-Reply-To: References: <28D458219FE243A29B0ACA165C8408B6@HAL9007> Message-ID: I just checked the first posting and there's a reply from Allen himself: > With Me.Child0.Form > .Filter = "ExternalEvents Is Not Null" > .FilterOn = True > End With His Filter above was specific to the question he was asked, of course. He's assuming that your filter command button is on the main form, which seems logical enough, but it may mean that you cannot use the built-in Filter-By-Form thing, and instead may have to create your own dialog for this situation. If it's always the same fields, then that shouldn't be a problem. Another approach: you could open a dialog based on the subform's record source, then filter it by form, then grab the Filter property, close the dialog and plug the filter into the above code, which would live in the parent form. Arthur P.S. Interesting exercise. I think build a little toy program and see if I can make it work. On Sun, Sep 25, 2011 at 9:23 PM, Arthur Fuller wrote: > I just googled "filter on an Access subform" and I suspected, got led > immediately to Allen Browne's site (and others). There are several hits. I'd > try Allen's first. IIRC A.D. Tejpal's written something on this. I haven't > had a need for this particular capability but google as I did and you should > get your answer. > > HTH, > Arthur > > > On Sun, Sep 25, 2011 at 9:14 PM, Rocky Smolin wrote: > >> Dear List: >> >> I'm trying to set the filter of a subform from parameters on the main >> form. >> The first line is >> >> Me.subfrmAccountsReceivable.Form.Filter = "" >> >> But it wasn't working - so I put: >> >> MsgBox Me.subfrmAccountsReceivable.Form.Filter >> >> right after the first line and it prints "False" >> >> >> After that first line there's code which I've written a dozen times to >> accumulate the filtering criteria (in this case an account number and a >= >> and <= date range) but always for the parent form - never for a sub form. >> >> What am I doing wrong? (Besides not drinking some Scotch and making dinner >> at 6:15 on Sunday night.) >> >> MTIA >> >> Rocky Smolin >> Beach Access Software >> 858-259-4334 >> www.bchacc.com >> www.e-z-mrp.com >> >> >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > From stuart at lexacorp.com.pg Sun Sep 25 20:41:17 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 26 Sep 2011 11:41:17 +1000 Subject: [AccessD] Filtering with International Dates In-Reply-To: <002101cc7be6$cb7bbb40$627331c0$@com.au> References: , <002101cc7be6$cb7bbb40$627331c0$@com.au> Message-ID: <4E7FD83D.3449.19491308@stuart.lexacorp.com.pg> Format returns a Variant of type String. Format$ returns an actual string. Similarly with Left,Right,Mid,Trim etc Theoretically, using the native types rather than variants should be more efficient. Wait a minute.... Yep - that's true in practice as well: Option Compare Database Option Explicit Const gc_testcases As Long = 10000000 Function TestVar() As String Dim str As String Dim strResult As String Dim t As Single Dim x As Long t = Timer For x = 1 To gc_testcases str = Left("abcdef", 3) Next t = Timer - t strResult = "Variant form took " & t & " seconds" & vbCrLf t = Timer For x = 1 To gc_testcases str = Left$("abcdef", 3) Next t = Timer - t TestVar = strResult & "String form took " & t & " seconds" End Function The Variant form consistently takes 2.5 times as long as the String version. -- Stuart On 26 Sep 2011 at 10:54, Darryl Collins wrote: > Yeah, that was my understanding of it. The "$" is short hand for > String. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > Brock Sent: Friday, 23 September 2011 10:59 PM To: > accessd at databaseadvisors.com Subject: Re: [AccessD] Filtering with > International Dates > > Hi Rocky > > Yes, that will work. It will return #09/23/2011# for today. > > I've never noticed any difference between Format and Format$ (and all > the other old BASIC string handling functions with or without a > trailing $). SomeFunction$ is claimed to always return a string, but > I've never found, say, Trim to return anything else than a string. > Maybe it is just to be compatible with old QBasic or similar. > > /gustav > > > >>> rockysmolin at bchacc.com 23-09-2011 14:35 >>> > Gustav: > > Dang - it's like taking a class. :) > > I found this on the web as you suggest: > > Format$(Forms!frmPOReport!txtGEPromisedDate, "\#mm\/dd\/yyyy\#") > > (Don't know why the $ after Format but it compiles OK) > > And it seems to work. But I have to comb through my manufacturing app > now - which is a very date driven app, lots of reports where I give > the user the option to filter by date - and change those occurrences > to something which will be as bulletproof as possible. > > It looks like that's the best approach in your opinion? > > Rocky > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > Brock Sent: Friday, September 23, 2011 3:11 AM To: > accessd at databaseadvisors.com Subject: Re: [AccessD] Filtering with > International Dates > > Hi Rocky > > You are a clever man not to be fooled! > > There really is no reason to convert dates to numerals. If you can use > the date value, use it as is, if not - as often when you build SQL > strings - convert it to a proper string expression. The proven method > is to use Format and the ISO format: > > Format(somedatetime, "yyyy\/mm\/dd hh\:nn\:ss") For JET SQL this must > be wrapped in #..#, for SQL Server it is single quotes '..' You may > get away with using the US mm/dd/yyyy format but it will fail for ADO > and FindFirst, thus you can just as well make it a habit to use the > ISO format which now is the preferred for SQL Server as well. > > If you need to cut off a time part to obtain the date part only, a > safe and the fastest method is Fix: > > Fix(somedatetime) > > because it: > > - works correctly for dates prior to 1899-12-30 > - returns data type date > - always rounds off > - is native to SQL > > The use of CDbl or CLng is not very useful. CDbl just returns the > underlying data type (Double) of data type Date so you should CDate > instead, and CLng will round PM time parts incorrectly, and they both > fail for a clean string input like "5/3/2005" which CDate does not. If > you need to convert strings to date and time, use CDate for time > expressions or to include a time part with a date, or DateValue for > dates where the time part should be excluded. > > When to use date value and when a string expression for a date value > is quite simple. When a function is used in SQL, it should return a > date value; when you build a SQL string it must be a string > expression. Thus, as mentioned by Stuart, this will work because CDate > and DateValue (and TimeValue) understands a string formatted as the > local settings of Windows: > > "where [datefield] = Datevalue('" & txtDate & "')" > > as will this: > > "where [datefield] = #" & Format(DateValue(txtDate), "yyyy\/mm\/dd") > & "#" > > which, as Format - when using a date format - will try to read the > value to format as a date, can be reduced to: > > "where [datefield] = #" & Format(txtDate, "yyyy\/mm\/dd") & "#" > > /gustav > > > >>> rockysmolin at bchacc.com 23-09-2011 05:17 >>> > What happens if you use CDbl on a date string with no time? > > 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 rockysmolin at bchacc.com Sun Sep 25 23:10:08 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 25 Sep 2011 21:10:08 -0700 Subject: [AccessD] Filtering subform from parent form In-Reply-To: References: <28D458219FE243A29B0ACA165C8408B6@HAL9007> Message-ID: I'm sure that will work if I move the filter code and the text boxes to the sub form. I do this a lot but always have the parameters in text boxes on the main form filtering the main form. I'll check the Google as you suggest though R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Sunday, September 25, 2011 6:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering subform from parent form I just checked the first posting and there's a reply from Allen himself: > With Me.Child0.Form > .Filter = "ExternalEvents Is Not Null" > .FilterOn = True > End With His Filter above was specific to the question he was asked, of course. He's assuming that your filter command button is on the main form, which seems logical enough, but it may mean that you cannot use the built-in Filter-By-Form thing, and instead may have to create your own dialog for this situation. If it's always the same fields, then that shouldn't be a problem. Another approach: you could open a dialog based on the subform's record source, then filter it by form, then grab the Filter property, close the dialog and plug the filter into the above code, which would live in the parent form. Arthur P.S. Interesting exercise. I think build a little toy program and see if I can make it work. On Sun, Sep 25, 2011 at 9:23 PM, Arthur Fuller wrote: > I just googled "filter on an Access subform" and I suspected, got led > immediately to Allen Browne's site (and others). There are several > hits. I'd try Allen's first. IIRC A.D. Tejpal's written something on > this. I haven't had a need for this particular capability but google > as I did and you should get your answer. > > HTH, > Arthur > > > On Sun, Sep 25, 2011 at 9:14 PM, Rocky Smolin wrote: > >> Dear List: >> >> I'm trying to set the filter of a subform from parameters on the main >> form. >> The first line is >> >> Me.subfrmAccountsReceivable.Form.Filter = "" >> >> But it wasn't working - so I put: >> >> MsgBox Me.subfrmAccountsReceivable.Form.Filter >> >> right after the first line and it prints "False" >> >> >> After that first line there's code which I've written a dozen times >> to accumulate the filtering criteria (in this case an account number >> and a >= and <= date range) but always for the parent form - never for a sub form. >> >> What am I doing wrong? (Besides not drinking some Scotch and making >> dinner at 6:15 on Sunday night.) >> >> MTIA >> >> Rocky Smolin >> Beach Access Software >> 858-259-4334 >> www.bchacc.com www.e-z-mrp.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 Sun Sep 25 23:12:42 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 25 Sep 2011 21:12:42 -0700 Subject: [AccessD] Filtering subform from parent form In-Reply-To: References: <28D458219FE243A29B0ACA165C8408B6@HAL9007> Message-ID: <66C472AAB8E64F1E8CE99B8C09B2B6F9@HAL9007> The first thing I see is a suggestion to build a SQL statement with the filtering parameters in the WHERE clause. I suppose I could try that as a workaround. Annoying that the .Filter doesn't seem to work as it should, though. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Sunday, September 25, 2011 6:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering subform from parent form I just checked the first posting and there's a reply from Allen himself: > With Me.Child0.Form > .Filter = "ExternalEvents Is Not Null" > .FilterOn = True > End With His Filter above was specific to the question he was asked, of course. He's assuming that your filter command button is on the main form, which seems logical enough, but it may mean that you cannot use the built-in Filter-By-Form thing, and instead may have to create your own dialog for this situation. If it's always the same fields, then that shouldn't be a problem. Another approach: you could open a dialog based on the subform's record source, then filter it by form, then grab the Filter property, close the dialog and plug the filter into the above code, which would live in the parent form. Arthur P.S. Interesting exercise. I think build a little toy program and see if I can make it work. On Sun, Sep 25, 2011 at 9:23 PM, Arthur Fuller wrote: > I just googled "filter on an Access subform" and I suspected, got led > immediately to Allen Browne's site (and others). There are several > hits. I'd try Allen's first. IIRC A.D. Tejpal's written something on > this. I haven't had a need for this particular capability but google > as I did and you should get your answer. > > HTH, > Arthur > > > On Sun, Sep 25, 2011 at 9:14 PM, Rocky Smolin wrote: > >> Dear List: >> >> I'm trying to set the filter of a subform from parameters on the main >> form. >> The first line is >> >> Me.subfrmAccountsReceivable.Form.Filter = "" >> >> But it wasn't working - so I put: >> >> MsgBox Me.subfrmAccountsReceivable.Form.Filter >> >> right after the first line and it prints "False" >> >> >> After that first line there's code which I've written a dozen times >> to accumulate the filtering criteria (in this case an account number >> and a >= and <= date range) but always for the parent form - never for a sub form. >> >> What am I doing wrong? (Besides not drinking some Scotch and making >> dinner at 6:15 on Sunday night.) >> >> MTIA >> >> Rocky Smolin >> Beach Access Software >> 858-259-4334 >> www.bchacc.com www.e-z-mrp.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 Sep 26 01:11:13 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 26 Sep 2011 08:11:13 +0200 Subject: [AccessD] Format or Format$ (was: Filtering with International Dates) Message-ID: Hi Stuart Well, thanks! That's the first time ever I heard and got demonstrated a decent explanation on this$. /gustav >>> stuart at lexacorp.com.pg 26-09-2011 03:41 >>> Format returns a Variant of type String. Format$ returns an actual string. Similarly with Left,Right,Mid,Trim etc Theoretically, using the native types rather than variants should be more efficient. Wait a minute.... Yep - that's true in practice as well: Option Compare Database Option Explicit Const gc_testcases As Long = 10000000 Function TestVar() As String Dim str As String Dim strResult As String Dim t As Single Dim x As Long t = Timer For x = 1 To gc_testcases str = Left("abcdef", 3) Next t = Timer - t strResult = "Variant form took " & t & " seconds" & vbCrLf t = Timer For x = 1 To gc_testcases str = Left$("abcdef", 3) Next t = Timer - t TestVar = strResult & "String form took " & t & " seconds" End Function The Variant form consistently takes 2.5 times as long as the String version. -- Stuart On 26 Sep 2011 at 10:54, Darryl Collins wrote: > Yeah, that was my understanding of it. The "$" is short hand for > String. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > Brock Sent: Friday, 23 September 2011 10:59 PM To: > accessd at databaseadvisors.com Subject: Re: [AccessD] Filtering with > International Dates > > Hi Rocky > > Yes, that will work. It will return #09/23/2011# for today. > > I've never noticed any difference between Format and Format$ (and all > the other old BASIC string handling functions with or without a > trailing $). SomeFunction$ is claimed to always return a string, but > I've never found, say, Trim to return anything else than a string. > Maybe it is just to be compatible with old QBasic or similar. > > /gustav From fuller.artful at gmail.com Mon Sep 26 03:41:20 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 26 Sep 2011 04:41:20 -0400 Subject: [AccessD] Filtering subform from parent form In-Reply-To: <66C472AAB8E64F1E8CE99B8C09B2B6F9@HAL9007> References: <28D458219FE243A29B0ACA165C8408B6@HAL9007> <66C472AAB8E64F1E8CE99B8C09B2B6F9@HAL9007> Message-ID: I tried Allen's example on that search page and it won't run Access 2007. Access says: The expression After Update you entered as the event property setting produced the following error: Object or class does not support the set of events. I'm baffled. I even added a MsgBox at the start of the code and Access doesn't even there. Private Sub cboShowSup_AfterUpdate() MsgBox "Here." Dim strSQL As String If IsNull(Me.cboShowSup) Then ' If the combo is Null, use the whole table as the RecordSource. Me.RecordSource = "tblProduct" Else strSQL = "SELECT DISTINCTROW tblProduct.* FROM tblProduct " & _ "INNER JOIN tblProductSupplier ON " & _ "tblProduct.ProductID = tblProductSupplier.ProductID " & _ "WHERE tblProductSupplier.SupplierID = " & Me.cboShowSup & ";" Me.RecordSource = strSQL End If End Sub This doesn't make sense at all to me. If I had an earlier or later version of Access aboard, I'd try the example there, but I don't. Arthur On Mon, Sep 26, 2011 at 12:12 AM, Rocky Smolin wrote: > The first thing I see is a suggestion to build a SQL statement with the > filtering parameters in the WHERE clause. I suppose I could try that as a > workaround. Annoying that the .Filter doesn't seem to work as it should, > though. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Sunday, September 25, 2011 6:36 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Filtering subform from parent form > > I just checked the first posting and there's a reply from Allen himself: > > > With Me.Child0.Form > > .Filter = "ExternalEvents Is Not Null" > > .FilterOn = True > > End With > > His Filter above was specific to the question he was asked, of course. He's > assuming that your filter command button is on the main form, which seems > logical enough, but it may mean that you cannot use the built-in > Filter-By-Form thing, and instead may have to create your own dialog for > this situation. If it's always the same fields, then that shouldn't be a > problem. > > Another approach: you could open a dialog based on the subform's record > source, then filter it by form, then grab the Filter property, close the > dialog and plug the filter into the above code, which would live in the > parent form. > > Arthur > > P.S. > Interesting exercise. I think build a little toy program and see if I can > make it work. > > On Sun, Sep 25, 2011 at 9:23 PM, Arthur Fuller > wrote: > > > I just googled "filter on an Access subform" and I suspected, got led > > immediately to Allen Browne's site (and others). There are several > > hits. I'd try Allen's first. IIRC A.D. Tejpal's written something on > > this. I haven't had a need for this particular capability but google > > as I did and you should get your answer. > > > > HTH, > > Arthur > > > > > > On Sun, Sep 25, 2011 at 9:14 PM, Rocky Smolin > wrote: > > > >> Dear List: > >> > >> I'm trying to set the filter of a subform from parameters on the main > >> form. > >> The first line is > >> > >> Me.subfrmAccountsReceivable.Form.Filter = "" > >> > >> But it wasn't working - so I put: > >> > >> MsgBox Me.subfrmAccountsReceivable.Form.Filter > >> > >> right after the first line and it prints "False" > >> > >> > >> After that first line there's code which I've written a dozen times > >> to accumulate the filtering criteria (in this case an account number > >> and a >= and <= date range) but always for the parent form - never for a > sub form. > >> > >> What am I doing wrong? (Besides not drinking some Scotch and making > >> dinner at 6:15 on Sunday night.) > >> > >> MTIA > >> > >> Rocky Smolin > >> Beach Access Software > >> 858-259-4334 > >> www.bchacc.com www.e-z-mrp.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 jwcolby at colbyconsulting.com Mon Sep 26 07:02:29 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 26 Sep 2011 08:02:29 -0400 Subject: [AccessD] SSDs and BE storage In-Reply-To: <000001cc7aad$05d94e00$118bea00$@net> References: <4E7BF42E.1060602@colbyconsulting.com> <000001cc7aad$05d94e00$118bea00$@net> Message-ID: <4E8069D5.8060705@colbyconsulting.com> Mark, I decided to try these for my 3 year old dell laptops. Clean install of Windows 7 and these, to see if I can get another couple of years out of these machines. John W. Colby www.ColbyConsulting.com On 9/24/2011 7:28 AM, Mark Simms wrote: > I just saw this on Amazon.com - Seagate is making a Momentus hard drive and > they are branding it as a "hybrid" - somewhere in between an SSD and a > standard spinning platter hard drive. > Reviews are very good....and the price is right : $100 for 500 gigs. > http://www.amazon.com/Seagate-Momentus-7200RPM-Hybrid-ST95005620AS-Bare/dp/B > 003NSBF32/ref=sr_1_1?s=electronics&ie=UTF8&qid=1316863239&sr=1-1 > > > From jimdettman at verizon.net Mon Sep 26 07:07:30 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 26 Sep 2011 08:07:30 -0400 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com><511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com><631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> <006301cc7ad0$319fe350$94dfa9f0$@net> Message-ID: Drew, Don't get excited; triggers are not available at engine level. They are only available through the UI and Macro's. And I'm not sure what Mark is referring to as transaction logging, but there is none that I'm aware of. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Saturday, September 24, 2011 12:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Interesting, did not know that, of course, I don't do much with Access nowadays. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Saturday, September 24, 2011 10:40 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS > The lack of triggers and transaction logging These are now "in" the 2010 ACCDB format and run-time. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at Marlow.com Mon Sep 26 10:02:08 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 26 Sep 2011 10:02:08 -0500 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com><511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com><631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk><006301cc7ad0$319fe350$94dfa9f0$@net> Message-ID: Oh, ok. Got me excited a bit! ;) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, September 26, 2011 7:08 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Drew, Don't get excited; triggers are not available at engine level. They are only available through the UI and Macro's. And I'm not sure what Mark is referring to as transaction logging, but there is none that I'm aware of. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Saturday, September 24, 2011 12:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Interesting, did not know that, of course, I don't do much with Access nowadays. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Saturday, September 24, 2011 10:40 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS > The lack of triggers and transaction logging These are now "in" the 2010 ACCDB format and run-time. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From marksimms at verizon.net Mon Sep 26 10:04:39 2011 From: marksimms at verizon.net (Mark Simms) Date: Mon, 26 Sep 2011 11:04:39 -0400 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com><511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com><631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> <006301cc7ad0$319fe350$94dfa9f0$@net> Message-ID: <008d01cc7c5d$9d5ea4d0$d81bee70$@net> Re: "I'm not sure what Mark is referring to as transaction logging,but there is none that I'm aware of.." http://www.databasedev.co.uk/whats_new_in_microsoft_access_2010.html Granted, it's not the best of implementations as this feature is only enabled using the macro facility....VBA not supported. And, by the way, that gives you insight into how MSFT is really moving away from VBA. From jimdettman at verizon.net Mon Sep 26 12:31:08 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 26 Sep 2011 13:31:08 -0400 Subject: [AccessD] MS Access with IIS In-Reply-To: <008d01cc7c5d$9d5ea4d0$d81bee70$@net> References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com><511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com><631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> <006301cc7ad0$319fe350$94dfa9f0$@net> <008d01cc7c5d$9d5ea4d0$d81bee70$@net> Message-ID: <50856C486D244A58B36B73F9D617A8B1@XPS> I wasn't even aware that feature was in there, but it's hardly what one would call transaction logging. And again, as you said, it's through macro's (and hence the UI and not at engine level). Big yawn as far as I'm concerned. I've had a system log table since day one working with Access. >From my viewpoint, it's just one more feature that doesn't need to be there. <> And anybody that thinks their not is crazy, but it will be a very long time in coming. The big reason at present for the push to macros is the ability to run Access apps with SharePoint. And if you've seen where Win8 is heading and Metro apps, your not going to find VBA in there at all. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Monday, September 26, 2011 11:05 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Re: "I'm not sure what Mark is referring to as transaction logging,but there is none that I'm aware of.." http://www.databasedev.co.uk/whats_new_in_microsoft_access_2010.html Granted, it's not the best of implementations as this feature is only enabled using the macro facility....VBA not supported. And, by the way, that gives you insight into how MSFT is really moving away from VBA. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Mon Sep 26 14:01:08 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 26 Sep 2011 14:01:08 -0500 Subject: [AccessD] Query not returning any records Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0765B@houex1.kindermorgan.com> When I run the following query I get the results listed below SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, dbo_WellTests.TestDate FROM dbo_WellTests GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, dbo_WellTests.TestDate HAVING (((dbo_WellTests.Well_Name)="109-2")); Well_API_14 Well_Name TestDate 42415034120000 109-2 6/7/2011 42415034120000 109-2 6/8/2011 42415034120000 109-2 8/7/2011 42415034120000 109-2 8/28/2011 42415034120000 109-2 9/1/2011 42415034120000 109-2 9/5/2011 However when I run the following query I get no records returned. The table dbo_Welltests is an SQL Server table if that matters. SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, Max(dbo_WellTests.TestDate) AS MaxOfTestDate FROM dbo_WellTests GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name HAVING (((dbo_WellTests.Well_Name)="109-2") AND ((Max(dbo_WellTests.TestDate))<#9/1/2011#)); Thanks. 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 bheid at sc.rr.com Mon Sep 26 14:09:06 2011 From: bheid at sc.rr.com (Bobby Heid) Date: Mon, 26 Sep 2011 15:09:06 -0400 Subject: [AccessD] Query not returning any records In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0765B@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0765B@houex1.kindermorgan.com> Message-ID: <005701cc7c7f$c36cccc0$4a466640$@sc.rr.com> Chester, Well, right off the bat, you have Max(dbo_WellTests.TestDate) <#9/1/2011# and the maximum date in your list is 9/1/2011. So max(9/1/2011) is not less than 9/1/2011. So you get no records. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, September 26, 2011 3:01 PM To: Access Developers discussion and problem solving Subject: [AccessD] Query not returning any records When I run the following query I get the results listed below SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, dbo_WellTests.TestDate FROM dbo_WellTests GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, dbo_WellTests.TestDate HAVING (((dbo_WellTests.Well_Name)="109-2")); Well_API_14 Well_Name TestDate 42415034120000 109-2 6/7/2011 42415034120000 109-2 6/8/2011 42415034120000 109-2 8/7/2011 42415034120000 109-2 8/28/2011 42415034120000 109-2 9/1/2011 42415034120000 109-2 9/5/2011 However when I run the following query I get no records returned. The table dbo_Welltests is an SQL Server table if that matters. SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, Max(dbo_WellTests.TestDate) AS MaxOfTestDate FROM dbo_WellTests GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name HAVING (((dbo_WellTests.Well_Name)="109-2") AND ((Max(dbo_WellTests.TestDate))<#9/1/2011#)); Thanks. 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 davidmcafee at gmail.com Mon Sep 26 14:10:29 2011 From: davidmcafee at gmail.com (David McAfee) Date: Mon, 26 Sep 2011 12:10:29 -0700 Subject: [AccessD] Query not returning any records In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0765B@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0765B@houex1.kindermorgan.com> Message-ID: Does this work? HAVING ((dbo_WellTests.Well_Name="109-2") AND (dbo_WellTests.TestDate<#9/1/2011#)); On Mon, Sep 26, 2011 at 12:01 PM, Kaup, Chester < Chester_Kaup at kindermorgan.com> wrote: > When I run the following query I get the results listed below > > SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, > dbo_WellTests.TestDate > FROM dbo_WellTests > GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, > dbo_WellTests.TestDate > HAVING (((dbo_WellTests.Well_Name)="109-2")); > > Well_API_14 Well_Name TestDate > 42415034120000 109-2 6/7/2011 > 42415034120000 109-2 6/8/2011 > 42415034120000 109-2 8/7/2011 > 42415034120000 109-2 8/28/2011 > 42415034120000 109-2 9/1/2011 > 42415034120000 109-2 9/5/2011 > > However when I run the following query I get no records returned. The table > dbo_Welltests is an SQL Server table if that matters. > > SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, > Max(dbo_WellTests.TestDate) AS MaxOfTestDate > FROM dbo_WellTests > GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name > HAVING (((dbo_WellTests.Well_Name)="109-2") AND > ((Max(dbo_WellTests.TestDate))<#9/1/2011#)); > > Thanks. > > > 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 Mon Sep 26 14:19:29 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 26 Sep 2011 14:19:29 -0500 Subject: [AccessD] Query not returning any records In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0765B@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C1986D07669@houex1.kindermorgan.com> Yes it does return records. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Monday, September 26, 2011 2:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query not returning any records Does this work? HAVING ((dbo_WellTests.Well_Name="109-2") AND (dbo_WellTests.TestDate<#9/1/2011#)); On Mon, Sep 26, 2011 at 12:01 PM, Kaup, Chester < Chester_Kaup at kindermorgan.com> wrote: > When I run the following query I get the results listed below > > SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, > dbo_WellTests.TestDate > FROM dbo_WellTests > GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, > dbo_WellTests.TestDate > HAVING (((dbo_WellTests.Well_Name)="109-2")); > > Well_API_14 Well_Name TestDate > 42415034120000 109-2 6/7/2011 > 42415034120000 109-2 6/8/2011 > 42415034120000 109-2 8/7/2011 > 42415034120000 109-2 8/28/2011 > 42415034120000 109-2 9/1/2011 > 42415034120000 109-2 9/5/2011 > > However when I run the following query I get no records returned. The table > dbo_Welltests is an SQL Server table if that matters. > > SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, > Max(dbo_WellTests.TestDate) AS MaxOfTestDate > FROM dbo_WellTests > GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name > HAVING (((dbo_WellTests.Well_Name)="109-2") AND > ((Max(dbo_WellTests.TestDate))<#9/1/2011#)); > > Thanks. > > > 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 Chester_Kaup at kindermorgan.com Mon Sep 26 14:22:04 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 26 Sep 2011 14:22:04 -0500 Subject: [AccessD] Query not returning any records In-Reply-To: <005701cc7c7f$c36cccc0$4a466640$@sc.rr.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0765B@houex1.kindermorgan.com> <005701cc7c7f$c36cccc0$4a466640$@sc.rr.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0766A@houex1.kindermorgan.com> Maybe I need some different syntax. I want the last record before 9/1/2011 i.e. the record dated 8/28/2011. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Monday, September 26, 2011 2:09 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query not returning any records Chester, Well, right off the bat, you have Max(dbo_WellTests.TestDate) <#9/1/2011# and the maximum date in your list is 9/1/2011. So max(9/1/2011) is not less than 9/1/2011. So you get no records. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, September 26, 2011 3:01 PM To: Access Developers discussion and problem solving Subject: [AccessD] Query not returning any records When I run the following query I get the results listed below SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, dbo_WellTests.TestDate FROM dbo_WellTests GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, dbo_WellTests.TestDate HAVING (((dbo_WellTests.Well_Name)="109-2")); Well_API_14 Well_Name TestDate 42415034120000 109-2 6/7/2011 42415034120000 109-2 6/8/2011 42415034120000 109-2 8/7/2011 42415034120000 109-2 8/28/2011 42415034120000 109-2 9/1/2011 42415034120000 109-2 9/5/2011 However when I run the following query I get no records returned. The table dbo_Welltests is an SQL Server table if that matters. SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, Max(dbo_WellTests.TestDate) AS MaxOfTestDate FROM dbo_WellTests GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name HAVING (((dbo_WellTests.Well_Name)="109-2") AND ((Max(dbo_WellTests.TestDate))<#9/1/2011#)); Thanks. 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 davidmcafee at gmail.com Mon Sep 26 14:53:20 2011 From: davidmcafee at gmail.com (David McAfee) Date: Mon, 26 Sep 2011 12:53:20 -0700 Subject: [AccessD] Query not returning any records In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0766A@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0765B@houex1.kindermorgan.com> <005701cc7c7f$c36cccc0$4a466640$@sc.rr.com> <0B2BF8524B73A248A2F1B81BA751ED3C1986D0766A@houex1.kindermorgan.com> Message-ID: SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, Max(dbo_WellTests.TestDate) AS MaxOfTestDate FROM dbo_WellTests WHERE dbo_WellTests.Well_Name="109-2" AND dbo_WellTests.TestDate<#9/1/2011# GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name On Mon, Sep 26, 2011 at 12:22 PM, Kaup, Chester < Chester_Kaup at kindermorgan.com> wrote: > Maybe I need some different syntax. I want the last record before 9/1/2011 > i.e. the record dated 8/28/2011. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid > Sent: Monday, September 26, 2011 2:09 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Query not returning any records > > Chester, > > Well, right off the bat, you have Max(dbo_WellTests.TestDate) <#9/1/2011# > and the maximum date in your list is 9/1/2011. So max(9/1/2011) is not > less > than 9/1/2011. So you get no records. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester > Sent: Monday, September 26, 2011 3:01 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Query not returning any records > > When I run the following query I get the results listed below > > SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, > dbo_WellTests.TestDate FROM dbo_WellTests GROUP BY > dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, dbo_WellTests.TestDate > HAVING (((dbo_WellTests.Well_Name)="109-2")); > > Well_API_14 Well_Name TestDate > 42415034120000 109-2 6/7/2011 > 42415034120000 109-2 6/8/2011 > 42415034120000 109-2 8/7/2011 > 42415034120000 109-2 8/28/2011 > 42415034120000 109-2 9/1/2011 > 42415034120000 109-2 9/5/2011 > > However when I run the following query I get no records returned. The table > dbo_Welltests is an SQL Server table if that matters. > > SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, > Max(dbo_WellTests.TestDate) AS MaxOfTestDate FROM dbo_WellTests GROUP BY > dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name HAVING > (((dbo_WellTests.Well_Name)="109-2") AND > ((Max(dbo_WellTests.TestDate))<#9/1/2011#)); > > Thanks. > > > 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 Chester_Kaup at kindermorgan.com Mon Sep 26 15:04:22 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 26 Sep 2011 15:04:22 -0500 Subject: [AccessD] Query not returning any records In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0765B@houex1.kindermorgan.com> <005701cc7c7f$c36cccc0$4a466640$@sc.rr.com> <0B2BF8524B73A248A2F1B81BA751ED3C1986D0766A@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C1986D07688@houex1.kindermorgan.com> Thanks! That works. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Monday, September 26, 2011 2:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query not returning any records SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, Max(dbo_WellTests.TestDate) AS MaxOfTestDate FROM dbo_WellTests WHERE dbo_WellTests.Well_Name="109-2" AND dbo_WellTests.TestDate<#9/1/2011# GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name On Mon, Sep 26, 2011 at 12:22 PM, Kaup, Chester < Chester_Kaup at kindermorgan.com> wrote: > Maybe I need some different syntax. I want the last record before 9/1/2011 > i.e. the record dated 8/28/2011. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid > Sent: Monday, September 26, 2011 2:09 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Query not returning any records > > Chester, > > Well, right off the bat, you have Max(dbo_WellTests.TestDate) <#9/1/2011# > and the maximum date in your list is 9/1/2011. So max(9/1/2011) is not > less > than 9/1/2011. So you get no records. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester > Sent: Monday, September 26, 2011 3:01 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Query not returning any records > > When I run the following query I get the results listed below > > SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, > dbo_WellTests.TestDate FROM dbo_WellTests GROUP BY > dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, dbo_WellTests.TestDate > HAVING (((dbo_WellTests.Well_Name)="109-2")); > > Well_API_14 Well_Name TestDate > 42415034120000 109-2 6/7/2011 > 42415034120000 109-2 6/8/2011 > 42415034120000 109-2 8/7/2011 > 42415034120000 109-2 8/28/2011 > 42415034120000 109-2 9/1/2011 > 42415034120000 109-2 9/5/2011 > > However when I run the following query I get no records returned. The table > dbo_Welltests is an SQL Server table if that matters. > > SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, > Max(dbo_WellTests.TestDate) AS MaxOfTestDate FROM dbo_WellTests GROUP BY > dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name HAVING > (((dbo_WellTests.Well_Name)="109-2") AND > ((Max(dbo_WellTests.TestDate))<#9/1/2011#)); > > Thanks. > > > 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 fuller.artful at gmail.com Mon Sep 26 20:30:56 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 26 Sep 2011 21:30:56 -0400 Subject: [AccessD] SSDs Message-ID: This from slashdot: *"Although they haven't been big hits with enthusiasts, Samsung's solid state drives have been successful due to strong relationships with a number of OEMs, including Apple. With the release of their new SSD 830 Series Solid State Drives, however, Samsung appears ready to make inroads with enthusiasts as well. The SSD 830 tested here is 256GB model, with eight 32GB Samsung NAND flash memory chips, 256MB of Samsung DDR2 SDRAM cache memory, and a new Samsung SSD Controller. The Samsung controller features a 3-ARM core design with support for SATA III 6Gb/s interface speeds. Performance-wise, the Samsung SSD 830 Series drive offered the best Read performanceof the group that was tested, even versus the latest SandForce-based SSDs, though the SSD 830 couldn't quite catch SandForce in writes."* Arthur From jwcolby at colbyconsulting.com Tue Sep 27 06:52:54 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Sep 2011 07:52:54 -0400 Subject: [AccessD] Calculating mileage Message-ID: <4E81B916.70601@colbyconsulting.com> Before tax time I need to add a module to my inmate checkout to calculate mileage for all legs of a trip with the inmates. The database contains records of where we go - the midpoints points - with addresses, but the database does not have my start / end point (home). 1) Home to prison 2) Prison to first destination in the db 3) First destination to second destination (if any) 4) Second destination to third destination (if any) 5) Last destination to prison 6) Prison to home I thought I would try to use Microsoft Streets and trips to do the mapping, though I am open to using Google Maps if there is a programming interface available to the VBA language. I could of course manually enter the trips into Streets and trips, get the mileage and build a table of all the "legs" that I have ever done but that is error prone and forces me to do the whole thing manually. Also this is in use by other people so it would be nice to build a module that would also calculate their legs, which I certainly do not want to do myself manually. If for tax purposes I just assume that we always start from home and end at home I could use something like Streets and trips (which I have) to calculate all of these legs for each trip and place them in a table. At tax time I then have a mileage log for the IRS. I have never used Streets and Trips for this purpose. I do know that it has an API and VBA available for it. If anyone uses it for this purpose and has a library (or a function) written to do this that they would share that would be great. Or a web or help resource for this. Thanks, -- John W. Colby www.ColbyConsulting.com From stuart at lexacorp.com.pg Tue Sep 27 07:16:52 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 27 Sep 2011 22:16:52 +1000 Subject: [AccessD] Calculating mileage In-Reply-To: <4E81B916.70601@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com> Message-ID: <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> Seems very complicate when you can just record the start/finish mileage readings of the car for each trip. And that would probably be more acceptable as a record by the IRS rather than a notional mileage based on maps. -- Stuart On 27 Sep 2011 at 7:52, jwcolby wrote: > Before tax time I need to add a module to my inmate checkout to > calculate mileage for all legs of a trip with the inmates. The > database contains records of where we go - the midpoints points - with > addresses, but the database does not have my start / end point (home). > > 1) Home to prison > 2) Prison to first destination in the db > 3) First destination to second destination (if any) > 4) Second destination to third destination (if any) > 5) Last destination to prison > 6) Prison to home > > I thought I would try to use Microsoft Streets and trips to do the > mapping, though I am open to using Google Maps if there is a > programming interface available to the VBA language. > > I could of course manually enter the trips into Streets and trips, get > the mileage and build a table of all the "legs" that I have ever done > but that is error prone and forces me to do the whole thing manually. > Also this is in use by other people so it would be nice to build a > module that would also calculate their legs, which I certainly do not > want to do myself manually. > > If for tax purposes I just assume that we always start from home and > end at home I could use something like Streets and trips (which I > have) to calculate all of these legs for each trip and place them in a > table. At tax time I then have a mileage log for the IRS. > > I have never used Streets and Trips for this purpose. I do know that > it has an API and VBA available for it. If anyone uses it for this > purpose and has a library (or a function) written to do this that they > would share that would be great. Or a web or help resource for this. > > Thanks, > > -- > John W. Colby > www.ColbyConsulting.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 Sep 27 07:49:53 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Sep 2011 08:49:53 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> References: <4E81B916.70601@colbyconsulting.com> <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> Message-ID: <4E81C671.7030707@colbyconsulting.com> > Seems very complicate when you can just record the start/finish mileage readings of the car for each trip. Yes but I keep forgetting to enter the start / stop readings. A program, once created, just works on whatever data is there. Since I have to file paperwork for the checkout process, and since those records are permanently stored in my database, I always have a record of what I did. It doesn't seem "very complicated" though it could become so I suppose. The database has my home address, that is the start / stop point. The database has the prison camp address, that is the endpoint of the first leg and the start point of the last leg. 1) Calc home to prison 2) Calc prison to first stop 3) Calc first stop to second stop 4) Calc second stop to third stop 5) Calc third stop to prison 6) Calc prison to home Each becomes a record in a table with the pass request ID as the FK that ties them into a single "trip". Any pass request IDs not in the trip table need to be calculated. Report. AFAICT the IRS is not going to dispute the figures. There are logs (a file) at the prison that proves I did in fact checked the guys out, and by law I am supposed to take them where I say I am taking them. They actually do occasional checks where they send officers out to see that you are where you say you are going to be. John W. Colby www.ColbyConsulting.com On 9/27/2011 8:16 AM, Stuart McLachlan wrote: > Seems very complicate when you can just record the start/finish mileage readings of the car > for each trip. And that would probably be more acceptable as a record by the IRS rather than > a notional mileage based on maps. > From rockysmolin at bchacc.com Tue Sep 27 08:08:29 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 27 Sep 2011 06:08:29 -0700 Subject: [AccessD] Calculating mileage In-Reply-To: <4E81C671.7030707@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com><4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> Message-ID: Is there a way for your app to send start and end points to MapQuest or GoogleMaps and have them return the mileage? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 27, 2011 5:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calculating mileage > Seems very complicate when you can just record the start/finish mileage readings of the car for each trip. Yes but I keep forgetting to enter the start / stop readings. A program, once created, just works on whatever data is there. Since I have to file paperwork for the checkout process, and since those records are permanently stored in my database, I always have a record of what I did. It doesn't seem "very complicated" though it could become so I suppose. The database has my home address, that is the start / stop point. The database has the prison camp address, that is the endpoint of the first leg and the start point of the last leg. 1) Calc home to prison 2) Calc prison to first stop 3) Calc first stop to second stop 4) Calc second stop to third stop 5) Calc third stop to prison 6) Calc prison to home Each becomes a record in a table with the pass request ID as the FK that ties them into a single "trip". Any pass request IDs not in the trip table need to be calculated. Report. AFAICT the IRS is not going to dispute the figures. There are logs (a file) at the prison that proves I did in fact checked the guys out, and by law I am supposed to take them where I say I am taking them. They actually do occasional checks where they send officers out to see that you are where you say you are going to be. John W. Colby www.ColbyConsulting.com On 9/27/2011 8:16 AM, Stuart McLachlan wrote: > Seems very complicate when you can just record the start/finish > mileage readings of the car for each trip. And that would probably be > more acceptable as a record by the IRS rather than a notional mileage based on maps. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Sep 27 10:16:43 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Sep 2011 11:16:43 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: References: <4E81B916.70601@colbyconsulting.com><4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> Message-ID: <4E81E8DB.2070508@colbyconsulting.com> I don't know about mapquest or googlemaps. I am looking at doing this with vba and MapPoint which is Microsoft's software that I already own. It looks like it is going to be pretty easy to do it. I will be building a table which processes each Pass Request and stores the computed values in a TripMileage table. If I do this on my server then it will be calculated for every user of the database and I can just build a report in the application we use for the pass paperwork, to display the data for each volunteer. John W. Colby www.ColbyConsulting.com On 9/27/2011 9:08 AM, Rocky Smolin wrote: > Is there a way for your app to send start and end points to MapQuest or > GoogleMaps and have them return the mileage? > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, September 27, 2011 5:50 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Calculating mileage > > > Seems very complicate when you can just record the start/finish mileage > readings of the car for each trip. > > Yes but I keep forgetting to enter the start / stop readings. > > A program, once created, just works on whatever data is there. Since I have > to file paperwork for the checkout process, and since those records are > permanently stored in my database, I always have a record of what I did. > > It doesn't seem "very complicated" though it could become so I suppose. The > database has my home address, that is the start / stop point. The database > has the prison camp address, that is the endpoint of the first leg and the > start point of the last leg. > > 1) Calc home to prison > 2) Calc prison to first stop > 3) Calc first stop to second stop > 4) Calc second stop to third stop > 5) Calc third stop to prison > 6) Calc prison to home > > Each becomes a record in a table with the pass request ID as the FK that > ties them into a single "trip". Any pass request IDs not in the trip table > need to be calculated. > > Report. > > AFAICT the IRS is not going to dispute the figures. There are logs (a file) > at the prison that proves I did in fact checked the guys out, and by law I > am supposed to take them where I say I am taking them. They actually do > occasional checks where they send officers out to see that you are where you > say you are going to be. > > John W. Colby > www.ColbyConsulting.com > > On 9/27/2011 8:16 AM, Stuart McLachlan wrote: >> Seems very complicate when you can just record the start/finish >> mileage readings of the car for each trip. And that would probably be >> more acceptable as a record by the IRS rather than a notional mileage > based on maps. >> > -- > 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 Sep 27 12:32:40 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Tue, 27 Sep 2011 10:32:40 -0700 Subject: [AccessD] Calculating mileage In-Reply-To: <4E81E8DB.2070508@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com> <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> <4E81E8DB.2070508@colbyconsulting.com> Message-ID: John, You have a smartphone, right? There's an android app called Mileage Tracker, from Frank Android Software, that lets you do this on you smartphone and export a mileage report to CSV format that can be opened in Excel or whatever. I use it for hospice volunteer and business uses. Charlotte Foust On Tue, Sep 27, 2011 at 8:16 AM, jwcolby wrote: > I don't know about mapquest or googlemaps. I am looking at doing this with > vba and MapPoint which is Microsoft's software that I already own. It looks > like it is going to be pretty easy to do it. I will be building a table > which processes each Pass Request and stores the computed values in a > TripMileage table. If I do this on my server then it will be calculated for > every user of the database and I can just build a report in the application > we use for the pass paperwork, to display the data for each volunteer. > > John W. Colby > www.ColbyConsulting.com > > > > On 9/27/2011 9:08 AM, Rocky Smolin wrote: > >> Is there a way for your app to send start and end points to MapQuest or >> GoogleMaps and have them return the mileage? >> >> Rocky >> >> >> -----Original Message----- >> From: accessd-bounces@**databaseadvisors.com >> [mailto:accessd-bounces@**databaseadvisors.com] >> On Behalf Of jwcolby >> Sent: Tuesday, September 27, 2011 5:50 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Calculating mileage >> >> > Seems very complicate when you can just record the start/finish >> mileage >> readings of the car for each trip. >> >> Yes but I keep forgetting to enter the start / stop readings. >> >> A program, once created, just works on whatever data is there. Since I >> have >> to file paperwork for the checkout process, and since those records are >> permanently stored in my database, I always have a record of what I did. >> >> It doesn't seem "very complicated" though it could become so I suppose. >> The >> database has my home address, that is the start / stop point. The >> database >> has the prison camp address, that is the endpoint of the first leg and the >> start point of the last leg. >> >> 1) Calc home to prison >> 2) Calc prison to first stop >> 3) Calc first stop to second stop >> 4) Calc second stop to third stop >> 5) Calc third stop to prison >> 6) Calc prison to home >> >> Each becomes a record in a table with the pass request ID as the FK that >> ties them into a single "trip". Any pass request IDs not in the trip >> table >> need to be calculated. >> >> Report. >> >> AFAICT the IRS is not going to dispute the figures. There are logs (a >> file) >> at the prison that proves I did in fact checked the guys out, and by law I >> am supposed to take them where I say I am taking them. They actually do >> occasional checks where they send officers out to see that you are where >> you >> say you are going to be. >> >> John W. Colby >> www.ColbyConsulting.com >> >> >> >> On 9/27/2011 8:16 AM, Stuart McLachlan wrote: >> >>> Seems very complicate when you can just record the start/finish >>> mileage readings of the car for each trip. And that would probably be >>> more acceptable as a record by the IRS rather than a notional mileage >>> >> based on maps. >> >>> >>> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/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 Sep 27 12:55:58 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Sep 2011 13:55:58 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: References: <4E81B916.70601@colbyconsulting.com> <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> <4E81E8DB.2070508@colbyconsulting.com> Message-ID: <4E820E2E.4060402@colbyconsulting.com> And I downloaded one but I forget to open it and do it. So I was trying to back fill it, which is a PITA. Then I said... "this is stupid". My database has records for every time I take guys out... Whether or not I remember to track it in a cell phone app or in a notebook, if I don't do it in my database I cannot check the guys out. Ergo, let the computer do it. I truly did not consider this a major development effort and once done it does it for me or for 200 different people using the database. Not that I have 250 people, but I do have three so far. So three (or 150) people trying to remember to track their mileage or my program doing it automatically behind the scenes... If you were a user which would you prefer? I am a user and my manually tracking my mileage has been a disaster. John W. Colby www.ColbyConsulting.com On 9/27/2011 1:32 PM, Charlotte Foust wrote: > John, > > You have a smartphone, right? There's an android app called Mileage > Tracker, from Frank Android Software, that lets you do this on you > smartphone and export a mileage report to CSV format that can be opened in > Excel or whatever. I use it for hospice volunteer and business uses. > > Charlotte Foust From jwcolby at colbyconsulting.com Tue Sep 27 12:59:24 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Sep 2011 13:59:24 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: References: <4E81B916.70601@colbyconsulting.com> <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> <4E81E8DB.2070508@colbyconsulting.com> Message-ID: <4E820EFC.1070903@colbyconsulting.com> Charlotte, I also have to say that it never occurred to me that on a programming group, a request for a vba function would be answered by "do it manually". ;) Disappointed I am. John W. Colby www.ColbyConsulting.com On 9/27/2011 1:32 PM, Charlotte Foust wrote: > John, > > You have a smartphone, right? There's an android app called Mileage > Tracker, from Frank Android Software, that lets you do this on you > smartphone and export a mileage report to CSV format that can be opened in > Excel or whatever. I use it for hospice volunteer and business uses. > > Charlotte Foust From rockysmolin at bchacc.com Tue Sep 27 13:46:47 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 27 Sep 2011 11:46:47 -0700 Subject: [AccessD] Calculating mileage In-Reply-To: <4E820EFC.1070903@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com> <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> <4E81E8DB.2070508@colbyconsulting.com> <4E820EFC.1070903@colbyconsulting.com> Message-ID: The system is the solution not the software. I still keep the corporate records in pencil on a 13 column green sheet because it's effective, easy to add/change/delete, never have to worry about backups, etc. I could move to QuickBooks and spent 3x the time keeping the records. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 27, 2011 10:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calculating mileage Charlotte, I also have to say that it never occurred to me that on a programming group, a request for a vba function would be answered by "do it manually". ;) Disappointed I am. John W. Colby www.ColbyConsulting.com On 9/27/2011 1:32 PM, Charlotte Foust wrote: > John, > > You have a smartphone, right? There's an android app called Mileage > Tracker, from Frank Android Software, that lets you do this on you > smartphone and export a mileage report to CSV format that can be > opened in Excel or whatever. I use it for hospice volunteer and business uses. > > Charlotte Foust -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From steve at goodhall.info Tue Sep 27 13:57:09 2011 From: steve at goodhall.info (Steve Goodhall) Date: Tue, 27 Sep 2011 14:57:09 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: References: <4E81B916.70601@colbyconsulting.com> <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> <4E81E8DB.2070508@colbyconsulting.com> <4E820EFC.1070903@colbyconsulting.com> Message-ID: A couple of questions : What do you do if the dog eats your ledger? Shouldn't you use a quill and inkwell to prevent alteration of the records? Steve Goodhall, MSCS, PMP Sent from my Verizon Wireless Phone -----Original message----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 27, 2011 18:49:18 GMT+00:00 Subject: Re: [AccessD] Calculating mileage The system is the solution not the software. I still keep the corporate records in pencil on a 13 column green sheet because it's effective, easy to add/change/delete, never have to worry about backups, etc. I could move to QuickBooks and spent 3x the time keeping the records. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 27, 2011 10:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calculating mileage Charlotte, I also have to say that it never occurred to me that on a programming group, a request for a vba function would be answered by "do it manually". ;) Disappointed I am. John W. Colby www.ColbyConsulting.com On 9/27/2011 1:32 PM, Charlotte Foust wrote: > John, > > You have a smartphone, right? There's an android app called Mileage > Tracker, from Frank Android Software, that lets you do this on you > smartphone and export a mileage report to CSV format that can be > opened in Excel or whatever. I use it for hospice volunteer and business uses. > > Charlotte Foust -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue Sep 27 14:14:58 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 27 Sep 2011 12:14:58 -0700 Subject: [AccessD] Calculating mileage In-Reply-To: References: <4E81B916.70601@colbyconsulting.com> <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> <4E81E8DB.2070508@colbyconsulting.com> <4E820EFC.1070903@colbyconsulting.com> Message-ID: 1) the dog knows if she ever wants to eat again... 2) how can I alter the books on the fly if they're in ink? I'm keeping the green eyeshade and the high stool, however. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 27, 2011 11:57 AM To: Access Developers discussion and problemsolving Subject: Re: [AccessD] Calculating mileage A couple of questions : What do you do if the dog eats your ledger? Shouldn't you use a quill and inkwell to prevent alteration of the records? Steve Goodhall, MSCS, PMP Sent from my Verizon Wireless Phone -----Original message----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 27, 2011 18:49:18 GMT+00:00 Subject: Re: [AccessD] Calculating mileage The system is the solution not the software. I still keep the corporate records in pencil on a 13 column green sheet because it's effective, easy to add/change/delete, never have to worry about backups, etc. I could move to QuickBooks and spent 3x the time keeping the records. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 27, 2011 10:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calculating mileage Charlotte, I also have to say that it never occurred to me that on a programming group, a request for a vba function would be answered by "do it manually". ;) Disappointed I am. John W. Colby www.ColbyConsulting.com On 9/27/2011 1:32 PM, Charlotte Foust wrote: > John, > > You have a smartphone, right? There's an android app called Mileage > Tracker, from Frank Android Software, that lets you do this on you > smartphone and export a mileage report to CSV format that can be > opened in Excel or whatever. I use it for hospice volunteer and > business uses. > > Charlotte Foust -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Sep 27 14:21:22 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Tue, 27 Sep 2011 12:21:22 -0700 Subject: [AccessD] Calculating mileage In-Reply-To: <4E820EFC.1070903@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com> <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> <4E81E8DB.2070508@colbyconsulting.com> <4E820EFC.1070903@colbyconsulting.com> Message-ID: Too bad, it is. :-> I fail to see how putting your mileage in is doing it manually. Unless you have a sensor in you automobile, you're putting something in somewhere. Charlotte Foust On Tue, Sep 27, 2011 at 10:59 AM, jwcolby wrote: > Charlotte, > > I also have to say that it never occurred to me that on a programming > group, a request for a vba function would be answered by "do it manually". > > ;) > > Disappointed I am. > > > John W. Colby > www.ColbyConsulting.com > > > > On 9/27/2011 1:32 PM, Charlotte Foust wrote: > >> John, >> >> You have a smartphone, right? There's an android app called Mileage >> Tracker, from Frank Android Software, that lets you do this on you >> smartphone and export a mileage report to CSV format that can be opened in >> Excel or whatever. I use it for hospice volunteer and business uses. >> >> 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 Tue Sep 27 14:51:06 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Sep 2011 15:51:06 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: References: <4E81B916.70601@colbyconsulting.com> <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> <4E81E8DB.2070508@colbyconsulting.com> <4E820EFC.1070903@colbyconsulting.com> Message-ID: <4E82292A.3000909@colbyconsulting.com> > I fail to see how putting your mileage in is doing it manually. It absolutely is doing it manually. I have to remember to take my phone (I have actually left it behind occasionally). I have to manually open the program and enter the odometer reading. I have to remember to enter it again when I get home. I have to manually pull it out of the phone into a spreadsheet, and then I have to design calculations to... All pretty much manual. >Unless you have a sensor in you automobile, you're putting something in somewhere. As I explained in the previous emails, there is a database where I build pass requests for checking inmates out of prison. The paperwork (the reason for the databases' existence) requires actual lines on a paper saying that I am taking inmate XYZ to this physical location (with street address) from date time ABC to (same) date (different) time DEF. So in order to check anyone out I have to fill out this paperwork which I do in a database, print out and fax to the prison. These database records record the physical locations (addresses), thus my original question about how to get the mileage from address X to address Y. I have a table with literally hundreds of records about picking guys up at the prison, taking them to a meeting at some address, then to eat at some other address. What is missing (but is easy to create programmatically) is my house to the prison and the prison back to my house. My vision is a small process that is run on my server which every day scans the pass request table for records not yet processed, and builds these mileage records in a mileage table. If this runs daily, then any database user (volunteer) can just run a report to display his mileage for a time period - last week, month or year. The report can list the trips and segments as a log for IRS documentation and multiply by 55c / mile (or whatever the current rate is) for entering into the correct tax form. For the average Joe (me) who does not employ a book keeper this seems infinitely preferable to any alternative I can think of. John W. Colby www.ColbyConsulting.com On 9/27/2011 3:21 PM, Charlotte Foust wrote: > Too bad, it is. :-> > > I fail to see how putting your mileage in is doing it manually. Unless > you have a sensor in you automobile, you're putting something in somewhere. > > Charlotte Foust > > On Tue, Sep 27, 2011 at 10:59 AM, jwcolbywrote: > >> Charlotte, >> >> I also have to say that it never occurred to me that on a programming >> group, a request for a vba function would be answered by "do it manually". >> >> ;) >> >> Disappointed I am. >> >> >> John W. Colby >> www.ColbyConsulting.com >> >> >> >> On 9/27/2011 1:32 PM, Charlotte Foust wrote: >> >>> John, >>> >>> You have a smartphone, right? There's an android app called Mileage >>> Tracker, from Frank Android Software, that lets you do this on you >>> smartphone and export a mileage report to CSV format that can be opened in >>> Excel or whatever. I use it for hospice volunteer and business uses. >>> >>> Charlotte Foust >>> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> >> >> Website: http://www.databaseadvisors.**com >> >> >> From darryl at whittleconsulting.com.au Tue Sep 27 18:17:40 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 28 Sep 2011 09:17:40 +1000 Subject: [AccessD] Calculating mileage In-Reply-To: <4E81B916.70601@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com> Message-ID: <000701cc7d6b$a78c1550$f6a43ff0$@com.au> I would have thought a standard GPS unit would do this for you pretty much automatically, although I have bugger all experience in this area. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, 27 September 2011 9:53 PM To: Access Developers discussion and problem solving Subject: [AccessD] Calculating mileage Before tax time I need to add a module to my inmate checkout to calculate mileage for all legs of a trip with the inmates. The database contains records of where we go - the midpoints points - with addresses, but the database does not have my start / end point (home). 1) Home to prison 2) Prison to first destination in the db 3) First destination to second destination (if any) 4) Second destination to third destination (if any) 5) Last destination to prison 6) Prison to home I thought I would try to use Microsoft Streets and trips to do the mapping, though I am open to using Google Maps if there is a programming interface available to the VBA language. I could of course manually enter the trips into Streets and trips, get the mileage and build a table of all the "legs" that I have ever done but that is error prone and forces me to do the whole thing manually. Also this is in use by other people so it would be nice to build a module that would also calculate their legs, which I certainly do not want to do myself manually. If for tax purposes I just assume that we always start from home and end at home I could use something like Streets and trips (which I have) to calculate all of these legs for each trip and place them in a table. At tax time I then have a mileage log for the IRS. I have never used Streets and Trips for this purpose. I do know that it has an API and VBA available for it. If anyone uses it for this purpose and has a library (or a function) written to do this that they would share that would be great. Or a web or help resource for this. Thanks, -- John W. Colby www.ColbyConsulting.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 Sep 27 21:35:31 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Sep 2011 22:35:31 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: <000701cc7d6b$a78c1550$f6a43ff0$@com.au> References: <4E81B916.70601@colbyconsulting.com> <000701cc7d6b$a78c1550$f6a43ff0$@com.au> Message-ID: <4E8287F3.2000201@colbyconsulting.com> > I would have thought a standard GPS unit would do this for you pretty much automatically Do what for me? A gps gets you from one place to another. I need code to calculate mileage between two points. I have a database of trips I have taken, hundreds of existing records. I need to calculate the mileage of those trips so that I can apply for a tax refund. Maybe I am missing something here. How is a a gps or a smart phone or a paper log going to help me get mileage calculations for existing and future data records in a database? John W. Colby www.ColbyConsulting.com On 9/27/2011 7:17 PM, Darryl Collins wrote: > I would have thought a standard GPS unit would do this for you pretty much > automatically, although I have bugger all experience in this area. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, 27 September 2011 9:53 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Calculating mileage > > Before tax time I need to add a module to my inmate checkout to calculate > mileage for all legs of a > trip with the inmates. The database contains records of where we go - the > midpoints points - with > addresses, but the database does not have my start / end point (home). > > 1) Home to prison > 2) Prison to first destination in the db > 3) First destination to second destination (if any) > 4) Second destination to third destination (if any) > 5) Last destination to prison > 6) Prison to home > > I thought I would try to use Microsoft Streets and trips to do the mapping, > though I am open to > using Google Maps if there is a programming interface available to the VBA > language. > > I could of course manually enter the trips into Streets and trips, get the > mileage and build a table > of all the "legs" that I have ever done but that is error prone and forces > me to do the whole thing > manually. Also this is in use by other people so it would be nice to build > a module that would also > calculate their legs, which I certainly do not want to do myself manually. > > If for tax purposes I just assume that we always start from home and end at > home I could use > something like Streets and trips (which I have) to calculate all of these > legs for each trip and > place them in a table. At tax time I then have a mileage log for the IRS. > > I have never used Streets and Trips for this purpose. I do know that it has > an API and VBA > available for it. If anyone uses it for this purpose and has a library (or > a function) written to > do this that they would share that would be great. Or a web or help > resource for this. > > Thanks, > From vbacreations at gmail.com Tue Sep 27 22:10:32 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Tue, 27 Sep 2011 23:10:32 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: References: <4E81B916.70601@colbyconsulting.com> <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> <4E81E8DB.2070508@colbyconsulting.com> <4E820EFC.1070903@colbyconsulting.com> Message-ID: <006201cc7d8c$2fab2320$8f016960$@gmail.com> It is only manually if there is a clutch. Paddle shifters don't count. :<) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, September 27, 2011 3:21 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calculating mileage Too bad, it is. :-> I fail to see how putting your mileage in is doing it manually. Unless you have a sensor in you automobile, you're putting something in somewhere. Charlotte Foust On Tue, Sep 27, 2011 at 10:59 AM, jwcolby wrote: > Charlotte, > > I also have to say that it never occurred to me that on a programming > group, a request for a vba function would be answered by "do it manually". > > ;) > > Disappointed I am. > > > John W. Colby > www.ColbyConsulting.com > > > > On 9/27/2011 1:32 PM, Charlotte Foust wrote: > >> John, >> >> You have a smartphone, right? There's an android app called Mileage >> Tracker, from Frank Android Software, that lets you do this on you >> smartphone and export a mileage report to CSV format that can be opened in >> Excel or whatever. I use it for hospice volunteer and business uses. >> >> Charlotte Foust >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/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 Sep 27 22:31:44 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 28 Sep 2011 13:31:44 +1000 Subject: [AccessD] Calculating mileage In-Reply-To: <4E8287F3.2000201@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com> <000701cc7d6b$a78c1550$f6a43ff0$@com.au> <4E8287F3.2000201@colbyconsulting.com> Message-ID: <002201cc7d8f$25cae130$7160a390$@com.au> Can't add much value to your historical data issue John, but for your future records, well I guess it depends on how much effort and money you want to put into this. There are 'turnkey' solutions already out there for exactly this sort of reporting. These folks will report on miles / kilometres travelled and way much more for about $40 a month. <> It actually looks like a bit of over engineering for what you are after, but the concept is exactly what I am talking about. Let the GPS record the mileage for you and just download it to you PC. You might find the service above is worth the $40 per month for your needs. Dunno. Anyway, that seems a lot easier than stuffing around with tracking online maps etc Although the cheapest and best solution I would have thought was the one already suggested. Use a smart phone app, or better still, an old fashion paper log book. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, 28 September 2011 12:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calculating mileage > I would have thought a standard GPS unit would do this for you pretty much automatically Do what for me? A gps gets you from one place to another. I need code to calculate mileage between two points. I have a database of trips I have taken, hundreds of existing records. I need to calculate the mileage of those trips so that I can apply for a tax refund. Maybe I am missing something here. How is a a gps or a smart phone or a paper log going to help me get mileage calculations for existing and future data records in a database? John W. Colby www.ColbyConsulting.com On 9/27/2011 7:17 PM, Darryl Collins wrote: > I would have thought a standard GPS unit would do this for you pretty much > automatically, although I have bugger all experience in this area. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, 27 September 2011 9:53 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Calculating mileage > > Before tax time I need to add a module to my inmate checkout to calculate > mileage for all legs of a > trip with the inmates. The database contains records of where we go - the > midpoints points - with > addresses, but the database does not have my start / end point (home). > > 1) Home to prison > 2) Prison to first destination in the db > 3) First destination to second destination (if any) > 4) Second destination to third destination (if any) > 5) Last destination to prison > 6) Prison to home > > I thought I would try to use Microsoft Streets and trips to do the mapping, > though I am open to > using Google Maps if there is a programming interface available to the VBA > language. > > I could of course manually enter the trips into Streets and trips, get the > mileage and build a table > of all the "legs" that I have ever done but that is error prone and forces > me to do the whole thing > manually. Also this is in use by other people so it would be nice to build > a module that would also > calculate their legs, which I certainly do not want to do myself manually. > > If for tax purposes I just assume that we always start from home and end at > home I could use > something like Streets and trips (which I have) to calculate all of these > legs for each trip and > place them in a table. At tax time I then have a mileage log for the IRS. > > I have never used Streets and Trips for this purpose. I do know that it has > an API and VBA > available for it. If anyone uses it for this purpose and has a library (or > a function) written to > do this that they would share that would be great. Or a web or help > resource for this. > > Thanks, > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Sep 28 06:08:03 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 28 Sep 2011 07:08:03 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: <002201cc7d8f$25cae130$7160a390$@com.au> References: <4E81B916.70601@colbyconsulting.com> <000701cc7d6b$a78c1550$f6a43ff0$@com.au> <4E8287F3.2000201@colbyconsulting.com> <002201cc7d8f$25cae130$7160a390$@com.au> Message-ID: <4E830013.2020403@colbyconsulting.com> But... I have database records already in a database. This is not about defining a solution for data that does not exist and I would otherwise have to enter. This is about defining a solution for data that I (and any other user) must enter into the database to use the inmate pass program. *It is already in the database* This is about building a small program to do these calculations about data that has and *is going to* accumulate in the course of doing business. It appears that I am not able to get across to this list the fact that the records already exist in a database. Forget that I am driving. *Just please forget that fact.* I never said anything about actually driving these miles, being in a car or anything else related to automobiles. Now... I have records in a database which have addresses in them. I need to calculate driving distances between those addresses. Pleeeeeeaaaaaaase, I do not want nor do I need anything related to logging miles driven in a car. I need a function which takes two addresses and hands back miles between those points, actual miles that would be driven. BUT I AM NOT DRIVING THOSE MILES. The records are somehow just magically (poof) appearing in a table! John W. Colby www.ColbyConsulting.com On 9/27/2011 11:31 PM, Darryl Collins wrote: > Can't add much value to your historical data issue John, but for your future > records, well I guess it depends on how much effort and money you want to > put into this. > > There are 'turnkey' solutions already out there for exactly this sort of > reporting. These folks will report on miles / kilometres travelled and way > much more for about $40 a month. > > <> > > It actually looks like a bit of over engineering for what you are after, but > the concept is exactly what I am talking about. Let the GPS record the > mileage for you and just download it to you PC. You might find the service > above is worth the $40 per month for your needs. Dunno. Anyway, that seems > a lot easier than stuffing around with tracking online maps etc > > Although the cheapest and best solution I would have thought was the one > already suggested. Use a smart phone app, or better still, an old fashion > paper log book. > > Cheers > Darryl > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Wednesday, 28 September 2011 12:36 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Calculating mileage > > > I would have thought a standard GPS unit would do this for you pretty > much automatically > > Do what for me? A gps gets you from one place to another. I need code to > calculate mileage between > two points. > > I have a database of trips I have taken, hundreds of existing records. I > need to calculate the > mileage of those trips so that I can apply for a tax refund. > > Maybe I am missing something here. How is a a gps or a smart phone or a > paper log going to help me > get mileage calculations for existing and future data records in a database? > > John W. Colby > www.ColbyConsulting.com > > On 9/27/2011 7:17 PM, Darryl Collins wrote: >> I would have thought a standard GPS unit would do this for you pretty much >> automatically, although I have bugger all experience in this area. >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Tuesday, 27 September 2011 9:53 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Calculating mileage >> >> Before tax time I need to add a module to my inmate checkout to calculate >> mileage for all legs of a >> trip with the inmates. The database contains records of where we go - the >> midpoints points - with >> addresses, but the database does not have my start / end point (home). >> >> 1) Home to prison >> 2) Prison to first destination in the db >> 3) First destination to second destination (if any) >> 4) Second destination to third destination (if any) >> 5) Last destination to prison >> 6) Prison to home >> >> I thought I would try to use Microsoft Streets and trips to do the > mapping, >> though I am open to >> using Google Maps if there is a programming interface available to the VBA >> language. >> >> I could of course manually enter the trips into Streets and trips, get the >> mileage and build a table >> of all the "legs" that I have ever done but that is error prone and forces >> me to do the whole thing >> manually. Also this is in use by other people so it would be nice to > build >> a module that would also >> calculate their legs, which I certainly do not want to do myself manually. >> >> If for tax purposes I just assume that we always start from home and end > at >> home I could use >> something like Streets and trips (which I have) to calculate all of these >> legs for each trip and >> place them in a table. At tax time I then have a mileage log for the IRS. >> >> I have never used Streets and Trips for this purpose. I do know that it > has >> an API and VBA >> available for it. If anyone uses it for this purpose and has a library > (or >> a function) written to >> do this that they would share that would be great. Or a web or help >> resource for this. >> >> Thanks, >> From mwp.reid at qub.ac.uk Wed Sep 28 06:13:05 2011 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 28 Sep 2011 12:13:05 +0100 Subject: [AccessD] Calculating mileage In-Reply-To: <4E830013.2020403@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com> <000701cc7d6b$a78c1550$f6a43ff0$@com.au> <4E8287F3.2000201@colbyconsulting.com> <002201cc7d8f$25cae130$7160a390$@com.au> <4E830013.2020403@colbyconsulting.com> Message-ID: <631CF83223105545BF43EFB52CB082956A300542A6@EX2K7-VIRT-2.ads.qub.ac.uk> John Just out of interest how do you work out the route to get the mileage? (I understand what you are doing by the way). I was thinking that they only may pay for the shortest route between A and B and C Martin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 28 September 2011 12:08 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calculating mileage But... I have database records already in a database. This is not about defining a solution for data that does not exist and I would otherwise have to enter. This is about defining a solution for data that I (and any other user) must enter into the database to use the inmate pass program. *It is already in the database* This is about building a small program to do these calculations about data that has and *is going to* accumulate in the course of doing business. It appears that I am not able to get across to this list the fact that the records already exist in a database. Forget that I am driving. *Just please forget that fact.* I never said anything about actually driving these miles, being in a car or anything else related to automobiles. Now... I have records in a database which have addresses in them. I need to calculate driving distances between those addresses. Pleeeeeeaaaaaaase, I do not want nor do I need anything related to logging miles driven in a car. I need a function which takes two addresses and hands back miles between those points, actual miles that would be driven. BUT I AM NOT DRIVING THOSE MILES. The records are somehow just magically (poof) appearing in a table! From jwcolby at colbyconsulting.com Wed Sep 28 06:47:00 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 28 Sep 2011 07:47:00 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: <631CF83223105545BF43EFB52CB082956A300542A6@EX2K7-VIRT-2.ads.qub.ac.uk> References: <4E81B916.70601@colbyconsulting.com> <000701cc7d6b$a78c1550$f6a43ff0$@com.au> <4E8287F3.2000201@colbyconsulting.com> <002201cc7d8f$25cae130$7160a390$@com.au> <4E830013.2020403@colbyconsulting.com> <631CF83223105545BF43EFB52CB082956A300542A6@EX2K7-VIRT-2.ads.qub.ac.uk> Message-ID: <4E830934.7010806@colbyconsulting.com> > Just out of interest how do you work out the route to get the mileage? I *thought* that was the precise question I asked in the first email of this thread. How *do* I do that? My thought was to use a mapping program such as MapPoint. MapPoint has VBA behind it and it has an API. AFAICT MapPoint and other such programs already pretty much calculate shortest distance. That is actually good enough and in fact what I want. I pretty much don't care, not do I have any clue what actual route was driven. If the user wanted to take the inmate on a tour of another city while driving them from point a to point be, that is not my concern. What I actually need is "what would a map program say was the route and what was that distance". If I don't have an actual log (and I don't!!! and I CAN'T!!!) then this is what the IRS will want for documentation. John W. Colby www.ColbyConsulting.com On 9/28/2011 7:13 AM, Martin Reid wrote: > John > > Just out of interest how do you work out the route to get the mileage? (I understand what you are doing by the way). I was thinking that they only may pay for the shortest route between A and B and C > > Martin > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 28 September 2011 12:08 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Calculating mileage > > But... I have database records already in a database. This is not about defining a solution for data that does not exist and I would otherwise have to enter. This is about defining a solution for data that I (and any other user) must enter into the database to use the inmate pass program. > > *It is already in the database* > > This is about building a small program to do these calculations about data that has and *is going > to* accumulate in the course of doing business. > > It appears that I am not able to get across to this list the fact that the records already exist in a database. > > Forget that I am driving. *Just please forget that fact.* I never said anything about actually > driving these miles, being in a car or anything else related to automobiles. > > Now... > > I have records in a database which have addresses in them. I need to calculate driving distances between those addresses. > > Pleeeeeeaaaaaaase, I do not want nor do I need anything related to logging miles driven in a car. > > I need a function which takes two addresses and hands back miles between those points, actual miles that would be driven. > > BUT I AM NOT DRIVING THOSE MILES. The records are somehow just magically (poof) appearing in a table! > From stuart at lexacorp.com.pg Wed Sep 28 06:58:18 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 28 Sep 2011 21:58:18 +1000 Subject: [AccessD] Calculating mileage In-Reply-To: <4E830013.2020403@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com>, <002201cc7d8f$25cae130$7160a390$@com.au>, <4E830013.2020403@colbyconsulting.com> Message-ID: <4E830BDA.13417.25CA9EA5@stuart.lexacorp.com.pg> You could possible build a website scaper function to use this: http://www.randmcnally.com/mileage-calculator.do On 28 Sep 2011 at 7:08, jwcolby wrote: > But... I have database records already in a database. This is not > about defining a solution for data that does not exist and I would > otherwise have to enter. This is about defining a solution for data > that I (and any other user) must enter into the database to use the > inmate pass program. > > *It is already in the database* > > This is about building a small program to do these calculations about > data that has and *is going to* accumulate in the course of doing > business. > > It appears that I am not able to get across to this list the fact that > the records already exist in a database. > > Forget that I am driving. *Just please forget that fact.* I never > said anything about actually driving these miles, being in a car or > anything else related to automobiles. > > Now... > > I have records in a database which have addresses in them. I need to > calculate driving distances between those addresses. > > Pleeeeeeaaaaaaase, I do not want nor do I need anything related to > logging miles driven in a car. > > I need a function which takes two addresses and hands back miles > between those points, actual miles that would be driven. > > BUT I AM NOT DRIVING THOSE MILES. The records are somehow just > magically (poof) appearing in a table! > > John W. Colby > www.ColbyConsulting.com > > On 9/27/2011 11:31 PM, Darryl Collins wrote: > > Can't add much value to your historical data issue John, but for > > your future records, well I guess it depends on how much effort and > > money you want to put into this. > > > > There are 'turnkey' solutions already out there for exactly this > > sort of reporting. These folks will report on miles / kilometres > > travelled and way much more for about $40 a month. > > > > <> > > > > It actually looks like a bit of over engineering for what you are > > after, but the concept is exactly what I am talking about. Let the > > GPS record the mileage for you and just download it to you PC. You > > might find the service above is worth the $40 per month for your > > needs. Dunno. Anyway, that seems a lot easier than stuffing around > > with tracking online maps etc > > > > Although the cheapest and best solution I would have thought was the > > one already suggested. Use a smart phone app, or better still, an > > old fashion paper log book. > > > > Cheers > > Darryl > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > > Sent: Wednesday, 28 September 2011 12:36 PM To: Access Developers > > discussion and problem solving Subject: Re: [AccessD] Calculating > > mileage > > > > > I would have thought a standard GPS unit would do this for you > > > pretty > > much automatically > > > > Do what for me? A gps gets you from one place to another. I need > > code to calculate mileage between two points. > > > > I have a database of trips I have taken, hundreds of existing > > records. I need to calculate the mileage of those trips so that I > > can apply for a tax refund. > > > > Maybe I am missing something here. How is a a gps or a smart phone > > or a paper log going to help me get mileage calculations for > > existing and future data records in a database? > > > > John W. Colby > > www.ColbyConsulting.com > > > > On 9/27/2011 7:17 PM, Darryl Collins wrote: > >> I would have thought a standard GPS unit would do this for you > >> pretty much automatically, although I have bugger all experience in > >> this area. > >> > >> > >> > >> -----Original Message----- > >> From: accessd-bounces at databaseadvisors.com > >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > >> Sent: Tuesday, 27 September 2011 9:53 PM To: Access Developers > >> discussion and problem solving Subject: [AccessD] Calculating > >> mileage > >> > >> Before tax time I need to add a module to my inmate checkout to > >> calculate mileage for all legs of a trip with the inmates. The > >> database contains records of where we go - the midpoints points - > >> with addresses, but the database does not have my start / end point > >> (home). > >> > >> 1) Home to prison > >> 2) Prison to first destination in the db > >> 3) First destination to second destination (if any) > >> 4) Second destination to third destination (if any) > >> 5) Last destination to prison > >> 6) Prison to home > >> > >> I thought I would try to use Microsoft Streets and trips to do the > > mapping, > >> though I am open to > >> using Google Maps if there is a programming interface available to > >> the VBA language. > >> > >> I could of course manually enter the trips into Streets and trips, > >> get the mileage and build a table of all the "legs" that I have > >> ever done but that is error prone and forces me to do the whole > >> thing manually. Also this is in use by other people so it would be > >> nice to > > build > >> a module that would also > >> calculate their legs, which I certainly do not want to do myself > >> manually. > >> > >> If for tax purposes I just assume that we always start from home > >> and end > > at > >> home I could use > >> something like Streets and trips (which I have) to calculate all of > >> these legs for each trip and place them in a table. At tax time I > >> then have a mileage log for the IRS. > >> > >> I have never used Streets and Trips for this purpose. I do know > >> that it > > has > >> an API and VBA > >> available for it. If anyone uses it for this purpose and has a > >> library > > (or > >> a function) written to > >> do this that they would share that would be great. Or a web or > >> help resource for this. > >> > >> Thanks, > >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From paul.hartland at googlemail.com Wed Sep 28 06:58:50 2011 From: paul.hartland at googlemail.com (Paul Hartland) Date: Wed, 28 Sep 2011 12:58:50 +0100 Subject: [AccessD] Calculating mileage In-Reply-To: <4E830934.7010806@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com> <000701cc7d6b$a78c1550$f6a43ff0$@com.au> <4E8287F3.2000201@colbyconsulting.com> <002201cc7d8f$25cae130$7160a390$@com.au> <4E830013.2020403@colbyconsulting.com> <631CF83223105545BF43EFB52CB082956A300542A6@EX2K7-VIRT-2.ads.qub.ac.uk> <4E830934.7010806@colbyconsulting.com> Message-ID: John, I have previously used MapPoint to do this using VB6, I had a matrix table of postcode sectors and calculated the shortest driving distance using that. However took quite a while as there were a few hundred thousand, and couldn't get the code to calculate any quicker than about 2 seconds per record. However our old web developer (since left the company), wrote a PHP page that interfaced with Google and this was much quicker, however I do not know how he referenced Google etc. Paul On 28 September 2011 12:47, jwcolby wrote: > > Just out of interest how do you work out the route to get the mileage? > > I *thought* that was the precise question I asked in the first email of > this thread. How *do* I do that? > > My thought was to use a mapping program such as MapPoint. MapPoint has VBA > behind it and it has an API. > > AFAICT MapPoint and other such programs already pretty much calculate > shortest distance. That is actually good enough and in fact what I want. I > pretty much don't care, not do I have any clue what actual route was driven. > If the user wanted to take the inmate on a tour of another city while > driving them from point a to point be, that is not my concern. What I > actually need is "what would a map program say was the route and what was > that distance". > > If I don't have an actual log (and I don't!!! and I CAN'T!!!) then this is > what the IRS will want for documentation. > > John W. Colby > www.ColbyConsulting.com > > On 9/28/2011 7:13 AM, Martin Reid wrote: > >> John >> >> Just out of interest how do you work out the route to get the mileage? (I >> understand what you are doing by the way). I was thinking that they only may >> pay for the shortest route between A and B and C >> >> Martin >> >> >> >> -----Original Message----- >> From: accessd-bounces@**databaseadvisors.com[mailto: >> accessd-bounces@**databaseadvisors.com] >> On Behalf Of jwcolby >> Sent: 28 September 2011 12:08 >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Calculating mileage >> >> But... I have database records already in a database. This is not about >> defining a solution for data that does not exist and I would otherwise have >> to enter. This is about defining a solution for data that I (and any other >> user) must enter into the database to use the inmate pass program. >> >> *It is already in the database* >> >> This is about building a small program to do these calculations about data >> that has and *is going >> to* accumulate in the course of doing business. >> >> It appears that I am not able to get across to this list the fact that the >> records already exist in a database. >> >> Forget that I am driving. *Just please forget that fact.* I never said >> anything about actually >> driving these miles, being in a car or anything else related to >> automobiles. >> >> Now... >> >> I have records in a database which have addresses in them. I need to >> calculate driving distances between those addresses. >> >> Pleeeeeeaaaaaaase, I do not want nor do I need anything related to logging >> miles driven in a car. >> >> I need a function which takes two addresses and hands back miles between >> those points, actual miles that would be driven. >> >> BUT I AM NOT DRIVING THOSE MILES. The records are somehow just magically >> (poof) appearing in a table! >> >> -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > -- Paul Hartland paul.hartland at googlemail.com From jimdettman at verizon.net Wed Sep 28 07:38:35 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 28 Sep 2011 08:38:35 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: <4E81B916.70601@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com> Message-ID: <53BF52EE670C49BD9C9DA549E56D5CC0@XPS> John, Check out the following two links: http://rdsrc.us/7mwAve This has a solution from Helen Feddema, which places a Google Map in a web browser control and allow you to get the route and mileage between zips. This is not exactly what you want, but it shows you the basic technique of formatting a URL for Google Maps. http://rdsrc.us/XqHekz This second one is a lot closer to what you want, but it was done in an Excel spreadsheet. Still VBA code though and you should be able to drop it into Access except for the cell references. Scroll to the bottom and about four comments back. Look for the one from Patrick with the download web-Google-maps-distances-10-2-.xls. He notes that this is for distance between zips, but that an address in the to/from column would work as well, so that should suite your purposes. There may be a solution that's dead on, but I don't have the time to search at the moment. Between the two above, you should be able to figure it out fast enough. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 27, 2011 07:53 AM To: Access Developers discussion and problem solving Subject: [AccessD] Calculating mileage Before tax time I need to add a module to my inmate checkout to calculate mileage for all legs of a trip with the inmates. The database contains records of where we go - the midpoints points - with addresses, but the database does not have my start / end point (home). 1) Home to prison 2) Prison to first destination in the db 3) First destination to second destination (if any) 4) Second destination to third destination (if any) 5) Last destination to prison 6) Prison to home I thought I would try to use Microsoft Streets and trips to do the mapping, though I am open to using Google Maps if there is a programming interface available to the VBA language. I could of course manually enter the trips into Streets and trips, get the mileage and build a table of all the "legs" that I have ever done but that is error prone and forces me to do the whole thing manually. Also this is in use by other people so it would be nice to build a module that would also calculate their legs, which I certainly do not want to do myself manually. If for tax purposes I just assume that we always start from home and end at home I could use something like Streets and trips (which I have) to calculate all of these legs for each trip and place them in a table. At tax time I then have a mileage log for the IRS. I have never used Streets and Trips for this purpose. I do know that it has an API and VBA available for it. If anyone uses it for this purpose and has a library (or a function) written to do this that they would share that would be great. Or a web or help resource for this. Thanks, -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Wed Sep 28 08:37:57 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Wed, 28 Sep 2011 09:37:57 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: <53BF52EE670C49BD9C9DA549E56D5CC0@XPS> References: <4E81B916.70601@colbyconsulting.com> <53BF52EE670C49BD9C9DA549E56D5CC0@XPS> Message-ID: <000e01cc7de3$d610dfa0$82329ee0$@gmail.com> I would contact a company like Transfinder.com and ask them how they do it. They plan bus routes. I know they use a lot of stuff besides shortest possible route, but I am sure that is their starting point. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, September 28, 2011 8:39 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Calculating mileage John, Check out the following two links: http://rdsrc.us/7mwAve This has a solution from Helen Feddema, which places a Google Map in a web browser control and allow you to get the route and mileage between zips. This is not exactly what you want, but it shows you the basic technique of formatting a URL for Google Maps. http://rdsrc.us/XqHekz This second one is a lot closer to what you want, but it was done in an Excel spreadsheet. Still VBA code though and you should be able to drop it into Access except for the cell references. Scroll to the bottom and about four comments back. Look for the one from Patrick with the download web-Google-maps-distances-10-2-.xls. He notes that this is for distance between zips, but that an address in the to/from column would work as well, so that should suite your purposes. There may be a solution that's dead on, but I don't have the time to search at the moment. Between the two above, you should be able to figure it out fast enough. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 27, 2011 07:53 AM To: Access Developers discussion and problem solving Subject: [AccessD] Calculating mileage Before tax time I need to add a module to my inmate checkout to calculate mileage for all legs of a trip with the inmates. The database contains records of where we go - the midpoints points - with addresses, but the database does not have my start / end point (home). 1) Home to prison 2) Prison to first destination in the db 3) First destination to second destination (if any) 4) Second destination to third destination (if any) 5) Last destination to prison 6) Prison to home I thought I would try to use Microsoft Streets and trips to do the mapping, though I am open to using Google Maps if there is a programming interface available to the VBA language. I could of course manually enter the trips into Streets and trips, get the mileage and build a table of all the "legs" that I have ever done but that is error prone and forces me to do the whole thing manually. Also this is in use by other people so it would be nice to build a module that would also calculate their legs, which I certainly do not want to do myself manually. If for tax purposes I just assume that we always start from home and end at home I could use something like Streets and trips (which I have) to calculate all of these legs for each trip and place them in a table. At tax time I then have a mileage log for the IRS. I have never used Streets and Trips for this purpose. I do know that it has an API and VBA available for it. If anyone uses it for this purpose and has a library (or a function) written to do this that they would share that would be great. Or a web or help resource for this. Thanks, -- John W. Colby www.ColbyConsulting.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 Wed Sep 28 08:42:27 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 28 Sep 2011 09:42:27 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: <53BF52EE670C49BD9C9DA549E56D5CC0@XPS> References: <4E81B916.70601@colbyconsulting.com> <53BF52EE670C49BD9C9DA549E56D5CC0@XPS> Message-ID: <4E832443.6000300@colbyconsulting.com> Thanks Jim. John W. Colby www.ColbyConsulting.com On 9/28/2011 8:38 AM, Jim Dettman wrote: > John, > > Check out the following two links: > > http://rdsrc.us/7mwAve > > This has a solution from Helen Feddema, which places a Google Map in a web > browser control and allow you to get the route and mileage between zips. > This is not exactly what you want, but it shows you the basic technique of > formatting a URL for Google Maps. > > http://rdsrc.us/XqHekz > > This second one is a lot closer to what you want, but it was done in an > Excel spreadsheet. Still VBA code though and you should be able to drop it > into Access except for the cell references. Scroll to the bottom and about > four comments back. Look for the one from Patrick with the download > web-Google-maps-distances-10-2-.xls. > > He notes that this is for distance between zips, but that an address in > the to/from column would work as well, so that should suite your purposes. > > There may be a solution that's dead on, but I don't have the time to > search at the moment. Between the two above, you should be able to figure > it out fast enough. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, September 27, 2011 07:53 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Calculating mileage > > Before tax time I need to add a module to my inmate checkout to calculate > mileage for all legs of a > trip with the inmates. The database contains records of where we go - the > midpoints points - with > addresses, but the database does not have my start / end point (home). > > 1) Home to prison > 2) Prison to first destination in the db > 3) First destination to second destination (if any) > 4) Second destination to third destination (if any) > 5) Last destination to prison > 6) Prison to home > > I thought I would try to use Microsoft Streets and trips to do the mapping, > though I am open to > using Google Maps if there is a programming interface available to the VBA > language. > > I could of course manually enter the trips into Streets and trips, get the > mileage and build a table > of all the "legs" that I have ever done but that is error prone and forces > me to do the whole thing > manually. Also this is in use by other people so it would be nice to build > a module that would also > calculate their legs, which I certainly do not want to do myself manually. > > If for tax purposes I just assume that we always start from home and end at > home I could use > something like Streets and trips (which I have) to calculate all of these > legs for each trip and > place them in a table. At tax time I then have a mileage log for the IRS. > > I have never used Streets and Trips for this purpose. I do know that it has > an API and VBA > available for it. If anyone uses it for this purpose and has a library (or > a function) written to > do this that they would share that would be great. Or a web or help > resource for this. > > Thanks, > From rockysmolin at bchacc.com Fri Sep 30 08:25:04 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 30 Sep 2011 06:25:04 -0700 Subject: [AccessD] OT Friday - Calculus Problem Message-ID: Dear Lists: My son has a calc test today and has a problem he doesn't understand. I can't help him with it. Anyone remember how to do this? Position function is s(t) = -4.9t**2 +200 which gives the height in meters of an object that is falling from a height of 200 meters. The velocity at time t = as seconds is given by: lim(t-->a) = ((s(a)-s(t)) / (a-t) FInd the velocity of the object when t=4. The answer in -39.2 m/sec. How is that derived? MTIA Rocky From dbdoug at gmail.com Fri Sep 30 11:28:59 2011 From: dbdoug at gmail.com (Doug Steele) Date: Fri, 30 Sep 2011 09:28:59 -0700 Subject: [AccessD] OT Friday - Calculus Problem In-Reply-To: References: Message-ID: I can do it but I can't explain it well :) if the position function is s(t) = -4.9t**2 + 200 then the function for the change of position in time (the velocity) is the derivative of the first function (notice the apostrophe after the s). s'(t) = -4.9 * 2 * t solving for t= 4 gives you -39.2 Funny what you remember from high school! Yes, I took calculus in high school. Newtonian calculus, at that, so I found university calculus a total mind fzck. Doug On Fri, Sep 30, 2011 at 6:25 AM, Rocky Smolin wrote: > Dear Lists: > > My son has a calc test today and has a problem he doesn't understand. I > can't help him with it. Anyone remember how to do this? > > Position function is s(t) = -4.9t**2 +200 > > which gives the height in meters of an object that is falling from a height > of 200 meters. The velocity at time t = as seconds is given by: > > lim(t-->a) = ((s(a)-s(t)) / (a-t) > > FInd the velocity of the object when t=4. The answer in -39.2 m/sec. How > is > that derived? > > MTIA > > Rocky > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Fri Sep 30 11:46:21 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 30 Sep 2011 09:46:21 -0700 Subject: [AccessD] OT Friday - Calculus Problem In-Reply-To: References: Message-ID: <3852DFA8DBFC4E298275BB740F9B70DF@HAL9007> Thanks Doug. I'll forward to him at school, maybe he'll get it off his phone. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Friday, September 30, 2011 9:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Friday - Calculus Problem I can do it but I can't explain it well :) if the position function is s(t) = -4.9t**2 + 200 then the function for the change of position in time (the velocity) is the derivative of the first function (notice the apostrophe after the s). s'(t) = -4.9 * 2 * t solving for t= 4 gives you -39.2 Funny what you remember from high school! Yes, I took calculus in high school. Newtonian calculus, at that, so I found university calculus a total mind fzck. Doug On Fri, Sep 30, 2011 at 6:25 AM, Rocky Smolin wrote: > Dear Lists: > > My son has a calc test today and has a problem he doesn't understand. > I can't help him with it. Anyone remember how to do this? > > Position function is s(t) = -4.9t**2 +200 > > which gives the height in meters of an object that is falling from a > height of 200 meters. The velocity at time t = as seconds is given by: > > lim(t-->a) = ((s(a)-s(t)) / (a-t) > > FInd the velocity of the object when t=4. The answer in -39.2 m/sec. > How is that derived? > > MTIA > > Rocky > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Sep 30 16:58:31 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 30 Sep 2011 17:58:31 -0400 Subject: [AccessD] Geek to Live: Secure your saved passwords in Firefox Message-ID: <4E863B87.4080302@colbyconsulting.com> http://lifehacker.com/154099/geek-to-live--secure-your-saved-passwords-in-firefox jwcolby From fuller.artful at gmail.com Fri Sep 30 20:14:53 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 30 Sep 2011 21:14:53 -0400 Subject: [AccessD] OT Friday - Calculus Problem In-Reply-To: References: Message-ID: I am just about to turn 64yo, and suddenly all this stuff is interesting to me. Perhaps this might be characterized as some new disease, in which case I might be able to bill the government for treatments, or at least some academic attention LOL. I follow your thread and approve same. On Fri, Sep 30, 2011 at 12:28 PM, Doug Steele wrote: > I can do it but I can't explain it well :) > > if the position function is s(t) = -4.9t**2 + 200 > > then the function for the change of position in time (the velocity) is the > derivative of the first function (notice the apostrophe after the s). > > s'(t) = -4.9 * 2 * t > > solving for t= 4 gives you -39.2 > > From fuller.artful at gmail.com Thu Sep 1 03:52:17 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 1 Sep 2011 04:52:17 -0400 Subject: [AccessD] FYI In-Reply-To: <4FBD11DE4F9D49A6B237BC4F059C1660@HAL9007> References: <4FBD11DE4F9D49A6B237BC4F059C1660@HAL9007> Message-ID: Thanks for this, Rocky. I wondered where it went. Arthur From jwcolby at colbyconsulting.com Thu Sep 1 09:25:03 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 01 Sep 2011 10:25:03 -0400 Subject: [AccessD] Hiding objects programmatically Message-ID: <4E5F95BF.4060103@colbyconsulting.com> For production databases I like to hide all the objects in the design window by setting the property to hidden. In the properties window (Tools / options / View) I then uncheck Hidden Objects and System Objects. This just adds another level of obsfucation to the database for the average user. I did this and everything was copacetic. And then... I run one (several actually) of my databases under 2007 runtime and this database was giving me that crash I discussed awhile back. I ended up having to import everything into a new database and in doing so the hidden attribute of everything was set to visible. I don't have any code to set that property true / false for every object so I thought I'd ask before I go write one. So, does anyone have code to set the Hidden property of the database objects (tables, forms etc)? -- John W. Colby www.ColbyConsulting.com From dhb at flsi.com Thu Sep 1 10:28:49 2011 From: dhb at flsi.com (Darrell Burns) Date: Thu, 1 Sep 2011 08:28:49 -0700 Subject: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address In-Reply-To: <000001cc6845$7eebb370$7cc31a50$@gmail.com> References: <01f201cc6759$65ab09c0$31011d40$@flsi.com> <4E5D5C94.24414.39EA6EB@stuart.lexacorp.com.pg> <005f01cc6762$3855ba20$a9012e60$@gmail.com> <01f901cc677f$0366ad70$0a340850$@flsi.com> <023801cc6805$c06b89a0$41429ce0$@flsi.com> <000101cc680f$a84c42b0$f8e4c810$@gmail.com> <024b01cc6822$e6b7e550$b427aff0$@flsi.com> <000001cc6845$7eebb370$7cc31a50$@gmail.com> Message-ID: <028701cc68bb$d949b080$8bdd1180$@flsi.com> Sorry -- default account, not folder. I have 4 eMail accounts set up in Outlook, and one is set as the default account. That's what I'm trying to identify. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, August 31, 2011 6:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Here is a way to set a reference to the default mail folder: Set MyFolder = myNameSpace.GetDefaultFolder(olFolderInbox) ' olFolderInbox = 6 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns Sent: Wednesday, August 31, 2011 5:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Thanx, Bill. I was able to get a list of my accounts. Do you know what the property is for the Default account? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, August 31, 2011 11:56 AM To: 'Access Developers discussion and problem solving' Subject: [Spam]8.51 Re: [AccessD] [Spam]8.51 Re: Get sender's eMail address This works from Access with a reference to Outlook only... Note I have a pst folder called GMAIL and I am searching Inbox... change to suit. Dim myOlApp As Object Dim myNameSpace As Object Dim myfolders As Object Dim MyFolder As Object Dim myfolder2 As Object Dim item As Object Dim n As Long Set myOlApp = CreateObject("Outlook.Application") Set myNameSpace = myOlApp.GetNamespace("MAPI") Set myfolders = myNameSpace.Folders n = 1 Do Until UCase(myfolders.item(n).Name) = "GMAIL" n = n + 1 Loop Set MyFolder = myfolders.item(n) Set myfolder2 = MyFolder.Folders("Inbox") For Each item In myfolder2.Items If item.Class = 43 Then Debug.Print item.SenderEmailAddress End If Next item End Sub -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dhb at flsi.com Thu Sep 1 10:36:13 2011 From: dhb at flsi.com (Darrell Burns) Date: Thu, 1 Sep 2011 08:36:13 -0700 Subject: [AccessD] Access2010 Runtime problem In-Reply-To: <024701cc6819$ada82210$08f86630$@flsi.com> References: <024701cc6819$ada82210$08f86630$@flsi.com> Message-ID: <028801cc68bc$e267b710$a7372530$@flsi.com> FWIW, I discovered that the remedy to the read-only constraint is to make the runtime folder shareable. This makes no sense, of course, because now I have to set the share status on the installation folder on every workstation before I distribute the package. If anybody knows a way around this, I'd love to hear it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns Sent: Wednesday, August 31, 2011 1:08 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access2010 Runtime problem I have an app that's been developed in A2010 on my Windows7 machine running Office2010 32bit. Autoexec runs a proc called "AddTrustedLocation" (which I picked up from UtterAccess) that inserts registry settings to add the app's current database as a trusted location. I created a runtime with the Package Wizard, tested it on the same development box and everything works fine...the registry settings are properly updated and the app opens into the Switchboard. But when I install the runtime on a different Windows7 machine (also with Office 2010) it crashes on opening. I confirmed that the folder is trusted via the registry settings. So I disabled the Autoexec and all the Switchboard startup procedures. At least the app opens the Switchboard, but now I get a "This database has been opened read-only" message. I suspect that this is why it was crashing before I disabled everything. This is a front-end to a SQLServer database but I do have a few local tables I use for temporary storage, so read-only is a show-stopper. The folder it's in has full privileges. I confirmed this by copying in the accdb version, and it works just fine. What would be the cause (and remedy) for this condition? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Thu Sep 1 11:53:12 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 1 Sep 2011 09:53:12 -0700 Subject: [AccessD] Access2010 Runtime problem In-Reply-To: <028801cc68bc$e267b710$a7372530$@flsi.com> References: <024701cc6819$ada82210$08f86630$@flsi.com> <028801cc68bc$e267b710$a7372530$@flsi.com> Message-ID: It's details like that that make pro shops use packagers like Wise or InstallShield, which can be scripted to handle those situations when the runtime installs. Charlotte Foust On Thu, Sep 1, 2011 at 8:36 AM, Darrell Burns wrote: > FWIW, I discovered that the remedy to the read-only constraint is to make > the runtime folder shareable. This makes no sense, of course, because now I > have to set the share status on the installation folder on every > workstation > before I distribute the package. If anybody knows a way around this, I'd > love to hear it. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns > Sent: Wednesday, August 31, 2011 1:08 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Access2010 Runtime problem > > I have an app that's been developed in A2010 on my Windows7 machine running > Office2010 32bit. Autoexec runs a proc called "AddTrustedLocation" (which I > picked up from UtterAccess) that inserts registry settings to add the app's > current database as a trusted location. I created a runtime with the > Package > Wizard, tested it on the same development box and everything works > fine...the registry settings are properly updated and the app opens into > the > Switchboard. But when I install the runtime on a different Windows7 machine > (also with Office 2010) it crashes on opening. I confirmed that the folder > is trusted via the registry settings. > > So I disabled the Autoexec and all the Switchboard startup procedures. At > least the app opens the Switchboard, but now I get a "This database has > been > opened read-only" message. I suspect that this is why it was crashing > before > I disabled everything. This is a front-end to a SQLServer database but I do > have a few local tables I use for temporary storage, so read-only is a > show-stopper. The folder it's in has full privileges. I confirmed this by > copying in the accdb version, and it works just fine. What would be the > cause (and remedy) for this condition? > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Thu Sep 1 11:55:47 2011 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Thu, 1 Sep 2011 12:55:47 -0400 Subject: [AccessD] Hiding objects programmatically In-Reply-To: <4E5F95BF.4060103@colbyconsulting.com> References: <4E5F95BF.4060103@colbyconsulting.com> Message-ID: Heads Up John, I don't know if this bug has been fixed but check this out... http://access.mvps.org/access/bugs/bugs0036.htm Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, September 01, 2011 10:25 AM To: Access Developers discussion and problem solving Subject: [AccessD] Hiding objects programmatically For production databases I like to hide all the objects in the design window by setting the property to hidden. In the properties window (Tools / options / View) I then uncheck Hidden Objects and System Objects. This just adds another level of obsfucation to the database for the average user. I did this and everything was copacetic. And then... I run one (several actually) of my databases under 2007 runtime and this database was giving me that crash I discussed awhile back. I ended up having to import everything into a new database and in doing so the hidden attribute of everything was set to visible. I don't have any code to set that property true / false for every object so I thought I'd ask before I go write one. So, does anyone have code to set the Hidden property of the database objects (tables, forms etc)? -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Thu Sep 1 12:01:23 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 1 Sep 2011 10:01:23 -0700 Subject: [AccessD] Hiding objects programmatically In-Reply-To: References: <4E5F95BF.4060103@colbyconsulting.com> Message-ID: As I recall, the dbHiddenObject flag was used internally when you "deleted" a table. I got bitten by this back in A2k, IIRC. Charlotte Foust On Thu, Sep 1, 2011 at 9:55 AM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > Heads Up John, > > I don't know if this bug has been fixed but check this out... > > http://access.mvps.org/access/bugs/bugs0036.htm > > > > Lambert > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, September 01, 2011 10:25 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Hiding objects programmatically > > For production databases I like to hide all the objects in the design > window by setting the property to hidden. In the properties window (Tools / > options / View) I then uncheck Hidden Objects and System Objects. This just > adds another level of obsfucation to the database for the average user. > > I did this and everything was copacetic. And then... I run one (several > actually) of my databases under 2007 runtime and this database was giving me > that crash I discussed awhile back. I ended up having to import everything > into a new database and in doing so the hidden attribute of everything was > set to visible. > > I don't have any code to set that property true / false for every object so > I thought I'd ask before I go write one. > > So, does anyone have code to set the Hidden property of the database > objects (tables, forms etc)? > > -- > John W. Colby > www.ColbyConsulting.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 Thu Sep 1 12:09:59 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 01 Sep 2011 13:09:59 -0400 Subject: [AccessD] Hiding objects programmatically In-Reply-To: References: <4E5F95BF.4060103@colbyconsulting.com> Message-ID: <4E5FBC67.5010506@colbyconsulting.com> Wow, thanks for the warning. I vaguely remember this but never really used the hidden property before. I guess I will set by hand. Do we think this only apples to tables or every database object? John W. Colby www.ColbyConsulting.com On 9/1/2011 12:55 PM, Heenan, Lambert wrote: > Heads Up John, > > I don't know if this bug has been fixed but check this out... > > http://access.mvps.org/access/bugs/bugs0036.htm > > Lambert > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, September 01, 2011 10:25 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Hiding objects programmatically > > For production databases I like to hide all the objects in the design window by setting the property to hidden. In the properties window (Tools / options / View) I then uncheck Hidden Objects and System Objects. This just adds another level of obsfucation to the database for the average user. > > I did this and everything was copacetic. And then... I run one (several actually) of my databases under 2007 runtime and this database was giving me that crash I discussed awhile back. I ended up having to import everything into a new database and in doing so the hidden attribute of everything was set to visible. > > I don't have any code to set that property true / false for every object so I thought I'd ask before I go write one. > > So, does anyone have code to set the Hidden property of the database objects (tables, forms etc)? > > -- > John W. Colby > www.ColbyConsulting.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 Sep 1 12:26:05 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Thu, 1 Sep 2011 13:26:05 -0400 Subject: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address In-Reply-To: <028701cc68bb$d949b080$8bdd1180$@flsi.com> References: <01f201cc6759$65ab09c0$31011d40$@flsi.com> <4E5D5C94.24414.39EA6EB@stuart.lexacorp.com.pg> <005f01cc6762$3855ba20$a9012e60$@gmail.com> <01f901cc677f$0366ad70$0a340850$@flsi.com> <023801cc6805$c06b89a0$41429ce0$@flsi.com> <000101cc680f$a84c42b0$f8e4c810$@gmail.com> <024b01cc6822$e6b7e550$b427aff0$@flsi.com> <000001cc6845$7eebb370$7cc31a50$@gmail.com> <028701cc68bb$d949b080$8bdd1180$@flsi.com> Message-ID: <001b01cc68cc$3c5b1140$b51133c0$@gmail.com> Not sure it can be done without Redemption because there just is nothing exposed through the Outlook library that lets you examine the Session object that carefully. All accounts are in the Accounts collection but there is nothing about any of those objects which tells you it is the default, and nothing about the Session object itself which indicates what account will be used by default to send a message. At least insofar as I have been able to discover through the Locals window. Good luck in the quest and let us know if you get farther, I would like to know. FYI ... this is drifting far away from getting the Sender's e-mail address ... was that resolved to your satisfaction? Bill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns Sent: Thursday, September 01, 2011 11:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Sorry -- default account, not folder. I have 4 eMail accounts set up in Outlook, and one is set as the default account. That's what I'm trying to identify. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, August 31, 2011 6:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Here is a way to set a reference to the default mail folder: Set MyFolder = myNameSpace.GetDefaultFolder(olFolderInbox) ' olFolderInbox = 6 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns Sent: Wednesday, August 31, 2011 5:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Thanx, Bill. I was able to get a list of my accounts. Do you know what the property is for the Default account? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, August 31, 2011 11:56 AM To: 'Access Developers discussion and problem solving' Subject: [Spam]8.51 Re: [AccessD] [Spam]8.51 Re: Get sender's eMail address This works from Access with a reference to Outlook only... Note I have a pst folder called GMAIL and I am searching Inbox... change to suit. Dim myOlApp As Object Dim myNameSpace As Object Dim myfolders As Object Dim MyFolder As Object Dim myfolder2 As Object Dim item As Object Dim n As Long Set myOlApp = CreateObject("Outlook.Application") Set myNameSpace = myOlApp.GetNamespace("MAPI") Set myfolders = myNameSpace.Folders n = 1 Do Until UCase(myfolders.item(n).Name) = "GMAIL" n = n + 1 Loop Set MyFolder = myfolders.item(n) Set myfolder2 = MyFolder.Folders("Inbox") For Each item In myfolder2.Items If item.Class = 43 Then Debug.Print item.SenderEmailAddress End If Next item End Sub -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Thu Sep 1 12:45:37 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Thu, 1 Sep 2011 13:45:37 -0400 Subject: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address References: <01f201cc6759$65ab09c0$31011d40$@flsi.com> <4E5D5C94.24414.39EA6EB@stuart.lexacorp.com.pg> <005f01cc6762$3855ba20$a9012e60$@gmail.com> <01f901cc677f$0366ad70$0a340850$@flsi.com> <023801cc6805$c06b89a0$41429ce0$@flsi.com> <000101cc680f$a84c42b0$f8e4c810$@gmail.com> <024b01cc6822$e6b7e550$b427aff0$@flsi.com> <000001cc6845$7eebb370$7cc31a50$@gmail.com> <028701cc68bb$d949b080$8bdd1180$@flsi.com> Message-ID: <001c01cc68ce$f6c885b0$e4599110$@gmail.com> Ahhh. Found something. Debug.Print olApp.Session.CurrentUser.Address shows the e-mail address that is used by default for a new message. -----Original Message----- From: William Benson (VBACreations.Com) [mailto:vbacreations at gmail.com] Sent: Thursday, September 01, 2011 1:26 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Not sure it can be done without Redemption because there just is nothing exposed through the Outlook library that lets you examine the Session object that carefully. All accounts are in the Accounts collection but there is nothing about any of those objects which tells you it is the default, and nothing about the Session object itself which indicates what account will be used by default to send a message. At least insofar as I have been able to discover through the Locals window. Good luck in the quest and let us know if you get farther, I would like to know. FYI ... this is drifting far away from getting the Sender's e-mail address ... was that resolved to your satisfaction? Bill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns Sent: Thursday, September 01, 2011 11:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Sorry -- default account, not folder. I have 4 eMail accounts set up in Outlook, and one is set as the default account. That's what I'm trying to identify. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, August 31, 2011 6:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Here is a way to set a reference to the default mail folder: Set MyFolder = myNameSpace.GetDefaultFolder(olFolderInbox) ' olFolderInbox = 6 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns Sent: Wednesday, August 31, 2011 5:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Thanx, Bill. I was able to get a list of my accounts. Do you know what the property is for the Default account? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, August 31, 2011 11:56 AM To: 'Access Developers discussion and problem solving' Subject: [Spam]8.51 Re: [AccessD] [Spam]8.51 Re: Get sender's eMail address This works from Access with a reference to Outlook only... Note I have a pst folder called GMAIL and I am searching Inbox... change to suit. Dim myOlApp As Object Dim myNameSpace As Object Dim myfolders As Object Dim MyFolder As Object Dim myfolder2 As Object Dim item As Object Dim n As Long Set myOlApp = CreateObject("Outlook.Application") Set myNameSpace = myOlApp.GetNamespace("MAPI") Set myfolders = myNameSpace.Folders n = 1 Do Until UCase(myfolders.item(n).Name) = "GMAIL" n = n + 1 Loop Set MyFolder = myfolders.item(n) Set myfolder2 = MyFolder.Folders("Inbox") For Each item In myfolder2.Items If item.Class = 43 Then Debug.Print item.SenderEmailAddress End If Next item End Sub -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BradM at blackforestltd.com Thu Sep 1 13:10:56 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Thu, 1 Sep 2011 13:10:56 -0500 Subject: [AccessD] Obtaining Outlook data from Access (in an Outlook mailbox that is not the default) References: <01f201cc6759$65ab09c0$31011d40$@flsi.com> <4E5D5C94.24414.39EA6EB@stuart.lexacorp.com.pg> <005f01cc6762$3855ba20$a9012e60$@gmail.com> <01f901cc677f$0366ad70$0a340850$@flsi.com> <023801cc6805$c06b89a0$41429ce0$@flsi.com> <000101cc680f$a84c42b0$f8e4c810$@gmail.com> <024b01cc6822$e6b7e550$b427aff0$@flsi.com> <000001cc6845$7eebb370$7cc31a50$@gmail.com><028701cc68bb$d949b080$8bdd1180$@flsi.com> <001c01cc68ce$f6c885b0$e4599110$@gmail.com> Message-ID: I have been experimenting with using the Access "Link Exchange/Outlook Wizard" to link to Outlook folders in my mailbox. This works nicely. Now I need to link to a folder in a different mailbox that has been set up for replies to a mass Email that was sent out. (I have the Outlook Account Name and Password) Is this possible with VBA code? An example would be most appreciated. Thanks, Brad From dhb at flsi.com Thu Sep 1 14:37:48 2011 From: dhb at flsi.com (Darrell Burns) Date: Thu, 1 Sep 2011 12:37:48 -0700 Subject: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address In-Reply-To: <001c01cc68ce$f6c885b0$e4599110$@gmail.com> References: <01f201cc6759$65ab09c0$31011d40$@flsi.com> <4E5D5C94.24414.39EA6EB@stuart.lexacorp.com.pg> <005f01cc6762$3855ba20$a9012e60$@gmail.com> <01f901cc677f$0366ad70$0a340850$@flsi.com> <023801cc6805$c06b89a0$41429ce0$@flsi.com> <000101cc680f$a84c42b0$f8e4c810$@gmail.com> <024b01cc6822$e6b7e550$b427aff0$@flsi.com> <000001cc6845$7eebb370$7cc31a50$@gmail.com> <028701cc68bb$d949b080$8bdd1180$@flsi.com> <001c01cc68ce$f6c885b0$e4599110$@gmail.com> Message-ID: <029801cc68de$a2bac7c0$e8305740$@flsi.com> Excellent, Bill. I really appreciate your persistence on this. Thanx! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Thursday, September 01, 2011 10:46 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Ahhh. Found something. Debug.Print olApp.Session.CurrentUser.Address shows the e-mail address that is used by default for a new message. -----Original Message----- From: William Benson (VBACreations.Com) [mailto:vbacreations at gmail.com] Sent: Thursday, September 01, 2011 1:26 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Not sure it can be done without Redemption because there just is nothing exposed through the Outlook library that lets you examine the Session object that carefully. All accounts are in the Accounts collection but there is nothing about any of those objects which tells you it is the default, and nothing about the Session object itself which indicates what account will be used by default to send a message. At least insofar as I have been able to discover through the Locals window. Good luck in the quest and let us know if you get farther, I would like to know. FYI ... this is drifting far away from getting the Sender's e-mail address ... was that resolved to your satisfaction? Bill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns Sent: Thursday, September 01, 2011 11:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Sorry -- default account, not folder. I have 4 eMail accounts set up in Outlook, and one is set as the default account. That's what I'm trying to identify. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, August 31, 2011 6:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Here is a way to set a reference to the default mail folder: Set MyFolder = myNameSpace.GetDefaultFolder(olFolderInbox) ' olFolderInbox = 6 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns Sent: Wednesday, August 31, 2011 5:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Thanx, Bill. I was able to get a list of my accounts. Do you know what the property is for the Default account? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, August 31, 2011 11:56 AM To: 'Access Developers discussion and problem solving' Subject: [Spam]8.51 Re: [AccessD] [Spam]8.51 Re: Get sender's eMail address This works from Access with a reference to Outlook only... Note I have a pst folder called GMAIL and I am searching Inbox... change to suit. Dim myOlApp As Object Dim myNameSpace As Object Dim myfolders As Object Dim MyFolder As Object Dim myfolder2 As Object Dim item As Object Dim n As Long Set myOlApp = CreateObject("Outlook.Application") Set myNameSpace = myOlApp.GetNamespace("MAPI") Set myfolders = myNameSpace.Folders n = 1 Do Until UCase(myfolders.item(n).Name) = "GMAIL" n = n + 1 Loop Set MyFolder = myfolders.item(n) Set myfolder2 = MyFolder.Folders("Inbox") For Each item In myfolder2.Items If item.Class = 43 Then Debug.Print item.SenderEmailAddress End If Next item End Sub -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 iggy at nanaimo.ark.com Thu Sep 1 14:39:21 2011 From: iggy at nanaimo.ark.com (Tony Septav) Date: Thu, 1 Sep 2011 12:39:21 -0700 Subject: [AccessD] :) In-Reply-To: <9E95C48974A94C5D80EFB3444668BD61@HAL9007> References: <3D568192E72C468FB4DD4A4693553C54@SusanHarkins>, <4E5CCF00.7000101@colbyconsulting.com>, <4E5D4E1B.21029.3661FC1@stuart.lexacorp.com.pg> <9E95C48974A94C5D80EFB3444668BD61@HAL9007> Message-ID: Hey All CPU you, no CPU you! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, August 30, 2011 2:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] :) With that obsolete floppy you're sporting? I don't think so... R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: August 30, 2011 1:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] :) Can my Front End access you back End? -- Stuart On 30 Aug 2011 at 7:58, Dean Davids wrote: > Actually, that one may work. > > > Dean S. Davids > www.cmbscorp.com > 954-868-4421 > > On Aug 30, 2011, at 7:52 AM, jwcolby > wrote: > > > I think the very worst Access pickup line might well be > > > > 1) I love your back end! > > > > John W. Colby > > www.ColbyConsulting.com > > > > On 8/29/2011 2:04 PM, Susan Harkins wrote: > >> Top 10 Worst Access Pick-Up Lines > >> > >> To commemorate the one year anniversary of the Access Junkie Top 10 > >> List, here's another list to help you get through a tough workday. > >> In addition, since it is the weekend, these should come in handy as > >> you're out on the town. Most of these can be used with either > >> gender, but some are obviously gender specific. > >> > >> A word of caution here! These pick-up lines will probably work on > >> only the MOST intelligent of prospective mates. Most of the time, > >> however, you will be met with mixed results. By "mixed" I mean you > >> will most likely have a mixed drink tossed in your face!! > >> > >> So here you go: Top 10 Worst Access Pick-Up Lines: > >> > >> 10. Compile here often? > >> > >> 9. What's your sign? DAO or ADO? > >> > >> 8. WOW! You just put a Breakpoint right on my heart! > >> > >> 7. I would love to hear you talk SQL to me. > >> > >> 6. Want to go back to my place and Debug a few hundred lines of > >> code? > >> > >> 5. Hi there, I don't think we've been properly Dimmed. > >> > >> 4. Is that an Add-In in your pocket or are you just happy to see > >> me? > >> > >> 3. You show me your References and I'll show you mine! > >> > >> 2. Would you like to go out back and play in Sandbox mode? > >> . > >> . > >> . > >> . > >> . > >> . > >> And the number one worst Access Pick-Up Line: > >> > >> 1. What are the chances of you and I getting to Third Normal Form? > >> (splash) > >> > >> > >> > >> >> kuplines> > >> > >> Can't believe I've never seen this before. :) > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 ----- No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1392 / Virus Database: 1520/3869 - Release Date: 08/31/11 From vbacreations at gmail.com Thu Sep 1 15:29:43 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 1 Sep 2011 16:29:43 -0400 Subject: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address In-Reply-To: <029801cc68de$a2bac7c0$e8305740$@flsi.com> References: <01f201cc6759$65ab09c0$31011d40$@flsi.com> <4E5D5C94.24414.39EA6EB@stuart.lexacorp.com.pg> <005f01cc6762$3855ba20$a9012e60$@gmail.com> <01f901cc677f$0366ad70$0a340850$@flsi.com> <023801cc6805$c06b89a0$41429ce0$@flsi.com> <000101cc680f$a84c42b0$f8e4c810$@gmail.com> <024b01cc6822$e6b7e550$b427aff0$@flsi.com> <000001cc6845$7eebb370$7cc31a50$@gmail.com> <028701cc68bb$d949b080$8bdd1180$@flsi.com> <001c01cc68ce$f6c885b0$e4599110$@gmail.com> <029801cc68de$a2bac7c0$e8305740$@flsi.com> Message-ID: Happy to help when I can. This List been my salvation so many times. On Sep 1, 2011 3:38 PM, "Darrell Burns" wrote: > Excellent, Bill. I really appreciate your persistence on this. > Thanx! > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > (VBACreations.Com) > Sent: Thursday, September 01, 2011 10:46 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail > address > > Ahhh. Found something. > > Debug.Print olApp.Session.CurrentUser.Address shows > > the e-mail address that is used by default for a new message. > > > > -----Original Message----- > From: William Benson (VBACreations.Com) [mailto:vbacreations at gmail.com] > Sent: Thursday, September 01, 2011 1:26 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail > address > > Not sure it can be done without Redemption because there just is nothing > exposed through the Outlook library that lets you examine the Session object > that carefully. All accounts are in the Accounts collection but there is > nothing about any of those objects which tells you it is the default, and > nothing about the Session object itself which indicates what account will be > used by default to send a message. > > At least insofar as I have been able to discover through the Locals window. > > Good luck in the quest and let us know if you get farther, I would like to > know. > > FYI ... this is drifting far away from getting the Sender's e-mail address > ... was that resolved to your satisfaction? > Bill > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns > Sent: Thursday, September 01, 2011 11:29 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail > address > > Sorry -- default account, not folder. I have 4 eMail accounts set up in > Outlook, and one is set as the default account. That's what I'm trying to > identify. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > (VBACreations.Com) > Sent: Wednesday, August 31, 2011 6:22 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail > address > > Here is a way to set a reference to the default mail folder: > > Set MyFolder = myNameSpace.GetDefaultFolder(olFolderInbox) ' olFolderInbox > = 6 > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns > Sent: Wednesday, August 31, 2011 5:14 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail > address > > Thanx, Bill. I was able to get a list of my accounts. Do you know what the > property is for the Default account? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > (VBACreations.Com) > Sent: Wednesday, August 31, 2011 11:56 AM > To: 'Access Developers discussion and problem solving' > Subject: [Spam]8.51 Re: [AccessD] [Spam]8.51 Re: Get sender's eMail address > > This works from Access with a reference to Outlook only... Note I have a pst > folder called GMAIL and I am searching Inbox... change to suit. > > > Dim myOlApp As Object > Dim myNameSpace As Object > Dim myfolders As Object > Dim MyFolder As Object > Dim myfolder2 As Object > Dim item As Object > > Dim n As Long > > > Set myOlApp = CreateObject("Outlook.Application") > Set myNameSpace = myOlApp.GetNamespace("MAPI") Set myfolders = > myNameSpace.Folders > > n = 1 > Do Until UCase(myfolders.item(n).Name) = "GMAIL" > n = n + 1 > Loop > > Set MyFolder = myfolders.item(n) > Set myfolder2 = MyFolder.Folders("Inbox") > > For Each item In myfolder2.Items > If item.Class = 43 Then > Debug.Print item.SenderEmailAddress > End If > Next item > > > End Sub > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Thu Sep 1 22:22:45 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 1 Sep 2011 23:22:45 -0400 Subject: [AccessD] :) In-Reply-To: References: <3D568192E72C468FB4DD4A4693553C54@SusanHarkins> <4E5CCF00.7000101@colbyconsulting.com> <4E5D4E1B.21029.3661FC1@stuart.lexacorp.com.pg> <9E95C48974A94C5D80EFB3444668BD61@HAL9007> Message-ID: I don't get it On Sep 1, 2011 3:40 PM, "Tony Septav" wrote: > Hey All > CPU you, no CPU you! > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Tuesday, August 30, 2011 2:02 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] :) > > With that obsolete floppy you're sporting? I don't think so... > > > R > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: August 30, 2011 1:55 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] :) > > Can my Front End access you back End? > > -- > Stuart > > On 30 Aug 2011 at 7:58, Dean Davids wrote: > >> Actually, that one may work. >> >> >> Dean S. Davids >> www.cmbscorp.com >> 954-868-4421 >> >> On Aug 30, 2011, at 7:52 AM, jwcolby >> wrote: >> >> > I think the very worst Access pickup line might well be >> > >> > 1) I love your back end! >> > >> > John W. Colby >> > www.ColbyConsulting.com >> > >> > On 8/29/2011 2:04 PM, Susan Harkins wrote: >> >> Top 10 Worst Access Pick-Up Lines >> >> >> >> To commemorate the one year anniversary of the Access Junkie Top 10 >> >> List, here's another list to help you get through a tough workday. >> >> In addition, since it is the weekend, these should come in handy as >> >> you're out on the town. Most of these can be used with either >> >> gender, but some are obviously gender specific. >> >> >> >> A word of caution here! These pick-up lines will probably work on >> >> only the MOST intelligent of prospective mates. Most of the time, >> >> however, you will be met with mixed results. By "mixed" I mean you >> >> will most likely have a mixed drink tossed in your face!! >> >> >> >> So here you go: Top 10 Worst Access Pick-Up Lines: >> >> >> >> 10. Compile here often? >> >> >> >> 9. What's your sign? DAO or ADO? >> >> >> >> 8. WOW! You just put a Breakpoint right on my heart! >> >> >> >> 7. I would love to hear you talk SQL to me. >> >> >> >> 6. Want to go back to my place and Debug a few hundred lines of >> >> code? >> >> >> >> 5. Hi there, I don't think we've been properly Dimmed. >> >> >> >> 4. Is that an Add-In in your pocket or are you just happy to see >> >> me? >> >> >> >> 3. You show me your References and I'll show you mine! >> >> >> >> 2. Would you like to go out back and play in Sandbox mode? >> >> . >> >> . >> >> . >> >> . >> >> . >> >> . >> >> And the number one worst Access Pick-Up Line: >> >> >> >> 1. What are the chances of you and I getting to Third Normal Form? >> >> (splash) >> >> >> >> >> >> >> >> > >> kuplines> >> >> >> >> Can't believe I've never seen this before. :) >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/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 > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 10.0.1392 / Virus Database: 1520/3869 - Release Date: 08/31/11 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From dnod at aol.com Thu Sep 1 22:29:10 2011 From: dnod at aol.com (Dean Davids) Date: Thu, 1 Sep 2011 23:29:10 -0400 Subject: [AccessD] :) In-Reply-To: References: <3D568192E72C468FB4DD4A4693553C54@SusanHarkins> <4E5CCF00.7000101@colbyconsulting.com> <4E5D4E1B.21029.3661FC1@stuart.lexacorp.com.pg> <9E95C48974A94C5D80EFB3444668BD61@HAL9007> Message-ID: <9F5A6DED-6FE5-4528-9ABB-350F32372559@aol.com> Not if I CPU first! Dean S. Davids www.cmbscorp.com 954-868-4421 On Sep 1, 2011, at 11:22 PM, William Benson wrote: > I don't get it > On Sep 1, 2011 3:40 PM, "Tony Septav" wrote: >> Hey All >> CPU you, no CPU you! >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin >> Sent: Tuesday, August 30, 2011 2:02 PM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] :) >> >> With that obsolete floppy you're sporting? I don't think so... >> >> >> R >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan >> Sent: August 30, 2011 1:55 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] :) >> >> Can my Front End access you back End? >> >> -- >> Stuart >> >> On 30 Aug 2011 at 7:58, Dean Davids wrote: >> >>> Actually, that one may work. >>> >>> >>> Dean S. Davids >>> www.cmbscorp.com >>> 954-868-4421 >>> >>> On Aug 30, 2011, at 7:52 AM, jwcolby >>> wrote: >>> >>>> I think the very worst Access pickup line might well be >>>> >>>> 1) I love your back end! >>>> >>>> John W. Colby >>>> www.ColbyConsulting.com >>>> >>>> On 8/29/2011 2:04 PM, Susan Harkins wrote: >>>>> Top 10 Worst Access Pick-Up Lines >>>>> >>>>> To commemorate the one year anniversary of the Access Junkie Top 10 >>>>> List, here's another list to help you get through a tough workday. >>>>> In addition, since it is the weekend, these should come in handy as >>>>> you're out on the town. Most of these can be used with either >>>>> gender, but some are obviously gender specific. >>>>> >>>>> A word of caution here! These pick-up lines will probably work on >>>>> only the MOST intelligent of prospective mates. Most of the time, >>>>> however, you will be met with mixed results. By "mixed" I mean you >>>>> will most likely have a mixed drink tossed in your face!! >>>>> >>>>> So here you go: Top 10 Worst Access Pick-Up Lines: >>>>> >>>>> 10. Compile here often? >>>>> >>>>> 9. What's your sign? DAO or ADO? >>>>> >>>>> 8. WOW! You just put a Breakpoint right on my heart! >>>>> >>>>> 7. I would love to hear you talk SQL to me. >>>>> >>>>> 6. Want to go back to my place and Debug a few hundred lines of >>>>> code? >>>>> >>>>> 5. Hi there, I don't think we've been properly Dimmed. >>>>> >>>>> 4. Is that an Add-In in your pocket or are you just happy to see >>>>> me? >>>>> >>>>> 3. You show me your References and I'll show you mine! >>>>> >>>>> 2. Would you like to go out back and play in Sandbox mode? >>>>> . >>>>> . >>>>> . >>>>> . >>>>> . >>>>> . >>>>> And the number one worst Access Pick-Up Line: >>>>> >>>>> 1. What are the chances of you and I getting to Third Normal Form? >>>>> (splash) >>>>> >>>>> >>>>> >>>>> >>>> kuplines> >>>>> >>>>> Can't believe I've never seen this before. :) >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/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 >> ----- >> No virus found in this message. >> Checked by AVG - www.avg.com >> Version: 10.0.1392 / Virus Database: 1520/3869 - Release Date: 08/31/11 >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Thu Sep 1 23:19:41 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 1 Sep 2011 21:19:41 -0700 Subject: [AccessD] Hiding objects programmatically In-Reply-To: <4E5FBC67.5010506@colbyconsulting.com> References: <4E5F95BF.4060103@colbyconsulting.com> <4E5FBC67.5010506@colbyconsulting.com> Message-ID: I don't recall, but I would assume so. Charlotte Foust On Thu, Sep 1, 2011 at 10:09 AM, jwcolby wrote: > Wow, thanks for the warning. I vaguely remember this but never really used > the hidden property before. > > I guess I will set by hand. Do we think this only apples to tables or > every database object? > > > John W. Colby > www.ColbyConsulting.com > > > > On 9/1/2011 12:55 PM, Heenan, Lambert wrote: > >> Heads Up John, >> >> I don't know if this bug has been fixed but check this out... >> >> http://access.mvps.org/access/**bugs/bugs0036.htm >> >> >> >> Lambert >> >> >> -----Original Message----- >> From: accessd-bounces@**databaseadvisors.com[mailto: >> accessd-bounces@**databaseadvisors.com] >> On Behalf Of jwcolby >> Sent: Thursday, September 01, 2011 10:25 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Hiding objects programmatically >> >> For production databases I like to hide all the objects in the design >> window by setting the property to hidden. In the properties window (Tools / >> options / View) I then uncheck Hidden Objects and System Objects. This just >> adds another level of obsfucation to the database for the average user. >> >> I did this and everything was copacetic. And then... I run one (several >> actually) of my databases under 2007 runtime and this database was giving me >> that crash I discussed awhile back. I ended up having to import everything >> into a new database and in doing so the hidden attribute of everything was >> set to visible. >> >> I don't have any code to set that property true / false for every object >> so I thought I'd ask before I go write one. >> >> So, does anyone have code to set the Hidden property of the database >> objects (tables, forms etc)? >> >> -- >> John W. Colby >> www.ColbyConsulting.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 Fri Sep 2 11:33:01 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 09:33:01 -0700 Subject: [AccessD] freelancing job sites In-Reply-To: References: Message-ID: Ha ha, I think you have about covered it. Very good article. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, August 22, 2011 6:25 AM To: Access Developers discussion and problem solving Subject: [AccessD] freelancing job sites This one ruffled a few feathers -- someone told me I give contractors a bad name and that I should retire. :) Guess that means it was good. :) After writing the above article, a reader asked me to recommend my favorite freelancing/contracting job sites. Well, that might turn into a good article -- so let's see what happens. At the very least, we'll compile a great list for ourselves. :) Dice.com seems to be the biggest one -- what do you guys think of it? Thanks! Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 2 11:50:47 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 09:50:47 -0700 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: <4E52BED3.9080600@colbyconsulting.com> References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> Message-ID: I have six clients that I have been supporting for over 15 years...the oldest one is 24 years. There is not a system that cannot be improved and I never mention, to any of them, how much they have paid me in total. When cost is discussed, we talk about our dealings as an extended insurance policy and everyone seems happy. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, August 22, 2011 1:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites (OT Reply) 9 years and 240K later one of my clients is still adding to the system I write for them (in Access). I started in July 2002. We are about to migrate the data to SQL Server. John W. Colby www.ColbyConsulting.com On 8/22/2011 3:51 PM, Mark Simms wrote: >> Lately, my 'salesman' has been taking my time/money quotes, and not >> adjusting them properly. When I say 2 weeks, he should be telling his >> customer 4 weeks, instead, he tells them 1 week, and hounds me. > > Sorry, I've got to "top" that one. > A couple of years ago I was hired to enhance a system that basically was a > custom-made CRM for a very specialized business. > There were no off-the-shelf packages, so their in-house developer wrote it > over a period of 3 years. > It was built using VB6, Access 97, and a bunch of 3rd party controls. > They lost the licenses and the developer, so I gave them the option of > building out additional functionality via Access 97. > It was to provide a new source of revenue for them. 6-8 weeks later it was > done. > > Management then decided they wanted to rewrite the whole system....I gave > them a proposal in Access 2007 for $80,000 and 8 months time which they > rejected. Instead, they signed a development company to do it in dot-net/SQL > Server. I was disappointed, I thought I had given them a "bargain". Their > volume did not dictate a need for a heavy-duty database. > > Two years and $250,000 later, the dot-net system is still nowhere near > completed. > > Lesson: in IT freelancing, it's so easy to get burned. > > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 2 12:12:57 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 10:12:57 -0700 Subject: [AccessD] freelancing job sites In-Reply-To: <35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net> <35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> Message-ID: <8C2AEC85399344049C37CCE2430D9D79@creativesystemdesigns.com> Hi Susan: Unless I am missing something, for the most part everyone is in complete agreement with your assumptions. If there is "hateful feedback", I did not find it. Maybe you are being too sensitive? Give us some examples. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, August 23, 2011 9:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites I've never had an article illicit such hateful feedback before. Mostly, people are generous when they disagree, but a couple of them want my head on a platter, and I don't really understand why -- there's really no attack in the article, so I'm truly surprised at some of the hateful responses. I mean, it's not like I said, "You're a crappy developer if you use bound forms" or something. :) Susan H. > Spot on Susan! > >> > out-freelancing/2685?tag=content;blog-list-river> > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Fri Sep 2 12:29:24 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 13:29:24 -0400 Subject: [AccessD] freelancing job sites References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net><35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> <8C2AEC85399344049C37CCE2430D9D79@creativesystemdesigns.com> Message-ID: <63AE84781A4D4D06831092CAE59A695A@SusanHarkins> I'm not being sensitive because they don't bother me. I find them odd and I'd prefer not to get them, but I'm not upset about it. I don't think telling me that I give freelancers a bad name and that I should retire is constructive criticism. There was another that was even worst -- suggested TR not use me as a contributor anymore. Too sensitive? I don't think so. I didn't write anything that should've illicited that kind of ire from anyone. Some people are just too crumpy to interact with other people in a reasonable manner. Like I said, most people had some interesting stories to tell and even those that disagreed with me did so in a reasonable manner. The flip side's coming out soon and after that I've got one that lists the reasons I don't miss Office 2003 -- they'll fry me up for supper after reading that one. :) Susan H. > Hi Susan: > > Unless I am missing something, for the most part everyone is in complete > agreement with your assumptions. If there is "hateful feedback", I did not > find it. > > Maybe you are being too sensitive? Give us some examples. ;-) > From accessd at shaw.ca Fri Sep 2 12:33:00 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 10:33:00 -0700 Subject: [AccessD] freelancing job sites In-Reply-To: <78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net> <35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> <013c01cc6261$e4237320$ac6a5960$@net> <78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> Message-ID: Hi Susan: You are obviously not hosting a political blog if you find some of those comments "hateful". ;-) If you are over 50, the chances of you getting a full-time gig in the IT field is almost zero... (Have you heard of any 35 year old quarter-backs?) OTOH you are always being called to fix some programming disaster as the young guys tend to be too fast and not as methodical in code-crawling. I noticed that you said, when working an IT guy has the options of working from dusk-to-dawn or dawn-to-dusk; you forgot the other option of around-the-clock. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, August 24, 2011 9:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites Mostly, there have been a lot of really positive and constructive comments -- it's been a good discussion. Only a few were obnoxious, I just wasn't expecting them. 2.) Man, it's the truth. No way to sugar-coat it. If you're over 50 and looking for work, you're in a world of hurt. If you're over 50 and been freelancing for the last few years, you're toast. I know, there are exceptions to every rule, but I think in general, it would be hard for me to find traditional employment now. 3.) If you're not working, you're not making money. It's all the self-discipline I need. :) Susan H. > Susan - I didn't see many really hateful responses. > I was simply amazed at the NUMBER of responses....wow ! > > 3 big take-aways for me were: > 1) agencies behavior > 2) impact of age on employment by large corps > 3) self discipline requirement -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 2 12:35:21 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 10:35:21 -0700 Subject: [AccessD] Sending email from Access In-Reply-To: References: <000101cc61d1$659f2750$30dd75f0$@flsi.com> Message-ID: <45A6917C3BBE4A38B729B1CCF49306A4@creativesystemdesigns.com> I have found BLAT so reliable that when it fails, I start checking the ISP code. In other words, if the app fails, get a new computer. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Wednesday, August 24, 2011 10:33 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sending email from Access hahaha Another vote for Blat. On Tue, Aug 23, 2011 at 6:02 PM, Arthur Fuller wrote: > I use Redemption, but that could be because I'm a serious Bob Marley fan, > not that he had anything to do with it, but I love "Redemption Song" and > their code seems to work just fine. > > A. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Fri Sep 2 12:46:44 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 13:46:44 -0400 Subject: [AccessD] freelancing job sites References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net><35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins><013c01cc6261$e4237320$ac6a5960$@net><78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> Message-ID: <8CC6AE5727664443AF54311595CA9AA2@SusanHarkins> > You are obviously not hosting a political blog if you find some of those > comments "hateful". ;-) ========They're hateful and there's really no room for them in the conversation, but I know that some people are that miserable in their lives. > > I noticed that you said, when working an IT guy has the options of working > from dusk-to-dawn or dawn-to-dusk; you forgot the other option of > around-the-clock. =========Damn! I wish I'd thought of that. :) Susan H. From jm.hwsn at gmail.com Fri Sep 2 13:11:01 2011 From: jm.hwsn at gmail.com (jm.hwsn) Date: Fri, 2 Sep 2011 13:11:01 -0500 Subject: [AccessD] freelancing job sites In-Reply-To: References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net><35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins><013c01cc6261$e4237320$ac6a5960$@net><78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> Message-ID: ---- If you are over 50, the chances of you getting a full-time gig in the IT field is almost zero... (Have you heard of any 35 year old quarter-backs?) ---- Me! I'm 62. I'm working full-time in Access 2007 only. Been on the same gig for over 2 years... and they just renewed my contract for another year. I feel, I owe it all to this list. I am a "lurker" most of the time, but I read almost everything that this list publishes. I've learned a lot over the several years that I have been a member. It's been so long I don't remember when I joined. It's like family. Thanks everyone. Jim -----Original Message----- From: Jim Lawrence Sent: Friday, September 02, 2011 12:33 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] freelancing job sites Hi Susan: You are obviously not hosting a political blog if you find some of those comments "hateful". ;-) If you are over 50, the chances of you getting a full-time gig in the IT field is almost zero... (Have you heard of any 35 year old quarter-backs?) OTOH you are always being called to fix some programming disaster as the young guys tend to be too fast and not as methodical in code-crawling. I noticed that you said, when working an IT guy has the options of working from dusk-to-dawn or dawn-to-dusk; you forgot the other option of around-the-clock. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, August 24, 2011 9:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites Mostly, there have been a lot of really positive and constructive comments -- it's been a good discussion. Only a few were obnoxious, I just wasn't expecting them. 2.) Man, it's the truth. No way to sugar-coat it. If you're over 50 and looking for work, you're in a world of hurt. If you're over 50 and been freelancing for the last few years, you're toast. I know, there are exceptions to every rule, but I think in general, it would be hard for me to find traditional employment now. 3.) If you're not working, you're not making money. It's all the self-discipline I need. :) Susan H. > Susan - I didn't see many really hateful responses. > I was simply amazed at the NUMBER of responses....wow ! > > 3 big take-aways for me were: > 1) agencies behavior > 2) impact of age on employment by large corps > 3) self discipline requirement -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 shamil at smsconsulting.spb.ru Fri Sep 2 13:21:39 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 2 Sep 2011 22:21:39 +0400 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: References: <00d901cc6104$e48b4e40$ada1eac0$@net><4E52BED3.9080600@colbyconsulting.com> Message-ID: <2BB94FDF62ED42B194C1CC6F12061C3D@nant> Hi Jim -- I guess your clients do have got developed strong business thanks to your good software development work for them - that seems to be the key point for a freelancing carrier success. Although there exist so many "prospect customers" who are trying to "save a penny" by burning out freelancers. Therefore additionally to 'must have' constant mastering of software development skills and learning by doing the new technologies every freelancer should also master the art of selecting (and nurturing/cultivating) "good" customers and ignoring the "bad" ones... Thank you. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: 2 ???????? 2011 ?. 20:51 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] freelancing job sites (OT Reply) I have six clients that I have been supporting for over 15 years...the oldest one is 24 years. There is not a system that cannot be improved and I never mention, to any of them, how much they have paid me in total. When cost is discussed, we talk about our dealings as an extended insurance policy and everyone seems happy. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, August 22, 2011 1:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites (OT Reply) 9 years and 240K later one of my clients is still adding to the system I write for them (in Access). I started in July 2002. We are about to migrate the data to SQL Server. John W. Colby www.ColbyConsulting.com On 8/22/2011 3:51 PM, Mark Simms wrote: >> Lately, my 'salesman' has been taking my time/money quotes, and not >> adjusting them properly. When I say 2 weeks, he should be telling >> his customer 4 weeks, instead, he tells them 1 week, and hounds me. > > Sorry, I've got to "top" that one. > A couple of years ago I was hired to enhance a system that basically > was a custom-made CRM for a very specialized business. > There were no off-the-shelf packages, so their in-house developer > wrote it over a period of 3 years. > It was built using VB6, Access 97, and a bunch of 3rd party controls. > They lost the licenses and the developer, so I gave them the option of > building out additional functionality via Access 97. > It was to provide a new source of revenue for them. 6-8 weeks later it > was done. > > Management then decided they wanted to rewrite the whole system....I > gave them a proposal in Access 2007 for $80,000 and 8 months time > which they rejected. Instead, they signed a development company to do > it in dot-net/SQL > Server. I was disappointed, I thought I had given them a "bargain". > Their volume did not dictate a need for a heavy-duty database. > > Two years and $250,000 later, the dot-net system is still nowhere near > completed. > > Lesson: in IT freelancing, it's so easy to get burned. > > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Sep 2 13:33:28 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 14:33:28 -0400 Subject: [AccessD] freelancing job sites (OT Reply) References: <00d901cc6104$e48b4e40$ada1eac0$@net><4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> Message-ID: <62F88463B3514BCFAC753FB624FDD05A@SusanHarkins> Since you brought that up... Nice to hear from you Shamil!! Susan H. > Therefore additionally to 'must have' constant mastering of software > development skills and learning by doing the new technologies every > freelancer should also master the art of selecting (and > nurturing/cultivating) "good" customers and ignoring the "bad" ones... > > Thank you. From ssharkins at gmail.com Fri Sep 2 13:31:45 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 14:31:45 -0400 Subject: [AccessD] freelancing job sites References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net><35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins><013c01cc6261$e4237320$ac6a5960$@net><78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> Message-ID: <33489E6DBF734353B20E14B94CCC3446@SusanHarkins> That's great news for you and encouraging news for some of us! ;) Susan H. > ---- > If you are over 50, the chances of you getting a full-time gig in the IT > field is almost zero... (Have you heard of any 35 year old quarter-backs?) > ---- > Me! > I'm 62. I'm working full-time in Access 2007 only. > Been on the same gig for over 2 years... and they just renewed my contract > for another year. > I feel, I owe it all to this list. > I am a "lurker" most of the time, but I read almost everything that this > list publishes. > I've learned a lot over the several years that I have been a member. > It's been so long I don't remember when I joined. > It's like family. > Thanks everyone. > Jim From accessd at shaw.ca Fri Sep 2 13:51:55 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 11:51:55 -0700 Subject: [AccessD] Freelancing In-Reply-To: References: Message-ID: There are a number of areas, which look very interesting in which to spend new time. The problem is finding the time. First; You will never make many money building one-off products for a client. Building and marketing a product multiple times is much more cost effective. Second; everything is going web-based, especially if you live and work in any major urban centers. So it is time to learn everything you can about HTML5, CSS3 and JavaScript > JQuery, JASON etc. There is so much free code, information and inexpensive services out on the web that it can be amazing how fast an application can be hacked together, with little knowledge. Third; converting apps to display and run on SmartPhones is a great idea. There are a host of free or cheap application that will allow you to do that. In addition, there are a number of great frameworks out there that can fit anyone's needs. (They will of course have to be hacked for any complex or specific designs...I like VS ASP.Net for building boilerplate code). Fourth; databases can no longer be just SQL types. The new map-reduce or NOSQL databases are quickly replacing systems where over a 10 million pieces of data that require routine searching. Most of these new databases are free or very inexpensive. Fifth; backend server technology is also changing as well as the DBs. Checkout NODE.js...it is incredibly fast and this allows you to leverage your JavaScript skills. Sixth; hosting your or having your client's hosting their own databases may not be a good idea as cloud hosting is coming into its own. There are deals like one TB of data for $8.00 a month, including full backups. If you are up to it you can build, you own Cloud, as drives are very cheap now. (Example: 2TB = $89 for an external drive...I just pull them apart and stuff the drive into the server. There are lots of opportunities out there for programmers, even old codgers like myself, but the learning curve is real steep though not expensive...this is something to do for guys that say they have retired. ;-) Seventh; I would recommend do not try to do it all on your own. One fool working alone is only a third as effective as two such individuals are. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav Sent: Friday, August 26, 2011 12:26 PM To: 'accessd-bounces at databaseadvisors.com' Subject: [AccessD] Freelancing Hey Susan Your article was an eye opener. I have been producing database applications for over 20 years. No ego being inferred but I figure I have produced quality products that are 99.9% bullet proof (many are still in use today). But I feel I am going the way of the dinosaur. Since the 2008 recession I have found that most companies no longer want to spend money to save money (no matter want you do to try and convince them of such). To be honest, on my end, the market is drying up. I am kind of looking at leaving ACCESS and starting to develop customized iPad/iPod (whatever) "Apps" for clients. If that doesn't work then I will be buying a "Weenie" wagon and hanging out at the beach. Not a boo hoo scenario, just reality. -- 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 Sep 2 13:55:06 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 2 Sep 2011 14:55:06 -0400 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: <2BB94FDF62ED42B194C1CC6F12061C3D@nant> References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> Message-ID: A critical skill in the freelancing world is learning how to fire customers. The moment they become a PITA is the time to fire them. This includes outrageous demands (can't you just make it do this too, for free?) to late payments to aggravating meetings. Call me a curmudgeon but I don't have enough time left on this planet to deal with such crap. The first moment I see a bad sign, I fire the client. A. From fuller.artful at gmail.com Fri Sep 2 14:14:18 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 2 Sep 2011 15:14:18 -0400 Subject: [AccessD] Freelancing In-Reply-To: References: Message-ID: I definitely hear you on the NoSQL front, and wish I had enough money to buy a few more GBs of RAM to make my elementary tests more real-world, but I don't, so I can't. The technology remains fascinating, and it makes a ton more sense than hard disks. On your first point (You will never make money building one-offs), I also agree completely. In Canada, the established law is that subject to a written contract specifying that the ownership of the code goes to the developer, in which case should you devise, for example, an app for veterinarions, then the code belongs to you, and not to the vet who constracted you to write it; hence you are free to turn it into a mass-market app (well, that assumes that vets are a mass-market, but you get the point). Such an app, in terms of development cost and potential returns, is vastly smaller than, say, eHealth (that's a Canadian term, and is vaguely equivalent to Medicaid or whatever they call it in USA); basically it means that every medical item on your list is stored in a massive db, including all your X-rays, CT-scans, MRIs, previous phyisicians, etc., and that it is all obtainable by both your current physician and also the Department of Health (that would be provincial not federal; there is no federal Department of Health in Canada; but that in turn causes needless complications: a very popular thing to do in Canada is move from Newfoundland to Alberta, where jobs in the oil industry abound, and transferring your medical records from one province to another is non-trivial. It can be done, but it take time. Since I am not a citizen of the USA and haven't bothered to explore the legalities lurking therein, I have only the Canadian model from which to work. Here, the client must specifically include a clause claiming ownership of the code; failure to do that means that the code belongs to the developer, who may freely sell it numerous times; but to be fair, if it were a hair-salon app, it would be a tad rude to sell it to the hair-salon across the street -- still legal, but rude. I think there are at least a couple of USA lawyers who visit this list, and I would be most interested in their perspective. TIA, Arthur On Fri, Sep 2, 2011 at 2:51 PM, Jim Lawrence wrote: > There are a number of areas, which look very interesting in which to spend > new time. The problem is finding the time. > > First; You will never make many money building one-off products for a > client. Building and marketing a product multiple times is much more cost > effective. > > Second; everything is going web-based, especially if you live and work in > any major urban centers. So it is time to learn everything you can about > HTML5, CSS3 and JavaScript > JQuery, JASON etc. There is so much free code, > information and inexpensive services out on the web that it can be amazing > how fast an application can be hacked together, with little knowledge. > > Third; converting apps to display and run on SmartPhones is a great idea. > There are a host of free or cheap application that will allow you to do > that. In addition, there are a number of great frameworks out there that > can > fit anyone's needs. (They will of course have to be hacked for any complex > or specific designs...I like VS ASP.Net for building boilerplate code). > > Fourth; databases can no longer be just SQL types. The new map-reduce or > NOSQL databases are quickly replacing systems where over a 10 million > pieces > of data that require routine searching. Most of these new databases are > free > or very inexpensive. > > Fifth; backend server technology is also changing as well as the DBs. > Checkout NODE.js...it is incredibly fast and this allows you to leverage > your JavaScript skills. > > Sixth; hosting your or having your client's hosting their own databases may > not be a good idea as cloud hosting is coming into its own. There are deals > like one TB of data for $8.00 a month, including full backups. If you are > up > to it you can build, you own Cloud, as drives are very cheap now. (Example: > 2TB = $89 for an external drive...I just pull them apart and stuff the > drive > into the server. > > There are lots of opportunities out there for programmers, even old codgers > like myself, but the learning curve is real steep though not > expensive...this is something to do for guys that say they have retired. > ;-) > > Seventh; I would recommend do not try to do it all on your own. One fool > working alone is only a third as effective as two such individuals are. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav > Sent: Friday, August 26, 2011 12:26 PM > To: 'accessd-bounces at databaseadvisors.com' > Subject: [AccessD] Freelancing > > Hey Susan > Your article was an eye opener. > I have been producing database applications for over 20 years. No ego being > inferred but I figure I have produced quality products that are 99.9% > bullet proof (many are still in use today). But I feel I am going the way > of > the dinosaur. Since the 2008 recession I have found that most companies no > longer want to spend money to save money (no matter want you do to try and > convince them of such). To be honest, on my end, the market is drying up. I > am kind of looking at leaving ACCESS and starting to develop customized > iPad/iPod (whatever) "Apps" for clients. If that doesn't work then I will > be > buying a "Weenie" wagon and hanging out at the beach. Not a boo hoo > scenario, just reality. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Fri Sep 2 14:17:06 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 12:17:06 -0700 Subject: [AccessD] User interface In-Reply-To: References: <4E591854.8090208@colbyconsulting.com> <6BAD4B05F0474F8083137B9C25B1038C@HAL9007> <4E597AE8.6269.28B4FE51@stuart.lexacorp.com.pg> Message-ID: <995A599CDD874FC9B8BA4966502999A2@creativesystemdesigns.com> Hi Arthur: I went to a very interesting talk about a year ago to do with the physiology behind the UI. The company that was doing the presentation made their living by redesigning UI for product development companies. One of their main claims to fame was that they worked with Apple and Google, in design work. There were so many components of UIs, that they covered, that most of the little things were forgotten. The main points I remember was: 1. Keep it lean...less is more. 2. A pretty and very clean design is as important or maybe more important than the actual application. (Spending half an hour on rounded curves and shadows may be you best time investment.) 3. Use graphics...people do not read. 4. When using text, the less text the better and font choice and weight and giving emphasis to key points or words is best. When I am deciding on an interface, checking out an Apple or Google app is a good way to refresh memory. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, August 27, 2011 5:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] User interface So, given that there are only three of us so far on this thread, I seem to be the odd man out on letting the themes define the colors. That's ok. But I confess that I am not a big fan of letting software developers (e.g. Google et. al.) define my color schemes. I would far prefer this be done on a global scale so that all apps are painted with the color-scheme I chose in WIndows itself, not the particular app. But that's just me. A. On Sat, Aug 27, 2011 at 7:54 PM, Rocky Smolin wrote: > I'm a fan of the one-form-at-a-time approach for the app I distribute as a > run time. It's complex enough without the users getting lost between > windows. I make them go back up the menu tree and down again to the form > they want. I have occasional buttons for lateral moves but not many. > > R > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 2 14:22:42 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 12:22:42 -0700 Subject: [AccessD] User Interface In-Reply-To: <000001cc66a1$04903830$0db0a890$@com.au> References: <000a01cc65dc$abb30b30$03192190$@com.au> <001701cc664e$2381e7a0$6a85b6e0$@gmail.com> <000001cc66a1$04903830$0db0a890$@com.au> Message-ID: Users rule. They are always right even when they are wrong. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Monday, August 29, 2011 4:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] User Interface Yes, absolutely! In fact I get annoyed with fellow developers who think user feedback and concerns are a pain. To me their feedback is usually pure gold. Keep them happy and content and you'll keep your job for a long time. I am a big fan of not letting option be available until they are ready to work flawlessly. Why on earth show them an active print button if it is going to fail on print because they are missing some information. For really unskilled users I normally have even made up little tick lists that show where they are in the process and what else they need to complete to finish the task. Yes, it takes a lot more time to put this sort of thing together but it pays very big dividends, especially when you have hundreds of users all over the country and there is no way you can give them all your personal assistance. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, 30 August 2011 1:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] User Interface Here here for the "No False Moves" strategy. The most important thing, IMO, is to make the user feel both powerful and elegant: nothing that should not happen should be permitted to happen. I know from experience that this is a PITA to deliver, but it inevitably is correct: foreclose the options that should not be available in the given context. A silly example, but I hope meaningful -- unless a given OrderID has been selected, then dis-allow the printing of an Invoice. The point here is ultimately, "Make the user feel graceful"; not merely competent, although that is Step One, but Graceful (that is Step Two). I have followed this strategy for about 20 years and it invariably has worked in my favour. In fact, I have learned some things from the users of my apps which I didn't even consider, because I don't actually use my deliverables, but just test them and then deploy them; the people who use them use them frequently, and are quicker than I to detect annoyances. I do listen to them, and I try to deliver smoother avenues on next deployment. I'm not claiming any expertise in this area. My rule of thumb is, Shut Up and Listen. I don't often run the systems I deliver, especially all day long; so I trust my customer-base to tell me what is a PITA and what is nice; then I go back to the drawing board and try to design the PITA out. Sometimes this strategy doesn't work, but most of the time it does. Users Rule; it's not about Referential Integrity or Validation Rules etc., it's about the user-experience, and about getting from Here to There in the fewest possible clicks and keystrokes. That's my design goal, anyway. I don't want the user (God, I hate that word, it reminds me of drug-dealers!) to have the simplest possible path toward creating a new Customer with its ancillary tables, or to update an existing Customer and her Locations, and her Location_Projects. I want all the background stuff to be invisible to the current Customer. This should all happen under smoke-and-mirrors, and then once the scaffold has been laid, everything else should happen automagically On Mon, Aug 29, 2011 at 9:18 AM, William Benson (VBACreations.Com) < vbacreations at gmail.com> wrote: > I think you all write applications for many more users than I do. I have > not > written anything for more than about 3 users at a time and basically they > are easily trained. The most important things have been to get work done in > the fewest number of steps. And no "false moves". On one app I built lately > there are several buttons down the right hand side of each of the main > forms. I can put anything I want in their captions then handle all button > clicks through a test of screen.activeform.name, > screen.activeform.ActiveControl.Name. I ALWAYS use captions, never images, > for just that reason. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins > Sent: Sunday, August 28, 2011 7:46 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] User Interface > > Hah, that is pretty much what I wanted to say, but as usual, waffled off > topic a fair bit... > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav > Sent: Monday, 29 August 2011 12:36 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] User Interface > > Hey John > In designing a user interface I always try to keep it clean, simple and > intuitive. Always keeping in mind that you are programming/designing not > for > the 99.9% but the .1% of the users ( a friend of mine used to laugh at this > "You spent a lot of time trying to solve the .1% problem", that was until > he > worked with me on a project). > > I am always trying to keep in mind when designing, the lowest common > denominator ,my theoretical "computer illiterate user". Meaning I control > what a user can and cannot do. I am always trying to second guess the user > and trying to shut any backdoors they may sneak into and open. > > I like to use single simple forms/single tab forms > There is no HELP (the form should visually flow/display to the user what > and > how things need to be done) > There are no menus. > The information intuitively flows from top to bottom > Where applicable some information may be highlighted in coloured boxes. I > use colour sparingly as it can tend to make the form look goofy or too > busy. > The forms contain all the things, buttons, my navigation bars (when > needed), > list boxes, pop ups, etc. necessary to let the user carry out the > activities > the form is designed to perform. > Where necesary the form may contain my own (not Access) message boxes > intrusive - ".....Sorry cannot do that..." and nonintrusive - ".... Are you > sure? Continue Y/N?" > > As most of you have probably done, I will design what I thought was a > pretty cool form, but a week later when I go back to continue my testing, > the form just doesn't seem to flow the way it should (not intuitive). So I > tear apart and rebuild it and start again. > > Nothing new here, just my 2 cents worth. > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 shamil at smsconsulting.spb.ru Fri Sep 2 14:23:01 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 2 Sep 2011 23:23:01 +0400 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: <62F88463B3514BCFAC753FB624FDD05A@SusanHarkins> References: <00d901cc6104$e48b4e40$ada1eac0$@net><4E52BED3.9080600@colbyconsulting.com><2BB94FDF62ED42B194C1CC6F12061C3D@nant> <62F88463B3514BCFAC753FB624FDD05A@SusanHarkins> Message-ID: <2945C176827A4F7EAAFB339176853DB0@nant> Hi Susan -- Thank you for your pointing out on that your article. It looks like we have a bit of telepathy here :) Why just "Five tips for weeding out potentially bad clients" not "Ten tips..." as usual? Let's try to add some more tips? #6. Ask prospect customer to write a short spec on what they wanted you to do for them - if they will tell you they do not have time - say them good buy... ... Thank you for your kind words, Susan - it's always nice to hear from you - and I do read most of your TechRep articles as I'm subscribed on TechRep announcements for a long time... Thank you. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: 2 ???????? 2011 ?. 22:33 To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites (OT Reply) Since you brought that up... Nice to hear from you Shamil!! Susan H. > Therefore additionally to 'must have' constant mastering of software > development skills and learning by doing the new technologies every > freelancer should also master the art of selecting (and > nurturing/cultivating) "good" customers and ignoring the "bad" ones... > > Thank you. -- 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 Sep 2 14:21:41 2011 From: df.waters at comcast.net (Dan Waters) Date: Fri, 2 Sep 2011 14:21:41 -0500 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> Message-ID: <003f01cc69a5$8bf4d360$a3de7a20$@comcast.net> Since I charge user license fees (in place of Maintenance fees) I don't fire clients. I change the parameters of how I'll work with them, but I don't threaten to leave. For example, at one meeting a DBA 'took over' the meeting, hadn't read the material I had sent out to begin with, and wasted an hour of 6 people's time. Not to mention two hours driving for me. I sent my contacts an email stating that I would not work with or meet with that person again, and they never asked me to. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, September 02, 2011 1:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites (OT Reply) A critical skill in the freelancing world is learning how to fire customers. The moment they become a PITA is the time to fire them. This includes outrageous demands (can't you just make it do this too, for free?) to late payments to aggravating meetings. Call me a curmudgeon but I don't have enough time left on this planet to deal with such crap. The first moment I see a bad sign, I fire the client. A. -- 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 Sep 2 14:24:04 2011 From: df.waters at comcast.net (Dan Waters) Date: Fri, 2 Sep 2011 14:24:04 -0500 Subject: [AccessD] User Interface In-Reply-To: References: <000a01cc65dc$abb30b30$03192190$@com.au> <001701cc664e$2381e7a0$6a85b6e0$@gmail.com> <000001cc66a1$04903830$0db0a890$@com.au> Message-ID: <004001cc69a5$e0fa1d70$a2ee5850$@comcast.net> Yes - they know they're right. It's my job to ask enough questions to discover what they really need, and then later show them that they were right! ;-) Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, September 02, 2011 2:23 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] User Interface Users rule. They are always right even when they are wrong. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Monday, August 29, 2011 4:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] User Interface Yes, absolutely! In fact I get annoyed with fellow developers who think user feedback and concerns are a pain. To me their feedback is usually pure gold. Keep them happy and content and you'll keep your job for a long time. I am a big fan of not letting option be available until they are ready to work flawlessly. Why on earth show them an active print button if it is going to fail on print because they are missing some information. For really unskilled users I normally have even made up little tick lists that show where they are in the process and what else they need to complete to finish the task. Yes, it takes a lot more time to put this sort of thing together but it pays very big dividends, especially when you have hundreds of users all over the country and there is no way you can give them all your personal assistance. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, 30 August 2011 1:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] User Interface Here here for the "No False Moves" strategy. The most important thing, IMO, is to make the user feel both powerful and elegant: nothing that should not happen should be permitted to happen. I know from experience that this is a PITA to deliver, but it inevitably is correct: foreclose the options that should not be available in the given context. A silly example, but I hope meaningful -- unless a given OrderID has been selected, then dis-allow the printing of an Invoice. The point here is ultimately, "Make the user feel graceful"; not merely competent, although that is Step One, but Graceful (that is Step Two). I have followed this strategy for about 20 years and it invariably has worked in my favour. In fact, I have learned some things from the users of my apps which I didn't even consider, because I don't actually use my deliverables, but just test them and then deploy them; the people who use them use them frequently, and are quicker than I to detect annoyances. I do listen to them, and I try to deliver smoother avenues on next deployment. I'm not claiming any expertise in this area. My rule of thumb is, Shut Up and Listen. I don't often run the systems I deliver, especially all day long; so I trust my customer-base to tell me what is a PITA and what is nice; then I go back to the drawing board and try to design the PITA out. Sometimes this strategy doesn't work, but most of the time it does. Users Rule; it's not about Referential Integrity or Validation Rules etc., it's about the user-experience, and about getting from Here to There in the fewest possible clicks and keystrokes. That's my design goal, anyway. I don't want the user (God, I hate that word, it reminds me of drug-dealers!) to have the simplest possible path toward creating a new Customer with its ancillary tables, or to update an existing Customer and her Locations, and her Location_Projects. I want all the background stuff to be invisible to the current Customer. This should all happen under smoke-and-mirrors, and then once the scaffold has been laid, everything else should happen automagically On Mon, Aug 29, 2011 at 9:18 AM, William Benson (VBACreations.Com) < vbacreations at gmail.com> wrote: > I think you all write applications for many more users than I do. I > have not written anything for more than about 3 users at a time and > basically they are easily trained. The most important things have been > to get work done in > the fewest number of steps. And no "false moves". On one app I built lately > there are several buttons down the right hand side of each of the main > forms. I can put anything I want in their captions then handle all > button clicks through a test of screen.activeform.name, > screen.activeform.ActiveControl.Name. I ALWAYS use captions, never > images, for just that reason. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl > Collins > Sent: Sunday, August 28, 2011 7:46 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] User Interface > > Hah, that is pretty much what I wanted to say, but as usual, waffled > off topic a fair bit... > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav > Sent: Monday, 29 August 2011 12:36 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] User Interface > > Hey John > In designing a user interface I always try to keep it clean, simple > and intuitive. Always keeping in mind that you are > programming/designing not for the 99.9% but the .1% of the users ( a > friend of mine used to laugh at this > "You spent a lot of time trying to solve the .1% problem", that was > until he worked with me on a project). > > I am always trying to keep in mind when designing, the lowest common > denominator ,my theoretical "computer illiterate user". Meaning I > control what a user can and cannot do. I am always trying to second > guess the user and trying to shut any backdoors they may sneak into and open. > > I like to use single simple forms/single tab forms There is no HELP > (the form should visually flow/display to the user what and how things > need to be done) There are no menus. > The information intuitively flows from top to bottom Where applicable > some information may be highlighted in coloured boxes. I use colour > sparingly as it can tend to make the form look goofy or too busy. > The forms contain all the things, buttons, my navigation bars (when > needed), list boxes, pop ups, etc. necessary to let the user carry out > the activities the form is designed to perform. > Where necesary the form may contain my own (not Access) message boxes > intrusive - ".....Sorry cannot do that..." and nonintrusive - ".... > Are you > sure? Continue Y/N?" > > As most of you have probably done, I will design what I thought was a > pretty cool form, but a week later when I go back to continue my > testing, the form just doesn't seem to flow the way it should (not > intuitive). So I tear apart and rebuild it and start again. > > Nothing new here, just my 2 cents worth. > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 fuller.artful at gmail.com Fri Sep 2 14:28:01 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 2 Sep 2011 15:28:01 -0400 Subject: [AccessD] User interface In-Reply-To: <995A599CDD874FC9B8BA4966502999A2@creativesystemdesigns.com> References: <4E591854.8090208@colbyconsulting.com> <6BAD4B05F0474F8083137B9C25B1038C@HAL9007> <4E597AE8.6269.28B4FE51@stuart.lexacorp.com.pg> <995A599CDD874FC9B8BA4966502999A2@creativesystemdesigns.com> Message-ID: I think of Google as the UI par excellence. Lean and clean and decidedly not noisy. I admire their design sense immensely. A. From fuller.artful at gmail.com Fri Sep 2 14:29:19 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 2 Sep 2011 15:29:19 -0400 Subject: [AccessD] User Interface In-Reply-To: References: <000a01cc65dc$abb30b30$03192190$@com.au> <001701cc664e$2381e7a0$6a85b6e0$@gmail.com> <000001cc66a1$04903830$0db0a890$@com.au> Message-ID: Those are the watchwords: users rule. On Fri, Sep 2, 2011 at 3:22 PM, Jim Lawrence wrote: > Users rule. They are always right even when they are wrong. ;-) > > Jim > From ssharkins at gmail.com Fri Sep 2 14:33:31 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 15:33:31 -0400 Subject: [AccessD] Freelancing References: Message-ID: How do you guys feel about SmallSQL? Susan H. >I definitely hear you on the NoSQL front, and wish I had enough money to >buy > a few more GBs of RAM to make my elementary tests more real-world, but I > don't, so I can't. The technology remains fascinating, and it makes a ton > more sense than hard disks. > From ssharkins at gmail.com Fri Sep 2 14:35:05 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 15:35:05 -0400 Subject: [AccessD] freelancing job sites (OT Reply) References: <00d901cc6104$e48b4e40$ada1eac0$@net><4E52BED3.9080600@colbyconsulting.com><2BB94FDF62ED42B194C1CC6F12061C3D@nant><62F88463B3514BCFAC753FB624FDD05A@SusanHarkins> <2945C176827A4F7EAAFB339176853DB0@nant> Message-ID: <8F06E942435D4994AC536AF787B0FE57@SusanHarkins> If I can't come up with 10, I weddle it down to the best 5 I can come up with. :) Susan H. > Hi Susan -- > > Thank you for your pointing out on that your article. > It looks like we have a bit of telepathy here :) > > Why just "Five tips for weeding out potentially bad clients" not "Ten > tips..." as usual? > > Let's try to add some more tips? > > #6. Ask prospect customer to write a short spec on what they wanted you to > do for them - if they will tell you they do not have time - say them good > buy... > > ... > > Thank you for your kind words, Susan - it's always nice to hear from you - > and I do read most of your TechRep articles as I'm subscribed on TechRep > announcements for a long time... > > Thank you. > > -- > Shamil > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: 2 ???????? 2011 ?. 22:33 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] freelancing job sites (OT Reply) > > Since you brought that up... > > ially-bad-clients/1011?tag=content;blog-list-river> > > Nice to hear from you Shamil!! > > Susan H. > >> Therefore additionally to 'must have' constant mastering of software >> development skills and learning by doing the new technologies every >> freelancer should also master the art of selecting (and >> nurturing/cultivating) "good" customers and ignoring the "bad" ones... >> >> Thank you. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 2 14:39:58 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 12:39:58 -0700 Subject: [AccessD] Print graphics file from Access In-Reply-To: References: Message-ID: <72D8D5AB6C0B4B88977336DE35B0B41E@creativesystemdesigns.com> Have you tried save the image as a GIF or PNG type file with transparency? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Tuesday, August 30, 2011 9:08 AM To: Access Developers discussion and problem solving Subject: [AccessD] Print graphics file from Access Hello All: I have an A2003 invoicing database; when it prints an invoice, it prints a signature which has been captured by another app. The signature is in a .jpg file. This worked fine until recently, when we changed the signature capture app. It turns out that the new app is creating a transparent .jpg, and the old one created one with a white background. Access won't print the transparent .jpg. If I open a signature file in Paint, then re-save it, Paint converts the transparent background to white and Access is happy. But my client isn't happy at the idea of doing this by hand for every invoice he prints! Does anyone know of a way that I can automatically convert a transparent jpg to white background in code, or have any other ideas to make this work? Thanks, 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 Sep 2 14:55:26 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 12:55:26 -0700 Subject: [AccessD] freelancing job sites In-Reply-To: <63AE84781A4D4D06831092CAE59A695A@SusanHarkins> References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net> <35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> <8C2AEC85399344049C37CCE2430D9D79@creativesystemdesigns.com> <63AE84781A4D4D06831092CAE59A695A@SusanHarkins> Message-ID: <731C2D1762BB47A7B995DF7EB26128BE@creativesystemdesigns.com> Ha ha ha... I guess some Freelancers do not like to hear the facts...too bad. OTOH, the more controversy you stir up the better for business. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, September 02, 2011 10:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites I'm not being sensitive because they don't bother me. I find them odd and I'd prefer not to get them, but I'm not upset about it. I don't think telling me that I give freelancers a bad name and that I should retire is constructive criticism. There was another that was even worst -- suggested TR not use me as a contributor anymore. Too sensitive? I don't think so. I didn't write anything that should've illicited that kind of ire from anyone. Some people are just too crumpy to interact with other people in a reasonable manner. Like I said, most people had some interesting stories to tell and even those that disagreed with me did so in a reasonable manner. The flip side's coming out soon and after that I've got one that lists the reasons I don't miss Office 2003 -- they'll fry me up for supper after reading that one. :) Susan H. > Hi Susan: > > Unless I am missing something, for the most part everyone is in complete > agreement with your assumptions. If there is "hateful feedback", I did not > find it. > > Maybe you are being too sensitive? Give us some examples. ;-) > -- 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 Sep 2 15:03:07 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 2 Sep 2011 16:03:07 -0400 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: <8F06E942435D4994AC536AF787B0FE57@SusanHarkins> References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> <62F88463B3514BCFAC753FB624FDD05A@SusanHarkins> <2945C176827A4F7EAAFB339176853DB0@nant> <8F06E942435D4994AC536AF787B0FE57@SusanHarkins> Message-ID: I guess that my stance on this is that I value time more than money. There are so many books to read, so many new apps to learn, so much music to appreciate. You want to tackle say Shostakovitch or Beethoven or Bach, there goes several hundred hours each. And then you still have Brahms, Stravinsky and Bartok to go, and that's only the beginning of your education in classic music, let alone quantum physics etc. A. On Fri, Sep 2, 2011 at 3:35 PM, Susan Harkins wrote: > If I can't come up with 10, I weddle it down to the best 5 I can come up > with. :) > > Susan H. > > From stuart at lexacorp.com.pg Fri Sep 2 15:03:38 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 03 Sep 2011 06:03:38 +1000 Subject: [AccessD] Freelancing In-Reply-To: References: , Message-ID: <4E61369A.11630.12AA561C@stuart.lexacorp.com.pg> All I know is that it is a desktop based, single user Java DBMS which uses JDBC. Since I don't do Java, I've never looked any further. I'd rather stick with SQLite - it does the same thing with a single native code DLL which can be incorporated into any development environment. -- Stuart On 2 Sep 2011 at 15:33, Susan Harkins wrote: > How do you guys feel about SmallSQL? > > Susan H. > > > >I definitely hear you on the NoSQL front, and wish I had enough money > >to buy > > a few more GBs of RAM to make my elementary tests more real-world, > > but I don't, so I can't. The technology remains fascinating, and it > > makes a ton more sense than hard disks. > > > > -- > 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 Sep 2 15:04:35 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 2 Sep 2011 16:04:35 -0400 Subject: [AccessD] User Interface In-Reply-To: <004001cc69a5$e0fa1d70$a2ee5850$@comcast.net> References: <000a01cc65dc$abb30b30$03192190$@com.au> <001701cc664e$2381e7a0$6a85b6e0$@gmail.com> <000001cc66a1$04903830$0db0a890$@com.au> <004001cc69a5$e0fa1d70$a2ee5850$@comcast.net> Message-ID: Reminds me of the Clipper mantra: ask them what they want, then deliver what they need. A. On Fri, Sep 2, 2011 at 3:24 PM, Dan Waters wrote: > Yes - they know they're right. It's my job to ask enough questions to > discover what they really need, and then later show them that they were > right! ;-) > > Dan > From dbdoug at gmail.com Fri Sep 2 15:08:37 2011 From: dbdoug at gmail.com (Doug Steele) Date: Fri, 2 Sep 2011 13:08:37 -0700 Subject: [AccessD] Print graphics file from Access In-Reply-To: <72D8D5AB6C0B4B88977336DE35B0B41E@creativesystemdesigns.com> References: <72D8D5AB6C0B4B88977336DE35B0B41E@creativesystemdesigns.com> Message-ID: The API for the signature capture software doesn't give any options about output types. But it turned out that the .Net System.Drawing namespace had the answer. I was able to find some sample code on the web which led me to a solution which we've implemented: (C# code in the capture app, error handling code removed): // get signature as default (png format) System.Drawing.Bitmap BM = ctlSignature.SaveSignature(""); // save as jpg BM.Save(Server.MapPath("~/sigs/" + SessionVars.EditWONum.ToString() + "sign.jpg"), System.Drawing.Imaging.ImageFormat.Jpeg); Approximately 8 hours of research, mostly off on a wild goose chase, led to a solution consisting of two lines of code :) Doug On Fri, Sep 2, 2011 at 12:39 PM, Jim Lawrence wrote: > Have you tried save the image as a GIF or PNG type file with transparency? > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele > Sent: Tuesday, August 30, 2011 9:08 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Print graphics file from Access > > Hello All: > > I have an A2003 invoicing database; when it prints an invoice, it prints a > signature which has been captured by another app. The signature is in a > .jpg file. > > This worked fine until recently, when we changed the signature capture app. > It turns out that the new app is creating a transparent .jpg, and the old > one created one with a white background. Access won't print the > transparent > .jpg. If I open a signature file in Paint, then re-save it, Paint converts > the transparent background to white and Access is happy. But my client > isn't happy at the idea of doing this by hand for every invoice he prints! > > Does anyone know of a way that I can automatically convert a transparent > jpg > to white background in code, or have any other ideas to make this work? > > 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 fuller.artful at gmail.com Fri Sep 2 15:09:50 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 2 Sep 2011 16:09:50 -0400 Subject: [AccessD] Freelancing In-Reply-To: References: Message-ID: I've never tried it but just downloaded it and about to install it. A. On Fri, Sep 2, 2011 at 3:33 PM, Susan Harkins wrote: > How do you guys feel about SmallSQL? > > Susan H. > From BradM at blackforestltd.com Fri Sep 2 15:15:22 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Fri, 2 Sep 2011 15:15:22 -0500 Subject: [AccessD] Pulling Data from Outlook into Access References: <000a01cc65dc$abb30b30$03192190$@com.au><001701cc664e$2381e7a0$6a85b6e0$@gmail.com><000001cc66a1$04903830$0db0a890$@com.au><004001cc69a5$e0fa1d70$a2ee5850$@comcast.net> Message-ID: All, Below is a small Sub that pulls data from Outlook into Access. This works fine to pull data from my Outlook Mailbox. I now need to pull data that resides in a different Outlook Mailbox. I have the Mailbox name and password. Is this possible? Thanks, Brad ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Sub Outlook_Test() Dim myOlApp As Outlook.Application Dim myNameSpace As Object Dim myFolders As Object Dim myFolder As Object Dim mySubFolder As Object Dim Item As Object Set myOlApp = CreateObject("Outlook.Application") Set myNameSpace = myOlApp.GetNamespace("MAPI") Set myFolders = myNameSpace.Folders Set myFolder = myFolders.Item(1) Set mySubFolder = myFolder.Folders("Inbox") For Each Item In mySubFolder.Items MsgBox Item.Subject & vbLf & Item.Body Next Item End Sub ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From accessd at shaw.ca Fri Sep 2 15:43:27 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 13:43:27 -0700 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: <2BB94FDF62ED42B194C1CC6F12061C3D@nant> References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> Message-ID: <8D44FC3DF663451D800CEAEDA46ED092@creativesystemdesigns.com> Hi Shamil: With my old time clients any new technology has to be careful implemented...they do not like new especially if it looks too different. The slow refinement method works best. ;-) I have been quietly moving my clients to the web/SQL and as long as I have been able to emulate the old forms in design, layout and features they are very happy. Most new younger client's want instant gratification, absolute perfection and it all done very cheap. The choices are; Good, Fast and cheap; pick any two. I like to modularize applications so a project can be allowed to evolve over a length of time with lots of user assistance. A long-term 'insurance and incremental development' policy is the goal of course. I try to never 're-invent the wheel'. I use existing apps and technology as long as it makes my job easier and moves the project ahead. Some clients are 'early adopters', they really like any technology that is new and shiny, and they tend to be the ones willing and capable of paying for the learning curve. The only thing is that, I may end up supporting a technology that fades fast. MS Silverlight comes to mind as it has been superseded by the industry standards of HTML5 as even Adobe is abandoning their Flash product in favour of the standard: www.adobe.com/EdgePreview (HTML5/CSS3 web builder) I agree that it is good to know when to divorce a customer or never become acquainted. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, September 02, 2011 11:22 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] freelancing job sites (OT Reply) Hi Jim -- I guess your clients do have got developed strong business thanks to your good software development work for them - that seems to be the key point for a freelancing carrier success. Although there exist so many "prospect customers" who are trying to "save a penny" by burning out freelancers. Therefore additionally to 'must have' constant mastering of software development skills and learning by doing the new technologies every freelancer should also master the art of selecting (and nurturing/cultivating) "good" customers and ignoring the "bad" ones... Thank you. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: 2 ???????? 2011 ?. 20:51 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] freelancing job sites (OT Reply) I have six clients that I have been supporting for over 15 years...the oldest one is 24 years. There is not a system that cannot be improved and I never mention, to any of them, how much they have paid me in total. When cost is discussed, we talk about our dealings as an extended insurance policy and everyone seems happy. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, August 22, 2011 1:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites (OT Reply) 9 years and 240K later one of my clients is still adding to the system I write for them (in Access). I started in July 2002. We are about to migrate the data to SQL Server. John W. Colby www.ColbyConsulting.com On 8/22/2011 3:51 PM, Mark Simms wrote: >> Lately, my 'salesman' has been taking my time/money quotes, and not >> adjusting them properly. When I say 2 weeks, he should be telling >> his customer 4 weeks, instead, he tells them 1 week, and hounds me. > > Sorry, I've got to "top" that one. > A couple of years ago I was hired to enhance a system that basically > was a custom-made CRM for a very specialized business. > There were no off-the-shelf packages, so their in-house developer > wrote it over a period of 3 years. > It was built using VB6, Access 97, and a bunch of 3rd party controls. > They lost the licenses and the developer, so I gave them the option of > building out additional functionality via Access 97. > It was to provide a new source of revenue for them. 6-8 weeks later it > was done. > > Management then decided they wanted to rewrite the whole system....I > gave them a proposal in Access 2007 for $80,000 and 8 months time > which they rejected. Instead, they signed a development company to do > it in dot-net/SQL > Server. I was disappointed, I thought I had given them a "bargain". > Their volume did not dictate a need for a heavy-duty database. > > Two years and $250,000 later, the dot-net system is still nowhere near > completed. > > Lesson: in IT freelancing, it's so easy to get burned. > > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Fri Sep 2 15:45:55 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 13:45:55 -0700 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: <62F88463B3514BCFAC753FB624FDD05A@SusanHarkins> References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> <62F88463B3514BCFAC753FB624FDD05A@SusanHarkins> Message-ID: My goodness you are such a complete source of information. You should have a "Ask Susan" blog. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, September 02, 2011 11:33 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites (OT Reply) Since you brought that up... Nice to hear from you Shamil!! Susan H. > Therefore additionally to 'must have' constant mastering of software > development skills and learning by doing the new technologies every > freelancer should also master the art of selecting (and > nurturing/cultivating) "good" customers and ignoring the "bad" ones... > > Thank you. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 2 15:47:09 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 13:47:09 -0700 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> Message-ID: <88234EDB76E044DA882E31214D603FA3@creativesystemdesigns.com> Well spoken. :-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, September 02, 2011 11:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites (OT Reply) A critical skill in the freelancing world is learning how to fire customers. The moment they become a PITA is the time to fire them. This includes outrageous demands (can't you just make it do this too, for free?) to late payments to aggravating meetings. Call me a curmudgeon but I don't have enough time left on this planet to deal with such crap. The first moment I see a bad sign, I fire the client. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Fri Sep 2 15:50:56 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 16:50:56 -0400 Subject: [AccessD] freelancing job sites (OT Reply) References: <00d901cc6104$e48b4e40$ada1eac0$@net><4E52BED3.9080600@colbyconsulting.com><2BB94FDF62ED42B194C1CC6F12061C3D@nant><62F88463B3514BCFAC753FB624FDD05A@SusanHarkins> Message-ID: <7AFD83CBFEE14C14A8B4D1B11D47136D@SusanHarkins> I'm afraid I would get stumped too often to maintain my reputation. :) Susan H. > My goodness you are such a complete source of information. You should have > a > "Ask Susan" blog. ;-) > > Jim > > Since you brought that up... > > ially-bad-clients/1011?tag=content;blog-list-river> > > Nice to hear from you Shamil!! > > Susan H. > >> Therefore additionally to 'must have' constant mastering of software >> development skills and learning by doing the new technologies every >> freelancer should also master the art of selecting (and >> nurturing/cultivating) "good" customers and ignoring the "bad" ones... >> >> Thank you. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 2 15:54:04 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 13:54:04 -0700 Subject: [AccessD] Freelancing In-Reply-To: References: Message-ID: I think you could make a good case anywhere in North America as code is more an art form than a technology...and art is protected in both countries. The "John Fogerty" act/law/precedence comes to mind. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, September 02, 2011 12:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Freelancing I definitely hear you on the NoSQL front, and wish I had enough money to buy a few more GBs of RAM to make my elementary tests more real-world, but I don't, so I can't. The technology remains fascinating, and it makes a ton more sense than hard disks. On your first point (You will never make money building one-offs), I also agree completely. In Canada, the established law is that subject to a written contract specifying that the ownership of the code goes to the developer, in which case should you devise, for example, an app for veterinarions, then the code belongs to you, and not to the vet who constracted you to write it; hence you are free to turn it into a mass-market app (well, that assumes that vets are a mass-market, but you get the point). Such an app, in terms of development cost and potential returns, is vastly smaller than, say, eHealth (that's a Canadian term, and is vaguely equivalent to Medicaid or whatever they call it in USA); basically it means that every medical item on your list is stored in a massive db, including all your X-rays, CT-scans, MRIs, previous phyisicians, etc., and that it is all obtainable by both your current physician and also the Department of Health (that would be provincial not federal; there is no federal Department of Health in Canada; but that in turn causes needless complications: a very popular thing to do in Canada is move from Newfoundland to Alberta, where jobs in the oil industry abound, and transferring your medical records from one province to another is non-trivial. It can be done, but it take time. Since I am not a citizen of the USA and haven't bothered to explore the legalities lurking therein, I have only the Canadian model from which to work. Here, the client must specifically include a clause claiming ownership of the code; failure to do that means that the code belongs to the developer, who may freely sell it numerous times; but to be fair, if it were a hair-salon app, it would be a tad rude to sell it to the hair-salon across the street -- still legal, but rude. I think there are at least a couple of USA lawyers who visit this list, and I would be most interested in their perspective. TIA, Arthur On Fri, Sep 2, 2011 at 2:51 PM, Jim Lawrence wrote: > There are a number of areas, which look very interesting in which to spend > new time. The problem is finding the time. > > First; You will never make many money building one-off products for a > client. Building and marketing a product multiple times is much more cost > effective. > > Second; everything is going web-based, especially if you live and work in > any major urban centers. So it is time to learn everything you can about > HTML5, CSS3 and JavaScript > JQuery, JASON etc. There is so much free code, > information and inexpensive services out on the web that it can be amazing > how fast an application can be hacked together, with little knowledge. > > Third; converting apps to display and run on SmartPhones is a great idea. > There are a host of free or cheap application that will allow you to do > that. In addition, there are a number of great frameworks out there that > can > fit anyone's needs. (They will of course have to be hacked for any complex > or specific designs...I like VS ASP.Net for building boilerplate code). > > Fourth; databases can no longer be just SQL types. The new map-reduce or > NOSQL databases are quickly replacing systems where over a 10 million > pieces > of data that require routine searching. Most of these new databases are > free > or very inexpensive. > > Fifth; backend server technology is also changing as well as the DBs. > Checkout NODE.js...it is incredibly fast and this allows you to leverage > your JavaScript skills. > > Sixth; hosting your or having your client's hosting their own databases may > not be a good idea as cloud hosting is coming into its own. There are deals > like one TB of data for $8.00 a month, including full backups. If you are > up > to it you can build, you own Cloud, as drives are very cheap now. (Example: > 2TB = $89 for an external drive...I just pull them apart and stuff the > drive > into the server. > > There are lots of opportunities out there for programmers, even old codgers > like myself, but the learning curve is real steep though not > expensive...this is something to do for guys that say they have retired. > ;-) > > Seventh; I would recommend do not try to do it all on your own. One fool > working alone is only a third as effective as two such individuals are. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav > Sent: Friday, August 26, 2011 12:26 PM > To: 'accessd-bounces at databaseadvisors.com' > Subject: [AccessD] Freelancing > > Hey Susan > Your article was an eye opener. > I have been producing database applications for over 20 years. No ego being > inferred but I figure I have produced quality products that are 99.9% > bullet proof (many are still in use today). But I feel I am going the way > of > the dinosaur. Since the 2008 recession I have found that most companies no > longer want to spend money to save money (no matter want you do to try and > convince them of such). To be honest, on my end, the market is drying up. I > am kind of looking at leaving ACCESS and starting to develop customized > iPad/iPod (whatever) "Apps" for clients. If that doesn't work then I will > be > buying a "Weenie" wagon and hanging out at the beach. Not a boo hoo > scenario, just reality. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Fri Sep 2 15:56:00 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 13:56:00 -0700 Subject: [AccessD] User Interface In-Reply-To: <004001cc69a5$e0fa1d70$a2ee5850$@comcast.net> References: <000a01cc65dc$abb30b30$03192190$@com.au> <001701cc664e$2381e7a0$6a85b6e0$@gmail.com> <000001cc66a1$04903830$0db0a890$@com.au> <004001cc69a5$e0fa1d70$a2ee5850$@comcast.net> Message-ID: <92B15C80720D41EC93F809509C5BEB81@creativesystemdesigns.com> Good policy. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, September 02, 2011 12:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] User Interface Yes - they know they're right. It's my job to ask enough questions to discover what they really need, and then later show them that they were right! ;-) Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, September 02, 2011 2:23 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] User Interface Users rule. They are always right even when they are wrong. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Monday, August 29, 2011 4:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] User Interface Yes, absolutely! In fact I get annoyed with fellow developers who think user feedback and concerns are a pain. To me their feedback is usually pure gold. Keep them happy and content and you'll keep your job for a long time. I am a big fan of not letting option be available until they are ready to work flawlessly. Why on earth show them an active print button if it is going to fail on print because they are missing some information. For really unskilled users I normally have even made up little tick lists that show where they are in the process and what else they need to complete to finish the task. Yes, it takes a lot more time to put this sort of thing together but it pays very big dividends, especially when you have hundreds of users all over the country and there is no way you can give them all your personal assistance. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, 30 August 2011 1:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] User Interface Here here for the "No False Moves" strategy. The most important thing, IMO, is to make the user feel both powerful and elegant: nothing that should not happen should be permitted to happen. I know from experience that this is a PITA to deliver, but it inevitably is correct: foreclose the options that should not be available in the given context. A silly example, but I hope meaningful -- unless a given OrderID has been selected, then dis-allow the printing of an Invoice. The point here is ultimately, "Make the user feel graceful"; not merely competent, although that is Step One, but Graceful (that is Step Two). I have followed this strategy for about 20 years and it invariably has worked in my favour. In fact, I have learned some things from the users of my apps which I didn't even consider, because I don't actually use my deliverables, but just test them and then deploy them; the people who use them use them frequently, and are quicker than I to detect annoyances. I do listen to them, and I try to deliver smoother avenues on next deployment. I'm not claiming any expertise in this area. My rule of thumb is, Shut Up and Listen. I don't often run the systems I deliver, especially all day long; so I trust my customer-base to tell me what is a PITA and what is nice; then I go back to the drawing board and try to design the PITA out. Sometimes this strategy doesn't work, but most of the time it does. Users Rule; it's not about Referential Integrity or Validation Rules etc., it's about the user-experience, and about getting from Here to There in the fewest possible clicks and keystrokes. That's my design goal, anyway. I don't want the user (God, I hate that word, it reminds me of drug-dealers!) to have the simplest possible path toward creating a new Customer with its ancillary tables, or to update an existing Customer and her Locations, and her Location_Projects. I want all the background stuff to be invisible to the current Customer. This should all happen under smoke-and-mirrors, and then once the scaffold has been laid, everything else should happen automagically On Mon, Aug 29, 2011 at 9:18 AM, William Benson (VBACreations.Com) < vbacreations at gmail.com> wrote: > I think you all write applications for many more users than I do. I > have not written anything for more than about 3 users at a time and > basically they are easily trained. The most important things have been > to get work done in > the fewest number of steps. And no "false moves". On one app I built lately > there are several buttons down the right hand side of each of the main > forms. I can put anything I want in their captions then handle all > button clicks through a test of screen.activeform.name, > screen.activeform.ActiveControl.Name. I ALWAYS use captions, never > images, for just that reason. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl > Collins > Sent: Sunday, August 28, 2011 7:46 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] User Interface > > Hah, that is pretty much what I wanted to say, but as usual, waffled > off topic a fair bit... > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav > Sent: Monday, 29 August 2011 12:36 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] User Interface > > Hey John > In designing a user interface I always try to keep it clean, simple > and intuitive. Always keeping in mind that you are > programming/designing not for the 99.9% but the .1% of the users ( a > friend of mine used to laugh at this > "You spent a lot of time trying to solve the .1% problem", that was > until he worked with me on a project). > > I am always trying to keep in mind when designing, the lowest common > denominator ,my theoretical "computer illiterate user". Meaning I > control what a user can and cannot do. I am always trying to second > guess the user and trying to shut any backdoors they may sneak into and open. > > I like to use single simple forms/single tab forms There is no HELP > (the form should visually flow/display to the user what and how things > need to be done) There are no menus. > The information intuitively flows from top to bottom Where applicable > some information may be highlighted in coloured boxes. I use colour > sparingly as it can tend to make the form look goofy or too busy. > The forms contain all the things, buttons, my navigation bars (when > needed), list boxes, pop ups, etc. necessary to let the user carry out > the activities the form is designed to perform. > Where necesary the form may contain my own (not Access) message boxes > intrusive - ".....Sorry cannot do that..." and nonintrusive - ".... > Are you > sure? Continue Y/N?" > > As most of you have probably done, I will design what I thought was a > pretty cool form, but a week later when I go back to continue my > testing, the form just doesn't seem to flow the way it should (not > intuitive). So I tear apart and rebuild it and start again. > > Nothing new here, just my 2 cents worth. > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Fri Sep 2 15:59:16 2011 From: marksimms at verizon.net (Mark Simms) Date: Fri, 02 Sep 2011 16:59:16 -0400 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome In-Reply-To: References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net><35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins><013c01cc6261$e4237320$ac6a5960$@net><78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> Message-ID: <013f01cc69b3$2dc3c950$894b5bf0$@net> Re: "Been on the same gig for over 2 years..." That's hugely unusual these days. Most large corps have "rules" in place that disallow temp employment past 12 or 18 months. You should be so grateful for this long, long gig....and I am sure any agency that has represented you has given you at least an "atta boy". In the past 3 years I've only been able to get "stinkers".....short term, high pressure, low pay deals. It does appear as if the Indian companies have garnished all of the "Sweet deals". Every 3 months I am re-interviewing by phone and in person, re-profiling my background, updating references, updating resumes, etc. I call this the Sisyphus syndrome: "Camus outlines the legend of Sisyphus who defied the gods and put Death in chains so that no human needed to die. When Death was eventually liberated and it came time for Sisyphus himself to die, he concocted a deceit which let him escape from the underworld. Finally captured, the gods decided on his punishment: for all eternity, he would have to push a rock up a mountain; on the top, the rock rolls down again and Sisyphus has to start over. Camus sees Sisyphus as the absurd hero who lives life to the fullest, hates death and is condemned to a meaningless task." "Camus presents Sisyphus's ceaseless and pointless toil as a metaphor for modern lives spent working at futile jobs in factories and offices. The workman of today works every day in his life at the same tasks, and this fate is no less absurd. But it is tragic only at the rare moments when it becomes conscious." From accessd at shaw.ca Fri Sep 2 16:04:32 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 14:04:32 -0700 Subject: [AccessD] Freelancing In-Reply-To: References: Message-ID: <591283956F204426BE1F3A86038EF3C5@creativesystemdesigns.com> Well, it has a small footprint, limited features, runs on Windows and Linux and is totally written in Java (some computer science major's thesis project). I have only had a very limited information on the product and have heard of no one playing with it; even my most geeky friends. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, September 02, 2011 12:34 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Freelancing How do you guys feel about SmallSQL? Susan H. >I definitely hear you on the NoSQL front, and wish I had enough money to >buy > a few more GBs of RAM to make my elementary tests more real-world, but I > don't, so I can't. The technology remains fascinating, and it makes a ton > more sense than hard disks. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Fri Sep 2 16:06:40 2011 From: marksimms at verizon.net (Mark Simms) Date: Fri, 02 Sep 2011 17:06:40 -0400 Subject: [AccessD] Freelancing-one off In-Reply-To: References: Message-ID: <014001cc69b4$36369bc0$a2a3d340$@net> > First; You will never make many money building one-off products for a > client. Building and marketing a product multiple times is much more > cost effective. Yet this is what has been required of me in all of my "stinkers". I once created an add-in type of product (over 12 years ago) and it was somewhat of a failure until I had one huge, multilicense sale that brought in a huge amount of revenue. Suddenly, it was successful ! This is very similar to what had happened with Richard Branson when he started Virgin Records.... It was failing and then he signed Phil Collins and Boy George.....and in the end, he sold the company for 1 billion !!! From accessd at shaw.ca Fri Sep 2 16:07:42 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 14:07:42 -0700 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: <7AFD83CBFEE14C14A8B4D1B11D47136D@SusanHarkins> References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> <62F88463B3514BCFAC753FB624FDD05A@SusanHarkins> <7AFD83CBFEE14C14A8B4D1B11D47136D@SusanHarkins> Message-ID: <02560AC64F9741DEA3D09DE4D5C4C6D4@creativesystemdesigns.com> There is always your extended staff on the DBA forums. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, September 02, 2011 1:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites (OT Reply) I'm afraid I would get stumped too often to maintain my reputation. :) Susan H. > My goodness you are such a complete source of information. You should have > a > "Ask Susan" blog. ;-) > > Jim > > Since you brought that up... > > ially-bad-clients/1011?tag=content;blog-list-river> > > Nice to hear from you Shamil!! > > Susan H. > >> Therefore additionally to 'must have' constant mastering of software >> development skills and learning by doing the new technologies every >> freelancer should also master the art of selecting (and >> nurturing/cultivating) "good" customers and ignoring the "bad" ones... >> >> Thank you. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Fri Sep 2 16:08:06 2011 From: marksimms at verizon.net (Mark Simms) Date: Fri, 02 Sep 2011 17:08:06 -0400 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> Message-ID: <014101cc69b4$69a67c50$3cf374f0$@net> Wise beyond belief. > A critical skill in the freelancing world is learning how to fire > customers. > The moment they become a PITA is the time to fire them. This includes > outrageous demands (can't you just make it do this too, for free?) From ssharkins at gmail.com Fri Sep 2 16:12:14 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 17:12:14 -0400 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net><35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins><013c01cc6261$e4237320$ac6a5960$@net><78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> <013f01cc69b3$2dc3c950$894b5bf0$@net> Message-ID: <3F99AAEAA574487A8F3A75D63D35F01A@SusanHarkins> That's been forced by the feds. I just went through a long and rather intimidating "qualifying" process for one of my clients -- at the time I only had 2 and the majority of my time/income was with them. That was a problem for them because they don't want the feds denying my contractor status. Ugly business... I wish the feds would stay out of my business. :( I was just furious, but it was necessary. It use to be so easy. :( In the end, it wasn't a problem, but it was uncomfortable for me. They asked questions that were none of their business and I didn't answer. It all worked out, but geez Louise. :( Susan H. > Re: "Been on the same gig for over 2 years..." > > That's hugely unusual these days. Most large corps have "rules" in place > that disallow temp employment past 12 or 18 months. > From ssharkins at gmail.com Fri Sep 2 16:15:33 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 17:15:33 -0400 Subject: [AccessD] Freelancing References: <591283956F204426BE1F3A86038EF3C5@creativesystemdesigns.com> Message-ID: <86C16B2C7EE948FB942A29A5E0E78978@SusanHarkins> I'm more interested in SQLLite really and would love to learn it. Anyone using it to create mobile apps? It's the topic of the day right now. Susan H. > Well, it has a small footprint, limited features, runs on Windows and > Linux > and is totally written in Java (some computer science major's thesis > project). I have only had a very limited information on the product and > have > heard of no one playing with it; even my most geeky friends. > > Jim > > How do you guys feel about SmallSQL? > > Susan H. > > >>I definitely hear you on the NoSQL front, and wish I had enough money to >>buy >> a few more GBs of RAM to make my elementary tests more real-world, but I >> don't, so I can't. The technology remains fascinating, and it makes a ton >> more sense than hard disks. From ssharkins at gmail.com Fri Sep 2 16:17:01 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 17:17:01 -0400 Subject: [AccessD] freelancing job sites (OT Reply) References: <00d901cc6104$e48b4e40$ada1eac0$@net><4E52BED3.9080600@colbyconsulting.com><2BB94FDF62ED42B194C1CC6F12061C3D@nant><62F88463B3514BCFAC753FB624FDD05A@SusanHarkins><7AFD83CBFEE14C14A8B4D1B11D47136D@SusanHarkins> <02560AC64F9741DEA3D09DE4D5C4C6D4@creativesystemdesigns.com> Message-ID: Well, I do often ask for help, don't I? ;) The honest truth is this: I often have a hard time understanding exactly what the problem is. I'm seldom sure if it's because I have no experience with the topic or if they just don't know how to ask questions. I think it's a mixture of both. :) Susan H. > There is always your extended staff on the DBA forums. ;-) > > Jim > > > I'm afraid I would get stumped too often to maintain my reputation. :) > > Susan H. > > >> My goodness you are such a complete source of information. You should >> have > >> a >> "Ask Susan" blog. ;-) >> >> Jim >> >> Since you brought that up... >> >> > > ially-bad-clients/1011?tag=content;blog-list-river> >> >> Nice to hear from you Shamil!! >> >> Susan H. >> >>> Therefore additionally to 'must have' constant mastering of software >>> development skills and learning by doing the new technologies every >>> freelancer should also master the art of selecting (and >>> nurturing/cultivating) "good" customers and ignoring the "bad" ones... >>> >>> Thank you. >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/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 Fri Sep 2 16:15:13 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 14:15:13 -0700 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome In-Reply-To: <013f01cc69b3$2dc3c950$894b5bf0$@net> References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net> <35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> <013c01cc6261$e4237320$ac6a5960$@net> <78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> <013f01cc69b3$2dc3c950$894b5bf0$@net> Message-ID: My goodness that observation is even negative for me. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Friday, September 02, 2011 1:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] freelancing job sites-Sisyphus Syndrome Re: "Been on the same gig for over 2 years..." That's hugely unusual these days. Most large corps have "rules" in place that disallow temp employment past 12 or 18 months. You should be so grateful for this long, long gig....and I am sure any agency that has represented you has given you at least an "atta boy". In the past 3 years I've only been able to get "stinkers".....short term, high pressure, low pay deals. It does appear as if the Indian companies have garnished all of the "Sweet deals". Every 3 months I am re-interviewing by phone and in person, re-profiling my background, updating references, updating resumes, etc. I call this the Sisyphus syndrome: "Camus outlines the legend of Sisyphus who defied the gods and put Death in chains so that no human needed to die. When Death was eventually liberated and it came time for Sisyphus himself to die, he concocted a deceit which let him escape from the underworld. Finally captured, the gods decided on his punishment: for all eternity, he would have to push a rock up a mountain; on the top, the rock rolls down again and Sisyphus has to start over. Camus sees Sisyphus as the absurd hero who lives life to the fullest, hates death and is condemned to a meaningless task." "Camus presents Sisyphus's ceaseless and pointless toil as a metaphor for modern lives spent working at futile jobs in factories and offices. The workman of today works every day in his life at the same tasks, and this fate is no less absurd. But it is tragic only at the rare moments when it becomes conscious." -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 2 16:19:57 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 14:19:57 -0700 Subject: [AccessD] Freelancing-one off In-Reply-To: <014001cc69b4$36369bc0$a2a3d340$@net> References: <014001cc69b4$36369bc0$a2a3d340$@net> Message-ID: <374770BA6B3B4C938F3CDC903991CA04@creativesystemdesigns.com> Definitely. We can never tell what is going to be the next break through product. ;-) I had one excellent seller a few years ago...unfortunately, that market dried up. I have been working on another such product and who know?! Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Friday, September 02, 2011 2:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Freelancing-one off > First; You will never make many money building one-off products for a > client. Building and marketing a product multiple times is much more > cost effective. Yet this is what has been required of me in all of my "stinkers". I once created an add-in type of product (over 12 years ago) and it was somewhat of a failure until I had one huge, multilicense sale that brought in a huge amount of revenue. Suddenly, it was successful ! This is very similar to what had happened with Richard Branson when he started Virgin Records.... It was failing and then he signed Phil Collins and Boy George.....and in the end, he sold the company for 1 billion !!! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 2 16:26:15 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 14:26:15 -0700 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome In-Reply-To: <3F99AAEAA574487A8F3A75D63D35F01A@SusanHarkins> References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net> <35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> <013c01cc6261$e4237320$ac6a5960$@net> <78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> <013f01cc69b3$2dc3c950$894b5bf0$@net> <3F99AAEAA574487A8F3A75D63D35F01A@SusanHarkins> Message-ID: We have been having the same issues around here for years. The government wants to make sure that you are not working as a full-time employee for someone but only registering as a contractor. That method of circumnavigating taxes became common until the government stepped in. It is death and taxes...your death, their taxes. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, September 02, 2011 2:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites-Sisyphus Syndrome That's been forced by the feds. I just went through a long and rather intimidating "qualifying" process for one of my clients -- at the time I only had 2 and the majority of my time/income was with them. That was a problem for them because they don't want the feds denying my contractor status. Ugly business... I wish the feds would stay out of my business. :( I was just furious, but it was necessary. It use to be so easy. :( In the end, it wasn't a problem, but it was uncomfortable for me. They asked questions that were none of their business and I didn't answer. It all worked out, but geez Louise. :( Susan H. > Re: "Been on the same gig for over 2 years..." > > That's hugely unusual these days. Most large corps have "rules" in place > that disallow temp employment past 12 or 18 months. > -- 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 Sep 2 16:27:49 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 2 Sep 2011 17:27:49 -0400 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> <62F88463B3514BCFAC753FB624FDD05A@SusanHarkins> <7AFD83CBFEE14C14A8B4D1B11D47136D@SusanHarkins> <02560AC64F9741DEA3D09DE4D5C4C6D4@creativesystemdesigns.com> Message-ID: As Homer Simpson (I think) said, there are no stupid questions, just stupid users :) A. On Fri, Sep 2, 2011 at 5:17 PM, Susan Harkins wrote: > Well, I do often ask for help, don't I? ;) > > The honest truth is this: I often have a hard time understanding exactly > what the problem is. I'm seldom sure if it's because I have no experience > with the topic or if they just don't know how to ask questions. I think it's > a mixture of both. :) > > Susan H. > From vbacreations at gmail.com Fri Sep 2 16:33:05 2011 From: vbacreations at gmail.com (William Benson) Date: Fri, 2 Sep 2011 17:33:05 -0400 Subject: [AccessD] Freelancing-one off In-Reply-To: <014001cc69b4$36369bc0$a2a3d340$@net> References: <014001cc69b4$36369bc0$a2a3d340$@net> Message-ID: I have a product now that is one of those one hit wonders (excel adding). It's just difficult to decide whether to sell it to individuals or Microsoft. If the latter then I have to invest in protective patents which may not be possible. Well I can dream ... On Sep 2, 2011 5:07 PM, "Mark Simms" wrote: >> First; You will never make many money building one-off products for a >> client. Building and marketing a product multiple times is much more >> cost effective. > > Yet this is what has been required of me in all of my "stinkers". > > I once created an add-in type of product (over 12 years ago) and it was > somewhat of a failure > until I had one huge, multilicense sale that brought in a huge amount of > revenue. Suddenly, it was successful ! > This is very similar to what had happened with Richard Branson when he > started Virgin Records.... > It was failing and then he signed Phil Collins and Boy George.....and in the > end, he sold the company for > 1 billion !!! > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From ssharkins at gmail.com Fri Sep 2 16:36:59 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 17:36:59 -0400 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net><35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins><013c01cc6261$e4237320$ac6a5960$@net><78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins><013f01cc69b3$2dc3c950$894b5bf0$@net><3F99AAEAA574487A8F3A75D63D35F01A@SusanHarkins> Message-ID: <0682C918B7F843E5BDF101A3CCAF475A@SusanHarkins> > We have been having the same issues around here for years. The government > wants to make sure that you are not working as a full-time employee for > someone but only registering as a contractor. > > That method of circumnavigating taxes became common until the government > stepped in. It is death and taxes...your death, their taxes. =======Circumvent crap... I pay more taxes as a contractor than I would as a traditional employee. Susan H. From accessd at shaw.ca Fri Sep 2 16:51:25 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 14:51:25 -0700 Subject: [AccessD] Freelancing In-Reply-To: <86C16B2C7EE948FB942A29A5E0E78978@SusanHarkins> References: <591283956F204426BE1F3A86038EF3C5@creativesystemdesigns.com> <86C16B2C7EE948FB942A29A5E0E78978@SusanHarkins> Message-ID: <144225DA5D5B4F6BB5CEC2B89B416ABD@creativesystemdesigns.com> Here are two free and cheap applications for building great little mobile apps: phonegap (http://www.phonegap.com/start/) and sencha touch (http://www.sencha.com/products/touch/)...check them out...intuitive and a full GUI. Phonegap definitely supports HTML5 local storage and treats it in a database using sqlite. Check the following examples out: http://docs.phonegap.com/phonegap_storage_storage.md.html If you need to access external data use Ajax/rest for communication and push for inbound notifications. My brilliance, on the subject is due to the fact that my son-in-law is working on app phone projects as we speak...so I can take none of the credit. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, September 02, 2011 2:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Freelancing I'm more interested in SQLLite really and would love to learn it. Anyone using it to create mobile apps? It's the topic of the day right now. Susan H. > Well, it has a small footprint, limited features, runs on Windows and > Linux > and is totally written in Java (some computer science major's thesis > project). I have only had a very limited information on the product and > have > heard of no one playing with it; even my most geeky friends. > > Jim > > How do you guys feel about SmallSQL? > > Susan H. > > >>I definitely hear you on the NoSQL front, and wish I had enough money to >>buy >> a few more GBs of RAM to make my elementary tests more real-world, but I >> don't, so I can't. The technology remains fascinating, and it makes a ton >> more sense than hard disks. -- 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 Sep 2 16:55:19 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 03 Sep 2011 07:55:19 +1000 Subject: [AccessD] Freelancing In-Reply-To: <86C16B2C7EE948FB942A29A5E0E78978@SusanHarkins> References: , <86C16B2C7EE948FB942A29A5E0E78978@SusanHarkins> Message-ID: <4E6150C7.2713.131095EC@stuart.lexacorp.com.pg> I don't use it for mobile apps, but it is very easy to use with PowerBasic. A nice Firefox plugin for managing SQLite databases: http://code.google.com/p/sqlite-manager/ -- Stuart On 2 Sep 2011 at 17:15, Susan Harkins wrote: > I'm more interested in SQLLite really and would love to learn it. > Anyone using it to create mobile apps? It's the topic of the day right > now. > > Susan H. > > > > Well, it has a small footprint, limited features, runs on Windows > > and Linux and is totally written in Java (some computer science > > major's thesis project). I have only had a very limited information > > on the product and have heard of no one playing with it; even my > > most geeky friends. > > > > Jim > > > > How do you guys feel about SmallSQL? > > > > Susan H. > > > > > >>I definitely hear you on the NoSQL front, and wish I had enough > >>money to buy > >> a few more GBs of RAM to make my elementary tests more real-world, > >> but I don't, so I can't. The technology remains fascinating, and it > >> makes a ton more sense than hard disks. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Fri Sep 2 17:10:44 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 15:10:44 -0700 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome In-Reply-To: <0682C918B7F843E5BDF101A3CCAF475A@SusanHarkins> References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net> <35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> <013c01cc6261$e4237320$ac6a5960$@net> <78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> <013f01cc69b3$2dc3c950$894b5bf0$@net> <3F99AAEAA574487A8F3A75D63D35F01A@SusanHarkins> <0682C918B7F843E5BDF101A3CCAF475A@SusanHarkins> Message-ID: <20219FED288E4CBB9E227495FBFFE83E@creativesystemdesigns.com> The government officials in your region must be a bunch of thieves. As a contractor one of my main benefits is, I can write off virtually everything as a business expense right off the taxable income. Clothes (bunny slippers with pink eyes and ears), computer products, some lunches, car expenses, training courses, internet connectivity, cell and phone charges and even one fifth of the house maintenance and associated utilities. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, September 02, 2011 2:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites-Sisyphus Syndrome > We have been having the same issues around here for years. The government > wants to make sure that you are not working as a full-time employee for > someone but only registering as a contractor. > > That method of circumnavigating taxes became common until the government > stepped in. It is death and taxes...your death, their taxes. =======Circumvent crap... I pay more taxes as a contractor than I would as a traditional employee. 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 Fri Sep 2 17:21:37 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 18:21:37 -0400 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net><35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins><013c01cc6261$e4237320$ac6a5960$@net><78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins><013f01cc69b3$2dc3c950$894b5bf0$@net><3F99AAEAA574487A8F3A75D63D35F01A@SusanHarkins><0682C918B7F843E5BDF101A3CCAF475A@SusanHarkins> <20219FED288E4CBB9E227495FBFFE83E@creativesystemdesigns.com> Message-ID: <12858A421D24419D865827E3B2170999@SusanHarkins> I can deduct business-related costs. The house deduction is limited the amount of space I actually use... um... it's all in one room, but it's better than nothing. I do take the deduction, but in the end, none of it saves me very much, but I'll take what I can get. Susan H. > The government officials in your region must be a bunch of thieves. > > As a contractor one of my main benefits is, I can write off virtually > everything as a business expense right off the taxable income. Clothes > (bunny slippers with pink eyes and ears), computer products, some lunches, > car expenses, training courses, internet connectivity, cell and phone > charges and even one fifth of the house maintenance and associated > utilities. From shamil at smsconsulting.spb.ru Fri Sep 2 17:26:20 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 3 Sep 2011 02:26:20 +0400 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: <8D44FC3DF663451D800CEAEDA46ED092@creativesystemdesigns.com> References: <00d901cc6104$e48b4e40$ada1eac0$@net><4E52BED3.9080600@colbyconsulting.com><2BB94FDF62ED42B194C1CC6F12061C3D@nant> <8D44FC3DF663451D800CEAEDA46ED092@creativesystemdesigns.com> Message-ID: <8DB3E9E8C98F46ECB1BB2B6DD7D6EB98@nant> Hi Jim -- <<< Most new younger client's want instant gratification, absolute perfection and it all done very cheap he choices are; Good, Fast and cheap; pick any two >>> I suppose it will never work well that way for custom software development - "there is no free cheese..." And there will always be demand for custom software development not just customizing "off-the-shelf" solutions. Yes, HTML5/CSS3 + JavaScript are in my "mastering" list... Thank you. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: 3 ???????? 2011 ?. 0:43 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] freelancing job sites (OT Reply) Hi Shamil: With my old time clients any new technology has to be careful implemented...they do not like new especially if it looks too different. The slow refinement method works best. ;-) I have been quietly moving my clients to the web/SQL and as long as I have been able to emulate the old forms in design, layout and features they are very happy. Most new younger client's want instant gratification, absolute perfection and it all done very cheap. The choices are; Good, Fast and cheap; pick any two. I like to modularize applications so a project can be allowed to evolve over a length of time with lots of user assistance. A long-term 'insurance and incremental development' policy is the goal of course. I try to never 're-invent the wheel'. I use existing apps and technology as long as it makes my job easier and moves the project ahead. Some clients are 'early adopters', they really like any technology that is new and shiny, and they tend to be the ones willing and capable of paying for the learning curve. The only thing is that, I may end up supporting a technology that fades fast. MS Silverlight comes to mind as it has been superseded by the industry standards of HTML5 as even Adobe is abandoning their Flash product in favour of the standard: www.adobe.com/EdgePreview (HTML5/CSS3 web builder) I agree that it is good to know when to divorce a customer or never become acquainted. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, September 02, 2011 11:22 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] freelancing job sites (OT Reply) Hi Jim -- I guess your clients do have got developed strong business thanks to your good software development work for them - that seems to be the key point for a freelancing carrier success. Although there exist so many "prospect customers" who are trying to "save a penny" by burning out freelancers. Therefore additionally to 'must have' constant mastering of software development skills and learning by doing the new technologies every freelancer should also master the art of selecting (and nurturing/cultivating) "good" customers and ignoring the "bad" ones... Thank you. -- Shamil From accessd at shaw.ca Fri Sep 2 18:06:36 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 16:06:36 -0700 Subject: [AccessD] Freelancing In-Reply-To: <86C16B2C7EE948FB942A29A5E0E78978@SusanHarkins> References: <591283956F204426BE1F3A86038EF3C5@creativesystemdesigns.com> <86C16B2C7EE948FB942A29A5E0E78978@SusanHarkins> Message-ID: PS There is even a JQuery product coming out soon but the current beta version is not ready for prime time. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, September 02, 2011 2:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Freelancing I'm more interested in SQLLite really and would love to learn it. Anyone using it to create mobile apps? It's the topic of the day right now. Susan H. > Well, it has a small footprint, limited features, runs on Windows and > Linux > and is totally written in Java (some computer science major's thesis > project). I have only had a very limited information on the product and > have > heard of no one playing with it; even my most geeky friends. > > Jim > > How do you guys feel about SmallSQL? > > Susan H. > > >>I definitely hear you on the NoSQL front, and wish I had enough money to >>buy >> a few more GBs of RAM to make my elementary tests more real-world, but I >> don't, so I can't. The technology remains fascinating, and it makes a ton >> more sense than hard disks. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Sat Sep 3 09:16:40 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 03 Sep 2011 10:16:40 -0400 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome In-Reply-To: References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net> <35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> <013c01cc6261$e4237320$ac6a5960$@net> <78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> <013f01cc69b3$2dc3c950$894b5bf0$@net> <3F99AAEAA574487A8F3A75D63D35F01A@SusanHarkins> Message-ID: <000501cc6a44$1a0ad660$4e208320$@net> > We have been having the same issues around here for years. The > government > wants to make sure that you are not working as a full-time employee for > someone but only registering as a contractor. What this "rule" did was to give complete and utter control to the AGENCIES that one is now forced to go thru unless you can afford a marketing department to go "direct". Agencies continue to flourish....now that's a great business to be in. They've been successful despite the Indianization of the IT consulting business in the USA. Most of them have at least a 50% of their billable consultants as foreigners....I garnished this from my last Fortune 500 companies Activedirectory which listed all contractors and agencies. Lastly, many large companies treat their favored agency reps like "rock stars" as if THEY really make a big contribution to that company when in fact, it's the CONSULTANT who makes the contribution, but never sees the accolades. At my last gig, I never saw my agent....in fact he didn't spend any effort at all getting to know me or anything. For 6 months effort, his agency pulled in about $20,000.......barely having to raise a finger. From marksimms at verizon.net Sat Sep 3 09:23:14 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 03 Sep 2011 10:23:14 -0400 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome In-Reply-To: <0682C918B7F843E5BDF101A3CCAF475A@SusanHarkins> References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net><35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins><013c01cc6261$e4237320$ac6a5960$@net><78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins><013f01cc69b3$2dc3c950$894b5bf0$@net><3F99AAEAA574487A8F3A75D63D35F01A@SusanHarkins> <0682C918B7F843E5BDF101A3CCAF475A@SusanHarkins> Message-ID: <004a01cc6a45$053133a0$0f939ae0$@net> > =======Circumvent crap... I pay more taxes as a contractor than I would > as a > traditional employee. Exactly. Self employment tax IS terrible. This is a perfect example of the government taking action via legislation and not considering all of the consequences....and even worse, never making any amendments to that terrible law after-the-fact. This could partially explain our country's dire condition right now. From marksimms at verizon.net Sat Sep 3 09:26:11 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 03 Sep 2011 10:26:11 -0400 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome In-Reply-To: <20219FED288E4CBB9E227495FBFFE83E@creativesystemdesigns.com> References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net> <35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> <013c01cc6261$e4237320$ac6a5960$@net> <78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> <013f01cc69b3$2dc3c950$894b5bf0$@net> <3F99AAEAA574487A8F3A75D63D35F01A@SusanHarkins> <0682C918B7F843E5BDF101A3CCAF475A@SusanHarkins> <20219FED288E4CBB9E227495FBFFE83E@creativesystemdesigns.com> Message-ID: <004b01cc6a45$6e51e410$4af5ac30$@net> > As a contractor one of my main benefits is, I can write off virtually > everything as a business expense right off the taxable income. Clothes > (bunny slippers with pink eyes and ears), computer products, some > lunches, car expenses, training courses, internet connectivity, cell and phone > charges and even one fifth of the house maintenance and associated > utilities. Yes Jim, this does help.... but the real thieves are the AGENCIES.....whom I have to effectively write a check to for nearly 30% of the client billables. Strangely, there are no "discount" agencies....I wonder why ? From accessd at shaw.ca Sat Sep 3 12:01:12 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 3 Sep 2011 10:01:12 -0700 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome In-Reply-To: <004b01cc6a45$6e51e410$4af5ac30$@net> References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net> <35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> <013c01cc6261$e4237320$ac6a5960$@net> <78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> <013f01cc69b3$2dc3c950$894b5bf0$@net> <3F99AAEAA574487A8F3A75D63D35F01A@SusanHarkins> <0682C918B7F843E5BDF101A3CCAF475A@SusanHarkins> <20219FED288E4CBB9E227495FBFFE83E@creativesystemdesigns.com> <004b01cc6a45$6e51e410$4af5ac30$@net> Message-ID: <1A9165FE2CA147ACBF4D3C4D2BCA8BF8@creativesystemdesigns.com> Hi Mark: " Strangely, there are no "discount" agencies....I wonder why ? " Can you say m-o-n-o-p-o-l-y? A lot of the problem is because there is not a group that stands for the actual IT workers. There is no union, association, agency or guild that works for the people that actually do the work. All lawyers, doctors and architects belong to an association even most restaurant workers. Even Ronald Regan was the president of the actor's guild before the white house. If the IT worker is going to stubbornly hold on to their "individual" status there will always be many people willing to play one off against the other and in the end few if any IT person will make any money. The question is why should a person get a university degree only to be paid the same as the senior fry-guy at McDonalds? Enough said on this subject as we have an OT list for such philosophizing. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Saturday, September 03, 2011 7:26 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] freelancing job sites-Sisyphus Syndrome > As a contractor one of my main benefits is, I can write off virtually > everything as a business expense right off the taxable income. Clothes > (bunny slippers with pink eyes and ears), computer products, some > lunches, car expenses, training courses, internet connectivity, cell and phone > charges and even one fifth of the house maintenance and associated > utilities. Yes Jim, this does help.... but the real thieves are the AGENCIES.....whom I have to effectively write a check to for nearly 30% of the client billables. Strangely, there are no "discount" agencies....I wonder why ? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Sep 3 12:09:12 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 03 Sep 2011 13:09:12 -0400 Subject: [AccessD] Passing ParamArrays down the line Message-ID: <4E625F38.1060601@colbyconsulting.com> I use param arrays to allow me to pass in things like group ids that a user might belong to. The following fails: Function mPLSUserInGroup(ParamArray Grps() As Variant) As Boolean mPLSUserInGroup = cPLS.cCurrUser.pUserInGrp(Grps) End Function However the following works: Function mPLSUserInGroup(ParamArray Grps() As Variant) As Boolean Dim lGrps() As Variant lGrps = Grps mPLSUserInGroup = cPLS.cCurrUser.pUserInGrp(lGrps) End Function Thus in order to push a paramarray into another function we just need to dim an array, set it equal to the paramarray and then push that array on down. Pretty strange that a ParamArray cannot be directly passed along. -- John W. Colby www.ColbyConsulting.com From tinanfields at torchlake.com Sat Sep 3 17:36:53 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 03 Sep 2011 18:36:53 -0400 Subject: [AccessD] Combo retains last selection Message-ID: <4E62AC05.60505@torchlake.com> Hi, I have a form with an unbound combo-box, that I use for opening a form to the record associated with the selection I made in the combo-box. Okay, that works fine. But, when I come back to the form, the last selection still appears in the text box of the combo. I would like it to be blank as it was when I first opened the form. What do I need to do? Thanks, T -- Tina Norris Fields tinanfields at torchlake.com 231-322-2787 From stuart at lexacorp.com.pg Sat Sep 3 17:52:45 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 04 Sep 2011 08:52:45 +1000 Subject: [AccessD] Combo retains last selection In-Reply-To: <4E62AC05.60505@torchlake.com> References: <4E62AC05.60505@torchlake.com> Message-ID: <4E62AFBD.13378.186B8D02@stuart.lexacorp.com.pg> Set cboSelector = Null at an appropriate place (in the event that opens the form after getting the combo's value?" -- Stuart On 3 Sep 2011 at 18:36, Tina Norris Fields wrote: > Hi, > > I have a form with an unbound combo-box, that I use for opening a form > to the record associated with the selection I made in the combo-box. > Okay, that works fine. But, when I come back to the form, the last > selection still appears in the text box of the combo. I would like it > to be blank as it was when I first opened the form. What do I need to > do? > > Thanks, > T > > -- > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > -- > 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 Sep 3 17:54:07 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 3 Sep 2011 18:54:07 -0400 Subject: [AccessD] Combo retains last selection In-Reply-To: <4E62AC05.60505@torchlake.com> References: <4E62AC05.60505@torchlake.com> Message-ID: Set its value to null when you return to (activate) the form. On Sat, Sep 3, 2011 at 6:36 PM, Tina Norris Fields < tinanfields at torchlake.com> wrote: > Hi, > > I have a form with an unbound combo-box, that I use for opening a form to > the record associated with the selection I made in the combo-box. Okay, > that works fine. But, when I come back to the form, the last selection > still appears in the text box of the combo. I would like it to be blank as > it was when I first opened the form. What do I need to do? > > Thanks, > T > > -- > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > From tinanfields at torchlake.com Sat Sep 3 18:54:40 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 03 Sep 2011 19:54:40 -0400 Subject: [AccessD] Combo retains last selection In-Reply-To: References: <4E62AC05.60505@torchlake.com> Message-ID: <4E62BE40.60601@torchlake.com> Arthur, Stuart, Of course! Thank you for waking up my brain! T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 9/3/2011 6:54 PM, Arthur Fuller wrote: > Set its value to null when you return to (activate) the form. > > On Sat, Sep 3, 2011 at 6:36 PM, Tina Norris Fields< > tinanfields at torchlake.com> wrote: > >> Hi, >> >> I have a form with an unbound combo-box, that I use for opening a form to >> the record associated with the selection I made in the combo-box. Okay, >> that works fine. But, when I come back to the form, the last selection >> still appears in the text box of the combo. I would like it to be blank as >> it was when I first opened the form. What do I need to do? >> >> Thanks, >> T >> >> -- >> Tina Norris Fields >> tinanfields at torchlake.com >> 231-322-2787 >> >> -- >> 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 Sep 3 23:06:38 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sat, 3 Sep 2011 21:06:38 -0700 Subject: [AccessD] Passing ParamArrays down the line In-Reply-To: <4E625F38.1060601@colbyconsulting.com> References: <4E625F38.1060601@colbyconsulting.com> Message-ID: It's been that way as long as there have been paramarrays, John. It may be odd, but it's familiar odd. Charlotte Foust Charlotte On Sep 3, 2011 10:10 AM, "jwcolby" wrote: > I use param arrays to allow me to pass in things like group ids that a user might belong to. The > following fails: > > Function mPLSUserInGroup(ParamArray Grps() As Variant) As Boolean > mPLSUserInGroup = cPLS.cCurrUser.pUserInGrp(Grps) > End Function > > However the following works: > > Function mPLSUserInGroup(ParamArray Grps() As Variant) As Boolean > Dim lGrps() As Variant > lGrps = Grps > mPLSUserInGroup = cPLS.cCurrUser.pUserInGrp(lGrps) > End Function > > Thus in order to push a paramarray into another function we just need to dim an array, set it equal > to the paramarray and then push that array on down. > > Pretty strange that a ParamArray cannot be directly passed along. > > -- > John W. Colby > www.ColbyConsulting.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 Sep 4 08:51:25 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 04 Sep 2011 15:51:25 +0200 Subject: [AccessD] User interface Message-ID: Hi Arthur and Jim Really? I find GMail to represent an horror example of bad (or lacking) design - with a mess of colours, buttons and pop-ups everywhere, yellow and green bars, boring fonts. No style. Contrary to this, the redesigned live.com (hotmail etc.) is a good example on how very similar pages can appear much lighter and neater by use of a simple tricks like careful colouring and shading, stylish fonts, and just a few frames (with right-angled corners; round corners should be forbidden by law!). Currently Microsoft is way ahead of anyone else regarding design with Windows Phone 7 and now Windows 8 as the stellar examples of the Metro project. Even the ribbon has proved right for me as I'm now able to use PowerPoint which I previously stayed off. Now it is even fun! That tells it all. The interesting and encouraging part is, that this is the result of hard work by several teams of very skilled and brave persons, not just some fancy ideas. They are being bashed from many sides which - could one believe - want Windows 3.11 and Word 2.0 back. MS management deserves credit for having promoted design to have top priority. /gustav >>> fuller.artful at gmail.com 02-09-2011 21:28:01 >>> I think of Google as the UI par excellence. Lean and clean and decidedly not noisy. I admire their design sense immensely. A. From charlotte.foust at gmail.com Sun Sep 4 13:29:14 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sun, 4 Sep 2011 11:29:14 -0700 Subject: [AccessD] User interface In-Reply-To: References: Message-ID: I have to say that I agree about Google's interfaces. I always use the simplest one they offer, but I don't really like any of them. That said, I'm not thrilled with the live.com either, although it's far easier to retrieve other email accounts from it than from Google. Charlotte Foust On Sun, Sep 4, 2011 at 6:51 AM, Gustav Brock wrote: > Hi Arthur and Jim > > Really? I find GMail to represent an horror example of bad (or lacking) > design - with a mess of colours, buttons and pop-ups everywhere, yellow and > green bars, boring fonts. No style. > Contrary to this, the redesigned live.com > > (hotmail etc.) is a good example on how very similar pages can appear much > lighter and neater by use of a simple tricks like careful colouring and > shading, stylish fonts, and just a few frames (with right-angled corners; > round corners should be forbidden by law!). > > Currently Microsoft is way ahead of anyone else regarding design with > Windows Phone 7 and now Windows 8 as the stellar examples of the Metro > project. Even the ribbon has proved right for me as I'm now able to use > PowerPoint which I previously stayed off. Now it is even fun! That tells it > all. > > The interesting and encouraging part is, that this is the result of hard > work by several teams of very skilled and brave persons, not just some fancy > ideas. They are being bashed from many sides which - could one believe - > want Windows 3.11 and Word 2.0 back. MS management deserves credit for > having promoted design to have top priority. > > /gustav > > > >>> fuller.artful at gmail.com 02-09-2011 21:28:01 >>> > I think of Google as the UI par excellence. Lean and clean and decidedly > not noisy. I admire their design sense immensely. > > A. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From accessd at shaw.ca Sun Sep 4 13:47:03 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 4 Sep 2011 11:47:03 -0700 Subject: [AccessD] User interface In-Reply-To: References: Message-ID: <0E04E1A006F743CD9CB3F2880659B2F7@creativesystemdesigns.com> I like the Windows Small phone design. It is a lot cleaner that I would have suspected. I am also am very familiar with the Windows so I would hardly be a person to be predisposed to make an objective or negative opinion. OTOH, design and layout of an application is as important as the design and development of the code. The average user just does not care what is under-the-hood. Pretty is always most important...think no further than our obsession with models. Most of my work is with web sites and there are always very basic rules...like everything must read from top-left to bottom-right. (European standard) Most sites work with the two or three-column design...all have headers and footers. After that, there are many more abstract and fresh layouts. When surfing, everyone knows when they have landed on a corporate or a geek or a store or an application site. It is all about the layout. Companies like MS, Apple, Google and even Linux have spent as much money on their product UI designs as on the coding. In the Linux world there are two schools of design, the Gnome (apple like) and KDE (windows like) interfaces. In recent years a great deal of study has gone into just how people logically (intuitively) think. The Apple type layouts assume people think in specific logical patterns and clutter just confuses. Less is best. Single forms but more effort is placed on transitions, showing depth and graphics. Windows type layouts have everything of an application shown...if there are 50 choices there are 50 buttons. There are no transitions as a feature is either off or on, there are no rounded curves and there are no shadows. Everything runs from a single desktop. It is so personal as to which interface is more intuitional but the current trends are towards the "Apple/Gnome" like interfaces...of course that trend or fashion could change. For me, it is what ever the user wants. Right now Gnome UI is running two to one, in popularity and finally the new Windows phone interface is very lean, similar but different (more block layout) to the Gnome uncluttered interface. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, September 04, 2011 6:51 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] User interface Hi Arthur and Jim Really? I find GMail to represent an horror example of bad (or lacking) design - with a mess of colours, buttons and pop-ups everywhere, yellow and green bars, boring fonts. No style. Contrary to this, the redesigned live.com (hotmail etc.) is a good example on how very similar pages can appear much lighter and neater by use of a simple tricks like careful colouring and shading, stylish fonts, and just a few frames (with right-angled corners; round corners should be forbidden by law!). Currently Microsoft is way ahead of anyone else regarding design with Windows Phone 7 and now Windows 8 as the stellar examples of the Metro project. Even the ribbon has proved right for me as I'm now able to use PowerPoint which I previously stayed off. Now it is even fun! That tells it all. The interesting and encouraging part is, that this is the result of hard work by several teams of very skilled and brave persons, not just some fancy ideas. They are being bashed from many sides which - could one believe - want Windows 3.11 and Word 2.0 back. MS management deserves credit for having promoted design to have top priority. /gustav >>> fuller.artful at gmail.com 02-09-2011 21:28:01 >>> I think of Google as the UI par excellence. Lean and clean and decidedly not noisy. I admire their design sense immensely. 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 Sep 4 14:03:16 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sun, 4 Sep 2011 12:03:16 -0700 Subject: [AccessD] User interface In-Reply-To: <0E04E1A006F743CD9CB3F2880659B2F7@creativesystemdesigns.com> References: <0E04E1A006F743CD9CB3F2880659B2F7@creativesystemdesigns.com> Message-ID: I've always hated the apple UI. It was never intuitive to me, so I'm in the minority who prefers the alternative, whether on the PC or on a phone. As far as pretty being important, I think elegant is ahead of that, or maybe we're using different words for the same thing. I don't want to be awestruck by the beauty of the UI, merely at home with it and comfortable finding what I need without being offended by the look (think, some of the Windows themes!). The traditional Windows UI didn't focus on rounded corners, but they're everywhere in the last few versions of Visual Studio and Windows, and in fact, the messageboxes, various window edges, and so forth have had rounded corners for a long time. Charlotte Foust On Sun, Sep 4, 2011 at 11:47 AM, Jim Lawrence wrote: > I like the Windows Small phone design. It is a lot cleaner that I would > have > suspected. I am also am very familiar with the Windows so I would hardly be > a person to be predisposed to make an objective or negative opinion. > > OTOH, design and layout of an application is as important as the design and > development of the code. The average user just does not care what is > under-the-hood. Pretty is always most important...think no further than our > obsession with models. > > Most of my work is with web sites and there are always very basic > rules...like everything must read from top-left to bottom-right. (European > standard) Most sites work with the two or three-column design...all have > headers and footers. After that, there are many more abstract and fresh > layouts. > > When surfing, everyone knows when they have landed on a corporate or a geek > or a store or an application site. It is all about the layout. > > Companies like MS, Apple, Google and even Linux have spent as much money on > their product UI designs as on the coding. In the Linux world there are two > schools of design, the Gnome (apple like) and KDE (windows like) > interfaces. > In recent years a great deal of study has gone into just how people > logically (intuitively) think. > > The Apple type layouts assume people think in specific logical patterns and > clutter just confuses. Less is best. Single forms but more effort is placed > on transitions, showing depth and graphics. > > Windows type layouts have everything of an application shown...if there are > 50 choices there are 50 buttons. There are no transitions as a feature is > either off or on, there are no rounded curves and there are no shadows. > Everything runs from a single desktop. > > It is so personal as to which interface is more intuitional but the current > trends are towards the "Apple/Gnome" like interfaces...of course that trend > or fashion could change. > > For me, it is what ever the user wants. Right now Gnome UI is running two > to > one, in popularity and finally the new Windows phone interface is very > lean, > similar but different (more block layout) to the Gnome uncluttered > interface. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Sunday, September 04, 2011 6:51 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] User interface > > Hi Arthur and Jim > > Really? I find GMail to represent an horror example of bad (or lacking) > design - with a mess of colours, buttons and pop-ups everywhere, yellow and > green bars, boring fonts. No style. > Contrary to this, the redesigned live.com > > (hotmail etc.) is a good example > on how very similar pages can appear much lighter and neater by use of a > simple tricks like careful colouring and shading, stylish fonts, and just a > few frames (with right-angled corners; round corners should be forbidden by > law!). > > Currently Microsoft is way ahead of anyone else regarding design with > Windows Phone 7 and now Windows 8 as the stellar examples of the Metro > project. Even the ribbon has proved right for me as I'm now able to use > PowerPoint which I previously stayed off. Now it is even fun! That tells it > all. > > The interesting and encouraging part is, that this is the result of hard > work by several teams of very skilled and brave persons, not just some > fancy > ideas. They are being bashed from many sides which - could one believe - > want Windows 3.11 and Word 2.0 back. MS management deserves credit for > having promoted design to have top priority. > > /gustav > > > >>> fuller.artful at gmail.com 02-09-2011 21:28:01 >>> > I think of Google as the UI par excellence. Lean and clean and decidedly > not > noisy. I admire their design sense immensely. > > A. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From accessd at shaw.ca Sun Sep 4 15:44:53 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 4 Sep 2011 13:44:53 -0700 Subject: [AccessD] User interface In-Reply-To: References: <0E04E1A006F743CD9CB3F2880659B2F7@creativesystemdesigns.com> Message-ID: The new Windows has embraced "pretty"...semi-transparent rounded window thick borders are even a little over the top for me...but maybe my age is showing. The kids, those under 40, just love this stuff and that love is making Apple the riches company on the planet. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Sunday, September 04, 2011 12:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] User interface I've always hated the apple UI. It was never intuitive to me, so I'm in the minority who prefers the alternative, whether on the PC or on a phone. As far as pretty being important, I think elegant is ahead of that, or maybe we're using different words for the same thing. I don't want to be awestruck by the beauty of the UI, merely at home with it and comfortable finding what I need without being offended by the look (think, some of the Windows themes!). The traditional Windows UI didn't focus on rounded corners, but they're everywhere in the last few versions of Visual Studio and Windows, and in fact, the messageboxes, various window edges, and so forth have had rounded corners for a long time. Charlotte Foust On Sun, Sep 4, 2011 at 11:47 AM, Jim Lawrence wrote: > I like the Windows Small phone design. It is a lot cleaner that I would > have > suspected. I am also am very familiar with the Windows so I would hardly be > a person to be predisposed to make an objective or negative opinion. > > OTOH, design and layout of an application is as important as the design and > development of the code. The average user just does not care what is > under-the-hood. Pretty is always most important...think no further than our > obsession with models. > > Most of my work is with web sites and there are always very basic > rules...like everything must read from top-left to bottom-right. (European > standard) Most sites work with the two or three-column design...all have > headers and footers. After that, there are many more abstract and fresh > layouts. > > When surfing, everyone knows when they have landed on a corporate or a geek > or a store or an application site. It is all about the layout. > > Companies like MS, Apple, Google and even Linux have spent as much money on > their product UI designs as on the coding. In the Linux world there are two > schools of design, the Gnome (apple like) and KDE (windows like) > interfaces. > In recent years a great deal of study has gone into just how people > logically (intuitively) think. > > The Apple type layouts assume people think in specific logical patterns and > clutter just confuses. Less is best. Single forms but more effort is placed > on transitions, showing depth and graphics. > > Windows type layouts have everything of an application shown...if there are > 50 choices there are 50 buttons. There are no transitions as a feature is > either off or on, there are no rounded curves and there are no shadows. > Everything runs from a single desktop. > > It is so personal as to which interface is more intuitional but the current > trends are towards the "Apple/Gnome" like interfaces...of course that trend > or fashion could change. > > For me, it is what ever the user wants. Right now Gnome UI is running two > to > one, in popularity and finally the new Windows phone interface is very > lean, > similar but different (more block layout) to the Gnome uncluttered > interface. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Sunday, September 04, 2011 6:51 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] User interface > > Hi Arthur and Jim > > Really? I find GMail to represent an horror example of bad (or lacking) > design - with a mess of colours, buttons and pop-ups everywhere, yellow and > green bars, boring fonts. No style. > Contrary to this, the redesigned live.com > > (hotmail etc.) is a good example > on how very similar pages can appear much lighter and neater by use of a > simple tricks like careful colouring and shading, stylish fonts, and just a > few frames (with right-angled corners; round corners should be forbidden by > law!). > > Currently Microsoft is way ahead of anyone else regarding design with > Windows Phone 7 and now Windows 8 as the stellar examples of the Metro > project. Even the ribbon has proved right for me as I'm now able to use > PowerPoint which I previously stayed off. Now it is even fun! That tells it > all. > > The interesting and encouraging part is, that this is the result of hard > work by several teams of very skilled and brave persons, not just some > fancy > ideas. They are being bashed from many sides which - could one believe - > want Windows 3.11 and Word 2.0 back. MS management deserves credit for > having promoted design to have top priority. > > /gustav > > > >>> fuller.artful at gmail.com 02-09-2011 21:28:01 >>> > I think of Google as the UI par excellence. Lean and clean and decidedly > not > noisy. I admire their design sense immensely. > > A. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sun Sep 4 17:37:21 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 04 Sep 2011 18:37:21 -0400 Subject: [AccessD] Passing ParamArrays down the line In-Reply-To: References: <4E625F38.1060601@colbyconsulting.com> Message-ID: <4E63FDA1.5080805@colbyconsulting.com> It is familiar but I never knew how to pass them along. Suddenly it occurred to me... John W. Colby www.ColbyConsulting.com On 9/4/2011 12:06 AM, Charlotte Foust wrote: > It's been that way as long as there have been paramarrays, John. It may be > odd, but it's familiar odd. > > Charlotte Foust > > Charlotte > On Sep 3, 2011 10:10 AM, "jwcolby" wrote: >> I use param arrays to allow me to pass in things like group ids that a > user might belong to. The >> following fails: >> >> Function mPLSUserInGroup(ParamArray Grps() As Variant) As Boolean >> mPLSUserInGroup = cPLS.cCurrUser.pUserInGrp(Grps) >> End Function >> >> However the following works: >> >> Function mPLSUserInGroup(ParamArray Grps() As Variant) As Boolean >> Dim lGrps() As Variant >> lGrps = Grps >> mPLSUserInGroup = cPLS.cCurrUser.pUserInGrp(lGrps) >> End Function >> >> Thus in order to push a paramarray into another function we just need to > dim an array, set it equal >> to the paramarray and then push that array on down. >> >> Pretty strange that a ParamArray cannot be directly passed along. >> >> -- >> John W. Colby >> www.ColbyConsulting.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 Sep 4 18:39:46 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 5 Sep 2011 09:39:46 +1000 Subject: [AccessD] Freelancing-one off In-Reply-To: <20110903070956.Tx9u1h01u0xgD8Z01x9vx2@bne3-0001mz.server-mail.com> References: <20110903070956.Tx9u1h01u0xgD8Z01x9vx2@bne3-0001mz.server-mail.com> Message-ID: <000501cc6b5b$ee74f4e0$cb5edea0$@com.au> Tubular Bells was what really got Virgin Music out of the basement and on the map... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Saturday, 3 September 2011 7:07 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Freelancing-one off > First; You will never make many money building one-off products for a > client. Building and marketing a product multiple times is much more > cost effective. Yet this is what has been required of me in all of my "stinkers". I once created an add-in type of product (over 12 years ago) and it was somewhat of a failure until I had one huge, multilicense sale that brought in a huge amount of revenue. Suddenly, it was successful ! This is very similar to what had happened with Richard Branson when he started Virgin Records.... It was failing and then he signed Phil Collins and Boy George.....and in the end, he sold the company for 1 billion !!! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Mon Sep 5 09:27:40 2011 From: marksimms at verizon.net (Mark Simms) Date: Mon, 05 Sep 2011 10:27:40 -0400 Subject: [AccessD] Freelancing-one off In-Reply-To: <000501cc6b5b$ee74f4e0$cb5edea0$@com.au> References: <20110903070956.Tx9u1h01u0xgD8Z01x9vx2@bne3-0001mz.server-mail.com> <000501cc6b5b$ee74f4e0$cb5edea0$@com.au> Message-ID: <004901cc6bd7$f80b90f0$e822b2d0$@net> I think you are right.... http://en.wikipedia.org/wiki/Virgin_Records > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Darryl Collins > Sent: Sunday, September 04, 2011 7:40 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Freelancing-one off > > Tubular Bells was what really got Virgin Music out of the basement and > on > the map... > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Saturday, 3 September 2011 7:07 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Freelancing-one off > > > First; You will never make many money building one-off products for a > > client. Building and marketing a product multiple times is much more > > cost effective. > > Yet this is what has been required of me in all of my "stinkers". > > I once created an add-in type of product (over 12 years ago) and it was > somewhat of a failure > until I had one huge, multilicense sale that brought in a huge amount > of > revenue. Suddenly, it was successful ! > This is very similar to what had happened with Richard Branson when he > started Virgin Records.... > It was failing and then he signed Phil Collins and Boy George.....and > in the > end, he sold the company for > 1 billion !!! > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 5 10:56:55 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 05 Sep 2011 11:56:55 -0400 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: <003f01cc69a5$8bf4d360$a3de7a20$@comcast.net> References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> <003f01cc69a5$8bf4d360$a3de7a20$@comcast.net> Message-ID: <69E2F4283C704DEAAA23A2729C8FA20D@XPS> I take a slightly different attitude; you wasted my time and if that's what you want to do fine, you get a bill either way. When you bill by the hour, it's amazing how little time gets wasted. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, September 02, 2011 03:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] freelancing job sites (OT Reply) Since I charge user license fees (in place of Maintenance fees) I don't fire clients. I change the parameters of how I'll work with them, but I don't threaten to leave. For example, at one meeting a DBA 'took over' the meeting, hadn't read the material I had sent out to begin with, and wasted an hour of 6 people's time. Not to mention two hours driving for me. I sent my contacts an email stating that I would not work with or meet with that person again, and they never asked me to. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, September 02, 2011 1:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites (OT Reply) A critical skill in the freelancing world is learning how to fire customers. The moment they become a PITA is the time to fire them. This includes outrageous demands (can't you just make it do this too, for free?) to late payments to aggravating meetings. Call me a curmudgeon but I don't have enough time left on this planet to deal with such crap. The first moment I see a bad sign, I fire the client. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dbdoug at gmail.com Mon Sep 5 11:19:30 2011 From: dbdoug at gmail.com (Doug Steele) Date: Mon, 5 Sep 2011 09:19:30 -0700 Subject: [AccessD] Access date problem Message-ID: Hello All: I have some code which depends on the weekday number. On all computers except for one of my client's, it runs OK. The computers are a mixed bag of Access 2003, 2010 and Windows 7 and Vista. On the 'bad' computer, everything is off by one day. Debugging on this computer gives '7' as the result of Weekday("9/4/2011") - a Sunday. According to Access help, the default for Sunday is 1. I've checked the Windows 7 Regional and Language settings on this computer and 'Sunday' is set as the first day of the week. So Access and Windows are different. I can't find a setting in Access to change this, and nothing on the Web. But it must be some kind of configuration setup - does anyone have a suggestion? Thanks, Doug From jwcolby at colbyconsulting.com Mon Sep 5 12:30:01 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 05 Sep 2011 13:30:01 -0400 Subject: [AccessD] SQL Server compression Message-ID: <4E650719.7020301@colbyconsulting.com> The other day I populated the second socket of my (AMD) server with another 8 core chip. With cores to spare I decided to give compression a whirl. I am finding a lot of stuff out there now saying that it reduces the I/O a ton and that if you are not cpu limited then it makes the database faster because more stuff fits into memory. Basically the objective is to get as much of the stuff that is being actively used to stay resident in memory. One immediate benefit is that it cuts the total size of my databases on disk roughly in half. This is a good thing because I keep the major players on SSD which is expensive. Keeping them compressed means that I have more room on the SSD. When I got into this business in October 2004 I had servers with AMD single core 3.8 ghz and 4 gigs or RAM running x32 windows and sql server. I was trying to run count queries on 100 gb databases and while it worked, it was... not fast. I would run counts that took a half hour. Through knowledge acquired on these lists I rebuilt my database tables, learned indexing, and made the databases much more efficient. Seven years later I have 16 cores and 32 gigs RAM running X64 windows and SQL server. A year ago I bought 32 gigs of DDR3 1300 registered ECC ram for $1000. Today I ordered another 32 gigs for $400. It is incredible to me that using brute force and ignorance, I can now keep multiple largish databases entirely in memory. While I have no benchmarks recorded to compare yesteryear to today, I am doing things in minutes or even seconds that would have taken me a half hour or even hours seven years ago. These are exciting times. BTW I found something called GeekBench which I ran on my machine. It is the only thing I have found that is a reasonable cost ($13) to give me numbers to compare to others. My Geekbench number is ~13,500, and it pointed out to me that I am currently running the server with 1/2 of the memory "bandwidth" I could be getting (the biggest reason I am adding more). I had 4 DIMMS and a single processor. The processor has a 4 port memory controller. When I added the new processor I redistributed the memory so that each chip had 1/2 of the memory (2 dimms) but in doing so I "crippled" the memory controller. The price of memory is dropping like a rock so now seems like a good time to top up. It will be interesting to see what filling out the memory controller does to the numbers. I "retired" my previous server to be my VM server, and it just occurred to me that I can run Geekbench on that to get a comparison of my previous server against my current server. My previous server is an AMD quad core with 16 gigs of RAM and the geekbench on that is 7469. -- John W. Colby www.ColbyConsulting.com From charlotte.foust at gmail.com Mon Sep 5 13:35:00 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 5 Sep 2011 11:35:00 -0700 Subject: [AccessD] Access date problem In-Reply-To: References: Message-ID: It's set in vba using the Weekday function and specifying the optional firstdayofweek argument. If you just modify your code to include vbSunday, you should get the desired result. Have you tried that? Charlotte Foust On Mon, Sep 5, 2011 at 9:19 AM, Doug Steele wrote: > Hello All: > > I have some code which depends on the weekday number. On all computers > except for one of my client's, it runs OK. The computers are a mixed bag > of > Access 2003, 2010 and Windows 7 and Vista. > > On the 'bad' computer, everything is off by one day. Debugging on this > computer gives '7' as the result of Weekday("9/4/2011") - a Sunday. > According to Access help, the default for Sunday is 1. I've checked the > Windows 7 Regional and Language settings on this computer and 'Sunday' is > set as the first day of the week. So Access and Windows are different. > > I can't find a setting in Access to change this, and nothing on the Web. > But it must be some kind of configuration setup - does anyone have a > suggestion? > > Thanks, > Doug > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From stephen at bondsoftware.co.nz Mon Sep 5 14:54:46 2011 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Tue, 06 Sep 2011 07:54:46 +1200 Subject: [AccessD] SQL Server advice Message-ID: After mucking around on the fringes for too long I am ready to make a more committed leap into SQL Server. I can foresee a customer needing to upgrade their Access back end within the next six months to a year and want to get 'expertly' ahead . I have a fully licenced 2000 Standard edition (acquired with an Action Pack in the days when MS New Zealand charged a one-time fee for Action Packs) on a 10-year-old WinXP box (?GB) and I am comfortable with this at the 'play' level. On a year-old Windows 7 box with 4GB, my question concerns which tool to use, the above ... or SQL Server 2008 R2 Express? The downsides that I can see of Express 2008 would be (a) another learning curve (b) the nagging feeling that I remember something about these less-than-complete SQL Server implementations that is not good - like inability to do important development stuff that is available in the full-blown models. This, iirc, was true for one of MS's implementations, long ago. The upside is that I make the enormous leap into another century. But wait, there's got to be more (to both -ve and +ve). Any feedback gratefully received. Stephen Bond PS - I'm a bit like Arthur (same age and increasingly pursuing other interests), so we're not talking long-term large commitments here (financial or long learning curve). From jwcolby at colbyconsulting.com Mon Sep 5 15:30:58 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 05 Sep 2011 16:30:58 -0400 Subject: [AccessD] SQL Server advice In-Reply-To: References: Message-ID: <4E653182.9030905@colbyconsulting.com> Stephen, > I have a fully licensed 2000 Standard edition (acquired with an Action Pack in the days when MS New Zealand charged a one-time fee for Action Packs) on a 10-year-old WinXP box (?GB) Way under powered. It will run (barely) but you won't be happy. SQL Server of any kind is a somewhat major learning curve. You can just set up and go but then... The express version is quite powerful for what it is but it has major limitations such as a single core and a gig of ram. I have discovered that if you are hitting the limits of Access then you may already be at the limits of express. It will be fine for getting in the water so to speak but it is missing stuff. I thought I was going to use it for a client of mine but when I looked closely it just wasn't powerful enough. OTOH my client has nursed his access system way beyond reason and now has 25 users and around 4-5 gigs of data. We are now looking at a pretty expensive upgrade to full on SQL Server. Once you do a new server (hardware) with 25 seats on the OS and 25 seats on SQL Server you are looking at > $10K, and probably closer to $15K. That said, you then have power to take you through the next 5-10 years. > PS - I'm a bit like Arthur (same age and increasingly pursuing other interests), so we're not talking long-term large commitments here (financial or long learning curve). Uhh... this just means that you only have 20 years of work life left right? ;) John W. Colby www.ColbyConsulting.com On 9/5/2011 3:54 PM, Stephen Bond wrote: > After mucking around on the fringes for too long I am ready to make a more committed leap into SQL Server. I can foresee a customer needing to upgrade their Access back end within the next six months to a year and want to get 'expertly' ahead. > I have a fully licenced 2000 Standard edition (acquired with an Action Pack in the days when MS New Zealand charged a one-time fee for Action Packs) on a 10-year-old WinXP box (?GB) and I am comfortable with this at the 'play' level. > > On a year-old Windows 7 box with 4GB, my question concerns which tool to use, the above ... or SQL Server 2008 R2 Express? The downsides that I can see of Express 2008 would be (a) another learning curve (b) the nagging feeling that I remember something about these less-than-complete SQL Server implementations that is not good - like inability to do important development stuff that is available in the full-blown models. This, iirc, was true for one of MS's implementations, long ago. The upside is that I make the enormous leap into another century. But wait, there's got to be more (to both -ve and +ve). > > Any feedback gratefully received. > > Stephen Bond > > PS - I'm a bit like Arthur (same age and increasingly pursuing other interests), so we're not talking long-term large commitments here (financial or long learning curve). > From dbdoug at gmail.com Mon Sep 5 16:12:37 2011 From: dbdoug at gmail.com (Doug Steele) Date: Mon, 5 Sep 2011 14:12:37 -0700 Subject: [AccessD] Access date problem In-Reply-To: References: Message-ID: Hi Charlotte: Changing all instances of the Weekday function to include vbSunday as the second parameter did fix the problem. I'm still curious, however, why one computer in particular would have vbMonday set as the first day of the week contrary to the Access documentation. Doug On Mon, Sep 5, 2011 at 11:35 AM, Charlotte Foust wrote: > It's set in vba using the Weekday function and specifying the optional > firstdayofweek argument. If you just modify your code to include vbSunday, > you should get the desired result. Have you tried that? > > Charlotte Foust > > On Mon, Sep 5, 2011 at 9:19 AM, Doug Steele wrote: > > > Hello All: > > > > I have some code which depends on the weekday number. On all computers > > except for one of my client's, it runs OK. The computers are a mixed bag > > of > > Access 2003, 2010 and Windows 7 and Vista. > > > > On the 'bad' computer, everything is off by one day. Debugging on this > > computer gives '7' as the result of Weekday("9/4/2011") - a Sunday. > > According to Access help, the default for Sunday is 1. I've checked the > > Windows 7 Regional and Language settings on this computer and 'Sunday' is > > set as the first day of the week. So Access and Windows are different. > > > > I can't find a setting in Access to change this, and nothing on the Web. > > But it must be some kind of configuration setup - does anyone have a > > suggestion? > > > > 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 charlotte.foust at gmail.com Mon Sep 5 16:25:48 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 5 Sep 2011 14:25:48 -0700 Subject: [AccessD] Access date problem In-Reply-To: References: Message-ID: Haven't a clue, but you might want to check the time settings on that machine to see if the timestamps are off by 12 hours. Charlotte Foust On Mon, Sep 5, 2011 at 2:12 PM, Doug Steele wrote: > Hi Charlotte: > Changing all instances of the Weekday function to include vbSunday as the > second parameter did fix the problem. I'm still curious, however, why one > computer in particular would have vbMonday set as the first day of the week > contrary to the Access documentation. > > Doug > > > On Mon, Sep 5, 2011 at 11:35 AM, Charlotte Foust > wrote: > > > It's set in vba using the Weekday function and specifying the optional > > firstdayofweek argument. If you just modify your code to include > vbSunday, > > you should get the desired result. Have you tried that? > > > > Charlotte Foust > > > > On Mon, Sep 5, 2011 at 9:19 AM, Doug Steele wrote: > > > > > Hello All: > > > > > > I have some code which depends on the weekday number. On all computers > > > except for one of my client's, it runs OK. The computers are a mixed > bag > > > of > > > Access 2003, 2010 and Windows 7 and Vista. > > > > > > On the 'bad' computer, everything is off by one day. Debugging on this > > > computer gives '7' as the result of Weekday("9/4/2011") - a Sunday. > > > According to Access help, the default for Sunday is 1. I've checked > the > > > Windows 7 Regional and Language settings on this computer and 'Sunday' > is > > > set as the first day of the week. So Access and Windows are different. > > > > > > I can't find a setting in Access to change this, and nothing on the > Web. > > > But it must be some kind of configuration setup - does anyone have a > > > suggestion? > > > > > > 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 > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From ssharkins at gmail.com Mon Sep 5 18:00:57 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 5 Sep 2011 19:00:57 -0400 Subject: [AccessD] SQL Server advice References: Message-ID: <85D3AD6237B74727A3876A613CB2476F@SusanHarkins> On a year-old Windows 7 box with 4GB, my question concerns which tool to use, the above ... or SQL Server 2008 R2 Express? The downsides that I can see of Express 2008 would be (a) another learning curve (b) the nagging feeling that I remember something about these less-than-complete SQL Server implementations that is not good - like inability to do important development stuff that is available in the full-blown models. This, iirc, was true for one of MS's implementations, long ago. The upside is that I make the enormous leap into another century. But wait, there's got to be more (to both -ve and +ve). Any feedback gratefully received. =======I'd go with the more recent version of Express -- if you're already familiar with SQL Server, it won't be significant. Susan H. From stephen at bondsoftware.co.nz Tue Sep 6 00:42:03 2011 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Tue, 06 Sep 2011 17:42:03 +1200 Subject: [AccessD] SQL Server advice In-Reply-To: <63403747290942CF848F636F67DF3A1A@BondSoftware.local> References: <63403747290942CF848F636F67DF3A1A@BondSoftware.local> Message-ID: So, John, would the following scenario still fly? ... as far as getting out of the shallow end, I could install the 2000 version on my Win7 box. No cost so far. I have a good beginner's knowledge of 2000 from much 'playing around' and lots of documentation on hand including the MS training curriculum and a good SP textbook. Use this to do serious work converting the customer's queries to SPs, getting me up to speed for the day the several gigs of data (and growing each month - it is a milk production system feeding into genetic analysis) needs the customer to buy a bigger engine to process. At which point I get serious, upgrade myself to Express or bigger, and the customer to whatever he can afford .......... And I forget the WinXP box, 2000 is on it, but never used for anything in anger, just a little toybox for me to play like I knew what I was doing. Or am I totally wasting my time with 2000 on any computer? And I amend the PS ... long learning curve is OK (I've got 20 years right?), but big financial outlay not. Stephen Bond -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, 6 September 2011 8:46 a.m. To: Stephen Subject: Re: [AccessD] SQL Server advice Stephen, > I have a fully licensed 2000 Standard edition (acquired with an Action Pack in the days when MS New Zealand charged a one-time fee for Action Packs) on a 10-year-old WinXP box (?GB) Way under powered. It will run (barely) but you won't be happy. SQL Server of any kind is a somewhat major learning curve. You can just set up and go but then... The express version is quite powerful for what it is but it has major limitations such as a single core and a gig of ram. I have discovered that if you are hitting the limits of Access then you may already be at the limits of express. It will be fine for getting in the water so to speak but it is missing stuff. I thought I was going to use it for a client of mine but when I looked closely it just wasn't powerful enough. OTOH my client has nursed his access system way beyond reason and now has 25 users and around 4-5 gigs of data. We are now looking at a pretty expensive upgrade to full on SQL Server. Once you do a new server (hardware) with 25 seats on the OS and 25 seats on SQL Server you are looking at > $10K, and probably closer to $15K. That said, you then have power to take you through the next 5-10 years. > PS - I'm a bit like Arthur (same age and increasingly pursuing other interests), so we're not talking long-term large commitments here (financial or long learning curve). Uhh... this just means that you only have 20 years of work life left right? ;) John W. Colby www.ColbyConsulting.com On 9/5/2011 3:54 PM, Stephen Bond wrote: > After mucking around on the fringes for too long I am ready to make a more committed leap into SQL Server. I can foresee a customer needing to upgrade their Access back end within the next six months to a year and want to get 'expertly' ahead. > I have a fully licenced 2000 Standard edition (acquired with an Action Pack in the days when MS New Zealand charged a one-time fee for Action Packs) on a 10-year-old WinXP box (?GB) and I am comfortable with this at the 'play' level. > > On a year-old Windows 7 box with 4GB, my question concerns which tool to use, the above ... or SQL Server 2008 R2 Express? The downsides that I can see of Express 2008 would be (a) another learning curve (b) the nagging feeling that I remember something about these less-than-complete SQL Server implementations that is not good - like inability to do important development stuff that is available in the full-blown models. This, iirc, was true for one of MS's implementations, long ago. The upside is that I make the enormous leap into another century. But wait, there's got to be more (to both -ve and +ve). > > Any feedback gratefully received. > > Stephen Bond > > PS - I'm a bit like Arthur (same age and increasingly pursuing other interests), so we're not talking long-term large commitments here (financial or long learning curve). > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Sep 6 01:17:23 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 06 Sep 2011 08:17:23 +0200 Subject: [AccessD] Access date problem Message-ID: Hi Doug Weekday("9/4/2011") and Weekday(#9/4/2011#) is not the same thing so if that computer doesn't use the "reverse" US date format (mm/dd/yyyy) your expression will read as 2011-04-09. Always use data type date/time for dates in VB(A). /gustav >>> dbdoug at gmail.com 05-09-2011 18:19 >>> Hello All: I have some code which depends on the weekday number. On all computers except for one of my client's, it runs OK. The computers are a mixed bag of Access 2003, 2010 and Windows 7 and Vista. On the 'bad' computer, everything is off by one day. Debugging on this computer gives '7' as the result of Weekday("9/4/2011") - a Sunday. According to Access help, the default for Sunday is 1. I've checked the Windows 7 Regional and Language settings on this computer and 'Sunday' is set as the first day of the week. So Access and Windows are different. I can't find a setting in Access to change this, and nothing on the Web. But it must be some kind of configuration setup - does anyone have a suggestion? Thanks, Doug From fuller.artful at gmail.com Tue Sep 6 05:26:10 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 6 Sep 2011 06:26:10 -0400 Subject: [AccessD] SQL Server advice In-Reply-To: References: <63403747290942CF848F636F67DF3A1A@BondSoftware.local> Message-ID: You would be totally wasting your time with SQL 2000. Why begin your learning 2 versions behind? And within 6 months, you'd be 3 versions behind (Denali will be released by then). Since you have a six-month window, my advice would be to install SQL 2008 Express on a Windows 7 box with about 4 gigs of RAM. For diving into SQL Server, this would be a sufficient learning machine. As JC wrote, you won't get all the benefits of a serious machine, but it's not for you anyway, it's for the client to decide whether to pick up that cost. Everything you learn on Express is directly applicable to upscale versions. Granted, there are a few things you won't be able to learn (clustered dbs, for example), but if you make it through the major stuff (Management Studio, T-SQL, views, stored procedures, User Defined Functions, Reporting Services and Analysis Services), what remains to learn won't take long. Arthur From jwcolby at colbyconsulting.com Tue Sep 6 05:29:03 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 06 Sep 2011 06:29:03 -0400 Subject: [AccessD] SQL Server advice In-Reply-To: References: <63403747290942CF848F636F67DF3A1A@BondSoftware.local> Message-ID: <4E65F5EF.80202@colbyconsulting.com> That'll work. SQL Server 2003 is missing some tsql syntax that was added later but if you don't need that then you will not miss it. John W. Colby www.ColbyConsulting.com On 9/6/2011 1:42 AM, Stephen Bond wrote: > So, John, would the following scenario still fly? ... as far as getting out of the shallow end, I could install the 2000 version on my Win7 box. No cost so far. I have a good beginner's knowledge of 2000 from much 'playing around' and lots of documentation on hand including the MS training curriculum and a good SP textbook. Use this to do serious work converting the customer's queries to SPs, getting me up to speed for the day the several gigs of data (and growing each month - it is a milk production system feeding into genetic analysis) needs the customer to buy a bigger engine to process. At which point I get serious, upgrade myself to Express or bigger, and the customer to whatever he can afford .......... > > And I forget the WinXP box, 2000 is on it, but never used for anything in anger, just a little toybox for me to play like I knew what I was doing. > > Or am I totally wasting my time with 2000 on any computer? > > And I amend the PS ... long learning curve is OK (I've got 20 years right?), but big financial outlay not. > > Stephen Bond > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, 6 September 2011 8:46 a.m. > To: Stephen > Subject: Re: [AccessD] SQL Server advice > > Stephen, > > > I have a fully licensed 2000 Standard edition (acquired with an Action Pack in the days when MS > New Zealand charged a one-time fee for Action Packs) on a 10-year-old WinXP box (?GB) > > Way under powered. It will run (barely) but you won't be happy. > > SQL Server of any kind is a somewhat major learning curve. You can just set up and go but then... > > The express version is quite powerful for what it is but it has major limitations such as a single > core and a gig of ram. I have discovered that if you are hitting the limits of Access then you may > already be at the limits of express. It will be fine for getting in the water so to speak but it is > missing stuff. > > I thought I was going to use it for a client of mine but when I looked closely it just wasn't > powerful enough. OTOH my client has nursed his access system way beyond reason and now has 25 users > and around 4-5 gigs of data. We are now looking at a pretty expensive upgrade to full on SQL > Server. Once you do a new server (hardware) with 25 seats on the OS and 25 seats on SQL Server you > are looking at> $10K, and probably closer to $15K. That said, you then have power to take you > through the next 5-10 years. > > > PS - I'm a bit like Arthur (same age and increasingly pursuing other interests), so we're not > talking long-term large commitments here (financial or long learning curve). > > Uhh... this just means that you only have 20 years of work life left right? ;) > > John W. Colby > www.ColbyConsulting.com > > On 9/5/2011 3:54 PM, Stephen Bond wrote: >> After mucking around on the fringes for too long I am ready to make a more committed leap into SQL Server. I can foresee a customer needing to upgrade their Access back end within the next six months to a year and want to get 'expertly' ahead. >> I have a fully licenced 2000 Standard edition (acquired with an Action Pack in the days when MS New Zealand charged a one-time fee for Action Packs) on a 10-year-old WinXP box (?GB) and I am comfortable with this at the 'play' level. >> >> On a year-old Windows 7 box with 4GB, my question concerns which tool to use, the above ... or SQL Server 2008 R2 Express? The downsides that I can see of Express 2008 would be (a) another learning curve (b) the nagging feeling that I remember something about these less-than-complete SQL Server implementations that is not good - like inability to do important development stuff that is available in the full-blown models. This, iirc, was true for one of MS's implementations, long ago. The upside is that I make the enormous leap into another century. But wait, there's got to be more (to both -ve and +ve). >> >> Any feedback gratefully received. >> >> Stephen Bond >> >> PS - I'm a bit like Arthur (same age and increasingly pursuing other interests), so we're not talking long-term large commitments here (financial or long learning curve). >> From jwcolby at colbyconsulting.com Tue Sep 6 05:53:18 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 06 Sep 2011 06:53:18 -0400 Subject: [AccessD] SQL Server advice In-Reply-To: <4E65F5EF.80202@colbyconsulting.com> References: <63403747290942CF848F636F67DF3A1A@BondSoftware.local> <4E65F5EF.80202@colbyconsulting.com> Message-ID: <4E65FB9E.8020909@colbyconsulting.com> >Server 2003 is missing some tsql syntax I meant to say TSQL 2000 I do agree with Arthur however, you would be well served to just go with 2008. 2000 is very old. John W. Colby www.ColbyConsulting.com On 9/6/2011 6:29 AM, jwcolby wrote: > That'll work. SQL Server 2003 is missing some tsql syntax that was added later but if you don't need > that then you will not miss it. > > John W. Colby > www.ColbyConsulting.com > > On 9/6/2011 1:42 AM, Stephen Bond wrote: >> So, John, would the following scenario still fly? ... as far as getting out of the shallow end, I >> could install the 2000 version on my Win7 box. No cost so far. I have a good beginner's knowledge >> of 2000 from much 'playing around' and lots of documentation on hand including the MS training >> curriculum and a good SP textbook. Use this to do serious work converting the customer's queries >> to SPs, getting me up to speed for the day the several gigs of data (and growing each month - it >> is a milk production system feeding into genetic analysis) needs the customer to buy a bigger >> engine to process. At which point I get serious, upgrade myself to Express or bigger, and the >> customer to whatever he can afford .......... >> >> And I forget the WinXP box, 2000 is on it, but never used for anything in anger, just a little >> toybox for me to play like I knew what I was doing. >> >> Or am I totally wasting my time with 2000 on any computer? >> >> And I amend the PS ... long learning curve is OK (I've got 20 years right?), but big financial >> outlay not. >> >> Stephen Bond >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf >> Of jwcolby >> Sent: Tuesday, 6 September 2011 8:46 a.m. >> To: Stephen >> Subject: Re: [AccessD] SQL Server advice >> >> Stephen, >> >> > I have a fully licensed 2000 Standard edition (acquired with an Action Pack in the days when MS >> New Zealand charged a one-time fee for Action Packs) on a 10-year-old WinXP box (?GB) >> >> Way under powered. It will run (barely) but you won't be happy. >> >> SQL Server of any kind is a somewhat major learning curve. You can just set up and go but then... >> >> The express version is quite powerful for what it is but it has major limitations such as a single >> core and a gig of ram. I have discovered that if you are hitting the limits of Access then you may >> already be at the limits of express. It will be fine for getting in the water so to speak but it is >> missing stuff. >> >> I thought I was going to use it for a client of mine but when I looked closely it just wasn't >> powerful enough. OTOH my client has nursed his access system way beyond reason and now has 25 users >> and around 4-5 gigs of data. We are now looking at a pretty expensive upgrade to full on SQL >> Server. Once you do a new server (hardware) with 25 seats on the OS and 25 seats on SQL Server you >> are looking at> $10K, and probably closer to $15K. That said, you then have power to take you >> through the next 5-10 years. >> >> > PS - I'm a bit like Arthur (same age and increasingly pursuing other interests), so we're not >> talking long-term large commitments here (financial or long learning curve). >> >> Uhh... this just means that you only have 20 years of work life left right? ;) >> >> John W. Colby >> www.ColbyConsulting.com >> >> On 9/5/2011 3:54 PM, Stephen Bond wrote: >>> After mucking around on the fringes for too long I am ready to make a more committed leap into >>> SQL Server. I can foresee a customer needing to upgrade their Access back end within the next six >>> months to a year and want to get 'expertly' ahead. >>> I have a fully licenced 2000 Standard edition (acquired with an Action Pack in the days when MS >>> New Zealand charged a one-time fee for Action Packs) on a 10-year-old WinXP box (?GB) and I am >>> comfortable with this at the 'play' level. >>> >>> On a year-old Windows 7 box with 4GB, my question concerns which tool to use, the above ... or >>> SQL Server 2008 R2 Express? The downsides that I can see of Express 2008 would be (a) another >>> learning curve (b) the nagging feeling that I remember something about these less-than-complete >>> SQL Server implementations that is not good - like inability to do important development stuff >>> that is available in the full-blown models. This, iirc, was true for one of MS's implementations, >>> long ago. The upside is that I make the enormous leap into another century. But wait, there's got >>> to be more (to both -ve and +ve). >>> >>> Any feedback gratefully received. >>> >>> Stephen Bond >>> >>> PS - I'm a bit like Arthur (same age and increasingly pursuing other interests), so we're not >>> talking long-term large commitments here (financial or long learning curve). >>> From jwcolby at colbyconsulting.com Tue Sep 6 12:12:44 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 06 Sep 2011 13:12:44 -0400 Subject: [AccessD] Google and you Message-ID: <4E66548C.6090400@colbyconsulting.com> http://www.linkedin.com/news?actionBar=&articleID=751340935&ids=0Rd30Qd3oNdjsIcPASdzgRcjkTb3kPej0QcP4RdOMMe3oPe34PdjsIdPwTd3sVczkT&aag=true&freq=weekly&trk=eml-tod-b-ttle-4&ut=3APSkFFU2qw4U1 -- John W. Colby www.ColbyConsulting.com From marksimms at verizon.net Tue Sep 6 12:32:29 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 06 Sep 2011 13:32:29 -0400 Subject: [AccessD] SQL Server advice In-Reply-To: <4E65FB9E.8020909@colbyconsulting.com> References: <63403747290942CF848F636F67DF3A1A@BondSoftware.local> <4E65F5EF.80202@colbyconsulting.com> <4E65FB9E.8020909@colbyconsulting.com> Message-ID: <000001cc6cba$f4881e60$dd985b20$@net> > > I do agree with Arthur however, you would be well served to just go > with 2008. 2000 is very old. > That being said....I was at one shop....and they were paranoid to upgrade even to 2005 because of potential performance degradation. IOW: that ancient release was kind of lean-and-mean for the hardware they were running. With hardware so cheap today...no excuse not to "move up". From jwcolby at colbyconsulting.com Tue Sep 6 13:23:25 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 06 Sep 2011 14:23:25 -0400 Subject: [AccessD] SQL Server advice In-Reply-To: <000001cc6cba$f4881e60$dd985b20$@net> References: <63403747290942CF848F636F67DF3A1A@BondSoftware.local> <4E65F5EF.80202@colbyconsulting.com> <4E65FB9E.8020909@colbyconsulting.com> <000001cc6cba$f4881e60$dd985b20$@net> Message-ID: <4E66651D.1010503@colbyconsulting.com> LOL, that ancient release is lean and mean. It was designed to run on the platform of the day which was 32 bit, slow processors and 4 gigs of ram max. An interesting history lesson. http://blogs.msdn.com/b/euanga/archive/2006/01/19/514479.aspx We now have 64 bit processors, OSes and SQL Server. > With hardware so cheap today...no excuse not to "move up". Which I am in complete agreement. I am a 1.36 man show, and yet I have a rockin system. I am a developer and as such have access to the action pack which in this specific area is an enormous plus. Still, I do mostly have to buy my own hardware. My strategy was simply to build something and use it, then upgrade and keep the old parts, using them on other systems. At this point I have a dual socket motherboard, dual processors (16 total cores) and 64 gigs of ram. Just that part costs (today) about $1800. While that isn't chump change, plenty of rich kids spend that on their super duper Intel processor and a video card for gaming. My server supports SQL Server in a style that helps the work get done quickly. My client has 25 people in the database, they pay probably 40K or more a *month* in salary for those users. From my perspective it is insane to quibble about a one time cost of $20K (good for at least 5 years) to buy a power server to run the data side of that business. 4K a year to support 25 employees costing you a half million a year in salary is a pretty darned good deal. I actually spend about 4K a year just to support my 1.36 person company, and I consider that a good deal. John W. Colby www.ColbyConsulting.com On 9/6/2011 1:32 PM, Mark Simms wrote: >> >> I do agree with Arthur however, you would be well served to just go >> with 2008. 2000 is very old. >> > That being said....I was at one shop....and they were paranoid to upgrade > even to 2005 because of potential performance degradation. > IOW: that ancient release was kind of lean-and-mean for the hardware they > were running. > With hardware so cheap today...no excuse not to "move up". > > > From john at winhaven.net Tue Sep 6 13:25:43 2011 From: john at winhaven.net (John Bartow) Date: Tue, 6 Sep 2011 13:25:43 -0500 Subject: [AccessD] Google and you In-Reply-To: <4E66548C.6090400@colbyconsulting.com> References: <4E66548C.6090400@colbyconsulting.com> Message-ID: <030a01cc6cc2$63cb39e0$2b61ada0$@winhaven.net> Welcome to the "cloud". -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 06, 2011 12:13 PM To: Access Developers discussion and problem solving Subject: [AccessD] Google and you http://www.linkedin.com/news?actionBar=&articleID=751340935&ids=0Rd30Qd3oNdj sIcPASdzgRcjkTb3kPej0QcP4RdOMMe3oPe34PdjsIdPwTd3sVczkT&aag=true&freq=weekly& trk=eml-tod-b-ttle-4&ut=3APSkFFU2qw4U1 -- John W. Colby www.ColbyConsulting.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 Sep 6 13:58:24 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 6 Sep 2011 11:58:24 -0700 Subject: [AccessD] SQL Server advice In-Reply-To: References: Message-ID: <7DA414D02EB544E08C55B1A904F85CEC@creativesystemdesigns.com> Hi Steve: To really get up to speed fast sell a project or make one of your own. Your current computers are limited, the MS SQL is out of date and you need a new server2008. Cost; are you can buy some MS SQL/Server 2008 as well as hardware off EBay. A friend bought a older noisy server off EBay, 8GB RAM, built in RAID with 7 350GB HD, for about $350.00...It has been running fine for a year so it was a good deal. If you want the latest MS software, it will cost about $1200 minimum and $2000 for the premium TechNet addition. The minimum version has all the Servers, Office products and MS SQL versions. The premium edition also includes all the development packages. (VS/VS Lightswitch etc.) If the budget is limited, there are free express versions of MS SQL and VS. They do not have all the bell-and-whistles but their features are impressive. If you simply must have the full versions, you can download and use them for 60 to 90 day free-trial. There also is some other pricing specifically for developers but I am not familiar with process or the programs and some on the DBA will know the details. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stephen Bond Sent: Monday, September 05, 2011 12:55 PM To: Access Developers discussion and problem solving Subject: [AccessD] SQL Server advice After mucking around on the fringes for too long I am ready to make a more committed leap into SQL Server. I can foresee a customer needing to upgrade their Access back end within the next six months to a year and want to get 'expertly' ahead . I have a fully licenced 2000 Standard edition (acquired with an Action Pack in the days when MS New Zealand charged a one-time fee for Action Packs) on a 10-year-old WinXP box (?GB) and I am comfortable with this at the 'play' level. On a year-old Windows 7 box with 4GB, my question concerns which tool to use, the above ... or SQL Server 2008 R2 Express? The downsides that I can see of Express 2008 would be (a) another learning curve (b) the nagging feeling that I remember something about these less-than-complete SQL Server implementations that is not good - like inability to do important development stuff that is available in the full-blown models. This, iirc, was true for one of MS's implementations, long ago. The upside is that I make the enormous leap into another century. But wait, there's got to be more (to both -ve and +ve). Any feedback gratefully received. Stephen Bond PS - I'm a bit like Arthur (same age and increasingly pursuing other interests), so we're not talking long-term large commitments here (financial or long learning curve). -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Tue Sep 6 14:10:38 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 6 Sep 2011 12:10:38 -0700 Subject: [AccessD] Google and you In-Reply-To: <4E66548C.6090400@colbyconsulting.com> References: <4E66548C.6090400@colbyconsulting.com> Message-ID: Now we are the product. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 06, 2011 10:13 AM To: Access Developers discussion and problem solving Subject: [AccessD] Google and you http://www.linkedin.com/news?actionBar=&articleID=751340935&ids=0Rd30Qd3oNdj sIcPASdzgRcjkTb3kPej0QcP4RdOMMe3oPe34PdjsIdPwTd3sVczkT&aag=true&freq=weekly& trk=eml-tod-b-ttle-4&ut=3APSkFFU2qw4U1 -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From EdTesiny at oasas.ny.gov Tue Sep 6 14:16:18 2011 From: EdTesiny at oasas.ny.gov (Tesiny, Ed) Date: Tue, 6 Sep 2011 15:16:18 -0400 Subject: [AccessD] IIF Function Message-ID: Hi All, I have the following IIF statement in a query: LureenRev1: IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date]<3 And [Lureen_Reviewed]<>2),"OK","Followup") RssApplicationApproved 06/17/2011 (Date) Lureen_Reviewed_Date 06/16/2011 (Date) Lureen_Reviewed 2 (long integer) The statement returns OK Could someone tell me what's wrong with it, I can't see what's wrong. TIA, Ed Edward P. Tesiny Director of Evaluation and Outcomes Management New York State OASAS 1450 Western Avenue Albany, NY 12203 Phone: (518) 485-2322 Fax: (518) 485-5228 EdTesiny at oasas.ny.gov IMPORTANT: This E-mail may contain confidential material for the sole use of the intended recipient. The use, distribution, transmittal or re-transmittal by an unintended recipient of any communication is prohibited without our express approval in writing or by e-mail. Any use, distribution, transmittal or re-transmittal by persons who are not intended recipients of this e-mail may be a violation of law and is strictly prohibited. If you are not the intended recipient please contact the sender and delete all copies. E-mail transmission cannot be guaranteed to be secure or error-free. The sender therefore does not accept liability for any errors or omissions in the contents of this transmission. All e-mails sent to or from NYS OASAS are to be used for our business purposes only. E-mails sent from or to NYS OASAS are subject to review by the Agency. From paul.hartland at googlemail.com Tue Sep 6 14:22:29 2011 From: paul.hartland at googlemail.com (Paul Hartland) Date: Tue, 6 Sep 2011 20:22:29 +0100 Subject: [AccessD] IIF Function In-Reply-To: References: Message-ID: Ed, Not sure if you have made a typo but shouldnt your code; LureenRev1: IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date]<3 And [Lureen_Reviewed]<>2),"OK","Followup") Be LureenRev1: IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date])<3 And [Lureen_Reviewed]<>2,"OK","Followup") i.e. the bracket after the <>2 in your code moved to after the [Lureen_Reviewed_Date] in the datediff code ? Paul On 6 September 2011 20:16, Tesiny, Ed wrote: > Hi All, > > I have the following IIF statement in a query: > > > > LureenRev1: > IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date]<3 And > [Lureen_Reviewed]<>2),"OK","Followup") > > > > RssApplicationApproved 06/17/2011 (Date) > > Lureen_Reviewed_Date 06/16/2011 (Date) > > Lureen_Reviewed 2 (long integer) > > > > The statement returns OK > > > > Could someone tell me what's wrong with it, I can't see what's wrong. > > TIA, > > Ed > > > > Edward P. Tesiny > > Director of Evaluation and Outcomes Management > > New York State OASAS > > 1450 Western Avenue > > Albany, NY 12203 > > Phone: (518) 485-2322 > > Fax: (518) 485-5228 > > EdTesiny at oasas.ny.gov > > > > IMPORTANT: This E-mail may contain confidential material for the sole > use of the intended recipient. The use, distribution, transmittal or > re-transmittal by an unintended recipient of any communication is > prohibited without our express approval in writing or by e-mail. Any > use, distribution, transmittal or re-transmittal by persons who are not > intended recipients of this e-mail may be a violation of law and is > strictly prohibited. If you are not the intended recipient please > contact the sender and delete all copies. E-mail transmission cannot be > guaranteed to be secure or error-free. The sender therefore does not > accept liability for any errors or omissions in the contents of this > transmission. All e-mails sent to or from NYS OASAS are to be used for > our business purposes only. E-mails sent from or to NYS OASAS are > subject to review by the Agency. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Paul Hartland paul.hartland at googlemail.com From ab-mi at post3.tele.dk Tue Sep 6 14:25:21 2011 From: ab-mi at post3.tele.dk (Asger Blond) Date: Tue, 6 Sep 2011 21:25:21 +0200 Subject: [AccessD] IIF Function In-Reply-To: References: Message-ID: IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date])<3 And [Lureen_Reviewed]<>2,"OK","Followup") Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Tesiny, Ed Sendt: 6. september 2011 21:16 Til: Off Topic; Access Developers discussion and problem solving Emne: [AccessD] IIF Function Hi All, I have the following IIF statement in a query: LureenRev1: IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date]<3 And [Lureen_Reviewed]<>2),"OK","Followup") RssApplicationApproved 06/17/2011 (Date) Lureen_Reviewed_Date 06/16/2011 (Date) Lureen_Reviewed 2 (long integer) The statement returns OK Could someone tell me what's wrong with it, I can't see what's wrong. TIA, Ed Edward P. Tesiny Director of Evaluation and Outcomes Management New York State OASAS 1450 Western Avenue Albany, NY 12203 Phone: (518) 485-2322 Fax: (518) 485-5228 EdTesiny at oasas.ny.gov IMPORTANT: This E-mail may contain confidential material for the sole use of the intended recipient. The use, distribution, transmittal or re-transmittal by an unintended recipient of any communication is prohibited without our express approval in writing or by e-mail. Any use, distribution, transmittal or re-transmittal by persons who are not intended recipients of this e-mail may be a violation of law and is strictly prohibited. If you are not the intended recipient please contact the sender and delete all copies. E-mail transmission cannot be guaranteed to be secure or error-free. The sender therefore does not accept liability for any errors or omissions in the contents of this transmission. All e-mails sent to or from NYS OASAS are to be used for our business purposes only. E-mails sent from or to NYS OASAS are subject to review by the Agency. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jm.hwsn at gmail.com Tue Sep 6 14:30:10 2011 From: jm.hwsn at gmail.com (jm.hwsn) Date: Tue, 6 Sep 2011 14:30:10 -0500 Subject: [AccessD] IIF Function In-Reply-To: References: Message-ID: <4e6674c4.100d960a.6705.0b58@mx.google.com> I believe your statement needs a closing parens after [Lureen_Reviewed_Date] just before the left caret ( < ). So the formula should look like: IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date]) <3 And [Lureen_Reviewed]<>2),"OK","Followup") HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed Sent: Tuesday, September 06, 2011 2:16 PM To: Off Topic; Access Developers discussion and problem solving Subject: [AccessD] IIF Function Hi All, I have the following IIF statement in a query: LureenRev1: IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date]<3 And [Lureen_Reviewed]<>2),"OK","Followup") RssApplicationApproved 06/17/2011 (Date) Lureen_Reviewed_Date 06/16/2011 (Date) Lureen_Reviewed 2 (long integer) The statement returns OK Could someone tell me what's wrong with it, I can't see what's wrong. TIA, Ed Edward P. Tesiny Director of Evaluation and Outcomes Management New York State OASAS 1450 Western Avenue Albany, NY 12203 Phone: (518) 485-2322 Fax: (518) 485-5228 EdTesiny at oasas.ny.gov IMPORTANT: This E-mail may contain confidential material for the sole use of the intended recipient. The use, distribution, transmittal or re-transmittal by an unintended recipient of any communication is prohibited without our express approval in writing or by e-mail. Any use, distribution, transmittal or re-transmittal by persons who are not intended recipients of this e-mail may be a violation of law and is strictly prohibited. If you are not the intended recipient please contact the sender and delete all copies. E-mail transmission cannot be guaranteed to be secure or error-free. The sender therefore does not accept liability for any errors or omissions in the contents of this transmission. All e-mails sent to or from NYS OASAS are to be used for our business purposes only. E-mails sent from or to NYS OASAS are subject to review by the Agency. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From EdTesiny at oasas.ny.gov Tue Sep 6 14:31:17 2011 From: EdTesiny at oasas.ny.gov (Tesiny, Ed) Date: Tue, 6 Sep 2011 15:31:17 -0400 Subject: [AccessD] IIF Function In-Reply-To: References: Message-ID: Paul/Asger, Of course you're right...I hate it when you make a mistake with a ")" Thank you! Ed Tesiny EdTesiny at oasas.ny.gov -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond Sent: Tuesday, September 06, 2011 3:25 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] IIF Function IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date])<3 And [Lureen_Reviewed]<>2,"OK","Followup") Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Tesiny, Ed Sendt: 6. september 2011 21:16 Til: Off Topic; Access Developers discussion and problem solving Emne: [AccessD] IIF Function Hi All, I have the following IIF statement in a query: LureenRev1: IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date]<3 And [Lureen_Reviewed]<>2),"OK","Followup") RssApplicationApproved 06/17/2011 (Date) Lureen_Reviewed_Date 06/16/2011 (Date) Lureen_Reviewed 2 (long integer) The statement returns OK Could someone tell me what's wrong with it, I can't see what's wrong. TIA, Ed Edward P. Tesiny Director of Evaluation and Outcomes Management New York State OASAS 1450 Western Avenue Albany, NY 12203 Phone: (518) 485-2322 Fax: (518) 485-5228 EdTesiny at oasas.ny.gov IMPORTANT: This E-mail may contain confidential material for the sole use of the intended recipient. The use, distribution, transmittal or re-transmittal by an unintended recipient of any communication is prohibited without our express approval in writing or by e-mail. Any use, distribution, transmittal or re-transmittal by persons who are not intended recipients of this e-mail may be a violation of law and is strictly prohibited. If you are not the intended recipient please contact the sender and delete all copies. E-mail transmission cannot be guaranteed to be secure or error-free. The sender therefore does not accept liability for any errors or omissions in the contents of this transmission. All e-mails sent to or from NYS OASAS are to be used for our business purposes only. E-mails sent from or to NYS OASAS are subject to review by the Agency. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 stephen at bondsoftware.co.nz Tue Sep 6 15:07:28 2011 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Wed, 07 Sep 2011 08:07:28 +1200 Subject: [AccessD] SQL Server advice In-Reply-To: References: Message-ID: The list does it again. Not for the first time. John, Arthur, Susan, Mark, Jim - many thanks. SQL Express 2008 it is then for the Win7 box, and I'll leave the SQL2000 on the XP box as a gracefully ageing toy (my very own Model T) Stephen Bond From vbacreations at gmail.com Tue Sep 6 16:44:48 2011 From: vbacreations at gmail.com (William Benson) Date: Tue, 6 Sep 2011 17:44:48 -0400 Subject: [AccessD] IIF Function In-Reply-To: References: Message-ID: But they didn't ... you did! Ha ha ha I crack myself up. No offense, really, I am just in a wacky mood. On Tue, Sep 6, 2011 at 3:31 PM, Tesiny, Ed wrote: > Paul/Asger, > Of course you're right...I hate it when you make a mistake with a ")" > Thank you! > > Ed Tesiny > EdTesiny at oasas.ny.gov > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond > Sent: Tuesday, September 06, 2011 3:25 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] IIF Function > > > IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date])<3 And > [Lureen_Reviewed]<>2,"OK","Followup") > > Asger > > -----Oprindelig meddelelse----- > Fra: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] P? vegne af Tesiny, Ed > Sendt: 6. september 2011 21:16 > Til: Off Topic; Access Developers discussion and problem solving > Emne: [AccessD] IIF Function > > Hi All, > > I have the following IIF statement in a query: > > > > LureenRev1: > IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date]<3 And > [Lureen_Reviewed]<>2),"OK","Followup") > > > > RssApplicationApproved 06/17/2011 (Date) > > Lureen_Reviewed_Date 06/16/2011 (Date) > > Lureen_Reviewed 2 (long integer) > > > > The statement returns OK > > > > Could someone tell me what's wrong with it, I can't see what's wrong. > > TIA, > > Ed > > > > Edward P. Tesiny > > Director of Evaluation and Outcomes Management > > New York State OASAS > > 1450 Western Avenue > > Albany, NY 12203 > > Phone: (518) 485-2322 > > Fax: (518) 485-5228 > > EdTesiny at oasas.ny.gov > > > > IMPORTANT: This E-mail may contain confidential material for the sole > use of the intended recipient. The use, distribution, transmittal or > re-transmittal by an unintended recipient of any communication is > prohibited without our express approval in writing or by e-mail. Any > use, distribution, transmittal or re-transmittal by persons who are not > intended recipients of this e-mail may be a violation of law and is > strictly prohibited. If you are not the intended recipient please > contact the sender and delete all copies. E-mail transmission cannot be > guaranteed to be secure or error-free. The sender therefore does not > accept liability for any errors or omissions in the contents of this > transmission. All e-mails sent to or from NYS OASAS are to be used for > our business purposes only. E-mails sent from or to NYS OASAS are > subject to review by the Agency. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 > -- *Regards,* ** ** *Bill Benson* *VBACreations* ** PS: You've gotten this e-mail *because you matter to me!* From jwcolby at colbyconsulting.com Tue Sep 6 16:45:33 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 06 Sep 2011 17:45:33 -0400 Subject: [AccessD] SQL Server advice In-Reply-To: References: Message-ID: <4E66947D.9080003@colbyconsulting.com> LOL. did you say the win7 box a laptop? If not, throw some more memory on it and migrate the sql server 2000 machine to a vm. The best of both worlds. You can get faster hardware and start / stop it as you need. John W. Colby www.ColbyConsulting.com On 9/6/2011 4:07 PM, Stephen Bond wrote: > The list does it again. > Not for the first time. > John, Arthur, Susan, Mark, Jim - many thanks. > > SQL Express 2008 it is then for the Win7 box, and I'll leave the SQL2000 > on the XP box as a gracefully ageing toy (my very own Model T) > > Stephen Bond > From kismert at gmail.com Tue Sep 6 16:52:13 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Tue, 6 Sep 2011 16:52:13 -0500 Subject: [AccessD] Passing ParamArrays down the line Message-ID: John: It's true: you can't pass a ParamArray to a routine expecting a Variant() or Variant parameter. You have to convert to a Variant array first. You can pass ParamArrays to other routines accepting a ParamArray. But, the initial ParamArray gets nested in element(0) in the ParamArray of the called routine, making the values hard to extract. This routine takes any ParamArray with any level of nesting, and returns the actual values as a plain variant array: ' UnpackParamArray ' ' Unpacks the given ParamArray, and returns it as a Variant array ' * Handles nested ParamArray calls ' * Handles an array passed to a ParamArray ' ' Allows several parameter passing styles: ' 1. ParamArray from another routine -- lowest-level nested array ' 2. Variant Array as only parameter -- " " ' 3. List of values -- returns array containing values given ' (works, but use Array() instead) ' ParamArray Nesting ' * Every time you pass a ParamArray to another routine, it gets nested as ' element 0 in the new ParamArray: ' ' Nest Level Array Structure ' --------------------------------------------------------------------------- ' 1 Array(N) ' 2 Array(0) -> Array(N) ' 3 Array(0) -> Array(0) -> Array(N) ' 4 Array(0) -> Array(0) -> Array(0) -> Array(N) ' ' * This function unwraps the nested Array(0) pointers until the base array is found. ' * When you pass a standard array to a ParamArray, you start at nest level 2. ' ' Notes: ' * ParamArrays can only be passed to other Routines as ParamArrays ' * Passing ParamArray() to Variant() or Variant will result in an ' 'Invalid Use Of ParamArray' compile error. ' * If an object with a default property is passed, the property is used instead of the object ' Public Function UnpackParamArray(ParamArray vParameters() As Variant) As Variant() Dim vOut() As Variant Dim vTemp() As Variant Dim lUBound As Long On Error GoTo HandleErr ' empty array: LBound=0; UBound=-1 UnpackParamArray = VBA.Array() vOut() = vParameters() lUBound = UBound(vOut) ' If UBound > 0, some regular array has been found, so skip this loop Do While (lUBound = 0) If IsArray(vOut(0)) Then ' Swap carefully to avoid fatal error vTemp() = vOut(0) Erase vOut() vOut() = vTemp() Erase vTemp() ' test the bounds of the new array lUBound = UBound(vOut) Else ' scalar or object value: return array holding it lUBound = 1 End If Loop If lUBound >= 0 Then ' Return UnpackParamArray = vOut() End If Exit Function HandleErr: Err.Raise Err.Number, "UnpackParamArray" & VbCrLf & Err.Source, Err.Description End Function jwcolby: > I use param arrays to allow me to pass in things like group ids that a user > might belong to. The following fails: > > Function mPLSUserInGroup(ParamArray Grps() As Variant) As Boolean > mPLSUserInGroup = cPLS.cCurrUser.pUserInGrp(**Grps) > End Function > > However the following works: > > Function mPLSUserInGroup(ParamArray Grps() As Variant) As Boolean > Dim lGrps() As Variant > lGrps = Grps > mPLSUserInGroup = cPLS.cCurrUser.pUserInGrp(**lGrps) > End Function > > Thus in order to push a paramarray into another function we just need to > dim an array, set it equal to the paramarray and then push that array on > down. > > Pretty strange that a ParamArray cannot be directly passed along. > From ab-mi at post3.tele.dk Tue Sep 6 16:54:00 2011 From: ab-mi at post3.tele.dk (Asger Blond) Date: Tue, 6 Sep 2011 23:54:00 +0200 Subject: [AccessD] IIF Function In-Reply-To: References: Message-ID: :) Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af William Benson Sendt: 6. september 2011 23:45 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] IIF Function But they didn't ... you did! Ha ha ha I crack myself up. No offense, really, I am just in a wacky mood. On Tue, Sep 6, 2011 at 3:31 PM, Tesiny, Ed wrote: > Paul/Asger, > Of course you're right...I hate it when you make a mistake with a ")" > Thank you! > > Ed Tesiny > EdTesiny at oasas.ny.gov > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond > Sent: Tuesday, September 06, 2011 3:25 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] IIF Function > > > IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date])<3 And > [Lureen_Reviewed]<>2,"OK","Followup") > > Asger > > -----Oprindelig meddelelse----- > Fra: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] P? vegne af Tesiny, Ed > Sendt: 6. september 2011 21:16 > Til: Off Topic; Access Developers discussion and problem solving > Emne: [AccessD] IIF Function > > Hi All, > > I have the following IIF statement in a query: > > > > LureenRev1: > IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date]<3 And > [Lureen_Reviewed]<>2),"OK","Followup") > > > > RssApplicationApproved 06/17/2011 (Date) > > Lureen_Reviewed_Date 06/16/2011 (Date) > > Lureen_Reviewed 2 (long integer) > > > > The statement returns OK > > > > Could someone tell me what's wrong with it, I can't see what's wrong. > > TIA, > > Ed > > > > Edward P. Tesiny > > Director of Evaluation and Outcomes Management > > New York State OASAS > > 1450 Western Avenue > > Albany, NY 12203 > > Phone: (518) 485-2322 > > Fax: (518) 485-5228 > > EdTesiny at oasas.ny.gov > > > > IMPORTANT: This E-mail may contain confidential material for the sole > use of the intended recipient. The use, distribution, transmittal or > re-transmittal by an unintended recipient of any communication is > prohibited without our express approval in writing or by e-mail. Any > use, distribution, transmittal or re-transmittal by persons who are not > intended recipients of this e-mail may be a violation of law and is > strictly prohibited. If you are not the intended recipient please > contact the sender and delete all copies. E-mail transmission cannot be > guaranteed to be secure or error-free. The sender therefore does not > accept liability for any errors or omissions in the contents of this > transmission. All e-mails sent to or from NYS OASAS are to be used for > our business purposes only. E-mails sent from or to NYS OASAS are > subject to review by the Agency. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 > -- *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 jwcolby at colbyconsulting.com Tue Sep 6 16:59:16 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 06 Sep 2011 17:59:16 -0400 Subject: [AccessD] Passing ParamArrays down the line In-Reply-To: References: Message-ID: <4E6697B4.3080601@colbyconsulting.com> I actually just copied the param array into an array() ov var and passed that. It just never occurred to me to try that. John W. Colby www.ColbyConsulting.com On 9/6/2011 5:52 PM, Kenneth Ismert wrote: > John: > > It's true: you can't pass a ParamArray to a routine expecting a Variant() or > Variant parameter. You have to convert to a Variant array first. > > You can pass ParamArrays to other routines accepting a ParamArray. But, the > initial ParamArray gets nested in element(0) in the ParamArray of the called > routine, making the values hard to extract. > > This routine takes any ParamArray with any level of nesting, and returns the > actual values as a plain variant array: > > ' UnpackParamArray > ' > ' Unpacks the given ParamArray, and returns it as a Variant array > ' * Handles nested ParamArray calls > ' * Handles an array passed to a ParamArray > ' > ' Allows several parameter passing styles: > ' 1. ParamArray from another routine -- lowest-level nested array > ' 2. Variant Array as only parameter -- " " > ' 3. List of values -- returns array containing > values given > ' (works, but use Array() instead) > ' ParamArray Nesting > ' * Every time you pass a ParamArray to another routine, it gets nested as > ' element 0 in the new ParamArray: > ' > ' Nest Level Array Structure > ' > --------------------------------------------------------------------------- > ' 1 Array(N) > ' 2 Array(0) -> Array(N) > ' 3 Array(0) -> Array(0) -> Array(N) > ' 4 Array(0) -> Array(0) -> Array(0) -> Array(N) > ' > ' * This function unwraps the nested Array(0) pointers until the base array > is found. > ' * When you pass a standard array to a ParamArray, you start at nest level > 2. > ' > ' Notes: > ' * ParamArrays can only be passed to other Routines as ParamArrays > ' * Passing ParamArray() to Variant() or Variant will result in an > ' 'Invalid Use Of ParamArray' compile error. > ' * If an object with a default property is passed, the property is used > instead of the object > ' > Public Function UnpackParamArray(ParamArray vParameters() As Variant) As > Variant() > > Dim vOut() As Variant > Dim vTemp() As Variant > Dim lUBound As Long > > On Error GoTo HandleErr > > ' empty array: LBound=0; UBound=-1 > UnpackParamArray = VBA.Array() > > vOut() = vParameters() > lUBound = UBound(vOut) > > ' If UBound> 0, some regular array has been found, so skip this loop > Do While (lUBound = 0) > > If IsArray(vOut(0)) Then > ' Swap carefully to avoid fatal error > vTemp() = vOut(0) > Erase vOut() > vOut() = vTemp() > Erase vTemp() > ' test the bounds of the new array > lUBound = UBound(vOut) > > Else > ' scalar or object value: return array holding it > lUBound = 1 > > End If > > Loop > > If lUBound>= 0 Then > ' Return > UnpackParamArray = vOut() > End If > > Exit Function > > HandleErr: > Err.Raise Err.Number, "UnpackParamArray"& VbCrLf& Err.Source, > Err.Description > End Function > > > jwcolby: >> I use param arrays to allow me to pass in things like group ids that a user >> might belong to. The following fails: >> >> Function mPLSUserInGroup(ParamArray Grps() As Variant) As Boolean >> mPLSUserInGroup = cPLS.cCurrUser.pUserInGrp(**Grps) >> End Function >> >> However the following works: >> >> Function mPLSUserInGroup(ParamArray Grps() As Variant) As Boolean >> Dim lGrps() As Variant >> lGrps = Grps >> mPLSUserInGroup = cPLS.cCurrUser.pUserInGrp(**lGrps) >> End Function >> >> Thus in order to push a paramarray into another function we just need to >> dim an array, set it equal to the paramarray and then push that array on >> down. >> >> Pretty strange that a ParamArray cannot be directly passed along. >> From darryl at whittleconsulting.com.au Tue Sep 6 18:35:18 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 7 Sep 2011 09:35:18 +1000 Subject: [AccessD] SQL Server advice In-Reply-To: References: <63403747290942CF848F636F67DF3A1A@BondSoftware.local> Message-ID: <001c01cc6ced$a387d9a0$ea978ce0$@com.au> Why not just download the free version Denali "Community Technology Preview 3" (CTP3), that is what I did a while back and it has been good to use so far and dead easy to setup. Nice one :). <> Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, 6 September 2011 8:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SQL Server advice You would be totally wasting your time with SQL 2000. Why begin your learning 2 versions behind? And within 6 months, you'd be 3 versions behind (Denali will be released by then). Since you have a six-month window, my advice would be to install SQL 2008 Express on a Windows 7 box with about 4 gigs of RAM. For diving into SQL Server, this would be a sufficient learning machine. As JC wrote, you won't get all the benefits of a serious machine, but it's not for you anyway, it's for the client to decide whether to pick up that cost. Everything you learn on Express is directly applicable to upscale versions. Granted, there are a few things you won't be able to learn (clustered dbs, for example), but if you make it through the major stuff (Management Studio, T-SQL, views, stored procedures, User Defined Functions, Reporting Services and Analysis Services), what remains to learn won't take long. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Tue Sep 6 20:34:03 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 7 Sep 2011 11:34:03 +1000 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <4E6697B4.3080601@colbyconsulting.com> References: <4E6697B4.3080601@colbyconsulting.com> Message-ID: <002601cc6cfe$3a74d510$af5e7f30$@com.au> Uh oh... I thought today was going too darn well. I am working with data which has "#" as part of the string which causes the VBA code to fail For Example: gstrSQL = vbNullString gstrSQL = gstrSQL & " SELECT" gstrSQL = gstrSQL & " Activity," gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" gstrSQL = gstrSQL & " FROM ProbC_tblActivities" gstrSQL = gstrSQL & " GROUP BY Activity" gstrSQL = gstrSQL & " HAVING Activity="#Input" gstrSQL = gstrSQL & " AND Total_CF <> 0" Which sort of makes sense as the # is used in VBA for Conditional Compile. Is there some way I can I get VBA to accept the # as part of the string and not a command? Google has fairly useless when searching for "#" as well. Bah humbubg. Cheers Darryl From charlotte.foust at gmail.com Tue Sep 6 20:42:36 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Tue, 6 Sep 2011 18:42:36 -0700 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <002601cc6cfe$3a74d510$af5e7f30$@com.au> References: <4E6697B4.3080601@colbyconsulting.com> <002601cc6cfe$3a74d510$af5e7f30$@com.au> Message-ID: If you copied this from your code, the # isn't why it's failing. Remove the stray " before the # and see what happens. Charlotte Foust On Tue, Sep 6, 2011 at 6:34 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Uh oh... I thought today was going too darn well. > > I am working with data which has "#" as part of the string which causes the > VBA code to fail > > For Example: > > gstrSQL = vbNullString > gstrSQL = gstrSQL & " SELECT" > gstrSQL = gstrSQL & " Activity," > gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" > gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" > gstrSQL = gstrSQL & " FROM ProbC_tblActivities" > gstrSQL = gstrSQL & " GROUP BY Activity" > gstrSQL = gstrSQL & " HAVING Activity="#Input" > gstrSQL = gstrSQL & " AND Total_CF <> 0" > > Which sort of makes sense as the # is used in VBA for Conditional Compile. > > Is there some way I can I get VBA to accept the # as part of the string and > not a command? > > Google has fairly useless when searching for "#" as well. Bah humbubg. > > 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 Sep 6 20:45:09 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 06 Sep 2011 21:45:09 -0400 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <002601cc6cfe$3a74d510$af5e7f30$@com.au> References: <4E6697B4.3080601@colbyconsulting.com> <002601cc6cfe$3a74d510$af5e7f30$@com.au> Message-ID: <4E66CCA5.9030603@colbyconsulting.com> # on both sides signifies a date but *only* in the Access version of SQL, not (for example) in TSQL for SQL Server. Probably you are confusing Access SQL by making it think you are trying to specify a date. John W. Colby www.ColbyConsulting.com On 9/6/2011 9:34 PM, Darryl Collins wrote: > Uh oh... I thought today was going too darn well. > > I am working with data which has "#" as part of the string which causes the > VBA code to fail > > For Example: > > gstrSQL = vbNullString > gstrSQL = gstrSQL& " SELECT" > gstrSQL = gstrSQL& " Activity," > gstrSQL = gstrSQL& " SUM(Activity_CF) AS Total_CF" > gstrSQL = gstrSQL& " SUM(Activity_DCF) AS Total_DCF" > gstrSQL = gstrSQL& " FROM ProbC_tblActivities" > gstrSQL = gstrSQL& " GROUP BY Activity" > gstrSQL = gstrSQL& " HAVING Activity="#Input" > gstrSQL = gstrSQL& " AND Total_CF<> 0" > > Which sort of makes sense as the # is used in VBA for Conditional Compile. > > Is there some way I can I get VBA to accept the # as part of the string and > not a command? > > Google has fairly useless when searching for "#" as well. Bah humbubg. > > Cheers > Darryl > From newsgrps at dalyn.co.nz Tue Sep 6 20:50:24 2011 From: newsgrps at dalyn.co.nz (newsgrps) Date: Wed, 07 Sep 2011 13:50:24 +1200 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <002601cc6cfe$3a74d510$af5e7f30$@com.au> References: <4E6697B4.3080601@colbyconsulting.com> <002601cc6cfe$3a74d510$af5e7f30$@com.au> Message-ID: <20110907015040.DIJG839.mta02.xtra.co.nz@David-PC.dalyn.co.nz> Darryl Try gstrSQL = gstrSQL & " HAVING Activity='#Input'" (Putting #Input within single quotes.) Regards David Emerson Dalyn Software Ltd New Zealand At 7/09/2011, Darryl Collins wrote: >Uh oh... I thought today was going too darn well. > >I am working with data which has "#" as part of the string which causes the >VBA code to fail > >For Example: > >gstrSQL = vbNullString >gstrSQL = gstrSQL & " SELECT" >gstrSQL = gstrSQL & " Activity," >gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" >gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" >gstrSQL = gstrSQL & " FROM ProbC_tblActivities" >gstrSQL = gstrSQL & " GROUP BY Activity" >gstrSQL = gstrSQL & " HAVING Activity="#Input" >gstrSQL = gstrSQL & " AND Total_CF <> 0" > >Which sort of makes sense as the # is used in VBA for Conditional Compile. > >Is there some way I can I get VBA to accept the # as part of the string and >not a command? > >Google has fairly useless when searching for "#" as well. Bah humbubg. > >Cheers >Darryl > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From dbdoug at gmail.com Tue Sep 6 21:06:08 2011 From: dbdoug at gmail.com (Doug Steele) Date: Tue, 6 Sep 2011 19:06:08 -0700 Subject: [AccessD] Access date problem In-Reply-To: References: Message-ID: Thanks, Gustav - I know you've gone over this many times before! In this particular case, I was just typing into the immediate window, and I had checked that the computer's Windows date format was mm/dd/yyyy. When I use the Weekday function in code, I always use Date/Time variables. Doug On Mon, Sep 5, 2011 at 11:17 PM, Gustav Brock wrote: > Hi Doug > > Weekday("9/4/2011") and Weekday(#9/4/2011#) is not the same thing so if > that computer doesn't use the "reverse" US date format (mm/dd/yyyy) your > expression will read as 2011-04-09. > > Always use data type date/time for dates in VB(A). > > /gustav > > > >>> dbdoug at gmail.com 05-09-2011 18:19 >>> > Hello All: > > I have some code which depends on the weekday number. On all computers > except for one of my client's, it runs OK. The computers are a mixed bag > of > Access 2003, 2010 and Windows 7 and Vista. > > On the 'bad' computer, everything is off by one day. Debugging on this > computer gives '7' as the result of Weekday("9/4/2011") - a Sunday. > According to Access help, the default for Sunday is 1. I've checked the > Windows 7 Regional and Language settings on this computer and 'Sunday' is > set as the first day of the week. So Access and Windows are different. > > I can't find a setting in Access to change this, and nothing on the Web. > But it must be some kind of configuration setup - does anyone have a > suggestion? > > Thanks, > Doug > > > -- > 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 Sep 6 21:16:18 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 07 Sep 2011 12:16:18 +1000 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <002601cc6cfe$3a74d510$af5e7f30$@com.au> References: , <4E6697B4.3080601@colbyconsulting.com>, <002601cc6cfe$3a74d510$af5e7f30$@com.au> Message-ID: <4E66D3F2.25051.2899085E@stuart.lexacorp.com.pg> As others have pointed out, the # is not the problem. #Input is a string inside your SQL which needs to be delimited inside your strSQL. You are using double quotes as your strSQL building delimiter so the inner variable needs to be surrounded by single quotes. Also you are missing a comma after Total_CF Try this: gstrSQL = "SELECT " & _ "Activity, " & _ "SUM(Activity_CF) AS Total_CF," & _ "SUM(Activity_DCF) AS Total_DCF " & _ "FROM ProbC_tblActivities " & _ "GROUP BY Activity " & _ "HAVING Activity='#Input' " & _ "AND Total_CF <> 0" & _ On 7 Sep 2011 at 11:34, Darryl Collins wrote: > Uh oh... I thought today was going too darn well. > > I am working with data which has "#" as part of the string which > causes the VBA code to fail > > For Example: > > gstrSQL = vbNullString > gstrSQL = gstrSQL & " SELECT" > gstrSQL = gstrSQL & " Activity," > gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" > gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" > gstrSQL = gstrSQL & " FROM ProbC_tblActivities" > gstrSQL = gstrSQL & " GROUP BY Activity" > gstrSQL = gstrSQL & " HAVING Activity="#Input" > gstrSQL = gstrSQL & " AND Total_CF <> 0" > > Which sort of makes sense as the # is used in VBA for Conditional > Compile. > > Is there some way I can I get VBA to accept the # as part of the > string and not a command? > > Google has fairly useless when searching for "#" as well. Bah > humbubg. > > Cheers > Darryl > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Tue Sep 6 22:04:31 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 7 Sep 2011 13:04:31 +1000 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <4E66D3F2.25051.2899085E@stuart.lexacorp.com.pg> References: , <4E6697B4.3080601@colbyconsulting.com>, <002601cc6cfe$3a74d510$af5e7f30$@com.au> <4E66D3F2.25051.2899085E@stuart.lexacorp.com.pg> Message-ID: <002a01cc6d0a$dde5fec0$99b1fc40$@com.au> Hmmmm...... time for a coffee. Thanks guys... Stupid! Got it working fine now I have the my syntax and commas in place. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, 7 September 2011 12:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] String with "#" in VBA? As others have pointed out, the # is not the problem. #Input is a string inside your SQL which needs to be delimited inside your strSQL. You are using double quotes as your strSQL building delimiter so the inner variable needs to be surrounded by single quotes. Also you are missing a comma after Total_CF Try this: gstrSQL = "SELECT " & _ "Activity, " & _ "SUM(Activity_CF) AS Total_CF," & _ "SUM(Activity_DCF) AS Total_DCF " & _ "FROM ProbC_tblActivities " & _ "GROUP BY Activity " & _ "HAVING Activity='#Input' " & _ "AND Total_CF <> 0" & _ On 7 Sep 2011 at 11:34, Darryl Collins wrote: > Uh oh... I thought today was going too darn well. > > I am working with data which has "#" as part of the string which > causes the VBA code to fail > > For Example: > > gstrSQL = vbNullString > gstrSQL = gstrSQL & " SELECT" > gstrSQL = gstrSQL & " Activity," > gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" > gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" > gstrSQL = gstrSQL & " FROM ProbC_tblActivities" > gstrSQL = gstrSQL & " GROUP BY Activity" > gstrSQL = gstrSQL & " HAVING Activity="#Input" > gstrSQL = gstrSQL & " AND Total_CF <> 0" > > Which sort of makes sense as the # is used in VBA for Conditional > Compile. > > Is there some way I can I get VBA to accept the # as part of the > string and not a command? > > Google has fairly useless when searching for "#" as well. Bah > humbubg. > > Cheers > Darryl > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 6 22:15:44 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Tue, 6 Sep 2011 23:15:44 -0400 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <4E66D3F2.25051.2899085E@stuart.lexacorp.com.pg> References: , <4E6697B4.3080601@colbyconsulting.com>, <002601cc6cfe$3a74d510$af5e7f30$@com.au> <4E66D3F2.25051.2899085E@stuart.lexacorp.com.pg> Message-ID: <001501cc6d0c$6efc10b0$4cf43210$@gmail.com> I concur with the single-quotes and the comma additions... but I was not aware you are allowed to use the result field's name in the HAVING clause, I thought you needed to show the function again (see below)? gstrSQL = "" gstrSQL = gstrSQL & " SELECT" gstrSQL = gstrSQL & " Activity," gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF," gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" gstrSQL = gstrSQL & " FROM ProbC_tblActivities" gstrSQL = gstrSQL & " GROUP BY Activity" gstrSQL = gstrSQL & " HAVING Activity='#Input'" gstrSQL = gstrSQL & " AND SUM(Activity_CF) <> 0" -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, September 06, 2011 10:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] String with "#" in VBA? As others have pointed out, the # is not the problem. #Input is a string inside your SQL which needs to be delimited inside your strSQL. You are using double quotes as your strSQL building delimiter so the inner variable needs to be surrounded by single quotes. Also you are missing a comma after Total_CF Try this: gstrSQL = "SELECT " & _ "Activity, " & _ "SUM(Activity_CF) AS Total_CF," & _ "SUM(Activity_DCF) AS Total_DCF " & _ "FROM ProbC_tblActivities " & _ "GROUP BY Activity " & _ "HAVING Activity='#Input' " & _ "AND Total_CF <> 0" & _ On 7 Sep 2011 at 11:34, Darryl Collins wrote: > Uh oh... I thought today was going too darn well. > > I am working with data which has "#" as part of the string which > causes the VBA code to fail > > For Example: > > gstrSQL = vbNullString > gstrSQL = gstrSQL & " SELECT" > gstrSQL = gstrSQL & " Activity," > gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" > gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" > gstrSQL = gstrSQL & " FROM ProbC_tblActivities" > gstrSQL = gstrSQL & " GROUP BY Activity" > gstrSQL = gstrSQL & " HAVING Activity="#Input" > gstrSQL = gstrSQL & " AND Total_CF <> 0" > > Which sort of makes sense as the # is used in VBA for Conditional > Compile. > > Is there some way I can I get VBA to accept the # as part of the > string and not a command? > > Google has fairly useless when searching for "#" as well. Bah > humbubg. > > Cheers > Darryl > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 6 22:20:07 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 7 Sep 2011 13:20:07 +1000 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <002a01cc6d0a$dde5fec0$99b1fc40$@com.au> References: , <4E6697B4.3080601@colbyconsulting.com>, <002601cc6cfe$3a74d510$af5e7f30$@com.au> <4E66D3F2.25051.2899085E@stuart.lexacorp.com.pg> <002a01cc6d0a$dde5fec0$99b1fc40$@com.au> Message-ID: <002b01cc6d0d$0b299a20$217cce60$@com.au> Here is what I ended up using. gstrSQL = vbNullString gstrSQL = gstrSQL & "SELECT" gstrSQL = gstrSQL & " Activity," gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" gstrSQL = gstrSQL & " FROM ProbC_tblActivities" gstrSQL = gstrSQL & " GROUP BY Activity" gstrSQL = gstrSQL & " HAVING Activity='#Input'" The rest of the code was not required. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, 7 September 2011 1:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] String with "#" in VBA? Hmmmm...... time for a coffee. Thanks guys... Stupid! Got it working fine now I have the my syntax and commas in place. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, 7 September 2011 12:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] String with "#" in VBA? As others have pointed out, the # is not the problem. #Input is a string inside your SQL which needs to be delimited inside your strSQL. You are using double quotes as your strSQL building delimiter so the inner variable needs to be surrounded by single quotes. Also you are missing a comma after Total_CF Try this: gstrSQL = "SELECT " & _ "Activity, " & _ "SUM(Activity_CF) AS Total_CF," & _ "SUM(Activity_DCF) AS Total_DCF " & _ "FROM ProbC_tblActivities " & _ "GROUP BY Activity " & _ "HAVING Activity='#Input' " & _ "AND Total_CF <> 0" & _ On 7 Sep 2011 at 11:34, Darryl Collins wrote: > Uh oh... I thought today was going too darn well. > > I am working with data which has "#" as part of the string which > causes the VBA code to fail > > For Example: > > gstrSQL = vbNullString > gstrSQL = gstrSQL & " SELECT" > gstrSQL = gstrSQL & " Activity," > gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" > gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" > gstrSQL = gstrSQL & " FROM ProbC_tblActivities" > gstrSQL = gstrSQL & " GROUP BY Activity" > gstrSQL = gstrSQL & " HAVING Activity="#Input" > gstrSQL = gstrSQL & " AND Total_CF <> 0" > > Which sort of makes sense as the # is used in VBA for Conditional > Compile. > > Is there some way I can I get VBA to accept the # as part of the > string and not a command? > > Google has fairly useless when searching for "#" as well. Bah > humbubg. > > Cheers > Darryl > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Tue Sep 6 22:24:24 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 7 Sep 2011 13:24:24 +1000 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <001501cc6d0c$6efc10b0$4cf43210$@gmail.com> References: , <4E6697B4.3080601@colbyconsulting.com>, <002601cc6cfe$3a74d510$af5e7f30$@com.au> <4E66D3F2.25051.2899085E@stuart.lexacorp.com.pg> <001501cc6d0c$6efc10b0$4cf43210$@gmail.com> Message-ID: <003101cc6d0d$a4552e30$ecff8a90$@com.au> Yes, that syntax would be correct Bill. Man, I made a mess of this one didn't I... hmmmmm. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, 7 September 2011 1:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] String with "#" in VBA? I concur with the single-quotes and the comma additions... but I was not aware you are allowed to use the result field's name in the HAVING clause, I thought you needed to show the function again (see below)? gstrSQL = "" gstrSQL = gstrSQL & " SELECT" gstrSQL = gstrSQL & " Activity," gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF," gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" gstrSQL = gstrSQL & " FROM ProbC_tblActivities" gstrSQL = gstrSQL & " GROUP BY Activity" gstrSQL = gstrSQL & " HAVING Activity='#Input'" gstrSQL = gstrSQL & " AND SUM(Activity_CF) <> 0" -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, September 06, 2011 10:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] String with "#" in VBA? As others have pointed out, the # is not the problem. #Input is a string inside your SQL which needs to be delimited inside your strSQL. You are using double quotes as your strSQL building delimiter so the inner variable needs to be surrounded by single quotes. Also you are missing a comma after Total_CF Try this: gstrSQL = "SELECT " & _ "Activity, " & _ "SUM(Activity_CF) AS Total_CF," & _ "SUM(Activity_DCF) AS Total_DCF " & _ "FROM ProbC_tblActivities " & _ "GROUP BY Activity " & _ "HAVING Activity='#Input' " & _ "AND Total_CF <> 0" & _ On 7 Sep 2011 at 11:34, Darryl Collins wrote: > Uh oh... I thought today was going too darn well. > > I am working with data which has "#" as part of the string which > causes the VBA code to fail > > For Example: > > gstrSQL = vbNullString > gstrSQL = gstrSQL & " SELECT" > gstrSQL = gstrSQL & " Activity," > gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" > gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" > gstrSQL = gstrSQL & " FROM ProbC_tblActivities" > gstrSQL = gstrSQL & " GROUP BY Activity" > gstrSQL = gstrSQL & " HAVING Activity="#Input" > gstrSQL = gstrSQL & " AND Total_CF <> 0" > > Which sort of makes sense as the # is used in VBA for Conditional > Compile. > > Is there some way I can I get VBA to accept the # as part of the > string and not a command? > > Google has fairly useless when searching for "#" as well. Bah > humbubg. > > Cheers > Darryl > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 6 22:41:41 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Tue, 6 Sep 2011 23:41:41 -0400 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <003101cc6d0d$a4552e30$ecff8a90$@com.au> References: , <4E6697B4.3080601@colbyconsulting.com>, <002601cc6cfe$3a74d510$af5e7f30$@com.au> <4E66D3F2.25051.2899085E@stuart.lexacorp.com.pg> <001501cc6d0c$6efc10b0$4cf43210$@gmail.com> <003101cc6d0d$a4552e30$ecff8a90$@com.au> Message-ID: <001601cc6d10$0f115440$2d33fcc0$@gmail.com> No more than anyone else going from the top of their head. To wit, no one else pointed out that the Having Clause required the actual computation. And, no one pointed out (including me) that most non-calculated constraints are put in a WHERE clause, not the Having clause. I would imagine the query plan Access builds handles that kind of misappropriation without fuss however. Some SQL which I generated using only the Access query designer (with unneeded parens removed). SELECT Max(Tbl_GIB.LASTMODIFIED_DATE) AS MyMaxDate, 1+1 AS SomeCalc FROM Tbl_GIB WHERE Tbl_GIB.SITE_DB<>'Bill' HAVING 1+1=2 And Max(Tbl_GIB.LASTMODIFIED_DATE) < #12/31/2050# This fails: SELECT Max(Tbl_GIB.LASTMODIFIED_DATE) AS MyMaxDate, 1+1 AS SomeCalc FROM Tbl_GIB WHERE Tbl_GIB.SITE_DB<>'Bill' HAVING SomeCalc =2 As does this SELECT Max(Tbl_GIB.LASTMODIFIED_DATE) AS MyMaxDate, 1+1 AS SomeCalc FROM Tbl_GIB HAVING MyMaxDate < #12/31/2050#; -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Tuesday, September 06, 2011 11:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] String with "#" in VBA? Yes, that syntax would be correct Bill. Man, I made a mess of this one didn't I... hmmmmm. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, 7 September 2011 1:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] String with "#" in VBA? I concur with the single-quotes and the comma additions... but I was not aware you are allowed to use the result field's name in the HAVING clause, I thought you needed to show the function again (see below)? gstrSQL = "" gstrSQL = gstrSQL & " SELECT" gstrSQL = gstrSQL & " Activity," gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF," gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" gstrSQL = gstrSQL & " FROM ProbC_tblActivities" gstrSQL = gstrSQL & " GROUP BY Activity" gstrSQL = gstrSQL & " HAVING Activity='#Input'" gstrSQL = gstrSQL & " AND SUM(Activity_CF) <> 0" -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, September 06, 2011 10:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] String with "#" in VBA? As others have pointed out, the # is not the problem. #Input is a string inside your SQL which needs to be delimited inside your strSQL. You are using double quotes as your strSQL building delimiter so the inner variable needs to be surrounded by single quotes. Also you are missing a comma after Total_CF Try this: gstrSQL = "SELECT " & _ "Activity, " & _ "SUM(Activity_CF) AS Total_CF," & _ "SUM(Activity_DCF) AS Total_DCF " & _ "FROM ProbC_tblActivities " & _ "GROUP BY Activity " & _ "HAVING Activity='#Input' " & _ "AND Total_CF <> 0" & _ On 7 Sep 2011 at 11:34, Darryl Collins wrote: > Uh oh... I thought today was going too darn well. > > I am working with data which has "#" as part of the string which > causes the VBA code to fail > > For Example: > > gstrSQL = vbNullString > gstrSQL = gstrSQL & " SELECT" > gstrSQL = gstrSQL & " Activity," > gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" > gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" > gstrSQL = gstrSQL & " FROM ProbC_tblActivities" > gstrSQL = gstrSQL & " GROUP BY Activity" > gstrSQL = gstrSQL & " HAVING Activity="#Input" > gstrSQL = gstrSQL & " AND Total_CF <> 0" > > Which sort of makes sense as the # is used in VBA for Conditional > Compile. > > Is there some way I can I get VBA to accept the # as part of the > string and not a command? > > Google has fairly useless when searching for "#" as well. Bah > humbubg. > > Cheers > Darryl > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 6 23:03:54 2011 From: vbacreations at gmail.com (William Benson) Date: Wed, 7 Sep 2011 00:03:54 -0400 Subject: [AccessD] Access date problem In-Reply-To: References: Message-ID: Obviously that computer was built on a Monday? Its always been GM's excuse. On Sep 5, 2011 5:14 PM, "Doug Steele" wrote: > Hi Charlotte: > Changing all instances of the Weekday function to include vbSunday as the > second parameter did fix the problem. I'm still curious, however, why one > computer in particular would have vbMonday set as the first day of the week > contrary to the Access documentation. > > Doug > > > On Mon, Sep 5, 2011 at 11:35 AM, Charlotte Foust > wrote: > >> It's set in vba using the Weekday function and specifying the optional >> firstdayofweek argument. If you just modify your code to include vbSunday, >> you should get the desired result. Have you tried that? >> >> Charlotte Foust >> >> On Mon, Sep 5, 2011 at 9:19 AM, Doug Steele wrote: >> >> > Hello All: >> > >> > I have some code which depends on the weekday number. On all computers >> > except for one of my client's, it runs OK. The computers are a mixed bag >> > of >> > Access 2003, 2010 and Windows 7 and Vista. >> > >> > On the 'bad' computer, everything is off by one day. Debugging on this >> > computer gives '7' as the result of Weekday("9/4/2011") - a Sunday. >> > According to Access help, the default for Sunday is 1. I've checked the >> > Windows 7 Regional and Language settings on this computer and 'Sunday' is >> > set as the first day of the week. So Access and Windows are different. >> > >> > I can't find a setting in Access to change this, and nothing on the Web. >> > But it must be some kind of configuration setup - does anyone have a >> > suggestion? >> > >> > 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 >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Gustav at cactus.dk Wed Sep 7 05:55:46 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 07 Sep 2011 12:55:46 +0200 Subject: [AccessD] SQL Server advice Message-ID: Hi Stephen Just pay attention to the limitations of SQL Server 2008 R2 Express: - Maximum 10 GB per database. - Uses no more than 1 processor. - Uses no more than 1 GB of internal memory. /gustav >>> stephen at bondsoftware.co.nz 06-09-2011 22:07 >>> The list does it again. Not for the first time. John, Arthur, Susan, Mark, Jim - many thanks. SQL Express 2008 it is then for the Win7 box, and I'll leave the SQL2000 on the XP box as a gracefully ageing toy (my very own Model T) Stephen Bond From fuller.artful at gmail.com Wed Sep 7 08:46:04 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 7 Sep 2011 09:46:04 -0400 Subject: [AccessD] Ac27 DLL Problem Message-ID: When I try to run the A2K7 upsizing wizard I immediately get the error "Error in Loading DLL." Anyone know why this is occurring and how to fix the problem? TIA, Arthur From jimdettman at verizon.net Wed Sep 7 08:51:21 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 07 Sep 2011 09:51:21 -0400 Subject: [AccessD] Of possible interest Message-ID: <7090E912B0544D45A427C7B55D04A980@XPS> picked this up from another list /group: http://www.zdnet.com/blog/microsoft/microsoft-to-focus-on-html5-and-javascri pt-for-office-15-extensions/10266 Something to think about... Jim. From accessd at shaw.ca Wed Sep 7 12:57:26 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 7 Sep 2011 10:57:26 -0700 Subject: [AccessD] Of possible interest In-Reply-To: <7090E912B0544D45A427C7B55D04A980@XPS> References: <7090E912B0544D45A427C7B55D04A980@XPS> Message-ID: <610914D12AB544868F8FF0CBB80BC76B@creativesystemdesigns.com> Excellent news and about time... It will not be long before we are all going web based. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, September 07, 2011 6:51 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Of possible interest picked this up from another list /group: http://www.zdnet.com/blog/microsoft/microsoft-to-focus-on-html5-and-javascri pt-for-office-15-extensions/10266 Something to think about... Jim. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Sep 7 13:03:08 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 7 Sep 2011 11:03:08 -0700 Subject: [AccessD] SQL Server advice In-Reply-To: <001c01cc6ced$a387d9a0$ea978ce0$@com.au> References: <63403747290942CF848F636F67DF3A1A@BondSoftware.local> <001c01cc6ced$a387d9a0$ea978ce0$@com.au> Message-ID: <968A7928D657458A9D0EFC2C72F52164@creativesystemdesigns.com> Thanks for the heads up Darryl. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Tuesday, September 06, 2011 4:35 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SQL Server advice Why not just download the free version Denali "Community Technology Preview 3" (CTP3), that is what I did a while back and it has been good to use so far and dead easy to setup. Nice one :). <> Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, 6 September 2011 8:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SQL Server advice You would be totally wasting your time with SQL 2000. Why begin your learning 2 versions behind? And within 6 months, you'd be 3 versions behind (Denali will be released by then). Since you have a six-month window, my advice would be to install SQL 2008 Express on a Windows 7 box with about 4 gigs of RAM. For diving into SQL Server, this would be a sufficient learning machine. As JC wrote, you won't get all the benefits of a serious machine, but it's not for you anyway, it's for the client to decide whether to pick up that cost. Everything you learn on Express is directly applicable to upscale versions. Granted, there are a few things you won't be able to learn (clustered dbs, for example), but if you make it through the major stuff (Management Studio, T-SQL, views, stored procedures, User Defined Functions, Reporting Services and Analysis Services), what remains to learn won't take long. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Wed Sep 7 13:21:02 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Wed, 07 Sep 2011 14:21:02 -0400 Subject: [AccessD] :) In-Reply-To: References: <3D568192E72C468FB4DD4A4693553C54@SusanHarkins><4E5CCF00.7000101@colbyconsulting.com><4E5D4E1B.21029.3661FC1@stuart.lexacorp.com.pg><9E95C48974A94C5D80EFB3444668BD61@HAL9007><8FC7AA6C2378493895EF53C A29E5509B@XPS><001401cc67de$d56db840$804928c0$@gmail.com> Message-ID: <4E67B60E.90401@torchlake.com> Okay, I just have to tell you guys this one. My Larry is from Indiana, which means that he has some regional pronunciation idiosyncrasies. He bought a new winch that he wanted mounted on the back end of his truck, so he went to Sam, our local guru, and asked him, "Can I mount a wench on the back of my truck?" To which, Sam responded, "Is Tina okay with this?" Before Larry caught on to the meaning, he said, "Well, of course, she is!" Then Sam said something about Larry's wife being more open-minded than his own wife about other women. That's when the light went on for Larry. One of our favorite little memories. :-) So, Arthur, you stay away from the wenches! Best, T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 8/31/2011 10:55 AM, Arthur Fuller wrote: > Nope. I have instead adopted the one-to-zero model. No wenches, no problems! > I realize that this model doesn't work for everyone, but it works for me. As > Greta Garbo said, "I didn't say I want to be alone, I said I want to be left > alone." That solution works for me, at this late stage of my life. > > I am approaching 64yo, and the man I most admired in my life died on Monday, > at age 61. I have abused my body with various chemicals, and Jack never did > the same, and I'm alive and he is dead; there is no justice in this world; > there may be some justice in some other world but it clearly is not this > one.If there were any justice, Jack would live on and I would be the one to > die, but that's not how it happened. I'm still alive, and Jack is dead, and > if anyone was creating this universe intelligently, the opposite would be > True. > > The only thing that I can hold from this is that I better get out there and > do some volunteer work with what remains of my life. I'm going to do that > right now. As long as this involves no wenches, I think that I'll be > relatively safe. Gotta watch out for wenches. They are more dangerous than > wrenches. > > A. > > On Wed, Aug 31, 2011 at 9:06 AM, William Benson (VBACreations.Com)< > vbacreations at gmail.com> wrote: > >> I think we left out "Are you into one-to-many relationships?" >> From jwcolby at colbyconsulting.com Wed Sep 7 13:22:12 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 07 Sep 2011 14:22:12 -0400 Subject: [AccessD] Of possible interest In-Reply-To: <610914D12AB544868F8FF0CBB80BC76B@creativesystemdesigns.com> References: <7090E912B0544D45A427C7B55D04A980@XPS> <610914D12AB544868F8FF0CBB80BC76B@creativesystemdesigns.com> Message-ID: <4E67B654.2010501@colbyconsulting.com> LOL. Not until they condense the 37 different technologies required down into one or two. John W. Colby www.ColbyConsulting.com On 9/7/2011 1:57 PM, Jim Lawrence wrote: > Excellent news and about time... It will not be long before we are all going > web based. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Wednesday, September 07, 2011 6:51 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Of possible interest > > picked this up from another list /group: > > http://www.zdnet.com/blog/microsoft/microsoft-to-focus-on-html5-and-javascri > pt-for-office-15-extensions/10266 > > Something to think about... > > Jim. From markamatte at hotmail.com Wed Sep 7 15:04:56 2011 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 7 Sep 2011 20:04:56 +0000 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <001601cc6d10$0f115440$2d33fcc0$@gmail.com> References: , , <4E6697B4.3080601@colbyconsulting.com>, , <002601cc6cfe$3a74d510$af5e7f30$@com.au> <4E66D3F2.25051.2899085E@stuart.lexacorp.com.pg> <001501cc6d0c$6efc10b0$4cf43210$@gmail.com>, <003101cc6d0d$a4552e30$ecff8a90$@com.au>, <001601cc6d10$0f115440$2d33fcc0$@gmail.com> Message-ID: I had to think twice... Me and SQL spend our days between SQL Server, Access, and Foxpro...last week I was moving some processes from Foxpro to SQL Server and I learned that in Foxpro the HAVING clause will utilize the calculation or the alias... just FYI... Mark M. > From: vbacreations at gmail.com > To: accessd at databaseadvisors.com > Date: Tue, 6 Sep 2011 23:41:41 -0400 > Subject: Re: [AccessD] String with "#" in VBA? > > No more than anyone else going from the top of their head. To wit, no one > else pointed out that the Having Clause required the actual computation. > And, no one pointed out (including me) that most non-calculated constraints > are put in a WHERE clause, not the Having clause. I would imagine the query > plan Access builds handles that kind of misappropriation without fuss > however. Some SQL which I generated using only the Access query designer > (with unneeded parens removed). > > SELECT Max(Tbl_GIB.LASTMODIFIED_DATE) AS MyMaxDate, 1+1 AS SomeCalc > FROM Tbl_GIB > WHERE Tbl_GIB.SITE_DB<>'Bill' > HAVING 1+1=2 And Max(Tbl_GIB.LASTMODIFIED_DATE) < #12/31/2050# > > This fails: > > SELECT Max(Tbl_GIB.LASTMODIFIED_DATE) AS MyMaxDate, 1+1 AS SomeCalc > FROM Tbl_GIB > WHERE Tbl_GIB.SITE_DB<>'Bill' > HAVING SomeCalc =2 > > > As does this > > SELECT Max(Tbl_GIB.LASTMODIFIED_DATE) AS MyMaxDate, 1+1 AS SomeCalc > FROM Tbl_GIB > HAVING MyMaxDate < #12/31/2050#; > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins > Sent: Tuesday, September 06, 2011 11:24 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] String with "#" in VBA? > > Yes, that syntax would be correct Bill. Man, I made a mess of this one > didn't I... hmmmmm. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > (VBACreations.Com) > Sent: Wednesday, 7 September 2011 1:16 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] String with "#" in VBA? > > I concur with the single-quotes and the comma additions... but I was not > aware you are allowed to use the result field's name in the HAVING clause, I > thought you needed to show the function again (see below)? > > > gstrSQL = "" > gstrSQL = gstrSQL & " SELECT" > gstrSQL = gstrSQL & " Activity," > gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF," > gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" > gstrSQL = gstrSQL & " FROM ProbC_tblActivities" > gstrSQL = gstrSQL & " GROUP BY Activity" > gstrSQL = gstrSQL & " HAVING Activity='#Input'" > gstrSQL = gstrSQL & " AND SUM(Activity_CF) <> 0" > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Tuesday, September 06, 2011 10:16 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] String with "#" in VBA? > > As others have pointed out, the # is not the problem. > > #Input is a string inside your SQL which needs to be delimited inside your > strSQL. > You are using double quotes as your strSQL building delimiter so the inner > variable needs to > be surrounded by single quotes. > > Also you are missing a comma after Total_CF > > > > Try this: > > gstrSQL = "SELECT " & _ > "Activity, " & _ > "SUM(Activity_CF) AS Total_CF," & _ > "SUM(Activity_DCF) AS Total_DCF " & _ > "FROM ProbC_tblActivities " & _ > "GROUP BY Activity " & _ > "HAVING Activity='#Input' " & _ > "AND Total_CF <> 0" & _ > > > > > On 7 Sep 2011 at 11:34, Darryl Collins wrote: > > > Uh oh... I thought today was going too darn well. > > > > I am working with data which has "#" as part of the string which > > causes the VBA code to fail > > > > For Example: > > > > gstrSQL = vbNullString > > gstrSQL = gstrSQL & " SELECT" > > gstrSQL = gstrSQL & " Activity," > > gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" > > gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" > > gstrSQL = gstrSQL & " FROM ProbC_tblActivities" > > gstrSQL = gstrSQL & " GROUP BY Activity" > > gstrSQL = gstrSQL & " HAVING Activity="#Input" > > gstrSQL = gstrSQL & " AND Total_CF <> 0" > > > > Which sort of makes sense as the # is used in VBA for Conditional > > Compile. > > > > Is there some way I can I get VBA to accept the # as part of the > > string and not a command? > > > > Google has fairly useless when searching for "#" as well. Bah > > humbubg. > > > > Cheers > > Darryl > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 fuller.artful at gmail.com Wed Sep 7 16:40:31 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 7 Sep 2011 17:40:31 -0400 Subject: [AccessD] :) In-Reply-To: <4E67B60E.90401@torchlake.com> References: <3D568192E72C468FB4DD4A4693553C54@SusanHarkins> <4E5CCF00.7000101@colbyconsulting.com> <4E5D4E1B.21029.3661FC1@stuart.lexacorp.com.pg> <9E95C48974A94C5D80EFB3444668BD61@HAL9007> <001401cc67de$d56db840$804928c0$@gmail.com> <4E67B60E.90401@torchlake.com> Message-ID: It's the winches that scare me! A. On Wed, Sep 7, 2011 at 2:21 PM, Tina Norris Fields < tinanfields at torchlake.com> wrote: > Okay, I just have to tell you guys this one. My Larry is from Indiana, > which means that he has some regional pronunciation idiosyncrasies. He > bought a new winch that he wanted mounted on the back end of his truck, so > he went to Sam, our local guru, and asked him, "Can I mount a wench on the > back of my truck?" To which, Sam responded, "Is Tina okay with this?" > Before Larry caught on to the meaning, he said, "Well, of course, she is!" > Then Sam said something about Larry's wife being more open-minded than his > own wife about other women. That's when the light went on for Larry. One > of our favorite little memories. :-) > > So, Arthur, you stay away from the wenches! > > Best, > T > From darryl at whittleconsulting.com.au Wed Sep 7 20:47:19 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 8 Sep 2011 11:47:19 +1000 Subject: [AccessD] Wish List. Message-ID: <000701cc6dc9$427bde90$c7739bb0$@com.au> Been doing a lot of work with forms. In particular single forms with a lot of controls that are hidden or revealed depending on what options are available. I really wish MS were inspired by Adobe with how form design behaves. Why can't forms be layered? So you can work on individual layers which only have the relevant controls for that layer, but when the form is displayed all layers are shown, just like an image in Photoshop for example. That would be super useful as right now if I want to change anything on first controls I added, I have to move all of the other controls on top out of the way, make the changes, and then put them all back again. A real PITA. Would be wonderful to turn on and off visibility on the layers and then it would be easy to access any set of controls that are just on that layer. I know I can sort of fake this by using tabs, is this a better way or does anyone has a different angle I can consider? Cheers Darryl. Darryl Collins Whittle Consulting Pty Ltd Suite 8, 660 Canterbury Rd Surrey Hills, VIC, 3127 p: +61 3 9898 3242 m: +61 418 381 548 f: +61 3 9898 1855 e: darryl at whittleconsulting.com.au w: www.whittleconsulting.com.au From accessd at shaw.ca Wed Sep 7 20:16:27 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 7 Sep 2011 18:16:27 -0700 Subject: [AccessD] Of possible interest In-Reply-To: <4E67B654.2010501@colbyconsulting.com> References: <7090E912B0544D45A427C7B55D04A980@XPS> <610914D12AB544868F8FF0CBB80BC76B@creativesystemdesigns.com> <4E67B654.2010501@colbyconsulting.com> Message-ID: <4470814838CB464C9023DDBC40A42735@creativesystemdesigns.com> According to a computer expert who has been in the business, forever, similar to us, (but has been extremely successful with third thriving companies) he said, "A person can only master one or two technologies and so other than a working knowledge in a few, don't waste you time." I like that concept so just I will just dump the other 35. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, September 07, 2011 11:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Of possible interest LOL. Not until they condense the 37 different technologies required down into one or two. John W. Colby www.ColbyConsulting.com On 9/7/2011 1:57 PM, Jim Lawrence wrote: > Excellent news and about time... It will not be long before we are all going > web based. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Wednesday, September 07, 2011 6:51 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Of possible interest > > picked this up from another list /group: > > http://www.zdnet.com/blog/microsoft/microsoft-to-focus-on-html5-and-javascri > pt-for-office-15-extensions/10266 > > Something to think about... > > Jim. -- 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 Sep 7 21:50:20 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 08 Sep 2011 12:50:20 +1000 Subject: [AccessD] Wish List. In-Reply-To: <000701cc6dc9$427bde90$c7739bb0$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> Message-ID: <4E682D6C.27223.2DDE8F35@stuart.lexacorp.com.pg> Group blocks of controls and then drag the groups you are working on down to below the visible area of the screen? On 8 Sep 2011 at 11:47, Darryl Collins wrote: > Been doing a lot of work with forms. In particular single forms with a > lot of controls that are hidden or revealed depending on what options > are available. I really wish MS were inspired by Adobe with how form > design behaves. Why can't forms be layered? So you can work on > individual layers which only have the relevant controls for that > layer, but when the form is displayed all layers are shown, just like > an image in Photoshop for example. > > > > That would be super useful as right now if I want to change anything > on first controls I added, I have to move all of the other controls on > top out of the way, make the changes, and then put them all back > again. A real PITA. Would be wonderful to turn on and off visibility > on the layers and then it would be easy to access any set of controls > that are just on that layer. > > > > I know I can sort of fake this by using tabs, is this a better way or > does anyone has a different angle I can consider? > > > > Cheers > > Darryl. > > > > Darryl Collins > > Whittle Consulting Pty Ltd > > Suite 8, 660 Canterbury Rd > > Surrey Hills, VIC, 3127 > > > > p: +61 3 9898 3242 > > m: +61 418 381 548 > > f: +61 3 9898 1855 > > e: > darryl at whittleconsulting.com.au > > w: > www.whittleconsulting.com.au > > > > -- > 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 Sep 7 21:00:10 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 7 Sep 2011 22:00:10 -0400 Subject: [AccessD] Wish List. In-Reply-To: <000701cc6dc9$427bde90$c7739bb0$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> Message-ID: I've never tried it, but I wonder if you can make the BackColor of a tab control transparent. I recall that in some (maybe all?) versions, you have an option of where to display the tabs themselves; I think it offered Top, Side and None. As long as we're wishing, I wish there were a Go-To-Control command in form design. Sometimes in complex forms with lots of controls, I can't find ctl_xxx no matter how hard I look. Arthur From vbacreations at gmail.com Wed Sep 7 22:16:16 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Wed, 7 Sep 2011 23:16:16 -0400 Subject: [AccessD] Wish List. In-Reply-To: <4E682D6C.27223.2DDE8F35@stuart.lexacorp.com.pg> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <4E682D6C.27223.2DDE8F35@stuart.lexacorp.com.pg> Message-ID: <000601cc6dd5$acff35d0$06fda170$@gmail.com> Tag property is your friend... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, September 07, 2011 10:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. Group blocks of controls and then drag the groups you are working on down to below the visible area of the screen? On 8 Sep 2011 at 11:47, Darryl Collins wrote: > Been doing a lot of work with forms. In particular single forms with a > lot of controls that are hidden or revealed depending on what options > are available. I really wish MS were inspired by Adobe with how form > design behaves. Why can't forms be layered? So you can work on > individual layers which only have the relevant controls for that > layer, but when the form is displayed all layers are shown, just like > an image in Photoshop for example. > > > > That would be super useful as right now if I want to change anything > on first controls I added, I have to move all of the other controls on > top out of the way, make the changes, and then put them all back > again. A real PITA. Would be wonderful to turn on and off visibility > on the layers and then it would be easy to access any set of controls > that are just on that layer. > > > > I know I can sort of fake this by using tabs, is this a better way or > does anyone has a different angle I can consider? > > > > Cheers > > Darryl. > > > > Darryl Collins > > Whittle Consulting Pty Ltd > > Suite 8, 660 Canterbury Rd > > Surrey Hills, VIC, 3127 > > > > p: +61 3 9898 3242 > > m: +61 418 381 548 > > f: +61 3 9898 1855 > > e: > darryl at whittleconsulting.com.au > > w: > www.whittleconsulting.com.au > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Thu Sep 8 01:18:32 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 7 Sep 2011 23:18:32 -0700 Subject: [AccessD] Wish List. In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> Message-ID: No, you can't, probably because that would defeat the purpose. If you want things to show up on all pages, they have to be on the tab control itself. Anything else only shows up on the page on which it's located. Charlotte Foust On Wed, Sep 7, 2011 at 7:00 PM, Arthur Fuller wrote: > I've never tried it, but I wonder if you can make the BackColor of a tab > control transparent. I recall that in some (maybe all?) versions, you have > an option of where to display the tabs themselves; I think it offered Top, > Side and None. > > As long as we're wishing, I wish there were a Go-To-Control command in form > design. Sometimes in complex forms with lots of controls, I can't find > ctl_xxx no matter how hard I look. > > Arthur > -- > 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 Sep 8 01:21:52 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 8 Sep 2011 16:21:52 +1000 Subject: [AccessD] Wish List. In-Reply-To: <000601cc6dd5$acff35d0$06fda170$@gmail.com> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <4E682D6C.27223.2DDE8F35@stuart.lexacorp.com.pg> <000601cc6dd5$acff35d0$06fda170$@gmail.com> Message-ID: <001401cc6def$9a0ac470$ce204d50$@com.au> Hah, I am already using tags to control which controls are visible when... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Thursday, 8 September 2011 1:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Wish List. Tag property is your friend... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, September 07, 2011 10:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. Group blocks of controls and then drag the groups you are working on down to below the visible area of the screen? On 8 Sep 2011 at 11:47, Darryl Collins wrote: > Been doing a lot of work with forms. In particular single forms with a > lot of controls that are hidden or revealed depending on what options > are available. I really wish MS were inspired by Adobe with how form > design behaves. Why can't forms be layered? So you can work on > individual layers which only have the relevant controls for that > layer, but when the form is displayed all layers are shown, just like > an image in Photoshop for example. > > > > That would be super useful as right now if I want to change anything > on first controls I added, I have to move all of the other controls on > top out of the way, make the changes, and then put them all back > again. A real PITA. Would be wonderful to turn on and off visibility > on the layers and then it would be easy to access any set of controls > that are just on that layer. > > > > I know I can sort of fake this by using tabs, is this a better way or > does anyone has a different angle I can consider? > > > > Cheers > > Darryl. > > > > Darryl Collins > > Whittle Consulting Pty Ltd > > Suite 8, 660 Canterbury Rd > > Surrey Hills, VIC, 3127 > > > > p: +61 3 9898 3242 > > m: +61 418 381 548 > > f: +61 3 9898 1855 > > e: > darryl at whittleconsulting.com.au > > w: > www.whittleconsulting.com.au > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 7 21:09:39 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 7 Sep 2011 19:09:39 -0700 Subject: [AccessD] Wish List. In-Reply-To: <000701cc6dc9$427bde90$c7739bb0$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> Message-ID: Microsoft addressed this years ago by introducing tab controls. Why on earth would you want to use layers that all showed up at the same time? Logically, layers would only show the controls relevant to that layer/page. Charlotte Foust On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Been doing a lot of work with forms. In particular single forms with a lot > of controls that are hidden or revealed depending on what options are > available. I really wish MS were inspired by Adobe with how form design > behaves. Why can't forms be layered? So you can work on individual layers > which only have the relevant controls for that layer, but when the form is > displayed all layers are shown, just like an image in Photoshop for > example. > > > > That would be super useful as right now if I want to change anything on > first controls I added, I have to move all of the other controls on top out > of the way, make the changes, and then put them all back again. A real > PITA. Would be wonderful to turn on and off visibility on the layers and > then it would be easy to access any set of controls that are just on that > layer. > > > > I know I can sort of fake this by using tabs, is this a better way or does > anyone has a different angle I can consider? > > > > Cheers > > Darryl. > > > > Darryl Collins > > Whittle Consulting Pty Ltd > > Suite 8, 660 Canterbury Rd > > Surrey Hills, VIC, 3127 > > > > p: +61 3 9898 3242 > > m: +61 418 381 548 > > f: +61 3 9898 1855 > > e: > darryl at whittleconsulting.com.au > > w: > > www.whittleconsulting.com.au > > > > > > -- > 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 Sep 7 21:37:45 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 7 Sep 2011 22:37:45 -0400 Subject: [AccessD] Of possible interest In-Reply-To: <4470814838CB464C9023DDBC40A42735@creativesystemdesigns.com> References: <7090E912B0544D45A427C7B55D04A980@XPS> <610914D12AB544868F8FF0CBB80BC76B@creativesystemdesigns.com> <4E67B654.2010501@colbyconsulting.com> <4470814838CB464C9023DDBC40A42735@creativesystemdesigns.com> Message-ID: I'm with you on that, Jim. I waste far too much time putzing around with technologies I'm never going to work in. I should learn to concentrate on the two I know best and forget about all the other stuff. On Wed, Sep 7, 2011 at 9:16 PM, Jim Lawrence wrote: > According to a computer expert who has been in the business, forever, > similar to us, (but has been extremely successful with third thriving > companies) he said, "A person can only master one or two technologies and > so > other than a working knowledge in a few, don't waste you time." > > I like that concept so just I will just dump the other 35. ;-) > > Jim > > From jwcolby at colbyconsulting.com Wed Sep 7 23:39:45 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 08 Sep 2011 00:39:45 -0400 Subject: [AccessD] Of possible interest In-Reply-To: <4470814838CB464C9023DDBC40A42735@creativesystemdesigns.com> References: <7090E912B0544D45A427C7B55D04A980@XPS> <610914D12AB544868F8FF0CBB80BC76B@creativesystemdesigns.com> <4E67B654.2010501@colbyconsulting.com> <4470814838CB464C9023DDBC40A42735@creativesystemdesigns.com> Message-ID: <4E684711.3020806@colbyconsulting.com> And that is my point exactly. Every time I look at web stuff it is 37 different things that I have to learn. .Net has finally gotten us down to just a handful. John W. Colby www.ColbyConsulting.com On 9/7/2011 9:16 PM, Jim Lawrence wrote: > According to a computer expert who has been in the business, forever, > similar to us, (but has been extremely successful with third thriving > companies) he said, "A person can only master one or two technologies and so > other than a working knowledge in a few, don't waste you time." > > I like that concept so just I will just dump the other 35. ;-) > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Wednesday, September 07, 2011 11:22 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Of possible interest > > LOL. Not until they condense the 37 different technologies required down > into one or two. > > John W. Colby > www.ColbyConsulting.com > > On 9/7/2011 1:57 PM, Jim Lawrence wrote: >> Excellent news and about time... It will not be long before we are all > going >> web based. >> >> Jim >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman >> Sent: Wednesday, September 07, 2011 6:51 AM >> To: 'Access Developers discussion and problem solving' >> Subject: [AccessD] Of possible interest >> >> picked this up from another list /group: >> >> > http://www.zdnet.com/blog/microsoft/microsoft-to-focus-on-html5-and-javascri >> pt-for-office-15-extensions/10266 >> >> Something to think about... >> >> Jim. From accessd at shaw.ca Wed Sep 7 22:22:50 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 7 Sep 2011 20:22:50 -0700 Subject: [AccessD] Wish List. In-Reply-To: <000701cc6dc9$427bde90$c7739bb0$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> Message-ID: <119C27B2D4EF415DBBFB653662F6DFEA@creativesystemdesigns.com> You are right "tab faking" is the best so far. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, September 07, 2011 6:47 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Wish List. Been doing a lot of work with forms. In particular single forms with a lot of controls that are hidden or revealed depending on what options are available. I really wish MS were inspired by Adobe with how form design behaves. Why can't forms be layered? So you can work on individual layers which only have the relevant controls for that layer, but when the form is displayed all layers are shown, just like an image in Photoshop for example. That would be super useful as right now if I want to change anything on first controls I added, I have to move all of the other controls on top out of the way, make the changes, and then put them all back again. A real PITA. Would be wonderful to turn on and off visibility on the layers and then it would be easy to access any set of controls that are just on that layer. I know I can sort of fake this by using tabs, is this a better way or does anyone has a different angle I can consider? Cheers Darryl. Darryl Collins Whittle Consulting Pty Ltd Suite 8, 660 Canterbury Rd Surrey Hills, VIC, 3127 p: +61 3 9898 3242 m: +61 418 381 548 f: +61 3 9898 1855 e: darryl at whittleconsulting.com.au w: www.whittleconsulting.com.au -- 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 Sep 8 01:57:21 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 8 Sep 2011 16:57:21 +1000 Subject: [AccessD] Wish List. In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> Message-ID: <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> Hi Charlotte - forgive me for this as I really respect your opinion, but I am not sure you understand how layers work in other applications - they would never show up all at the same time (unless that is what you wanted). You can control which ones are visible to the user - might be one, might be several in different combinations and you can show and reveal based on what the user needs. Layers would also have the huge advantage of allowing you to edit each layer individually in design mode. So you have no need to move controls out of the way to get to a control that is under another one. Have play in photoshop if you get the chance and you will see how useful this method is. I know I can fake it using a tab form but the result is less elegant you cannot hide the tab label itself and it is a pain to ensure all the controls on each tab is aligned. Blah blah, I have resorted to tabs in the past and it is a clunky solution for what I am trying to do. That said, sometimes tabbed forms are the way to go. Just depends on what you want to achieve. In this instance I was thinking "Man, wish I had a layered design view"... Just my thoughts. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 8 September 2011 12:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. Microsoft addressed this years ago by introducing tab controls. Why on earth would you want to use layers that all showed up at the same time? Logically, layers would only show the controls relevant to that layer/page. Charlotte Foust On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Been doing a lot of work with forms. In particular single forms with a lot > of controls that are hidden or revealed depending on what options are > available. I really wish MS were inspired by Adobe with how form design > behaves. Why can't forms be layered? So you can work on individual layers > which only have the relevant controls for that layer, but when the form is > displayed all layers are shown, just like an image in Photoshop for > example. > > > > That would be super useful as right now if I want to change anything on > first controls I added, I have to move all of the other controls on top out > of the way, make the changes, and then put them all back again. A real > PITA. Would be wonderful to turn on and off visibility on the layers and > then it would be easy to access any set of controls that are just on that > layer. > > > > I know I can sort of fake this by using tabs, is this a better way or does > anyone has a different angle I can consider? > > > > Cheers > > Darryl. > > > > Darryl Collins > > Whittle Consulting Pty Ltd > > Suite 8, 660 Canterbury Rd > > Surrey Hills, VIC, 3127 > > > > p: +61 3 9898 3242 > > m: +61 418 381 548 > > f: +61 3 9898 1855 > > e: > darryl at whittleconsulting.com.au > > w: > > www.whittleconsulting.com.au > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 8 08:12:51 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Thu, 8 Sep 2011 09:12:51 -0400 Subject: [AccessD] Wish List. In-Reply-To: <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> Message-ID: <000d01cc6e29$03d46f30$0b7d4d90$@gmail.com> Hear Hear! Or is it "Here Here!" Either way, I'm with you Darryl. It's amazing what Access developers put up with, and what the user is still willing to pay for (for now). Maybe a way you can handle this is to build several forms with identical controls (or supplemental ones) but a single naming scheme, to depict scenario-based controls in the proper position. The sterile forms just hold controls, no data and no code. The "live" form is the one which keeps all controls, but basically has anything not needed in a "scenario" tucked out of the visible range. Any time a scenario changes, you consult the sterile form, put all the control names and positions and sizes in an array (might not really need the sizes, but might if you had to play with sizes of the live-form's controls in order to "park" them somewhere out of the way etc)... then build a collection of all controls NOT in that array, park them out of the way, then reposition what is left over according to the array of controls you read off the sterile forms. Just an idea ... keeps your options open. Bill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Thursday, September 08, 2011 2:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Wish List. Hi Charlotte - forgive me for this as I really respect your opinion, but I am not sure you understand how layers work in other applications - they would never show up all at the same time (unless that is what you wanted). You can control which ones are visible to the user - might be one, might be several in different combinations and you can show and reveal based on what the user needs. Layers would also have the huge advantage of allowing you to edit each layer individually in design mode. So you have no need to move controls out of the way to get to a control that is under another one. Have play in photoshop if you get the chance and you will see how useful this method is. I know I can fake it using a tab form but the result is less elegant you cannot hide the tab label itself and it is a pain to ensure all the controls on each tab is aligned. Blah blah, I have resorted to tabs in the past and it is a clunky solution for what I am trying to do. That said, sometimes tabbed forms are the way to go. Just depends on what you want to achieve. In this instance I was thinking "Man, wish I had a layered design view"... Just my thoughts. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 8 September 2011 12:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. Microsoft addressed this years ago by introducing tab controls. Why on earth would you want to use layers that all showed up at the same time? Logically, layers would only show the controls relevant to that layer/page. Charlotte Foust On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Been doing a lot of work with forms. In particular single forms with a lot > of controls that are hidden or revealed depending on what options are > available. I really wish MS were inspired by Adobe with how form design > behaves. Why can't forms be layered? So you can work on individual layers > which only have the relevant controls for that layer, but when the form is > displayed all layers are shown, just like an image in Photoshop for > example. > > > > That would be super useful as right now if I want to change anything on > first controls I added, I have to move all of the other controls on top out > of the way, make the changes, and then put them all back again. A real > PITA. Would be wonderful to turn on and off visibility on the layers and > then it would be easy to access any set of controls that are just on that > layer. > > > > I know I can sort of fake this by using tabs, is this a better way or does > anyone has a different angle I can consider? > > > > Cheers > > Darryl. > > > > Darryl Collins > > Whittle Consulting Pty Ltd > > Suite 8, 660 Canterbury Rd > > Surrey Hills, VIC, 3127 > > > > p: +61 3 9898 3242 > > m: +61 418 381 548 > > f: +61 3 9898 1855 > > e: > darryl at whittleconsulting.com.au > > w: > > www.whittleconsulting.com.au > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 rusty.hammond at cpiqpc.com Thu Sep 8 08:45:31 2011 From: rusty.hammond at cpiqpc.com (Rusty Hammond) Date: Thu, 8 Sep 2011 08:45:31 -0500 Subject: [AccessD] Wish List. In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> Message-ID: <49A286ABF515E94A8505CD14DEB721701744A125@CPIEMAIL-EVS1.CPIQPC.NET> Arthur, In design view, on the Formatting toolbar, there is a drop down that lists all of the controls on your form. Pick the control you want and it selects that control on the form. HTH, Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, September 07, 2011 9:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. I've never tried it, but I wonder if you can make the BackColor of a tab control transparent. I recall that in some (maybe all?) versions, you have an option of where to display the tabs themselves; I think it offered Top, Side and None. As long as we're wishing, I wish there were a Go-To-Control command in form design. Sometimes in complex forms with lots of controls, I can't find ctl_xxx no matter how hard I look. Arthur -- 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 Gustav at cactus.dk Thu Sep 8 08:51:45 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 08 Sep 2011 15:51:45 +0200 Subject: [AccessD] Wish List. Message-ID: Hi Darryl Perhaps you could use a paged form. One page for each scenario. Controls needed on more than one page you just duplicate. It's the technique used for wizards in the (old) versions of Access; move Next or Back just moves the form to the next or previous page. Simple and fast. /gustav >>> darryl at whittleconsulting.com.au 08-09-2011 08:57 >>> Hi Charlotte - forgive me for this as I really respect your opinion, but I am not sure you understand how layers work in other applications - they would never show up all at the same time (unless that is what you wanted). You can control which ones are visible to the user - might be one, might be several in different combinations and you can show and reveal based on what the user needs. Layers would also have the huge advantage of allowing you to edit each layer individually in design mode. So you have no need to move controls out of the way to get to a control that is under another one. Have play in photoshop if you get the chance and you will see how useful this method is. I know I can fake it using a tab form but the result is less elegant you cannot hide the tab label itself and it is a pain to ensure all the controls on each tab is aligned. Blah blah, I have resorted to tabs in the past and it is a clunky solution for what I am trying to do. That said, sometimes tabbed forms are the way to go. Just depends on what you want to achieve. In this instance I was thinking "Man, wish I had a layered design view"... Just my thoughts. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 8 September 2011 12:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. Microsoft addressed this years ago by introducing tab controls. Why on earth would you want to use layers that all showed up at the same time? Logically, layers would only show the controls relevant to that layer/page. Charlotte Foust On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Been doing a lot of work with forms. In particular single forms with a lot > of controls that are hidden or revealed depending on what options are > available. I really wish MS were inspired by Adobe with how form design > behaves. Why can't forms be layered? So you can work on individual layers > which only have the relevant controls for that layer, but when the form is > displayed all layers are shown, just like an image in Photoshop for > example. > > That would be super useful as right now if I want to change anything on > first controls I added, I have to move all of the other controls on top out > of the way, make the changes, and then put them all back again. A real > PITA. Would be wonderful to turn on and off visibility on the layers and > then it would be easy to access any set of controls that are just on that > layer. > > I know I can sort of fake this by using tabs, is this a better way or does > anyone has a different angle I can consider? > > Cheers > Darryl. From tinanfields at torchlake.com Thu Sep 8 09:18:30 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 08 Sep 2011 10:18:30 -0400 Subject: [AccessD] How to troubleshoot In-Reply-To: <4E563B61.30005@colbyconsulting.com> References: <4E55B105.8070604@colbyconsulting.com> <4E563B61.30005@colbyconsulting.com> Message-ID: <4E68CEB6.6010802@torchlake.com> Now THAT'S weird! But, I have to admit I've run into similar situations, and I have no clue what's really going on! T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 8/25/2011 8:09 AM, jwcolby wrote: > Rocky, > > In my case I am developing in Access 2003 but running it under 2007 > runtime so that I can distribute it for free. The application ran > everywhere except under runtime. The application was running, even > under runtime, and then something occurred in a version about a month > ago and it stopped running under runtime, returning that error > message. It still ran under the dev environment. Another application > I built was still running under runtime, so it is not the runtime > install. > > I found the latest version that still ran under runtime and started > comparing the startup code. Basically the "bad" version was failing > even before my little security log in form opened. > > There is an Init() function with about 8 functions which init() calls > and I decided to start at the very end and comment out line by line > until the db opened. The very last line in Init() opened the > switchboard. That line cannot even run until the log in occurs, > however when I commented out that last line (open switchboard) the > database opened under runtime and allowed me to log in, although it > didn't open the switchboard after the log in (of course). > > Hmmmm... a line of code not even reached is preventing the database > from even opening. > > I uncommented that line and it still runs under runtime. Hmm.... > > Problem solved, but what was the problem? > > I had done a complete decompile / compile / compact cycle and that did > not solve the problem, but commenting and uncommenting a line that is > not even executed until after log in allows the database to open, let > me log in and open the switchboard. > > John W. Colby > www.ColbyConsulting.com > > On 8/25/2011 12:23 AM, Rocky Smolin wrote: >> Don't know but I'm getting that "has stopped working" in 2003 in both >> Access >> and Outlook (don't use word or excel much but they may have the same >> problem) - Access in mdbs, Outlook when I'm writing an email. Don't >> know >> what to do about it. >> >> Rocky >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: August 24, 2011 7:19 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] How to troubleshoot >> >> Any clue how to troubleshoot "Access has stopped working" in the 2007 >> runtime? I have a version that works just fine, and another app >> works just >> fine but the latest version just immediately closes giving that error >> message. "A problem sending a command to the program". >> >> -- >> John W. Colby >> www.ColbyConsulting.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> From tinanfields at torchlake.com Thu Sep 8 09:38:47 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 08 Sep 2011 10:38:47 -0400 Subject: [AccessD] 12-biggest-pc-duds-ever In-Reply-To: <005101cc6383$88e24ea0$9aa6ebe0$@gmail.com> References: <005101cc6383$88e24ea0$9aa6ebe0$@gmail.com> Message-ID: <4E68D377.6080709@torchlake.com> Fascinating! I bought the Commodore 128 in 1986 and used it for doing things like printing customized airway bills for my customers (at the time I was in outside sales for an international air freight forwarder). I had it and used it when I went back to college in 1988. Learned most of my BASIC programming on that machine. It could be run CPM or something like DOS (not real DOS, but something like it). When I bought my 'luggable' lunch-box-style portable computer (40Mb hard drive, LED screen, 640K RAM), I continued to use the Commodore as my second or stand-by machine. By the time I moved back to my family farm in Michigan (1991), the Commodore was just something I couldn't quite let go of, but never really used - except for the monitor - that was one really nice monitor! T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 8/25/2011 8:03 PM, William Benson (VBACreations.Com) wrote: > Might interest those who did or did not buy one of these... > http://www.pcmag.com/slideshow/story/286031/the-12-biggest-pc-duds-ever/1 > > From marksimms at verizon.net Thu Sep 8 10:51:57 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 08 Sep 2011 11:51:57 -0400 Subject: [AccessD] Of possible interest In-Reply-To: <4470814838CB464C9023DDBC40A42735@creativesystemdesigns.com> References: <7090E912B0544D45A427C7B55D04A980@XPS> <610914D12AB544868F8FF0CBB80BC76B@creativesystemdesigns.com> <4E67B654.2010501@colbyconsulting.com> <4470814838CB464C9023DDBC40A42735@creativesystemdesigns.com> Message-ID: <014b01cc6e3f$3e809170$bb81b450$@net> Webdev has always been a endeavor similar to making sausage. This never seems to change. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Wednesday, September 07, 2011 9:16 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Of possible interest > > According to a computer expert who has been in the business, forever, > similar to us, (but has been extremely successful with third thriving > companies) he said, "A person can only master one or two technologies > and so > other than a working knowledge in a few, don't waste you time." > > I like that concept so just I will just dump the other 35. ;-) > > Jim > > From charlotte.foust at gmail.com Thu Sep 8 10:56:16 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 8 Sep 2011 08:56:16 -0700 Subject: [AccessD] Wish List. In-Reply-To: <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> Message-ID: I do know how they work, but I was confused by what I understood of your description. What you're describing is exactly what tab controls are for, and I've used them that way in both Access and VB.Net. All you need to do with a tab control is select the tab page and that brings the controls on that page up for you to edit. In effect, you see them the way the user does, except for any controls that you make conditionally visible to the user when that page is up. Those, of course, you see in design view all the time. I'm not sure what you mean about not hiding the tab label. If you're talking about the tabs themselves, they can be turned off so that you control the visible page through code. In Access and .Net, I simply have used the top and left settigs to insure that things lined up. How hard is that? As for photoshop, I hate it. It seems to me the ultimate in non-intuitive UIs, but I admit to being a luddite on some issues, especially with respect to graphics. Charlotte Foust On Wed, Sep 7, 2011 at 11:57 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hi Charlotte - forgive me for this as I really respect your opinion, but I > am not sure you understand how layers work in other applications - they > would never show up all at the same time (unless that is what you wanted). > You can control which ones are visible to the user - might be one, might be > several in different combinations and you can show and reveal based on what > the user needs. > > Layers would also have the huge advantage of allowing you to edit each > layer > individually in design mode. So you have no need to move controls out of > the way to get to a control that is under another one. Have play in > photoshop if you get the chance and you will see how useful this method is. > I know I can fake it using a tab form but the result is less elegant you > cannot hide the tab label itself and it is a pain to ensure all the > controls > on each tab is aligned. Blah blah, I have resorted to tabs in the past and > it is a clunky solution for what I am trying to do. > > That said, sometimes tabbed forms are the way to go. Just depends on what > you want to achieve. In this instance I was thinking "Man, wish I had a > layered design view"... > > Just my thoughts. > Cheers > Darryl. > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Thursday, 8 September 2011 12:10 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Wish List. > > Microsoft addressed this years ago by introducing tab controls. Why on > earth would you want to use layers that all showed up at the same time? > Logically, layers would only show the controls relevant to that layer/page. > > Charlotte Foust > On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Been doing a lot of work with forms. In particular single forms with a > lot > > of controls that are hidden or revealed depending on what options are > > available. I really wish MS were inspired by Adobe with how form design > > behaves. Why can't forms be layered? So you can work on individual > layers > > which only have the relevant controls for that layer, but when the form > is > > displayed all layers are shown, just like an image in Photoshop for > > example. > > > > > > > > That would be super useful as right now if I want to change anything on > > first controls I added, I have to move all of the other controls on top > out > > of the way, make the changes, and then put them all back again. A real > > PITA. Would be wonderful to turn on and off visibility on the layers and > > then it would be easy to access any set of controls that are just on that > > layer. > > > > > > > > I know I can sort of fake this by using tabs, is this a better way or > does > > anyone has a different angle I can consider? > > > > > > > > Cheers > > > > Darryl. > > > > > > > > Darryl Collins > > > > Whittle Consulting Pty Ltd > > > > Suite 8, 660 Canterbury Rd > > > > Surrey Hills, VIC, 3127 > > > > > > > > p: +61 3 9898 3242 > > > > m: +61 418 381 548 > > > > f: +61 3 9898 1855 > > > > e: > > darryl at whittleconsulting.com.au > > > > w: > > > > > > www.whittleconsulting.com.au > > > > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From marksimms at verizon.net Thu Sep 8 12:47:27 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 08 Sep 2011 13:47:27 -0400 Subject: [AccessD] Wish List. In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> Message-ID: <018301cc6e4f$60f20fd0$22d62f70$@net> I think there is some confusion here over multipage vs. tab controls. I never really determined how/when to use the latter. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Thursday, September 08, 2011 11:56 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Wish List. > > I do know how they work, but I was confused by what I understood of > your > description. What you're describing is exactly what tab controls are > for, > and I've used them that way in both Access and VB.Net. All you need to > do > with a tab control is select the tab page and that brings the controls > on > that page up for you to edit. In effect, you see them the way the user > does, except for any controls that you make conditionally visible to > the > user when that page is up. Those, of course, you see in design view > all the > time. From charlotte.foust at gmail.com Thu Sep 8 13:13:23 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 8 Sep 2011 11:13:23 -0700 Subject: [AccessD] Wish List. In-Reply-To: <018301cc6e4f$60f20fd0$22d62f70$@net> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> Message-ID: I never do multipage without tab controls, there are just too many drawbacks and problems otherwise. Each tab page contains either controls or subforms, which contain controls. It depends on whether the entire form is bound to one data set or each page draws from different sources. That eliminates the need for a complicated query behind the main form because each subform on whichever tab page has its own data source and is bound to the parent dataset using the master/child links or bound JIT. Alternatively (JIT), unbound subforms are populated from code based on whatever criteria are set at the parent level, but not until the tab page has been selected. On Thu, Sep 8, 2011 at 10:47 AM, Mark Simms wrote: > I think there is some confusion here over multipage vs. tab controls. > I never really determined how/when to use the latter. > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > > bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > > Sent: Thursday, September 08, 2011 11:56 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Wish List. > > > > I do know how they work, but I was confused by what I understood of > > your > > description. What you're describing is exactly what tab controls are > > for, > > and I've used them that way in both Access and VB.Net. All you need to > > do > > with a tab control is select the tab page and that brings the controls > > on > > that page up for you to edit. In effect, you see them the way the user > > does, except for any controls that you make conditionally visible to > > the > > user when that page is up. Those, of course, you see in design view > > all the > > time. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From jwcolby at colbyconsulting.com Thu Sep 8 13:20:48 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 08 Sep 2011 14:20:48 -0400 Subject: [AccessD] Wish List. In-Reply-To: <018301cc6e4f$60f20fd0$22d62f70$@net> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> Message-ID: <4E690780.30904@colbyconsulting.com> I also think there is some confusion about what page means. There is actually a page control which if inserted on a form causes the form to "page down" when the page down control is hit. It is nothing more than a tiny little control that is inserted at some point vertically in the form. I never use it because it feels clunky. What another lister was discussing is dynamically loading forms as the user moves through "pages" of a wizard. that is completely different. In that case all of the controls are literally in a subform which is of course just another form. John W. Colby www.ColbyConsulting.com On 9/8/2011 1:47 PM, Mark Simms wrote: > I think there is some confusion here over multipage vs. tab controls. > I never really determined how/when to use the latter. > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd- >> bounces at databaseadvisors.com] On Behalf Of Charlotte Foust >> Sent: Thursday, September 08, 2011 11:56 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Wish List. >> >> I do know how they work, but I was confused by what I understood of >> your >> description. What you're describing is exactly what tab controls are >> for, >> and I've used them that way in both Access and VB.Net. All you need to >> do >> with a tab control is select the tab page and that brings the controls >> on >> that page up for you to edit. In effect, you see them the way the user >> does, except for any controls that you make conditionally visible to >> the >> user when that page is up. Those, of course, you see in design view >> all the >> time. > > From marksimms at verizon.net Thu Sep 8 14:18:40 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 08 Sep 2011 15:18:40 -0400 Subject: [AccessD] Wish List. In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> Message-ID: <003101cc6e5c$1e87bac0$5b973040$@net> Once again I think confusion abounds: Multipage has tabs with associated pages to allow insertion of other controls, etc. The Tab Control is just this tiny thing that has tabs with no pages. From jimdettman at verizon.net Thu Sep 8 15:10:45 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 08 Sep 2011 16:10:45 -0400 Subject: [AccessD] Wish List. In-Reply-To: <4E690780.30904@colbyconsulting.com> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <4E690780.30904@colbyconsulting.com> Message-ID: <741B2D4E45DD422F9132F66C063664FE@XPS> I used the pages breaks in forms before there was a tab control. I placed page buttons in the group footer along with some hidden controls in each section to jump to a "page". It was extremely fast. The major limitation of course was 22" of space. Tab controls solved that, so there is really no reason to use the page breaks anymore. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, September 08, 2011 02:21 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. I also think there is some confusion about what page means. There is actually a page control which if inserted on a form causes the form to "page down" when the page down control is hit. It is nothing more than a tiny little control that is inserted at some point vertically in the form. I never use it because it feels clunky. What another lister was discussing is dynamically loading forms as the user moves through "pages" of a wizard. that is completely different. In that case all of the controls are literally in a subform which is of course just another form. John W. Colby www.ColbyConsulting.com On 9/8/2011 1:47 PM, Mark Simms wrote: > I think there is some confusion here over multipage vs. tab controls. > I never really determined how/when to use the latter. > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd- >> bounces at databaseadvisors.com] On Behalf Of Charlotte Foust >> Sent: Thursday, September 08, 2011 11:56 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Wish List. >> >> I do know how they work, but I was confused by what I understood of >> your >> description. What you're describing is exactly what tab controls are >> for, >> and I've used them that way in both Access and VB.Net. All you need to >> do >> with a tab control is select the tab page and that brings the controls >> on >> that page up for you to edit. In effect, you see them the way the user >> does, except for any controls that you make conditionally visible to >> the >> user when that page is up. Those, of course, you see in design view >> all the >> time. > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Thu Sep 8 15:34:12 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Thu, 8 Sep 2011 16:34:12 -0400 Subject: [AccessD] Wish List. In-Reply-To: <741B2D4E45DD422F9132F66C063664FE@XPS> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <4E690780.30904@colbyconsulting.com> <741B2D4E45DD422F9132F66C063664FE@XPS> Message-ID: <001501cc6e66$aeed7960$0cc86c20$@gmail.com> Hey - since I just whipped the idea off the top of my head I would love to hear feedback (good or bad - no sense chasing a bad idea either) on the idea I posted back in this thread (multiple forms to help with layout issues). Thx. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, September 08, 2011 4:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Wish List. I used the pages breaks in forms before there was a tab control. I placed page buttons in the group footer along with some hidden controls in each section to jump to a "page". It was extremely fast. The major limitation of course was 22" of space. Tab controls solved that, so there is really no reason to use the page breaks anymore. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, September 08, 2011 02:21 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. I also think there is some confusion about what page means. There is actually a page control which if inserted on a form causes the form to "page down" when the page down control is hit. It is nothing more than a tiny little control that is inserted at some point vertically in the form. I never use it because it feels clunky. What another lister was discussing is dynamically loading forms as the user moves through "pages" of a wizard. that is completely different. In that case all of the controls are literally in a subform which is of course just another form. John W. Colby www.ColbyConsulting.com On 9/8/2011 1:47 PM, Mark Simms wrote: > I think there is some confusion here over multipage vs. tab controls. > I never really determined how/when to use the latter. > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd- >> bounces at databaseadvisors.com] On Behalf Of Charlotte Foust >> Sent: Thursday, September 08, 2011 11:56 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Wish List. >> >> I do know how they work, but I was confused by what I understood of >> your >> description. What you're describing is exactly what tab controls are >> for, >> and I've used them that way in both Access and VB.Net. All you need to >> do >> with a tab control is select the tab page and that brings the controls >> on >> that page up for you to edit. In effect, you see them the way the user >> does, except for any controls that you make conditionally visible to >> the >> user when that page is up. Those, of course, you see in design view >> all the >> time. > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Thu Sep 8 15:48:26 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 8 Sep 2011 13:48:26 -0700 Subject: [AccessD] Wish List. In-Reply-To: <003101cc6e5c$1e87bac0$5b973040$@net> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <003101cc6e5c$1e87bac0$5b973040$@net> Message-ID: I'm not sure which version the multipage control was introduced in (probably 2007), but it serves the same purpose as the tab control was introduced for back in A95 or A97. Tab controls actually do have pages, which you insert much the same way, although they aren't very intuitive either. I don't know why they came up with another control to do the same thing, but such is the world of Microsoft. Charlotte Foust On Thu, Sep 8, 2011 at 12:18 PM, Mark Simms wrote: > Once again I think confusion abounds: > Multipage has tabs with associated pages to allow insertion of other > controls, etc. > The Tab Control is just this tiny thing that has tabs with no pages. > > > -- > 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 Sep 8 18:48:17 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Fri, 9 Sep 2011 09:48:17 +1000 Subject: [AccessD] Wish List. In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <003101cc6e5c$1e87bac0$5b973040$@net> Message-ID: <000001cc6e81$c8c7de00$5a579a00$@com.au> Aaah, thanks everyone for their thoughts and comments. It is entirely possible that I am just doing this the hard way (wouldn't be the first time). Anyway, I will probably end up using tabs like always. I don't like the way you have to leave the label visible at the top of the page though - even if only one tab is displayed. Visually it is not what I want, but I guess its all I have to work with. Anyway, didn't mean to get folks fired up about what is a tab or what is a page. Sometimes I think it would be nice if you could take the best of all the software UI and include it in a single package. Ok: Here is another prime example of poor user functionality - or more like sheer bloody laziness on behalf of MSoft. If I am using Firefox tabs in the browser, right on the *Active* tab there is a little "X" on the RHS of that tab that allows you to close it. Nice and useful, don't have to move the mouse far and it is darn clear which tab you are going to close. In A2007 (which uses a tab setup to display all the open DB objects such as forms, tables, queries etc) the close button is on the extreme RHS of the *Screen* - freakin miles away from where you are actually working. Now I have huge widescreen monitor at work and if I have single tab open there is about 1 foot (say 28 cms) of screen real estate between the active tab I am working on, and the little 'close tab' "x" on the RHS of the screen. Even more annoying is if you have many tabs open, you need to double check the one want to close is indeed the active tab before pressing the "x" - ok there are other ways of closing the tab, such as right mouse click directly on the tab, but why on earth didn't they just put the close "X" on the active tab like everyone else does. Little gripes, I wouldn't mind so much if I didn't have to pay MS so darn much for their software. I don't mind paying, but I expect better functionality and performance than I can get for free from other vendors. Heh, can you tell I need a coffee ;) Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, 9 September 2011 6:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. I'm not sure which version the multipage control was introduced in (probably 2007), but it serves the same purpose as the tab control was introduced for back in A95 or A97. Tab controls actually do have pages, which you insert much the same way, although they aren't very intuitive either. I don't know why they came up with another control to do the same thing, but such is the world of Microsoft. Charlotte Foust On Thu, Sep 8, 2011 at 12:18 PM, Mark Simms wrote: > Once again I think confusion abounds: > Multipage has tabs with associated pages to allow insertion of other > controls, etc. > The Tab Control is just this tiny thing that has tabs with no pages. > From vbacreations at gmail.com Thu Sep 8 18:57:01 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 8 Sep 2011 19:57:01 -0400 Subject: [AccessD] Wish List. In-Reply-To: <000001cc6e81$c8c7de00$5a579a00$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <003101cc6e5c$1e87bac0$5b973040$@net> <000001cc6e81$c8c7de00$5a579a00$@com.au> Message-ID: Or had too much coffee ... On Sep 8, 2011 7:53 PM, "Darryl Collins" wrote: > Aaah, thanks everyone for their thoughts and comments. It is entirely > possible that I am just doing this the hard way (wouldn't be the first > time). Anyway, I will probably end up using tabs like always. > > I don't like the way you have to leave the label visible at the top of the > page though - even if only one tab is displayed. Visually it is not what I > want, but I guess its all I have to work with. > > Anyway, didn't mean to get folks fired up about what is a tab or what is a > page. Sometimes I think it would be nice if you could take the best of all > the software UI and include it in a single package. > > Ok: Here is another prime example of poor user functionality - or more like > sheer bloody laziness on behalf of MSoft. If I am using Firefox tabs in the > browser, right on the *Active* tab there is a little "X" on the RHS of that > tab that allows you to close it. Nice and useful, don't have to move the > mouse far and it is darn clear which tab you are going to close. > > In A2007 (which uses a tab setup to display all the open DB objects such as > forms, tables, queries etc) the close button is on the extreme RHS of the > *Screen* - freakin miles away from where you are actually working. Now I > have huge widescreen monitor at work and if I have single tab open there is > about 1 foot (say 28 cms) of screen real estate between the active tab I am > working on, and the little 'close tab' "x" on the RHS of the screen. Even > more annoying is if you have many tabs open, you need to double check the > one want to close is indeed the active tab before pressing the "x" > > - ok there are other ways of closing the tab, such as right mouse click > directly on the tab, but why on earth didn't they just put the close "X" on > the active tab like everyone else does. > > Little gripes, I wouldn't mind so much if I didn't have to pay MS so darn > much for their software. I don't mind paying, but I expect better > functionality and performance than I can get for free from other vendors. > > Heh, can you tell I need a coffee ;) > > Cheers > Darryl. > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Friday, 9 September 2011 6:48 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Wish List. > > I'm not sure which version the multipage control was introduced in (probably > 2007), but it serves the same purpose as the tab control was introduced for > back in A95 or A97. Tab controls actually do have pages, which you insert > much the same way, although they aren't very intuitive either. I don't know > why they came up with another control to do the same thing, but such is the > world of Microsoft. > > Charlotte Foust > > On Thu, Sep 8, 2011 at 12:18 PM, Mark Simms wrote: > >> Once again I think confusion abounds: >> Multipage has tabs with associated pages to allow insertion of other >> controls, etc. >> The Tab Control is just this tiny thing that has tabs with no pages. >> > > > -- > 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 Sep 8 19:02:07 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Fri, 9 Sep 2011 10:02:07 +1000 Subject: [AccessD] Wish List. In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> Message-ID: <000101cc6e83$b72b2150$258163f0$@com.au> " I'm not sure what you mean about not hiding the tab label." At the top of every tab you have a label (tab) which sticks up above the rest of the form - the bit the user presses to change tabs if more than one tab is visible. The problem is even if only 1 tab is visible you cannot hide this label which stick out above the rest of the form/page. Visually this is not what we want to see. Maybe I am just anal about this sort of thing, but it looks ugly, at least for what I am try to achieve. Don't get me wrong, I am not anti-tabbed forms/pages. I have used the extensively in the past and will do so again. It is just in this one instance using tabs seems (and looks) like a cheap and tacky workaround. Cheers Darryl,. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, 9 September 2011 1:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. I do know how they work, but I was confused by what I understood of your description. What you're describing is exactly what tab controls are for, and I've used them that way in both Access and VB.Net. All you need to do with a tab control is select the tab page and that brings the controls on that page up for you to edit. In effect, you see them the way the user does, except for any controls that you make conditionally visible to the user when that page is up. Those, of course, you see in design view all the time. I'm not sure what you mean about not hiding the tab label. If you're talking about the tabs themselves, they can be turned off so that you control the visible page through code. In Access and .Net, I simply have used the top and left settigs to insure that things lined up. How hard is that? As for photoshop, I hate it. It seems to me the ultimate in non-intuitive UIs, but I admit to being a luddite on some issues, especially with respect to graphics. Charlotte Foust On Wed, Sep 7, 2011 at 11:57 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hi Charlotte - forgive me for this as I really respect your opinion, but I > am not sure you understand how layers work in other applications - they > would never show up all at the same time (unless that is what you wanted). > You can control which ones are visible to the user - might be one, might be > several in different combinations and you can show and reveal based on what > the user needs. > > Layers would also have the huge advantage of allowing you to edit each > layer > individually in design mode. So you have no need to move controls out of > the way to get to a control that is under another one. Have play in > photoshop if you get the chance and you will see how useful this method is. > I know I can fake it using a tab form but the result is less elegant you > cannot hide the tab label itself and it is a pain to ensure all the > controls > on each tab is aligned. Blah blah, I have resorted to tabs in the past and > it is a clunky solution for what I am trying to do. > > That said, sometimes tabbed forms are the way to go. Just depends on what > you want to achieve. In this instance I was thinking "Man, wish I had a > layered design view"... > > Just my thoughts. > Cheers > Darryl. > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Thursday, 8 September 2011 12:10 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Wish List. > > Microsoft addressed this years ago by introducing tab controls. Why on > earth would you want to use layers that all showed up at the same time? > Logically, layers would only show the controls relevant to that layer/page. > > Charlotte Foust > On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Been doing a lot of work with forms. In particular single forms with a > lot > > of controls that are hidden or revealed depending on what options are > > available. I really wish MS were inspired by Adobe with how form design > > behaves. Why can't forms be layered? So you can work on individual > layers > > which only have the relevant controls for that layer, but when the form > is > > displayed all layers are shown, just like an image in Photoshop for > > example. > > > > > > > > That would be super useful as right now if I want to change anything on > > first controls I added, I have to move all of the other controls on top > out > > of the way, make the changes, and then put them all back again. A real > > PITA. Would be wonderful to turn on and off visibility on the layers and > > then it would be easy to access any set of controls that are just on that > > layer. > > > > > > > > I know I can sort of fake this by using tabs, is this a better way or > does > > anyone has a different angle I can consider? > > > > > > > > Cheers > > > > Darryl. > > > > > > > > Darryl Collins > > > > Whittle Consulting Pty Ltd > > > > Suite 8, 660 Canterbury Rd > > > > Surrey Hills, VIC, 3127 > > > > > > > > p: +61 3 9898 3242 > > > > m: +61 418 381 548 > > > > f: +61 3 9898 1855 > > > > e: > > darryl at whittleconsulting.com.au > > > > w: > > > > > > www.whittleconsulting.com.au > > > > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 Thu Sep 8 19:06:39 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 8 Sep 2011 17:06:39 -0700 Subject: [AccessD] Wish List. In-Reply-To: <000001cc6e81$c8c7de00$5a579a00$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <003101cc6e5c$1e87bac0$5b973040$@net> <000001cc6e81$c8c7de00$5a579a00$@com.au> Message-ID: The way we handled the X button issue in VB.Net was to have a close/back/exit button (with caption) in a standard location at the bottom of all forms, along with a menu item at the top to call the same routine. The rule of thumb was to always give the user multiple ways of getting there. Charlotte Foust On Thu, Sep 8, 2011 at 4:48 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Aaah, thanks everyone for their thoughts and comments. It is entirely > possible that I am just doing this the hard way (wouldn't be the first > time). Anyway, I will probably end up using tabs like always. > > I don't like the way you have to leave the label visible at the top of the > page though - even if only one tab is displayed. Visually it is not what I > want, but I guess its all I have to work with. > > Anyway, didn't mean to get folks fired up about what is a tab or what is a > page. Sometimes I think it would be nice if you could take the best of all > the software UI and include it in a single package. > > Ok: Here is another prime example of poor user functionality - or more like > sheer bloody laziness on behalf of MSoft. If I am using Firefox tabs in > the > browser, right on the *Active* tab there is a little "X" on the RHS of that > tab that allows you to close it. Nice and useful, don't have to move the > mouse far and it is darn clear which tab you are going to close. > > In A2007 (which uses a tab setup to display all the open DB objects such as > forms, tables, queries etc) the close button is on the extreme RHS of the > *Screen* - freakin miles away from where you are actually working. Now I > have huge widescreen monitor at work and if I have single tab open there is > about 1 foot (say 28 cms) of screen real estate between the active tab I am > working on, and the little 'close tab' "x" on the RHS of the screen. Even > more annoying is if you have many tabs open, you need to double check the > one want to close is indeed the active tab before pressing the "x" > > - ok there are other ways of closing the tab, such as right mouse click > directly on the tab, but why on earth didn't they just put the close "X" on > the active tab like everyone else does. > > Little gripes, I wouldn't mind so much if I didn't have to pay MS so darn > much for their software. I don't mind paying, but I expect better > functionality and performance than I can get for free from other vendors. > > Heh, can you tell I need a coffee ;) > > Cheers > Darryl. > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Friday, 9 September 2011 6:48 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Wish List. > > I'm not sure which version the multipage control was introduced in > (probably > 2007), but it serves the same purpose as the tab control was introduced for > back in A95 or A97. Tab controls actually do have pages, which you insert > much the same way, although they aren't very intuitive either. I don't > know > why they came up with another control to do the same thing, but such is the > world of Microsoft. > > Charlotte Foust > > On Thu, Sep 8, 2011 at 12:18 PM, Mark Simms wrote: > > > Once again I think confusion abounds: > > Multipage has tabs with associated pages to allow insertion of other > > controls, etc. > > The Tab Control is just this tiny thing that has tabs with no pages. > > > > > -- > 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 Sep 8 19:06:37 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Fri, 9 Sep 2011 10:06:37 +1000 Subject: [AccessD] Wish List. (OT) In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <003101cc6e5c$1e87bac0$5b973040$@net> <000001cc6e81$c8c7de00$5a579a00$@com.au> Message-ID: <000201cc6e84$588ff6b0$09afe410$@com.au> Haha, not a chance. We've run out of milk at work and it is cold and wet outside today. We all want a coffee from the expresso machine, but who is going to crack first and walk in the rain to the shop to get more milk for everyone. .... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Friday, 9 September 2011 9:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. Or had too much coffee ... > Heh, can you tell I need a coffee ;) > > Cheers > Darryl. > From charlotte.foust at gmail.com Thu Sep 8 19:16:53 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 8 Sep 2011 17:16:53 -0700 Subject: [AccessD] Wish List. In-Reply-To: <000101cc6e83$b72b2150$258163f0$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <000101cc6e83$b72b2150$258163f0$@com.au> Message-ID: I didn't realize that's what you were referring to. That's the point of not using tabs or buttons on the tab control but putting the "navigation controls" into a subform on the form header or footer. You're going to have space there regardless if you use buttons or tabs, and it floats to the top so the only way to cover it is with an empty subform. Charlotte Foust On Thu, Sep 8, 2011 at 5:02 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > " I'm not sure what you mean about not hiding the tab label." > > At the top of every tab you have a label (tab) which sticks up above the > rest of the form - the bit the user presses to change tabs if more than one > tab is visible. The problem is even if only 1 tab is visible you cannot > hide this label which stick out above the rest of the form/page. Visually > this is not what we want to see. > > Maybe I am just anal about this sort of thing, but it looks ugly, at least > for what I am try to achieve. > > Don't get me wrong, I am not anti-tabbed forms/pages. I have used the > extensively in the past and will do so again. It is just in this one > instance using tabs seems (and looks) like a cheap and tacky workaround. > > Cheers > Darryl,. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Friday, 9 September 2011 1:56 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Wish List. > > I do know how they work, but I was confused by what I understood of your > description. What you're describing is exactly what tab controls are for, > and I've used them that way in both Access and VB.Net. All you need to do > with a tab control is select the tab page and that brings the controls on > that page up for you to edit. In effect, you see them the way the user > does, except for any controls that you make conditionally visible to the > user when that page is up. Those, of course, you see in design view all > the > time. > > I'm not sure what you mean about not hiding the tab label. If you're > talking about the tabs themselves, they can be turned off so that you > control the visible page through code. In Access and .Net, I simply have > used the top and left settigs to insure that things lined up. How hard is > that? As for photoshop, I hate it. It seems to me the ultimate in > non-intuitive UIs, but I admit to being a luddite on some issues, > especially > with respect to graphics. > > Charlotte Foust > > On Wed, Sep 7, 2011 at 11:57 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Hi Charlotte - forgive me for this as I really respect your opinion, but > I > > am not sure you understand how layers work in other applications - they > > would never show up all at the same time (unless that is what you > wanted). > > You can control which ones are visible to the user - might be one, might > be > > several in different combinations and you can show and reveal based on > what > > the user needs. > > > > Layers would also have the huge advantage of allowing you to edit each > > layer > > individually in design mode. So you have no need to move controls out of > > the way to get to a control that is under another one. Have play in > > photoshop if you get the chance and you will see how useful this method > is. > > I know I can fake it using a tab form but the result is less elegant you > > cannot hide the tab label itself and it is a pain to ensure all the > > controls > > on each tab is aligned. Blah blah, I have resorted to tabs in the past > and > > it is a clunky solution for what I am trying to do. > > > > That said, sometimes tabbed forms are the way to go. Just depends on > what > > you want to achieve. In this instance I was thinking "Man, wish I had a > > layered design view"... > > > > Just my thoughts. > > Cheers > > Darryl. > > > > > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > > Sent: Thursday, 8 September 2011 12:10 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Wish List. > > > > Microsoft addressed this years ago by introducing tab controls. Why on > > earth would you want to use layers that all showed up at the same time? > > Logically, layers would only show the controls relevant to that > layer/page. > > > > Charlotte Foust > > On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < > > darryl at whittleconsulting.com.au> wrote: > > > > > Been doing a lot of work with forms. In particular single forms with a > > lot > > > of controls that are hidden or revealed depending on what options are > > > available. I really wish MS were inspired by Adobe with how form > design > > > behaves. Why can't forms be layered? So you can work on individual > > layers > > > which only have the relevant controls for that layer, but when the form > > is > > > displayed all layers are shown, just like an image in Photoshop for > > > example. > > > > > > > > > > > > That would be super useful as right now if I want to change anything on > > > first controls I added, I have to move all of the other controls on top > > out > > > of the way, make the changes, and then put them all back again. A real > > > PITA. Would be wonderful to turn on and off visibility on the layers > and > > > then it would be easy to access any set of controls that are just on > that > > > layer. > > > > > > > > > > > > I know I can sort of fake this by using tabs, is this a better way or > > does > > > anyone has a different angle I can consider? > > > > > > > > > > > > Cheers > > > > > > Darryl. > > > > > > > > > > > > Darryl Collins > > > > > > Whittle Consulting Pty Ltd > > > > > > Suite 8, 660 Canterbury Rd > > > > > > Surrey Hills, VIC, 3127 > > > > > > > > > > > > p: +61 3 9898 3242 > > > > > > m: +61 418 381 548 > > > > > > f: +61 3 9898 1855 > > > > > > e: > > > darryl at whittleconsulting.com.au > > > > > > w: > > > > > > > > > > > > www.whittleconsulting.com.au > > > > > > > > > > > > > > > > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/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 darryl at whittleconsulting.com.au Thu Sep 8 19:17:09 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Fri, 9 Sep 2011 10:17:09 +1000 Subject: [AccessD] Wish List. In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <003101cc6e5c$1e87bac0$5b973040$@net> <000001cc6e81$c8c7de00$5a579a00$@com.au> Message-ID: <000301cc6e85$d10170a0$730451e0$@com.au> Oh yes, on *my* forms I always do this too. I am talking about MS's own UI in Access design mode which is not customisable by developer. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, 9 September 2011 10:07 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. The way we handled the X button issue in VB.Net was to have a close/back/exit button (with caption) in a standard location at the bottom of all forms, along with a menu item at the top to call the same routine. The rule of thumb was to always give the user multiple ways of getting there. Charlotte Foust On Thu, Sep 8, 2011 at 4:48 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Aaah, thanks everyone for their thoughts and comments. It is entirely > possible that I am just doing this the hard way (wouldn't be the first > time). Anyway, I will probably end up using tabs like always. > > I don't like the way you have to leave the label visible at the top of the > page though - even if only one tab is displayed. Visually it is not what I > want, but I guess its all I have to work with. > > Anyway, didn't mean to get folks fired up about what is a tab or what is a > page. Sometimes I think it would be nice if you could take the best of all > the software UI and include it in a single package. > > Ok: Here is another prime example of poor user functionality - or more like > sheer bloody laziness on behalf of MSoft. If I am using Firefox tabs in > the > browser, right on the *Active* tab there is a little "X" on the RHS of that > tab that allows you to close it. Nice and useful, don't have to move the > mouse far and it is darn clear which tab you are going to close. > > In A2007 (which uses a tab setup to display all the open DB objects such as > forms, tables, queries etc) the close button is on the extreme RHS of the > *Screen* - freakin miles away from where you are actually working. Now I > have huge widescreen monitor at work and if I have single tab open there is > about 1 foot (say 28 cms) of screen real estate between the active tab I am > working on, and the little 'close tab' "x" on the RHS of the screen. Even > more annoying is if you have many tabs open, you need to double check the > one want to close is indeed the active tab before pressing the "x" > > - ok there are other ways of closing the tab, such as right mouse click > directly on the tab, but why on earth didn't they just put the close "X" on > the active tab like everyone else does. > > Little gripes, I wouldn't mind so much if I didn't have to pay MS so darn > much for their software. I don't mind paying, but I expect better > functionality and performance than I can get for free from other vendors. > > Heh, can you tell I need a coffee ;) > > Cheers > Darryl. > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Friday, 9 September 2011 6:48 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Wish List. > > I'm not sure which version the multipage control was introduced in > (probably > 2007), but it serves the same purpose as the tab control was introduced for > back in A95 or A97. Tab controls actually do have pages, which you insert > much the same way, although they aren't very intuitive either. I don't > know > why they came up with another control to do the same thing, but such is the > world of Microsoft. > > Charlotte Foust > > On Thu, Sep 8, 2011 at 12:18 PM, Mark Simms wrote: > > > Once again I think confusion abounds: > > Multipage has tabs with associated pages to allow insertion of other > > controls, etc. > > The Tab Control is just this tiny thing that has tabs with no pages. > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 8 19:27:06 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 09 Sep 2011 10:27:06 +1000 Subject: [AccessD] Wish List. (OT) In-Reply-To: <000201cc6e84$588ff6b0$09afe410$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au>, , <000201cc6e84$588ff6b0$09afe410$@com.au> Message-ID: <4E695D5A.13920.3281CC2D@stuart.lexacorp.com.pg> Milk ruins the taste of decent coffee. Just drink it straight - black and unsweetened :-) -- Stuart On 9 Sep 2011 at 10:06, Darryl Collins wrote: > Haha, not a chance. We've run out of milk at work and it is cold and > wet outside today. We all want a coffee from the expresso machine, > but who is going to crack first and walk in the rain to the shop to > get more milk for everyone. > > .... > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Benson Sent: Friday, 9 September 2011 9:57 AM To: Access Developers > discussion and problem solving Subject: Re: [AccessD] Wish List. > > Or had too much coffee ... > > > > > > > Heh, can you tell I need a coffee ;) > > > > Cheers > > Darryl. > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From df.waters at comcast.net Thu Sep 8 19:58:46 2011 From: df.waters at comcast.net (Dan Waters) Date: Thu, 8 Sep 2011 19:58:46 -0500 Subject: [AccessD] Wish List. In-Reply-To: <000001cc6e81$c8c7de00$5a579a00$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <003101cc6e5c$1e87bac0$5b973040$@net> <000001cc6e81$c8c7de00$5a579a00$@com.au> Message-ID: <006201cc6e8b$a17e24d0$e47a6e70$@comcast.net> I haven't completely read each post so maybe this has already been brought up. On your form, create a subform. Now create a form to use in that subform, with all the controls from one of your 'layers'. Then create (start by copying?) all the forms (as layers) that you'll want to use in the subform. In your main form, write code to change the SourceObject property to the name of whichever form you want to display depending on what your user needs to do. You might want to use Application.Echo False/True in code to surround the switch from one form to the other to minimize screen flashing. This separates out each group of controls onto its own easily editable separate form, and gives your user a clean GUI which doesn't have the tabs of a tab control. I have used this and it works fine. You can so the same thing with a subreport control on a report. HTH, Dan From vbacreations at gmail.com Thu Sep 8 20:16:00 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 8 Sep 2011 21:16:00 -0400 Subject: [AccessD] Wish List. In-Reply-To: <006201cc6e8b$a17e24d0$e47a6e70$@comcast.net> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <003101cc6e5c$1e87bac0$5b973040$@net> <000001cc6e81$c8c7de00$5a579a00$@com.au> <006201cc6e8b$a17e24d0$e47a6e70$@comcast.net> Message-ID: I like that concept. Any downside you're hiding from us? ;) On Sep 8, 2011 9:06 PM, "Dan Waters" wrote: > I haven't completely read each post so maybe this has already been brought > up. > > On your form, create a subform. Now create a form to use in that subform, > with all the controls from one of your 'layers'. Then create (start by > copying?) all the forms (as layers) that you'll want to use in the subform. > In your main form, write code to change the SourceObject property to the > name of whichever form you want to display depending on what your user needs > to do. You might want to use Application.Echo False/True in code to > surround the switch from one form to the other to minimize screen flashing. > > This separates out each group of controls onto its own easily editable > separate form, and gives your user a clean GUI which doesn't have the tabs > of a tab control. I have used this and it works fine. > > You can so the same thing with a subreport control on a report. > > HTH, > Dan > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From vbacreations at gmail.com Thu Sep 8 20:47:46 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 8 Sep 2011 21:47:46 -0400 Subject: [AccessD] String with "#" in VBA? In-Reply-To: References: <4E6697B4.3080601@colbyconsulting.com> <002601cc6cfe$3a74d510$af5e7f30$@com.au> <4E66D3F2.25051.2899085E@stuart.lexacorp.com.pg> <001501cc6d0c$6efc10b0$4cf43210$@gmail.com> <003101cc6d0d$a4552e30$ecff8a90$@com.au> <001601cc6d10$0f115440$2d33fcc0$@gmail.com> Message-ID: It makes much intuitive sense to allow either. Almost hard to see why implement it any other way. On Sep 7, 2011 4:06 PM, "Mark A Matte" wrote: > > I had to think twice... > > Me and SQL spend our days between SQL Server, Access, and Foxpro...last week I was moving some processes from Foxpro to SQL Server and I learned that in Foxpro the HAVING clause will utilize the calculation or the alias... > > just FYI... > > Mark M. > > > >> From: vbacreations at gmail.com >> To: accessd at databaseadvisors.com >> Date: Tue, 6 Sep 2011 23:41:41 -0400 >> Subject: Re: [AccessD] String with "#" in VBA? >> >> No more than anyone else going from the top of their head. To wit, no one >> else pointed out that the Having Clause required the actual computation. >> And, no one pointed out (including me) that most non-calculated constraints >> are put in a WHERE clause, not the Having clause. I would imagine the query >> plan Access builds handles that kind of misappropriation without fuss >> however. Some SQL which I generated using only the Access query designer >> (with unneeded parens removed). >> >> SELECT Max(Tbl_GIB.LASTMODIFIED_DATE) AS MyMaxDate, 1+1 AS SomeCalc >> FROM Tbl_GIB >> WHERE Tbl_GIB.SITE_DB<>'Bill' >> HAVING 1+1=2 And Max(Tbl_GIB.LASTMODIFIED_DATE) < #12/31/2050# >> >> This fails: >> >> SELECT Max(Tbl_GIB.LASTMODIFIED_DATE) AS MyMaxDate, 1+1 AS SomeCalc >> FROM Tbl_GIB >> WHERE Tbl_GIB.SITE_DB<>'Bill' >> HAVING SomeCalc =2 >> >> >> As does this >> >> SELECT Max(Tbl_GIB.LASTMODIFIED_DATE) AS MyMaxDate, 1+1 AS SomeCalc >> FROM Tbl_GIB >> HAVING MyMaxDate < #12/31/2050#; >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins >> Sent: Tuesday, September 06, 2011 11:24 PM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] String with "#" in VBA? >> >> Yes, that syntax would be correct Bill. Man, I made a mess of this one >> didn't I... hmmmmm. >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson >> (VBACreations.Com) >> Sent: Wednesday, 7 September 2011 1:16 PM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] String with "#" in VBA? >> >> I concur with the single-quotes and the comma additions... but I was not >> aware you are allowed to use the result field's name in the HAVING clause, I >> thought you needed to show the function again (see below)? >> >> >> gstrSQL = "" >> gstrSQL = gstrSQL & " SELECT" >> gstrSQL = gstrSQL & " Activity," >> gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF," >> gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" >> gstrSQL = gstrSQL & " FROM ProbC_tblActivities" >> gstrSQL = gstrSQL & " GROUP BY Activity" >> gstrSQL = gstrSQL & " HAVING Activity='#Input'" >> gstrSQL = gstrSQL & " AND SUM(Activity_CF) <> 0" >> >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan >> Sent: Tuesday, September 06, 2011 10:16 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] String with "#" in VBA? >> >> As others have pointed out, the # is not the problem. >> >> #Input is a string inside your SQL which needs to be delimited inside your >> strSQL. >> You are using double quotes as your strSQL building delimiter so the inner >> variable needs to >> be surrounded by single quotes. >> >> Also you are missing a comma after Total_CF >> >> >> >> Try this: >> >> gstrSQL = "SELECT " & _ >> "Activity, " & _ >> "SUM(Activity_CF) AS Total_CF," & _ >> "SUM(Activity_DCF) AS Total_DCF " & _ >> "FROM ProbC_tblActivities " & _ >> "GROUP BY Activity " & _ >> "HAVING Activity='#Input' " & _ >> "AND Total_CF <> 0" & _ >> >> >> >> >> On 7 Sep 2011 at 11:34, Darryl Collins wrote: >> >> > Uh oh... I thought today was going too darn well. >> > >> > I am working with data which has "#" as part of the string which >> > causes the VBA code to fail >> > >> > For Example: >> > >> > gstrSQL = vbNullString >> > gstrSQL = gstrSQL & " SELECT" >> > gstrSQL = gstrSQL & " Activity," >> > gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" >> > gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" >> > gstrSQL = gstrSQL & " FROM ProbC_tblActivities" >> > gstrSQL = gstrSQL & " GROUP BY Activity" >> > gstrSQL = gstrSQL & " HAVING Activity="#Input" >> > gstrSQL = gstrSQL & " AND Total_CF <> 0" >> > >> > Which sort of makes sense as the # is used in VBA for Conditional >> > Compile. >> > >> > Is there some way I can I get VBA to accept the # as part of the >> > string and not a command? >> > >> > Google has fairly useless when searching for "#" as well. Bah >> > humbubg. >> > >> > Cheers >> > Darryl >> > >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/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 Thu Sep 8 22:13:53 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 8 Sep 2011 20:13:53 -0700 Subject: [AccessD] Wish List. In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <003101cc6e5c$1e87bac0$5b973040$@net> <000001cc6e81$c8c7de00$5a579a00$@com.au> <006201cc6e8b$a17e24d0$e47a6e70$@comcast.net> Message-ID: Yeah, there is, but only if you're using bound subforms. If they're unbound, it isn't a problem! ;-> When using bound subforms, the master/child links have to be cleared and reset, which is a great argument for using unbound subforms. This is essentially what I've done with tab controls, except that with the tab control option, you don't have to clear and reload the subform control each time, which will create a delay, although perhaps not a noticeable one if the subform and its source are straightforward. The tab control only has to load the subform once when you go to a particular tab page. After that, the tab control takes care of hiding and displaying it. And binding isn't a problem. Charlotte Foust On Thu, Sep 8, 2011 at 6:16 PM, William Benson wrote: > I like that concept. Any downside you're hiding from us? > > ;) > On Sep 8, 2011 9:06 PM, "Dan Waters" wrote: > > I haven't completely read each post so maybe this has already been > brought > > up. > > > > On your form, create a subform. Now create a form to use in that subform, > > with all the controls from one of your 'layers'. Then create (start by > > copying?) all the forms (as layers) that you'll want to use in the > subform. > > In your main form, write code to change the SourceObject property to the > > name of whichever form you want to display depending on what your user > needs > > to do. You might want to use Application.Echo False/True in code to > > surround the switch from one form to the other to minimize screen > flashing. > > > > This separates out each group of controls onto its own easily editable > > separate form, and gives your user a clean GUI which doesn't have the > tabs > > of a tab control. I have used this and it works fine. > > > > You can so the same thing with a subreport control on a report. > > > > HTH, > > Dan > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 Sep 9 00:47:34 2011 From: rockysmolin at bchacc.com (rockysmolin at bchacc.com) Date: Thu, 08 Sep 2011 22:47:34 -0700 Subject: [AccessD] Wish List. Message-ID: <20110908224734.86c3debdd1c3983866efe200e2feb95f.d804cf892c.wbe@email18.secureserver.net> Try setting the Style property of the tab control to None. Rocky -------- Original Message -------- Subject: Re: [AccessD] Wish List. From: "Darryl Collins" Date: Thu, September 08, 2011 5:02 pm To: "'Access Developers discussion and problem solving'" " I'm not sure what you mean about not hiding the tab label." At the top of every tab you have a label (tab) which sticks up above the rest of the form - the bit the user presses to change tabs if more than one tab is visible. The problem is even if only 1 tab is visible you cannot hide this label which stick out above the rest of the form/page. Visually this is not what we want to see. Maybe I am just anal about this sort of thing, but it looks ugly, at least for what I am try to achieve. Don't get me wrong, I am not anti-tabbed forms/pages. I have used the extensively in the past and will do so again. It is just in this one instance using tabs seems (and looks) like a cheap and tacky workaround. Cheers Darryl,. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, 9 September 2011 1:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. I do know how they work, but I was confused by what I understood of your description. What you're describing is exactly what tab controls are for, and I've used them that way in both Access and VB.Net. All you need to do with a tab control is select the tab page and that brings the controls on that page up for you to edit. In effect, you see them the way the user does, except for any controls that you make conditionally visible to the user when that page is up. Those, of course, you see in design view all the time. I'm not sure what you mean about not hiding the tab label. If you're talking about the tabs themselves, they can be turned off so that you control the visible page through code. In Access and .Net, I simply have used the top and left settigs to insure that things lined up. How hard is that? As for photoshop, I hate it. It seems to me the ultimate in non-intuitive UIs, but I admit to being a luddite on some issues, especially with respect to graphics. Charlotte Foust On Wed, Sep 7, 2011 at 11:57 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hi Charlotte - forgive me for this as I really respect your opinion, but I > am not sure you understand how layers work in other applications - they > would never show up all at the same time (unless that is what you wanted). > You can control which ones are visible to the user - might be one, might be > several in different combinations and you can show and reveal based on what > the user needs. > > Layers would also have the huge advantage of allowing you to edit each > layer > individually in design mode. So you have no need to move controls out of > the way to get to a control that is under another one. Have play in > photoshop if you get the chance and you will see how useful this method is. > I know I can fake it using a tab form but the result is less elegant you > cannot hide the tab label itself and it is a pain to ensure all the > controls > on each tab is aligned. Blah blah, I have resorted to tabs in the past and > it is a clunky solution for what I am trying to do. > > That said, sometimes tabbed forms are the way to go. Just depends on what > you want to achieve. In this instance I was thinking "Man, wish I had a > layered design view"... > > Just my thoughts. > Cheers > Darryl. > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Thursday, 8 September 2011 12:10 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Wish List. > > Microsoft addressed this years ago by introducing tab controls. Why on > earth would you want to use layers that all showed up at the same time? > Logically, layers would only show the controls relevant to that layer/page. > > Charlotte Foust > On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Been doing a lot of work with forms. In particular single forms with a > lot > > of controls that are hidden or revealed depending on what options are > > available. I really wish MS were inspired by Adobe with how form design > > behaves. Why can't forms be layered? So you can work on individual > layers > > which only have the relevant controls for that layer, but when the form > is > > displayed all layers are shown, just like an image in Photoshop for > > example. > > > > > > > > That would be super useful as right now if I want to change anything on > > first controls I added, I have to move all of the other controls on top > out > > of the way, make the changes, and then put them all back again. A real > > PITA. Would be wonderful to turn on and off visibility on the layers and > > then it would be easy to access any set of controls that are just on that > > layer. > > > > > > > > I know I can sort of fake this by using tabs, is this a better way or > does > > anyone has a different angle I can consider? > > > > > > > > Cheers > > > > Darryl. > > > > > > > > Darryl Collins > > > > Whittle Consulting Pty Ltd > > > > Suite 8, 660 Canterbury Rd > > > > Surrey Hills, VIC, 3127 > > > > > > > > p: +61 3 9898 3242 > > > > m: +61 418 381 548 > > > > f: +61 3 9898 1855 > > > > e: > > darryl at whittleconsulting.com.au > > > > w: > > > > > > www.whittleconsulting.com.au > > > > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 darryl at whittleconsulting.com.au Fri Sep 9 01:32:31 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Fri, 9 Sep 2011 16:32:31 +1000 Subject: [AccessD] Wish List. In-Reply-To: <20110908224734.86c3debdd1c3983866efe200e2feb95f.d804cf892c.wbe@email18.secureserver.net> References: <20110908224734.86c3debdd1c3983866efe200e2feb95f.d804cf892c.wbe@email18.secureserver.net> Message-ID: <000701cc6eba$4488cc10$cd9a6430$@com.au> Thanks Rocky, I will give that a go and see how it turns out. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rockysmolin at bchacc.com Sent: Friday, 9 September 2011 3:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. Try setting the Style property of the tab control to None. Rocky -------- Original Message -------- Subject: Re: [AccessD] Wish List. From: "Darryl Collins" Date: Thu, September 08, 2011 5:02 pm To: "'Access Developers discussion and problem solving'" " I'm not sure what you mean about not hiding the tab label." At the top of every tab you have a label (tab) which sticks up above the rest of the form - the bit the user presses to change tabs if more than one tab is visible. The problem is even if only 1 tab is visible you cannot hide this label which stick out above the rest of the form/page. Visually this is not what we want to see. Maybe I am just anal about this sort of thing, but it looks ugly, at least for what I am try to achieve. Don't get me wrong, I am not anti-tabbed forms/pages. I have used the extensively in the past and will do so again. It is just in this one instance using tabs seems (and looks) like a cheap and tacky workaround. Cheers Darryl,. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, 9 September 2011 1:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. I do know how they work, but I was confused by what I understood of your description. What you're describing is exactly what tab controls are for, and I've used them that way in both Access and VB.Net. All you need to do with a tab control is select the tab page and that brings the controls on that page up for you to edit. In effect, you see them the way the user does, except for any controls that you make conditionally visible to the user when that page is up. Those, of course, you see in design view all the time. I'm not sure what you mean about not hiding the tab label. If you're talking about the tabs themselves, they can be turned off so that you control the visible page through code. In Access and .Net, I simply have used the top and left settigs to insure that things lined up. How hard is that? As for photoshop, I hate it. It seems to me the ultimate in non-intuitive UIs, but I admit to being a luddite on some issues, especially with respect to graphics. Charlotte Foust On Wed, Sep 7, 2011 at 11:57 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hi Charlotte - forgive me for this as I really respect your opinion, but I > am not sure you understand how layers work in other applications - they > would never show up all at the same time (unless that is what you wanted). > You can control which ones are visible to the user - might be one, might be > several in different combinations and you can show and reveal based on what > the user needs. > > Layers would also have the huge advantage of allowing you to edit each > layer > individually in design mode. So you have no need to move controls out of > the way to get to a control that is under another one. Have play in > photoshop if you get the chance and you will see how useful this method is. > I know I can fake it using a tab form but the result is less elegant you > cannot hide the tab label itself and it is a pain to ensure all the > controls > on each tab is aligned. Blah blah, I have resorted to tabs in the past and > it is a clunky solution for what I am trying to do. > > That said, sometimes tabbed forms are the way to go. Just depends on what > you want to achieve. In this instance I was thinking "Man, wish I had a > layered design view"... > > Just my thoughts. > Cheers > Darryl. > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Thursday, 8 September 2011 12:10 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Wish List. > > Microsoft addressed this years ago by introducing tab controls. Why on > earth would you want to use layers that all showed up at the same time? > Logically, layers would only show the controls relevant to that layer/page. > > Charlotte Foust > On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Been doing a lot of work with forms. In particular single forms with a > lot > > of controls that are hidden or revealed depending on what options are > > available. I really wish MS were inspired by Adobe with how form design > > behaves. Why can't forms be layered? So you can work on individual > layers > > which only have the relevant controls for that layer, but when the form > is > > displayed all layers are shown, just like an image in Photoshop for > > example. > > > > > > > > That would be super useful as right now if I want to change anything on > > first controls I added, I have to move all of the other controls on top > out > > of the way, make the changes, and then put them all back again. A real > > PITA. Would be wonderful to turn on and off visibility on the layers and > > then it would be easy to access any set of controls that are just on that > > layer. > > > > > > > > I know I can sort of fake this by using tabs, is this a better way or > does > > anyone has a different angle I can consider? > > > > > > > > Cheers > > > > Darryl. > > > > > > > > Darryl Collins > > > > Whittle Consulting Pty Ltd > > > > Suite 8, 660 Canterbury Rd > > > > Surrey Hills, VIC, 3127 > > > > > > > > p: +61 3 9898 3242 > > > > m: +61 418 381 548 > > > > f: +61 3 9898 1855 > > > > e: > > darryl at whittleconsulting.com.au > > > > w: > > > > > > www.whittleconsulting.com.au > > > > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 stuart at lexacorp.com.pg Fri Sep 9 02:54:18 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 09 Sep 2011 17:54:18 +1000 Subject: [AccessD] Wish List. In-Reply-To: <20110908224734.86c3debdd1c3983866efe200e2feb95f.d804cf892c.wbe@email18.secureserver.net> References: <20110908224734.86c3debdd1c3983866efe200e2feb95f.d804cf892c.wbe@email18.secureserver.net> Message-ID: <4E69C62A.28927.341B36BA@stuart.lexacorp.com.pg> It's true what they say - you live and learn. I've been using tabs for umpteen years and I wasn't aware of that trick. Neat! -- Stuart On 8 Sep 2011 at 22:47, rockysmolin at bchacc.com wrote: > Try setting the Style property of the tab control to None. > > Rocky > > > > -------- Original Message -------- > Subject: Re: [AccessD] Wish List. > From: "Darryl Collins" > Date: Thu, September 08, 2011 5:02 pm > To: "'Access Developers discussion and problem solving'" > > > " I'm not sure what you mean about not hiding the tab label." > > At the top of every tab you have a label (tab) which sticks up above > the rest of the form - the bit the user presses to change tabs if more > than one tab is visible. The problem is even if only 1 tab is visible > you cannot hide this label which stick out above the rest of the > form/page. Visually this is not what we want to see. > > Maybe I am just anal about this sort of thing, but it looks ugly, at > least for what I am try to achieve. > > Don't get me wrong, I am not anti-tabbed forms/pages. I have used the > extensively in the past and will do so again. It is just in this one > instance using tabs seems (and looks) like a cheap and tacky > workaround. > > Cheers > Darryl,. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust Sent: Friday, 9 September 2011 1:56 AM To: Access Developers > discussion and problem solving Subject: Re: [AccessD] Wish List. > > I do know how they work, but I was confused by what I understood of > your description. What you're describing is exactly what tab controls > are for, and I've used them that way in both Access and VB.Net. All > you need to do with a tab control is select the tab page and that > brings the controls on that page up for you to edit. In effect, you > see them the way the user does, except for any controls that you make > conditionally visible to the user when that page is up. Those, of > course, you see in design view all the time. > > I'm not sure what you mean about not hiding the tab label. If you're > talking about the tabs themselves, they can be turned off so that you > control the visible page through code. In Access and .Net, I simply > have used the top and left settigs to insure that things lined up. How > hard is that? As for photoshop, I hate it. It seems to me the ultimate > in non-intuitive UIs, but I admit to being a luddite on some issues, > especially with respect to graphics. > > Charlotte Foust > > On Wed, Sep 7, 2011 at 11:57 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Hi Charlotte - forgive me for this as I really respect your opinion, > > but I am not sure you understand how layers work in other > > applications - they would never show up all at the same time (unless > > that is what you wanted). You can control which ones are visible to > > the user - might be one, might > be > > several in different combinations and you can show and reveal based > > on > what > > the user needs. > > > > Layers would also have the huge advantage of allowing you to edit > > each layer individually in design mode. So you have no need to move > > controls out of the way to get to a control that is under another > > one. Have play in photoshop if you get the chance and you will see > > how useful this method > is. > > I know I can fake it using a tab form but the result is less elegant > > you cannot hide the tab label itself and it is a pain to ensure all > > the controls on each tab is aligned. Blah blah, I have resorted to > > tabs in the past > and > > it is a clunky solution for what I am trying to do. > > > > That said, sometimes tabbed forms are the way to go. Just depends on > > what you want to achieve. In this instance I was thinking "Man, wish > > I had a layered design view"... > > > > Just my thoughts. > > Cheers > > Darryl. > > > > > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > > Foust Sent: Thursday, 8 September 2011 12:10 PM To: Access > > Developers discussion and problem solving Subject: Re: [AccessD] > > Wish List. > > > > Microsoft addressed this years ago by introducing tab controls. Why > > on earth would you want to use layers that all showed up at the same > > time? Logically, layers would only show the controls relevant to > > that > layer/page. > > > > Charlotte Foust > > On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < > > darryl at whittleconsulting.com.au> wrote: > > > > > Been doing a lot of work with forms. In particular single forms > > > with a > > lot > > > of controls that are hidden or revealed depending on what options > > > are available. I really wish MS were inspired by Adobe with how > > > form design behaves. Why can't forms be layered? So you can work > > > on individual > > layers > > > which only have the relevant controls for that layer, but when the > > > form > > is > > > displayed all layers are shown, just like an image in Photoshop > > > for example. > > > > > > > > > > > > That would be super useful as right now if I want to change > > > anything on first controls I added, I have to move all of the > > > other controls on top > > out > > > of the way, make the changes, and then put them all back again. A > > > real PITA. Would be wonderful to turn on and off visibility on the > > > layers > and > > > then it would be easy to access any set of controls that are just > > > on > that > > > layer. > > > > > > > > > > > > I know I can sort of fake this by using tabs, is this a better way > > > or > > does > > > anyone has a different angle I can consider? > > > > > > > > > > > > Cheers > > > > > > Darryl. > > > > > > > > > > > > Darryl Collins > > > > > > Whittle Consulting Pty Ltd > > > > > > Suite 8, 660 Canterbury Rd > > > > > > Surrey Hills, VIC, 3127 > > > > > > > > > > > > p: +61 3 9898 3242 > > > > > > m: +61 418 381 548 > > > > > > f: +61 3 9898 1855 > > > > > > e: > > > darryl at whittleconsulting.com.au > > > > > > w: > > > > > > > > > > www.whittleconsulting.com.au > > > > > > > > > > > > > > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/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 jwcolby at colbyconsulting.com Fri Sep 9 06:52:56 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 09 Sep 2011 07:52:56 -0400 Subject: [AccessD] Access versioning / tracking changes Message-ID: <4E69FE18.6090404@colbyconsulting.com> I use a somewhat simple two table change request database for tracking changes to my Access projects. I have to admit I find it problematic to track changes to a level that allows backing out any specific change while leaving the rest. This has resulted in "rolling back" to a specific level when a problem comes up. And yes they do test but things do happen. I have a CR table where the client places their change requests with explanatory text. It has the typical requested date / requesting person / date to test / date tested etc. A child table holds what I do with explanatory text and a test regimen to test that it work, a text for what they found in test (if problems). I can add another record as a response to that testing problem etc. The problem I run into is that any significant change may involve a change to N queries, additional fields or entire tables, code modules and so forth. A change may be trivial or it may be an entire subsystem. I have never found a way to really document in sufficient detail what I did to implement the change that would allow me to back out just that change, at least of the change is very complex. If I get two or three changes in and then one four changes back is found to be a problem such that they want to roll it back, I often times cant. If we roll back all the changes since (go back to a previous version) then we lose all of the actual work done since. I have never worked in a large design team and witnessed how this is generally done. I am wondering how you guys handle this stuff. Any words of wisdom? Tools? tips? Can we have a discussion on this? -- John W. Colby www.ColbyConsulting.com From jimdettman at verizon.net Fri Sep 9 07:36:45 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 09 Sep 2011 08:36:45 -0400 Subject: [AccessD] Wish List. In-Reply-To: <4E69C62A.28927.341B36BA@stuart.lexacorp.com.pg> References: <20110908224734.86c3debdd1c3983866efe200e2feb95f.d804cf892c.wbe@email18.secureserver.net> <4E69C62A.28927.341B36BA@stuart.lexacorp.com.pg> Message-ID: <2867DF3470B048B7AFF8A1D847B31938@XPS> It's an excellent way to do the "Wizard" paging thing (one tab page for each wizard page). Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Friday, September 09, 2011 03:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. It's true what they say - you live and learn. I've been using tabs for umpteen years and I wasn't aware of that trick. Neat! -- Stuart On 8 Sep 2011 at 22:47, rockysmolin at bchacc.com wrote: > Try setting the Style property of the tab control to None. > > Rocky > > > > -------- Original Message -------- > Subject: Re: [AccessD] Wish List. > From: "Darryl Collins" > Date: Thu, September 08, 2011 5:02 pm > To: "'Access Developers discussion and problem solving'" > > > " I'm not sure what you mean about not hiding the tab label." > > At the top of every tab you have a label (tab) which sticks up above > the rest of the form - the bit the user presses to change tabs if more > than one tab is visible. The problem is even if only 1 tab is visible > you cannot hide this label which stick out above the rest of the > form/page. Visually this is not what we want to see. > > Maybe I am just anal about this sort of thing, but it looks ugly, at > least for what I am try to achieve. > > Don't get me wrong, I am not anti-tabbed forms/pages. I have used the > extensively in the past and will do so again. It is just in this one > instance using tabs seems (and looks) like a cheap and tacky > workaround. > > Cheers > Darryl,. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust Sent: Friday, 9 September 2011 1:56 AM To: Access Developers > discussion and problem solving Subject: Re: [AccessD] Wish List. > > I do know how they work, but I was confused by what I understood of > your description. What you're describing is exactly what tab controls > are for, and I've used them that way in both Access and VB.Net. All > you need to do with a tab control is select the tab page and that > brings the controls on that page up for you to edit. In effect, you > see them the way the user does, except for any controls that you make > conditionally visible to the user when that page is up. Those, of > course, you see in design view all the time. > > I'm not sure what you mean about not hiding the tab label. If you're > talking about the tabs themselves, they can be turned off so that you > control the visible page through code. In Access and .Net, I simply > have used the top and left settigs to insure that things lined up. How > hard is that? As for photoshop, I hate it. It seems to me the ultimate > in non-intuitive UIs, but I admit to being a luddite on some issues, > especially with respect to graphics. > > Charlotte Foust > > On Wed, Sep 7, 2011 at 11:57 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Hi Charlotte - forgive me for this as I really respect your opinion, > > but I am not sure you understand how layers work in other > > applications - they would never show up all at the same time (unless > > that is what you wanted). You can control which ones are visible to > > the user - might be one, might > be > > several in different combinations and you can show and reveal based > > on > what > > the user needs. > > > > Layers would also have the huge advantage of allowing you to edit > > each layer individually in design mode. So you have no need to move > > controls out of the way to get to a control that is under another > > one. Have play in photoshop if you get the chance and you will see > > how useful this method > is. > > I know I can fake it using a tab form but the result is less elegant > > you cannot hide the tab label itself and it is a pain to ensure all > > the controls on each tab is aligned. Blah blah, I have resorted to > > tabs in the past > and > > it is a clunky solution for what I am trying to do. > > > > That said, sometimes tabbed forms are the way to go. Just depends on > > what you want to achieve. In this instance I was thinking "Man, wish > > I had a layered design view"... > > > > Just my thoughts. > > Cheers > > Darryl. > > > > > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > > Foust Sent: Thursday, 8 September 2011 12:10 PM To: Access > > Developers discussion and problem solving Subject: Re: [AccessD] > > Wish List. > > > > Microsoft addressed this years ago by introducing tab controls. Why > > on earth would you want to use layers that all showed up at the same > > time? Logically, layers would only show the controls relevant to > > that > layer/page. > > > > Charlotte Foust > > On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < > > darryl at whittleconsulting.com.au> wrote: > > > > > Been doing a lot of work with forms. In particular single forms > > > with a > > lot > > > of controls that are hidden or revealed depending on what options > > > are available. I really wish MS were inspired by Adobe with how > > > form design behaves. Why can't forms be layered? So you can work > > > on individual > > layers > > > which only have the relevant controls for that layer, but when the > > > form > > is > > > displayed all layers are shown, just like an image in Photoshop > > > for example. > > > > > > > > > > > > That would be super useful as right now if I want to change > > > anything on first controls I added, I have to move all of the > > > other controls on top > > out > > > of the way, make the changes, and then put them all back again. A > > > real PITA. Would be wonderful to turn on and off visibility on the > > > layers > and > > > then it would be easy to access any set of controls that are just > > > on > that > > > layer. > > > > > > > > > > > > I know I can sort of fake this by using tabs, is this a better way > > > or > > does > > > anyone has a different angle I can consider? > > > > > > > > > > > > Cheers > > > > > > Darryl. > > > > > > > > > > > > Darryl Collins > > > > > > Whittle Consulting Pty Ltd > > > > > > Suite 8, 660 Canterbury Rd > > > > > > Surrey Hills, VIC, 3127 > > > > > > > > > > > > p: +61 3 9898 3242 > > > > > > m: +61 418 381 548 > > > > > > f: +61 3 9898 1855 > > > > > > e: > > > darryl at whittleconsulting.com.au > > > > > > w: > > > > > > > > > > www.whittleconsulting.com.au > > > > > > > > > > > > > > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/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 > -- 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 Sep 9 07:56:02 2011 From: df.waters at comcast.net (Dan Waters) Date: Fri, 9 Sep 2011 07:56:02 -0500 Subject: [AccessD] Access versioning / tracking changes In-Reply-To: <4E69FE18.6090404@colbyconsulting.com> References: <4E69FE18.6090404@colbyconsulting.com> Message-ID: <001b01cc6eef$d4ce49f0$7e6addd0$@comcast.net> Hi John, I'm impressed that you do track changes to this extent. I don't - my method is just fix as needed when needed. One thing you might look at: FMS has a tool called Access Detective. It's used to tell you the differences between any two mdb files. If you keep a copy of each released version, you'd be able to compare, in detail, your current system with any previous released version. Long ago I had a copy of Detective, but that was before I understood the process of developing! HTH, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, September 09, 2011 6:53 AM To: Access Developers discussion and problem solving Subject: [AccessD] Access versioning / tracking changes I use a somewhat simple two table change request database for tracking changes to my Access projects. I have to admit I find it problematic to track changes to a level that allows backing out any specific change while leaving the rest. This has resulted in "rolling back" to a specific level when a problem comes up. And yes they do test but things do happen. I have a CR table where the client places their change requests with explanatory text. It has the typical requested date / requesting person / date to test / date tested etc. A child table holds what I do with explanatory text and a test regimen to test that it work, a text for what they found in test (if problems). I can add another record as a response to that testing problem etc. The problem I run into is that any significant change may involve a change to N queries, additional fields or entire tables, code modules and so forth. A change may be trivial or it may be an entire subsystem. I have never found a way to really document in sufficient detail what I did to implement the change that would allow me to back out just that change, at least of the change is very complex. If I get two or three changes in and then one four changes back is found to be a problem such that they want to roll it back, I often times cant. If we roll back all the changes since (go back to a previous version) then we lose all of the actual work done since. I have never worked in a large design team and witnessed how this is generally done. I am wondering how you guys handle this stuff. Any words of wisdom? Tools? tips? Can we have a discussion on this? -- John W. Colby www.ColbyConsulting.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 Fri Sep 9 07:59:51 2011 From: df.waters at comcast.net (Dan Waters) Date: Fri, 9 Sep 2011 07:59:51 -0500 Subject: [AccessD] Wish List. In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <003101cc6e5c$1e87bac0$5b973040$@net> <000001cc6e81$c8c7de00$5a579a00$@com.au> <006201cc6e8b$a17e24d0$e47a6e70$@comcast.net> Message-ID: <001f01cc6ef0$5d4c0010$17e40030$@comcast.net> Not true! Since you're already setting the Sourceobject of the subform by code, you can do the same with the master/child link properties. When I did this, the master/child were the same anyway, which I'd guess in Darryl's case would also be true. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, September 08, 2011 10:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. Yeah, there is, but only if you're using bound subforms. If they're unbound, it isn't a problem! ;-> When using bound subforms, the master/child links have to be cleared and reset, which is a great argument for using unbound subforms. This is essentially what I've done with tab controls, except that with the tab control option, you don't have to clear and reload the subform control each time, which will create a delay, although perhaps not a noticeable one if the subform and its source are straightforward. The tab control only has to load the subform once when you go to a particular tab page. After that, the tab control takes care of hiding and displaying it. And binding isn't a problem. Charlotte Foust On Thu, Sep 8, 2011 at 6:16 PM, William Benson wrote: > I like that concept. Any downside you're hiding from us? > > ;) > On Sep 8, 2011 9:06 PM, "Dan Waters" wrote: > > I haven't completely read each post so maybe this has already been > brought > > up. > > > > On your form, create a subform. Now create a form to use in that > > subform, with all the controls from one of your 'layers'. Then > > create (start by > > copying?) all the forms (as layers) that you'll want to use in the > subform. > > In your main form, write code to change the SourceObject property to > > the name of whichever form you want to display depending on what > > your user > needs > > to do. You might want to use Application.Echo False/True in code to > > surround the switch from one form to the other to minimize screen > flashing. > > > > This separates out each group of controls onto its own easily > > editable separate form, and gives your user a clean GUI which > > doesn't have the > tabs > > of a tab control. I have used this and it works fine. > > > > You can so the same thing with a subreport control on a report. > > > > HTH, > > Dan > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Fri Sep 9 09:59:48 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 9 Sep 2011 07:59:48 -0700 Subject: [AccessD] Access versioning / tracking changes In-Reply-To: <4E69FE18.6090404@colbyconsulting.com> References: <4E69FE18.6090404@colbyconsulting.com> Message-ID: John, The way to do this is with version control software, i.e., SourceSafe, SourceGear Vault, etc. There are Access add-ins that allow you to use the version control software in a comparable manner to other languages, that is, at the granularity of inidividual containers within the project. You would need to look at what's out there, and the software isn't cheap, but there's a good reason for that. Of the two I've worked with (those above), Vault gives far greater control, but I admit I never worked with it in Access, only VB.Net. Charlotte Foust On Fri, Sep 9, 2011 at 4:52 AM, jwcolby wrote: > I use a somewhat simple two table change request database for tracking > changes to my Access projects. I have to admit I find it problematic to > track changes to a level that allows backing out any specific change while > leaving the rest. This has resulted in "rolling back" to a specific level > when a problem comes up. And yes they do test but things do happen. > > I have a CR table where the client places their change requests with > explanatory text. It has the typical requested date / requesting person / > date to test / date tested etc. A child table holds what I do with > explanatory text and a test regimen to test that it work, a text for what > they found in test (if problems). I can add another record as a response to > that testing problem etc. > > The problem I run into is that any significant change may involve a change > to N queries, additional fields or entire tables, code modules and so forth. > A change may be trivial or it may be an entire subsystem. I have never > found a way to really document in sufficient detail what I did to implement > the change that would allow me to back out just that change, at least of the > change is very complex. > > If I get two or three changes in and then one four changes back is found to > be a problem such that they want to roll it back, I often times cant. If we > roll back all the changes since (go back to a previous version) then we lose > all of the actual work done since. > > I have never worked in a large design team and witnessed how this is > generally done. I am wondering how you guys handle this stuff. Any words > of wisdom? Tools? tips? > > Can we have a discussion on this? > > -- > John W. Colby > www.ColbyConsulting.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From tinanfields at torchlake.com Fri Sep 9 09:07:18 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 09 Sep 2011 10:07:18 -0400 Subject: [AccessD] Access versioning / tracking changes In-Reply-To: <4E69FE18.6090404@colbyconsulting.com> References: <4E69FE18.6090404@colbyconsulting.com> Message-ID: <4E6A1D96.9080808@torchlake.com> John, I like your idea of using a database to track changes. I think I'll adopt it. I use a running notes document with dated entries. Each entry explains what I did and why, including things like working out the logic to do a certain new thing my client wants. At the end of every entry I have a list of the new items created and the existing items modified. The details of all those things are in the narrative of the entry. It can be tedious to go through, but it beats the heck out of having no idea how I got where I am at present. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 9/9/2011 7:52 AM, jwcolby wrote: > I use a somewhat simple two table change request database for tracking > changes to my Access projects. I have to admit I find it problematic > to track changes to a level that allows backing out any specific > change while leaving the rest. This has resulted in "rolling back" to > a specific level when a problem comes up. And yes they do test but > things do happen. > > I have a CR table where the client places their change requests with > explanatory text. It has the typical requested date / requesting > person / date to test / date tested etc. A child table holds what I > do with explanatory text and a test regimen to test that it work, a > text for what they found in test (if problems). I can add another > record as a response to that testing problem etc. > > The problem I run into is that any significant change may involve a > change to N queries, additional fields or entire tables, code modules > and so forth. A change may be trivial or it may be an entire > subsystem. I have never found a way to really document in sufficient > detail what I did to implement the change that would allow me to back > out just that change, at least of the change is very complex. > > If I get two or three changes in and then one four changes back is > found to be a problem such that they want to roll it back, I often > times cant. If we roll back all the changes since (go back to a > previous version) then we lose all of the actual work done since. > > I have never worked in a large design team and witnessed how this is > generally done. I am wondering how you guys handle this stuff. Any > words of wisdom? Tools? tips? > > Can we have a discussion on this? > From jwcolby at colbyconsulting.com Fri Sep 9 11:37:12 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 09 Sep 2011 12:37:12 -0400 Subject: [AccessD] Access versioning / tracking changes In-Reply-To: References: <4E69FE18.6090404@colbyconsulting.com> Message-ID: <4E6A40B8.3030509@colbyconsulting.com> Charlotte, I do version control in my C# code, at least I check stuff in etc. I really just use it for the code repository, not really for versioning. One problem I have is that I am solo. I do not the training to actually use a VCS to create and release versions, mark changes as verson XYZ etc. I use SVN and we check in changes, all that stuff. But how is that used to roll back a specific change? I dunno. If I understood that I might have the impetus to get Access working with that but if all I am going to do is check it in it seems less than useful. In the case of my C# stuff it is still useful because we can be working on things locally and only check in when it is tested etc. I.e. I can use an older version until the latest changes seem to be working. Even so it would be nice to say I want to roll back just change xyz. John W. Colby www.ColbyConsulting.com On 9/9/2011 10:59 AM, Charlotte Foust wrote: > John, > > The way to do this is with version control software, i.e., SourceSafe, > SourceGear Vault, etc. There are Access add-ins that allow you to use the > version control software in a comparable manner to other languages, that is, > at the granularity of inidividual containers within the project. You would > need to look at what's out there, and the software isn't cheap, but there's > a good reason for that. Of the two I've worked with (those above), Vault > gives far greater control, but I admit I never worked with it in Access, > only VB.Net. > > Charlotte Foust > > On Fri, Sep 9, 2011 at 4:52 AM, jwcolby wrote: > >> I use a somewhat simple two table change request database for tracking >> changes to my Access projects. I have to admit I find it problematic to >> track changes to a level that allows backing out any specific change while >> leaving the rest. This has resulted in "rolling back" to a specific level >> when a problem comes up. And yes they do test but things do happen. >> >> I have a CR table where the client places their change requests with >> explanatory text. It has the typical requested date / requesting person / >> date to test / date tested etc. A child table holds what I do with >> explanatory text and a test regimen to test that it work, a text for what >> they found in test (if problems). I can add another record as a response to >> that testing problem etc. >> >> The problem I run into is that any significant change may involve a change >> to N queries, additional fields or entire tables, code modules and so forth. >> A change may be trivial or it may be an entire subsystem. I have never >> found a way to really document in sufficient detail what I did to implement >> the change that would allow me to back out just that change, at least of the >> change is very complex. >> >> If I get two or three changes in and then one four changes back is found to >> be a problem such that they want to roll it back, I often times cant. If we >> roll back all the changes since (go back to a previous version) then we lose >> all of the actual work done since. >> >> I have never worked in a large design team and witnessed how this is >> generally done. I am wondering how you guys handle this stuff. Any words >> of wisdom? Tools? tips? >> >> Can we have a discussion on this? >> >> -- >> John W. Colby >> www.ColbyConsulting.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 Sep 9 08:39:11 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 09 Sep 2011 09:39:11 -0400 Subject: [AccessD] Access versioning / tracking changes In-Reply-To: <4E69FE18.6090404@colbyconsulting.com> References: <4E69FE18.6090404@colbyconsulting.com> Message-ID: I work along similar lines and have never found a good way to handle this either. I try and keep my changes small and do them one at a time, making a copy of the DB with each change. But trying to document everything and anything I change just takes too long. And like you, if the first change in a series of four needs to be un-done, then I can either go to a backup and loose all four or try to take out the first one manually. I've never done the latter though. Generally I want to get a client up and running as fast as possible, so I'll either fix it quick (if I think I can), or I simply drop back to the last known good copy and loose all four changes. I suppose I could use Total Access Detective like Dan suggests and try to pull out the first change, but I've never tried to do a rollback like that and it always seemed to me to be more trouble then it was possibly worth. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, September 09, 2011 07:53 AM To: Access Developers discussion and problem solving Subject: [AccessD] Access versioning / tracking changes I use a somewhat simple two table change request database for tracking changes to my Access projects. I have to admit I find it problematic to track changes to a level that allows backing out any specific change while leaving the rest. This has resulted in "rolling back" to a specific level when a problem comes up. And yes they do test but things do happen. I have a CR table where the client places their change requests with explanatory text. It has the typical requested date / requesting person / date to test / date tested etc. A child table holds what I do with explanatory text and a test regimen to test that it work, a text for what they found in test (if problems). I can add another record as a response to that testing problem etc. The problem I run into is that any significant change may involve a change to N queries, additional fields or entire tables, code modules and so forth. A change may be trivial or it may be an entire subsystem. I have never found a way to really document in sufficient detail what I did to implement the change that would allow me to back out just that change, at least of the change is very complex. If I get two or three changes in and then one four changes back is found to be a problem such that they want to roll it back, I often times cant. If we roll back all the changes since (go back to a previous version) then we lose all of the actual work done since. I have never worked in a large design team and witnessed how this is generally done. I am wondering how you guys handle this stuff. Any words of wisdom? Tools? tips? Can we have a discussion on this? -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Sep 9 12:01:39 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 09 Sep 2011 19:01:39 +0200 Subject: [AccessD] Access versioning / tracking changes Message-ID: Hi John You could have the EatBloat code from Max (where did he go?) to read out some or all objects to text files in your repository. Should you need an old version of your app, read back the set of files of that version. I do it simpler. At a given state - usually after some major batch of changes or just before deploying the app - I zip the app appending manually the next version number to the file name, like MyApp_027.zip. /gustav >>> jwcolby at colbyconsulting.com 09-09-2011 18:37 >>> Charlotte, I do version control in my C# code, at least I check stuff in etc. I really just use it for the code repository, not really for versioning. One problem I have is that I am solo. I do not the training to actually use a VCS to create and release versions, mark changes as verson XYZ etc. I use SVN and we check in changes, all that stuff. But how is that used to roll back a specific change? I dunno. If I understood that I might have the impetus to get Access working with that but if all I am going to do is check it in it seems less than useful. In the case of my C# stuff it is still useful because we can be working on things locally and only check in when it is tested etc. I.e. I can use an older version until the latest changes seem to be working. Even so it would be nice to say I want to roll back just change xyz. John W. Colby www.ColbyConsulting.com On 9/9/2011 10:59 AM, Charlotte Foust wrote: > John, > > The way to do this is with version control software, i.e., SourceSafe, > SourceGear Vault, etc. There are Access add-ins that allow you to use the > version control software in a comparable manner to other languages, that is, > at the granularity of inidividual containers within the project. You would > need to look at what's out there, and the software isn't cheap, but there's > a good reason for that. Of the two I've worked with (those above), Vault > gives far greater control, but I admit I never worked with it in Access, > only VB.Net. > > Charlotte Foust > > On Fri, Sep 9, 2011 at 4:52 AM, jwcolby wrote: > >> I use a somewhat simple two table change request database for tracking >> changes to my Access projects. I have to admit I find it problematic to >> track changes to a level that allows backing out any specific change while >> leaving the rest. This has resulted in "rolling back" to a specific level >> when a problem comes up. And yes they do test but things do happen. >> >> I have a CR table where the client places their change requests with >> explanatory text. It has the typical requested date / requesting person / >> date to test / date tested etc. A child table holds what I do with >> explanatory text and a test regimen to test that it work, a text for what >> they found in test (if problems). I can add another record as a response to >> that testing problem etc. >> >> The problem I run into is that any significant change may involve a change >> to N queries, additional fields or entire tables, code modules and so forth. >> A change may be trivial or it may be an entire subsystem. I have never >> found a way to really document in sufficient detail what I did to implement >> the change that would allow me to back out just that change, at least of the >> change is very complex. >> >> If I get two or three changes in and then one four changes back is found to >> be a problem such that they want to roll it back, I often times cant. If we >> roll back all the changes since (go back to a previous version) then we lose >> all of the actual work done since. >> >> I have never worked in a large design team and witnessed how this is >> generally done. I am wondering how you guys handle this stuff. Any words >> of wisdom? Tools? tips? >> >> Can we have a discussion on this? >> >> -- >> John W. Colby >> www.ColbyConsulting.com From jedi at charm.net Fri Sep 9 12:21:09 2011 From: jedi at charm.net (Michael Bahr) Date: Fri, 9 Sep 2011 13:21:09 -0400 (EDT) Subject: [AccessD] Access versioning / tracking changes In-Reply-To: <4E69FE18.6090404@colbyconsulting.com> References: <4E69FE18.6090404@colbyconsulting.com> Message-ID: <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> John, there are some concepts that you need to understand; version and revision. Revisions are incremental changes since the last offical release or version. Rollback "destroys" previous revisions. You can always checkout an earlier revision without destroying the other revision but, you still wind up with lost changes. SCM tools operate on text-based files or source code. They have a built-in ability to "compare" any two revisions for changes and display the results, similair to standalone that compare text files. Access is binary so you can not compare anything. That is your problem. As others have mentioned there are some plug-ins available that could extract the tables/queries/reports but it still binary. > I use a somewhat simple two table change request database for tracking > changes to my Access > projects. I have to admit I find it problematic to track changes to a > level that allows backing out > any specific change while leaving the rest. This has resulted in "rolling > back" to a specific level > when a problem comes up. And yes they do test but things do happen. > > I have a CR table where the client places their change requests with > explanatory text. It has the > typical requested date / requesting person / date to test / date tested > etc. A child table holds > what I do with explanatory text and a test regimen to test that it work, a > text for what they found > in test (if problems). I can add another record as a response to that > testing problem etc. > > The problem I run into is that any significant change may involve a change > to N queries, additional > fields or entire tables, code modules and so forth. A change may be > trivial or it may be an entire > subsystem. I have never found a way to really document in sufficient > detail what I did to implement > the change that would allow me to back out just that change, at least of > the change is very complex. Never gonna happen. You will still loose everything after that change provided that there are later revisions. Even with text-based source code you can not just get a portion of a revision, it is the whole revision or nothing. A possible solution would be to commit one requirement at a time instead of several. Still will not solve your problem. > > If I get two or three changes in and then one four changes back is found > to be a problem such that > they want to roll it back, I often times cant. If we roll back all the > changes since (go back to a > previous version) then we lose all of the actual work done since. Can not be helped. Then either the testing was incomplete or the requirements were faulty or the understanding of the requirement was faulty. > > I have never worked in a large design team and witnessed how this is > generally done. I am wondering > how you guys handle this stuff. Any words of wisdom? Tools? tips? > > Can we have a discussion on this? You should have some requirements that the customer must provide testing parameters/data so you can test and understand their changes. If they decide that those changes do not work then they must understand the risks. Mike... From jwcolby at colbyconsulting.com Fri Sep 9 12:52:12 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 09 Sep 2011 13:52:12 -0400 Subject: [AccessD] Access versioning / tracking changes In-Reply-To: <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> Message-ID: <4E6A524C.80305@colbyconsulting.com> Michael, I pretty much understand all of that. So what you are saying is that there is no way to really check out a version with everything except a specific change. That really makes sense given the possibility of interactions between lines of code. Actually even having the ability to look at changes at revision levels would be useful. John W. Colby www.ColbyConsulting.com On 9/9/2011 1:21 PM, Michael Bahr wrote: > John, there are some concepts that you need to understand; version and > revision. Revisions are incremental changes since the last offical > release or version. Rollback "destroys" previous revisions. You can > always checkout an earlier revision without destroying the other revision > but, you still wind up with lost changes. > > SCM tools operate on text-based files or source code. They have a > built-in ability to "compare" any two revisions for changes and display > the results, similair to standalone that compare text files. Access is > binary so you can not compare anything. That is your problem. As others > have mentioned there are some plug-ins available that could extract the > tables/queries/reports but it still binary. > >> I use a somewhat simple two table change request database for tracking >> changes to my Access >> projects. I have to admit I find it problematic to track changes to a >> level that allows backing out >> any specific change while leaving the rest. This has resulted in "rolling >> back" to a specific level >> when a problem comes up. And yes they do test but things do happen. >> >> I have a CR table where the client places their change requests with >> explanatory text. It has the >> typical requested date / requesting person / date to test / date tested >> etc. A child table holds >> what I do with explanatory text and a test regimen to test that it work, a >> text for what they found >> in test (if problems). I can add another record as a response to that >> testing problem etc. >> >> The problem I run into is that any significant change may involve a change >> to N queries, additional >> fields or entire tables, code modules and so forth. A change may be >> trivial or it may be an entire >> subsystem. I have never found a way to really document in sufficient >> detail what I did to implement >> the change that would allow me to back out just that change, at least of >> the change is very complex. > > Never gonna happen. You will still loose everything after that change > provided that there are later revisions. Even with text-based source code > you can not just get a portion of a revision, it is the whole revision or > nothing. A possible solution would be to commit one requirement at a time > instead of several. Still will not solve your problem. > >> >> If I get two or three changes in and then one four changes back is found >> to be a problem such that >> they want to roll it back, I often times cant. If we roll back all the >> changes since (go back to a >> previous version) then we lose all of the actual work done since. > > Can not be helped. Then either the testing was incomplete or the > requirements were faulty or the understanding of the requirement was > faulty. > >> >> I have never worked in a large design team and witnessed how this is >> generally done. I am wondering >> how you guys handle this stuff. Any words of wisdom? Tools? tips? >> >> Can we have a discussion on this? > > You should have some requirements that the customer must provide testing > parameters/data so you can test and understand their changes. If they > decide that those changes do not work then they must understand the risks. > > Mike... > From stuart at lexacorp.com.pg Fri Sep 9 16:18:49 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 10 Sep 2011 07:18:49 +1000 Subject: [AccessD] Access versioning / tracking changes In-Reply-To: References: Message-ID: <4E6A82B9.1795.36FBC699@stuart.lexacorp.com.pg> I do the same, but it doesn't help John's problem. Unfortunately John's idea is a "pipedream". Example: He is on version 2.5. He wants to remove the changes made in version 2.2 but keep the changes made in ver 2.3, 2.4 and 3.5 What happens if any to the 2.3, 2.4 or 2.5 enhancements use a function or a query field added in 2.2, or even depend on just a change made in a function somewhere in the application? -- Stuart On 9 Sep 2011 at 19:01, Gustav Brock wrote: > Hi John > > You could have the EatBloat code from Max (where did he go?) to read > out some or all objects to text files in your repository. Should you > need an old version of your app, read back the set of files of that > version. > > I do it simpler. At a given state - usually after some major batch of > changes or just before deploying the app - I zip the app appending > manually the next version number to the file name, like MyApp_027.zip. ... > >> If I get two or three changes in and then one four changes back is > >> found to be a problem such that they want to roll it back, I often > >> times cant. If we roll back all the changes since (go back to a > >> previous version) then we lose all of the actual work done since. > >> From jwcolby at colbyconsulting.com Fri Sep 9 17:10:33 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 09 Sep 2011 18:10:33 -0400 Subject: [AccessD] Access versioning / tracking changes In-Reply-To: <4E6A82B9.1795.36FBC699@stuart.lexacorp.com.pg> References: <4E6A82B9.1795.36FBC699@stuart.lexacorp.com.pg> Message-ID: <4E6A8ED9.5020405@colbyconsulting.com> Yep. But that is what the client wants to happen. It is inherently obvious to the most casual observer that it can't really happen. John W. Colby www.ColbyConsulting.com On 9/9/2011 5:18 PM, Stuart McLachlan wrote: > I do the same, but it doesn't help John's problem. > > Unfortunately John's idea is a "pipedream". > > Example: > He is on version 2.5. He wants to remove the changes made in version 2.2 but keep the > changes made in ver 2.3, 2.4 and 3.5 > > What happens if any to the 2.3, 2.4 or 2.5 enhancements use a function or a query field > added in 2.2, or even depend on just a change made in a function somewhere in the > application? > > From fuller.artful at gmail.com Fri Sep 9 19:18:30 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 9 Sep 2011 20:18:30 -0400 Subject: [AccessD] Access versioning / tracking changes In-Reply-To: <4E6A8ED9.5020405@colbyconsulting.com> References: <4E6A82B9.1795.36FBC699@stuart.lexacorp.com.pg> <4E6A8ED9.5020405@colbyconsulting.com> Message-ID: After reading all this, I must confess that the method I use is *primitive*! While doing development I keep OneNote open and copy/paste any code I'm about to change into a new OneNote page. Then I plunge ahead (after of course backing up the current version), and when I've made the change(s), I copy and paste that code into OneNote. It ain't exactly an audit trail nor a VCS but it's as close as I've been able to come. In theory, I like the idea of using EatBloat to export all the stuff as text and then stuff that into a genuine VCS, but I've been bitten by EatBloat more than once and I'm now gun-shy. A. On Fri, Sep 9, 2011 at 6:10 PM, jwcolby wrote: > Yep. But that is what the client wants to happen. It is inherently > obvious to the most casual observer that it can't really happen. > > > John W. Colby > www.ColbyConsulting.com > > > From jedi at charm.net Sat Sep 10 11:52:03 2011 From: jedi at charm.net (Michael Bahr) Date: Sat, 10 Sep 2011 12:52:03 -0400 (EDT) Subject: [AccessD] Access versioning / tracking changes In-Reply-To: <4E6A524C.80305@colbyconsulting.com> References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> <4E6A524C.80305@colbyconsulting.com> Message-ID: <4368.24.35.110.93.1315673523.squirrel@mail.expedient.net> > Michael, > > I pretty much understand all of that. So what you are saying is that > there is no way to really > check out a version with everything except a specific change. That really revision not version, all changes up to and including that revision. > makes sense given the > possibility of interactions between lines of code. > > Actually even having the ability to look at changes at revision levels > would be useful. It is very useful BUT only source code which is text-based. As someone already mentioned FMS has this ability but it is a manual task after GETting an earilier revision and comparing the two. Another feature the SCM tools have is the ability to "branch" or run developement in parallel to the main trunk. Think of a tree, which has a main trunk and branches. The SCM tools allow you to branch then merge if necessary back into the main trunk. For example, you have a deliverable product and one of your customers wants a specific feature that no onw else wants. You branch your project and add the new features and more forward from there without disturbing the main product. Now if the main product continues with its developement then you can merge the specific revisions into the other branch to keep the core application up to date. However since you have a binary file/application you would have to do the merging manually. Then test and do regression testing. Mike... > > John W. Colby > www.ColbyConsulting.com > > On 9/9/2011 1:21 PM, Michael Bahr wrote: >> John, there are some concepts that you need to understand; version and >> revision. Revisions are incremental changes since the last offical >> release or version. Rollback "destroys" previous revisions. You can >> always checkout an earlier revision without destroying the other >> revision >> but, you still wind up with lost changes. >> >> SCM tools operate on text-based files or source code. They have a >> built-in ability to "compare" any two revisions for changes and display >> the results, similair to standalone that compare text files. Access is >> binary so you can not compare anything. That is your problem. As >> others >> have mentioned there are some plug-ins available that could extract the >> tables/queries/reports but it still binary. >> >>> I use a somewhat simple two table change request database for tracking >>> changes to my Access >>> projects. I have to admit I find it problematic to track changes to a >>> level that allows backing out >>> any specific change while leaving the rest. This has resulted in >>> "rolling >>> back" to a specific level >>> when a problem comes up. And yes they do test but things do happen. >>> >>> I have a CR table where the client places their change requests with >>> explanatory text. It has the >>> typical requested date / requesting person / date to test / date tested >>> etc. A child table holds >>> what I do with explanatory text and a test regimen to test that it >>> work, a >>> text for what they found >>> in test (if problems). I can add another record as a response to that >>> testing problem etc. >>> >>> The problem I run into is that any significant change may involve a >>> change >>> to N queries, additional >>> fields or entire tables, code modules and so forth. A change may be >>> trivial or it may be an entire >>> subsystem. I have never found a way to really document in sufficient >>> detail what I did to implement >>> the change that would allow me to back out just that change, at least >>> of >>> the change is very complex. >> >> Never gonna happen. You will still loose everything after that change >> provided that there are later revisions. Even with text-based source >> code >> you can not just get a portion of a revision, it is the whole revision >> or >> nothing. A possible solution would be to commit one requirement at a >> time >> instead of several. Still will not solve your problem. >> >>> >>> If I get two or three changes in and then one four changes back is >>> found >>> to be a problem such that >>> they want to roll it back, I often times cant. If we roll back all the >>> changes since (go back to a >>> previous version) then we lose all of the actual work done since. >> >> Can not be helped. Then either the testing was incomplete or the >> requirements were faulty or the understanding of the requirement was >> faulty. >> >>> >>> I have never worked in a large design team and witnessed how this is >>> generally done. I am wondering >>> how you guys handle this stuff. Any words of wisdom? Tools? tips? >>> >>> Can we have a discussion on this? >> >> You should have some requirements that the customer must provide testing >> parameters/data so you can test and understand their changes. If they >> decide that those changes do not work then they must understand the >> risks. >> >> Mike... >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From marksimms at verizon.net Sun Sep 11 09:03:31 2011 From: marksimms at verizon.net (Mark Simms) Date: Sun, 11 Sep 2011 10:03:31 -0400 Subject: [AccessD] OLE DB being retired In-Reply-To: <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> Message-ID: <000001cc708b$975c37b0$c614a710$@net> Just when you thought the craziness at MSFT had stopped: Rohan Lam, the Program Manager for SQL Server Connectivity, has officially stated that the next version of SQL Server,Denali, will be the last that will support OLE DB. The SQL Server OLE DB provider will then be deprecated in favour of SQL Server Native Client ODBC. In seven years' time OLE DB will be a dead, unsupported technology for SQL Server. What does one read into this remarkable handbrake-turn? Microsoft still publishes White Papers exhorting us to abandon ODBC in favour of OLE DB. Is it is now time to abandon OLE DB? www.sqlservercentral.com From accessd at shaw.ca Sun Sep 11 10:14:06 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 11 Sep 2011 08:14:06 -0700 Subject: [AccessD] OLE DB being retired In-Reply-To: <000001cc708b$975c37b0$c614a710$@net> References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> <000001cc708b$975c37b0$c614a710$@net> Message-ID: <2CDFE19088B646B2818F45D85C1B60DE@creativesystemdesigns.com> I for one will not be happy to see OLE leaving. It is a very fast protocol as all the encumbrances of the ODBC wrapper were removed. Matching ADO with OLE was always fast and slick...a real dream to work with. I do wonder why support for such an elegant designed product was removed? Fortunately, desktop application have been slowly migrating to browser/web bases designs and it disappearance will have little negative impact. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Sunday, September 11, 2011 7:04 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OLE DB being retired Just when you thought the craziness at MSFT had stopped: Rohan Lam, the Program Manager for SQL Server Connectivity, has officially stated that the next version of SQL Server,Denali, will be the last that will support OLE DB. The SQL Server OLE DB provider will then be deprecated in favour of SQL Server Native Client ODBC. In seven years' time OLE DB will be a dead, unsupported technology for SQL Server. What does one read into this remarkable handbrake-turn? Microsoft still publishes White Papers exhorting us to abandon ODBC in favour of OLE DB. Is it is now time to abandon OLE DB? www.sqlservercentral.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sun Sep 11 16:58:31 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 12 Sep 2011 07:58:31 +1000 Subject: [AccessD] OLE DB being retired In-Reply-To: <000001cc708b$975c37b0$c614a710$@net> References: <4E69FE18.6090404@colbyconsulting.com>, <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net>, <000001cc708b$975c37b0$c614a710$@net> Message-ID: <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> I must be psychic. That's four in a row where I made the right decision not to follow MS up a blind alley I stayed with DAO instead of ADODB I stayed away from ADPs I stayed away from DAPs I stayed with ODBC/Native Client instead of OLEDB (actually 5 if you include .Net ) -- Stuart On 11 Sep 2011 at 10:03, Mark Simms wrote: > Just when you thought the craziness at MSFT had stopped: > > Rohan Lam, the Program Manager for SQL Server Connectivity, has > officially stated that the next version of SQL Server,Denali, will be > the last that will support OLE DB. The SQL Server OLE DB provider will > then be deprecated in favour of SQL Server Native Client ODBC. In > seven years' time OLE DB will be a dead, unsupported technology for > SQL Server. What does one read into this remarkable handbrake-turn? > Microsoft still publishes White Papers exhorting us to abandon ODBC in > favour of OLE DB. Is it is now time to abandon OLE DB? > > www.sqlservercentral.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 Sep 11 19:18:12 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 11 Sep 2011 17:18:12 -0700 Subject: [AccessD] OLE DB being retired In-Reply-To: <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> <000001cc708b$975c37b0$c614a710$@net> <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> Message-ID: <87993497A95340A69B7F2BF3A37953F7@creativesystemdesigns.com> I will give you credit for the correct choices but I have always been a sucker for raw speed... A friend, who just retired from his carpentry business, would always say, "You know as well as I do there is no substitute for horse-power." Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, September 11, 2011 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OLE DB being retired I must be psychic. That's four in a row where I made the right decision not to follow MS up a blind alley I stayed with DAO instead of ADODB I stayed away from ADPs I stayed away from DAPs I stayed with ODBC/Native Client instead of OLEDB (actually 5 if you include .Net ) -- Stuart On 11 Sep 2011 at 10:03, Mark Simms wrote: > Just when you thought the craziness at MSFT had stopped: > > Rohan Lam, the Program Manager for SQL Server Connectivity, has > officially stated that the next version of SQL Server,Denali, will be > the last that will support OLE DB. The SQL Server OLE DB provider will > then be deprecated in favour of SQL Server Native Client ODBC. In > seven years' time OLE DB will be a dead, unsupported technology for > SQL Server. What does one read into this remarkable handbrake-turn? > Microsoft still publishes White Papers exhorting us to abandon ODBC in > favour of OLE DB. Is it is now time to abandon OLE DB? > > www.sqlservercentral.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Sun Sep 11 19:29:15 2011 From: newsgrps at dalyn.co.nz (newsgrps) Date: Mon, 12 Sep 2011 12:29:15 +1200 Subject: [AccessD] OLE DB being retired In-Reply-To: <87993497A95340A69B7F2BF3A37953F7@creativesystemdesigns.com > References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> <000001cc708b$975c37b0$c614a710$@net> <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> <87993497A95340A69B7F2BF3A37953F7@creativesystemdesigns.com> Message-ID: <20110912002938.DWQE20837.mta01.xtra.co.nz@David-PC.dalyn.co.nz> Is it any coincidence that Denali is an anagram for Denial? David Emerson Dalyn Software Ltd New Zealand At 12/09/2011, Jim Lawrence wrote: >I will give you credit for the correct choices but I have always been a >sucker for raw speed... > >A friend, who just retired from his carpentry business, would always say, >"You know as well as I do there is no substitute for horse-power." > >Jim > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan >Sent: Sunday, September 11, 2011 2:59 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] OLE DB being retired > >I must be psychic. That's four in a row where I made the right decision not >to follow MS up a >blind alley > >I stayed with DAO instead of ADODB >I stayed away from ADPs >I stayed away from DAPs >I stayed with ODBC/Native Client instead of OLEDB > >(actually 5 if you include .Net ) > >-- >Stuart > > >On 11 Sep 2011 at 10:03, Mark Simms wrote: > > > Just when you thought the craziness at MSFT had stopped: > > > > Rohan Lam, the Program Manager for SQL Server Connectivity, has > > officially stated that the next version of SQL Server,Denali, will be > > the last that will support OLE DB. The SQL Server OLE DB provider will > > then be deprecated in favour of SQL Server Native Client ODBC. In > > seven years' time OLE DB will be a dead, unsupported technology for > > SQL Server. What does one read into this remarkable handbrake-turn? > > Microsoft still publishes White Papers exhorting us to abandon ODBC in > > favour of OLE DB. Is it is now time to abandon OLE DB? > > > > www.sqlservercentral.com > > From accessd at shaw.ca Sun Sep 11 19:39:03 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 11 Sep 2011 17:39:03 -0700 Subject: [AccessD] OLE DB being retired In-Reply-To: <20110912002938.DWQE20837.mta01.xtra.co.nz@David-PC.dalyn.co.nz> References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> <000001cc708b$975c37b0$c614a710$@net> <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> <87993497A95340A69B7F2BF3A37953F7@creativesystemdesigns.com> <20110912002938.DWQE20837.mta01.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: <67F68698D62C4EF9AE68A3417BDD9666@creativesystemdesigns.com> A Freudian slip? How did you know I was starting tests on the product this evening? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of newsgrps Sent: Sunday, September 11, 2011 5:29 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OLE DB being retired Is it any coincidence that Denali is an anagram for Denial? David Emerson Dalyn Software Ltd New Zealand At 12/09/2011, Jim Lawrence wrote: >I will give you credit for the correct choices but I have always been a >sucker for raw speed... > >A friend, who just retired from his carpentry business, would always say, >"You know as well as I do there is no substitute for horse-power." > >Jim > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan >Sent: Sunday, September 11, 2011 2:59 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] OLE DB being retired > >I must be psychic. That's four in a row where I made the right decision not >to follow MS up a >blind alley > >I stayed with DAO instead of ADODB >I stayed away from ADPs >I stayed away from DAPs >I stayed with ODBC/Native Client instead of OLEDB > >(actually 5 if you include .Net ) > >-- >Stuart > > >On 11 Sep 2011 at 10:03, Mark Simms wrote: > > > Just when you thought the craziness at MSFT had stopped: > > > > Rohan Lam, the Program Manager for SQL Server Connectivity, has > > officially stated that the next version of SQL Server,Denali, will be > > the last that will support OLE DB. The SQL Server OLE DB provider will > > then be deprecated in favour of SQL Server Native Client ODBC. In > > seven years' time OLE DB will be a dead, unsupported technology for > > SQL Server. What does one read into this remarkable handbrake-turn? > > Microsoft still publishes White Papers exhorting us to abandon ODBC in > > favour of OLE DB. Is it is now time to abandon OLE DB? > > > > www.sqlservercentral.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 Sep 11 19:44:27 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sun, 11 Sep 2011 17:44:27 -0700 Subject: [AccessD] OLE DB being retired In-Reply-To: <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> <000001cc708b$975c37b0$c614a710$@net> <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> Message-ID: Don't break your arm patting your back! ADODB was a wonderful introduction to ADO.Net. Charlotte Foust On Sun, Sep 11, 2011 at 2:58 PM, Stuart McLachlan wrote: > I must be psychic. That's four in a row where I made the right decision > not to follow MS up a > blind alley > > I stayed with DAO instead of ADODB > I stayed away from ADPs > I stayed away from DAPs > I stayed with ODBC/Native Client instead of OLEDB > > (actually 5 if you include .Net ) > > -- > Stuart > > > On 11 Sep 2011 at 10:03, Mark Simms wrote: > > > Just when you thought the craziness at MSFT had stopped: > > > > Rohan Lam, the Program Manager for SQL Server Connectivity, has > > officially stated that the next version of SQL Server,Denali, will be > > the last that will support OLE DB. The SQL Server OLE DB provider will > > then be deprecated in favour of SQL Server Native Client ODBC. In > > seven years' time OLE DB will be a dead, unsupported technology for > > SQL Server. What does one read into this remarkable handbrake-turn? > > Microsoft still publishes White Papers exhorting us to abandon ODBC in > > favour of OLE DB. Is it is now time to abandon OLE DB? > > > > www.sqlservercentral.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 Sep 11 23:00:25 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 12 Sep 2011 14:00:25 +1000 Subject: [AccessD] Archives? In-Reply-To: References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> <000001cc708b$975c37b0$c614a710$@net> <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> Message-ID: <002001cc7100$806bd130$81437390$@com.au> Hi Admin folks, Access D archives link from the website seems to be (still) down. I recall reading folks were having issues a while back, but of course I cannot access the archives to see what the solution might have been. >From memory there was a cunning secret link that still worked, or maybe I was drunk at the time I read that? Any pointers? Cheers Darryl. From stuart at lexacorp.com.pg Mon Sep 12 03:45:55 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 12 Sep 2011 18:45:55 +1000 Subject: [AccessD] OLE DB being retired In-Reply-To: <20110912002938.DWQE20837.mta01.xtra.co.nz@David-PC.dalyn.co.nz> References: <4E69FE18.6090404@colbyconsulting.com>, <87993497A95340A69B7F2BF3A37953F7@creativesystemdesigns.com >, <20110912002938.DWQE20837.mta01.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: <4E6DC6C3.15083.1CFA28E@stuart.lexacorp.com.pg> or Nailed or And Lie :) -- Stuart On 12 Sep 2011 at 12:29, newsgrps wrote: > Is it any coincidence that Denali is an anagram for Denial? > > David Emerson > Dalyn Software Ltd > New Zealand > > At 12/09/2011, Jim Lawrence wrote: > >I will give you credit for the correct choices but I have always been > >a sucker for raw speed... > > > >A friend, who just retired from his carpentry business, would always > >say, "You know as well as I do there is no substitute for > >horse-power." > > > >Jim > > > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > >McLachlan Sent: Sunday, September 11, 2011 2:59 PM To: Access > >Developers discussion and problem solving Subject: Re: [AccessD] OLE > >DB being retired > > > >I must be psychic. That's four in a row where I made the right > >decision not to follow MS up a blind alley > > > >I stayed with DAO instead of ADODB > >I stayed away from ADPs > >I stayed away from DAPs > >I stayed with ODBC/Native Client instead of OLEDB > > > >(actually 5 if you include .Net ) > > > >-- > >Stuart > > > > > >On 11 Sep 2011 at 10:03, Mark Simms wrote: > > > > > Just when you thought the craziness at MSFT had stopped: > > > > > > Rohan Lam, the Program Manager for SQL Server Connectivity, has > > > officially stated that the next version of SQL Server,Denali, will > > > be the last that will support OLE DB. The SQL Server OLE DB > > > provider will then be deprecated in favour of SQL Server Native > > > Client ODBC. In seven years' time OLE DB will be a dead, > > > unsupported technology for SQL Server. What does one read into > > > this remarkable handbrake-turn? Microsoft still publishes White > > > Papers exhorting us to abandon ODBC in favour of OLE DB. Is it is > > > now time to abandon OLE DB? > > > > > > www.sqlservercentral.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 Sep 12 08:36:46 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 12 Sep 2011 09:36:46 -0400 Subject: [AccessD] OLE DB being retired In-Reply-To: <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> References: <4E69FE18.6090404@colbyconsulting.com>, <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net>, <000001cc708b$975c37b0$c614a710$@net> <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> Message-ID: <88899EFC79F041318C1738F1BAD85AA8@XPS> Stuart, Were actually on the same page. I use ADO and ADP's a bit, but for the most part I have stayed away from them and never really moved to ADO at all. I still use DAO for just about everything (if I can get away with it). I've also stayed away from .Net, but it looks like I'm going to pay for that one having at least 15 years yet to retirement. Access doesn't seem like it's going to hang on (for me) that long with the likes of Lightswitch and it's wholesale move to the web. It has too little focus on producing desktop apps anymore, which I suppose is a sign of the times. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, September 11, 2011 05:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OLE DB being retired I must be psychic. That's four in a row where I made the right decision not to follow MS up a blind alley I stayed with DAO instead of ADODB I stayed away from ADPs I stayed away from DAPs I stayed with ODBC/Native Client instead of OLEDB (actually 5 if you include .Net ) -- Stuart On 11 Sep 2011 at 10:03, Mark Simms wrote: > Just when you thought the craziness at MSFT had stopped: > > Rohan Lam, the Program Manager for SQL Server Connectivity, has > officially stated that the next version of SQL Server,Denali, will be > the last that will support OLE DB. The SQL Server OLE DB provider will > then be deprecated in favour of SQL Server Native Client ODBC. In > seven years' time OLE DB will be a dead, unsupported technology for > SQL Server. What does one read into this remarkable handbrake-turn? > Microsoft still publishes White Papers exhorting us to abandon ODBC in > favour of OLE DB. Is it is now time to abandon OLE DB? > > www.sqlservercentral.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 Sep 13 07:59:12 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Sep 2011 08:59:12 -0400 Subject: [AccessD] Background color when modifying Message-ID: <4E6F53A0.1040400@colbyconsulting.com> I am working on a database. The labels are apparently transparent and the form has a background pattern (one of those auto form thingies). When I click in the label for a control and then click again to edit the caption, the background color turns this obnoxious dark red-ish brown and makes it darned near impossible to see the blue font. Does anyone know if that is a property somewhere that I can modify? This is not a runtime property, it is a design time property. -- John W. Colby www.ColbyConsulting.com From jm.hwsn at gmail.com Tue Sep 13 08:18:26 2011 From: jm.hwsn at gmail.com (jm.hwsn) Date: Tue, 13 Sep 2011 08:18:26 -0500 Subject: [AccessD] Background color when modifying In-Reply-To: <4E6F53A0.1040400@colbyconsulting.com> References: <4E6F53A0.1040400@colbyconsulting.com> Message-ID: <4e6f5826.a3afec0a.532b.6bc3@mx.google.com> John, I had that happen to me too. Check the background color of the label. What happens is when you modify the text the background color is shown. So change it to white and it'll work for you. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 13, 2011 7:59 AM To: Access Developers discussion and problem solving Subject: [AccessD] Background color when modifying I am working on a database. The labels are apparently transparent and the form has a background pattern (one of those auto form thingies). When I click in the label for a control and then click again to edit the caption, the background color turns this obnoxious dark red-ish brown and makes it darned near impossible to see the blue font. Does anyone know if that is a property somewhere that I can modify? This is not a runtime property, it is a design time property. -- John W. Colby www.ColbyConsulting.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 Tue Sep 13 08:21:55 2011 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Tue, 13 Sep 2011 09:21:55 -0400 Subject: [AccessD] Background color when modifying In-Reply-To: <4E6F53A0.1040400@colbyconsulting.com> References: <4E6F53A0.1040400@colbyconsulting.com> Message-ID: I think you may be dealing with a form formatted with the 'International' style. In any case the dreadful color you see is what the label would have if it did *not* have a transparent background. So all you need to do is change the Back Color property from 13209 (or whatever it may be ) to white (16777215), and then you'll be able to read it while you edit the caption. Naturally you could also do this in code by just looping through all the labels and changing heir back color in VBA. Of course you can also simply edit the caption in the property sheet. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 13, 2011 8:59 AM To: Access Developers discussion and problem solving Subject: [AccessD] Background color when modifying I am working on a database. The labels are apparently transparent and the form has a background pattern (one of those auto form thingies). When I click in the label for a control and then click again to edit the caption, the background color turns this obnoxious dark red-ish brown and makes it darned near impossible to see the blue font. Does anyone know if that is a property somewhere that I can modify? This is not a runtime property, it is a design time property. -- John W. Colby www.ColbyConsulting.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 Sep 13 08:51:33 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Sep 2011 09:51:33 -0400 Subject: [AccessD] Background color when modifying In-Reply-To: <4e6f5826.a3afec0a.532b.6bc3@mx.google.com> References: <4E6F53A0.1040400@colbyconsulting.com> <4e6f5826.a3afec0a.532b.6bc3@mx.google.com> Message-ID: <4E6F5FE5.4010808@colbyconsulting.com> Thanks guys. It is indeed transparent but a funky color. Setting the color to white and transparent fixes the problem. John W. Colby www.ColbyConsulting.com On 9/13/2011 9:18 AM, jm.hwsn wrote: > John, I had that happen to me too. > Check the background color of the label. > What happens is when you modify the text the background color is shown. > So change it to white and it'll work for you. > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, September 13, 2011 7:59 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Background color when modifying > > I am working on a database. The labels are apparently transparent and the > form has a background > pattern (one of those auto form thingies). When I click in the label for a > control and then click > again to edit the caption, the background color turns this obnoxious dark > red-ish brown and makes it > darned near impossible to see the blue font. > > Does anyone know if that is a property somewhere that I can modify? This is > not a runtime property, > it is a design time property. > From jwcolby at colbyconsulting.com Tue Sep 13 09:01:55 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Sep 2011 10:01:55 -0400 Subject: [AccessD] Runtime when full version is installed Message-ID: <4E6F6253.2070808@colbyconsulting.com> I have a small (non-profit) client that wants me to install full office 2010 on all of their employees systems. However I want my Access App to run under the runtime. Mostly just for that additional security of not allowing them access to design time stuff unless they intentionally open the app under the full version. I have installed the runtime on other machines but I do not remember if the runtime install allows me to set the destination (install) directory. Is anyone using the runtime? Any tips or tricks for this scenario? -- John W. Colby www.ColbyConsulting.com From Gustav at cactus.dk Tue Sep 13 09:15:31 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 13 Sep 2011 16:15:31 +0200 Subject: [AccessD] Runtime when full version is installed Message-ID: Hi John Non-profit and full Office 2010 doesn't match costly wise. Are you they need Access on all machines? We've never had a client - profit or none - with that demand; we always use the Office 2010 for home and small business with the cheap PCK license. /gustav >>> jwcolby at colbyconsulting.com 13-09-2011 16:01 >>> I have a small (non-profit) client that wants me to install full office 2010 on all of their employees systems. However I want my Access App to run under the runtime. Mostly just for that additional security of not allowing them access to design time stuff unless they intentionally open the app under the full version. I have installed the runtime on other machines but I do not remember if the runtime install allows me to set the destination (install) directory. Is anyone using the runtime? Any tips or tricks for this scenario? -- John W. Colby www.ColbyConsulting.com From charlotte.foust at gmail.com Tue Sep 13 09:24:17 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Tue, 13 Sep 2011 07:24:17 -0700 Subject: [AccessD] Runtime when full version is installed In-Reply-To: <4E6F6253.2070808@colbyconsulting.com> References: <4E6F6253.2070808@colbyconsulting.com> Message-ID: It does, but that doesn't really help if the file association is with full version Access. We used Sage Key scripts to wrap the runtime executable so that the PC didn't get confused. Charlotte Foust On Tue, Sep 13, 2011 at 7:01 AM, jwcolby wrote: > I have a small (non-profit) client that wants me to install full office > 2010 on all of their employees systems. However I want my Access App to run > under the runtime. Mostly just for that additional security of not allowing > them access to design time stuff unless they intentionally open the app > under the full version. > > I have installed the runtime on other machines but I do not remember if the > runtime install allows me to set the destination (install) directory. > > Is anyone using the runtime? Any tips or tricks for this scenario? > > -- > John W. Colby > www.ColbyConsulting.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From jm.hwsn at gmail.com Tue Sep 13 09:38:48 2011 From: jm.hwsn at gmail.com (jm.hwsn) Date: Tue, 13 Sep 2011 09:38:48 -0500 Subject: [AccessD] Runtime when full version is installed In-Reply-To: References: Message-ID: <4e6f6afb.f154ec0a.1d80.7f09@mx.google.com> I agree with that assessment. However, if the client really wants the full install and you want them to run your database using the runtime. The quickest and easiest is to change the extension of the file to accdr. Access will treat it as if it's running under runtime. Yes, the extension can be changed back quite easily. However, with a little bit code it won't run without the proper extension. Such as: If SysCmd(acSysCmdRuntime) = False Then 'Should be using runtime but if not, quit application. If MsgBox("This file is in the wrong format and will not run.", vbCritical, "Application Quit") = vbOK Then Application.Quit End If End If I put this in the on open event of the first form that opens. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, September 13, 2011 9:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Runtime when full version is installed Hi John Non-profit and full Office 2010 doesn't match costly wise. Are you they need Access on all machines? We've never had a client - profit or none - with that demand; we always use the Office 2010 for home and small business with the cheap PCK license. /gustav >>> jwcolby at colbyconsulting.com 13-09-2011 16:01 >>> I have a small (non-profit) client that wants me to install full office 2010 on all of their employees systems. However I want my Access App to run under the runtime. Mostly just for that additional security of not allowing them access to design time stuff unless they intentionally open the app under the full version. I have installed the runtime on other machines but I do not remember if the runtime install allows me to set the destination (install) directory. Is anyone using the runtime? Any tips or tricks for this scenario? -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davidmcafee at gmail.com Tue Sep 13 11:09:22 2011 From: davidmcafee at gmail.com (David McAfee) Date: Tue, 13 Sep 2011 09:09:22 -0700 Subject: [AccessD] Runtime when full version is installed In-Reply-To: References: <4E6F6253.2070808@colbyconsulting.com> Message-ID: +1 on the Sagekey scripts. I haven't used it with 2007/2010 but did use it with earlier versions. Expensive, but worth it. On Tue, Sep 13, 2011 at 7:24 AM, Charlotte Foust wrote: > It does, but that doesn't really help if the file association is with full > version Access. We used Sage Key scripts to wrap the runtime executable so > that the PC didn't get confused. > > Charlotte Foust > > On Tue, Sep 13, 2011 at 7:01 AM, jwcolby >wrote: > > > I have a small (non-profit) client that wants me to install full office > > 2010 on all of their employees systems. However I want my Access App to > run > > under the runtime. Mostly just for that additional security of not > allowing > > them access to design time stuff unless they intentionally open the app > > under the full version. > > > > I have installed the runtime on other machines but I do not remember if > the > > runtime install allows me to set the destination (install) directory. > > > > Is anyone using the runtime? Any tips or tricks for this scenario? > > > > -- > > John W. Colby > > www.ColbyConsulting.com > > > > > > -- > > 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 Tue Sep 13 11:14:01 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Sep 2011 12:14:01 -0400 Subject: [AccessD] Runtime when full version is installed In-Reply-To: References: <4E6F6253.2070808@colbyconsulting.com> Message-ID: <4E6F8149.3000107@colbyconsulting.com> Charlotte, > It does, but that doesn't really help if the file association is with full version Access. Associations only matter if you double click a file. If I have a shortcut that uses the actual installed access runtime instance to open the file then... >We used Sage Key scripts to wrap the runtime executable so that the PC didn't get confused. It is so nice of you to offer to buy that for me. ;) John W. Colby www.ColbyConsulting.com On 9/13/2011 10:24 AM, Charlotte Foust wrote: > It does, but that doesn't really help if the file association is with full > version Access. We used Sage Key scripts to wrap the runtime executable so > that the PC didn't get confused. > > Charlotte Foust > > On Tue, Sep 13, 2011 at 7:01 AM, jwcolbywrote: > >> I have a small (non-profit) client that wants me to install full office >> 2010 on all of their employees systems. However I want my Access App to run >> under the runtime. Mostly just for that additional security of not allowing >> them access to design time stuff unless they intentionally open the app >> under the full version. >> >> I have installed the runtime on other machines but I do not remember if the >> runtime install allows me to set the destination (install) directory. >> >> Is anyone using the runtime? Any tips or tricks for this scenario? >> >> -- >> John W. Colby >> www.ColbyConsulting.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 Sep 13 11:17:52 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Sep 2011 12:17:52 -0400 Subject: [AccessD] Runtime when full version is installed In-Reply-To: References: Message-ID: <4E6F8230.3000703@colbyconsulting.com> As a non-profit they got something like 50 licenses from Microsoft for almost nothing. They want the full version on the employees machines so that they can use all of the other office applications and all be using the same version to do so. I don't want them using the full version on the Access application simply because is exposes the application. I will probably go with a "compiled" version (MDE) once it stabilizes but for now using the runtime will help me keep users where they belong. John W. Colby www.ColbyConsulting.com On 9/13/2011 10:15 AM, Gustav Brock wrote: > Hi John > > Non-profit and full Office 2010 doesn't match costly wise. Are you they need Access on all machines? We've never had a client - profit or none - with that demand; we always use the Office 2010 for home and small business with the cheap PCK license. > > /gustav > > >>>> jwcolby at colbyconsulting.com 13-09-2011 16:01>>> > I have a small (non-profit) client that wants me to install full office 2010 on all of their > employees systems. However I want my Access App to run under the runtime. Mostly just for that > additional security of not allowing them access to design time stuff unless they intentionally open > the app under the full version. > > I have installed the runtime on other machines but I do not remember if the runtime install allows > me to set the destination (install) directory. > > Is anyone using the runtime? Any tips or tricks for this scenario? > From jimdettman at verizon.net Tue Sep 13 11:42:28 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 13 Sep 2011 12:42:28 -0400 Subject: [AccessD] Runtime when full version is installed In-Reply-To: <4E6F8230.3000703@colbyconsulting.com> References: <4E6F8230.3000703@colbyconsulting.com> Message-ID: <3B0E65B4AEE54DB88C1961E8015F4817@XPS> John, No need for the run-time. Distribute as a MDE and use the SysCmd(acSysCmdRuntime) call to determine if it started in run-time mode and if not quit the app. Then give them a shortcut on the desktop with the /runtime switch. If they use anything other then the shortcut, they go no where. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 13, 2011 12:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Runtime when full version is installed As a non-profit they got something like 50 licenses from Microsoft for almost nothing. They want the full version on the employees machines so that they can use all of the other office applications and all be using the same version to do so. I don't want them using the full version on the Access application simply because is exposes the application. I will probably go with a "compiled" version (MDE) once it stabilizes but for now using the runtime will help me keep users where they belong. John W. Colby www.ColbyConsulting.com On 9/13/2011 10:15 AM, Gustav Brock wrote: > Hi John > > Non-profit and full Office 2010 doesn't match costly wise. Are you they need Access on all machines? We've never had a client - profit or none - with that demand; we always use the Office 2010 for home and small business with the cheap PCK license. > > /gustav > > >>>> jwcolby at colbyconsulting.com 13-09-2011 16:01>>> > I have a small (non-profit) client that wants me to install full office 2010 on all of their > employees systems. However I want my Access App to run under the runtime. Mostly just for that > additional security of not allowing them access to design time stuff unless they intentionally open > the app under the full version. > > I have installed the runtime on other machines but I do not remember if the runtime install allows > me to set the destination (install) directory. > > Is anyone using the runtime? Any tips or tricks for this scenario? > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Sep 13 12:46:55 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Sep 2011 13:46:55 -0400 Subject: [AccessD] Runtime when full version is installed In-Reply-To: References: <4E6F6253.2070808@colbyconsulting.com> Message-ID: <4E6F970F.3070004@colbyconsulting.com> Oh my, so many people volunteering to buy it for me. ;) Please remember that this is Pro bono work. I am already giving away tons of hours. John W. Colby www.ColbyConsulting.com On 9/13/2011 12:09 PM, David McAfee wrote: > +1 on the Sagekey scripts. > > I haven't used it with 2007/2010 but did use it with earlier versions. > > Expensive, but worth it. > > > On Tue, Sep 13, 2011 at 7:24 AM, Charlotte Foust > wrote: > >> It does, but that doesn't really help if the file association is with full >> version Access. We used Sage Key scripts to wrap the runtime executable so >> that the PC didn't get confused. >> >> Charlotte Foust >> >> On Tue, Sep 13, 2011 at 7:01 AM, jwcolby>> wrote: >> >>> I have a small (non-profit) client that wants me to install full office >>> 2010 on all of their employees systems. However I want my Access App to >> run >>> under the runtime. Mostly just for that additional security of not >> allowing >>> them access to design time stuff unless they intentionally open the app >>> under the full version. >>> >>> I have installed the runtime on other machines but I do not remember if >> the >>> runtime install allows me to set the destination (install) directory. >>> >>> Is anyone using the runtime? Any tips or tricks for this scenario? >>> >>> -- >>> John W. Colby >>> www.ColbyConsulting.com >>> >>> >>> -- >>> 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 Tue Sep 13 12:48:45 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Sep 2011 13:48:45 -0400 Subject: [AccessD] Runtime when full version is installed In-Reply-To: <3B0E65B4AEE54DB88C1961E8015F4817@XPS> References: <4E6F8230.3000703@colbyconsulting.com> <3B0E65B4AEE54DB88C1961E8015F4817@XPS> Message-ID: <4E6F977D.4070405@colbyconsulting.com> Woa, that is an awesome solution! Thanks! John W. Colby www.ColbyConsulting.com On 9/13/2011 12:42 PM, Jim Dettman wrote: > John, > > No need for the run-time. > > Distribute as a MDE and use the SysCmd(acSysCmdRuntime) call to determine > if it started in run-time mode and if not quit the app. > > Then give them a shortcut on the desktop with the /runtime switch. > > If they use anything other then the shortcut, they go no where. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, September 13, 2011 12:18 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Runtime when full version is installed > > As a non-profit they got something like 50 licenses from Microsoft for > almost nothing. They want > the full version on the employees machines so that they can use all of the > other office applications > and all be using the same version to do so. > > I don't want them using the full version on the Access application simply > because is exposes the > application. I will probably go with a "compiled" version (MDE) once it > stabilizes but for now > using the runtime will help me keep users where they belong. > > John W. Colby > www.ColbyConsulting.com > > On 9/13/2011 10:15 AM, Gustav Brock wrote: >> Hi John >> >> Non-profit and full Office 2010 doesn't match costly wise. Are you they > need Access on all machines? We've never had a client - profit or none - > with that demand; we always use the Office 2010 for home and small business > with the cheap PCK license. >> >> /gustav >> >> >>>>> jwcolby at colbyconsulting.com 13-09-2011 16:01>>> >> I have a small (non-profit) client that wants me to install full office > 2010 on all of their >> employees systems. However I want my Access App to run under the runtime. > Mostly just for that >> additional security of not allowing them access to design time stuff > unless they intentionally open >> the app under the full version. >> >> I have installed the runtime on other machines but I do not remember if > the runtime install allows >> me to set the destination (install) directory. >> >> Is anyone using the runtime? Any tips or tricks for this scenario? >> From dnod at aol.com Tue Sep 13 12:53:18 2011 From: dnod at aol.com (Dean) Date: Tue, 13 Sep 2011 13:53:18 -0400 Subject: [AccessD] Runtime when full version is installed In-Reply-To: <4E6F970F.3070004@colbyconsulting.com> References: <4E6F6253.2070808@colbyconsulting.com> <4E6F970F.3070004@colbyconsulting.com> Message-ID: Do they need Access installed as part of the Suite. I meet very few end users who have a clue what to do with it. In my own office, I install MS Office often without including Access so as not to complicate the runtime apps maintenance. Dean S. Davids Fort Lauderdale, Fl On Sep 13, 2011, at 1:46 PM, jwcolby wrote: > Oh my, so many people volunteering to buy it for me. ;) > > Please remember that this is Pro bono work. I am already giving away tons of hours. > > John W. Colby > www.ColbyConsulting.com > > On 9/13/2011 12:09 PM, David McAfee wrote: >> +1 on the Sagekey scripts. >> >> I haven't used it with 2007/2010 but did use it with earlier versions. >> >> Expensive, but worth it. >> >> >> On Tue, Sep 13, 2011 at 7:24 AM, Charlotte Foust >> wrote: >> >>> It does, but that doesn't really help if the file association is with full >>> version Access. We used Sage Key scripts to wrap the runtime executable so >>> that the PC didn't get confused. >>> >>> Charlotte Foust >>> >>> On Tue, Sep 13, 2011 at 7:01 AM, jwcolby>>> wrote: >>> >>>> I have a small (non-profit) client that wants me to install full office >>>> 2010 on all of their employees systems. However I want my Access App to >>> run >>>> under the runtime. Mostly just for that additional security of not >>> allowing >>>> them access to design time stuff unless they intentionally open the app >>>> under the full version. >>>> >>>> I have installed the runtime on other machines but I do not remember if >>> the >>>> runtime install allows me to set the destination (install) directory. >>>> >>>> Is anyone using the runtime? Any tips or tricks for this scenario? >>>> >>>> -- >>>> John W. Colby >>>> www.ColbyConsulting.com >>>> >>>> >>>> -- >>>> 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 Tue Sep 13 13:14:21 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Sep 2011 14:14:21 -0400 Subject: [AccessD] Runtime when full version is installed In-Reply-To: References: <4E6F6253.2070808@colbyconsulting.com> <4E6F970F.3070004@colbyconsulting.com> Message-ID: <4E6F9D7D.9000201@colbyconsulting.com> Well there's another idea. It is kind of useful to have the full version in case I am trying to fix a bug on that user's machine. John W. Colby www.ColbyConsulting.com On 9/13/2011 1:53 PM, Dean wrote: > Do they need Access installed as part of the Suite. I meet very few end users who have a clue what to do with it. In my own office, I install MS Office often without including Access so as not to complicate the runtime apps maintenance. > > Dean S. Davids > Fort Lauderdale, Fl > > On Sep 13, 2011, at 1:46 PM, jwcolby wrote: > >> Oh my, so many people volunteering to buy it for me. ;) >> >> Please remember that this is Pro bono work. I am already giving away tons of hours. >> >> John W. Colby >> www.ColbyConsulting.com >> >> On 9/13/2011 12:09 PM, David McAfee wrote: >>> +1 on the Sagekey scripts. >>> >>> I haven't used it with 2007/2010 but did use it with earlier versions. >>> >>> Expensive, but worth it. >>> >>> >>> On Tue, Sep 13, 2011 at 7:24 AM, Charlotte Foust >>> wrote: >>> >>>> It does, but that doesn't really help if the file association is with full >>>> version Access. We used Sage Key scripts to wrap the runtime executable so >>>> that the PC didn't get confused. >>>> >>>> Charlotte Foust >>>> >>>> On Tue, Sep 13, 2011 at 7:01 AM, jwcolby>>>> wrote: >>>> >>>>> I have a small (non-profit) client that wants me to install full office >>>>> 2010 on all of their employees systems. However I want my Access App to >>>> run >>>>> under the runtime. Mostly just for that additional security of not >>>> allowing >>>>> them access to design time stuff unless they intentionally open the app >>>>> under the full version. >>>>> >>>>> I have installed the runtime on other machines but I do not remember if >>>> the >>>>> runtime install allows me to set the destination (install) directory. >>>>> >>>>> Is anyone using the runtime? Any tips or tricks for this scenario? >>>>> >>>>> -- >>>>> John W. Colby >>>>> www.ColbyConsulting.com >>>>> >>>>> >>>>> -- >>>>> 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 dnod at aol.com Tue Sep 13 13:33:17 2011 From: dnod at aol.com (Dean) Date: Tue, 13 Sep 2011 14:33:17 -0400 Subject: [AccessD] Runtime when full version is installed In-Reply-To: <4E6F9D7D.9000201@colbyconsulting.com> References: <4E6F6253.2070808@colbyconsulting.com> <4E6F970F.3070004@colbyconsulting.com> <4E6F9D7D.9000201@colbyconsulting.com> Message-ID: <2ED2C15A-6C12-4A0A-8A14-99873D514457@aol.com> Yes, that has indeed been an issue. Never enough to change my course however. Dean S. Davids Fort Lauderdale, FL On Sep 13, 2011, at 2:14 PM, jwcolby wrote: > Well there's another idea. It is kind of useful to have the full version in case I am trying to fix a bug on that user's machine. > > John W. Colby > www.ColbyConsulting.com > > On 9/13/2011 1:53 PM, Dean wrote: >> Do they need Access installed as part of the Suite. I meet very few end users who have a clue what to do with it. In my own office, I install MS Office often without including Access so as not to complicate the runtime apps maintenance. >> >> Dean S. Davids >> Fort Lauderdale, Fl >> >> On Sep 13, 2011, at 1:46 PM, jwcolby wrote: >> >>> Oh my, so many people volunteering to buy it for me. ;) >>> >>> Please remember that this is Pro bono work. I am already giving away tons of hours. >>> >>> John W. Colby >>> www.ColbyConsulting.com >>> >>> On 9/13/2011 12:09 PM, David McAfee wrote: >>>> +1 on the Sagekey scripts. >>>> >>>> I haven't used it with 2007/2010 but did use it with earlier versions. >>>> >>>> Expensive, but worth it. >>>> >>>> >>>> On Tue, Sep 13, 2011 at 7:24 AM, Charlotte Foust >>>> wrote: >>>> >>>>> It does, but that doesn't really help if the file association is with full >>>>> version Access. We used Sage Key scripts to wrap the runtime executable so >>>>> that the PC didn't get confused. >>>>> >>>>> Charlotte Foust >>>>> >>>>> On Tue, Sep 13, 2011 at 7:01 AM, jwcolby>>>>> wrote: >>>>> >>>>>> I have a small (non-profit) client that wants me to install full office >>>>>> 2010 on all of their employees systems. However I want my Access App to >>>>> run >>>>>> under the runtime. Mostly just for that additional security of not >>>>> allowing >>>>>> them access to design time stuff unless they intentionally open the app >>>>>> under the full version. >>>>>> >>>>>> I have installed the runtime on other machines but I do not remember if >>>>> the >>>>>> runtime install allows me to set the destination (install) directory. >>>>>> >>>>>> Is anyone using the runtime? Any tips or tricks for this scenario? >>>>>> >>>>>> -- >>>>>> John W. Colby >>>>>> www.ColbyConsulting.com >>>>>> >>>>>> >>>>>> -- >>>>>> 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 >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Sep 13 13:42:43 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Sep 2011 14:42:43 -0400 Subject: [AccessD] Runtime when full version is installed In-Reply-To: <3B0E65B4AEE54DB88C1961E8015F4817@XPS> References: <4E6F8230.3000703@colbyconsulting.com> <3B0E65B4AEE54DB88C1961E8015F4817@XPS> Message-ID: <4E6FA423.1040500@colbyconsulting.com> Jim, When you say distribute as an mde I assume you mean "compiled"? John W. Colby www.ColbyConsulting.com On 9/13/2011 12:42 PM, Jim Dettman wrote: > John, > > No need for the run-time. > > Distribute as a MDE and use the SysCmd(acSysCmdRuntime) call to determine > if it started in run-time mode and if not quit the app. > > Then give them a shortcut on the desktop with the /runtime switch. > > If they use anything other then the shortcut, they go no where. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, September 13, 2011 12:18 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Runtime when full version is installed > > As a non-profit they got something like 50 licenses from Microsoft for > almost nothing. They want > the full version on the employees machines so that they can use all of the > other office applications > and all be using the same version to do so. > > I don't want them using the full version on the Access application simply > because is exposes the > application. I will probably go with a "compiled" version (MDE) once it > stabilizes but for now > using the runtime will help me keep users where they belong. > > John W. Colby > www.ColbyConsulting.com > > On 9/13/2011 10:15 AM, Gustav Brock wrote: >> Hi John >> >> Non-profit and full Office 2010 doesn't match costly wise. Are you they > need Access on all machines? We've never had a client - profit or none - > with that demand; we always use the Office 2010 for home and small business > with the cheap PCK license. >> >> /gustav >> >> >>>>> jwcolby at colbyconsulting.com 13-09-2011 16:01>>> >> I have a small (non-profit) client that wants me to install full office > 2010 on all of their >> employees systems. However I want my Access App to run under the runtime. > Mostly just for that >> additional security of not allowing them access to design time stuff > unless they intentionally open >> the app under the full version. >> >> I have installed the runtime on other machines but I do not remember if > the runtime install allows >> me to set the destination (install) directory. >> >> Is anyone using the runtime? Any tips or tricks for this scenario? >> From john at winhaven.net Tue Sep 13 13:58:53 2011 From: john at winhaven.net (John Bartow) Date: Tue, 13 Sep 2011 13:58:53 -0500 Subject: [AccessD] Archives? In-Reply-To: <002001cc7100$806bd130$81437390$@com.au> References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> <000001cc708b$975c37b0$c614a710$@net> <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> <002001cc7100$806bd130$81437390$@com.au> Message-ID: <010201cc7247$2ee473b0$8cad5b10$@winhaven.net> Hi Daryl, We're looking into it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Sunday, September 11, 2011 11:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Archives? Hi Admin folks, Access D archives link from the website seems to be (still) down. I recall reading folks were having issues a while back, but of course I cannot access the archives to see what the solution might have been. >From memory there was a cunning secret link that still worked, or maybe >I was drunk at the time I read that? Any pointers? Cheers Darryl. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Tue Sep 13 14:36:10 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 13 Sep 2011 15:36:10 -0400 Subject: [AccessD] Runtime when full version is installed In-Reply-To: <4E6FA423.1040500@colbyconsulting.com> References: <4E6F8230.3000703@colbyconsulting.com> <3B0E65B4AEE54DB88C1961E8015F4817@XPS> <4E6FA423.1040500@colbyconsulting.com> Message-ID: John, Source code stripped out, so yes that would be compiled. If that's done, no changes can be made to the code and the code cannot be viewed. If you want to be able to make code changes on site, the alternative would be to distribute as normal, but put a password on the VBA project file. That would be enough to keep the mildly curious out, but still let you make changes on site if needed. And BTW, I see the other Jim posted with more or less the same idea before I did (he suggested changing the extension on the file to .accdr, which also forces runtime mode in 2007 and up. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 13, 2011 02:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Runtime when full version is installed Jim, When you say distribute as an mde I assume you mean "compiled"? John W. Colby www.ColbyConsulting.com On 9/13/2011 12:42 PM, Jim Dettman wrote: > John, > > No need for the run-time. > > Distribute as a MDE and use the SysCmd(acSysCmdRuntime) call to determine > if it started in run-time mode and if not quit the app. > > Then give them a shortcut on the desktop with the /runtime switch. > > If they use anything other then the shortcut, they go no where. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, September 13, 2011 12:18 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Runtime when full version is installed > > As a non-profit they got something like 50 licenses from Microsoft for > almost nothing. They want > the full version on the employees machines so that they can use all of the > other office applications > and all be using the same version to do so. > > I don't want them using the full version on the Access application simply > because is exposes the > application. I will probably go with a "compiled" version (MDE) once it > stabilizes but for now > using the runtime will help me keep users where they belong. > > John W. Colby > www.ColbyConsulting.com > > On 9/13/2011 10:15 AM, Gustav Brock wrote: >> Hi John >> >> Non-profit and full Office 2010 doesn't match costly wise. Are you they > need Access on all machines? We've never had a client - profit or none - > with that demand; we always use the Office 2010 for home and small business > with the cheap PCK license. >> >> /gustav >> >> >>>>> jwcolby at colbyconsulting.com 13-09-2011 16:01>>> >> I have a small (non-profit) client that wants me to install full office > 2010 on all of their >> employees systems. However I want my Access App to run under the runtime. > Mostly just for that >> additional security of not allowing them access to design time stuff > unless they intentionally open >> the app under the full version. >> >> I have installed the runtime on other machines but I do not remember if > the runtime install allows >> me to set the destination (install) directory. >> >> Is anyone using the runtime? Any tips or tricks for this scenario? >> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Tue Sep 13 18:41:30 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 14 Sep 2011 09:41:30 +1000 Subject: [AccessD] Archives? In-Reply-To: <010201cc7247$2ee473b0$8cad5b10$@winhaven.net> References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> <000001cc708b$975c37b0$c614a710$@net> <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> <002001cc7100$806bd130$81437390$@com.au> <010201cc7247$2ee473b0$8cad5b10$@winhaven.net> Message-ID: <001501cc726e$aa1c4450$fe54ccf0$@com.au> Thanks John, I appreciate you all have lives outside of Access D so happy to wait for when you can get a solution. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Wednesday, 14 September 2011 4:59 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Archives? Hi Daryl, We're looking into it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Sunday, September 11, 2011 11:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Archives? Hi Admin folks, Access D archives link from the website seems to be (still) down. I recall reading folks were having issues a while back, but of course I cannot access the archives to see what the solution might have been. >From memory there was a cunning secret link that still worked, or maybe >I was drunk at the time I read that? Any pointers? Cheers Darryl. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Sep 13 20:35:25 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 13 Sep 2011 18:35:25 -0700 Subject: [AccessD] New Windows 8 In-Reply-To: <2F9A0DD5E91F496C8AE781EC53B17173@creativesystemdesigns.com> References: <2F9A0DD5E91F496C8AE781EC53B17173@creativesystemdesigns.com> Message-ID: The first look of Windows 8 may be a bit of a curiosity. Actually, it is two products in one or a core with two distros...like Linux, given say, Lime and Ubuntu, each interface looks completely different but each has the same kernel. There will be the new default browser/cell phone type interface and then there will be Windows7. http://www.theregister.co.uk/2011/09/13/windows_8_preview/ I think this product is an evolutionary product...One part says desktop PC and the other says Web based browser. The interface is just a step on the journey which will lead away from the desktop PC to an internet support application. Many articles have been written saying it more bluntly, but this is the formal acceptance and official agreement, on the part of Microsoft. They have just acknowledged the truth and that is that the PC, as we know it, is dead. So boys and girls if you plan to be working in the computer industry, of the future get your internet skills ready. Learn about web servers, internet protocols, distributive databases, HTMLx, CSSx, JavaScript, web based graphics and cloud based applications (and all the forth-coming generations). It is going to be a thrilling ride as we launch off from the PC. Jim From dhb at flsi.com Tue Sep 13 20:48:22 2011 From: dhb at flsi.com (Darrell Burns) Date: Tue, 13 Sep 2011 18:48:22 -0700 Subject: [AccessD] Runtime when full version is installed In-Reply-To: <4E6F6253.2070808@colbyconsulting.com> References: <4E6F6253.2070808@colbyconsulting.com> Message-ID: <025001cc7280$6306eb80$2914c280$@flsi.com> Sorry if I'm answering this late but yes, I have just implemented A2010 runtime in a corporate environment where the workstations are running a mix of Office 2003 thru 2010. I had to jump thru 3 sets of hoops: 1) to send eMail messages, and 2) to jump over the security popups, and 3) to overcome the Office2010 SP1 development bug. I'd be happy to share my results if you're bedeviled by any of these quirks. The answer to your question " runtime install allows me to set the destination (install) directory" is YES. Darrell -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 13, 2011 7:02 AM To: Access Developers discussion and problem solving Subject: [AccessD] Runtime when full version is installed I have a small (non-profit) client that wants me to install full office 2010 on all of their employees systems. However I want my Access App to run under the runtime. Mostly just for that additional security of not allowing them access to design time stuff unless they intentionally open the app under the full version. I have installed the runtime on other machines but I do not remember if the runtime install allows me to set the destination (install) directory. Is anyone using the runtime? Any tips or tricks for this scenario? -- John W. Colby www.ColbyConsulting.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 Tue Sep 13 21:18:47 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 14 Sep 2011 12:18:47 +1000 Subject: [AccessD] New Windows 8 In-Reply-To: References: , <2F9A0DD5E91F496C8AE781EC53B17173@creativesystemdesigns.com>, Message-ID: <4E700F07.22290.383F13@stuart.lexacorp.com.pg> Maybe in the US where internet access is fast and bandiwdth is cheap. It will be many years before businesses in much of the world are prepared to go that way. -- Stuart On 13 Sep 2011 at 18:35, Jim Lawrence wrote: > Many articles have been written saying it more bluntly, but this is > the formal acceptance and official agreement, on the part of > Microsoft. They have just acknowledged the truth and that is that the > PC, as we know it, is dead. > > So boys and girls if you plan to be working in the computer industry, > of the future get your internet skills ready. Learn about web servers, > internet protocols, distributive databases, HTMLx, CSSx, JavaScript, > web based graphics and cloud based applications (and all the > forth-coming generations). > > It is going to be a thrilling ride as we launch off from the PC. > From darryl at whittleconsulting.com.au Tue Sep 13 21:27:23 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 14 Sep 2011 12:27:23 +1000 Subject: [AccessD] New Windows 8 In-Reply-To: <4E700F07.22290.383F13@stuart.lexacorp.com.pg> References: , <2F9A0DD5E91F496C8AE781EC53B17173@creativesystemdesigns.com>, <4E700F07.22290.383F13@stuart.lexacorp.com.pg> Message-ID: <002e01cc7285$d71b2900$85517b00$@com.au> Yeah, that is a good point. In many places in Oz the prices are steep and the speed woeful - especially outside of the Metro areas... And there is no use using someone else as there is only the one service provider in much of the country. Suck it up really. Hmmmmm. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, 14 September 2011 12:19 PM To: 'Discussion of Hardware and Software issues'; 'Off Topic'; 'Discussion concerning Visual Basic and related programming issues.'; 'Discussion concerning MS SQL Server'; 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New Windows 8 Maybe in the US where internet access is fast and bandiwdth is cheap. It will be many years before businesses in much of the world are prepared to go that way. -- Stuart On 13 Sep 2011 at 18:35, Jim Lawrence wrote: > Many articles have been written saying it more bluntly, but this is > the formal acceptance and official agreement, on the part of > Microsoft. They have just acknowledged the truth and that is that the > PC, as we know it, is dead. > > So boys and girls if you plan to be working in the computer industry, > of the future get your internet skills ready. Learn about web servers, > internet protocols, distributive databases, HTMLx, CSSx, JavaScript, > web based graphics and cloud based applications (and all the > forth-coming generations). > > It is going to be a thrilling ride as we launch off from the PC. > -- 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 Sep 14 15:31:01 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 14 Sep 2011 16:31:01 -0400 Subject: [AccessD] Numbers within a street Message-ID: I am working on a political campaign management app. The thing I need to do is post reports that identify the even and odd numbers on a given street. I inherited the db and have freedom to change it (it was written by amateurs and they know it and there are no hard feelings if I make a change, insofar as said change increases productivity). So... given a current field called StreetAddress, I want to break it into two fields, StreetNumber and StreetAddress, so that I can filter the even numbers for one report and the odd numbers for an identical report. How can I intelligently extract the data and populate my new columns? Example data: 123 Normal Street ' easy 234A Abnormal Street ' a tad trickier 2333-1070 Queen Street ' the 2333 part should fall into the StreetNumber field and the rest into the StreetAddress field. Any clever ideas how I might achieve this? TIA, Arthur From jimdettman at verizon.net Wed Sep 14 15:40:20 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 14 Sep 2011 16:40:20 -0400 Subject: [AccessD] Numbers within a street In-Reply-To: References: Message-ID: <2A48DB970C304F07A8F2486788C482D2@XPS> Well right now, it looks like you could split it at the first space. I doubt that it will be that simple though. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, September 14, 2011 04:31 PM To: Access Developers discussion and problem solving Subject: [AccessD] Numbers within a street I am working on a political campaign management app. The thing I need to do is post reports that identify the even and odd numbers on a given street. I inherited the db and have freedom to change it (it was written by amateurs and they know it and there are no hard feelings if I make a change, insofar as said change increases productivity). So... given a current field called StreetAddress, I want to break it into two fields, StreetNumber and StreetAddress, so that I can filter the even numbers for one report and the odd numbers for an identical report. How can I intelligently extract the data and populate my new columns? Example data: 123 Normal Street ' easy 234A Abnormal Street ' a tad trickier 2333-1070 Queen Street ' the 2333 part should fall into the StreetNumber field and the rest into the StreetAddress field. Any clever ideas how I might achieve this? TIA, Arthur -- 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 Sep 14 16:06:15 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 14 Sep 2011 17:06:15 -0400 Subject: [AccessD] Numbers within a street In-Reply-To: <2A48DB970C304F07A8F2486788C482D2@XPS> References: <2A48DB970C304F07A8F2486788C482D2@XPS> Message-ID: You're quite right. Given that the inputs have been largely entered by (gasp) db-ignorant volunteers, there may not be any simple extraction. But a simple query extracting (most of the) street numers will get us about 80% of the rows, and the remainder can be adjusted manually. That's my guess, anyway. Upon achievement of this interim step, it's a cinch to grab the odd and even numbers. In case you're wondering, this is to facilitate the people canvassing and/or hanging signs for the designated politician. My first shot at this target was back in the days of DOS. I wrote the campaign-management software for our recently-departed Jack Layton Back then I did it for free, because I believed in his vision. Now I'm doing it again, and again for free, because I believe in the NDP vision. A. On Wed, Sep 14, 2011 at 4:40 PM, Jim Dettman wrote: > > Well right now, it looks like you could split it at the first space. I > doubt that it will be that simple though. > > Jim. > > From stuart at lexacorp.com.pg Wed Sep 14 16:44:00 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 15 Sep 2011 07:44:00 +1000 Subject: [AccessD] Numbers within a street In-Reply-To: References: Message-ID: <4E712020.12464.4630E58@stuart.lexacorp.com.pg> A query Column =VAL(StreetAddress) will give you the street number in all of those cases. If all you want is whether it is odd or evem, then just create a query column =VAL(StrretAddress) Mod 2 If you want the Street Name by itself , a first pass would be =RIGHT$(StreetAddress, INSTR(StreetAddress," ") + 1) Note: In your third example, VAL() returns just the 2333. If looking for the street name, I would want "Queen Street", not "1070 Queen Street", so you lose data when splitting. For the actual address, you'd use the original data rather that trying to put the Number and Streetname back together again. -- Stuart On 14 Sep 2011 at 16:31, Arthur Fuller wrote: > I am working on a political campaign management app. The thing I need > to do is post reports that identify the even and odd numbers on a > given street. I inherited the db and have freedom to change it (it was > written by amateurs and they know it and there are no hard feelings if > I make a change, insofar as said change increases productivity). > > So... given a current field called StreetAddress, I want to break it > into two fields, StreetNumber and StreetAddress, so that I can filter > the even numbers for one report and the odd numbers for an identical > report. How can I intelligently extract the data and populate my new > columns? > > Example data: > > 123 Normal Street ' easy > 234A Abnormal Street ' a tad trickier > 2333-1070 Queen Street ' the 2333 part should fall into the > StreetNumber field and the rest into the StreetAddress field. > > Any clever ideas how I might achieve this? > > TIA, > Arthur > -- > 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 Wed Sep 14 17:53:11 2011 From: ab-mi at post3.tele.dk (Asger Blond) Date: Thu, 15 Sep 2011 00:53:11 +0200 Subject: [AccessD] Numbers within a street In-Reply-To: <4E712020.12464.4630E58@stuart.lexacorp.com.pg> References: <4E712020.12464.4630E58@stuart.lexacorp.com.pg> Message-ID: <733989AEB1FE426DB045681A207AF183@abpc> But VAL wouldn't catch the street number 234A. A function like this might do the work: Function StreetNumber(Address As String) As String Dim strStreetNumber AS String strStreetNumber = Left(Address, InStr(Address, " ")) If InStr(Address, "-") > 0 Then strStreetNumber = Left(Address, InStr(Address, "-") - 1) End If StreetNumber = strStreetNumber End Function Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Stuart McLachlan Sendt: 14. september 2011 23:44 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Numbers within a street A query Column =VAL(StreetAddress) will give you the street number in all of those cases. If all you want is whether it is odd or evem, then just create a query column =VAL(StrretAddress) Mod 2 If you want the Street Name by itself , a first pass would be =RIGHT$(StreetAddress, INSTR(StreetAddress," ") + 1) Note: In your third example, VAL() returns just the 2333. If looking for the street name, I would want "Queen Street", not "1070 Queen Street", so you lose data when splitting. For the actual address, you'd use the original data rather that trying to put the Number and Streetname back together again. -- Stuart On 14 Sep 2011 at 16:31, Arthur Fuller wrote: > I am working on a political campaign management app. The thing I need > to do is post reports that identify the even and odd numbers on a > given street. I inherited the db and have freedom to change it (it was > written by amateurs and they know it and there are no hard feelings if > I make a change, insofar as said change increases productivity). > > So... given a current field called StreetAddress, I want to break it > into two fields, StreetNumber and StreetAddress, so that I can filter > the even numbers for one report and the odd numbers for an identical > report. How can I intelligently extract the data and populate my new > columns? > > Example data: > > 123 Normal Street ' easy > 234A Abnormal Street ' a tad trickier > 2333-1070 Queen Street ' the 2333 part should fall into the > StreetNumber field and the rest into the StreetAddress field. > > Any clever ideas how I might achieve this? > > TIA, > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Wed Sep 14 18:19:40 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 14 Sep 2011 19:19:40 -0400 Subject: [AccessD] Numbers within a street In-Reply-To: <733989AEB1FE426DB045681A207AF183@abpc> References: <4E712020.12464.4630E58@stuart.lexacorp.com.pg> <733989AEB1FE426DB045681A207AF183@abpc> Message-ID: Thanks for this, Asger. But ultimately, it would be better to teach the volunteers that there is a separate textbox for the Number and another for the street. And thinking down the road, it frequently happens that the fuling party gets to re-draw the electoral map, moving this and that street into a block guaranteed to win a legislative seat, and shunting the others into NowwhereLand. All parties in Canada are guilty of this bad behaviour, so it's impossible to side with any given one and claim the high road. They all do it. The ideal campaign-management software would easily accommodate this sad reality, and make it simple to transfer streets x, y and z, and perhaps street numbers t, u and v, to another riding, to correspond to the latest dicta from the governing party. This would be way slick, and might even prove a deterrent to mitigate such shenanigans: you re-draw the boundaries and presto, one click and we've dealt with it! There's a whole other ball of wax that we don't experience in Canada. I believe the American term for it is "pork barrel". It means that a bunch of stuff gets tacked on to an otherwise virgin bill. I'm not a USA citizen or dweller but I do read the news, and from what I have gleaned, the above is an accurate description of what happens. I find it hilarious that about 90% of the populace in USA is against open immigration policies, while virtually all of same are either first or second-generation immigrants. There is a word for this kind of behavior, and I don't mean "hypocrite", which is emotionally loaded. There is another word for this behavior, and I challenge you to name it. Arthur On Wed, Sep 14, 2011 at 6:53 PM, Asger Blond wrote: > But VAL wouldn't catch the street number 234A. > A function like this might do the work: > > Function StreetNumber(Address As String) As String > Dim strStreetNumber AS String > strStreetNumber = Left(Address, InStr(Address, " ")) > If InStr(Address, "-") > 0 Then > strStreetNumber = Left(Address, InStr(Address, "-") - 1) > End If > StreetNumber = strStreetNumber > End Function > > Asger > From darryl at whittleconsulting.com.au Wed Sep 14 18:42:14 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 15 Sep 2011 09:42:14 +1000 Subject: [AccessD] Numbers within a street In-Reply-To: References: Message-ID: <000f01cc7337$eed9d2f0$cc8d78d0$@com.au> Arthur I would sort the data first. Then I would export it to Excel - your issue here will be the size of the dataset although if you are using XL2007+ this is less of a hurdle By having the data sorted you should be able to get the low hanging fruit early. That is the "24 MyStreet Ave" and deal with them all pretty much in one go. You can then use the "Text to Columns" function to split the data. If you do it in groups you might find you get a lot of it done easily. Given how messy this sort of data is going to be, I feel eyeballing it manually is going to be your best approach. This will allow you to group it into data chucks that you can then run a function or script over and get a result. Anyway. Good luck. It is usually a messy process as there are many dissimilar valid combinations with address Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, 15 September 2011 6:31 AM To: Access Developers discussion and problem solving Subject: [AccessD] Numbers within a street I am working on a political campaign management app. The thing I need to do is post reports that identify the even and odd numbers on a given street. I inherited the db and have freedom to change it (it was written by amateurs and they know it and there are no hard feelings if I make a change, insofar as said change increases productivity). So... given a current field called StreetAddress, I want to break it into two fields, StreetNumber and StreetAddress, so that I can filter the even numbers for one report and the odd numbers for an identical report. How can I intelligently extract the data and populate my new columns? Example data: 123 Normal Street ' easy 234A Abnormal Street ' a tad trickier 2333-1070 Queen Street ' the 2333 part should fall into the StreetNumber field and the rest into the StreetAddress field. Any clever ideas how I might achieve this? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Wed Sep 14 19:07:47 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 14 Sep 2011 20:07:47 -0400 Subject: [AccessD] Numbers within a street References: <4E712020.12464.4630E58@stuart.lexacorp.com.pg><733989AEB1FE426DB045681A207AF183@abpc> Message-ID: <0069F3C180D74086BF98CD281F733A1C@SusanHarkins> > I find it hilarious that about 90% of the populace in USA is against open > immigration policies, while virtually all of same are either first or > second-generation immigrants. There is a word for this kind of behavior, > and > I don't mean "hypocrite", which is emotionally loaded. There is another > word > for this behavior, and I challenge you to name it. =====Check your percentages Arthur -- totally out of whack. Susan H. From stuart at lexacorp.com.pg Wed Sep 14 19:08:57 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 15 Sep 2011 10:08:57 +1000 Subject: [AccessD] Numbers within a street In-Reply-To: <733989AEB1FE426DB045681A207AF183@abpc> References: , <4E712020.12464.4630E58@stuart.lexacorp.com.pg>, <733989AEB1FE426DB045681A207AF183@abpc> Message-ID: <4E714219.5762.4E7C27D@stuart.lexacorp.com.pg> It will for Arthur's purpose. Val(234A....) returns 234 which is on the Even side of the street. There is no real difference between 234A and 2333-1070. The initial numeric part (234, 2333) identifies the building location, the rest just identifies something such as the apartment number within the building. -- Stuart On 15 Sep 2011 at 0:53, Asger Blond wrote: > But VAL wouldn't catch the street number 234A. > A function like this might do the work: > > Function StreetNumber(Address As String) As String > Dim strStreetNumber AS String > strStreetNumber = Left(Address, InStr(Address, " ")) > If InStr(Address, "-") > 0 Then > strStreetNumber = Left(Address, InStr(Address, "-") - 1) > End If > StreetNumber = strStreetNumber > End Function > > Asger > > -----Oprindelig meddelelse----- > Fra: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Stuart > McLachlan Sendt: 14. september 2011 23:44 Til: Access Developers > discussion and problem solving Emne: Re: [AccessD] Numbers within a > street > > A query Column =VAL(StreetAddress) will give you the street number in > all of those cases. > > If all you want is whether it is odd or evem, then just create a query > column =VAL(StrretAddress) Mod 2 > > If you want the Street Name by itself , a first pass would be > =RIGHT$(StreetAddress, INSTR(StreetAddress," ") + 1) > > Note: In your third example, VAL() returns just the 2333. If looking > for the street name, I would want "Queen Street", not "1070 Queen > Street", so you lose data when splitting. For the actual address, > you'd use the original data rather that trying to put the Number and > Streetname back together again. > > -- > Stuart > > On 14 Sep 2011 at 16:31, Arthur Fuller wrote: > > > I am working on a political campaign management app. The thing I > > need to do is post reports that identify the even and odd numbers on > > a given street. I inherited the db and have freedom to change it (it > > was written by amateurs and they know it and there are no hard > > feelings if I make a change, insofar as said change increases > > productivity). > > > > So... given a current field called StreetAddress, I want to break it > > into two fields, StreetNumber and StreetAddress, so that I can > > filter the even numbers for one report and the odd numbers for an > > identical report. How can I intelligently extract the data and > > populate my new columns? > > > > Example data: > > > > 123 Normal Street ' easy > > 234A Abnormal Street ' a tad trickier > > 2333-1070 Queen Street ' the 2333 part should fall into the > > StreetNumber field and the rest into the StreetAddress field. > > > > Any clever ideas how I might achieve this? > > > > TIA, > > Arthur > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From karenr7 at q.com Wed Sep 14 19:09:32 2011 From: karenr7 at q.com (Karen Rosenstiel) Date: Wed, 14 Sep 2011 17:09:32 -0700 Subject: [AccessD] Numbers within a street In-Reply-To: <0069F3C180D74086BF98CD281F733A1C@SusanHarkins> References: <4E712020.12464.4630E58@stuart.lexacorp.com.pg><733989AEB1FE426DB045681A207AF183@abpc> <0069F3C180D74086BF98CD281F733A1C@SusanHarkins> Message-ID: <000c01cc733b$bef0d260$3cd27720$@com> And some of us have families that have been here a little longer than that. Native Americans, anyone? My own ancestors are johnny-come-latelies; only here since 1603. 90% ??? I don't think so. Regards, Karen Rosenstiel Seattle WA USA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, September 14, 2011 5:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Numbers within a street > I find it hilarious that about 90% of the populace in USA is against open > immigration policies, while virtually all of same are either first or > second-generation immigrants. There is a word for this kind of behavior, > and > I don't mean "hypocrite", which is emotionally loaded. There is another > word > for this behavior, and I challenge you to name it. =====Check your percentages Arthur -- totally out of whack. 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 Wed Sep 14 19:10:36 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 15 Sep 2011 10:10:36 +1000 Subject: [AccessD] Numbers within a street In-Reply-To: References: , <733989AEB1FE426DB045681A207AF183@abpc>, Message-ID: <4E71427C.21165.4E94294@stuart.lexacorp.com.pg> To deal with things like "234A Abnormal St" and "2333-1017 Queen St", you need three fields: Building Number Apartment/Dwelling Identifier Street Name -- Stuart On 14 Sep 2011 at 19:19, Arthur Fuller wrote: > Thanks for this, Asger. But ultimately, it would be better to teach > the volunteers that there is a separate textbox for the Number and > another for the street. > > And thinking down the road, it frequently happens that the fuling > party gets to re-draw the electoral map, moving this and that street > into a block guaranteed to win a legislative seat, and shunting the > others into NowwhereLand. All parties in Canada are guilty of this bad > behaviour, so it's impossible to side with any given one and claim the > high road. They all do it. > > The ideal campaign-management software would easily accommodate this > sad reality, and make it simple to transfer streets x, y and z, and > perhaps street numbers t, u and v, to another riding, to correspond to > the latest dicta from the governing party. This would be way slick, > and might even prove a deterrent to mitigate such shenanigans: you > re-draw the boundaries and presto, one click and we've dealt with it! > > There's a whole other ball of wax that we don't experience in Canada. > I believe the American term for it is "pork barrel". It means that a > bunch of stuff gets tacked on to an otherwise virgin bill. > > I'm not a USA citizen or dweller but I do read the news, and from what > I have gleaned, the above is an accurate description of what happens. > > I find it hilarious that about 90% of the populace in USA is against > open immigration policies, while virtually all of same are either > first or second-generation immigrants. There is a word for this kind > of behavior, and I don't mean "hypocrite", which is emotionally > loaded. There is another word for this behavior, and I challenge you > to name it. > > Arthur > > On Wed, Sep 14, 2011 at 6:53 PM, Asger Blond > wrote: > > > But VAL wouldn't catch the street number 234A. > > A function like this might do the work: > > > > Function StreetNumber(Address As String) As String > > Dim strStreetNumber AS String > > strStreetNumber = Left(Address, InStr(Address, " ")) > > If InStr(Address, "-") > 0 Then > > strStreetNumber = Left(Address, InStr(Address, "-") - 1) > > End If > > StreetNumber = strStreetNumber > > End Function > > > > Asger > > > -- > 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 Sep 14 19:17:31 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 15 Sep 2011 10:17:31 +1000 Subject: [AccessD] Numbers within a street In-Reply-To: <000f01cc7337$eed9d2f0$cc8d78d0$@com.au> References: , <000f01cc7337$eed9d2f0$cc8d78d0$@com.au> Message-ID: <4E71441B.26776.4EF98A0@stuart.lexacorp.com.pg> Why Excel? It's much easier in Access. I do this a lot. 1. Add the new required new fields. 2. Run a query to update the fields where everything before the first space is numeric using suitable functions. 3. Filter the table to only show records where the new fields are empty. 4. Look for the next common pattern and update all records where the new fields are empty with an appropriate function. Repeat 3 and 4 until you get down to a small subset that is easier to update manually. -- Stuart On 15 Sep 2011 at 9:42, Darryl Collins wrote: > Arthur > > I would sort the data first. > > Then I would export it to Excel - your issue here will be the size of > the dataset although if you are using XL2007+ this is less of a hurdle > > By having the data sorted you should be able to get the low hanging > fruit early. That is the "24 MyStreet Ave" and deal with them all > pretty much in one go. > > You can then use the "Text to Columns" function to split the data. > > If you do it in groups you might find you get a lot of it done easily. > > Given how messy this sort of data is going to be, I feel eyeballing it > manually is going to be your best approach. This will allow you to > group it into data chucks that you can then run a function or script > over and get a result. > > Anyway. Good luck. It is usually a messy process as there are many > dissimilar valid combinations with address > > Cheers > Darryl > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur > Fuller Sent: Thursday, 15 September 2011 6:31 AM To: Access Developers > discussion and problem solving Subject: [AccessD] Numbers within a > street > > I am working on a political campaign management app. The thing I need > to do is post reports that identify the even and odd numbers on a > given street. I inherited the db and have freedom to change it (it was > written by amateurs and they know it and there are no hard feelings if > I make a change, insofar as said change increases productivity). > > So... given a current field called StreetAddress, I want to break it > into two fields, StreetNumber and StreetAddress, so that I can filter > the even numbers for one report and the odd numbers for an identical > report. How can I intelligently extract the data and populate my new > columns? > > Example data: > > 123 Normal Street ' easy > 234A Abnormal Street ' a tad trickier > 2333-1070 Queen Street ' the 2333 part should fall into the > StreetNumber field and the rest into the StreetAddress field. > > Any clever ideas how I might achieve this? > > TIA, > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Wed Sep 14 20:07:28 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 15 Sep 2011 11:07:28 +1000 Subject: [AccessD] Numbers within a street In-Reply-To: <4E71441B.26776.4EF98A0@stuart.lexacorp.com.pg> References: , <000f01cc7337$eed9d2f0$cc8d78d0$@com.au> <4E71441B.26776.4EF98A0@stuart.lexacorp.com.pg> Message-ID: <001001cc7343$d7090f40$851b2dc0$@com.au> Heh, I guess it shows my long term background. I like Excel for really messy jobs as you can break the data up easily and I know how to do a lot of fast and sneaky tricks on it. Faster than I know how to in Access anyway. I don't doubt if you are less of a hack than me than Access could be a good tool for the job. In this case I would be the constraint in the system, rather than the software itself. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, 15 September 2011 10:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Numbers within a street Why Excel? It's much easier in Access. I do this a lot. 1. Add the new required new fields. 2. Run a query to update the fields where everything before the first space is numeric using suitable functions. 3. Filter the table to only show records where the new fields are empty. 4. Look for the next common pattern and update all records where the new fields are empty with an appropriate function. Repeat 3 and 4 until you get down to a small subset that is easier to update manually. -- Stuart On 15 Sep 2011 at 9:42, Darryl Collins wrote: > Arthur > > I would sort the data first. > > Then I would export it to Excel - your issue here will be the size of > the dataset although if you are using XL2007+ this is less of a hurdle > > By having the data sorted you should be able to get the low hanging > fruit early. That is the "24 MyStreet Ave" and deal with them all > pretty much in one go. > > You can then use the "Text to Columns" function to split the data. > > If you do it in groups you might find you get a lot of it done easily. > > Given how messy this sort of data is going to be, I feel eyeballing it > manually is going to be your best approach. This will allow you to > group it into data chucks that you can then run a function or script > over and get a result. > > Anyway. Good luck. It is usually a messy process as there are many > dissimilar valid combinations with address > > Cheers > Darryl > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur > Fuller Sent: Thursday, 15 September 2011 6:31 AM To: Access Developers > discussion and problem solving Subject: [AccessD] Numbers within a > street > > I am working on a political campaign management app. The thing I need > to do is post reports that identify the even and odd numbers on a > given street. I inherited the db and have freedom to change it (it was > written by amateurs and they know it and there are no hard feelings if > I make a change, insofar as said change increases productivity). > > So... given a current field called StreetAddress, I want to break it > into two fields, StreetNumber and StreetAddress, so that I can filter > the even numbers for one report and the odd numbers for an identical > report. How can I intelligently extract the data and populate my new > columns? > > Example data: > > 123 Normal Street ' easy > 234A Abnormal Street ' a tad trickier > 2333-1070 Queen Street ' the 2333 part should fall into the > StreetNumber field and the rest into the StreetAddress field. > > Any clever ideas how I might achieve this? > > TIA, > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Sep 14 21:47:28 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 14 Sep 2011 22:47:28 -0400 Subject: [AccessD] How does Access locking work Message-ID: <4E716740.9090909@colbyconsulting.com> I need to find documentation about the actual locking mechanism for Access. I vaguely remember something about Jet using a file, and (IIRC) applying system locks to pieces out past the end of that file. It is all very old memories and I am not finding anything "real" about the actual details. Anyone know what it was I read so long ago? -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Wed Sep 14 21:54:31 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 14 Sep 2011 22:54:31 -0400 Subject: [AccessD] SSDs and BE storage Message-ID: <4E7168E7.2000502@colbyconsulting.com> Does anyone have experience with using an SSD (or SSD RAID) to store the Access BEs? Does it significantly speed up the database? My client has a pretty large (by Access standards) database. It is a call center application and they do mostly reads (viewing claim data as they talk to the client), but do a fair amount of "documenting" the phone calls by writing notes. About 25 users in the database all day. It seems logical that the SSDs enormous IOPS and streaming reads would speed things up but I have never seen any actual studies or documented usage data. -- John W. Colby www.ColbyConsulting.com From charlotte.foust at gmail.com Wed Sep 14 21:54:43 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 14 Sep 2011 19:54:43 -0700 Subject: [AccessD] How does Access locking work In-Reply-To: <4E716740.9090909@colbyconsulting.com> References: <4E716740.9090909@colbyconsulting.com> Message-ID: Are you talking about the ldb file, John? That was the lock file for Jet. That's reaching waaaay back but there's probably something in the archives. Charlotte Foust On Wed, Sep 14, 2011 at 7:47 PM, jwcolby wrote: > I need to find documentation about the actual locking mechanism for Access. > I vaguely remember something about Jet using a file, and (IIRC) applying > system locks to pieces out past the end of that file. It is all very old > memories and I am not finding anything "real" about the actual details. > > Anyone know what it was I read so long ago? > > -- > John W. Colby > www.ColbyConsulting.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From jwcolby at colbyconsulting.com Wed Sep 14 22:08:44 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 14 Sep 2011 23:08:44 -0400 Subject: [AccessD] mysql BE for Access? Message-ID: <4E716C3C.7080404@colbyconsulting.com> Is this doable? I am using SQL Server as the data store for Access and positively love it but it is expensive. Is anyone using MySQL or some other cheap / free but powerful data store with Access? -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Wed Sep 14 22:10:55 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 14 Sep 2011 23:10:55 -0400 Subject: [AccessD] How does Access locking work In-Reply-To: References: <4E716740.9090909@colbyconsulting.com> Message-ID: <4E716CBF.1070503@colbyconsulting.com> I am not really sure actually. I find stuff about the lock file but only what is actually in the lock file and that is just two pieces of info (username / workstation I think). I am talking about placing locks on records / pages, parts of the database file etc. How and where is that physically implemented. John W. Colby www.ColbyConsulting.com On 9/14/2011 10:54 PM, Charlotte Foust wrote: > Are you talking about the ldb file, John? That was the lock file for Jet. > That's reaching waaaay back but there's probably something in the archives. > > Charlotte Foust > On Wed, Sep 14, 2011 at 7:47 PM, jwcolbywrote: > >> I need to find documentation about the actual locking mechanism for Access. >> I vaguely remember something about Jet using a file, and (IIRC) applying >> system locks to pieces out past the end of that file. It is all very old >> memories and I am not finding anything "real" about the actual details. >> >> Anyone know what it was I read so long ago? >> >> -- >> John W. Colby >> www.ColbyConsulting.com >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> >> >> Website: http://www.databaseadvisors.**com >> >> >> From accessd at shaw.ca Wed Sep 14 22:21:27 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 14 Sep 2011 20:21:27 -0700 Subject: [AccessD] Numbers within a street In-Reply-To: References: Message-ID: <4271468061D041CE993701EA0E4A963A@creativesystemdesigns.com> Hi Arthur: Fixing data is as hard as writing the program. I would slowly extract the data and fix the data one pass at a time. Checking to see that there is no weird results, after each pass...you might have to go in and do some manual fixes, as there are always records that defy any translators (and there is no point writing 100 lines of code to fix 10 records). Depending on the complexity of the data and your code, 3 to 5 passes is not unusual before a clean set of data can be obtained. Many years ago, I wrote a "riding" application, which would put a canvasser's data into the correct poll just from a poll's legal description. If you need any assistance, I would be glad to help. I also have the appropriate credentials, heritage and my official retirement is close at hand. ;-) You can contact me off line, if you would like. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, September 14, 2011 1:31 PM To: Access Developers discussion and problem solving Subject: [AccessD] Numbers within a street I am working on a political campaign management app. The thing I need to do is post reports that identify the even and odd numbers on a given street. I inherited the db and have freedom to change it (it was written by amateurs and they know it and there are no hard feelings if I make a change, insofar as said change increases productivity). So... given a current field called StreetAddress, I want to break it into two fields, StreetNumber and StreetAddress, so that I can filter the even numbers for one report and the odd numbers for an identical report. How can I intelligently extract the data and populate my new columns? Example data: 123 Normal Street ' easy 234A Abnormal Street ' a tad trickier 2333-1070 Queen Street ' the 2333 part should fall into the StreetNumber field and the rest into the StreetAddress field. Any clever ideas how I might achieve this? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Sep 14 22:43:58 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 14 Sep 2011 20:43:58 -0700 Subject: [AccessD] Numbers within a street In-Reply-To: <4271468061D041CE993701EA0E4A963A@creativesystemdesigns.com> References: <4271468061D041CE993701EA0E4A963A@creativesystemdesigns.com> Message-ID: <520670419AB7481C97A7E16CA3540DBB@HAL9007> Arthur: How many records need to be processed? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: September 14, 2011 8:21 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Numbers within a street Hi Arthur: Fixing data is as hard as writing the program. I would slowly extract the data and fix the data one pass at a time. Checking to see that there is no weird results, after each pass...you might have to go in and do some manual fixes, as there are always records that defy any translators (and there is no point writing 100 lines of code to fix 10 records). Depending on the complexity of the data and your code, 3 to 5 passes is not unusual before a clean set of data can be obtained. Many years ago, I wrote a "riding" application, which would put a canvasser's data into the correct poll just from a poll's legal description. If you need any assistance, I would be glad to help. I also have the appropriate credentials, heritage and my official retirement is close at hand. ;-) You can contact me off line, if you would like. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, September 14, 2011 1:31 PM To: Access Developers discussion and problem solving Subject: [AccessD] Numbers within a street I am working on a political campaign management app. The thing I need to do is post reports that identify the even and odd numbers on a given street. I inherited the db and have freedom to change it (it was written by amateurs and they know it and there are no hard feelings if I make a change, insofar as said change increases productivity). So... given a current field called StreetAddress, I want to break it into two fields, StreetNumber and StreetAddress, so that I can filter the even numbers for one report and the odd numbers for an identical report. How can I intelligently extract the data and populate my new columns? Example data: 123 Normal Street ' easy 234A Abnormal Street ' a tad trickier 2333-1070 Queen Street ' the 2333 part should fall into the StreetNumber field and the rest into the StreetAddress field. Any clever ideas how I might achieve this? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Wed Sep 14 22:53:51 2011 From: john at winhaven.net (John Bartow) Date: Wed, 14 Sep 2011 22:53:51 -0500 Subject: [AccessD] How does Access locking work In-Reply-To: <4E716CBF.1070503@colbyconsulting.com> References: <4E716740.9090909@colbyconsulting.com> <4E716CBF.1070503@colbyconsulting.com> Message-ID: <037401cc735b$151c82f0$3f5588d0$@winhaven.net> IIRC you can open the .ldb file in a text editor and see the contents. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, September 14, 2011 10:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How does Access locking work I am not really sure actually. I find stuff about the lock file but only what is actually in the lock file and that is just two pieces of info (username / workstation I think). I am talking about placing locks on records / pages, parts of the database file etc. How and where is that physically implemented. John W. Colby www.ColbyConsulting.com On 9/14/2011 10:54 PM, Charlotte Foust wrote: > Are you talking about the ldb file, John? That was the lock file for Jet. > That's reaching waaaay back but there's probably something in the archives. > > Charlotte Foust > On Wed, Sep 14, 2011 at 7:47 PM, jwcolbywrote: > >> I need to find documentation about the actual locking mechanism for Access. >> I vaguely remember something about Jet using a file, and (IIRC) >> applying system locks to pieces out past the end of that file. It is >> all very old memories and I am not finding anything "real" about the actual details. >> >> Anyone know what it was I read so long ago? >> >> -- >> John W. Colby >> www.ColbyConsulting.com >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd> eadvisors.com/mailman/listinfo/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 Sep 14 22:59:36 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 14 Sep 2011 23:59:36 -0400 Subject: [AccessD] mysql BE for Access? In-Reply-To: <4E716C3C.7080404@colbyconsulting.com> References: <4E716C3C.7080404@colbyconsulting.com> Message-ID: See my website for how to do exactly this, JC. www.artfulsoftware.com. There are chapters concerning this and also, should you require it, how to hook .NET to MySQL as well. HTH, Arthur On Wed, Sep 14, 2011 at 11:08 PM, jwcolby wrote: > Is this doable? I am using SQL Server as the data store for Access and > positively love it but it is expensive. > > Is anyone using MySQL or some other cheap / free but powerful data store > with Access? > From accessd at shaw.ca Wed Sep 14 23:05:02 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 14 Sep 2011 21:05:02 -0700 Subject: [AccessD] Numbers within a street In-Reply-To: <0069F3C180D74086BF98CD281F733A1C@SusanHarkins> References: <4E712020.12464.4630E58@stuart.lexacorp.com.pg> <733989AEB1FE426DB045681A207AF183@abpc> <0069F3C180D74086BF98CD281F733A1C@SusanHarkins> Message-ID: It all depends on which areas you come from. Some areas have some very stable populations, with many generations in one place. OTOH, many of the super fast growing cities and areas like LA, Vancouver, New York and Toronto are more than doubling in population in less than 20 years. (For example Vancouver had about 1 million in 1980 and is supposed to have over 3.5 million by 2020) There is a lot of fun with sorting the new arrivals. Half the names you cannot spell and other half you cannot pronounce. We have many East Indian and Chinese emigrants, in our area. Many of the east Indians have their title, like our equivalent of Mr. and Sir, embedded in the official name and then the Chinese have both their Chinese name and their English name, all of which can be extremely confusing. Then names do not signify inform you of where a person is from; example both English and Chinese have a very common last name of Lee... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, September 14, 2011 5:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Numbers within a street > I find it hilarious that about 90% of the populace in USA is against open > immigration policies, while virtually all of same are either first or > second-generation immigrants. There is a word for this kind of behavior, > and > I don't mean "hypocrite", which is emotionally loaded. There is another > word > for this behavior, and I challenge you to name it. =====Check your percentages Arthur -- totally out of whack. 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 Wed Sep 14 23:14:17 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 15 Sep 2011 14:14:17 +1000 Subject: [AccessD] mysql BE for Access? In-Reply-To: <4E716C3C.7080404@colbyconsulting.com> References: <4E716C3C.7080404@colbyconsulting.com> Message-ID: <4E717B99.28709.5C85F7B@stuart.lexacorp.com.pg> Yes with myODBC. I have one clieit with a MySQL based application and I built an Access FE with about 20 users (primarily Read Only). Works well. http://dev.mysql.com/downloads/connector/odbc/ -- Stuart On 14 Sep 2011 at 23:08, jwcolby wrote: > Is this doable? I am using SQL Server as the data store for Access > and positively love it but it is expensive. > > Is anyone using MySQL or some other cheap / free but powerful data > store with Access? > > -- > John W. Colby > www.ColbyConsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at Marlow.com Thu Sep 15 00:51:38 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 15 Sep 2011 00:51:38 -0500 Subject: [AccessD] How does Access locking work In-Reply-To: <4E716740.9090909@colbyconsulting.com> References: <4E716740.9090909@colbyconsulting.com> Message-ID: I think I have the old Jet white paper somewhere. But basically Jet would 'lock' the .ldb file where it needed to lock the .mdb. So the .mdb would never be locked (allowing for multiple edits), and the lock on the .mdb would be actually on the .ldb file. So say the .mdb was 100 megs. And it needed to lock the 50th megabyte, the .ldb file was always small (I think it was 64 bits per user, up to 255 users), so it would never reach the 50 meg size, but the 'lock' would be placed on the 'virtual' 50 meg point of the .ldb. Make sense? Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, September 14, 2011 9:47 PM To: Access Developers discussion and problem solving Subject: [AccessD] How does Access locking work I need to find documentation about the actual locking mechanism for Access. I vaguely remember something about Jet using a file, and (IIRC) applying system locks to pieces out past the end of that file. It is all very old memories and I am not finding anything "real" about the actual details. Anyone know what it was I read so long ago? -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From stephen at bondsoftware.co.nz Thu Sep 15 01:36:34 2011 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Thu, 15 Sep 2011 18:36:34 +1200 Subject: [AccessD] How does Access locking work In-Reply-To: <418DA397713F403A89FE0E8D479DD43A@BondSoftware.local> References: <4E716740.9090909@colbyconsulting.com> <418DA397713F403A89FE0E8D479DD43A@BondSoftware.local> Message-ID: John, I've scanned the first couple pages of the White Paper and sent you off-list. Stephen Bond -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, 15 September 2011 6:00 p.m. To: Stephen Subject: Re: [AccessD] How does Access locking work I think I have the old Jet white paper somewhere. But basically Jet would 'lock' the .ldb file where it needed to lock the .mdb. So the .mdb would never be locked (allowing for multiple edits), and the lock on the .mdb would be actually on the .ldb file. So say the .mdb was 100 megs. And it needed to lock the 50th megabyte, the .ldb file was always small (I think it was 64 bits per user, up to 255 users), so it would never reach the 50 meg size, but the 'lock' would be placed on the 'virtual' 50 meg point of the .ldb. Make sense? Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, September 14, 2011 9:47 PM To: Access Developers discussion and problem solving Subject: [AccessD] How does Access locking work I need to find documentation about the actual locking mechanism for Access. I vaguely remember something about Jet using a file, and (IIRC) applying system locks to pieces out past the end of that file. It is all very old memories and I am not finding anything "real" about the actual details. Anyone know what it was I read so long ago? -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Sep 15 05:22:48 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Sep 2011 06:22:48 -0400 Subject: [AccessD] How does Access locking work In-Reply-To: References: <4E716740.9090909@colbyconsulting.com> Message-ID: <4E71D1F8.6040105@colbyconsulting.com> It does make sense and that is what I am talking about. John W. Colby www.ColbyConsulting.com On 9/15/2011 1:51 AM, Drew Wutka wrote: > I think I have the old Jet white paper somewhere. But basically Jet > would 'lock' the .ldb file where it needed to lock the .mdb. So the > .mdb would never be locked (allowing for multiple edits), and the lock > on the .mdb would be actually on the .ldb file. > > So say the .mdb was 100 megs. And it needed to lock the 50th megabyte, > the .ldb file was always small (I think it was 64 bits per user, up to > 255 users), so it would never reach the 50 meg size, but the 'lock' > would be placed on the 'virtual' 50 meg point of the .ldb. > > Make sense? > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Wednesday, September 14, 2011 9:47 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] How does Access locking work > > I need to find documentation about the actual locking mechanism for > Access. I vaguely remember something about Jet using a file, and (IIRC) > applying system locks to pieces out past the end of that file. It is > all very old memories and I am not finding anything "real" about the > actual details. > > Anyone know what it was I read so long ago? > > -- > John W. Colby > www.ColbyConsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > The information contained in this transmission is intended only for the person or entity > to which it is addressed and may contain II-VI Proprietary and/or II-VI Business > Sensitive material. If you are not the intended recipient, please contact the sender > immediately and destroy the material in its entirety, whether electronic or hard copy. > You are notified that any review, retransmission, copying, disclosure, dissemination, > or other use of, or taking of any action in reliance upon this information by persons > or entities other than the intended recipient is prohibited. > > From jwcolby at colbyconsulting.com Thu Sep 15 06:32:23 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Sep 2011 07:32:23 -0400 Subject: [AccessD] How does Access locking work In-Reply-To: References: <4E716740.9090909@colbyconsulting.com> <418DA397713F403A89FE0E8D479DD43A@BondSoftware.local> Message-ID: <4E71E247.3040708@colbyconsulting.com> I found the white paper document out on the internet. http://support.microsoft.com/default.aspx?scid=kb;en-us;176670 I am trying to discover whether moving a client to an SSD for the BE will help with their speed issues. The lock part, what is weritten to the lock file, how often etc is a poorly understood part of the puzzle. John W. Colby www.ColbyConsulting.com On 9/15/2011 2:36 AM, Stephen Bond wrote: > John, I've scanned the first couple pages of the White Paper and sent > you off-list. > > Stephen Bond From jwcolby at colbyconsulting.com Thu Sep 15 06:34:56 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Sep 2011 07:34:56 -0400 Subject: [AccessD] How does Access locking work In-Reply-To: References: <4E716740.9090909@colbyconsulting.com> Message-ID: <4E71E2E0.8030603@colbyconsulting.com> So what is a lock? Something written to disk I assume? Where? Completely stored in memory? How do I speed that up. John W. Colby www.ColbyConsulting.com On 9/15/2011 1:51 AM, Drew Wutka wrote: > I think I have the old Jet white paper somewhere. But basically Jet > would 'lock' the .ldb file where it needed to lock the .mdb. So the > .mdb would never be locked (allowing for multiple edits), and the lock > on the .mdb would be actually on the .ldb file. > > So say the .mdb was 100 megs. And it needed to lock the 50th megabyte, > the .ldb file was always small (I think it was 64 bits per user, up to > 255 users), so it would never reach the 50 meg size, but the 'lock' > would be placed on the 'virtual' 50 meg point of the .ldb. > > Make sense? > > Drew From jimdettman at verizon.net Thu Sep 15 06:37:30 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 15 Sep 2011 07:37:30 -0400 Subject: [AccessD] How does Access locking work In-Reply-To: <4E71D1F8.6040105@colbyconsulting.com> References: <4E716740.9090909@colbyconsulting.com> <4E71D1F8.6040105@colbyconsulting.com> Message-ID: <14428EB56A674FD0933DD8BB9131A2F1@XPS> And that it's exactly. I have the white paper here somewhere written by Kevin Collins that describes the locking (even includes a DB lock utility you can use to poll locks). However it was never updated for JET 4.0 and record level locking. How that works has never been described anywhere. It's also incomplete in that it describes all the locks for 3.5, but locking in JET 4.0 was changed (besides the record locking), so the types of locks and when they are placed are different. What's your goal? Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, September 15, 2011 06:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How does Access locking work It does make sense and that is what I am talking about. John W. Colby www.ColbyConsulting.com On 9/15/2011 1:51 AM, Drew Wutka wrote: > I think I have the old Jet white paper somewhere. But basically Jet > would 'lock' the .ldb file where it needed to lock the .mdb. So the > .mdb would never be locked (allowing for multiple edits), and the lock > on the .mdb would be actually on the .ldb file. > > So say the .mdb was 100 megs. And it needed to lock the 50th megabyte, > the .ldb file was always small (I think it was 64 bits per user, up to > 255 users), so it would never reach the 50 meg size, but the 'lock' > would be placed on the 'virtual' 50 meg point of the .ldb. > > Make sense? > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Wednesday, September 14, 2011 9:47 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] How does Access locking work > > I need to find documentation about the actual locking mechanism for > Access. I vaguely remember something about Jet using a file, and (IIRC) > applying system locks to pieces out past the end of that file. It is > all very old memories and I am not finding anything "real" about the > actual details. > > Anyone know what it was I read so long ago? > > -- > John W. Colby > www.ColbyConsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > The information contained in this transmission is intended only for the person or entity > to which it is addressed and may contain II-VI Proprietary and/or II-VI Business > Sensitive material. If you are not the intended recipient, please contact the sender > immediately and destroy the material in its entirety, whether electronic or hard copy. > You are notified that any review, retransmission, copying, disclosure, dissemination, > or other use of, or taking of any action in reliance upon this information by persons > or entities other than the intended recipient is prohibited. > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Thu Sep 15 06:47:00 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 15 Sep 2011 07:47:00 -0400 Subject: [AccessD] How does Access locking work In-Reply-To: <4E71E2E0.8030603@colbyconsulting.com> References: <4E716740.9090909@colbyconsulting.com> <4E71E2E0.8030603@colbyconsulting.com> Message-ID: John, A lock is never written to disk. It's completely stored in memory (unless of course the OS starts paging to disk because it runs out of memory). <> Faster processor and/or memory. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, September 15, 2011 07:35 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How does Access locking work So what is a lock? Something written to disk I assume? Where? Completely stored in memory? How do I speed that up. John W. Colby www.ColbyConsulting.com On 9/15/2011 1:51 AM, Drew Wutka wrote: > I think I have the old Jet white paper somewhere. But basically Jet > would 'lock' the .ldb file where it needed to lock the .mdb. So the > .mdb would never be locked (allowing for multiple edits), and the lock > on the .mdb would be actually on the .ldb file. > > So say the .mdb was 100 megs. And it needed to lock the 50th megabyte, > the .ldb file was always small (I think it was 64 bits per user, up to > 255 users), so it would never reach the 50 meg size, but the 'lock' > would be placed on the 'virtual' 50 meg point of the .ldb. > > Make sense? > > Drew -- 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 Sep 15 07:23:51 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 15 Sep 2011 22:23:51 +1000 Subject: [AccessD] How does Access locking work In-Reply-To: References: <4E716740.9090909@colbyconsulting.com>, <4E71E2E0.8030603@colbyconsulting.com>, Message-ID: <4E71EE57.9701.78896D9@stuart.lexacorp.com.pg> If it is stored in memory, how can multi-user/ server based BEs work? How can my workstation read/write locks in the server's memory or the memory on another workstation and/or how can they read my memory? It must be physically written somewhere accessible to all users such as the lock file. -- Stuart On 15 Sep 2011 at 7:47, Jim Dettman wrote: > John, > > A lock is never written to disk. It's completely stored in memory > (unless > of course the OS starts paging to disk because it runs out of memory). > > <> > > Faster processor and/or memory. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, September 15, 2011 07:35 AM To: Access Developers > discussion and problem solving Subject: Re: [AccessD] How does Access > locking work > > So what is a lock? Something written to disk I assume? Where? > Completely stored in memory? How do I speed that up. > > John W. Colby > www.ColbyConsulting.com > > On 9/15/2011 1:51 AM, Drew Wutka wrote: > > I think I have the old Jet white paper somewhere. But basically Jet > > would 'lock' the .ldb file where it needed to lock the .mdb. So the > > .mdb would never be locked (allowing for multiple edits), and the > > lock on the .mdb would be actually on the .ldb file. > > > > So say the .mdb was 100 megs. And it needed to lock the 50th > > megabyte, the .ldb file was always small (I think it was 64 bits per > > user, up to 255 users), so it would never reach the 50 meg size, but > > the 'lock' would be placed on the 'virtual' 50 meg point of the > > .ldb. > > > > Make sense? > > > > Drew > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at verizon.net Thu Sep 15 07:39:58 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 15 Sep 2011 08:39:58 -0400 Subject: [AccessD] How does Access locking work In-Reply-To: <4E71EE57.9701.78896D9@stuart.lexacorp.com.pg> References: <4E716740.9090909@colbyconsulting.com>, <4E71E2E0.8030603@colbyconsulting.com>, <4E71EE57.9701.78896D9@stuart.lexacorp.com.pg> Message-ID: <06AA67ADF4DB4C56BF085FF7A0247C49@XPS> Stuart, It's the server that holds the locks, not the clients. The .LDB file is an array of 255 64 byte slots, one for each user. 32 bytes for the computer name, 32 bytes for the username. The .LDB file never grows physically beyond 16k. Each slot is matched to the slot in the database header page, where two bytes represent the operations the user is currently performing (reading/writing, index update, etc). The clients place lock requests against the .LDB file. By doing that, the .MDB file is always free to be read/written by any client. Windows OS's (and all others that I'm aware of) do not care if you try to lock part of a file that doesn't exist. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, September 15, 2011 08:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How does Access locking work If it is stored in memory, how can multi-user/ server based BEs work? How can my workstation read/write locks in the server's memory or the memory on another workstation and/or how can they read my memory? It must be physically written somewhere accessible to all users such as the lock file. -- Stuart On 15 Sep 2011 at 7:47, Jim Dettman wrote: > John, > > A lock is never written to disk. It's completely stored in memory > (unless > of course the OS starts paging to disk because it runs out of memory). > > <> > > Faster processor and/or memory. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, September 15, 2011 07:35 AM To: Access Developers > discussion and problem solving Subject: Re: [AccessD] How does Access > locking work > > So what is a lock? Something written to disk I assume? Where? > Completely stored in memory? How do I speed that up. > > John W. Colby > www.ColbyConsulting.com > > On 9/15/2011 1:51 AM, Drew Wutka wrote: > > I think I have the old Jet white paper somewhere. But basically Jet > > would 'lock' the .ldb file where it needed to lock the .mdb. So the > > .mdb would never be locked (allowing for multiple edits), and the > > lock on the .mdb would be actually on the .ldb file. > > > > So say the .mdb was 100 megs. And it needed to lock the 50th > > megabyte, the .ldb file was always small (I think it was 64 bits per > > user, up to 255 users), so it would never reach the 50 meg size, but > > the 'lock' would be placed on the 'virtual' 50 meg point of the > > .ldb. > > > > Make sense? > > > > Drew > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Thu Sep 15 07:47:34 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Sep 2011 08:47:34 -0400 Subject: [AccessD] mysql BE for Access? In-Reply-To: References: <4E716C3C.7080404@colbyconsulting.com> Message-ID: <4E71F3E6.2090301@colbyconsulting.com> Arthur, I purchased your e-book. Since you seem to be the resident expert... How doable is this? The database is currently Access MDB based, split into about 5 different BEs because of data size and speed issues. ~ 180 tables, ~ 10 major tables, ~1.2 million records in the largest major table. The data itself is not extraordinarily large as databases go, probably about 5 gigs today and up to 10 gigs in the next few years. ~25 users in the database all day every day. The server is currently a 4 physical core Intel based Dell server circa early 2K, running Windows 2000 x32, with 4 gigs of RAM. Replacing the server is in the plan but not in the immediate future - not in 2011. 1) What are realistic server hardware requirements? 2) Is MySQL highly threaded? Will a modern high core count processor help? Lots of memory? 3) Can I migrate existing mdbs / tables to mysql easily, quickly and safely? 4) Are there tools to assist with this? Can it be scripted? 5) Can I link back to these tables using odbc in a manner similar to what I do in SQL Server? 6) What is performance like? 7) Can mysql enforce relational integrity and all that? 8) Are there gui tools for table and index creation? 9) Any tricks or things I need to understand going in? Arthur, as mentioned I have purchased your book and will read it but I thought I'd get a discussion started about the reality of actually using mysql long term for a real production database with an Access front end, specifically the pain of setting up MySQL and doing the conversion. Anything anyone can tell me is most appreciated. John W. Colby www.ColbyConsulting.com On 9/14/2011 11:59 PM, Arthur Fuller wrote: > See my website for how to do exactly this, JC. www.artfulsoftware.com. There > are chapters concerning this and also, should you require it, how to hook > .NET to MySQL as well. > > HTH, > Arthur > > On Wed, Sep 14, 2011 at 11:08 PM, jwcolbywrote: > >> Is this doable? I am using SQL Server as the data store for Access and >> positively love it but it is expensive. >> >> Is anyone using MySQL or some other cheap / free but powerful data store >> with Access? >> From DWUTKA at Marlow.com Thu Sep 15 11:23:55 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 15 Sep 2011 11:23:55 -0500 Subject: [AccessD] How does Access locking work In-Reply-To: <4E71E2E0.8030603@colbyconsulting.com> References: <4E716740.9090909@colbyconsulting.com> <4E71E2E0.8030603@colbyconsulting.com> Message-ID: Stored in memory, by the OS. I know your programming days pre-date mine, so you should have had file writes where you were writing a specific section of a file. The OS 'locks' the section you are telling it you are writing to, then it performs the write. Same process with the .ldb lock, just a write never occurs. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, September 15, 2011 6:35 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How does Access locking work So what is a lock? Something written to disk I assume? Where? Completely stored in memory? How do I speed that up. John W. Colby www.ColbyConsulting.com On 9/15/2011 1:51 AM, Drew Wutka wrote: > I think I have the old Jet white paper somewhere. But basically Jet > would 'lock' the .ldb file where it needed to lock the .mdb. So the > .mdb would never be locked (allowing for multiple edits), and the lock > on the .mdb would be actually on the .ldb file. > > So say the .mdb was 100 megs. And it needed to lock the 50th > megabyte, the .ldb file was always small (I think it was 64 bits per > user, up to > 255 users), so it would never reach the 50 meg size, but the 'lock' > would be placed on the 'virtual' 50 meg point of the .ldb. > > Make sense? > > Drew -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From rusty.hammond at cpiqpc.com Thu Sep 15 11:27:55 2011 From: rusty.hammond at cpiqpc.com (Rusty Hammond) Date: Thu, 15 Sep 2011 11:27:55 -0500 Subject: [AccessD] mysql BE for Access? In-Reply-To: <4E71F3E6.2090301@colbyconsulting.com> References: <4E716C3C.7080404@colbyconsulting.com> <4E71F3E6.2090301@colbyconsulting.com> Message-ID: <49A286ABF515E94A8505CD14DEB721701744A15E@CPIEMAIL-EVS1.CPIQPC.NET> Arthur, just out of curiosity, have you used mySQL on a Linux server with Access linked to it? I just wondered about the performance vs. a windows OS based server/mySQL install. Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, September 15, 2011 7:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] mysql BE for Access? Arthur, I purchased your e-book. Since you seem to be the resident expert... How doable is this? The database is currently Access MDB based, split into about 5 different BEs because of data size and speed issues. ~ 180 tables, ~ 10 major tables, ~1.2 million records in the largest major table. The data itself is not extraordinarily large as databases go, probably about 5 gigs today and up to 10 gigs in the next few years. ~25 users in the database all day every day. The server is currently a 4 physical core Intel based Dell server circa early 2K, running Windows 2000 x32, with 4 gigs of RAM. Replacing the server is in the plan but not in the immediate future - not in 2011. 1) What are realistic server hardware requirements? 2) Is MySQL highly threaded? Will a modern high core count processor help? Lots of memory? 3) Can I migrate existing mdbs / tables to mysql easily, quickly and safely? 4) Are there tools to assist with this? Can it be scripted? 5) Can I link back to these tables using odbc in a manner similar to what I do in SQL Server? 6) What is performance like? 7) Can mysql enforce relational integrity and all that? 8) Are there gui tools for table and index creation? 9) Any tricks or things I need to understand going in? Arthur, as mentioned I have purchased your book and will read it but I thought I'd get a discussion started about the reality of actually using mysql long term for a real production database with an Access front end, specifically the pain of setting up MySQL and doing the conversion. Anything anyone can tell me is most appreciated. John W. Colby www.ColbyConsulting.com On 9/14/2011 11:59 PM, Arthur Fuller wrote: > See my website for how to do exactly this, JC. www.artfulsoftware.com. > There are chapters concerning this and also, should you require it, > how to hook .NET to MySQL as well. > > HTH, > Arthur > > On Wed, Sep 14, 2011 at 11:08 PM, jwcolbywrote: > >> Is this doable? I am using SQL Server as the data store for Access >> and positively love it but it is expensive. >> >> Is anyone using MySQL or some other cheap / free but powerful data >> store with Access? >> -- 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 jwcolby at colbyconsulting.com Thu Sep 15 12:30:40 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Sep 2011 13:30:40 -0400 Subject: [AccessD] mysql BE for Access? In-Reply-To: References: <4E716C3C.7080404@colbyconsulting.com> Message-ID: <4E723640.8060602@colbyconsulting.com> OK, I bought the ebook with updates. John W. Colby www.ColbyConsulting.com On 9/14/2011 11:59 PM, Arthur Fuller wrote: > See my website for how to do exactly this, JC. www.artfulsoftware.com. There > are chapters concerning this and also, should you require it, how to hook > .NET to MySQL as well. > > HTH, > Arthur > > On Wed, Sep 14, 2011 at 11:08 PM, jwcolbywrote: > >> Is this doable? I am using SQL Server as the data store for Access and >> positively love it but it is expensive. >> >> Is anyone using MySQL or some other cheap / free but powerful data store >> with Access? >> From rbgajewski at roadrunner.com Thu Sep 15 17:51:50 2011 From: rbgajewski at roadrunner.com (Bob Gajewski) Date: Thu, 15 Sep 2011 18:51:50 -0400 Subject: [AccessD] Numbers within a street In-Reply-To: References: Message-ID: Arthur Just my 2-cents ... I would not assume that 2333-1070 Queen Street has 2333 for the numeric ... Many places using the hyphenated format actually are putting the unit/suite/lot number in front of the address ... Your example might really be 1070 Queen Street, Unit 2333 ... This is quite prevalent in Canada, for example I know that only makes it murkier :-) Best regards, Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, September 14, 2011 16:31 PM To: Access Developers discussion and problem solving Subject: [AccessD] Numbers within a street I am working on a political campaign management app. The thing I need to do is post reports that identify the even and odd numbers on a given street. I inherited the db and have freedom to change it (it was written by amateurs and they know it and there are no hard feelings if I make a change, insofar as said change increases productivity). So... given a current field called StreetAddress, I want to break it into two fields, StreetNumber and StreetAddress, so that I can filter the even numbers for one report and the odd numbers for an identical report. How can I intelligently extract the data and populate my new columns? Example data: 123 Normal Street ' easy 234A Abnormal Street ' a tad trickier 2333-1070 Queen Street ' the 2333 part should fall into the StreetNumber field and the rest into the StreetAddress field. Any clever ideas how I might achieve this? TIA, Arthur -- 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 Sep 15 20:54:42 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 15 Sep 2011 21:54:42 -0400 Subject: [AccessD] Numbers within a street In-Reply-To: References: Message-ID: Nobody ever said this was going to be simple! Least of all, me. Way back when (in the DOS era) I wrote the original campaign-management software for our late lamented Jack Layton and his wife Olivia, back when they were city councillors. And we had problems then, and they continue to plague us. Sign posters work one half of a given street, and address-entry continues to be problematic for some simple algorithmic reply. Alack and alas, that's why they pay me the nonexistent big bucks. It's something to do, at least. I could instead be picking my nose. "And here is this week's Best Pick!" A. From accessd at shaw.ca Fri Sep 16 13:03:15 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 16 Sep 2011 11:03:15 -0700 Subject: [AccessD] Downloading In-Reply-To: <003f01cc73da$10e5eb70$32b1c250$@winhaven.net> References: <4E723D82.16000.8BDD768@stuart.lexacorp.com.pg> <003f01cc73da$10e5eb70$32b1c250$@winhaven.net> Message-ID: Hi All: Can anyone recommend a app that a client can use to stabilize a long download that may drop a few times and need to be resumed with no lose of data. There use to be a application called Vampire that would retry again and again on a long modem download, but that was many years ago. In this circumstance I can not get direct access to the client so they will have to install and setup such an app themselves... I have been come so use to stable or managed data streaming that I have not thought about dropping connections for a while so any thoughts would be greatly appreciated. TIA Jim From davidmcafee at gmail.com Fri Sep 16 14:30:59 2011 From: davidmcafee at gmail.com (David McAfee) Date: Fri, 16 Sep 2011 12:30:59 -0700 Subject: [AccessD] Downloading In-Reply-To: References: <4E723D82.16000.8BDD768@stuart.lexacorp.com.pg> <003f01cc73da$10e5eb70$32b1c250$@winhaven.net> Message-ID: If they have WinRar they can Rar the file into many smaller pieces. I've used this method many times. WinRar will extract it all into one file on the other end, no need to manually reassemble. On Fri, Sep 16, 2011 at 11:03 AM, Jim Lawrence wrote: > Hi All: > > Can anyone recommend a app that a client can use to stabilize a long > download that may drop a few times and need to be resumed with no lose of > data. > > There use to be a application called Vampire that would retry again and > again on a long modem download, but that was many years ago. In this > circumstance I can not get direct access to the client so they will have to > install and setup such an app themselves... > > I have been come so use to stable or managed data streaming that I have not > thought about dropping connections for a while so any thoughts would be > greatly appreciated. > > TIA > Jim > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Fri Sep 16 15:33:05 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 16 Sep 2011 13:33:05 -0700 Subject: [AccessD] Downloading In-Reply-To: References: <4E723D82.16000.8BDD768@stuart.lexacorp.com.pg> <003f01cc73da$10e5eb70$32b1c250$@winhaven.net> Message-ID: <751961C6BAD64A6CB8DD7CC59CBDC568@creativesystemdesigns.com> That is interesting but it is not quite what I mean. Within the download process an interruption may occur at any time. Many years ago when modems were the only access methods to the internet, a protocol named zmodem was commonly used as it could recover from a download interruption and then continue the download process, picking the file at the point of interruption with no data loss. Though the RAR method might be effective as the user can just start over at the last completed segment and at the end of the process just stick all the components together, I do not want the user to have to manage or manipulate the data in this fashion as the likelihood of error is in the extreme. What the client needs is a application the will handle all these complex issues...restart, if necessary and reassemble without involvement. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Friday, September 16, 2011 12:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Downloading If they have WinRar they can Rar the file into many smaller pieces. I've used this method many times. WinRar will extract it all into one file on the other end, no need to manually reassemble. On Fri, Sep 16, 2011 at 11:03 AM, Jim Lawrence wrote: > Hi All: > > Can anyone recommend a app that a client can use to stabilize a long > download that may drop a few times and need to be resumed with no lose of > data. > > There use to be a application called Vampire that would retry again and > again on a long modem download, but that was many years ago. In this > circumstance I can not get direct access to the client so they will have to > install and setup such an app themselves... > > I have been come so use to stable or managed data streaming that I have not > thought about dropping connections for a while so any thoughts would be > greatly appreciated. > > TIA > 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 davidmcafee at gmail.com Fri Sep 16 15:41:04 2011 From: davidmcafee at gmail.com (David McAfee) Date: Fri, 16 Sep 2011 13:41:04 -0700 Subject: [AccessD] Downloading In-Reply-To: <751961C6BAD64A6CB8DD7CC59CBDC568@creativesystemdesigns.com> References: <4E723D82.16000.8BDD768@stuart.lexacorp.com.pg> <003f01cc73da$10e5eb70$32b1c250$@winhaven.net> <751961C6BAD64A6CB8DD7CC59CBDC568@creativesystemdesigns.com> Message-ID: I was suggesting that as an alternative. Another thing you could do is torrent the file. A lot of torrent clients will automatically continue if the computer is reboot, and the torrent download restarted. I used to use BitTornado, not sure if they are still around as most of this stuff is blocked here at work as it is often used to download movies. On Fri, Sep 16, 2011 at 1:33 PM, Jim Lawrence wrote: > That is interesting but it is not quite what I mean. Within the download > process an interruption may occur at any time. > > Many years ago when modems were the only access methods to the internet, a > protocol named zmodem was commonly used as it could recover from a download > interruption and then continue the download process, picking the file at > the > point of interruption with no data loss. > > Though the RAR method might be effective as the user can just start over at > the last completed segment and at the end of the process just stick all the > components together, I do not want the user to have to manage or manipulate > the data in this fashion as the likelihood of error is in the extreme. > > What the client needs is a application the will handle all these complex > issues...restart, if necessary and reassemble without involvement. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee > Sent: Friday, September 16, 2011 12:31 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Downloading > > If they have WinRar they can Rar the file into many smaller pieces. > > I've used this method many times. > > WinRar will extract it all into one file on the other end, no need to > manually reassemble. > > > On Fri, Sep 16, 2011 at 11:03 AM, Jim Lawrence wrote: > > > Hi All: > > > > Can anyone recommend a app that a client can use to stabilize a long > > download that may drop a few times and need to be resumed with no lose of > > data. > > > > There use to be a application called Vampire that would retry again and > > again on a long modem download, but that was many years ago. In this > > circumstance I can not get direct access to the client so they will have > to > > install and setup such an app themselves... > > > > I have been come so use to stable or managed data streaming that I have > not > > thought about dropping connections for a while so any thoughts would be > > greatly appreciated. > > > > TIA > > 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 accessd at shaw.ca Fri Sep 16 16:14:25 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 16 Sep 2011 14:14:25 -0700 Subject: [AccessD] Downloading In-Reply-To: References: <4E723D82.16000.8BDD768@stuart.lexacorp.com.pg> <003f01cc73da$10e5eb70$32b1c250$@winhaven.net> <751961C6BAD64A6CB8DD7CC59CBDC568@creativesystemdesigns.com> Message-ID: <1C46D71DA73242ABA8DB834AF359ED69@creativesystemdesigns.com> Hi David: BitTorrent...excellent idea. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Friday, September 16, 2011 1:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Downloading I was suggesting that as an alternative. Another thing you could do is torrent the file. A lot of torrent clients will automatically continue if the computer is reboot, and the torrent download restarted. I used to use BitTornado, not sure if they are still around as most of this stuff is blocked here at work as it is often used to download movies. On Fri, Sep 16, 2011 at 1:33 PM, Jim Lawrence wrote: > That is interesting but it is not quite what I mean. Within the download > process an interruption may occur at any time. > > Many years ago when modems were the only access methods to the internet, a > protocol named zmodem was commonly used as it could recover from a download > interruption and then continue the download process, picking the file at > the > point of interruption with no data loss. > > Though the RAR method might be effective as the user can just start over at > the last completed segment and at the end of the process just stick all the > components together, I do not want the user to have to manage or manipulate > the data in this fashion as the likelihood of error is in the extreme. > > What the client needs is a application the will handle all these complex > issues...restart, if necessary and reassemble without involvement. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee > Sent: Friday, September 16, 2011 12:31 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Downloading > > If they have WinRar they can Rar the file into many smaller pieces. > > I've used this method many times. > > WinRar will extract it all into one file on the other end, no need to > manually reassemble. > > > On Fri, Sep 16, 2011 at 11:03 AM, Jim Lawrence wrote: > > > Hi All: > > > > Can anyone recommend a app that a client can use to stabilize a long > > download that may drop a few times and need to be resumed with no lose of > > data. > > > > There use to be a application called Vampire that would retry again and > > again on a long modem download, but that was many years ago. In this > > circumstance I can not get direct access to the client so they will have > to > > install and setup such an app themselves... > > > > I have been come so use to stable or managed data streaming that I have > not > > thought about dropping connections for a while so any thoughts would be > > greatly appreciated. > > > > TIA > > 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 shamil at smsconsulting.spb.ru Sat Sep 17 12:21:19 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 17 Sep 2011 21:21:19 +0400 Subject: [AccessD] Downloading In-Reply-To: References: <4E723D82.16000.8BDD768@stuart.lexacorp.com.pg><003f01cc73da$10e5eb70$32b1c250$@winhaven.net> Message-ID: <4F96CEBC873940C8B0419D73E934BBC3@nant> Hi Jim, FileZilla - http://filezilla-project.org/client_features.php ? Thank you. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: 16 ???????? 2011 ?. 22:03 To: 'Discussion of Hardware and Software issues'; 'Access Developers discussion and problem solving' Subject: [AccessD] Downloading Hi All: Can anyone recommend a app that a client can use to stabilize a long download that may drop a few times and need to be resumed with no lose of data. There use to be a application called Vampire that would retry again and again on a long modem download, but that was many years ago. In this circumstance I can not get direct access to the client so they will have to install and setup such an app themselves... I have been come so use to stable or managed data streaming that I have not thought about dropping connections for a while so any thoughts would be greatly appreciated. TIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sat Sep 17 12:38:32 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 17 Sep 2011 10:38:32 -0700 Subject: [AccessD] Downloading In-Reply-To: <4F96CEBC873940C8B0419D73E934BBC3@nant> References: <4E723D82.16000.8BDD768@stuart.lexacorp.com.pg> <003f01cc73da$10e5eb70$32b1c250$@winhaven.net> <4F96CEBC873940C8B0419D73E934BBC3@nant> Message-ID: <6FDA5457B886486097D44374DE1D2519@creativesystemdesigns.com> As meantioned on the DBA_tech list...Filezilla is definitely a first choice. Thanks Shamil. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, September 17, 2011 10:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Downloading Hi Jim, FileZilla - http://filezilla-project.org/client_features.php ? Thank you. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: 16 ???????? 2011 ?. 22:03 To: 'Discussion of Hardware and Software issues'; 'Access Developers discussion and problem solving' Subject: [AccessD] Downloading Hi All: Can anyone recommend a app that a client can use to stabilize a long download that may drop a few times and need to be resumed with no lose of data. There use to be a application called Vampire that would retry again and again on a long modem download, but that was many years ago. In this circumstance I can not get direct access to the client so they will have to install and setup such an app themselves... I have been come so use to stable or managed data streaming that I have not thought about dropping connections for a while so any thoughts would be greatly appreciated. TIA 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 jwcolby at colbyconsulting.com Sat Sep 17 18:24:13 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 17 Sep 2011 19:24:13 -0400 Subject: [AccessD] MySQL Message-ID: <4E752C1D.9060901@colbyconsulting.com> Today I built a Windows XP SP3 VM (x32) and installed MySQL Community Edition. I installed all the prereqs, the database and the ODBC connector. The .Net connector refused to install due to missing .net 2.0 or 4.0. I also installed the workbench. It looks very foreign. It is very foreign. This is the part of new technology I hate, that first look - "I don't recognize a thing" feeling. Being a vm, I have a boot drive and a data drive. The boot is 30 gigs and the data is 60 gigs. Let's hope that is enough, though one would think so for small databases. I am trying to learn enough to assist a client with evaluating MySQL for replacing his Access MDB data store. For now I have to figure out how to create a database. Is it the same concept as SQL Server? A file or set of files where tables, indexes, views etc are stored? I assumed there would be some visual designer that would allow me to create the db, then tables etc. It looks like that stuff is in "SQL Development". This thing looks pretty nice, but very different on the surface. -- John W. Colby www.ColbyConsulting.com From stuart at lexacorp.com.pg Sat Sep 17 18:51:42 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 18 Sep 2011 09:51:42 +1000 Subject: [AccessD] MySQL In-Reply-To: <4E752C1D.9060901@colbyconsulting.com> References: <4E752C1D.9060901@colbyconsulting.com> Message-ID: <4E75328E.20690.144B1BE3@stuart.lexacorp.com.pg> I run MySQL locally as part of a WAMP installation and remotely on our FreeBSD servers. I use phpMyAdmin for all the administration. It's a very intuitive interface. It's possibly worth installing WAMP just for the phpMyAdmin. -- Stuart On 17 Sep 2011 at 19:24, jwcolby wrote: > For now I have to figure out how to create a database. Is it the same > concept as SQL Server? A file or set of files where tables, indexes, > views etc are stored? I assumed there would be some visual designer > that would allow me to create the db, then tables etc. It looks like > that stuff is in "SQL Development". > > This thing looks pretty nice, but very different on the surface. > From jwcolby at colbyconsulting.com Sat Sep 17 19:53:31 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 17 Sep 2011 20:53:31 -0400 Subject: [AccessD] SQL Server security Message-ID: <4E75410B.1080607@colbyconsulting.com> I see logs of references to people probing ports looking for SQL Server ports (and mysql as well I assume). If I come in through a Hamachi VPN then I do not directly expose the port to the outside world correct? IOW the hacker would need to belong to my VPN network in order to directly get to the open port? -- John W. Colby www.ColbyConsulting.com From drcaa at click21.com.br Sun Sep 18 06:43:40 2011 From: drcaa at click21.com.br (drcaa at click21.com.br) Date: Sun, 18 Sep 2011 08:43:40 -0300 Subject: [AccessD] A2007 - importing objects from A2000 Message-ID: <1316346220.4e75d96c85e8c@webmail4.click21.com.br> Hi people! I have had a situation tryiong to use a A2000 database in A2007. Some forms (including a switchboard created by myself) and all reports are not shown in navigation pane. I tried to convert the database, tried to use in A2000 format and no success. Also tried to import all objects from A2000 database, but those objects I mentioned are not shown either. Any hints??? TIA, Carl?os Alberto Alves ___________________________________________________________________________________ Para fazer uma liga??o DDD pra perto ou pra longe, faz um 21. A Embratel tem tarifas muito baratas esperando por voc?. Aproveite! From vbacreations at gmail.com Sun Sep 18 07:46:51 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Sun, 18 Sep 2011 08:46:51 -0400 Subject: [AccessD] A2007 - importing objects from A2000 In-Reply-To: <1316346220.4e75d96c85e8c@webmail4.click21.com.br> References: <1316346220.4e75d96c85e8c@webmail4.click21.com.br> Message-ID: <001901cc7601$0a4d6170$1ee82450$@gmail.com> Are you able to create new objects at all in this database? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of drcaa at click21.com.br Sent: Sunday, September 18, 2011 7:44 AM To: accessd at databaseadvisors.com Subject: [AccessD] A2007 - importing objects from A2000 Hi people! I have had a situation tryiong to use a A2000 database in A2007. Some forms (including a switchboard created by myself) and all reports are not shown in navigation pane. I tried to convert the database, tried to use in A2000 format and no success. Also tried to import all objects from A2000 database, but those objects I mentioned are not shown either. Any hints??? TIA, Carl?os Alberto Alves ____________________________________________________________________________ _______ Para fazer uma liga??o DDD pra perto ou pra longe, faz um 21. A Embratel tem tarifas muito baratas esperando por voc?. Aproveite! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marklbreen at gmail.com Sun Sep 18 10:13:03 2011 From: marklbreen at gmail.com (Mark Breen) Date: Sun, 18 Sep 2011 16:13:03 +0100 Subject: [AccessD] Downloading In-Reply-To: <6FDA5457B886486097D44374DE1D2519@creativesystemdesigns.com> References: <4E723D82.16000.8BDD768@stuart.lexacorp.com.pg> <003f01cc73da$10e5eb70$32b1c250$@winhaven.net> <4F96CEBC873940C8B0419D73E934BBC3@nant> <6FDA5457B886486097D44374DE1D2519@creativesystemdesigns.com> Message-ID: Hello All, Can I add to that the FileZilla Client is great, but FileZilla Server is also great for me. I am using that for a few years now and it makes setting up FTP accounts nice and easy. Mark On 17 September 2011 18:38, Jim Lawrence wrote: > As meantioned on the DBA_tech list...Filezilla is definitely a first > choice. > > > Thanks Shamil. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Saturday, September 17, 2011 10:21 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Downloading > > Hi Jim, > > FileZilla - http://filezilla-project.org/client_features.php ? > > Thank you. > > -- > Shamil > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: 16 ???????? 2011 ?. 22:03 > To: 'Discussion of Hardware and Software issues'; 'Access Developers > discussion and problem solving' > Subject: [AccessD] Downloading > > Hi All: > > Can anyone recommend a app that a client can use to stabilize a long > download that may drop a few times and need to be resumed with no lose of > data. > > There use to be a application called Vampire that would retry again and > again on a long modem download, but that was many years ago. In this > circumstance I can not get direct access to the client so they will have to > install and setup such an app themselves... > > I have been come so use to stable or managed data streaming that I have not > thought about dropping connections for a while so any thoughts would be > greatly appreciated. > > TIA > 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 accessd at shaw.ca Sun Sep 18 10:30:07 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 18 Sep 2011 08:30:07 -0700 Subject: [AccessD] Downloading In-Reply-To: References: <4E723D82.16000.8BDD768@stuart.lexacorp.com.pg> <003f01cc73da$10e5eb70$32b1c250$@winhaven.net> <4F96CEBC873940C8B0419D73E934BBC3@nant> <6FDA5457B886486097D44374DE1D2519@creativesystemdesigns.com> Message-ID: Confer, both are excellent. :-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: Sunday, September 18, 2011 8:13 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Downloading Hello All, Can I add to that the FileZilla Client is great, but FileZilla Server is also great for me. I am using that for a few years now and it makes setting up FTP accounts nice and easy. Mark On 17 September 2011 18:38, Jim Lawrence wrote: > As meantioned on the DBA_tech list...Filezilla is definitely a first > choice. > > > Thanks Shamil. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Saturday, September 17, 2011 10:21 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Downloading > > Hi Jim, > > FileZilla - http://filezilla-project.org/client_features.php ? > > Thank you. > > -- > Shamil > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: 16 ???????? 2011 ?. 22:03 > To: 'Discussion of Hardware and Software issues'; 'Access Developers > discussion and problem solving' > Subject: [AccessD] Downloading > > Hi All: > > Can anyone recommend a app that a client can use to stabilize a long > download that may drop a few times and need to be resumed with no lose of > data. > > There use to be a application called Vampire that would retry again and > again on a long modem download, but that was many years ago. In this > circumstance I can not get direct access to the client so they will have to > install and setup such an app themselves... > > I have been come so use to stable or managed data streaming that I have not > thought about dropping connections for a while so any thoughts would be > greatly appreciated. > > TIA > 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 marksimms at verizon.net Sun Sep 18 10:45:00 2011 From: marksimms at verizon.net (Mark Simms) Date: Sun, 18 Sep 2011 11:45:00 -0400 Subject: [AccessD] MySQL, Tableau In-Reply-To: <4E752C1D.9060901@colbyconsulting.com> References: <4E752C1D.9060901@colbyconsulting.com> Message-ID: <003a01cc7619$ed5d0ca0$c81725e0$@net> Same thing happened to me when I installed Tableau recently. The first thing I wanted to do was "export to excel"....and OF COURSE, they made that very difficult. > It looks very foreign. It is very foreign. This is the part of new > technology I hate, that first > look - "I don't recognize a thing" feeling. From stuart at lexacorp.com.pg Sun Sep 18 16:36:38 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 19 Sep 2011 07:36:38 +1000 Subject: [AccessD] Downloading In-Reply-To: References: , <6FDA5457B886486097D44374DE1D2519@creativesystemdesigns.com>, Message-ID: <4E766466.4798.18F5D1D2@stuart.lexacorp.com.pg> I used to use Filezilla and still install the server where clients need one but I don't bother with separate FTP clients these days. Not since I found the FireFTP plugin for Firefox. Most of my FTP usage is for websites and it justs so easy to upload, switch tabs to the webpage and hit F5. Stuart On 18 Sep 2011 at 16:13, Mark Breen wrote: > Hello All, > > Can I add to that the FileZilla Client is great, but FileZilla Server > is also great for me. I am using that for a few years now and it > makes setting up FTP accounts nice and easy. > > Mark > > > On 17 September 2011 18:38, Jim Lawrence wrote: > > > As meantioned on the DBA_tech list...Filezilla is definitely a first > > choice. > > > > > > Thanks Shamil. > > > > Jim > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > > Salakhetdinov Sent: Saturday, September 17, 2011 10:21 AM To: > > 'Access Developers discussion and problem solving' Subject: Re: > > [AccessD] Downloading > > > > Hi Jim, > > > > FileZilla - http://filezilla-project.org/client_features.php ? > > > > Thank you. > > > > -- > > Shamil > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim > > Lawrence Sent: 16 ???????? 2011 ?. 22:03 To: 'Discussion of Hardware > > and Software issues'; 'Access Developers discussion and problem > > solving' Subject: [AccessD] Downloading > > > > Hi All: > > > > Can anyone recommend a app that a client can use to stabilize a long > > download that may drop a few times and need to be resumed with no > > lose of data. > > > > There use to be a application called Vampire that would retry again > > and again on a long modem download, but that was many years ago. In > > this circumstance I can not get direct access to the client so they > > will have to install and setup such an app themselves... > > > > I have been come so use to stable or managed data streaming that I > > have not thought about dropping connections for a while so any > > thoughts would be greatly appreciated. > > > > TIA > > 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 Sun Sep 18 19:48:47 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 18 Sep 2011 17:48:47 -0700 Subject: [AccessD] Downloading In-Reply-To: <4E766466.4798.18F5D1D2@stuart.lexacorp.com.pg> References: <6FDA5457B886486097D44374DE1D2519@creativesystemdesigns.com> <4E766466.4798.18F5D1D2@stuart.lexacorp.com.pg> Message-ID: <41DED998C7EE4ABDB21A5B8AA6E5B5F6@creativesystemdesigns.com> That sounds like a good idea. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, September 18, 2011 2:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Downloading I used to use Filezilla and still install the server where clients need one but I don't bother with separate FTP clients these days. Not since I found the FireFTP plugin for Firefox. Most of my FTP usage is for websites and it justs so easy to upload, switch tabs to the webpage and hit F5. Stuart On 18 Sep 2011 at 16:13, Mark Breen wrote: > Hello All, > > Can I add to that the FileZilla Client is great, but FileZilla Server > is also great for me. I am using that for a few years now and it > makes setting up FTP accounts nice and easy. > > Mark > > > On 17 September 2011 18:38, Jim Lawrence wrote: > > > As meantioned on the DBA_tech list...Filezilla is definitely a first > > choice. > > > > > > Thanks Shamil. > > > > Jim > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > > Salakhetdinov Sent: Saturday, September 17, 2011 10:21 AM To: > > 'Access Developers discussion and problem solving' Subject: Re: > > [AccessD] Downloading > > > > Hi Jim, > > > > FileZilla - http://filezilla-project.org/client_features.php ? > > > > Thank you. > > > > -- > > Shamil > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim > > Lawrence Sent: 16 ???????? 2011 ?. 22:03 To: 'Discussion of Hardware > > and Software issues'; 'Access Developers discussion and problem > > solving' Subject: [AccessD] Downloading > > > > Hi All: > > > > Can anyone recommend a app that a client can use to stabilize a long > > download that may drop a few times and need to be resumed with no > > lose of data. > > > > There use to be a application called Vampire that would retry again > > and again on a long modem download, but that was many years ago. In > > this circumstance I can not get direct access to the client so they > > will have to install and setup such an app themselves... > > > > I have been come so use to stable or managed data streaming that I > > have not thought about dropping connections for a while so any > > thoughts would be greatly appreciated. > > > > TIA > > 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 > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sun Sep 18 21:59:24 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 18 Sep 2011 22:59:24 -0400 Subject: [AccessD] Access to MySQL conversion Message-ID: <4E76B00C.5020204@colbyconsulting.com> Has anybody found a package to do this? I am finding some things but they look suspicious. -- John W. Colby www.ColbyConsulting.com From michaeljrobertson at gmail.com Sun Sep 18 22:50:36 2011 From: michaeljrobertson at gmail.com (Michael) Date: Mon, 19 Sep 2011 13:50:36 +1000 Subject: [AccessD] Access to MySQL conversion In-Reply-To: <4E76B00C.5020204@colbyconsulting.com> References: <4E76B00C.5020204@colbyconsulting.com> Message-ID: <001a01cc767f$4d508af0$e7f1a0d0$@gmail.com> John, Have a look at http://forums.mysql.com/list.php?65 This deals with Access/MySQL migrations as well as many other related matters. Michael -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, 19 September 2011 12:59 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access to MySQL conversion Has anybody found a package to do this? I am finding some things but they look suspicious. -- John W. Colby www.ColbyConsulting.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 Sep 19 11:52:30 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 19 Sep 2011 12:52:30 -0400 Subject: [AccessD] Access to MySQL conversion In-Reply-To: <001a01cc767f$4d508af0$e7f1a0d0$@gmail.com> References: <4E76B00C.5020204@colbyconsulting.com> <001a01cc767f$4d508af0$e7f1a0d0$@gmail.com> Message-ID: <4E77734E.50607@colbyconsulting.com> This was interesting http://25yearsofprogramming.com/blog/2010/20100718.htm Option #2 use Access to push structure and data. I will definitely be giving this a try. I may be able to do programmatically what he was doing manually which would make it pretty easy. John W. Colby www.ColbyConsulting.com On 9/18/2011 11:50 PM, Michael wrote: > John, > > Have a look at http://forums.mysql.com/list.php?65 > > This deals with Access/MySQL migrations as well as many other related > matters. > > Michael > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, 19 September 2011 12:59 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Access to MySQL conversion > > Has anybody found a package to do this? I am finding some things but they > look suspicious. > From rlister at actuarial-files.com Mon Sep 19 16:18:31 2011 From: rlister at actuarial-files.com (Ralf Lister) Date: Mon, 19 Sep 2011 17:18:31 -0400 Subject: [AccessD] Ambiguous Name Message-ID: <000001cc7711$bb3f9f00$31bedd00$@com> Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia From michaeljrobertson at gmail.com Mon Sep 19 17:38:59 2011 From: michaeljrobertson at gmail.com (Michael) Date: Tue, 20 Sep 2011 08:38:59 +1000 Subject: [AccessD] Access to MySQL conversion In-Reply-To: <4E77734E.50607@colbyconsulting.com> References: <4E76B00C.5020204@colbyconsulting.com> <001a01cc767f$4d508af0$e7f1a0d0$@gmail.com> <4E77734E.50607@colbyconsulting.com> Message-ID: <001201cc771c$ef415e50$cdc41af0$@gmail.com> John, You might also have a look at Navicat for MySQL - http://www.navicat.com/en/products/navicat_mysql/mysql_overview.html I personally use the Premium Version of Navicat to manage remote databases, develop complex queries, create views, triggers, UDFs and so on. I use MySQL as the backend for dynamic websites I build here in Australia - the hosts are in California. While phpMyAdmin is useful and free, it doesn't compare to the Navicat product which of course costs ($199 for the MySQL version). While this may sound like an advertisement for Navicat (it isn't) I simply can't do without Navicat (I use the Premium Edition which covers most of the major DBs). At the very least I recommend that you have a look at the product - it has a 30 day free trial. As an experiment I imported a few tables from an Access database, across the WAN and it worked well. I didn't choose anything too complex deliberately, but from what I saw it has all of the features you might need for a migration from Access to MySQL plus the ongoing benefit of DB Management. I do all my DB development work directly in Navicat. I also use Access as a front-end to MySQL for complex site maintenance activities - using ODBC for that. Hope that helps. Rgeards, Michael -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, 20 September 2011 2:53 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access to MySQL conversion This was interesting http://25yearsofprogramming.com/blog/2010/20100718.htm Option #2 use Access to push structure and data. I will definitely be giving this a try. I may be able to do programmatically what he was doing manually which would make it pretty easy. John W. Colby www.ColbyConsulting.com On 9/18/2011 11:50 PM, Michael wrote: > John, > > Have a look at http://forums.mysql.com/list.php?65 > > This deals with Access/MySQL migrations as well as many other related > matters. > > Michael > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, 19 September 2011 12:59 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Access to MySQL conversion > > Has anybody found a package to do this? I am finding some things but > they look suspicious. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From steve at goodhall.info Mon Sep 19 18:33:24 2011 From: steve at goodhall.info (Steve Goodhall) Date: Mon, 19 Sep 2011 19:33:24 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: <000001cc7711$bb3f9f00$31bedd00$@com> References: <000001cc7711$bb3f9f00$31bedd00$@com> Message-ID: Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- 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 Sep 19 18:42:11 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 20 Sep 2011 09:42:11 +1000 Subject: [AccessD] Ambiguous Name In-Reply-To: <000001cc7711$bb3f9f00$31bedd00$@com> References: <000001cc7711$bb3f9f00$31bedd00$@com> Message-ID: <000a01cc7725$c0fad0e0$42f072a0$@com.au> I would just search for "gsngAportesSR". It is likely you have it dimmed in a module somewhere else. Search for "Dim gsngAportesSR" for starters and then just "gsngAportesSR" - it will be in there somewhere. I would also ensure all your modules are "Option Explicit" to ensure nothing is getting dimmed twice by the VBE. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Tuesday, 20 September 2011 7:19 AM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- 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 Sep 19 18:56:39 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 19 Sep 2011 19:56:39 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: <000001cc7711$bb3f9f00$31bedd00$@com> References: <000001cc7711$bb3f9f00$31bedd00$@com> Message-ID: First of all, I am semi-retired, after 25+ years in the trenches. Second, I am an opponent of Hungarien (Simonyi) notation. I invented my own school of notation, which I call (in homage to the aforementioned) Post-Hungarian. In a nutshell this means: frm_MyForm --> MyForm_frm. And so on for all objects in said project. Why adopt this convention? Because all the objects related to, let's say, Customer, are all sorted naturally, I can find everything related to Customer easy as pie. At the end of the day, I am most interested in retrieving said objects. I go further. I have suffixes including "_qs", "qu", "qd" and "qi" and these mean "query select", "query update", "query delete" and "query insert"/ The point being that the prefix "Customer..." sorts the people according to what they affect, and from there I can work out what is destined to do something to the underlying data. Granted, this is only my opinion on how objects ought to be named. Smarter people on this list might come up with superior schemes, A. From darryl at whittleconsulting.com.au Mon Sep 19 20:44:24 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 20 Sep 2011 11:44:24 +1000 Subject: [AccessD] Ambiguous Name In-Reply-To: References: <000001cc7711$bb3f9f00$31bedd00$@com> Message-ID: <000b01cc7736$d44b8480$7ce28d80$@com.au> Interesting approach Arthur and I can see why that maybe useful in doing things that way. I would say don't think there is a right or wrong way of doing this and we all have our own preferences, I think the only 'crime' (for the want of a better word - maybe 'mistake' (?)) is to be inconsistent with your approach. The main aim I have on naming things in a certain way is to minimise risk. By putting some details of what to expect in the object name I find it is easy to chase down any issues. But of course that is just me. Everyone else's mileage will vary. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, 20 September 2011 9:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name First of all, I am semi-retired, after 25+ years in the trenches. Second, I am an opponent of Hungarien (Simonyi) notation. I invented my own school of notation, which I call (in homage to the aforementioned) Post-Hungarian. In a nutshell this means: frm_MyForm --> MyForm_frm. And so on for all objects in said project. Why adopt this convention? Because all the objects related to, let's say, Customer, are all sorted naturally, I can find everything related to Customer easy as pie. At the end of the day, I am most interested in retrieving said objects. I go further. I have suffixes including "_qs", "qu", "qd" and "qi" and these mean "query select", "query update", "query delete" and "query insert"/ The point being that the prefix "Customer..." sorts the people according to what they affect, and from there I can work out what is destined to do something to the underlying data. Granted, this is only my opinion on how objects ought to be named. Smarter people on this list might come up with superior schemes, 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 Mon Sep 19 23:29:54 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 19 Sep 2011 21:29:54 -0700 Subject: [AccessD] Ambiguous Name In-Reply-To: References: <000001cc7711$bb3f9f00$31bedd00$@com> Message-ID: That's the kind of thing my former employer decided to do when we moved to VB.Net. Made it very easy to sort things into groups by name, but it was a nightmare if you wanted to look at, say, all subreports. I hated it because it solved one "problem" by creating others. Charlotte Foust On Mon, Sep 19, 2011 at 4:56 PM, Arthur Fuller wrote: > First of all, I am semi-retired, after 25+ years in the trenches. > Second, I am an opponent of Hungarien (Simonyi) notation. I invented my own > school of notation, which I call (in homage to the aforementioned) > Post-Hungarian. In a nutshell this means: > > frm_MyForm --> MyForm_frm. And so on for all objects in said project. Why > adopt this convention? Because all the objects related to, let's say, > Customer, are all sorted naturally, I can find everything related to > Customer easy as pie. At the end of the day, I am most interested in > retrieving said objects. I go further. I have suffixes including "_qs", > "qu", "qd" and "qi" and these mean "query select", "query update", "query > delete" and "query insert"/ The point being that the prefix "Customer..." > sorts the people according to what they affect, and from there I can work > out what is destined to do something to the underlying data. > > Granted, this is only my opinion on how objects ought to be named. Smarter > people on this list might come up with superior schemes, > > A. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From fuller.artful at gmail.com Tue Sep 20 00:36:48 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 20 Sep 2011 01:36:48 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: References: <000001cc7711$bb3f9f00$31bedd00$@com> Message-ID: I never claimed perfection, Charlotte, LOL. And any naming convention is bound to have its pluses and minuses. But I try to keep it sensible, as best I can. So, we have forms called Customer_frm, CustomerOrder_subfrm, CustomerOrderDetails_subfrm, etc. Main thing is that they sort alphabetically and sensibly, IMO. Same nomenclature for reports. I also have a few procs in a module called Listers which (gasp) list objects of various types (forms, reports, modules) so I can grab the results and paste them into an Excel workbook and thus mark off my regression testing. It may not be perfect but it works well enough for me, until I find something better. Suggestions are always welcome. A. On Tue, Sep 20, 2011 at 12:29 AM, Charlotte Foust wrote: > That's the kind of thing my former employer decided to do when we moved to > VB.Net. Made it very easy to sort things into groups by name, but it was a > nightmare if you wanted to look at, say, all subreports. I hated it > because > it solved one "problem" by creating others. > > Charlotte Foust > > From Gustav at cactus.dk Tue Sep 20 02:24:55 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 20 Sep 2011 09:24:55 +0200 Subject: [AccessD] [dba-SQLServer] Oracle 11g EX (was: MySQL) Message-ID: Hi Arthur et al Also Oracle sports a free Express version, Oracle 11g XE with these limitations: * Maximum database size is 11 GB * Maximum RAM it will use is 1 GB * Only one instance can be installed on a single computer * Uses only a single CPU Here is a guide for the Windows installation (for people like JC encountering the unknown!): http://www.codeproject.com/KB/database/InstallOracle11gXE.aspx Not that I have used it or intend to do so. The last time I tried (Oracle 8i?) it installed a monster suite of tools and yet you had to deal with manual editing of ora files etc. ... I felt much like JC does now facing the WAMP package. Things may have changed, I know, I'm just not ready to meet the challenge (= have no purpose for it). /gustav -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, September 17, 2011 6:53 PM To: Discussion concerning MS SQL Server Subject: Re: [dba-SQLServer] [AccessD] MySQL There are some nice things about MySQL but on the other hand I definitely do not like where Oracle is going with this puppy since its acquisition of Sun and by inheritance MySQL. I'm still on the fence about these developments, but quite frankly I am leaning against Oracle on all these transmutations of what was originally a simple, straightforward approach. At last recollection, Monty has departed, and with him, I fear, has the guiding vision of this product. Frankly, I am all over the place on where next to go: I look at Mongo and see it exquisite for web-apps but not for OLTP situations. I look at PostGreSQL and think it's got a bunch of things right. I look at Oracle and MS-SQL and think they have some things right as well. I frankly do not have any clue into which basket to toss my next eggs. Arthur From jwcolby at colbyconsulting.com Tue Sep 20 06:51:08 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Sep 2011 07:51:08 -0400 Subject: [AccessD] Access to MySQL conversion In-Reply-To: <001201cc771c$ef415e50$cdc41af0$@gmail.com> References: <4E76B00C.5020204@colbyconsulting.com> <001a01cc767f$4d508af0$e7f1a0d0$@gmail.com> <4E77734E.50607@colbyconsulting.com> <001201cc771c$ef415e50$cdc41af0$@gmail.com> Message-ID: <4E787E2C.7070106@colbyconsulting.com> AFAICT this is $250 for the "non-commercial" version which I could qualify for if I used it for one of my non-profits. John W. Colby www.ColbyConsulting.com On 9/19/2011 6:38 PM, Michael wrote: > John, > > You might also have a look at Navicat for MySQL - > http://www.navicat.com/en/products/navicat_mysql/mysql_overview.html > > I personally use the Premium Version of Navicat to manage remote databases, > develop complex queries, create views, triggers, UDFs and so on. I use MySQL > as the backend for dynamic websites I build here in Australia - the hosts > are in California. While phpMyAdmin is useful and free, it doesn't compare > to the Navicat product which of course costs ($199 for the MySQL version). > > While this may sound like an advertisement for Navicat (it isn't) I simply > can't do without Navicat (I use the Premium Edition which covers most of the > major DBs). At the very least I recommend that you have a look at the > product - it has a 30 day free trial. > > As an experiment I imported a few tables from an Access database, across the > WAN and it worked well. I didn't choose anything too complex deliberately, > but from what I saw it has all of the features you might need for a > migration from Access to MySQL plus the ongoing benefit of DB Management. I > do all my DB development work directly in Navicat. > > I also use Access as a front-end to MySQL for complex site maintenance > activities - using ODBC for that. > > Hope that helps. > > Rgeards, > > Michael > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, 20 September 2011 2:53 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access to MySQL conversion > > This was interesting > > http://25yearsofprogramming.com/blog/2010/20100718.htm > > Option #2 use Access to push structure and data. I will definitely be > giving this a try. I may be able to do programmatically what he was doing > manually which would make it pretty easy. > > John W. Colby > www.ColbyConsulting.com > > On 9/18/2011 11:50 PM, Michael wrote: >> John, >> >> Have a look at http://forums.mysql.com/list.php?65 >> >> This deals with Access/MySQL migrations as well as many other related >> matters. >> >> Michael >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Monday, 19 September 2011 12:59 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Access to MySQL conversion >> >> Has anybody found a package to do this? I am finding some things but >> they look suspicious. >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Tue Sep 20 07:10:26 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Sep 2011 08:10:26 -0400 Subject: [AccessD] SSDs and BE storage In-Reply-To: <4E7168E7.2000502@colbyconsulting.com> References: <4E7168E7.2000502@colbyconsulting.com> Message-ID: <4E7882B2.7040407@colbyconsulting.com> Well, it seems I will be answering this question in the next few weeks. The client is building a server in the next couple of weeks, which will include a raid1 SSD as the data store. Phase 1 of the story will be to move the access BEs to that SSD and use that while we migrate the data into something else (MySQL maybe). My FE / framework logs the start / stop time when opening forms so it should be easy to discover whether the SSD makes things significantly faster. John W. Colby www.ColbyConsulting.com On 9/14/2011 10:54 PM, jwcolby wrote: > Does anyone have experience with using an SSD (or SSD RAID) to store the Access BEs? Does it > significantly speed up the database? > > My client has a pretty large (by Access standards) database. It is a call center application and > they do mostly reads (viewing claim data as they talk to the client), but do a fair amount of > "documenting" the phone calls by writing notes. About 25 users in the database all day. > > It seems logical that the SSDs enormous IOPS and streaming reads would speed things up but I have > never seen any actual studies or documented usage data. > From df.waters at comcast.net Tue Sep 20 07:48:52 2011 From: df.waters at comcast.net (Dan Waters) Date: Tue, 20 Sep 2011 07:48:52 -0500 Subject: [AccessD] SSDs and BE storage In-Reply-To: <4E7882B2.7040407@colbyconsulting.com> References: <4E7168E7.2000502@colbyconsulting.com> <4E7882B2.7040407@colbyconsulting.com> Message-ID: <001701cc7793$a75c8ca0$f615a5e0$@comcast.net> Hi John, A few months ago I switched to using an SSD for the Windows 7 OS and applications, and a WD Black HD for data storage. And yes, things are significantly faster. If I had a 2nd gen Intel CPU I'd see another jump in speed. But the way it is now, every Access file I open is up in about 1 second (if it doesn't have startup code). VS 2010 takes about 35 seconds to open and a VS app takes about 5 seconds to open. If you're going to all SSD, then you'll see a dramatic difference. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 20, 2011 7:10 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SSDs and BE storage Well, it seems I will be answering this question in the next few weeks. The client is building a server in the next couple of weeks, which will include a raid1 SSD as the data store. Phase 1 of the story will be to move the access BEs to that SSD and use that while we migrate the data into something else (MySQL maybe). My FE / framework logs the start / stop time when opening forms so it should be easy to discover whether the SSD makes things significantly faster. John W. Colby www.ColbyConsulting.com On 9/14/2011 10:54 PM, jwcolby wrote: > Does anyone have experience with using an SSD (or SSD RAID) to store > the Access BEs? Does it significantly speed up the database? > > My client has a pretty large (by Access standards) database. It is a > call center application and they do mostly reads (viewing claim data > as they talk to the client), but do a fair amount of "documenting" the phone calls by writing notes. About 25 users in the database all day. > > It seems logical that the SSDs enormous IOPS and streaming reads would > speed things up but I have never seen any actual studies or documented usage data. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rlister at actuarial-files.com Tue Sep 20 09:48:00 2011 From: rlister at actuarial-files.com (Ralf Lister) Date: Tue, 20 Sep 2011 10:48:00 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: <000a01cc7725$c0fad0e0$42f072a0$@com.au> References: <000001cc7711$bb3f9f00$31bedd00$@com> <000a01cc7725$c0fad0e0$42f072a0$@com.au> Message-ID: <000101cc77a4$4d2eb3f0$e78c1bd0$@com> Thanks Darryl, Thanks to your advice all is working wonderfully now. I found that the ambiguous variable gsngAportesSR was dimmed twice. Thousand thanks! Saludos Actuary Ralf Lister La Paz, Bolivia Registrado en APS No. Registro: Act.Mat. 001 NIT: 1016725022 Skype Name: ralf.martin.lister1 Tel.: 222 26 61, Cel. 70136531 rlister at actuarial-files.com www.actuarial-files.com -----Mensaje original----- De: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] En nombre de Darryl Collins Enviado el: Lunes, 19 de Septiembre de 2011 07:42 p.m. Para: 'Access Developers discussion and problem solving' Asunto: Re: [AccessD] Ambiguous Name I would just search for "gsngAportesSR". It is likely you have it dimmed in a module somewhere else. Search for "Dim gsngAportesSR" for starters and then just "gsngAportesSR" - it will be in there somewhere. I would also ensure all your modules are "Option Explicit" to ensure nothing is getting dimmed twice by the VBE. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Tuesday, 20 September 2011 7:19 AM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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: 10.0.1410 / Virus Database: 1520/3906 - Release Date: 09/19/11 From Gustav at cactus.dk Tue Sep 20 09:52:45 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 20 Sep 2011 16:52:45 +0200 Subject: [AccessD] Ambiguous Name Message-ID: Hi Steve Nothing wrong with global variables. Trouble is always located at those handling these (the programmer!). /gustav >>> steve at goodhall.info 20-09-2011 01:33:24 >>> Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia From dc8 at btinternet.com Tue Sep 20 10:45:42 2011 From: dc8 at btinternet.com (Chris Swann) Date: Tue, 20 Sep 2011 16:45:42 +0100 Subject: [AccessD] Two counts, one unique in pivot table In-Reply-To: <001701cc7793$a75c8ca0$f615a5e0$@comcast.net> References: <4E7168E7.2000502@colbyconsulting.com><4E7882B2.7040407@colbyconsulting.com> <001701cc7793$a75c8ca0$f615a5e0$@comcast.net> Message-ID: <4E78B526.6070908@btinternet.com> Hi all, I'm trying to produce a pivot table in Access that has two counts in it. One of these is based upon a field that is unique within the data and another that can have duplicates. What I need to show is, based upon the small example, this SAMPLE NUMBER PATIENT NUMBER A.1 1 A.2 2 A.3 2 A.4 2 A.5 3 A.6 4 A.7 4 A.8 5 A.9 5 A.10 6 10 6 which would show that there were 10 visits made by 6 distinct patients. Could anyone point me in the right direction as to how to achieve this ? Many thanks in advance, Chris Swann From marksimms at verizon.net Tue Sep 20 10:46:14 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 20 Sep 2011 11:46:14 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: Message-ID: <002401cc77ac$6df7fa30$49e7ee90$@net> Au Contraire....use sparingly at best: www.vb123.com/smart/fp/1998-05.pdf "they dramatically increase the costs of maintaining an application. After all, when you find a bad value in a global variable, that value could have been placed in the variable from any routine in the application. Thats a lot of code to debug" > > Nothing wrong with global variables. > Trouble is always located at those handling these (the programmer!). > From Lambert.Heenan at chartisinsurance.com Tue Sep 20 10:49:16 2011 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Tue, 20 Sep 2011 11:49:16 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: References: <000001cc7711$bb3f9f00$31bedd00$@com> Message-ID: I'm 100% with you on this Arthur. Been using a variation on the theme for years. I especially like being able to 'find' objects in the database window by typing the initial few letters of the name. Suffixes for me, not prefixes. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, September 19, 2011 7:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name First of all, I am semi-retired, after 25+ years in the trenches. Second, I am an opponent of Hungarien (Simonyi) notation. I invented my own school of notation, which I call (in homage to the aforementioned) Post-Hungarian. In a nutshell this means: frm_MyForm --> MyForm_frm. And so on for all objects in said project. Why adopt this convention? Because all the objects related to, let's say, Customer, are all sorted naturally, I can find everything related to Customer easy as pie. At the end of the day, I am most interested in retrieving said objects. I go further. I have suffixes including "_qs", "qu", "qd" and "qi" and these mean "query select", "query update", "query delete" and "query insert"/ The point being that the prefix "Customer..." sorts the people according to what they affect, and from there I can work out what is destined to do something to the underlying data. Granted, this is only my opinion on how objects ought to be named. Smarter people on this list might come up with superior schemes, A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Sep 20 11:06:29 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 20 Sep 2011 18:06:29 +0200 Subject: [AccessD] Global Vars (was Ambiguous Name) Message-ID: Hi Mark Not true. Except, of course, if your programming discipline is a mess. When did you last program an app where "any routine" just like that sets "some" global variable? It's not happening here. /gustav >>> marksimms at verizon.net 20-09-2011 17:46:14 >>> Au Contraire....use sparingly at best: www.vb123.com/smart/fp/1998-05.pdf "they dramatically increase the costs of maintaining an application. After all, when you find a bad value in a global variable, that value could have been placed in the variable from any routine in the application. Thats a lot of code to debug" > > Nothing wrong with global variables. > Trouble is always located at those handling these (the programmer!). From steve at goodhall.info Tue Sep 20 11:16:50 2011 From: steve at goodhall.info (Steve Goodhall) Date: Tue, 20 Sep 2011 12:16:50 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: References: Message-ID: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> I can't agree. Global variables break the whole model of structured programming. In many ways they are worse than goto statements. Sent from my Verizon Wireless Phone -----Original message----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Hi Steve Nothing wrong with global variables. Trouble is always located at those handling these (the programmer!). /gustav >>> steve at goodhall.info 20-09-2011 01:33:24 >>> Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Tue Sep 20 11:22:50 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 20 Sep 2011 12:22:50 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> References: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> Message-ID: There is nothing wrong with using a global variable like this: Private objcurDB As DAO.Database Public Function CurDb(Optional bolRefresh As Boolean = False) As DAO.Database If objcurDB Is Nothing Or bolRefresh = True Then Set objcurDB = CurrentDb() End If Set CurDb = objcurDB End Function And even if you did define it public, so what? It's not like it would be hard to spot where it's used. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 12:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I can't agree. Global variables break the whole model of structured programming. In many ways they are worse than goto statements. Sent from my Verizon Wireless Phone -----Original message----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Hi Steve Nothing wrong with global variables. Trouble is always located at those handling these (the programmer!). /gustav >>> steve at goodhall.info 20-09-2011 01:33:24 >>> Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Tue Sep 20 11:26:36 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 20 Sep 2011 12:26:36 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <002401cc77ac$6df7fa30$49e7ee90$@net> References: <002401cc77ac$6df7fa30$49e7ee90$@net> Message-ID: <13EE22ABA751467BAC797D46200F01AA@XPS> Mark, You should have quoted the second paragraph as well: "This narrow-minded attitude of mine can create difficulties when trying to share data between forms in a single application." He goes on to say there are lot's of solutions to that problem (which is true), but that doesn't apply that global's should not be used or do not have a place in Access development. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Tuesday, September 20, 2011 11:46 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Global Vars (was Ambiguous Name) Au Contraire....use sparingly at best: www.vb123.com/smart/fp/1998-05.pdf "they dramatically increase the costs of maintaining an application. After all, when you find a bad value in a global variable, that value could have been placed in the variable from any routine in the application. Thats a lot of code to debug" > > Nothing wrong with global variables. > Trouble is always located at those handling these (the programmer!). > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From steve at goodhall.info Tue Sep 20 11:30:08 2011 From: steve at goodhall.info (Steve Goodhall) Date: Tue, 20 Sep 2011 12:30:08 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: References: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> Message-ID: I don't see global in this example. Sent from my Verizon Wireless Phone -----Original message----- From: Jim Dettman To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 20, 2011 16:25:09 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name There is nothing wrong with using a global variable like this: Private objcurDB As DAO.Database Public Function CurDb(Optional bolRefresh As Boolean = False) As DAO.Database If objcurDB Is Nothing Or bolRefresh = True Then Set objcurDB = CurrentDb() End If Set CurDb = objcurDB End Function And even if you did define it public, so what? It's not like it would be hard to spot where it's used. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 12:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I can't agree. Global variables break the whole model of structured programming. In many ways they are worse than goto statements. Sent from my Verizon Wireless Phone -----Original message----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Hi Steve Nothing wrong with global variables. Trouble is always located at those handling these (the programmer!). /gustav >>> steve at goodhall.info 20-09-2011 01:33:24 >>> Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Tue Sep 20 11:41:20 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 20 Sep 2011 12:41:20 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: References: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> Message-ID: <5B015C9C2D79479F90807E92714D112E@XPS> Steve, I should have said that this code exists in a standard module. objcurDB has been declared private to limit the scope to the module, but it's still a global variable, which could be accessed by any procedure in that module. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I don't see global in this example. Sent from my Verizon Wireless Phone -----Original message----- From: Jim Dettman To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 20, 2011 16:25:09 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name There is nothing wrong with using a global variable like this: Private objcurDB As DAO.Database Public Function CurDb(Optional bolRefresh As Boolean = False) As DAO.Database If objcurDB Is Nothing Or bolRefresh = True Then Set objcurDB = CurrentDb() End If Set CurDb = objcurDB End Function And even if you did define it public, so what? It's not like it would be hard to spot where it's used. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 12:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I can't agree. Global variables break the whole model of structured programming. In many ways they are worse than goto statements. Sent from my Verizon Wireless Phone -----Original message----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Hi Steve Nothing wrong with global variables. Trouble is always located at those handling these (the programmer!). /gustav >>> steve at goodhall.info 20-09-2011 01:33:24 >>> Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 jwcolby at colbyconsulting.com Tue Sep 20 11:57:55 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Sep 2011 12:57:55 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: <5B015C9C2D79479F90807E92714D112E@XPS> References: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> <5B015C9C2D79479F90807E92714D112E@XPS> Message-ID: <4E78C613.4060707@colbyconsulting.com> True, scope includes different levels of global. John W. Colby www.ColbyConsulting.com On 9/20/2011 12:41 PM, Jim Dettman wrote: > Steve, > > I should have said that this code exists in a standard module. objcurDB > has been declared private to limit the scope to the module, but it's still a > global variable, which could be accessed by any procedure in that module. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall > Sent: Tuesday, September 20, 2011 12:30 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Ambiguous Name > > I don't see global in this example. > > Sent from my Verizon Wireless Phone > > -----Original message----- > From: Jim Dettman > To: 'Access Developers discussion and problem solving' > > Sent: Tue, Sep 20, 2011 16:25:09 GMT+00:00 > Subject: Re: [AccessD] Ambiguous Name > > There is nothing wrong with using a global variable like this: > > Private objcurDB As DAO.Database > > Public Function CurDb(Optional bolRefresh As Boolean = False) As > DAO.Database > > If objcurDB Is Nothing Or bolRefresh = True Then > Set objcurDB = CurrentDb() > End If > > Set CurDb = objcurDB > > End Function > > > And even if you did define it public, so what? It's not like it would be > hard to spot where it's used. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall > Sent: Tuesday, September 20, 2011 12:17 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Ambiguous Name > > I can't agree. Global variables break the whole model of structured > programming. In many ways they are worse than goto statements. > > Sent from my Verizon Wireless Phone > > -----Original message----- > From: Gustav Brock > To: accessd at databaseadvisors.com > Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 > Subject: Re: [AccessD] Ambiguous Name > > Hi Steve > > Nothing wrong with global variables. > Trouble is always located at those handling these (the programmer!). > > /gustav > > >>>> steve at goodhall.info 20-09-2011 01:33:24>>> > Yet another reason to never use global variables. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister > Sent: Monday, September 19, 2011 5:19 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Ambiguous Name > > Hello all, > > I work with Access 2007. > > Lately I ran into a problem I don't know how to solve: By running the code I > got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha > detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code > looking for gsngAportes defined by two different data types (e.g. Public > gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but > without success. > > Does anyone of you know how to fix this problem? > > I should say that gsngAportesSR is a global variable with data type Single. > > Thanks and Saludos > Ralf Lister > La Paz, Bolivia > > From steve at goodhall.info Tue Sep 20 12:02:07 2011 From: steve at goodhall.info (Steve Goodhall) Date: Tue, 20 Sep 2011 13:02:07 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: <5B015C9C2D79479F90807E92714D112E@XPS> References: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> <5B015C9C2D79479F90807E92714D112E@XPS> Message-ID: <555b16e1-b94d-4373-b5d6-3dab4e7ad029@blur> By definition, that's a class variable not a global. Sent from my Verizon Wireless Phone -----Original message----- From: Jim Dettman To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 20, 2011 16:42:42 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Steve, I should have said that this code exists in a standard module. objcurDB has been declared private to limit the scope to the module, but it's still a global variable, which could be accessed by any procedure in that module. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I don't see global in this example. Sent from my Verizon Wireless Phone -----Original message----- From: Jim Dettman To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 20, 2011 16:25:09 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name There is nothing wrong with using a global variable like this: Private objcurDB As DAO.Database Public Function CurDb(Optional bolRefresh As Boolean = False) As DAO.Database If objcurDB Is Nothing Or bolRefresh = True Then Set objcurDB = CurrentDb() End If Set CurDb = objcurDB End Function And even if you did define it public, so what? It's not like it would be hard to spot where it's used. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 12:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I can't agree. Global variables break the whole model of structured programming. In many ways they are worse than goto statements. Sent from my Verizon Wireless Phone -----Original message----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Hi Steve Nothing wrong with global variables. Trouble is always located at those handling these (the programmer!). /gustav >>> steve at goodhall.info 20-09-2011 01:33:24 >>> Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Tue Sep 20 12:06:44 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 20 Sep 2011 13:06:44 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: <555b16e1-b94d-4373-b5d6-3dab4e7ad029@blur> References: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> <5B015C9C2D79479F90807E92714D112E@XPS> <555b16e1-b94d-4373-b5d6-3dab4e7ad029@blur> Message-ID: <1D2245AE6A524C0A920E38022E9FE3CA@XPS> Well except for the fact that it's not in a class module. It doesn't represent a property. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 01:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name By definition, that's a class variable not a global. Sent from my Verizon Wireless Phone -----Original message----- From: Jim Dettman To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 20, 2011 16:42:42 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Steve, I should have said that this code exists in a standard module. objcurDB has been declared private to limit the scope to the module, but it's still a global variable, which could be accessed by any procedure in that module. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I don't see global in this example. Sent from my Verizon Wireless Phone -----Original message----- From: Jim Dettman To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 20, 2011 16:25:09 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name There is nothing wrong with using a global variable like this: Private objcurDB As DAO.Database Public Function CurDb(Optional bolRefresh As Boolean = False) As DAO.Database If objcurDB Is Nothing Or bolRefresh = True Then Set objcurDB = CurrentDb() End If Set CurDb = objcurDB End Function And even if you did define it public, so what? It's not like it would be hard to spot where it's used. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 12:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I can't agree. Global variables break the whole model of structured programming. In many ways they are worse than goto statements. Sent from my Verizon Wireless Phone -----Original message----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Hi Steve Nothing wrong with global variables. Trouble is always located at those handling these (the programmer!). /gustav >>> steve at goodhall.info 20-09-2011 01:33:24 >>> Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 marksimms at verizon.net Tue Sep 20 12:12:00 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 20 Sep 2011 13:12:00 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <13EE22ABA751467BAC797D46200F01AA@XPS> References: <002401cc77ac$6df7fa30$49e7ee90$@net> <13EE22ABA751467BAC797D46200F01AA@XPS> Message-ID: <002801cc77b8$693dfe20$3bb9fa60$@net> I'm not totally against them, but lately I've been tending towards the Public Property, the value of which can be easily traced/debugged. Interestingly, MZTOOLZ has a function to do just that: convert globals to properties. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Tuesday, September 20, 2011 12:27 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Global Vars (was Ambiguous Name) > > Mark, > > You should have quoted the second paragraph as well: > > "This narrow-minded attitude of mine can create difficulties when > trying to > share data between forms in a single application." > > He goes on to say there are lot's of solutions to that problem (which > is > true), but that doesn't apply that global's should not be used or do > not > have a place in Access development. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Tuesday, September 20, 2011 11:46 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Global Vars (was Ambiguous Name) > > Au Contraire....use sparingly at best: > www.vb123.com/smart/fp/1998-05.pdf > "they dramatically increase the costs of > maintaining an application. After all, when you find a bad value in a > global > variable, that value could have been placed in the variable from any > routine > in the application. Thats a lot of code to debug" > > > > > Nothing wrong with global variables. > > Trouble is always located at those handling these (the programmer!). > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 20 12:28:56 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Sep 2011 13:28:56 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <002801cc77b8$693dfe20$3bb9fa60$@net> References: <002401cc77ac$6df7fa30$49e7ee90$@net> <13EE22ABA751467BAC797D46200F01AA@XPS> <002801cc77b8$693dfe20$3bb9fa60$@net> Message-ID: <4E78CD58.9030604@colbyconsulting.com> The nice thing about properties is that they can be set (modified) in the module but read-only from outside of the module. It is impossible to do that with globals. John W. Colby www.ColbyConsulting.com On 9/20/2011 1:12 PM, Mark Simms wrote: > I'm not totally against them, but lately I've been tending towards the > Public Property, > the value of which can be easily traced/debugged. > Interestingly, MZTOOLZ has a function to do just that: convert globals to > properties. > > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd- >> bounces at databaseadvisors.com] On Behalf Of Jim Dettman >> Sent: Tuesday, September 20, 2011 12:27 PM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Global Vars (was Ambiguous Name) >> >> Mark, >> >> You should have quoted the second paragraph as well: >> >> "This narrow-minded attitude of mine can create difficulties when >> trying to >> share data between forms in a single application." >> >> He goes on to say there are lot's of solutions to that problem (which >> is >> true), but that doesn't apply that global's should not be used or do >> not >> have a place in Access development. >> >> Jim. >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms >> Sent: Tuesday, September 20, 2011 11:46 AM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Global Vars (was Ambiguous Name) >> >> Au Contraire....use sparingly at best: >> www.vb123.com/smart/fp/1998-05.pdf >> "they dramatically increase the costs of >> maintaining an application. After all, when you find a bad value in a >> global >> variable, that value could have been placed in the variable from any >> routine >> in the application. Thats a lot of code to debug" >> >>> >>> Nothing wrong with global variables. >>> Trouble is always located at those handling these (the programmer!). >>> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/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 Sep 20 12:32:46 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Sep 2011 13:32:46 -0400 Subject: [AccessD] SSDs and BE storage In-Reply-To: <001701cc7793$a75c8ca0$f615a5e0$@comcast.net> References: <4E7168E7.2000502@colbyconsulting.com> <4E7882B2.7040407@colbyconsulting.com> <001701cc7793$a75c8ca0$f615a5e0$@comcast.net> Message-ID: <4E78CE3E.1090104@colbyconsulting.com> The system they are building includes a latest generation 8 port Areca Raid controller, with 3x 120gb SSDs and 5X WD Black 1 gb drives. We will be going Raid 5 with hot spare for the SSDs as well as the rotating so it should be reasonably fast with a hardware controller to buffer things. The SSD will be reserved for only the data store container files, which at first will be the Access MDB files. As we migrate to MySQL or SQL Server those data files will go on the SSD. John W. Colby www.ColbyConsulting.com On 9/20/2011 8:48 AM, Dan Waters wrote: > Hi John, > > A few months ago I switched to using an SSD for the Windows 7 OS and > applications, and a WD Black HD for data storage. And yes, things are > significantly faster. If I had a 2nd gen Intel CPU I'd see another jump in > speed. But the way it is now, every Access file I open is up in about 1 > second (if it doesn't have startup code). VS 2010 takes about 35 seconds to > open and a VS app takes about 5 seconds to open. > > If you're going to all SSD, then you'll see a dramatic difference. > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, September 20, 2011 7:10 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] SSDs and BE storage > > Well, it seems I will be answering this question in the next few weeks. The > client is building a server in the next couple of weeks, which will include > a raid1 SSD as the data store. Phase 1 of the story will be to move the > access BEs to that SSD and use that while we migrate the data into something > else (MySQL maybe). > > My FE / framework logs the start / stop time when opening forms so it > should be easy to discover whether the SSD makes things significantly > faster. > > John W. Colby > www.ColbyConsulting.com > > On 9/14/2011 10:54 PM, jwcolby wrote: >> Does anyone have experience with using an SSD (or SSD RAID) to store >> the Access BEs? Does it significantly speed up the database? >> >> My client has a pretty large (by Access standards) database. It is a >> call center application and they do mostly reads (viewing claim data >> as they talk to the client), but do a fair amount of "documenting" the > phone calls by writing notes. About 25 users in the database all day. >> >> It seems logical that the SSDs enormous IOPS and streaming reads would >> speed things up but I have never seen any actual studies or documented > usage data. >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From steve at goodhall.info Tue Sep 20 12:37:16 2011 From: steve at goodhall.info (Steve Goodhall) Date: Tue, 20 Sep 2011 13:37:16 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: <1D2245AE6A524C0A920E38022E9FE3CA@XPS> References: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> <5B015C9C2D79479F90807E92714D112E@XPS> <555b16e1-b94d-4373-b5d6-3dab4e7ad029@blur> <1D2245AE6A524C0A920E38022E9FE3CA@XPS> Message-ID: I missed where you said standard module. So long as it's private I can live with it, public would be anathema. Sent from my Verizon Wireless Phone -----Original message----- From: Jim Dettman To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 20, 2011 17:08:14 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Well except for the fact that it's not in a class module. It doesn't represent a property. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 01:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name By definition, that's a class variable not a global. Sent from my Verizon Wireless Phone -----Original message----- From: Jim Dettman To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 20, 2011 16:42:42 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Steve, I should have said that this code exists in a standard module. objcurDB has been declared private to limit the scope to the module, but it's still a global variable, which could be accessed by any procedure in that module. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I don't see global in this example. Sent from my Verizon Wireless Phone -----Original message----- From: Jim Dettman To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 20, 2011 16:25:09 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name There is nothing wrong with using a global variable like this: Private objcurDB As DAO.Database Public Function CurDb(Optional bolRefresh As Boolean = False) As DAO.Database If objcurDB Is Nothing Or bolRefresh = True Then Set objcurDB = CurrentDb() End If Set CurDb = objcurDB End Function And even if you did define it public, so what? It's not like it would be hard to spot where it's used. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 12:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I can't agree. Global variables break the whole model of structured programming. In many ways they are worse than goto statements. Sent from my Verizon Wireless Phone -----Original message----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Hi Steve Nothing wrong with global variables. Trouble is always located at those handling these (the programmer!). /gustav >>> steve at goodhall.info 20-09-2011 01:33:24 >>> Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BradM at blackforestltd.com Tue Sep 20 12:57:32 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Tue, 20 Sep 2011 12:57:32 -0500 Subject: [AccessD] Access "Bloat" - Basic Questions References: <4E591854.8090208@colbyconsulting.com><6BAD4B05F0474F8083137B9C25B1038C@HAL9007><4E597AE8.6269.28B4FE51@stuart.lexacorp.com.pg> Message-ID: My background is in the mainframe world where we never had to be concerned about bloat. Now I work in the Microsoft Access world and it appears that I have had my first encounter with significant bloating. We have an Access 2007 application that obtains data from several SQL-Server tables (via ODBC) and from two Excel files. This application creates a number of reports. One of the reports needs data from 2 SQL-Server tables and 2 Excel files. Because of the complexity of the data, we cannot simply use queries to create the report, but we have had to resort to an intermediate Access table that is updated with VBA code via Record-Set processing. Once the data is processed and stored in this intermediate table, a query is used to pull this data from the table for use by the report. The report in question can be run for any desired date range. If the date range is small, we see little increase in the size of the accdb file. However, if the date range selected is large (like a full year's worth of data), the accdb file grows from 15 MB to 85MB. I believe that this large increase in size is primarily caused by the Access table that is used for the intermediate processing of the data. In the mainframe world, we used "temporary work files" for such intermediate processing. Is there something similar available in Access 2007? One idea that I have considered is to use a delete query to clear out all of the records in the intermediate table after the report is generated and then add a "Compact on close" option to the application. Again, I am new to the world of Access bloat and would like to better understand how others handle this issue. Thanks, Brad From accessd at shaw.ca Tue Sep 20 13:01:19 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 20 Sep 2011 11:01:19 -0700 Subject: [AccessD] [dba-SQLServer] Oracle 11g EX (was: MySQL) In-Reply-To: References: Message-ID: <1B78ED899FC4405DBA3DE40D5145D8B3@creativesystemdesigns.com> Gustav: Actually, you can down load Oracles full enterprise version (at least the last time I looked...Oracle version 11i) but it is limited in how many connection and users can have access to it. In addition, if you do call for support you will be directed to a local resource person(s). This system was created so computer science students and small consultant firms could get up to speed in the product. The major difference between Oracle and MS SQL is that in Oracle you can modify and optimize everything. Managing queues, temp tables, transactions, sizes and recovery points. Microsoft has chosen to eliminate or automate most of the fine-tuning part of data management. This is good and it is bad. OOH, a tech can spend years learning the black-art of database control, tuning everything to the nth degree as well as building a very precise set of reports and intergrating various Oracle servers. Rest assured, if a company has a medium and larger site there must be a full-time tech there. Oracle is also very careful on just how many techs are allowed to pass their exams so the rate at which a fully qualified Oracle tech is paid very well. OTOH, a MS SQL site is far more easily setup. A person with a bit of database knowledge can put together a stable SQL site in less than a day. It may not be a fully optimized site but it will work and render the expected results. Some tech can learn as they go and MS is not concerned about whether the person asking for database support is a person that owns a plumbing company or a fully certified tech. Microsoft's exams, though thorough, do not restrict the number of qualified graduates...the more the merrier. The rate a small company will pay a MS SQL qualified person is usually much lower than an Oracle tech with similar qualifications. Much like Microsoft has entrenched itself in new desktop computers and the office application markets, Oracle has tied up most of the high end database market. The other major difference is cost; MS SQL is about a third of the cost of an Oracle suite. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, September 20, 2011 12:25 AM To: accessd at databaseadvisors.com; dba-sqlserver at databaseadvisors.com Subject: Re: [AccessD] [dba-SQLServer] Oracle 11g EX (was: MySQL) Hi Arthur et al Also Oracle sports a free Express version, Oracle 11g XE with these limitations: * Maximum database size is 11 GB * Maximum RAM it will use is 1 GB * Only one instance can be installed on a single computer * Uses only a single CPU Here is a guide for the Windows installation (for people like JC encountering the unknown!): http://www.codeproject.com/KB/database/InstallOracle11gXE.aspx Not that I have used it or intend to do so. The last time I tried (Oracle 8i?) it installed a monster suite of tools and yet you had to deal with manual editing of ora files etc. ... I felt much like JC does now facing the WAMP package. Things may have changed, I know, I'm just not ready to meet the challenge (= have no purpose for it). /gustav -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, September 17, 2011 6:53 PM To: Discussion concerning MS SQL Server Subject: Re: [dba-SQLServer] [AccessD] MySQL There are some nice things about MySQL but on the other hand I definitely do not like where Oracle is going with this puppy since its acquisition of Sun and by inheritance MySQL. I'm still on the fence about these developments, but quite frankly I am leaning against Oracle on all these transmutations of what was originally a simple, straightforward approach. At last recollection, Monty has departed, and with him, I fear, has the guiding vision of this product. Frankly, I am all over the place on where next to go: I look at Mongo and see it exquisite for web-apps but not for OLTP situations. I look at PostGreSQL and think it's got a bunch of things right. I look at Oracle and MS-SQL and think they have some things right as well. I frankly do not have any clue into which basket to toss my next eggs. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue Sep 20 13:20:34 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 20 Sep 2011 11:20:34 -0700 Subject: [AccessD] Access "Bloat" - Basic Questions In-Reply-To: References: <4E591854.8090208@colbyconsulting.com><6BAD4B05F0474F8083137B9C25B1038C@HAL9007><4E597AE8.6269.28B4FE51@stuart.lexacorp.com.pg> Message-ID: <84AAA6DAF2D74F98AE7C9EAC6E3BB72C@HAL9007> Deleting the records and then setting Compact on close will do it unless they keep the app open, or unless the tables are in the back end then I think you have to trigger the compact on the back end through code. Another solution posted in bygone years on the list is to put the temp tables in an external db - create the mdb and tables on the fly, use 'em and delete when done. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: September 20, 2011 10:58 AM To: Access Developers discussion and problem solving Subject: [AccessD] Access "Bloat" - Basic Questions My background is in the mainframe world where we never had to be concerned about bloat. Now I work in the Microsoft Access world and it appears that I have had my first encounter with significant bloating. We have an Access 2007 application that obtains data from several SQL-Server tables (via ODBC) and from two Excel files. This application creates a number of reports. One of the reports needs data from 2 SQL-Server tables and 2 Excel files. Because of the complexity of the data, we cannot simply use queries to create the report, but we have had to resort to an intermediate Access table that is updated with VBA code via Record-Set processing. Once the data is processed and stored in this intermediate table, a query is used to pull this data from the table for use by the report. The report in question can be run for any desired date range. If the date range is small, we see little increase in the size of the accdb file. However, if the date range selected is large (like a full year's worth of data), the accdb file grows from 15 MB to 85MB. I believe that this large increase in size is primarily caused by the Access table that is used for the intermediate processing of the data. In the mainframe world, we used "temporary work files" for such intermediate processing. Is there something similar available in Access 2007? One idea that I have considered is to use a delete query to clear out all of the records in the intermediate table after the report is generated and then add a "Compact on close" option to the application. Again, I am new to the world of Access bloat and would like to better understand how others handle this issue. Thanks, Brad -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Tue Sep 20 13:25:00 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 20 Sep 2011 11:25:00 -0700 Subject: [AccessD] Ambiguous Name In-Reply-To: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> References: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> Message-ID: Hi Steve: Just a note: As soon as you step in the internet world these standards are broken again. Apache uses .htaccess and IIS uses web.config to hold their universal settings, variable and objects which not only affords consolidation but a level of security, as these files can be stored outside the access area of anyone but the system admin. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 9:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I can't agree. Global variables break the whole model of structured programming. In many ways they are worse than goto statements. Sent from my Verizon Wireless Phone -----Original message----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Hi Steve Nothing wrong with global variables. Trouble is always located at those handling these (the programmer!). /gustav >>> steve at goodhall.info 20-09-2011 01:33:24 >>> Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue Sep 20 13:29:06 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 20 Sep 2011 11:29:06 -0700 Subject: [AccessD] Access "Bloat" - Basic Questions In-Reply-To: <84AAA6DAF2D74F98AE7C9EAC6E3BB72C@HAL9007> References: <4E591854.8090208@colbyconsulting.com><6BAD4B05F0474F8083137B9C25B1038C@HAL9007><4E597AE8.6269.28B4FE51@stuart.lexacorp.com.pg> <84AAA6DAF2D74F98AE7C9EAC6E3BB72C@HAL9007> Message-ID: Or you could give them a 'Compact Now' command button on the Main Menu. Or, how about doing nothing? 85MB is not such a big file. Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: September 20, 2011 11:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access "Bloat" - Basic Questions Deleting the records and then setting Compact on close will do it unless they keep the app open, or unless the tables are in the back end then I think you have to trigger the compact on the back end through code. Another solution posted in bygone years on the list is to put the temp tables in an external db - create the mdb and tables on the fly, use 'em and delete when done. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: September 20, 2011 10:58 AM To: Access Developers discussion and problem solving Subject: [AccessD] Access "Bloat" - Basic Questions My background is in the mainframe world where we never had to be concerned about bloat. Now I work in the Microsoft Access world and it appears that I have had my first encounter with significant bloating. We have an Access 2007 application that obtains data from several SQL-Server tables (via ODBC) and from two Excel files. This application creates a number of reports. One of the reports needs data from 2 SQL-Server tables and 2 Excel files. Because of the complexity of the data, we cannot simply use queries to create the report, but we have had to resort to an intermediate Access table that is updated with VBA code via Record-Set processing. Once the data is processed and stored in this intermediate table, a query is used to pull this data from the table for use by the report. The report in question can be run for any desired date range. If the date range is small, we see little increase in the size of the accdb file. However, if the date range selected is large (like a full year's worth of data), the accdb file grows from 15 MB to 85MB. I believe that this large increase in size is primarily caused by the Access table that is used for the intermediate processing of the data. In the mainframe world, we used "temporary work files" for such intermediate processing. Is there something similar available in Access 2007? One idea that I have considered is to use a delete query to clear out all of the records in the intermediate table after the report is generated and then add a "Compact on close" option to the application. Again, I am new to the world of Access bloat and would like to better understand how others handle this issue. Thanks, Brad -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kismert at gmail.com Tue Sep 20 13:45:03 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Tue, 20 Sep 2011 13:45:03 -0500 Subject: [AccessD] SSDs and BE storage Message-ID: All, SSDs sound ideal for server applications, except for one nagging question: when will it wear out? SSD endurance summary http://www.storagesearch.com/ssdmyths-endurance.html But, there are circumstances where SSDs make a compelling argument for adoption: SSDs replacing HDDs? that's not exactly the way it happened http://www.storagesearch.com/bitmicro-art3.html If you do spring for them, get the (much more expensive) server-rated SSDs using SLC memory -- see response to Micker in comments: Debunking SSD lifespan and random write performance concerns http://maxschireson.com/2011/04/21/debunking-ssd-lifespan-and-random-write-performance-concerns/ Don't expect consumer-level SSDs to last very long in a server environment. -Ken > > ---------- Forwarded message ---------- > From: jwcolby > To: Access Developers discussion and problem solving < > accessd at databaseadvisors.com> > Date: Tue, 20 Sep 2011 08:10:26 -0400 > Subject: Re: [AccessD] SSDs and BE storage > Well, it seems I will be answering this question in the next few weeks. > The client is building a server in the next couple of weeks, which will > include a raid1 SSD as the data store. Phase 1 of the story will be to move > the access BEs to that SSD and use that while we migrate the data into > something else (MySQL maybe). > > My FE / framework logs the start / stop time when opening forms so it > should be easy to discover whether the SSD makes things significantly > faster. > > John W. Colby > www.ColbyConsulting.com > > ---------- Forwarded message ---------- > From: "Dan Waters" > To: "'Access Developers discussion and problem solving'" < > accessd at databaseadvisors.com> > Date: Tue, 20 Sep 2011 07:48:52 -0500 > Subject: Re: [AccessD] SSDs and BE storage > Hi John, > > A few months ago I switched to using an SSD for the Windows 7 OS and > applications, and a WD Black HD for data storage. And yes, things are > significantly faster. If I had a 2nd gen Intel CPU I'd see another jump in > speed. But the way it is now, every Access file I open is up in about 1 > second (if it doesn't have startup code). VS 2010 takes about 35 seconds > to > open and a VS app takes about 5 seconds to open. > > If you're going to all SSD, then you'll see a dramatic difference. > > Dan > > From fuller.artful at gmail.com Tue Sep 20 14:16:40 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 20 Sep 2011 15:16:40 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: References: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> Message-ID: I am surprised that no one has mentioned the A2K7 variant to these approaches. For evidennce how it works, load the Northwind A2K7 sample app and investigate. I used to be a big fan of static functions, but I'm always willing to learn a better approach, and this baby has it. Mind you, not backwards-portable, but nice nonetheless, and saves me a bunch of time executing my static functions. Arthur From markamatte at hotmail.com Tue Sep 20 14:17:26 2011 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 20 Sep 2011 19:17:26 +0000 Subject: [AccessD] Two counts, one unique in pivot table In-Reply-To: <4E78B526.6070908@btinternet.com> References: <4E7168E7.2000502@colbyconsulting.com><4E7882B2.7040407@colbyconsulting.com>, <001701cc7793$a75c8ca0$f615a5e0$@comcast.net>, <4E78B526.6070908@btinternet.com> Message-ID: Don't know about about a pivot...but: select count(patient) as count_patient,sum(CountOfnumber) as visits from (SELECT tbl_test.patient, Count(tbl_test.number) AS CountOfnumber FROM tbl_test GROUP BY tbl_test.patient) Hope it helps... Mark A. Matte > Date: Tue, 20 Sep 2011 16:45:42 +0100 > From: dc8 at btinternet.com > To: accessd at databaseadvisors.com > Subject: [AccessD] Two counts, one unique in pivot table > > Hi all, > > I'm trying to produce a pivot table in Access that has two counts in it. > > One of these is based upon a field that is unique within the data and > another that can have duplicates. > > What I need to show is, based upon the small example, this > > SAMPLE NUMBER PATIENT NUMBER > A.1 1 > A.2 2 > A.3 2 > A.4 2 > A.5 3 > A.6 4 > A.7 4 > A.8 5 > A.9 5 > A.10 6 > > 10 6 > > which would show that there were 10 visits made by 6 distinct patients. > > Could anyone point me in the right direction as to how to achieve this ? > > Many thanks in advance, > > Chris Swann > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From df.waters at comcast.net Tue Sep 20 14:19:29 2011 From: df.waters at comcast.net (Dan Waters) Date: Tue, 20 Sep 2011 14:19:29 -0500 Subject: [AccessD] Access "Bloat" - Basic Questions In-Reply-To: References: <4E591854.8090208@colbyconsulting.com><6BAD4B05F0474F8083137B9C25B1038C@HAL9007><4E597AE8.6269.28B4FE51@stuart.lexacorp.com.pg> Message-ID: <004001cc77ca$3872f9a0$a958ece0$@comcast.net> Hi Brad, What I do is this: 1) Set your BE file to Compact on Close. 2) Write a small Access file (named CompactBEXXX.mdb) which has a single purpose. When it is opened, an AutoExec macro runs code which opens and closes your CompactBEXXX.mdb file. When your BE closes it will compact. 3) Create a task in Task Manager to open your CompactBEXXX.mdb file at a time when no one will be using it. 4) You may need to use your username/password to get the task to work. If you do, and you have a periodic requirement to change your password, remember to go back into the task and reset the task with your new password. I've been using this at all my customers for a few years, and it works well. Here is the code. You'll need to write an AutoExec macro which will run the function CompactBE(). Good Luck! Dan '---------------------------------------- Public Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) Public Function CompactBE() On Error GoTo EH Dim stgPathBEFile As String Dim stgPathBELDB As String Dim appAccess As Access.Application Dim fso As FileSystemObject Dim stg As String Dim rst As DAO.Recordset ' Stop stg = "SELECT BEFullPath FROM tblBEFullPath" Set rst = DBEngine(0)(0).OpenRecordset(stg, dbOpenSnapshot) stgPathBEFile = rst("BEFullPath") rst.Close Set rst = Nothing Set fso = CreateObject("Scripting.FileSystemObject") '-- If the BE file is in use then the BE can't be compacted stgPathBELDB = Replace(stgPathBEFile, "mdb", "ldb") If fso.FileExists(stgPathBELDB) Then Access.Application.Quit acQuitSaveNone Exit Function End If Set appAccess = New Access.Application '-- Open the BE - wait for 5 seconds appAccess.OpenCurrentDatabase stgPathBEFile, False Sleep 5000 '-- When the BE closes it will auto-compact. appAccess.CloseCurrentDatabase Sleep 5000 '-- Close this db in 5 seconds appAccess.Quit acQuitSaveNone Set appAccess = Nothing DoEvents Access.Application.Quit acQuitSaveNone Exit Function EH: Access.Application.Quit acQuitSaveNone End Function '---------------------------------------- -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: Tuesday, September 20, 2011 12:58 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access "Bloat" - Basic Questions My background is in the mainframe world where we never had to be concerned about bloat. Now I work in the Microsoft Access world and it appears that I have had my first encounter with significant bloating. We have an Access 2007 application that obtains data from several SQL-Server tables (via ODBC) and from two Excel files. This application creates a number of reports. One of the reports needs data from 2 SQL-Server tables and 2 Excel files. Because of the complexity of the data, we cannot simply use queries to create the report, but we have had to resort to an intermediate Access table that is updated with VBA code via Record-Set processing. Once the data is processed and stored in this intermediate table, a query is used to pull this data from the table for use by the report. The report in question can be run for any desired date range. If the date range is small, we see little increase in the size of the accdb file. However, if the date range selected is large (like a full year's worth of data), the accdb file grows from 15 MB to 85MB. I believe that this large increase in size is primarily caused by the Access table that is used for the intermediate processing of the data. In the mainframe world, we used "temporary work files" for such intermediate processing. Is there something similar available in Access 2007? One idea that I have considered is to use a delete query to clear out all of the records in the intermediate table after the report is generated and then add a "Compact on close" option to the application. Again, I am new to the world of Access bloat and would like to better understand how others handle this issue. Thanks, Brad -- 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 Sep 20 14:26:39 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Tue, 20 Sep 2011 12:26:39 -0700 Subject: [AccessD] Access "Bloat" - Basic Questions In-Reply-To: References: <4E591854.8090208@colbyconsulting.com> <6BAD4B05F0474F8083137B9C25B1038C@HAL9007> <4E597AE8.6269.28B4FE51@stuart.lexacorp.com.pg> Message-ID: How about writing the data to xml files and deleting the files after the query has run? Any version of Access from 2002 up will handle that cleanly Charlotte Foust On Tue, Sep 20, 2011 at 10:57 AM, Brad Marks wrote: > My background is in the mainframe world where we never had to be > concerned about bloat. > > Now I work in the Microsoft Access world and it appears that I have had > my first encounter with significant bloating. > > We have an Access 2007 application that obtains data from several > SQL-Server tables (via ODBC) and from two Excel files. > > This application creates a number of reports. One of the reports needs > data from 2 SQL-Server tables and 2 Excel files. Because of the > complexity of the data, we cannot simply use queries to create the > report, but we have had to resort to an intermediate Access table that > is updated with VBA code via Record-Set processing. Once the data is > processed and stored in this intermediate table, a query is used to pull > this data from the table for use by the report. > > The report in question can be run for any desired date range. If the > date range is small, we see little increase in the size of the accdb > file. However, if the date range selected is large (like a full year's > worth of data), the accdb file grows from 15 MB to 85MB. I believe that > this large increase in size is primarily caused by the Access table that > is used for the intermediate processing of the data. > > In the mainframe world, we used "temporary work files" for such > intermediate processing. Is there something similar available in Access > 2007? > > One idea that I have considered is to use a delete query to clear out > all of the records in the intermediate table after the report is > generated and then add a "Compact on close" option to the application. > > Again, I am new to the world of Access bloat and would like to better > understand how others handle this issue. > > Thanks, > Brad > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From jwcolby at colbyconsulting.com Tue Sep 20 14:54:29 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Sep 2011 15:54:29 -0400 Subject: [AccessD] SSDs and BE storage In-Reply-To: References: Message-ID: <4E78EF75.9040204@colbyconsulting.com> LOL, everyone has an angle. One of the SSD myths is that your SSD will die in a month. It actually is not a myth, it will die in a month (or a few months) if all you do is run random write disk tests for that entire month. > Don't expect consumer-level SSDs to last very long in a server environment. What exactly is a "server environment"? I have a server with 400 gigs of (consumer level) SSDs with SQL Server data files on them. I read from them all day every day. I write to each file once a month for a monthly update. That is a server environment. You should see my server chug. I do millions of dollars a month business for my client. Not my share unfortunately. The specific client I have been discussing that is building the server is a small company with about 5 gigs of data (currently). It took them 8 years to get to 5 gigs of data. If they add another 5 gigs every year for the next 10 years... (and they won't) They are a call center so they have 25 people in the database all day every day. They ask the caller for enough info to search for a claim. They open a tabbed form and can see every part of the claim. They discuss the claim with the caller. They write a couple of paragraphs about the call into a memo field which gets written to disk. They change a phone number here, an address there. That is a server environment. 25 users in the database all day! You should see the reports they generate at the end of every month for their clients!!! All read-only btw. My point Ken is that there is no such thing as "a server environment". Like anything else "it all depends" is pretty much the answer. There are as many "server environments" as there are servers. Some would kill an SSD in a month, most will never kill an SSD in the 5-10 years the server will exist. I work for small companies exclusively. All of my posts have discussed these details in excruciating detail so this is not new to anyone here. And yet what you are discussing is some "theoretical server environment" where the server is writing every block 100 times a day. I am sure that environment does exist, but it is way less common than environments like mine. And then there is this. One of the largest internet companies on the planet is buying SSD literally by the ton. http://www.datacenterknowledge.com/archives/2011/03/10/facebooks-appetite-for-ssd-boosts-fusion-io/ I'm guessing they have the expertise to analyze the cost / benefit / probability of failure. > If you do spring for them, get the (much more expensive) server-rated SSDs using SLC memory I am absolutely comfortable with the consumer grade SSDs in my server here at my office. I doubt seriously it will *ever* wear out. Likewise for the server being built at my client. In fact in these situations the life expectancy of the SSD is probably realistically 100 times longer than an equivalent rotating drive. No moving parts, very little heat, never turned on / off, a few hundred megs of writes a day. What's to wear out? > Don't expect consumer-level SSDs to last very long in a server environment. Why in the world would I pay 5X the dollars for 10 times the life span when I expect to be dead (and I'm not *that* old) long before my drives wear out? Engineering is all about *requirements* analysis. John W. Colby www.ColbyConsulting.com On 9/20/2011 2:45 PM, Kenneth Ismert wrote: > All, > > SSDs sound ideal for server applications, except for one nagging question: > when will it wear out? > > SSD endurance summary > http://www.storagesearch.com/ssdmyths-endurance.html > > > But, there are circumstances where SSDs make a compelling argument for > adoption: > > SSDs replacing HDDs? that's not exactly the way it happened > http://www.storagesearch.com/bitmicro-art3.html > > > If you do spring for them, get the (much more expensive) server-rated SSDs > using SLC memory -- see response to Micker in comments: > > Debunking SSD lifespan and random write performance concerns > http://maxschireson.com/2011/04/21/debunking-ssd-lifespan-and-random-write-performance-concerns/ > > Don't expect consumer-level SSDs to last very long in a server environment. > > -Ken From ab-mi at post3.tele.dk Tue Sep 20 14:58:38 2011 From: ab-mi at post3.tele.dk (Asger Blond) Date: Tue, 20 Sep 2011 21:58:38 +0200 Subject: [AccessD] Two counts, one unique in pivot table In-Reply-To: References: <4E7168E7.2000502@colbyconsulting.com><4E7882B2.7040407@colbyconsulting.com>, <001701cc7793$a75c8ca0$f615a5e0$@comcast.net>, <4E78B526.6070908@btinternet.com> Message-ID: Or: SELECT Count(*) AS Count_Visits, (SELECT COUNT(*) FROM (SELECT DISTINCT Patient_Number FROM tblTest)) AS Count_Distinct_Patients FROM tblTest Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Mark A Matte Sendt: 20. september 2011 21:17 Til: accessd at databaseadvisors.com Emne: Re: [AccessD] Two counts, one unique in pivot table Don't know about about a pivot...but: select count(patient) as count_patient,sum(CountOfnumber) as visits from (SELECT tbl_test.patient, Count(tbl_test.number) AS CountOfnumber FROM tbl_test GROUP BY tbl_test.patient) Hope it helps... Mark A. Matte > Date: Tue, 20 Sep 2011 16:45:42 +0100 > From: dc8 at btinternet.com > To: accessd at databaseadvisors.com > Subject: [AccessD] Two counts, one unique in pivot table > > Hi all, > > I'm trying to produce a pivot table in Access that has two counts in it. > > One of these is based upon a field that is unique within the data and > another that can have duplicates. > > What I need to show is, based upon the small example, this > > SAMPLE NUMBER PATIENT NUMBER > A.1 1 > A.2 2 > A.3 2 > A.4 2 > A.5 3 > A.6 4 > A.7 4 > A.8 5 > A.9 5 > A.10 6 > > 10 6 > > which would show that there were 10 visits made by 6 distinct patients. > > Could anyone point me in the right direction as to how to achieve this ? > > Many thanks in advance, > > Chris Swann > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Tue Sep 20 15:54:34 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Tue, 20 Sep 2011 15:54:34 -0500 Subject: [AccessD] Ambiguous Name Message-ID: Steve, Jim, Gustav: In VBA, standard modules are a kind of static class. Modules can have Properties, and employ data hiding through private member variables, just like a class. Modules can't be instantiated, and have no initialization method, similar to other static class implementations. So, Steve is right in a way: Jim's CurDb function can be viewed as a global method of a static class. In response to Gustav's argument that discipline is all that is needed to use global variables properly, I say that works well for single programmers, but it is begging for trouble with multiple programmers. A construction like Jim's makes the intent of the global much more apparent. But, in defense of Gustav, Jim's construction only works for 'set once' globals. What about globals that need to change over time? How does one implement a changeable global in a 'safe' way in VBA? Put another way, once you allow a global property to be changed, you are in the same boat as a plain global variable: anyone can change it anywhere at any time. Any 'enforcement' scheme you put in place can easily be copied by a fellow programmer with access to the code to do the wrong thing at the wrong time. The question remains: is there any way to enforce safe global value modification in VBA, except by employing Gustav's discipline? -Ken Steve Goodhall: > I missed where you said standard module. So long as it's private I can > live with it, public would be anathema. > > Jim Dettman: > Well except for the fact that it's not in a class module. It doesn't > represent a property. > > Steve Goodhall: > By definition, that's a class variable not a global. > > Jim Dettman: > There is nothing wrong with using a global variable like this: > > Private objcurDB As DAO.Database > > Public Function CurDb(Optional bolRefresh As Boolean = False) As > DAO.Database > > If objcurDB Is Nothing Or bolRefresh = True Then > Set objcurDB = CurrentDb() > End If > > Set CurDb = objcurDB > > End Function > From stuart at lexacorp.com.pg Tue Sep 20 16:31:05 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 21 Sep 2011 07:31:05 +1000 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <002401cc77ac$6df7fa30$49e7ee90$@net> References: , <002401cc77ac$6df7fa30$49e7ee90$@net> Message-ID: <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> Horsepucky. That's just a confirmation of Gustav's statement that the problem is the programmer, not the global. As a general rule, Global's should be set in only one place, but can read/used anywhere. They should not be used to carry values which can be modified indiscriminately. (unless you are using them in a mulit-threaded application where they are also useful for passing values between threads) -- Stuart On 20 Sep 2011 at 11:46, Mark Simms wrote: > Au Contraire....use sparingly at best: > www.vb123.com/smart/fp/1998-05.pdf > "they dramatically increase the costs of > maintaining an application. After all, when you find a bad value in a > global variable, that value could have been placed in the variable > from any routine in the application. Thats a lot of code to debug" > > > > > Nothing wrong with global variables. > > Trouble is always located at those handling these (the programmer!). > > > > > -- > 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 Sep 20 16:37:17 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 21 Sep 2011 07:37:17 +1000 Subject: [AccessD] Ambiguous Name In-Reply-To: <5B015C9C2D79479F90807E92714D112E@XPS> References: , , <5B015C9C2D79479F90807E92714D112E@XPS> Message-ID: <4E79078D.18538.23430621@stuart.lexacorp.com.pg> In that case, it's NOT Global. It's Local to the module. -- Stuart On 20 Sep 2011 at 12:41, Jim Dettman wrote: > Steve, > > I should have said that this code exists in a standard module. > objcurDB > has been declared private to limit the scope to the module, but it's > still a global variable, which could be accessed by any procedure in > that module. > > Jim. > From stuart at lexacorp.com.pg Tue Sep 20 16:37:16 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 21 Sep 2011 07:37:16 +1000 Subject: [AccessD] Ambiguous Name In-Reply-To: <4E78C613.4060707@colbyconsulting.com> References: , <5B015C9C2D79479F90807E92714D112E@XPS>, <4E78C613.4060707@colbyconsulting.com> Message-ID: <4E79078C.31199.234305A4@stuart.lexacorp.com.pg> WTF? Global is the top level scope. That's like being "a little bit pregnant". -- Stuart On 20 Sep 2011 at 12:57, jwcolby wrote: > True, scope includes different levels of global. > > John W. Colby > www.ColbyConsulting.com > > On 9/20/2011 12:41 PM, Jim Dettman wrote: > > Steve, > > > > I should have said that this code exists in a standard module. > > objcurDB > > has been declared private to limit the scope to the module, but it's > > still a global variable, which could be accessed by any procedure in > > that module. > > > > Jim. > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve > > Goodhall Sent: Tuesday, September 20, 2011 12:30 PM To: Access > > Developers discussion and problem solving Subject: Re: [AccessD] > > Ambiguous Name > > > > I don't see global in this example. > > > > Sent from my Verizon Wireless Phone > > > > -----Original message----- > > From: Jim Dettman > > To: 'Access Developers discussion and problem solving' > > > > Sent: Tue, Sep 20, 2011 16:25:09 GMT+00:00 > > Subject: Re: [AccessD] Ambiguous Name > > > > There is nothing wrong with using a global variable like this: > > > > Private objcurDB As DAO.Database > > > > Public Function CurDb(Optional bolRefresh As Boolean = False) As > > DAO.Database > > > > If objcurDB Is Nothing Or bolRefresh = True Then > > Set objcurDB = CurrentDb() > > End If > > > > Set CurDb = objcurDB > > > > End Function > > > > > > And even if you did define it public, so what? It's not like it > > would be > > hard to spot where it's used. > > > > Jim. > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve > > Goodhall Sent: Tuesday, September 20, 2011 12:17 PM To: Access > > Developers discussion and problem solving Subject: Re: [AccessD] > > Ambiguous Name > > > > I can't agree. Global variables break the whole model of structured > > programming. In many ways they are worse than goto statements. > > > > Sent from my Verizon Wireless Phone > > > > -----Original message----- > > From: Gustav Brock > > To: accessd at databaseadvisors.com > > Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 > > Subject: Re: [AccessD] Ambiguous Name > > > > Hi Steve > > > > Nothing wrong with global variables. > > Trouble is always located at those handling these (the programmer!). > > > > /gustav > > > > > >>>> steve at goodhall.info 20-09-2011 01:33:24>>> > > Yet another reason to never use global variables. > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf > > Lister Sent: Monday, September 19, 2011 5:19 PM To: > > accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name > > > > Hello all, > > > > I work with Access 2007. > > > > Lately I ran into a problem I don't know how to solve: By running > > the code I got an error message "Ambiguous Name was detected: > > gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). > > I searched the whole code looking for gsngAportes defined by two > > different data types (e.g. Public gsngAportesSR As Single, and then > > also Public gsngAportesSR As Integer), but without success. > > > > Does anyone of you know how to fix this problem? > > > > I should say that gsngAportesSR is a global variable with data type > > Single. > > > > Thanks and Saludos > > Ralf Lister > > La Paz, Bolivia > > > > > -- > 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 Sep 20 16:40:23 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 21 Sep 2011 07:40:23 +1000 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <4E78CD58.9030604@colbyconsulting.com> References: , <002801cc77b8$693dfe20$3bb9fa60$@net>, <4E78CD58.9030604@colbyconsulting.com> Message-ID: <4E790847.27609.2345DC63@stuart.lexacorp.com.pg> It's simple to do than. Just avoid putting "myGlobal = ..." in any code outside of module as a matter of policy. -- Stuart On 20 Sep 2011 at 13:28, jwcolby wrote: > The nice thing about properties is that they can be set (modified) in > the module but read-only from outside of the module. It is impossible > to do that with globals. > > John W. Colby > www.ColbyConsulting.com > > On 9/20/2011 1:12 PM, Mark Simms wrote: > > I'm not totally against them, but lately I've been tending towards > > the Public Property, the value of which can be easily > > traced/debugged. Interestingly, MZTOOLZ has a function to do just > > that: convert globals to properties. > > > > > >> -----Original Message----- > >> From: accessd-bounces at databaseadvisors.com [mailto:accessd- > >> bounces at databaseadvisors.com] On Behalf Of Jim Dettman > >> Sent: Tuesday, September 20, 2011 12:27 PM > >> To: 'Access Developers discussion and problem solving' > >> Subject: Re: [AccessD] Global Vars (was Ambiguous Name) > >> > >> Mark, > >> > >> You should have quoted the second paragraph as well: > >> > >> "This narrow-minded attitude of mine can create difficulties when > >> trying to share data between forms in a single application." > >> > >> He goes on to say there are lot's of solutions to that problem > >> (which > >> is > >> true), but that doesn't apply that global's should not be used or > >> do not have a place in Access development. > >> > >> Jim. > >> > >> -----Original Message----- > >> From: accessd-bounces at databaseadvisors.com > >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark > >> Simms Sent: Tuesday, September 20, 2011 11:46 AM To: 'Access > >> Developers discussion and problem solving' Subject: Re: [AccessD] > >> Global Vars (was Ambiguous Name) > >> > >> Au Contraire....use sparingly at best: > >> www.vb123.com/smart/fp/1998-05.pdf > >> "they dramatically increase the costs of > >> maintaining an application. After all, when you find a bad value in > >> a global variable, that value could have been placed in the > >> variable from any routine in the application. Thats a lot of code > >> to debug" > >> > >>> > >>> Nothing wrong with global variables. > >>> Trouble is always located at those handling these (the > >>> programmer!). > >>> > >> > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/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 Tue Sep 20 17:00:22 2011 From: df.waters at comcast.net (Dan Waters) Date: Tue, 20 Sep 2011 17:00:22 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> References: , <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> Message-ID: <004f01cc77e0$b1db7130$15925390$@comcast.net> I have one module titled Global Variables. That's the only place a global variable gets set. And I don't use them as often as I used to. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, September 20, 2011 4:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Global Vars (was Ambiguous Name) Horsepucky. That's just a confirmation of Gustav's statement that the problem is the programmer, not the global. As a general rule, Global's should be set in only one place, but can read/used anywhere. They should not be used to carry values which can be modified indiscriminately. (unless you are using them in a mulit-threaded application where they are also useful for passing values between threads) -- Stuart On 20 Sep 2011 at 11:46, Mark Simms wrote: > Au Contraire....use sparingly at best: > www.vb123.com/smart/fp/1998-05.pdf > "they dramatically increase the costs of maintaining an application. > After all, when you find a bad value in a global variable, that value > could have been placed in the variable from any routine in the > application. Thats a lot of code to debug" > > > > > Nothing wrong with global variables. > > Trouble is always located at those handling these (the programmer!). > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 20 17:03:42 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Sep 2011 18:03:42 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <4E790847.27609.2345DC63@stuart.lexacorp.com.pg> References: , <002801cc77b8$693dfe20$3bb9fa60$@net>, <4E78CD58.9030604@colbyconsulting.com> <4E790847.27609.2345DC63@stuart.lexacorp.com.pg> Message-ID: <4E790DBE.9050406@colbyconsulting.com> > It's simple to do than. Just avoid putting "myGlobal = ..." in any code outside of module as a matter of policy. Rotfl. As a matter of policy, policemen never beat innocent (or even guilty) people, right? Yea... right. As a matter of policy, politicians never allow contributions to influence their vote, right. Yea... right. If you have ever studied the law, policy is where something goes wrong and there is no specific law to cover it so a policy is written. And policy is just about worth the paper it is written on. John W. Colby www.ColbyConsulting.com On 9/20/2011 5:40 PM, Stuart McLachlan wrote: > It's simple to do than. Just avoid putting "myGlobal = ..." in any code outside of module as a > matter of policy. > From drcaa at click21.com.br Tue Sep 20 17:15:58 2011 From: drcaa at click21.com.br (drcaa at click21.com.br) Date: Tue, 20 Sep 2011 19:15:58 -0300 Subject: [AccessD] A2007 - importing objects from A2000 Message-ID: <1316556958.4e79109e461d8@webmail7.click21.com.br> On 09/18/2011 09:46 AM, William Benson (VBACreations.Com) wrote: > Are you able to create new objects at all in this database? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > drcaa at click21.com.br > Sent: Sunday, September 18, 2011 7:44 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] A2007 - importing objects from A2000 > > Hi people! > I have had a situation tryiong to use a A2000 database in A2007. Some forms > (including a switchboard created by myself) and all reports are not shown in > navigation pane. I tried to convert the database, tried to use in A2000 > format > and no success. Also tried to import all objects from A2000 database, but > those > objects I mentioned are not shown either. > Any hints??? > TIA, > Carl?os Alberto Alves > > Yes, I can. -- ********************************* * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst * * Rio de Janeiro, Brazil * * Skype: carlos-aa * * mailto:drcaa at click21.com.br * * mailto:drcaa at predialnet.com.br* ********************************* ___________________________________________________________________________________ Para fazer uma liga??o DDD pra perto ou pra longe, faz um 21. A Embratel tem tarifas muito baratas esperando por voc?. Aproveite! From john at winhaven.net Tue Sep 20 18:38:15 2011 From: john at winhaven.net (John Bartow) Date: Tue, 20 Sep 2011 18:38:15 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <004f01cc77e0$b1db7130$15925390$@comcast.net> References: , <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> Message-ID: <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> This is the approach I have taken over the years also. Global variables are set at startup/login. Since I'm the only VBA coder it has worked wonderfully :o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, September 20, 2011 5:00 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Global Vars (was Ambiguous Name) I have one module titled Global Variables. That's the only place a global variable gets set. And I don't use them as often as I used to. From fuller.artful at gmail.com Tue Sep 20 19:06:55 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 20 Sep 2011 20:06:55 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> Message-ID: I think that I am going to go with JWC's concept of this. Assuming of course that I have it right, you create a class that houses all the otherwise global variable, and they are protected by Get/Set methods. This appears to me the superior way to go. No way you can touch them. fork with them, without a specific call. No accidents, no side effects. Good for you, JWC. I think you are right on the money here. Arthur From marksimms at verizon.net Tue Sep 20 20:16:03 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 20 Sep 2011 21:16:03 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> Message-ID: <00a901cc77fc$086c9720$1945c560$@net> The only problem then is enforcing a SINGLE INSTANCE of that class. Somehow, the Initialize method must trap the second instance.....perhaps a STATIC variable set to true ? This would effectively provide you with a static class which is what you want here. > I think that I am going to go with JWC's concept of this. Assuming of > course > that I have it right, you create a class that houses all the otherwise > global variable, and they are protected by Get/Set methods. This > appears to > me the superior way to go. No way you can touch them. fork with them, > without a specific call. No accidents, no side effects. Good for you, From jwcolby at colbyconsulting.com Tue Sep 20 21:20:43 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Sep 2011 22:20:43 -0400 Subject: [AccessD] Is hadoop for you? Or me? Fascinating but do I need to spend any more time on this? Message-ID: <4E7949FB.7060607@colbyconsulting.com> http://radar.oreilly.com/2011/01/what-is-hadoop.html Mike Olson: The Hadoop platform was designed to solve problems where you have a lot of data ? perhaps a mixture of complex and structured data ? *and it doesn't fit nicely into tables.* Mike Olson: Hadoop is designed to run on a large number of machines that don't share any memory or disks. Architecturally, the reason you're able to deal with lots of data is because Hadoop spreads it out. And the reason you're able to ask complicated computational questions is because you've got all of these processors, working in parallel, harnessed together. Mike Olson: It's fair to say that a current Hadoop adopter must be more sophisticated than a relational database adopter. Mike Olson: I'm a deep believer in relational databases and in SQL. I think the language is awesome and the products are incredible. I hate the term "NoSQL." It was invented to create cachet around a bunch of different projects, each of which has different properties and behaves in different ways. *The real question is, what problems are you solving? That's what matters to users.* http://freedb2.com/2010/02/04/is-hadoop-cloud-computing/ If you are not familiar with Hadoop, the best way to understand what it does is to think of it as a method or *a programming model for executing complex compute jobs on very large clusters of computers*. These clusters can comprise hundreds and, sometimes, thousands of machines. What Hadoop does is break, or Map, these complex jobs in to much more manageable tasks that are distributed to run on the machines in the cluster. It then assembles the results of the execution of these much smaller parts of the overall job in to one coherent answer. This process of collecting and consolidating the results of the execution is called ?Reduce?. http://en.wikipedia.org/wiki/Apache_Hadoop Apache Hadoop is a software framework that supports data-intensive distributed applications under a free license.[1] *It enables applications to work with thousands of nodes and petabytes of data*. Hadoop was inspired by Google's MapReduce and Google File System (GFS) papers. -- John W. Colby www.ColbyConsulting.com From Gustav at cactus.dk Wed Sep 21 03:12:55 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 21 Sep 2011 10:12:55 +0200 Subject: [AccessD] [dba-SQLServer] Oracle 11g EX (was: MySQL) Message-ID: Hi Jim Yes, as I remember OTN (haven't checked recently) - and contrary to MS, you can download _everything_ to test with no limits and use in development. However, as soon you use the software for whatever other purpose, you have to pay the big money including the fee for your lawyer to check the book-sized license agreement. The XE, however, is free to use in production. /gustav >>> accessd at shaw.ca 20-09-2011 20:01 >>> Gustav: Actually, you can down load Oracles full enterprise version (at least the last time I looked...Oracle version 11i) but it is limited in how many connection and users can have access to it. In addition, if you do call for support you will be directed to a local resource person(s). This system was created so computer science students and small consultant firms could get up to speed in the product. The major difference between Oracle and MS SQL is that in Oracle you can modify and optimize everything. Managing queues, temp tables, transactions, sizes and recovery points. Microsoft has chosen to eliminate or automate most of the fine-tuning part of data management. This is good and it is bad. OOH, a tech can spend years learning the black-art of database control, tuning everything to the nth degree as well as building a very precise set of reports and intergrating various Oracle servers. Rest assured, if a company has a medium and larger site there must be a full-time tech there. Oracle is also very careful on just how many techs are allowed to pass their exams so the rate at which a fully qualified Oracle tech is paid very well. OTOH, a MS SQL site is far more easily setup. A person with a bit of database knowledge can put together a stable SQL site in less than a day. It may not be a fully optimized site but it will work and render the expected results. Some tech can learn as they go and MS is not concerned about whether the person asking for database support is a person that owns a plumbing company or a fully certified tech. Microsoft's exams, though thorough, do not restrict the number of qualified graduates...the more the merrier. The rate a small company will pay a MS SQL qualified person is usually much lower than an Oracle tech with similar qualifications. Much like Microsoft has entrenched itself in new desktop computers and the office application markets, Oracle has tied up most of the high end database market. The other major difference is cost; MS SQL is about a third of the cost of an Oracle suite. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, September 20, 2011 12:25 AM To: accessd at databaseadvisors.com; dba-sqlserver at databaseadvisors.com Subject: Re: [AccessD] [dba-SQLServer] Oracle 11g EX (was: MySQL) Hi Arthur et al Also Oracle sports a free Express version, Oracle 11g XE with these limitations: * Maximum database size is 11 GB * Maximum RAM it will use is 1 GB * Only one instance can be installed on a single computer * Uses only a single CPU Here is a guide for the Windows installation (for people like JC encountering the unknown!): http://www.codeproject.com/KB/database/InstallOracle11gXE.aspx Not that I have used it or intend to do so. The last time I tried (Oracle 8i?) it installed a monster suite of tools and yet you had to deal with manual editing of ora files etc. ... I felt much like JC does now facing the WAMP package. Things may have changed, I know, I'm just not ready to meet the challenge (= have no purpose for it). /gustav -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, September 17, 2011 6:53 PM To: Discussion concerning MS SQL Server Subject: Re: [dba-SQLServer] [AccessD] MySQL There are some nice things about MySQL but on the other hand I definitely do not like where Oracle is going with this puppy since its acquisition of Sun and by inheritance MySQL. I'm still on the fence about these developments, but quite frankly I am leaning against Oracle on all these transmutations of what was originally a simple, straightforward approach. At last recollection, Monty has departed, and with him, I fear, has the guiding vision of this product. Frankly, I am all over the place on where next to go: I look at Mongo and see it exquisite for web-apps but not for OLTP situations. I look at PostGreSQL and think it's got a bunch of things right. I look at Oracle and MS-SQL and think they have some things right as well. I frankly do not have any clue into which basket to toss my next eggs. Arthur From jimdettman at verizon.net Wed Sep 21 08:06:41 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 21 Sep 2011 09:06:41 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: <4E79078D.18538.23430621@stuart.lexacorp.com.pg> References: , , <5B015C9C2D79479F90807E92714D112E@XPS> <4E79078D.18538.23430621@stuart.lexacorp.com.pg> Message-ID: <970A63995E4748EEB471C3B1ADE833BE@XPS> Stuart, I don't agree. It's a global variable. It's scope has been limited to module level yes, but it's still global because more then one procedure can access it. More importantly is the fact that once the module is loaded, the variable exists until the app terminates. That is quit different from a local variable which is created/destroyed when a procedure executes and then terminates. But if it floats your boat, make "private" "public" and nothing has really changed in terms of the discussion. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, September 20, 2011 05:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name In that case, it's NOT Global. It's Local to the module. -- Stuart On 20 Sep 2011 at 12:41, Jim Dettman wrote: > Steve, > > I should have said that this code exists in a standard module. > objcurDB > has been declared private to limit the scope to the module, but it's > still a global variable, which could be accessed by any procedure in > that module. > > Jim. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BradM at blackforestltd.com Wed Sep 21 08:27:42 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Wed, 21 Sep 2011 08:27:42 -0500 Subject: [AccessD] Access "Bloat" - Basic Questions References: <4E591854.8090208@colbyconsulting.com><6BAD4B05F0474F8083137B9C25B1038C@HAL9007><4E597AE8.6269.28B4FE51@stuart.lexacorp.com.pg> Message-ID: A big "Thank You" to everyone who shared their ideas on this issue. I appreciate the assistance. I do "sort of" miss the good-old-days when I worked in the mainframe realm. The only bloat we ever saw was in the invoices from IBM ... and it was huge :-) Thanks again, Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, September 20, 2011 2:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access "Bloat" - Basic Questions How about writing the data to xml files and deleting the files after the query has run? Any version of Access from 2002 up will handle that cleanly Charlotte Foust On Tue, Sep 20, 2011 at 10:57 AM, Brad Marks wrote: > My background is in the mainframe world where we never had to be > concerned about bloat. > > Now I work in the Microsoft Access world and it appears that I have had > my first encounter with significant bloating. > > We have an Access 2007 application that obtains data from several > SQL-Server tables (via ODBC) and from two Excel files. > > This application creates a number of reports. One of the reports needs > data from 2 SQL-Server tables and 2 Excel files. Because of the > complexity of the data, we cannot simply use queries to create the > report, but we have had to resort to an intermediate Access table that > is updated with VBA code via Record-Set processing. Once the data is > processed and stored in this intermediate table, a query is used to pull > this data from the table for use by the report. > > The report in question can be run for any desired date range. If the > date range is small, we see little increase in the size of the accdb > file. However, if the date range selected is large (like a full year's > worth of data), the accdb file grows from 15 MB to 85MB. I believe that > this large increase in size is primarily caused by the Access table that > is used for the intermediate processing of the data. > > In the mainframe world, we used "temporary work files" for such > intermediate processing. Is there something similar available in Access > 2007? > > One idea that I have considered is to use a delete query to clear out > all of the records in the intermediate table after the report is > generated and then add a "Compact on close" option to the application. > > Again, I am new to the world of Access bloat and would like to better > understand how others handle this issue. > > 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 accessd at shaw.ca Wed Sep 21 08:38:25 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 21 Sep 2011 06:38:25 -0700 Subject: [AccessD] [dba-SQLServer] Oracle 11g EX (was: MySQL) In-Reply-To: References: Message-ID: <46EDBC03793C427B8C5462816B493936@creativesystemdesigns.com> Agreed. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 21, 2011 1:13 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] [dba-SQLServer] Oracle 11g EX (was: MySQL) Hi Jim Yes, as I remember OTN (haven't checked recently) - and contrary to MS, you can download _everything_ to test with no limits and use in development. However, as soon you use the software for whatever other purpose, you have to pay the big money including the fee for your lawyer to check the book-sized license agreement. The XE, however, is free to use in production. /gustav >>> accessd at shaw.ca 20-09-2011 20:01 >>> Gustav: Actually, you can down load Oracles full enterprise version (at least the last time I looked...Oracle version 11i) but it is limited in how many connection and users can have access to it. In addition, if you do call for support you will be directed to a local resource person(s). This system was created so computer science students and small consultant firms could get up to speed in the product. The major difference between Oracle and MS SQL is that in Oracle you can modify and optimize everything. Managing queues, temp tables, transactions, sizes and recovery points. Microsoft has chosen to eliminate or automate most of the fine-tuning part of data management. This is good and it is bad. OOH, a tech can spend years learning the black-art of database control, tuning everything to the nth degree as well as building a very precise set of reports and intergrating various Oracle servers. Rest assured, if a company has a medium and larger site there must be a full-time tech there. Oracle is also very careful on just how many techs are allowed to pass their exams so the rate at which a fully qualified Oracle tech is paid very well. OTOH, a MS SQL site is far more easily setup. A person with a bit of database knowledge can put together a stable SQL site in less than a day. It may not be a fully optimized site but it will work and render the expected results. Some tech can learn as they go and MS is not concerned about whether the person asking for database support is a person that owns a plumbing company or a fully certified tech. Microsoft's exams, though thorough, do not restrict the number of qualified graduates...the more the merrier. The rate a small company will pay a MS SQL qualified person is usually much lower than an Oracle tech with similar qualifications. Much like Microsoft has entrenched itself in new desktop computers and the office application markets, Oracle has tied up most of the high end database market. The other major difference is cost; MS SQL is about a third of the cost of an Oracle suite. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, September 20, 2011 12:25 AM To: accessd at databaseadvisors.com; dba-sqlserver at databaseadvisors.com Subject: Re: [AccessD] [dba-SQLServer] Oracle 11g EX (was: MySQL) Hi Arthur et al Also Oracle sports a free Express version, Oracle 11g XE with these limitations: * Maximum database size is 11 GB * Maximum RAM it will use is 1 GB * Only one instance can be installed on a single computer * Uses only a single CPU Here is a guide for the Windows installation (for people like JC encountering the unknown!): http://www.codeproject.com/KB/database/InstallOracle11gXE.aspx Not that I have used it or intend to do so. The last time I tried (Oracle 8i?) it installed a monster suite of tools and yet you had to deal with manual editing of ora files etc. ... I felt much like JC does now facing the WAMP package. Things may have changed, I know, I'm just not ready to meet the challenge (= have no purpose for it). /gustav -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, September 17, 2011 6:53 PM To: Discussion concerning MS SQL Server Subject: Re: [dba-SQLServer] [AccessD] MySQL There are some nice things about MySQL but on the other hand I definitely do not like where Oracle is going with this puppy since its acquisition of Sun and by inheritance MySQL. I'm still on the fence about these developments, but quite frankly I am leaning against Oracle on all these transmutations of what was originally a simple, straightforward approach. At last recollection, Monty has departed, and with him, I fear, has the guiding vision of this product. Frankly, I am all over the place on where next to go: I look at Mongo and see it exquisite for web-apps but not for OLTP situations. I look at PostGreSQL and think it's got a bunch of things right. I look at Oracle and MS-SQL and think they have some things right as well. I frankly do not have any clue into which basket to toss my next eggs. Arthur -- 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 Sep 21 12:29:21 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 21 Sep 2011 13:29:21 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <00a901cc77fc$086c9720$1945c560$@net> References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <00a901cc77fc$086c9720$1945c560$@net> Message-ID: That part is easy! The more difficult part is translating all my static functions to use the new paradigm, which I definitely recognize as superior. This will take some time and won't be backwards-compatible to A2K and A2K3 and A2K7 and so on, but I shall endeavour to figure this out. A. From fuller.artful at gmail.com Wed Sep 21 12:45:22 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 21 Sep 2011 13:45:22 -0400 Subject: [AccessD] Access "Bloat" - Basic Questions In-Reply-To: References: <4E591854.8090208@colbyconsulting.com> <6BAD4B05F0474F8083137B9C25B1038C@HAL9007> <4E597AE8.6269.28B4FE51@stuart.lexacorp.com.pg> Message-ID: Wow! You made my day, Brad! If not month, and maybe year! That was the funniest and most reminiscent email I've had in decades. Thank you for awaking ugly memories. On Wed, Sep 21, 2011 at 9:27 AM, Brad Marks wrote: > A big "Thank You" to everyone who shared their ideas on this issue. > > I appreciate the assistance. > > I do "sort of" miss the good-old-days when I worked in the mainframe > realm. The only bloat we ever saw was in the invoices from IBM ... and > it was huge :-) > > Thanks again, > Brad > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Tuesday, September 20, 2011 2:27 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access "Bloat" - Basic Questions > > How about writing the data to xml files and deleting the files after the > query has run? Any version of Access from 2002 up will handle that > cleanly > > Charlotte Foust > > On Tue, Sep 20, 2011 at 10:57 AM, Brad Marks > wrote: > > > My background is in the mainframe world where we never had to be > > concerned about bloat. > > > > Now I work in the Microsoft Access world and it appears that I have > had > > my first encounter with significant bloating. > > > > We have an Access 2007 application that obtains data from several > > SQL-Server tables (via ODBC) and from two Excel files. > > > > This application creates a number of reports. One of the reports > needs > > data from 2 SQL-Server tables and 2 Excel files. Because of the > > complexity of the data, we cannot simply use queries to create the > > report, but we have had to resort to an intermediate Access table that > > is updated with VBA code via Record-Set processing. Once the data is > > processed and stored in this intermediate table, a query is used to > pull > > this data from the table for use by the report. > > > > The report in question can be run for any desired date range. If the > > date range is small, we see little increase in the size of the accdb > > file. However, if the date range selected is large (like a full > year's > > worth of data), the accdb file grows from 15 MB to 85MB. I believe > that > > this large increase in size is primarily caused by the Access table > that > > is used for the intermediate processing of the data. > > > > In the mainframe world, we used "temporary work files" for such > > intermediate processing. Is there something similar available in > Access > > 2007? > > > > One idea that I have considered is to use a delete query to clear out > > all of the records in the intermediate table after the report is > > generated and then add a "Compact on close" option to the application. > > > > Again, I am new to the world of Access bloat and would like to better > > understand how others handle this issue. > > > > 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 kismert at gmail.com Wed Sep 21 13:25:07 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Wed, 21 Sep 2011 13:25:07 -0500 Subject: [AccessD] Ambiguous Name In-Reply-To: References: Message-ID: All, Ken Ismert: > ... > The question remains: is there any way to enforce safe global value > modification in VBA, except by employing Gustav's discipline? > Thinking about this further, I have come up with two approaches that could work: 1. Use messaging. In this scenario, no global parameters are kept at all. All objects communicate by sending messages to one another in a standardized way. The sender is always identified. Receivers can then decide who to ignore, and who to listen to. 2. Use a listener 'static class'. Some object requests to be the 'speaker', first-come, first-served. Once accepted, only the speaker can set parameters for the rest. Sample code: Option Explicit ' module MTestListener Private Const ML_ERR_SPEAKER As Long = -2147213504 ' 8000 + vbObjectError Private mlPtr As Long ' ObjPtr(Nothing) = 0 Public Sub ListenToMe(ByVal rSpeaker As Object) If mlPtr = 0 Then ' setting mlPtr does not increment the object's ' reference count, so the object can close normally mlPtr = ObjPtr(rSpeaker) Else Err.Raise ML_ERR_SPEAKER, "MTestListener.ListenToMe", _ "Sorry, listening to Object at " & mlPtr End If End Sub Public Sub IgnoreMe(ByVal rSpeaker As Object) If ObjPtr(rSpeaker) = mlPtr Then mlPtr = 0 End If End Sub Public Sub SetParameter(ByVal rSpeaker As Object, sName As String, vValue As Variant) ' must match speaker, and not be nothing If (ObjPtr(rSpeaker) = mlPtr) And (mlPtr <> 0) Then ' set global parameter sName = vValue Else Err.Raise ML_ERR_SPEAKER, "MTestListener.SetParameter", _ "Sorry, listening to Object at " & mlPtr End If End Sub Public Function GetParameter(sName As String) As Variant ' anybody can get a parameter End Function From kismert at gmail.com Wed Sep 21 13:52:07 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Wed, 21 Sep 2011 13:52:07 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) Message-ID: Mark, Just use a standard module, with private member variables, or functions with static variables. As I explained in an earlier post, you can treat a standard module as a static class in VBA (modules even support properties). If you need initialization, call a private Init function that holds a static, like you suggested. -Ken Mark Simms: > The only problem then is enforcing a SINGLE INSTANCE of that class. > Somehow, the Initialize method must trap the second instance.....perhaps a > STATIC variable set to true ? .... > From kismert at gmail.com Wed Sep 21 14:16:21 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Wed, 21 Sep 2011 14:16:21 -0500 Subject: [AccessD] AccessD Digest, Vol 103, Issue 17 In-Reply-To: References: Message-ID: > > Stuart McLachlan: > > As a general rule, Global's should be set in only one place, but can > read/used anywhere. > I think the interesting question is not where a global is set, but by whom. If it is not simply read-once, how do you ensure the right party gets to set the globals? They should not be used to carry values which can be modified > indiscriminately... > But what if you need to modify globals? What do you do then? It is hard to write a real Access app that doesn't require global parameter passing, which requires changing globals. -Ken From kismert at gmail.com Wed Sep 21 14:26:37 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Wed, 21 Sep 2011 14:26:37 -0500 Subject: [AccessD] SSDs and BE storage Message-ID: > jwcolby: > ... > That is a server environment. You should see my server chug. I do > millions of dollars a month business for my client. Not my share > unfortunately. > ... > That seems to be a fairly cavalier attitude given the value of the data you are handling... I think the only rational approach is expressed by 'M' at the bottom of the 'Debunking SSD lifespan and random write performance concerns' post: 'We plan for the failure' -Ken From fuller.artful at gmail.com Wed Sep 21 14:52:45 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 21 Sep 2011 15:52:45 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: References: Message-ID: I like this! Way cool and way slick. Arthur From jwcolby at colbyconsulting.com Wed Sep 21 15:55:21 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 21 Sep 2011 16:55:21 -0400 Subject: [AccessD] SSDs and BE storage In-Reply-To: References: Message-ID: <4E7A4F39.2060400@colbyconsulting.com> > 'We plan for the failure' LOL, and who says I am not? All I said is that there is no "server environment" but rather around a billion "server environments" all different. Do you buy an 18 wheeler because you might need to move once every 20 years? Could you afford an 18 wheeler even if you wanted to do that? Personally I rent one as necessary. For my server, I have a system with a 16 port Areca raid controller, holding 6 tb of raid 6 volumes with hot spare. These hold most of my data. My SSDs are updated once a month. They are backed up to that raid 6 array immediately after the update. If the SSD does fails I haven't lost anything. But it isn't going to fail. *EVER*, at least not from write wear. "We plan for failure" doesn't mean I have to spend money I don't have for tools I don't need. Read carefully and you will find that this specific author's opinions are not widely held, in fact I would call him borderline nutcase. Not to mention the fact that most of what he wrote was written centuries ago (in the SSD world) and just about do not apply today. I can tell he believes that stuff but I did extensive reading of white papers analyzing the problem and the consensus is that unless you are constantly streaming data to the drive as fast as the SATA port will bear, you are never going to wear out even the consumer grade drives. Instead of reading one ... person's opinion I do my own analysis. Did you know that as sectors start to have read errors the controllers move the sectors and mark them bad? This is true in rotating and SS media. So let's do an analysis (for my client building the new system). 1) With a real data set of perhaps 5 gigs 2) And a 100gb (formatted, available) ssd, if you get 5K writes for any block before you get errors This means you can move the entire 5 gigs 20 times before you can no longer write to the disk, which turns into 100 thousand writes of that entire 5 gigs of data. But if the customer is writing 5 gigs once and then updating perhaps 1 to 2 megs of data a day... This is essentially a write once database. Not quite but you get the picture Let's be brutally honest, this thing is going to last about a jillion years. Well, maybe only a million years. They are going Raid 1 with hot spare, and an intelligent controller that costs more than the SSDs. They are also buying a brand (which I recommended) which uses the 34 micron chips precisely because the new 28 micron chips are reporting all kinds of errors at this point in time. And they already (with their existing server) do a full nightly backup. So I need to tell them that the SSD has to be a thousand dollars a pop SLC drives because...???? > I think the only rational approach is expressed by 'M' at the bottom of the 'Debunking SSD lifespan and random write performance concerns' post: > > 'We plan for the failure' I think the only rational approach is 'Use my own brain'. ;) And to imply that I do not plan for failure is unkind at the very least. I have been doing business for the million a month client for 7 years and have never lost data. I have actually lost disks (two in that time period) but the hot spare dropped in and the controller rebuilt the array automatically. I have moved the array twice (to new servers) and never lost data. Raid 6 for main storage and backups has done me well. Believe me I do not have a cavalier attitude with my client's data. OTOH you seem to have a cavalier attitude about spending other people's money! ;) John W. Colby www.ColbyConsulting.com On 9/21/2011 3:26 PM, Kenneth Ismert wrote: >> jwcolby: >> ... >> That is a server environment. You should see my server chug. I do >> millions of dollars a month business for my client. Not my share >> unfortunately. >> ... >> > > That seems to be a fairly cavalier attitude given the value of the data you > are handling... > > I think the only rational approach is expressed by 'M' at the bottom of the > 'Debunking SSD lifespan and random write performance concerns' post: > > 'We plan for the failure' > > -Ken From jwcolby at colbyconsulting.com Wed Sep 21 15:55:57 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 21 Sep 2011 16:55:57 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: References: Message-ID: <4E7A4F5D.7030100@colbyconsulting.com> Ambiguous names are way cool and slick? John W. Colby www.ColbyConsulting.com On 9/21/2011 3:52 PM, Arthur Fuller wrote: > I like this! Way cool and way slick. > > Arthur From gustav at cactus.dk Wed Sep 21 16:13:02 2011 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 21 Sep 2011 23:13:02 +0200 Subject: [AccessD] Global Vars (was Ambiguous Name) Message-ID: Hi Ken You make it sound as if global variables happen to be changed by magic. They don't, because you - the programmer - decides what (and not who) can set the value and when. Since when have developers lost control of a well-designed application? If nothing can change a global variable (or a static or set a property or call a set method) what should its purpose be? Use a constant in that case. /gustav >>> kismert at gmail.com 21-09-2011 21:16 >>> > > Stuart McLachlan: > > As a general rule, Global's should be set in only one place, but can > read/used anywhere. > I think the interesting question is not where a global is set, but by whom. If it is not simply read-once, how do you ensure the right party gets to set the globals? They should not be used to carry values which can be modified > indiscriminately... > But what if you need to modify globals? What do you do then? It is hard to write a real Access app that doesn't require global parameter passing, which requires changing globals. -Ken From fuller.artful at gmail.com Wed Sep 21 16:31:25 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 21 Sep 2011 17:31:25 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: <4E7A4F5D.7030100@colbyconsulting.com> References: <4E7A4F5D.7030100@colbyconsulting.com> Message-ID: Perhaps I have been spending too much time watching The Wire, which in my opinion is the best series ever made for HBO (it's not TV, it's HBO), but all that said, there is no excuse for ambiguous names. On Wed, Sep 21, 2011 at 4:55 PM, jwcolby wrote: > Ambiguous names are way cool and slick? > > From stuart at lexacorp.com.pg Wed Sep 21 16:56:26 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 22 Sep 2011 07:56:26 +1000 Subject: [AccessD] Ambiguous Name In-Reply-To: <970A63995E4748EEB471C3B1ADE833BE@XPS> References: , <4E79078D.18538.23430621@stuart.lexacorp.com.pg>, <970A63995E4748EEB471C3B1ADE833BE@XPS> Message-ID: <4E7A5D8A.20430.3E1B954@stuart.lexacorp.com.pg> You and I obviously have a different definition of "Global". :-) Changing Private to Public changes everything. If the variable is Public, it has global scope i.e. it is a Global variable. If the variable is Private, it has local scope just the same way in instance variable does inside an object. All you are doing there is using a standard module to replicate part of the functionality of a class object Why not just create a Globals object instead and get full class functionality? -- Stuart On 21 Sep 2011 at 9:06, Jim Dettman wrote: > > Stuart, > > I don't agree. It's a global variable. It's scope has been > limited to > module level yes, but it's still global because more then one > procedure can access it. > > More importantly is the fact that once the module is loaded, the > variable > exists until the app terminates. That is quit different from a local > variable which is created/destroyed when a procedure executes and then > terminates. > > But if it floats your boat, make "private" "public" and nothing has > really > changed in terms of the discussion. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan Sent: Tuesday, September 20, 2011 05:37 PM To: Access > Developers discussion and problem solving Subject: Re: [AccessD] > Ambiguous Name > > In that case, it's NOT Global. It's Local to the module. > > -- > Stuart > On 20 Sep 2011 at 12:41, Jim Dettman wrote: > > > Steve, > > > > I should have said that this code exists in a standard module. > > objcurDB > > has been declared private to limit the scope to the module, but it's > > still a global variable, which could be accessed by any procedure in > > that module. > > > > 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 stuart at lexacorp.com.pg Wed Sep 21 17:18:24 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 22 Sep 2011 08:18:24 +1000 Subject: [AccessD] Ambiguous Name In-Reply-To: References: , Message-ID: <4E7A62B0.17426.3F5D646@stuart.lexacorp.com.pg> Read once, write many variable: Static Function mySafeGlobal(Optional invalue as Variant) as Variant Dim store as Variant If not isempty(store) then mySafeGlobal = store Exit Function End if If not ismissing(invalue) then store = invalue mySafeGlobal = store End if End Function -- Stuart On 21 Sep 2011 at 13:25, Kenneth Ismert wrote: > All, > > Ken Ismert: > > ... > > The question remains: is there any way to enforce safe global value > > modification in VBA, except by employing Gustav's discipline? > > > > Thinking about this further, I have come up with two approaches that > could work: > > 1. Use messaging. In this scenario, no global parameters are kept at > all. All objects communicate by sending messages to one another in a > standardized way. The sender is always identified. Receivers can then > decide who to ignore, and who to listen to. > > 2. Use a listener 'static class'. Some object requests to be the > 'speaker', first-come, first-served. Once accepted, only the speaker > can set parameters for the rest. Sample code: > > Option Explicit > > ' module MTestListener > Private Const ML_ERR_SPEAKER As Long = -2147213504 ' 8000 + > vbObjectError Private mlPtr As Long ' ObjPtr(Nothing) = 0 > > Public Sub ListenToMe(ByVal rSpeaker As Object) > If mlPtr = 0 Then > ' setting mlPtr does not increment the object's > ' reference count, so the object can close normally > mlPtr = ObjPtr(rSpeaker) > Else > Err.Raise ML_ERR_SPEAKER, "MTestListener.ListenToMe", _ > "Sorry, listening to Object at " & mlPtr > End If > End Sub > > Public Sub IgnoreMe(ByVal rSpeaker As Object) > If ObjPtr(rSpeaker) = mlPtr Then > mlPtr = 0 > End If > End Sub > > Public Sub SetParameter(ByVal rSpeaker As Object, sName As String, > vValue As Variant) > ' must match speaker, and not be nothing > If (ObjPtr(rSpeaker) = mlPtr) And (mlPtr <> 0) Then > ' set global parameter sName = vValue > Else > Err.Raise ML_ERR_SPEAKER, "MTestListener.SetParameter", _ > "Sorry, listening to Object at " & mlPtr > End If > End Sub > > Public Function GetParameter(sName As String) As Variant > ' anybody can get a parameter > End Function > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Wed Sep 21 17:21:56 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 22 Sep 2011 08:21:56 +1000 Subject: [AccessD] AccessD Digest, Vol 103, Issue 17 In-Reply-To: References: , Message-ID: <4E7A6384.23339.3F910C6@stuart.lexacorp.com.pg> On the contrary, I very rarely use a Global in an Access application (I do use them frequently in other environments for things like window handles) I do however use static functions a lot in Access. -- Stuart On 21 Sep 2011 at 14:16, Kenneth Ismert wrote: > > But what if you need to modify globals? What do you do then? It is > hard to write a real Access app that doesn't require global parameter > passing, which requires changing globals. > > -Ken > -- > 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 Sep 21 17:24:42 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 22 Sep 2011 08:24:42 +1000 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: Message-ID: <4E7A642A.25822.3FB9975@stuart.lexacorp.com.pg> I do that a LOT. -- Stuart On 21 Sep 2011 at 23:13, Gustav Brock wrote: > > If nothing can change a global variable (or a static or set a property > or call a set method) what should its purpose be? Use a constant in > that case. > From DWUTKA at Marlow.com Wed Sep 21 22:02:07 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Wed, 21 Sep 2011 22:02:07 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> Message-ID: The point of a global variable is to have a VARIABLE value that can be accessed from multiple points. If you want a VALUE available from anywhere, that would be a constant. A variable's value is meant to change. So, even if you wrap your global variables inside of a class, you are still scoping an instance of that class globally, which makes it a global variable. Any variable and any scope can be used poorly. Just throwing my hat into the ring. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, September 20, 2011 7:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Global Vars (was Ambiguous Name) I think that I am going to go with JWC's concept of this. Assuming of course that I have it right, you create a class that houses all the otherwise global variable, and they are protected by Get/Set methods. This appears to me the superior way to go. No way you can touch them. fork with them, without a specific call. No accidents, no side effects. Good for you, JWC. I think you are right on the money here. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From jwcolby at colbyconsulting.com Thu Sep 22 06:06:21 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 22 Sep 2011 07:06:21 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> Message-ID: <4E7B16AD.6030904@colbyconsulting.com> Already too many hats in the ring. ;) John W. Colby www.ColbyConsulting.com On 9/21/2011 11:02 PM, Drew Wutka wrote: > The point of a global variable is to have a VARIABLE value that can be > accessed from multiple points. > > If you want a VALUE available from anywhere, that would be a constant. > A variable's value is meant to change. > > So, even if you wrap your global variables inside of a class, you are > still scoping an instance of that class globally, which makes it a > global variable. > > Any variable and any scope can be used poorly. > > Just throwing my hat into the ring. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Tuesday, September 20, 2011 7:07 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Global Vars (was Ambiguous Name) > > I think that I am going to go with JWC's concept of this. Assuming of > course that I have it right, you create a class that houses all the > otherwise global variable, and they are protected by Get/Set methods. > This appears to me the superior way to go. No way you can touch them. > fork with them, without a specific call. No accidents, no side effects. > Good for you, JWC. I think you are right on the money here. > > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > The information contained in this transmission is intended only for the person or entity > to which it is addressed and may contain II-VI Proprietary and/or II-VI Business > Sensitive material. If you are not the intended recipient, please contact the sender > immediately and destroy the material in its entirety, whether electronic or hard copy. > You are notified that any review, retransmission, copying, disclosure, dissemination, > or other use of, or taking of any action in reliance upon this information by persons > or entities other than the intended recipient is prohibited. > > From DWUTKA at Marlow.com Thu Sep 22 10:32:28 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 22 Sep 2011 10:32:28 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <4E7B16AD.6030904@colbyconsulting.com> References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> Message-ID: Sounds like a global variable is needed to determine how many there are.... ;) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, September 22, 2011 6:06 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Global Vars (was Ambiguous Name) Already too many hats in the ring. ;) John W. Colby www.ColbyConsulting.com On 9/21/2011 11:02 PM, Drew Wutka wrote: > The point of a global variable is to have a VARIABLE value that can be > accessed from multiple points. > > If you want a VALUE available from anywhere, that would be a constant. > A variable's value is meant to change. > > So, even if you wrap your global variables inside of a class, you are > still scoping an instance of that class globally, which makes it a > global variable. > > Any variable and any scope can be used poorly. > > Just throwing my hat into the ring. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur > Fuller > Sent: Tuesday, September 20, 2011 7:07 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Global Vars (was Ambiguous Name) > > I think that I am going to go with JWC's concept of this. Assuming of > course that I have it right, you create a class that houses all the > otherwise global variable, and they are protected by Get/Set methods. > This appears to me the superior way to go. No way you can touch them. > fork with them, without a specific call. No accidents, no side effects. > Good for you, JWC. I think you are right on the money here. > > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com The information contained in > this transmission is intended only for the person or entity to which > it is addressed and may contain II-VI Proprietary and/or II-VI > Business Sensitive material. If you are not the intended recipient, > please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. > You are notified that any review, retransmission, copying, disclosure, > dissemination, or other use of, or taking of any action in reliance > upon this information by persons or entities other than the intended recipient is prohibited. > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From fuller.artful at gmail.com Thu Sep 22 10:55:13 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 22 Sep 2011 11:55:13 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> Message-ID: I used to be the strongest argue-er for static functions, but then Access trumped with with its collection, and now I lean that way. It took a considerable amount of rewriting old apps, but the benefits are IMO abundant. If you have A2K7+ then look at the NorthWind app for evidence of how cool this works. To put it another way, globals are a bad idea, no matter what the scenario, IMO. In the old days, static functions were better. Then came JC's class-approach, which had beauty and class and ease of use, albeit with one downfall -- loading it into any new app is guaranteed to waste a bunch of memory irrelevant to this particular app; but RAM is cheap and the price is OK, but that said, I do choose to occupy the minimal amount of RAM, and that said, I load the library and see which functions/subs are not called and then remove them, so in theory the footprint is smaller. A. From accessd at shaw.ca Thu Sep 22 12:44:14 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 22 Sep 2011 10:44:14 -0700 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> Message-ID: Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim From rockysmolin at bchacc.com Thu Sep 22 13:36:37 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 22 Sep 2011 11:36:37 -0700 Subject: [AccessD] Filtering with International Dates Message-ID: <8123BC58741345EF884BE7F4C21F6423@HAL9007> Dear List: Because I'm old and can't remember (and the archives are down), I was told how to filter with dates so that if a user is using international dates it doesn't matter. The following code: If Nz(Forms!frmPOReport!txtGEPromisedDate) <> "" Then If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " strSQL = strSQL & "fldPOPromisedDate >= #" & Forms!frmPOReport!txtGEPromisedDate & "# " End If If Nz(Forms!frmPOReport!txtLEPromisedDate) <> "" Then If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " strSQL = strSQL & "fldPOPromisedDate <= #" & Forms!frmPOReport!txtLEPromisedDate & "# " strSQL eventually ends up in Me.Filter. Works good in the USA. :) Fails in Nicaragua. :( Was it CDate I was supposed to use? Sorry for the redux. TIA Rocky From dbdoug at gmail.com Thu Sep 22 13:37:52 2011 From: dbdoug at gmail.com (Doug Steele) Date: Thu, 22 Sep 2011 11:37:52 -0700 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> Message-ID: Hi Jim: I've built a couple of ASP.NET apps running off IIS with an Access back end. You definitely don't have to have Access installed. I think when you install .Net you get the drivers you need. Doug On Thu, Sep 22, 2011 at 10:44 AM, Jim Lawrence wrote: > Hi All: > > In the many years, I have worked with MS Access there is on thing I have > never done with it. I have never used MS Access as the DB for an > application > running off an IIS server...any web server for that matter...MS SQL, > Express, Oracle, MySQL etc but never MDB. > > So does MS Access have to be installed on the IIS server and does an > extension have to be added to the server etc.? Can just a set of drivers be > configured...? (If the truth be known I would just love to upsize to any > other DB and be done with it but that is not what the client wants; and the > client is always right.(?)) > > If any one has experience with this process, their knowledgeable tips would > be greatly appreciated. > > MTIA > Jim > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Thu Sep 22 13:38:31 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 22 Sep 2011 14:38:31 -0400 Subject: [AccessD] MySQL is apparently not installed correctly Message-ID: <4E7B80A7.7030904@colbyconsulting.com> 1) The service does not start. 2) the ,err file tells me that Plugin Federated is disabled. 3) The .err file tells me Table 'mysql.plugin' doesn't exist and then it says to run mysql_upgrade to create it. I ran mysql_upgrade and the first time it took off and went. I deleted the error file, rebooted and when it came back up the service is hung on "starting". The .err file tells me the same stuff. Any suggestions? Uninstall / reinstall? -- John W. Colby www.ColbyConsulting.com From rockysmolin at bchacc.com Thu Sep 22 13:47:02 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 22 Sep 2011 11:47:02 -0700 Subject: [AccessD] Filtering with International Dates In-Reply-To: <8123BC58741345EF884BE7F4C21F6423@HAL9007> References: <8123BC58741345EF884BE7F4C21F6423@HAL9007> Message-ID: <0DBE8D67661849AA8444AC0CC5B50013@HAL9007> This seems to work: Format$(varDate, "\#mm\/dd\/yyyy\#") Is that the best solution? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: 22 September 2011 11:37 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Filtering with International Dates Dear List: Because I'm old and can't remember (and the archives are down), I was told how to filter with dates so that if a user is using international dates it doesn't matter. The following code: If Nz(Forms!frmPOReport!txtGEPromisedDate) <> "" Then If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " strSQL = strSQL & "fldPOPromisedDate >= #" & Forms!frmPOReport!txtGEPromisedDate & "# " End If If Nz(Forms!frmPOReport!txtLEPromisedDate) <> "" Then If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " strSQL = strSQL & "fldPOPromisedDate <= #" & Forms!frmPOReport!txtLEPromisedDate & "# " strSQL eventually ends up in Me.Filter. Works good in the USA. :) Fails in Nicaragua. :( Was it CDate I was supposed to use? Sorry for the redux. TIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Thu Sep 22 13:49:37 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 22 Sep 2011 11:49:37 -0700 Subject: [AccessD] Filtering with International Dates In-Reply-To: <8123BC58741345EF884BE7F4C21F6423@HAL9007> References: <8123BC58741345EF884BE7F4C21F6423@HAL9007> Message-ID: Here's what MS suggests: Function MakeUSDate(DateIn As Variant) As String ' Do nothing if the value is not a date. If Not IsDate(DateIn) Then Exit Function ' Convert the date to a U.S. Date format. MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & Year(DateIn) & "#" End Function I would suggest that if you're using SQL Server as an alternative BE you also have a function to return the proper date delimiter. Charlotte Foust On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin wrote: > Dear List: > > Because I'm old and can't remember (and the archives are down), I was told > how to filter with dates so that if a user is using international dates it > doesn't matter. > > The following code: > > If Nz(Forms!frmPOReport!txtGEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate >= #" & > Forms!frmPOReport!txtGEPromisedDate & "# " > End If > > If Nz(Forms!frmPOReport!txtLEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate <= #" & > Forms!frmPOReport!txtLEPromisedDate & "# " > > strSQL eventually ends up in Me.Filter. > > Works good in the USA. :) Fails in Nicaragua. :( > > Was it CDate I was supposed to use? > > Sorry for the redux. > > TIA > > Rocky > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From rockysmolin at bchacc.com Thu Sep 22 14:27:45 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 22 Sep 2011 12:27:45 -0700 Subject: [AccessD] Filtering with International Dates In-Reply-To: References: <8123BC58741345EF884BE7F4C21F6423@HAL9007> Message-ID: Is that better or more reliable or more general than Format$(varDate, "\#mm\/dd\/yyyy\#")? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, September 22, 2011 11:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Here's what MS suggests: Function MakeUSDate(DateIn As Variant) As String ' Do nothing if the value is not a date. If Not IsDate(DateIn) Then Exit Function ' Convert the date to a U.S. Date format. MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & Year(DateIn) & "#" End Function I would suggest that if you're using SQL Server as an alternative BE you also have a function to return the proper date delimiter. Charlotte Foust On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin wrote: > Dear List: > > Because I'm old and can't remember (and the archives are down), I was > told how to filter with dates so that if a user is using international > dates it doesn't matter. > > The following code: > > If Nz(Forms!frmPOReport!txtGEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate >= #" & > Forms!frmPOReport!txtGEPromisedDate & "# " > End If > > If Nz(Forms!frmPOReport!txtLEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate <= #" & > Forms!frmPOReport!txtLEPromisedDate & "# " > > strSQL eventually ends up in Me.Filter. > > Works good in the USA. :) Fails in Nicaragua. :( > > Was it CDate I was supposed to use? > > Sorry for the redux. > > TIA > > 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 DWUTKA at Marlow.com Thu Sep 22 14:25:50 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 22 Sep 2011 14:25:50 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com> Message-ID: Again, globals are not a 'bad idea'. Globals can be misused. I don't think anyone can argue that. But almost anything can be misused. A global variable is merely a specific scope for a variable. You have procedural, modular and global. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, September 22, 2011 10:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Global Vars (was Ambiguous Name) I used to be the strongest argue-er for static functions, but then Access trumped with with its collection, and now I lean that way. It took a considerable amount of rewriting old apps, but the benefits are IMO abundant. If you have A2K7+ then look at the NorthWind app for evidence of how cool this works. To put it another way, globals are a bad idea, no matter what the scenario, IMO. In the old days, static functions were better. Then came JC's class-approach, which had beauty and class and ease of use, albeit with one downfall -- loading it into any new app is guaranteed to waste a bunch of memory irrelevant to this particular app; but RAM is cheap and the price is OK, but that said, I do choose to occupy the minimal amount of RAM, and that said, I load the library and see which functions/subs are not called and then remove them, so in theory the footprint is smaller. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Thu Sep 22 14:29:32 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 22 Sep 2011 14:29:32 -0500 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com> Message-ID: You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From jwcolby at colbyconsulting.com Thu Sep 22 14:54:42 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 22 Sep 2011 15:54:42 -0400 Subject: [AccessD] MySQL is broke now Message-ID: <4E7B9282.5060606@colbyconsulting.com> The service never ran. I did some stuff including modifying my.ini to add federated. Doing that stopped the error log being generated but the service still would not start. I found something that discusses deleting the service (which worked) but the thing that adds the service does not work. My windows paste buffer is not working between my VM and my laptop so the following is just typed in. The line is: mysql --install MySQL --defaults-file="C:\Program Files\MySQL\MySQL Server 5.5\My.Ini" This does in fact add a line to the services but the problem is that the service thinks that MySQLd.exe is in thesame location as that my.ini whereas it is in fact down in a bin under that dir. I.e. the "path to executable" is looking for the MySQLD.exe in the wrong place and thus cannot be started. This is getting annoying. I have been trying various things for hours and just cannot get MySQL to run as a service and now the entry in the service table (or registry?) is corrupted. Sigh. -- John W. Colby www.ColbyConsulting.com From fuller.artful at gmail.com Thu Sep 22 14:59:09 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 22 Sep 2011 15:59:09 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> Message-ID: Much as I wish to pursue this chat, there is something happening on my head. I am bleeding and I don't have a clue why, but it seems that I ought to attend to this. Back when curred! Whaoa, man, there is abundant stuff comin' outa my head. I don't even know what happened. This is is not gott. Will report back when all is fixed. Arthur From steve at datamanagementsolutions.biz Thu Sep 22 16:08:28 2011 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Fri, 23 Sep 2011 09:08:28 +1200 Subject: [AccessD] Filtering with International Dates In-Reply-To: References: <8123BC58741345EF884BE7F4C21F6423@HAL9007> Message-ID: Rocky As a person in a non-US zone, I have always used the CLng function in such circumstances. Works great. strSQL = strSQL & "fldPOPromisedDate <= " & CLng(Forms!frmPOReport!txtLEPromisedDate) Regards Steve -----Original Message----- From: Rocky Smolin Sent: Friday, September 23, 2011 7:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Filtering with International Dates Is that better or more reliable or more general than Format$(varDate, "\#mm\/dd\/yyyy\#")? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, September 22, 2011 11:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Here's what MS suggests: Function MakeUSDate(DateIn As Variant) As String ' Do nothing if the value is not a date. If Not IsDate(DateIn) Then Exit Function ' Convert the date to a U.S. Date format. MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & Year(DateIn) & "#" End Function I would suggest that if you're using SQL Server as an alternative BE you also have a function to return the proper date delimiter. Charlotte Foust On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin wrote: > Dear List: > > Because I'm old and can't remember (and the archives are down), I was > told how to filter with dates so that if a user is using international > dates it doesn't matter. > > The following code: > > If Nz(Forms!frmPOReport!txtGEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate >= #" & > Forms!frmPOReport!txtGEPromisedDate & "# " > End If > > If Nz(Forms!frmPOReport!txtLEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate <= #" & > Forms!frmPOReport!txtLEPromisedDate & "# " > > strSQL eventually ends up in Me.Filter. > > Works good in the USA. :) Fails in Nicaragua. :( > > Was it CDate I was supposed to use? > > Sorry for the redux. > > TIA > > 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 charlotte.foust at gmail.com Thu Sep 22 16:16:20 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 22 Sep 2011 14:16:20 -0700 Subject: [AccessD] Filtering with International Dates In-Reply-To: References: <8123BC58741345EF884BE7F4C21F6423@HAL9007> Message-ID: But a date isn't an integer of any length, so if you have times included in the date field, CLng would give you the wrong result. Charlotte Foust On Thu, Sep 22, 2011 at 2:08 PM, Steve Schapel < steve at datamanagementsolutions.biz> wrote: > Rocky > > As a person in a non-US zone, I have always used the CLng function in such > circumstances. Works great. > > strSQL = strSQL & "fldPOPromisedDate <= " & CLng(Forms!frmPOReport!** > txtLEPromisedDate) > > Regards > Steve > > -----Original Message----- From: Rocky Smolin > Sent: Friday, September 23, 2011 7:27 AM > > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Filtering with International Dates > > Is that better or more reliable or more general than > > Format$(varDate, "\#mm\/dd\/yyyy\#")? > > Rocky > > -----Original Message----- > From: accessd-bounces@**databaseadvisors.com > [mailto:accessd-bounces@**databaseadvisors.com] > On Behalf Of Charlotte Foust > Sent: Thursday, September 22, 2011 11:50 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Filtering with International Dates > > Here's what MS suggests: > > Function MakeUSDate(DateIn As Variant) As String > > ' Do nothing if the value is not a date. > > If Not IsDate(DateIn) Then Exit Function > > ' Convert the date to a U.S. Date format. > > MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & > Year(DateIn) & "#" > > End Function > > I would suggest that if you're using SQL Server as an alternative BE you > also have a function to return the proper date delimiter. > > Charlotte Foust > On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin > wrote: > > Dear List: >> >> Because I'm old and can't remember (and the archives are down), I was >> told how to filter with dates so that if a user is using international >> dates it doesn't matter. >> >> The following code: >> >> If Nz(Forms!frmPOReport!**txtGEPromisedDate) <> "" Then >> If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " >> strSQL = strSQL & "fldPOPromisedDate >= #" & >> Forms!frmPOReport!**txtGEPromisedDate & "# " >> End If >> >> If Nz(Forms!frmPOReport!**txtLEPromisedDate) <> "" Then >> If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " >> strSQL = strSQL & "fldPOPromisedDate <= #" & >> Forms!frmPOReport!**txtLEPromisedDate & "# " >> >> strSQL eventually ends up in Me.Filter. >> >> Works good in the USA. :) Fails in Nicaragua. :( >> >> Was it CDate I was supposed to use? >> >> Sorry for the redux. >> >> TIA >> >> 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 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From steve at datamanagementsolutions.biz Thu Sep 22 16:36:30 2011 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Fri, 23 Sep 2011 09:36:30 +1200 Subject: [AccessD] Filtering with International Dates In-Reply-To: References: <8123BC58741345EF884BE7F4C21F6423@HAL9007> Message-ID: <9FD44C573AD24BE3BA3BC91827E687F3@stevelaptop> That's correct, Chartlotte. If there is a time component, I use CDbl. Regards Steve -----Original Message----- From: Charlotte Foust Sent: Friday, September 23, 2011 9:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates But a date isn't an integer of any length, so if you have times included in the date field, CLng would give you the wrong result. Charlotte Foust On Thu, Sep 22, 2011 at 2:08 PM, Steve Schapel < steve at datamanagementsolutions.biz> wrote: > Rocky > > As a person in a non-US zone, I have always used the CLng function in such > circumstances. Works great. > > strSQL = strSQL & "fldPOPromisedDate <= " & CLng(Forms!frmPOReport!** > txtLEPromisedDate) > > Regards > Steve > > -----Original Message----- From: Rocky Smolin > Sent: Friday, September 23, 2011 7:27 AM > > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Filtering with International Dates > > Is that better or more reliable or more general than > > Format$(varDate, "\#mm\/dd\/yyyy\#")? > > Rocky > > -----Original Message----- > From: > accessd-bounces@**databaseadvisors.com > [mailto:accessd-bounces@**databaseadvisors.com] > On Behalf Of Charlotte Foust > Sent: Thursday, September 22, 2011 11:50 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Filtering with International Dates > > Here's what MS suggests: > > Function MakeUSDate(DateIn As Variant) As String > > ' Do nothing if the value is not a date. > > If Not IsDate(DateIn) Then Exit Function > > ' Convert the date to a U.S. Date format. > > MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & > Year(DateIn) & "#" > > End Function > > I would suggest that if you're using SQL Server as an alternative BE you > also have a function to return the proper date delimiter. > > Charlotte Foust > On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin > wrote: > > Dear List: >> >> Because I'm old and can't remember (and the archives are down), I was >> told how to filter with dates so that if a user is using international >> dates it doesn't matter. >> >> The following code: >> >> If Nz(Forms!frmPOReport!**txtGEPromisedDate) <> "" Then >> If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " >> strSQL = strSQL & "fldPOPromisedDate >= #" & >> Forms!frmPOReport!**txtGEPromisedDate & "# " >> End If >> >> If Nz(Forms!frmPOReport!**txtLEPromisedDate) <> "" Then >> If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " >> strSQL = strSQL & "fldPOPromisedDate <= #" & >> Forms!frmPOReport!**txtLEPromisedDate & "# " >> >> strSQL eventually ends up in Me.Filter. >> >> Works good in the USA. :) Fails in Nicaragua. :( >> >> Was it CDate I was supposed to use? >> >> Sorry for the redux. >> >> TIA >> >> 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 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/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 DWUTKA at Marlow.com Thu Sep 22 16:45:44 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 22 Sep 2011 16:45:44 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com> Message-ID: ACKKKK !!! Let us know when you are ok Arthur!!! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, September 22, 2011 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Global Vars (was Ambiguous Name) Much as I wish to pursue this chat, there is something happening on my head. I am bleeding and I don't have a clue why, but it seems that I ought to attend to this. Back when curred! Whaoa, man, there is abundant stuff comin' outa my head. I don't even know what happened. This is is not gott. Will report back when all is fixed. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From accessd at shaw.ca Thu Sep 22 16:58:41 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 22 Sep 2011 14:58:41 -0700 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> Message-ID: <2EB95DD236DB48CD942FAEFB4A67DDD2@creativesystemdesigns.com> Unfortunately, we are not talking about ASP.Net but rather classic ASP. :-( Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Thursday, September 22, 2011 11:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Hi Jim: I've built a couple of ASP.NET apps running off IIS with an Access back end. You definitely don't have to have Access installed. I think when you install .Net you get the drivers you need. Doug On Thu, Sep 22, 2011 at 10:44 AM, Jim Lawrence wrote: > Hi All: > > In the many years, I have worked with MS Access there is on thing I have > never done with it. I have never used MS Access as the DB for an > application > running off an IIS server...any web server for that matter...MS SQL, > Express, Oracle, MySQL etc but never MDB. > > So does MS Access have to be installed on the IIS server and does an > extension have to be added to the server etc.? Can just a set of drivers be > configured...? (If the truth be known I would just love to upsize to any > other DB and be done with it but that is not what the client wants; and the > client is always right.(?)) > > If any one has experience with this process, their knowledgeable tips would > be greatly appreciated. > > MTIA > 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 accessd at shaw.ca Thu Sep 22 17:00:56 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 22 Sep 2011 15:00:56 -0700 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> Message-ID: <511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> Does that mean Access have to be installed on the IIS server? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Sep 22 17:04:40 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 22 Sep 2011 15:04:40 -0700 Subject: [AccessD] MySQL is broke now In-Reply-To: <4E7B9282.5060606@colbyconsulting.com> References: <4E7B9282.5060606@colbyconsulting.com> Message-ID: <57B14928257044BB86837DCA8EF3102B@creativesystemdesigns.com> Post a message on OT_SQL...Hans will help you. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, September 22, 2011 12:55 PM To: Access Developers discussion and problem solving Subject: [AccessD] MySQL is broke now The service never ran. I did some stuff including modifying my.ini to add federated. Doing that stopped the error log being generated but the service still would not start. I found something that discusses deleting the service (which worked) but the thing that adds the service does not work. My windows paste buffer is not working between my VM and my laptop so the following is just typed in. The line is: mysql --install MySQL --defaults-file="C:\Program Files\MySQL\MySQL Server 5.5\My.Ini" This does in fact add a line to the services but the problem is that the service thinks that MySQLd.exe is in thesame location as that my.ini whereas it is in fact down in a bin under that dir. I.e. the "path to executable" is looking for the MySQLD.exe in the wrong place and thus cannot be started. This is getting annoying. I have been trying various things for hours and just cannot get MySQL to run as a service and now the entry in the service table (or registry?) is corrupted. Sigh. -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Sep 22 17:08:11 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 22 Sep 2011 15:08:11 -0700 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> Message-ID: <2A0245B6D3774330A2B2A64074601440@creativesystemdesigns.com> Wow, I hope you are OK... Post us as soon as you can. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, September 22, 2011 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Global Vars (was Ambiguous Name) Much as I wish to pursue this chat, there is something happening on my head. I am bleeding and I don't have a clue why, but it seems that I ought to attend to this. Back when curred! Whaoa, man, there is abundant stuff comin' outa my head. I don't even know what happened. This is is not gott. Will report back when all is fixed. Arthur From stuart at lexacorp.com.pg Thu Sep 22 17:10:57 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 23 Sep 2011 08:10:57 +1000 Subject: [AccessD] Filtering with International Dates In-Reply-To: References: <8123BC58741345EF884BE7F4C21F6423@HAL9007>, , Message-ID: <4E7BB271.31766.9156315@stuart.lexacorp.com.pg> CLng returns the wrong value if the data contains a time after midday (it rounds the day part up to the next day). I always use strSQL = ...Datevalue('" & txtDate & "').... -- Stuart On 22 Sep 2011 at 14:16, Charlotte Foust wrote: > But a date isn't an integer of any length, so if you have times > included in the date field, CLng would give you the wrong result. > > Charlotte Foust > > On Thu, Sep 22, 2011 at 2:08 PM, Steve Schapel < > steve at datamanagementsolutions.biz> wrote: > > > Rocky > > > > As a person in a non-US zone, I have always used the CLng function > > in such circumstances. Works great. > > > > strSQL = strSQL & "fldPOPromisedDate <= " & > > CLng(Forms!frmPOReport!** txtLEPromisedDate) > > > > Regards > > Steve > > > > -----Original Message----- From: Rocky Smolin > > Sent: Friday, September 23, 2011 7:27 AM > > > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Filtering with International Dates > > > > Is that better or more reliable or more general than > > > > Format$(varDate, "\#mm\/dd\/yyyy\#")? > > > > Rocky > > > > -----Original Message----- > > From: > > accessd-bounces@**databaseadvisors.com > ors.com> > > [mailto:accessd-bounces@**databaseadvisors.com > aseadvisors.com>] On Behalf Of Charlotte Foust Sent: Thursday, > > September 22, 2011 11:50 AM To: Access Developers discussion and > > problem solving Subject: Re: [AccessD] Filtering with International > > Dates > > > > Here's what MS suggests: > > > > Function MakeUSDate(DateIn As Variant) As String > > > > ' Do nothing if the value is not a date. > > > > If Not IsDate(DateIn) Then Exit Function > > > > ' Convert the date to a U.S. Date format. > > > > MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & > > Year(DateIn) & "#" > > > > End Function > > > > I would suggest that if you're using SQL Server as an alternative BE > > you also have a function to return the proper date delimiter. > > > > Charlotte Foust > > On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin > > wrote: > > > > Dear List: > >> > >> Because I'm old and can't remember (and the archives are down), I > >> was told how to filter with dates so that if a user is using > >> international dates it doesn't matter. > >> > >> The following code: > >> > >> If Nz(Forms!frmPOReport!**txtGEPromisedDate) <> "" Then > >> If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > >> strSQL = strSQL & "fldPOPromisedDate >= #" & > >> Forms!frmPOReport!**txtGEPromisedDate & "# " > >> End If > >> > >> If Nz(Forms!frmPOReport!**txtLEPromisedDate) <> "" Then > >> If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > >> strSQL = strSQL & "fldPOPromisedDate <= #" & > >> Forms!frmPOReport!**txtLEPromisedDate & "# " > >> > >> strSQL eventually ends up in Me.Filter. > >> > >> Works good in the USA. :) Fails in Nicaragua. :( > >> > >> Was it CDate I was supposed to use? > >> > >> Sorry for the redux. > >> > >> TIA > >> > >> Rocky > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/**mailman/listinfo/accessd >> aseadvisors.com/mailman/listinfo/accessd> > >> > >> > >> > >> > >> Website: > >> http://www.databaseadvisors.**com > >> > >> > >> > >> > >> > >> -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/accessd > seadvisors.com/mailman/listinfo/accessd> > > > > > > Website: > > http://www.databaseadvisors.**com > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/accessd > seadvisors.com/mailman/listinfo/accessd> > > > > > > Website: > > http://www.databaseadvisors.**com > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/accessd > seadvisors.com/mailman/listinfo/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 ab-mi at post3.tele.dk Thu Sep 22 17:12:29 2011 From: ab-mi at post3.tele.dk (Asger Blond) Date: Fri, 23 Sep 2011 00:12:29 +0200 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com> Message-ID: <85DE820BDE2B4B4E88D3D27F7298E51C@abpc> Yea, too bad - but that's what all of us must expect when entering global wars.. Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Drew Wutka Sendt: 22. september 2011 23:46 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Global Vars (was Ambiguous Name) ACKKKK !!! Let us know when you are ok Arthur!!! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, September 22, 2011 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Global Vars (was Ambiguous Name) Much as I wish to pursue this chat, there is something happening on my head. I am bleeding and I don't have a clue why, but it seems that I ought to attend to this. Back when curred! Whaoa, man, there is abundant stuff comin' outa my head. I don't even know what happened. This is is not gott. Will report back when all is fixed. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kismert at gmail.com Thu Sep 22 17:17:49 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Thu, 22 Sep 2011 17:17:49 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) Message-ID: > Gustav Brock: > You make it sound as if global variables happen > to be changed by magic. They don't, because you - > the programmer - decides what (and not who) can > set the value and when. Yes, a good recap of the 'discipline' argument for using globals. But discipline is much easier to enforce for yourself than to impose on others. When there are multiple programmers on a project, opportunities for confusion multiply. Once discipline breaks down, and the implicit rules for using particular globals get ignored or misunderstood, you are toast. So, my question to you is, are there simple programmatic lines of defense one can use to protect globals against obvious kinds of misuse? I think the answer is yes, and put forth two concepts. Maybe this is just a theoretical question, but I find thinking about it worthwhile. > If nothing can change a global variable ... what > should its purpose be? Use a constant in that case. There are plenty of cases where you want 'read-once' or 'setup-once' globals, that read local machine settings, setup a global object for persistent use, etc. But in the end, I largely agree with you. Globals are only bad when they are misused. But enforcing discipline can be tricky. -Ken From jimdettman at verizon.net Thu Sep 22 17:21:31 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 22 Sep 2011 18:21:31 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com> Message-ID: Head wounds always bleed like there's no tomorrow. I had a nick the size of a pencil eraser once and totally soaked the shirt I was wearing. Let's hope he thought to sit down and get some pressure on it. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 05:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Global Vars (was Ambiguous Name) ACKKKK !!! Let us know when you are ok Arthur!!! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, September 22, 2011 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Global Vars (was Ambiguous Name) Much as I wish to pursue this chat, there is something happening on my head. I am bleeding and I don't have a clue why, but it seems that I ought to attend to this. Back when curred! Whaoa, man, there is abundant stuff comin' outa my head. I don't even know what happened. This is is not gott. Will report back when all is fixed. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Sep 22 17:25:22 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 22 Sep 2011 15:25:22 -0700 Subject: [AccessD] Filtering with International Dates In-Reply-To: References: <8123BC58741345EF884BE7F4C21F6423@HAL9007> Message-ID: <96BC5E0E427B4876AB655C25A90D0C21@HAL9007> Cool. That would seem to be pretty universal then regardless of source format? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Thursday, September 22, 2011 2:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Rocky As a person in a non-US zone, I have always used the CLng function in such circumstances. Works great. strSQL = strSQL & "fldPOPromisedDate <= " & CLng(Forms!frmPOReport!txtLEPromisedDate) Regards Steve -----Original Message----- From: Rocky Smolin Sent: Friday, September 23, 2011 7:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Filtering with International Dates Is that better or more reliable or more general than Format$(varDate, "\#mm\/dd\/yyyy\#")? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, September 22, 2011 11:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Here's what MS suggests: Function MakeUSDate(DateIn As Variant) As String ' Do nothing if the value is not a date. If Not IsDate(DateIn) Then Exit Function ' Convert the date to a U.S. Date format. MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & Year(DateIn) & "#" End Function I would suggest that if you're using SQL Server as an alternative BE you also have a function to return the proper date delimiter. Charlotte Foust On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin wrote: > Dear List: > > Because I'm old and can't remember (and the archives are down), I was > told how to filter with dates so that if a user is using international > dates it doesn't matter. > > The following code: > > If Nz(Forms!frmPOReport!txtGEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate >= #" & > Forms!frmPOReport!txtGEPromisedDate & "# " > End If > > If Nz(Forms!frmPOReport!txtLEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate <= #" & > Forms!frmPOReport!txtLEPromisedDate & "# " > > strSQL eventually ends up in Me.Filter. > > Works good in the USA. :) Fails in Nicaragua. :( > > Was it CDate I was supposed to use? > > Sorry for the redux. > > TIA > > 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kismert at gmail.com Thu Sep 22 17:33:47 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Thu, 22 Sep 2011 17:33:47 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) Message-ID: > Stuart McLachlan: > You and I obviously have a different definition of > "Global". :-) Changing Private to Public changes > everything ... > ... Why not just create a Globals object instead > and get full class functionality? 'Global Variables' includes globally scoped classes or static functions that allow changeable values. This is my critical point: a writable property of a global class can be changed by anyone anywhere at any time -- just like a global variable, which is supposedly 'bad' for the same reason. So, just using global classes or functions doesn't fix the root problem of global variables. > Read once, write many variable: > Static Function mySafeGlobal(Optional invalue as Variant) as Variant > Dim store as Variant > If not isempty(store) then > mySafeGlobal = store > Exit Function > End if > If not ismissing(invalue) then > store = invalue > mySafeGlobal = store > End if > End Function Looking at the code, I assume you mean 'write once, read many'. And a typo: store should be Static, nod Dim'ed, otherwise you can change the value every time it is called. I use functions similar to this all the time. Contributing code is the most valuable way to work through the real issues of this discussion. -Ken From kismert at gmail.com Thu Sep 22 17:40:07 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Thu, 22 Sep 2011 17:40:07 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) Message-ID: > Drew Wutka: > ... > So, even if you wrap your global variables inside of a > class, you are still scoping an instance of that class > globally, which makes it a global variable... My point exactly. The 'globals are bad' camp haven't explained how a code wrapper that lets you change the value makes the global problem go away. And yes, there are common situations in Access where you want changeable global values. The only advantage I see to the wrapper is that you get to set a breakpoint. Little help when it fails in the field. -Ken From DWUTKA at Marlow.com Thu Sep 22 17:39:51 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 22 Sep 2011 17:39:51 -0500 Subject: [AccessD] MS Access with IIS In-Reply-To: <511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com> <511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> Message-ID: Nope.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 5:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Does that mean Access have to be installed on the IIS server? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From steve at datamanagementsolutions.biz Thu Sep 22 17:56:35 2011 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Fri, 23 Sep 2011 10:56:35 +1200 Subject: [AccessD] Filtering with International Dates In-Reply-To: <96BC5E0E427B4876AB655C25A90D0C21@HAL9007> References: <8123BC58741345EF884BE7F4C21F6423@HAL9007> <96BC5E0E427B4876AB655C25A90D0C21@HAL9007> Message-ID: Yes, Rocky, it always works. A proviso I think is that if you are using an unbound textbox to gather your date criteria, and then referring to that textbox in your code (Me.MyTextbox or Forms!MyForm!MyTextbox), the textbox's Format property should be set to a valid date format. Yes, if you need to cater to a time component (in my experience this is very rare in the type of circumstance you described), then you need to make sure you write your code accordingly, but that is also very easy. Regards Steve -----Original Message----- From: Rocky Smolin Sent: Friday, September 23, 2011 10:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Filtering with International Dates Cool. That would seem to be pretty universal then regardless of source format? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Thursday, September 22, 2011 2:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Rocky As a person in a non-US zone, I have always used the CLng function in such circumstances. Works great. strSQL = strSQL & "fldPOPromisedDate <= " & CLng(Forms!frmPOReport!txtLEPromisedDate) Regards Steve -----Original Message----- From: Rocky Smolin Sent: Friday, September 23, 2011 7:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Filtering with International Dates Is that better or more reliable or more general than Format$(varDate, "\#mm\/dd\/yyyy\#")? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, September 22, 2011 11:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Here's what MS suggests: Function MakeUSDate(DateIn As Variant) As String ' Do nothing if the value is not a date. If Not IsDate(DateIn) Then Exit Function ' Convert the date to a U.S. Date format. MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & Year(DateIn) & "#" End Function I would suggest that if you're using SQL Server as an alternative BE you also have a function to return the proper date delimiter. Charlotte Foust On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin wrote: > Dear List: > > Because I'm old and can't remember (and the archives are down), I was > told how to filter with dates so that if a user is using international > dates it doesn't matter. > > The following code: > > If Nz(Forms!frmPOReport!txtGEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate >= #" & > Forms!frmPOReport!txtGEPromisedDate & "# " > End If > > If Nz(Forms!frmPOReport!txtLEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate <= #" & > Forms!frmPOReport!txtLEPromisedDate & "# " > > strSQL eventually ends up in Me.Filter. > > Works good in the USA. :) Fails in Nicaragua. :( > > Was it CDate I was supposed to use? > > Sorry for the redux. > > TIA > > 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Thu Sep 22 18:57:49 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Thu, 22 Sep 2011 18:57:49 -0500 Subject: [AccessD] SSDs and BE storage Message-ID: I'm sorry that you felt my remarks were unkind. You have done your own research, and have taken steps to mitigate the risks by limiting how your SSDs are used. And you are planning for failure with a robust backup scheme using traditional HDDs. Still, my first experience with an SSD out of the box was that the firmware had a critical bug, which required an update that wasn't available, because the maker needed a lot of time to test the revision. It seems likely that the real cause is that the drive, being a consumer level product, didn't have enough capacitance built-in to shut down gracefully during a power outage. Maybe we made a poor choice, but the device was from a dominant player in the industry. Not a confidence builder. Also, some of your own comments don't bolster your overall glowing endorsement. To wit: the SSD's with the 34 micron chips are good but the new 28 micron chips are bad? That sounds like caveat emptor to me. Problems with scaling down and firmware issues sound to me like indicators of a technology that is still not mature enough to be suitable as drop-in replacements for HDDs in a broad range of server applications. And yes, the one source I quoted does sound like a guy fishing for consulting work, but you conveniently neglected to criticize my other reference, who said things more central to my point, and who seems more credible. Certainly, the technology will mature, and adoption rates will climb. Operating systems that optimize for SSDs will become more popular. Right now, for our server installation, I'm content to wait it out. -Ken From accessd at shaw.ca Thu Sep 22 20:19:53 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 22 Sep 2011 18:19:53 -0700 Subject: [AccessD] Open Source Cloud In-Reply-To: <000001cc7949$4180df00$c4829d00$@winhaven.net> References: <015a01cc78ed$0f1246a0$2d36d3e0$@winhaven.net> <000001cc7949$4180df00$c4829d00$@winhaven.net> Message-ID: <8006FA011228414CA042F947B0D1070F@creativesystemdesigns.com> The Open Source Cloud is here and another homerun for the Open Source community. OpenStack Diablo is a Quantum Leap for Open Source Cloud. OpenStack has been criticized by some as "the consortium of people who can't figure out how to compete with Amazon Web Services on their own." Well, they are half-right. http://www.readwriteweb.com/cloud/2011/09/openstack-diablo-is-a-quantum.php Now all those who wanted to dabble and expand their knowledge into the Cloud have a low cost place to start. Here is a perfect place to run a small (or large) set of travelling applications from; imaging, backups, structure data storage, user access control, etc. To download to your (Ubuntu) Linux (virtual) server: http://www.openstack.org/projects/compute/ Jim From charlotte.foust at gmail.com Thu Sep 22 20:25:45 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 22 Sep 2011 18:25:45 -0700 Subject: [AccessD] Filtering with International Dates In-Reply-To: <9FD44C573AD24BE3BA3BC91827E687F3@stevelaptop> References: <8123BC58741345EF884BE7F4C21F6423@HAL9007> <9FD44C573AD24BE3BA3BC91827E687F3@stevelaptop> Message-ID: One thing I learned the hard way is that there is ALWAYS a time component, even if it's midnight. Using it on a consistent basis is a good idea because assumptions can come back to haunt you. Charlotte Foust On Thu, Sep 22, 2011 at 2:36 PM, Steve Schapel < steve at datamanagementsolutions.biz> wrote: > That's correct, Chartlotte. If there is a time component, I use CDbl. > > Regards > Steve > > -----Original Message----- From: Charlotte Foust > Sent: Friday, September 23, 2011 9:16 AM > > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Filtering with International Dates > > But a date isn't an integer of any length, so if you have times included in > the date field, CLng would give you the wrong result. > > Charlotte Foust > > On Thu, Sep 22, 2011 at 2:08 PM, Steve Schapel < > steve at datamanagementsolutions.**biz > > wrote: > > Rocky >> >> As a person in a non-US zone, I have always used the CLng function in such >> circumstances. Works great. >> >> strSQL = strSQL & "fldPOPromisedDate <= " & CLng(Forms!frmPOReport!** >> txtLEPromisedDate) >> >> Regards >> Steve >> >> -----Original Message----- From: Rocky Smolin >> Sent: Friday, September 23, 2011 7:27 AM >> >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Filtering with International Dates >> >> Is that better or more reliable or more general than >> >> Format$(varDate, "\#mm\/dd\/yyyy\#")? >> >> Rocky >> >> -----Original Message----- >> From: accessd-bounces@**databaseadvi**sors.com >> >> >> > >> [mailto:accessd-bounces@**data**baseadvisors.com >> >> >> >] >> >> On Behalf Of Charlotte Foust >> Sent: Thursday, September 22, 2011 11:50 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Filtering with International Dates >> >> Here's what MS suggests: >> >> Function MakeUSDate(DateIn As Variant) As String >> >> ' Do nothing if the value is not a date. >> >> If Not IsDate(DateIn) Then Exit Function >> >> ' Convert the date to a U.S. Date format. >> >> MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & >> Year(DateIn) & "#" >> >> End Function >> >> I would suggest that if you're using SQL Server as an alternative BE you >> also have a function to return the proper date delimiter. >> >> Charlotte Foust >> On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin >> wrote: >> >> Dear List: >> >>> >>> Because I'm old and can't remember (and the archives are down), I was >>> told how to filter with dates so that if a user is using international >>> dates it doesn't matter. >>> >>> The following code: >>> >>> If Nz(Forms!frmPOReport!****txtGEPromisedDate) <> "" Then >>> If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " >>> strSQL = strSQL & "fldPOPromisedDate >= #" & >>> Forms!frmPOReport!****txtGEPromisedDate & "# " >>> End If >>> >>> If Nz(Forms!frmPOReport!****txtLEPromisedDate) <> "" Then >>> If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " >>> strSQL = strSQL & "fldPOPromisedDate <= #" & >>> Forms!frmPOReport!****txtLEPromisedDate & "# " >>> >>> strSQL eventually ends up in Me.Filter. >>> >>> Works good in the USA. :) Fails in Nicaragua. :( >>> >>> Was it CDate I was supposed to use? >>> >>> Sorry for the redux. >>> >>> TIA >>> >>> 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 >> >> > >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/****mailman/listinfo/accessd >> >> >> >> > >> >> >> Website: http://www.databaseadvisors. >> >> ****com >> >> > >> >> >> >> -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From accessd at shaw.ca Thu Sep 22 20:32:19 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 22 Sep 2011 18:32:19 -0700 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> <511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> Message-ID: Well, you have me at a disadvantage as I do not know what you mean? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 3:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Nope.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 5:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Does that mean Access have to be installed on the IIS server? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From steve at datamanagementsolutions.biz Thu Sep 22 20:46:46 2011 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Fri, 23 Sep 2011 13:46:46 +1200 Subject: [AccessD] Filtering with International Dates In-Reply-To: References: <8123BC58741345EF884BE7F4C21F6423@HAL9007><9FD44C573AD24BE3BA3BC91827E687F3@stevelaptop> Message-ID: <6E600A1F79A9453C9AAB7CA6A2529118@stevelaptop> Sorry, Charlotte, on this occasion I have to disagree with you. "Assumptions" doesn't come into it at all. I don't make assumptions about this stuff. I know my applications. I know whether there will be a time component in a Date/Time field, or in a criteria entered in an unbound textbox. No assumption. And if there is or could be a time component, I also know whether and how I need to deal with it. The approach to date criteria that I have mentioned to Rocky here has never come back to haunt me ... and I have used it a lot - hundreds of times. There might be a application development style consideration here. Except in very exceptional circumstances, if there is a time value, I normally have it in a separate field. Very seldom do I have a date and time combined in a single field. So the issue you raise seldom arises for me anyway. Regards Steve -----Original Message----- From: Charlotte Foust Sent: Friday, September 23, 2011 1:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates One thing I learned the hard way is that there is ALWAYS a time component, even if it's midnight. Using it on a consistent basis is a good idea because assumptions can come back to haunt you. Charlotte Foust On Thu, Sep 22, 2011 at 2:36 PM, Steve Schapel < steve at datamanagementsolutions.biz> wrote: > That's correct, Chartlotte. If there is a time component, I use CDbl. > > Regards > Steve > > -----Original Message----- From: Charlotte Foust > Sent: Friday, September 23, 2011 9:16 AM > > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Filtering with International Dates > > But a date isn't an integer of any length, so if you have times included > in > the date field, CLng would give you the wrong result. > > Charlotte Foust > > On Thu, Sep 22, 2011 at 2:08 PM, Steve Schapel < > steve at datamanagementsolutions.**biz > > wrote: > > Rocky >> >> As a person in a non-US zone, I have always used the CLng function in >> such >> circumstances. Works great. >> >> strSQL = strSQL & "fldPOPromisedDate <= " & CLng(Forms!frmPOReport!** >> txtLEPromisedDate) >> >> Regards >> Steve >> >> -----Original Message----- From: Rocky Smolin >> Sent: Friday, September 23, 2011 7:27 AM >> >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Filtering with International Dates >> >> Is that better or more reliable or more general than >> >> Format$(varDate, "\#mm\/dd\/yyyy\#")? >> >> Rocky >> >> -----Original Message----- >> From: >> accessd-bounces@**databaseadvi**sors.com >> >> >> > >> [mailto:accessd-bounces@**data**baseadvisors.com >> >> >> >] >> >> On Behalf Of Charlotte Foust >> Sent: Thursday, September 22, 2011 11:50 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Filtering with International Dates >> >> Here's what MS suggests: >> >> Function MakeUSDate(DateIn As Variant) As String >> >> ' Do nothing if the value is not a date. >> >> If Not IsDate(DateIn) Then Exit Function >> >> ' Convert the date to a U.S. Date format. >> >> MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & >> Year(DateIn) & "#" >> >> End Function >> >> I would suggest that if you're using SQL Server as an alternative BE you >> also have a function to return the proper date delimiter. >> >> Charlotte Foust >> On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin >> wrote: >> >> Dear List: >> >>> >>> Because I'm old and can't remember (and the archives are down), I was >>> told how to filter with dates so that if a user is using international >>> dates it doesn't matter. >>> >>> The following code: >>> >>> If Nz(Forms!frmPOReport!****txtGEPromisedDate) <> "" Then >>> If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " >>> strSQL = strSQL & "fldPOPromisedDate >= #" & >>> Forms!frmPOReport!****txtGEPromisedDate & "# " >>> End If >>> >>> If Nz(Forms!frmPOReport!****txtLEPromisedDate) <> "" Then >>> If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " >>> strSQL = strSQL & "fldPOPromisedDate <= #" & >>> Forms!frmPOReport!****txtLEPromisedDate & "# " >>> >>> strSQL eventually ends up in Me.Filter. >>> >>> Works good in the USA. :) Fails in Nicaragua. :( >>> >>> Was it CDate I was supposed to use? >>> >>> Sorry for the redux. >>> >>> TIA >>> >>> 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 >> >> > >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/****mailman/listinfo/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 jwcolby at colbyconsulting.com Thu Sep 22 21:31:29 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 22 Sep 2011 22:31:29 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: Message-ID: <4E7BEF81.7070607@colbyconsulting.com> > The only advantage I see to the wrapper is that you get to set a breakpoint. A little more help that that. You can add code that logs the change and the time of day, the workstation running the code or whatever you can think of that might help you troubleshoot the issue. You can add code that limits the values that can go into the variable. Perhaps the global is a date and the date should never be before D day, but somehow it is being set to the date of black friday. Perhaps it is a currency and should never be negative. Perhaps it is a long that should only be between 1000 and 10000. Perhaps it is a date that must always be between two other date variables. Properties exist because they allow you to do validations. Today (when you define the global variable) you cannot imagine that you would ever need such a thing, yet in six months you see six very good reasons. Properties can be read-only (from outside of the module) or write only (from outside of the module). Globals are just a variable that anyone can set at any time for any reason. I have lots of "globals" which can be set from inside of the module but only read from outside (through a property). These are "global" in that anything anywhere can read them, but not write them. There are lots of programmers that have thousands of variables that are global, everything in sight. There are others that have a dozen carefully selected. I have a dozen, carefully selected, but I do in fact have a dozen or so. I use a lot of class and module private variables in the header area (global to the class or module). The simple truth is that no variable should have scope beyond what is needed for that variable. Scope exists for a reason. Global would not exist if it were not occasionally necessary. Module and class "global" (private in the header of the module and class) exist because they are needed. They are still global but only to that module or class. If it were good practice to make everything global then having private keywords would be unnecessary. John W. Colby www.ColbyConsulting.com On 9/22/2011 6:40 PM, Kenneth Ismert wrote: >> Drew Wutka: >> ... >> So, even if you wrap your global variables inside of a >> class, you are still scoping an instance of that class >> globally, which makes it a global variable... > > My point exactly. The 'globals are bad' camp haven't explained how a code > wrapper that lets you change the value makes the global problem go away. > > And yes, there are common situations in Access where you want changeable > global values. > > The only advantage I see to the wrapper is that you get to set a breakpoint. > Little help when it fails in the field. > > -Ken From jwcolby at colbyconsulting.com Thu Sep 22 21:51:26 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 22 Sep 2011 22:51:26 -0400 Subject: [AccessD] SSDs and BE storage In-Reply-To: References: Message-ID: <4E7BF42E.1060602@colbyconsulting.com> The truth be known Ken I pretty much agree with the general assessment of SSDs. It is an immature technology, which you do have to study and plan for. It is not a drop in replacement for rotating media. It needs special handling. Like any other technology it has a bathtub curve wherein you are going to have failures in the first 90 days, and if you get past that point... And if you are in a position where you can afford SLC I highly recommend that. SSD is definitely a technology where the die shrink works for density but against reliability. OTOH it works against DRAM as well, yet I don't hear you railing against that. In point of fact we are rapidly getting to the point where die shrink works against most technology reliability. NASA does not send modern electronics into space precisely because high energy particles can cause significant charge displacement as the gates get so small, whereas the older technologies really did not have that issue. Servers use ECC precisely for the same reason, the gates are getting so small that they have to have safeguards against errors that were previously unheard of. So yes, I study the issues, I study the technology, I study the safeguards and I study the requirements in a way that I really don't need to do with rotating media. But I need the benefits enough to make the effort worthwhile. I used to swear by the top player and I used their product and I love the product that I bought from them two years ago. Today I have switched to another player because my old choice is not reliable (due to using 28 nm chips). I believe that long term, they will figure out how to use the 28 nm chips but today I won't use them, and there are players who agree and do not use them (yet). It is my job to know this stuff if I am going to try and use it, to know what I can use it for and what I cannot. John W. Colby www.ColbyConsulting.com On 9/22/2011 7:57 PM, Kenneth Ismert wrote: > I'm sorry that you felt my remarks were unkind. You have done your own > research, and have taken steps to mitigate the risks by limiting how your > SSDs are used. And you are planning for failure with a robust backup scheme > using traditional HDDs. > > Still, my first experience with an SSD out of the box was that the firmware > had a critical bug, which required an update that wasn't available, because > the maker needed a lot of time to test the revision. It seems likely that > the real cause is that the drive, being a consumer level product, didn't > have enough capacitance built-in to shut down gracefully during a power > outage. Maybe we made a poor choice, but the device was from a dominant > player in the industry. Not a confidence builder. > > Also, some of your own comments don't bolster your overall glowing > endorsement. To wit: the SSD's with the 34 micron chips are good but the new > 28 micron chips are bad? That sounds like caveat emptor to me. Problems with > scaling down and firmware issues sound to me like indicators of a technology > that is still not mature enough to be suitable as drop-in replacements for > HDDs in a broad range of server applications. > > And yes, the one source I quoted does sound like a guy fishing for > consulting work, but you conveniently neglected to criticize my other > reference, who said things more central to my point, and who seems more > credible. > > Certainly, the technology will mature, and adoption rates will climb. > Operating systems that optimize for SSDs will become more popular. Right > now, for our server installation, I'm content to wait it out. > > -Ken From rockysmolin at bchacc.com Thu Sep 22 22:17:04 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 22 Sep 2011 20:17:04 -0700 Subject: [AccessD] Filtering with International Dates In-Reply-To: References: <8123BC58741345EF884BE7F4C21F6423@HAL9007><96BC5E0E427B4876AB655C25A90D0C21@HAL9007> Message-ID: <6C72CCBD694243A09AF4AF68C9080368@HAL9007> What happens if you use CDbl on a date string with no time? R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Thursday, September 22, 2011 3:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Yes, Rocky, it always works. A proviso I think is that if you are using an unbound textbox to gather your date criteria, and then referring to that textbox in your code (Me.MyTextbox or Forms!MyForm!MyTextbox), the textbox's Format property should be set to a valid date format. Yes, if you need to cater to a time component (in my experience this is very rare in the type of circumstance you described), then you need to make sure you write your code accordingly, but that is also very easy. Regards Steve -----Original Message----- From: Rocky Smolin Sent: Friday, September 23, 2011 10:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Filtering with International Dates Cool. That would seem to be pretty universal then regardless of source format? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Thursday, September 22, 2011 2:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Rocky As a person in a non-US zone, I have always used the CLng function in such circumstances. Works great. strSQL = strSQL & "fldPOPromisedDate <= " & CLng(Forms!frmPOReport!txtLEPromisedDate) Regards Steve -----Original Message----- From: Rocky Smolin Sent: Friday, September 23, 2011 7:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Filtering with International Dates Is that better or more reliable or more general than Format$(varDate, "\#mm\/dd\/yyyy\#")? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, September 22, 2011 11:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Here's what MS suggests: Function MakeUSDate(DateIn As Variant) As String ' Do nothing if the value is not a date. If Not IsDate(DateIn) Then Exit Function ' Convert the date to a U.S. Date format. MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & Year(DateIn) & "#" End Function I would suggest that if you're using SQL Server as an alternative BE you also have a function to return the proper date delimiter. Charlotte Foust On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin wrote: > Dear List: > > Because I'm old and can't remember (and the archives are down), I was > told how to filter with dates so that if a user is using international > dates it doesn't matter. > > The following code: > > If Nz(Forms!frmPOReport!txtGEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate >= #" & > Forms!frmPOReport!txtGEPromisedDate & "# " > End If > > If Nz(Forms!frmPOReport!txtLEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate <= #" & > Forms!frmPOReport!txtLEPromisedDate & "# " > > strSQL eventually ends up in Me.Filter. > > Works good in the USA. :) Fails in Nicaragua. :( > > Was it CDate I was supposed to use? > > Sorry for the redux. > > TIA > > 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Thu Sep 22 22:35:06 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 22 Sep 2011 23:35:06 -0400 Subject: [AccessD] MySQL is broke now In-Reply-To: <57B14928257044BB86837DCA8EF3102B@creativesystemdesigns.com> References: <4E7B9282.5060606@colbyconsulting.com> <57B14928257044BB86837DCA8EF3102B@creativesystemdesigns.com> Message-ID: <4E7BFE6A.1060006@colbyconsulting.com> Well, I did an uninstall and reinstall and now I am able to connect to the MYSql server from outside of the VM, using the Hamachi IP, root and the password. Unfortunately from inside of the vm I still cannot get WampServer to talk to the server. It still gives me an error message about the username or password being wrong - (using password: No). I set the password in the phpmyadmin init file but no joy. What I have discovered is that when running MySQL as a service, wampserver will not start correctly. If I stop MySQL service, wampserver now starts (though it still cannot connect to MySQL) but it is now green instead of orange. however with Wampserver started MySQL service will not start. quitting wampserver allows the MySQL Service to start again. The bottom line is that I can now get at MySQL from outside of the VM with the service startwd, which I could not do with the service not started. I need access from outside of the vm, so i guess (for now) I just give up on wampserver. Sigh. John W. Colby www.ColbyConsulting.com On 9/22/2011 6:04 PM, Jim Lawrence wrote: > Post a message on OT_SQL...Hans will help you. ;-) > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, September 22, 2011 12:55 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] MySQL is broke now > > The service never ran. I did some stuff including modifying my.ini to add > federated. > > Doing that stopped the error log being generated but the service still would > not start. I found > something that discusses deleting the service (which worked) but the thing > that adds the service > does not work. > > My windows paste buffer is not working between my VM and my laptop so the > following is just typed in. > > The line is: > > mysql --install MySQL --defaults-file="C:\Program Files\MySQL\MySQL Server > 5.5\My.Ini" > > This does in fact add a line to the services but the problem is that the > service thinks that > MySQLd.exe is in thesame location as that my.ini whereas it is in fact down > in a bin under that dir. > > I.e. the "path to executable" is looking for the MySQLD.exe in the wrong > place and thus cannot be > started. > > This is getting annoying. I have been trying various things for hours and > just cannot get MySQL to > run as a service and now the entry in the service table (or registry?) is > corrupted. > > Sigh. > From steve at datamanagementsolutions.biz Fri Sep 23 00:19:10 2011 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Fri, 23 Sep 2011 17:19:10 +1200 Subject: [AccessD] Filtering with International Dates In-Reply-To: <6C72CCBD694243A09AF4AF68C9080368@HAL9007> References: <8123BC58741345EF884BE7F4C21F6423@HAL9007><96BC5E0E427B4876AB655C25A90D0C21@HAL9007> <6C72CCBD694243A09AF4AF68C9080368@HAL9007> Message-ID: <4FE12949B2B744C3B2A4694407272292@stevelaptop> Yes, Rocky, you could use CDbl in all cases, if you wanted a "catchall" >From Immediate Window: ? CLng(Date()) 40809 ? CDbl(Date()) 40809 ? CLng(Now()) 40810 (it's afternoon here - as identified by Stuart) ? CDbl(Now()) 40809.7191203704 Regards Steve -----Original Message----- From: Rocky Smolin Sent: Friday, September 23, 2011 3:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Filtering with International Dates What happens if you use CDbl on a date string with no time? R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Thursday, September 22, 2011 3:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Yes, Rocky, it always works. A proviso I think is that if you are using an unbound textbox to gather your date criteria, and then referring to that textbox in your code (Me.MyTextbox or Forms!MyForm!MyTextbox), the textbox's Format property should be set to a valid date format. Yes, if you need to cater to a time component (in my experience this is very rare in the type of circumstance you described), then you need to make sure you write your code accordingly, but that is also very easy. Regards Steve -----Original Message----- From: Rocky Smolin Sent: Friday, September 23, 2011 10:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Filtering with International Dates Cool. That would seem to be pretty universal then regardless of source format? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Thursday, September 22, 2011 2:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Rocky As a person in a non-US zone, I have always used the CLng function in such circumstances. Works great. strSQL = strSQL & "fldPOPromisedDate <= " & CLng(Forms!frmPOReport!txtLEPromisedDate) Regards Steve -----Original Message----- From: Rocky Smolin Sent: Friday, September 23, 2011 7:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Filtering with International Dates Is that better or more reliable or more general than Format$(varDate, "\#mm\/dd\/yyyy\#")? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, September 22, 2011 11:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Here's what MS suggests: Function MakeUSDate(DateIn As Variant) As String ' Do nothing if the value is not a date. If Not IsDate(DateIn) Then Exit Function ' Convert the date to a U.S. Date format. MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & Year(DateIn) & "#" End Function I would suggest that if you're using SQL Server as an alternative BE you also have a function to return the proper date delimiter. Charlotte Foust On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin wrote: > Dear List: > > Because I'm old and can't remember (and the archives are down), I was > told how to filter with dates so that if a user is using international > dates it doesn't matter. > > The following code: > > If Nz(Forms!frmPOReport!txtGEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate >= #" & > Forms!frmPOReport!txtGEPromisedDate & "# " > End If > > If Nz(Forms!frmPOReport!txtLEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate <= #" & > Forms!frmPOReport!txtLEPromisedDate & "# " > > strSQL eventually ends up in Me.Filter. > > Works good in the USA. :) Fails in Nicaragua. :( > > Was it CDate I was supposed to use? > > Sorry for the redux. > > TIA > > 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 mwp.reid at qub.ac.uk Fri Sep 23 02:24:03 2011 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 23 Sep 2011 08:24:03 +0100 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> <511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> Message-ID: <631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> Jim Put only the mdb file on the web server running IIS and you should be Ok to go. You do not need to install office or Access on the web server for it to work. Martin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: 23 September 2011 02:32 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Well, you have me at a disadvantage as I do not know what you mean? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 3:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Nope.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 5:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Does that mean Access have to be installed on the IIS server? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Sep 23 05:11:26 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 23 Sep 2011 12:11:26 +0200 Subject: [AccessD] Filtering with International Dates Message-ID: Hi Rocky You are a clever man not to be fooled! There really is no reason to convert dates to numerals. If you can use the date value, use it as is, if not - as often when you build SQL strings - convert it to a proper string expression. The proven method is to use Format and the ISO format: Format(somedatetime, "yyyy\/mm\/dd hh\:nn\:ss") For JET SQL this must be wrapped in #..#, for SQL Server it is single quotes '..' You may get away with using the US mm/dd/yyyy format but it will fail for ADO and FindFirst, thus you can just as well make it a habit to use the ISO format which now is the preferred for SQL Server as well. If you need to cut off a time part to obtain the date part only, a safe and the fastest method is Fix: Fix(somedatetime) because it: - works correctly for dates prior to 1899-12-30 - returns data type date - always rounds off - is native to SQL The use of CDbl or CLng is not very useful. CDbl just returns the underlying data type (Double) of data type Date so you should CDate instead, and CLng will round PM time parts incorrectly, and they both fail for a clean string input like "5/3/2005" which CDate does not. If you need to convert strings to date and time, use CDate for time expressions or to include a time part with a date, or DateValue for dates where the time part should be excluded. When to use date value and when a string expression for a date value is quite simple. When a function is used in SQL, it should return a date value; when you build a SQL string it must be a string expression. Thus, as mentioned by Stuart, this will work because CDate and DateValue (and TimeValue) understands a string formatted as the local settings of Windows: "where [datefield] = Datevalue('" & txtDate & "')" as will this: "where [datefield] = #" & Format(DateValue(txtDate), "yyyy\/mm\/dd") & "#" which, as Format - when using a date format - will try to read the value to format as a date, can be reduced to: "where [datefield] = #" & Format(txtDate, "yyyy\/mm\/dd") & "#" /gustav >>> rockysmolin at bchacc.com 23-09-2011 05:17 >>> What happens if you use CDbl on a date string with no time? R From rockysmolin at bchacc.com Fri Sep 23 07:35:36 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 23 Sep 2011 05:35:36 -0700 Subject: [AccessD] Filtering with International Dates In-Reply-To: References: Message-ID: <6EFC52761EBA4B339988DC086520C56C@HAL9007> Gustav: Dang - it's like taking a class. :) I found this on the web as you suggest: Format$(Forms!frmPOReport!txtGEPromisedDate, "\#mm\/dd\/yyyy\#") (Don't know why the $ after Format but it compiles OK) And it seems to work. But I have to comb through my manufacturing app now - which is a very date driven app, lots of reports where I give the user the option to filter by date - and change those occurrences to something which will be as bulletproof as possible. It looks like that's the best approach in your opinion? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, September 23, 2011 3:11 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Filtering with International Dates Hi Rocky You are a clever man not to be fooled! There really is no reason to convert dates to numerals. If you can use the date value, use it as is, if not - as often when you build SQL strings - convert it to a proper string expression. The proven method is to use Format and the ISO format: Format(somedatetime, "yyyy\/mm\/dd hh\:nn\:ss") For JET SQL this must be wrapped in #..#, for SQL Server it is single quotes '..' You may get away with using the US mm/dd/yyyy format but it will fail for ADO and FindFirst, thus you can just as well make it a habit to use the ISO format which now is the preferred for SQL Server as well. If you need to cut off a time part to obtain the date part only, a safe and the fastest method is Fix: Fix(somedatetime) because it: - works correctly for dates prior to 1899-12-30 - returns data type date - always rounds off - is native to SQL The use of CDbl or CLng is not very useful. CDbl just returns the underlying data type (Double) of data type Date so you should CDate instead, and CLng will round PM time parts incorrectly, and they both fail for a clean string input like "5/3/2005" which CDate does not. If you need to convert strings to date and time, use CDate for time expressions or to include a time part with a date, or DateValue for dates where the time part should be excluded. When to use date value and when a string expression for a date value is quite simple. When a function is used in SQL, it should return a date value; when you build a SQL string it must be a string expression. Thus, as mentioned by Stuart, this will work because CDate and DateValue (and TimeValue) understands a string formatted as the local settings of Windows: "where [datefield] = Datevalue('" & txtDate & "')" as will this: "where [datefield] = #" & Format(DateValue(txtDate), "yyyy\/mm\/dd") & "#" which, as Format - when using a date format - will try to read the value to format as a date, can be reduced to: "where [datefield] = #" & Format(txtDate, "yyyy\/mm\/dd") & "#" /gustav >>> rockysmolin at bchacc.com 23-09-2011 05:17 >>> What happens if you use CDbl on a date string with no time? R -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Sep 23 07:59:07 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 23 Sep 2011 14:59:07 +0200 Subject: [AccessD] Filtering with International Dates Message-ID: Hi Rocky Yes, that will work. It will return #09/23/2011# for today. I've never noticed any difference between Format and Format$ (and all the other old BASIC string handling functions with or without a trailing $). SomeFunction$ is claimed to always return a string, but I've never found, say, Trim to return anything else than a string. Maybe it is just to be compatible with old QBasic or similar. /gustav >>> rockysmolin at bchacc.com 23-09-2011 14:35 >>> Gustav: Dang - it's like taking a class. :) I found this on the web as you suggest: Format$(Forms!frmPOReport!txtGEPromisedDate, "\#mm\/dd\/yyyy\#") (Don't know why the $ after Format but it compiles OK) And it seems to work. But I have to comb through my manufacturing app now - which is a very date driven app, lots of reports where I give the user the option to filter by date - and change those occurrences to something which will be as bulletproof as possible. It looks like that's the best approach in your opinion? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, September 23, 2011 3:11 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Filtering with International Dates Hi Rocky You are a clever man not to be fooled! There really is no reason to convert dates to numerals. If you can use the date value, use it as is, if not - as often when you build SQL strings - convert it to a proper string expression. The proven method is to use Format and the ISO format: Format(somedatetime, "yyyy\/mm\/dd hh\:nn\:ss") For JET SQL this must be wrapped in #..#, for SQL Server it is single quotes '..' You may get away with using the US mm/dd/yyyy format but it will fail for ADO and FindFirst, thus you can just as well make it a habit to use the ISO format which now is the preferred for SQL Server as well. If you need to cut off a time part to obtain the date part only, a safe and the fastest method is Fix: Fix(somedatetime) because it: - works correctly for dates prior to 1899-12-30 - returns data type date - always rounds off - is native to SQL The use of CDbl or CLng is not very useful. CDbl just returns the underlying data type (Double) of data type Date so you should CDate instead, and CLng will round PM time parts incorrectly, and they both fail for a clean string input like "5/3/2005" which CDate does not. If you need to convert strings to date and time, use CDate for time expressions or to include a time part with a date, or DateValue for dates where the time part should be excluded. When to use date value and when a string expression for a date value is quite simple. When a function is used in SQL, it should return a date value; when you build a SQL string it must be a string expression. Thus, as mentioned by Stuart, this will work because CDate and DateValue (and TimeValue) understands a string formatted as the local settings of Windows: "where [datefield] = Datevalue('" & txtDate & "')" as will this: "where [datefield] = #" & Format(DateValue(txtDate), "yyyy\/mm\/dd") & "#" which, as Format - when using a date format - will try to read the value to format as a date, can be reduced to: "where [datefield] = #" & Format(txtDate, "yyyy\/mm\/dd") & "#" /gustav >>> rockysmolin at bchacc.com 23-09-2011 05:17 >>> What happens if you use CDbl on a date string with no time? R From accessd at shaw.ca Fri Sep 23 11:08:18 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 23 Sep 2011 09:08:18 -0700 Subject: [AccessD] MS Access with IIS In-Reply-To: <631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> <511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> <631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> Message-ID: Martin: Thanks for that. I am just use to installing a database before being able to use its resources so it does seem strange. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, September 23, 2011 12:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Jim Put only the mdb file on the web server running IIS and you should be Ok to go. You do not need to install office or Access on the web server for it to work. Martin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: 23 September 2011 02:32 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Well, you have me at a disadvantage as I do not know what you mean? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 3:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Nope.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 5:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Does that mean Access have to be installed on the IIS server? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Sep 23 11:55:04 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 23 Sep 2011 12:55:04 -0400 Subject: [AccessD] MySQL: First table migrated (sorta) Message-ID: <4E7CB9E8.7070403@colbyconsulting.com> I used method 2 of this: http://25yearsofprogramming.com/blog/2010/20100718.htm to migrate my first table from Access to MySQL. It created the table structure and moved the data. Very cool. I am not yet even minimally conversant in any MySQL environment that allows me to see / modify the structure in a gui so I am flying blind. I had high hopes for Wampserver but there are a few things to figure out there before I will be able to use that. Anyway, this method did not make the PKID a key. I am not yet able to see the data types, whether it made the PKID an autoincrement, whether it will pick up on the next number and so forth, but the data moved and that all by itself is huge. -- John W. Colby www.ColbyConsulting.com From delam at zyterra.com Fri Sep 23 13:39:21 2011 From: delam at zyterra.com (Debbie) Date: Fri, 23 Sep 2011 13:39:21 -0500 Subject: [AccessD] OT: Excel Question Message-ID: <766DD8D0-7FA9-45BA-8643-1B8D315B08E1@zyterra.com> I have a database pushing data out to an Excel 2007 template. From this data I am creating a variety of graphs that are stored in the template. Everything works fine except the relative scales on 2 of the graphs. They are side by side and the customer is adamant that the top and bottom line up. This seems really easy, but it is not. One graph has a dynamic y axis because the values can vary a lot. When they do vary, the whole chart area will change height just a bit. Is there a way to fix the total chart height, while still allowing the y axis to automatically determine the best tick marks and scaling within that area? Debbie Sent from my iPhone From DWUTKA at Marlow.com Fri Sep 23 14:52:29 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Fri, 23 Sep 2011 14:52:29 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: Message-ID: Ah, but the 'fails in the field' issue is a TOTALLY separate issue. A global variable will ONLY fail in the SAME way that a modular or procedural variable will. Let's see, what are the 'fail' issues with global variables? #1. 'A global variable can be changed from anywhere.... so it could get a bad value'. Really? So let's look at a procedural variable: Sub Main() Dim x as Long X=1+5 X=0 Msgbox 10/x End Sub Holy Division by Zero Batman. We just 'broke' a procedural variable! Darn it, no more using those!!! We could also try to set X="Hello", again, fail. A variable is a representation of something, whether it is an object, or a value. If we do not know how to handle that representation, it isn't a matter of scope, it's a matter of technique. #2. 'Ambiguous Name'.... Ok, this should really be a no brainer....ummmmm Naming Convetions? #3. A hard stop will clear a Global Variable's value...... - Ok, first, this only applies to VBA, not VB or .Net. Stopping the code in those platforms ends the program. -Next, it also clears the values of modular and procedural variables. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Thursday, September 22, 2011 5:40 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Global Vars (was Ambiguous Name) > Drew Wutka: > ... > So, even if you wrap your global variables inside of a class, you are > still scoping an instance of that class globally, which makes it a > global variable... My point exactly. The 'globals are bad' camp haven't explained how a code wrapper that lets you change the value makes the global problem go away. And yes, there are common situations in Access where you want changeable global values. The only advantage I see to the wrapper is that you get to set a breakpoint. Little help when it fails in the field. -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Fri Sep 23 14:55:39 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Fri, 23 Sep 2011 14:55:39 -0500 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com><511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> Message-ID: Accessing an .mdb on a web server (like IIS) is identical to accessing the .mdb from your programming interface itself. For example, if you want to use classic ASP, then you are using VBScript, and VBScript can access an .mdb using ADO. Now, years ago, I believe you had to install ADO separately, but I think since XP, that ADO is included, not 100% positive on that. If you are using .Net, (ie, ASP.Net), then you have the .Net runtimes installed on the server. What platform are you using to program with, and I can point you in a better direction. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 8:32 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Well, you have me at a disadvantage as I do not know what you mean? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 3:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Nope.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 5:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Does that mean Access have to be installed on the IIS server? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Fri Sep 23 15:03:21 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Fri, 23 Sep 2011 15:03:21 -0500 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com><511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com><631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> Message-ID: Oh, LOL, I see where you disconnect is. Ya, after dealing with a server side db, I can see where back stepping to an .mdb would seem foreign. Susan and I co-wrote an article about using an Access .mdb on IIS. If you can deal with the size limit. The lack of triggers and transaction logging. AND most importantly, if you can properly index it, and realize that your tables should be well normalized, because you aren't going to get the same optimization out of a saved query in an .mdb that you are going to get in 'view' in SQL Server, then an .mdb is a pretty formidable database system residing on a web server. Our Intranet here at work is riddled with .mdb's running in the back ground. NEVER corrupt. Never have problems with the databases themselves. In fact, for a while, I was using an .mdb to log the IIS transactions, but that fills up 2 gigs in a heart beat.... only issue was the size, no performance degradation noticeable, and it ran like a champ. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, September 23, 2011 11:08 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Martin: Thanks for that. I am just use to installing a database before being able to use its resources so it does seem strange. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, September 23, 2011 12:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Jim Put only the mdb file on the web server running IIS and you should be Ok to go. You do not need to install office or Access on the web server for it to work. Martin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: 23 September 2011 02:32 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Well, you have me at a disadvantage as I do not know what you mean? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 3:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Nope.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 5:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Does that mean Access have to be installed on the IIS server? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From fuller.artful at gmail.com Fri Sep 23 15:04:50 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 23 Sep 2011 16:04:50 -0400 Subject: [AccessD] MySQL: First table migrated (sorta) In-Reply-To: <4E7CB9E8.7070403@colbyconsulting.com> References: <4E7CB9E8.7070403@colbyconsulting.com> Message-ID: Grab MySQLWorkbench from the MySQL site. If that doesn't suit your fancy, there are alternatives. Just Google MySQL UI. HTH, Arthur From fuller.artful at gmail.com Fri Sep 23 15:08:29 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 23 Sep 2011 16:08:29 -0400 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> <511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> <631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> Message-ID: I keep hearing about corrupted MDBs but in at least a decade of working with Access, this has never happened to me. Now that I've said that, it will probably happen tomorrow, so I'm immediately going to do a huge backup! Arthur From jwcolby at colbyconsulting.com Fri Sep 23 15:16:01 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 23 Sep 2011 16:16:01 -0400 Subject: [AccessD] MySQL: First table migrated (sorta) In-Reply-To: References: <4E7CB9E8.7070403@colbyconsulting.com> Message-ID: <4E7CE901.6090400@colbyconsulting.com> > Grab MySQLWorkbench from the MySQL site. I have this. John W. Colby www.ColbyConsulting.com On 9/23/2011 4:04 PM, Arthur Fuller wrote: > Grab MySQLWorkbench from the MySQL site. If that doesn't suit your fancy, > there are alternatives. Just Google MySQL UI. > > HTH, > Arthur From delam at zyterra.com Fri Sep 23 15:24:26 2011 From: delam at zyterra.com (Debbie) Date: Fri, 23 Sep 2011 15:24:26 -0500 Subject: [AccessD] OT: Excel Question In-Reply-To: <766DD8D0-7FA9-45BA-8643-1B8D315B08E1@zyterra.com> References: <766DD8D0-7FA9-45BA-8643-1B8D315B08E1@zyterra.com> Message-ID: I managed to answer my own question. There is a very inobvious menu to do this and tell it not to resize or move with data changes. Sadly it is the sort of thing that can be demonstrated, but really hard to describe, so I am not sure I can contribute the solution to the archives. Debbie Sent from my iPhone On Sep 23, 2011, at 1:39 PM, Debbie wrote: > I have a database pushing data out to an Excel 2007 template. From > this data I am creating a variety of graphs that are stored in the > template. > > Everything works fine except the relative scales on 2 of the graphs. > They are side by side and the customer is adamant that the top and > bottom line up. This seems really easy, but it is not. One graph has > a dynamic y axis because the values can vary a lot. When they do > vary, the whole chart area will change height just a bit. > > Is there a way to fix the total chart height, while still allowing > the y axis to automatically determine the best tick marks and > scaling within that area? > > Debbie > > Sent from my iPhone > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri Sep 23 15:37:48 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 23 Sep 2011 13:37:48 -0700 Subject: [AccessD] OT: Excel Question In-Reply-To: <766DD8D0-7FA9-45BA-8643-1B8D315B08E1@zyterra.com> References: <766DD8D0-7FA9-45BA-8643-1B8D315B08E1@zyterra.com> Message-ID: <48B855C8E3374DA4A43498380A97156B@HAL9007> Are you asking to fix it from the VBA in the Access mdb? If so, I've been able to automate everything in Excel from Access by recording a macro in Excel to do what I want and then cribbing the Excel code into the Access module. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Debbie Sent: Friday, September 23, 2011 11:39 AM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Excel Question I have a database pushing data out to an Excel 2007 template. From this data I am creating a variety of graphs that are stored in the template. Everything works fine except the relative scales on 2 of the graphs. They are side by side and the customer is adamant that the top and bottom line up. This seems really easy, but it is not. One graph has a dynamic y axis because the values can vary a lot. When they do vary, the whole chart area will change height just a bit. Is there a way to fix the total chart height, while still allowing the y axis to automatically determine the best tick marks and scaling within that area? Debbie Sent from my iPhone -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kismert at gmail.com Fri Sep 23 15:40:36 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Fri, 23 Sep 2011 15:40:36 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) Message-ID: > Drew Wutka: > A global variable will ONLY fail in the SAME way that a modular or > procedural variable will. > ... > #1. 'A global variable can be changed from anywhere.... so it could get > a bad value'. Really? So let's look at a procedural variable: > ... > Holy Division by Zero Batman. We just 'broke' a procedural variable! ... > You're right, but for one TINY difference ... in your procedural example, you can raise an error up the call chain, and immediately finger the bad actor. In all of the global parameter schemes put forth so far, you don't get that. The failure chain is: 1. Good actor sets global. Time goes past... 2. Bad actor changes global to a 'bad' value, which is accepted without error... 3. Other actor uses global -- BAM! BIF! POW! error. But who did the dirty deed? You can't easily tell. This is the crux of the 'globals are bad' arguement. Without knowing WHO made each change, you're stuck with a tedious debugging mess. But again, talking to the 'globals are bad' camp, I say your solutions so far don't solve the problem. How do you propose fixing the problem? -Ken From jwcolby at colbyconsulting.com Fri Sep 23 15:49:59 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 23 Sep 2011 16:49:59 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: Message-ID: <4E7CF0F7.4050501@colbyconsulting.com> >How do you propose fixing the problem? 1) primarily by limiting the number of globals so that there are fewer for bad actors to modify. 2) By wrapping them in property statements so that they can be easily modified to perform checks. 3) By making them a property of the module which needs to set it (if it is only modified by one "thing") and making the property read-only to the rest. There is no magic answer, just a variety of techniques to make the problem smaller and smaller. John W. Colby www.ColbyConsulting.com On 9/23/2011 4:40 PM, Kenneth Ismert wrote: >> Drew Wutka: >> A global variable will ONLY fail in the SAME way that a modular or >> procedural variable will. >> ... >> #1. 'A global variable can be changed from anywhere.... so it could get >> a bad value'. Really? So let's look at a procedural variable: >> ... >> Holy Division by Zero Batman. We just 'broke' a procedural variable! ... >> > > You're right, but for one TINY difference ... in your procedural example, > you can raise an error up the call chain, and immediately finger the bad > actor. > > In all of the global parameter schemes put forth so far, you don't get that. > The failure chain is: > 1. Good actor sets global. Time goes past... > 2. Bad actor changes global to a 'bad' value, which is accepted without > error... > 3. Other actor uses global -- BAM! BIF! POW! error. > > But who did the dirty deed? You can't easily tell. This is the crux of the > 'globals are bad' arguement. > > Without knowing WHO made each change, you're stuck with a tedious debugging > mess. > > But again, talking to the 'globals are bad' camp, I say your solutions so > far don't solve the problem. How do you propose fixing the problem? > > -Ken From delam at zyterra.com Fri Sep 23 15:51:29 2011 From: delam at zyterra.com (Debbie) Date: Fri, 23 Sep 2011 15:51:29 -0500 Subject: [AccessD] OT: Excel Question In-Reply-To: <48B855C8E3374DA4A43498380A97156B@HAL9007> References: <766DD8D0-7FA9-45BA-8643-1B8D315B08E1@zyterra.com> <48B855C8E3374DA4A43498380A97156B@HAL9007> Message-ID: <1E0FC6BB-EFBC-4008-B581-26771FC3115F@zyterra.com> I do that myself all the time. Trouble is I couldn't find how to do it in Excel. Until I found that, there was no macro to record and no code to crib. Debbie Sent from my iPhone On Sep 23, 2011, at 3:37 PM, "Rocky Smolin" wrote: > Are you asking to fix it from the VBA in the Access mdb? If so, I've > been > able to automate everything in Excel from Access by recording a > macro in > Excel to do what I want and then cribbing the Excel code into the > Access > module. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Debbie > Sent: Friday, September 23, 2011 11:39 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] OT: Excel Question > > I have a database pushing data out to an Excel 2007 template. From > this data > I am creating a variety of graphs that are stored in the template. > > Everything works fine except the relative scales on 2 of the graphs. > They are side by side and the customer is adamant that the top and > bottom > line up. This seems really easy, but it is not. One graph has a > dynamic y > axis because the values can vary a lot. When they do vary, the whole > chart > area will change height just a bit. > > Is there a way to fix the total chart height, while still allowing > the y > axis to automatically determine the best tick marks and scaling > within that > area? > > Debbie > > Sent from my iPhone > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Fri Sep 23 15:52:12 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Fri, 23 Sep 2011 15:52:12 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) Message-ID: Good advice. The points I want to emphasize are: * Write privately, read publicly is inherently safer scheme than globals anybody can change * A small number of carefully defined globals are much more managable than the practice of indescriminately using globals by default * Coding for the smallest scope possible, while indisputably good practice, is also a good way to limit the harm abuse of globals can cause -Ken jwcolby: > > The only advantage I see to the wrapper is that you get to set a > breakpoint. > > A little more help that that. You can add code that logs the change and > the time of day, the workstation running the code or whatever you can think > of that might help you troubleshoot the issue. > > You can add code that limits the values that can go into the variable. > Perhaps the global is a date and the date should never be before D day, but > somehow it is being set to the date of black friday. Perhaps it is a > currency and should never be negative. Perhaps it is a long that should > only be between 1000 and 10000. Perhaps it is a date that must always be > between two other date variables. > > Properties exist because they allow you to do validations. Today (when you > define the global variable) you cannot imagine that you would ever need such > a thing, yet in six months you see six very good reasons. > > Properties can be read-only (from outside of the module) or write only > (from outside of the module). Globals are just a variable that anyone can > set at any time for any reason. > > I have lots of "globals" which can be set from inside of the module but > only read from outside (through a property). These are "global" in that > anything anywhere can read them, but not write them. > > There are lots of programmers that have thousands of variables that are > global, everything in sight. There are others that have a dozen carefully > selected. I have a dozen, carefully selected, but I do in fact have a dozen > or so. I use a lot of class and module private variables in the header area > (global to the class or module). > > The simple truth is that no variable should have scope beyond what is > needed for that variable. Scope exists for a reason. Global would not exist > if it were not occasionally necessary. Module and class "global" (private > in the header of the module and class) exist because they are needed. They > are still global but only to that module or class. If it were good practice > to make everything global then having private keywords would be unnecessary. > > John W. Colby > www.ColbyConsulting.com > > From accessd at shaw.ca Fri Sep 23 17:49:45 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 23 Sep 2011 15:49:45 -0700 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> <511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> Message-ID: Drew: Server 2003 Developers edition with IIS version 6, fully tricked out, runs ASP classic as well as a number of databases protocols and Extensions etc. TIA Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Friday, September 23, 2011 12:56 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Accessing an .mdb on a web server (like IIS) is identical to accessing the .mdb from your programming interface itself. For example, if you want to use classic ASP, then you are using VBScript, and VBScript can access an .mdb using ADO. Now, years ago, I believe you had to install ADO separately, but I think since XP, that ADO is included, not 100% positive on that. If you are using .Net, (ie, ASP.Net), then you have the .Net runtimes installed on the server. What platform are you using to program with, and I can point you in a better direction. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 8:32 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Well, you have me at a disadvantage as I do not know what you mean? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 3:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Nope.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 5:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Does that mean Access have to be installed on the IIS server? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 23 18:02:53 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 23 Sep 2011 16:02:53 -0700 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> <511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> <631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> Message-ID: Drew: Unfortunately, I have little wiggle room. This project is a client's long time baby and they require someone to fix up the interface and to just leave the backend alone. He has no budget or concept of web designing and he really wants to help. So he can save money...yeah. :-( I swore I would never get involved with this type of site but he begged and pulled every favour and I relented. No good deed ever goes unpunished. Now I have to get it running on my development server before proceeding...and I would like to know what I am facing before the clock starts running...or in this case walking. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Friday, September 23, 2011 1:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Oh, LOL, I see where you disconnect is. Ya, after dealing with a server side db, I can see where back stepping to an .mdb would seem foreign. Susan and I co-wrote an article about using an Access .mdb on IIS. If you can deal with the size limit. The lack of triggers and transaction logging. AND most importantly, if you can properly index it, and realize that your tables should be well normalized, because you aren't going to get the same optimization out of a saved query in an .mdb that you are going to get in 'view' in SQL Server, then an .mdb is a pretty formidable database system residing on a web server. Our Intranet here at work is riddled with .mdb's running in the back ground. NEVER corrupt. Never have problems with the databases themselves. In fact, for a while, I was using an .mdb to log the IIS transactions, but that fills up 2 gigs in a heart beat.... only issue was the size, no performance degradation noticeable, and it ran like a champ. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, September 23, 2011 11:08 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Martin: Thanks for that. I am just use to installing a database before being able to use its resources so it does seem strange. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, September 23, 2011 12:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Jim Put only the mdb file on the web server running IIS and you should be Ok to go. You do not need to install office or Access on the web server for it to work. Martin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: 23 September 2011 02:32 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Well, you have me at a disadvantage as I do not know what you mean? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 3:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Nope.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 5:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Does that mean Access have to be installed on the IIS server? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Sat Sep 24 06:28:02 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 24 Sep 2011 07:28:02 -0400 Subject: [AccessD] SSDs and BE storage In-Reply-To: <4E7BF42E.1060602@colbyconsulting.com> References: <4E7BF42E.1060602@colbyconsulting.com> Message-ID: <000001cc7aad$05d94e00$118bea00$@net> I just saw this on Amazon.com - Seagate is making a Momentus hard drive and they are branding it as a "hybrid" - somewhere in between an SSD and a standard spinning platter hard drive. Reviews are very good....and the price is right : $100 for 500 gigs. http://www.amazon.com/Seagate-Momentus-7200RPM-Hybrid-ST95005620AS-Bare/dp/B 003NSBF32/ref=sr_1_1?s=electronics&ie=UTF8&qid=1316863239&sr=1-1 From shamil at smsconsulting.spb.ru Sat Sep 24 07:04:51 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 24 Sep 2011 16:04:51 +0400 Subject: [AccessD] OT: OpenXML SDK 2.0, MS SharePoint Word & Excel Automation Services etc. Message-ID: <92C501A9AFDE4B50B0117108E43F1BBF@nant> Hi All -- I wonder does anybody here uses subj? Here are some useful links: Open XML SDK + Word Automation Services Presentation at PDC (if you'll watch this presentation don't miss the info on Open XML SDK tools presented approximately in the middle of this presentation - it's rather impressive): http://blogs.msdn.com/b/brian_jones/archive/2009/11/23/open-xml-sdk-word-aut omation-services-presentation-at-pdc.aspx Folks asking MS to not bind Word Automation services to MS SharePoint: http://social.msdn.microsoft.com/Forums/en-US/oxmlsdk/thread/f0f09c56-fb41-4 43c-909d-ee467fec7d12 My question: do you know if MS Word Automation Services can be hosted together with MS SharePoint hosting? http://mosshosting.asphostportal.com/?p=252 FYI: Rather pricey alternative solution for "Automation-free" MS Word, Excel etc. documents creating and manipulation - third-party .NET class library: "ASPOSE.Total for .NET" http://www.aspose.com/categories/.net-components/aspose.total-for-.net/defau lt.aspx Thank you. -- Shamil From jwcolby at colbyconsulting.com Sat Sep 24 07:16:09 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Sep 2011 08:16:09 -0400 Subject: [AccessD] SSDs and BE storage In-Reply-To: <000001cc7aad$05d94e00$118bea00$@net> References: <4E7BF42E.1060602@colbyconsulting.com> <000001cc7aad$05d94e00$118bea00$@net> Message-ID: <4E7DCA09.8020908@colbyconsulting.com> It is puzzling that they limited it to 4 gb of ssd. Giving it 16 or 32 gigs would have really opened up what it could cache to the point of having most of what my laptop uses on a daily basis. http://www.overclockersclub.com/reviews/seagate_momentus_xt_500gb/ The review likes it but it clearly is not an ssd killer. Still I think I am going to give it a whirl for my laptop. I have been waiting for the big (220g) ssds to drop to something I am willing to spend on my laptop and they simply are not doing so. John W. Colby www.ColbyConsulting.com On 9/24/2011 7:28 AM, Mark Simms wrote: > http://www.amazon.com/Seagate-Momentus-7200RPM-Hybrid-ST95005620AS-Bare/dp/B > 003NSBF32/ref=sr_1_1?s=electronics&ie=UTF8&qid=1316863239&sr=1-1 From marksimms at verizon.net Sat Sep 24 10:36:55 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 24 Sep 2011 11:36:55 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: Message-ID: <006201cc7acf$cad7eff0$6087cfd0$@net> > 2. Bad actor changes global to a 'bad' value, which is accepted without > error... This does not happen if you use a Property with some validation in the Let or Set. MZTOOLZ has a global-to-property converter - probably for this very reason. > 3. Other actor uses global -- BAM! BIF! POW! error. > > But who did the dirty deed? You can't easily tell. This is the crux of > the 'globals are bad' arguement. > Without knowing WHO made each change, you're stuck with a tedious > debugging mess. > VBA "Find" is your friend here....however, that is worthless if you've got 10,000 lines of code and 40 places where the global is being referenced. However, On the other hand, Property is no help in this one either....UNLESS you are smart enough to code a property PARAMETER which indicates the Caller source proc or function name. Then you can quickly trace within the Property code definition each caller to determine where the problem originated. Once discovered you can hopefully add additional validation code to insure that condition never occurs again. From marksimms at verizon.net Sat Sep 24 10:39:48 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 24 Sep 2011 11:39:48 -0400 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> <511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> <631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> Message-ID: <006301cc7ad0$319fe350$94dfa9f0$@net> > The lack of triggers and transaction logging These are now "in" the 2010 ACCDB format and run-time. From marksimms at verizon.net Sat Sep 24 10:43:54 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 24 Sep 2011 11:43:54 -0400 Subject: [AccessD] SSDs and BE storage In-Reply-To: <4E7DCA09.8020908@colbyconsulting.com> References: <4E7BF42E.1060602@colbyconsulting.com> <000001cc7aad$05d94e00$118bea00$@net> <4E7DCA09.8020908@colbyconsulting.com> Message-ID: <006401cc7ad0$c4395660$4cac0320$@net> Hybrid is at 20 cents per gig....pure SSD is nearly $2 per gig !! 10:1 ratio.. That being said, demand for SSD is far outstripping the supply IMHO. Therefore SSD prices are likely not to drop in the near future. > Still I think I am going to give it a whirl for my laptop. I have been > waiting for the big (220g) > ssds to drop to something I am willing to spend on my laptop and they > simply are not doing so. From john at winhaven.net Fri Sep 23 11:05:52 2011 From: john at winhaven.net (John Bartow) Date: Fri, 23 Sep 2011 11:05:52 -0500 Subject: [AccessD] SSDs and BE storage In-Reply-To: <4E7DCA09.8020908@colbyconsulting.com> References: <4E7BF42E.1060602@colbyconsulting.com> <000001cc7aad$05d94e00$118bea00$@net> <4E7DCA09.8020908@colbyconsulting.com> Message-ID: <019001cc7a0a$ab1c6c10$01554430$@winhaven.net> Something I think I would do on ssds would be to turn off system restore (VSS) for that drive. If only storing data then system restore serves no purpose to begin with. It would reduce disk space usage, write overhead and save all of those read/write count limits on that particular area of the drive. From DWUTKA at Marlow.com Sat Sep 24 11:08:50 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Sat, 24 Sep 2011 11:08:50 -0500 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com><511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com><631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> Message-ID: I haven't seen one in a while, but have certainly seen my share. Almost always it is due to network issues. I wrote a VB 6 program that was a multithreaded app that would corrupt the .mdb it was using, but only a 97 .mdb, 2000 or later, no corruption. (it wrote, constantly, to the same .mdb, from each thread....) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, September 23, 2011 3:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS I keep hearing about corrupted MDBs but in at least a decade of working with Access, this has never happened to me. Now that I've said that, it will probably happen tomorrow, so I'm immediately going to do a huge backup! Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Sat Sep 24 11:14:05 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Sat, 24 Sep 2011 11:14:05 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: Message-ID: So what about a string of functions that you feed a variable, which are byref for their arguments? You would still be 'tracking down' the culprit. I really don't see how a global is that much different in trouble shooting. I completely agree that a global class makes things much easier, it is also cleaner. You can group the values you want into a class, which simply makes more sense too. If you have a dozen global variables, used to hold system settings, why not make a SystemSettings class, easier and more logically combined. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Friday, September 23, 2011 3:41 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Global Vars (was Ambiguous Name) > Drew Wutka: > A global variable will ONLY fail in the SAME way that a modular or > procedural variable will. > ... > #1. 'A global variable can be changed from anywhere.... so it could > get a bad value'. Really? So let's look at a procedural variable: > ... > Holy Division by Zero Batman. We just 'broke' a procedural variable! ... > You're right, but for one TINY difference ... in your procedural example, you can raise an error up the call chain, and immediately finger the bad actor. In all of the global parameter schemes put forth so far, you don't get that. The failure chain is: 1. Good actor sets global. Time goes past... 2. Bad actor changes global to a 'bad' value, which is accepted without error... 3. Other actor uses global -- BAM! BIF! POW! error. But who did the dirty deed? You can't easily tell. This is the crux of the 'globals are bad' arguement. Without knowing WHO made each change, you're stuck with a tedious debugging mess. But again, talking to the 'globals are bad' camp, I say your solutions so far don't solve the problem. How do you propose fixing the problem? -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Sat Sep 24 11:17:25 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Sat, 24 Sep 2011 11:17:25 -0500 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com><511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> Message-ID: Easy Peasy. You are just going to use ADO. Would you like a utility I built a while back, that builds 'data classes' in asp classic? I built it in VB6, you point it to the .mdb, and it creates a data class for a table (or query) along with a 'group' class for the individual data class. Email me off list if you want it. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, September 23, 2011 5:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Drew: Server 2003 Developers edition with IIS version 6, fully tricked out, runs ASP classic as well as a number of databases protocols and Extensions etc. TIA Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Friday, September 23, 2011 12:56 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Accessing an .mdb on a web server (like IIS) is identical to accessing the .mdb from your programming interface itself. For example, if you want to use classic ASP, then you are using VBScript, and VBScript can access an .mdb using ADO. Now, years ago, I believe you had to install ADO separately, but I think since XP, that ADO is included, not 100% positive on that. If you are using .Net, (ie, ASP.Net), then you have the .Net runtimes installed on the server. What platform are you using to program with, and I can point you in a better direction. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 8:32 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Well, you have me at a disadvantage as I do not know what you mean? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 3:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Nope.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 5:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Does that mean Access have to be installed on the IIS server? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Sat Sep 24 11:18:36 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Sat, 24 Sep 2011 11:18:36 -0500 Subject: [AccessD] MS Access with IIS In-Reply-To: <006301cc7ad0$319fe350$94dfa9f0$@net> References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com><511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com><631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> <006301cc7ad0$319fe350$94dfa9f0$@net> Message-ID: Interesting, did not know that, of course, I don't do much with Access nowadays. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Saturday, September 24, 2011 10:40 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS > The lack of triggers and transaction logging These are now "in" the 2010 ACCDB format and run-time. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From jwcolby at colbyconsulting.com Sat Sep 24 14:10:42 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Sep 2011 15:10:42 -0400 Subject: [AccessD] interesting ssd SQL Server testing Message-ID: <4E7E2B32.60008@colbyconsulting.com> http://sqlblog.com/blogs/joe_chang/archive/2011/09/17/consumer-grade-ssds-with-sql-server.aspx -- John W. Colby www.ColbyConsulting.com From stuart at lexacorp.com.pg Sat Sep 24 15:27:36 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 25 Sep 2011 06:27:36 +1000 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <006201cc7acf$cad7eff0$6087cfd0$@net> References: , <006201cc7acf$cad7eff0$6087cfd0$@net> Message-ID: <4E7E3D38.24460.13038105@stuart.lexacorp.com.pg> On 24 Sep 2011 at 11:36, Mark Simms wrote: > VBA "Find" is your friend here....however, that is worthless if you've > got 10,000 lines of code and 40 places where the global is being > referenced. > Correction: "where the global is being set"! i.e. Find: " g_myGlobal = " -- Stuart From marksimms at verizon.net Sat Sep 24 15:41:57 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 24 Sep 2011 16:41:57 -0400 Subject: [AccessD] interesting ssd SQL Server testing In-Reply-To: <4E7E2B32.60008@colbyconsulting.com> References: <4E7E2B32.60008@colbyconsulting.com> Message-ID: <001c01cc7afa$675024e0$35f06ea0$@net> The only valid comparison I saw was the 1 hour to 20 minutes.....very impressive. So how is that scored ? A 67% improvement ? or wait, should that be a 300% increase in speed ? > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Saturday, September 24, 2011 3:11 PM > To: Access Developers discussion and problem solving; VBA; Sqlserver- > Dba > Subject: [AccessD] interesting ssd SQL Server testing > > > http://sqlblog.com/blogs/joe_chang/archive/2011/09/17/consumer-grade- > ssds-with-sql-server.aspx > > -- > John W. Colby > www.ColbyConsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sat Sep 24 15:51:30 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 25 Sep 2011 06:51:30 +1000 Subject: [AccessD] interesting ssd SQL Server testing In-Reply-To: <001c01cc7afa$675024e0$35f06ea0$@net> References: <4E7E2B32.60008@colbyconsulting.com>, <001c01cc7afa$675024e0$35f06ea0$@net> Message-ID: <4E7E42D2.31017.1319652C@stuart.lexacorp.com.pg> Possibly a 67% reduction in time? But for a marketing, 300% increase in speed sounds much better, -- Stuart On 24 Sep 2011 at 16:41, Mark Simms wrote: > The only valid comparison I saw was the 1 hour to 20 minutes.....very > impressive. So how is that scored ? A 67% improvement ? or wait, > should that be a 300% increase in speed ? > From jwcolby at colbyconsulting.com Sat Sep 24 17:29:40 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Sep 2011 18:29:40 -0400 Subject: [AccessD] interesting ssd SQL Server testing In-Reply-To: <001c01cc7afa$675024e0$35f06ea0$@net> References: <4E7E2B32.60008@colbyconsulting.com> <001c01cc7afa$675024e0$35f06ea0$@net> Message-ID: <4E7E59D4.3030609@colbyconsulting.com> I found much of it rather confusing. Too little specifics re the configurations. John W. Colby www.ColbyConsulting.com On 9/24/2011 4:41 PM, Mark Simms wrote: > The only valid comparison I saw was the 1 hour to 20 minutes.....very > impressive. > So how is that scored ? A 67% improvement ? or wait, should that be a 300% > increase in speed ? > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd- >> bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Saturday, September 24, 2011 3:11 PM >> To: Access Developers discussion and problem solving; VBA; Sqlserver- >> Dba >> Subject: [AccessD] interesting ssd SQL Server testing >> >> >> http://sqlblog.com/blogs/joe_chang/archive/2011/09/17/consumer-grade- >> ssds-with-sql-server.aspx >> >> -- >> John W. Colby >> www.ColbyConsulting.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 Sep 25 19:50:14 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 26 Sep 2011 10:50:14 +1000 Subject: [AccessD] OT: Excel Question In-Reply-To: <1E0FC6BB-EFBC-4008-B581-26771FC3115F@zyterra.com> References: <766DD8D0-7FA9-45BA-8643-1B8D315B08E1@zyterra.com> <48B855C8E3374DA4A43498380A97156B@HAL9007> <1E0FC6BB-EFBC-4008-B581-26771FC3115F@zyterra.com> Message-ID: <002001cc7be6$40f6c370$c2e44a50$@com.au> Debbie, If you are using XL2007, MS broke a lot of the macro recording functionality for charting (and a few other areas) and not much is captured by the recorder at all. In XL2010 it is meant to be fixed again. Indeed Charting functionaly in XL2007 is less than stellar. It commonly behaves like it is not fully operational, which is pretty accurate seeing it wasn't when MS pushed XL2007 onto the world. Of course you can fix most of these charting issues by upgrading to XL2010 - great business plan really ;) You can also have Access VBA call and run an code procedure in Excel from Access. I use this a lot. Have the XL code in the XL template and just call it to run from Access. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Debbie Sent: Saturday, 24 September 2011 6:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Excel Question I do that myself all the time. Trouble is I couldn't find how to do it in Excel. Until I found that, there was no macro to record and no code to crib. Debbie Sent from my iPhone On Sep 23, 2011, at 3:37 PM, "Rocky Smolin" wrote: > Are you asking to fix it from the VBA in the Access mdb? If so, I've > been > able to automate everything in Excel from Access by recording a > macro in > Excel to do what I want and then cribbing the Excel code into the > Access > module. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Debbie > Sent: Friday, September 23, 2011 11:39 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] OT: Excel Question > > I have a database pushing data out to an Excel 2007 template. From > this data > I am creating a variety of graphs that are stored in the template. > > Everything works fine except the relative scales on 2 of the graphs. > They are side by side and the customer is adamant that the top and > bottom > line up. This seems really easy, but it is not. One graph has a > dynamic y > axis because the values can vary a lot. When they do vary, the whole > chart > area will change height just a bit. > > Is there a way to fix the total chart height, while still allowing > the y > axis to automatically determine the best tick marks and scaling > within that > area? > > Debbie > > Sent from my iPhone > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 25 19:54:06 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 26 Sep 2011 10:54:06 +1000 Subject: [AccessD] Filtering with International Dates In-Reply-To: References: Message-ID: <002101cc7be6$cb7bbb40$627331c0$@com.au> Yeah, that was my understanding of it. The "$" is short hand for String. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, 23 September 2011 10:59 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Filtering with International Dates Hi Rocky Yes, that will work. It will return #09/23/2011# for today. I've never noticed any difference between Format and Format$ (and all the other old BASIC string handling functions with or without a trailing $). SomeFunction$ is claimed to always return a string, but I've never found, say, Trim to return anything else than a string. Maybe it is just to be compatible with old QBasic or similar. /gustav >>> rockysmolin at bchacc.com 23-09-2011 14:35 >>> Gustav: Dang - it's like taking a class. :) I found this on the web as you suggest: Format$(Forms!frmPOReport!txtGEPromisedDate, "\#mm\/dd\/yyyy\#") (Don't know why the $ after Format but it compiles OK) And it seems to work. But I have to comb through my manufacturing app now - which is a very date driven app, lots of reports where I give the user the option to filter by date - and change those occurrences to something which will be as bulletproof as possible. It looks like that's the best approach in your opinion? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, September 23, 2011 3:11 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Filtering with International Dates Hi Rocky You are a clever man not to be fooled! There really is no reason to convert dates to numerals. If you can use the date value, use it as is, if not - as often when you build SQL strings - convert it to a proper string expression. The proven method is to use Format and the ISO format: Format(somedatetime, "yyyy\/mm\/dd hh\:nn\:ss") For JET SQL this must be wrapped in #..#, for SQL Server it is single quotes '..' You may get away with using the US mm/dd/yyyy format but it will fail for ADO and FindFirst, thus you can just as well make it a habit to use the ISO format which now is the preferred for SQL Server as well. If you need to cut off a time part to obtain the date part only, a safe and the fastest method is Fix: Fix(somedatetime) because it: - works correctly for dates prior to 1899-12-30 - returns data type date - always rounds off - is native to SQL The use of CDbl or CLng is not very useful. CDbl just returns the underlying data type (Double) of data type Date so you should CDate instead, and CLng will round PM time parts incorrectly, and they both fail for a clean string input like "5/3/2005" which CDate does not. If you need to convert strings to date and time, use CDate for time expressions or to include a time part with a date, or DateValue for dates where the time part should be excluded. When to use date value and when a string expression for a date value is quite simple. When a function is used in SQL, it should return a date value; when you build a SQL string it must be a string expression. Thus, as mentioned by Stuart, this will work because CDate and DateValue (and TimeValue) understands a string formatted as the local settings of Windows: "where [datefield] = Datevalue('" & txtDate & "')" as will this: "where [datefield] = #" & Format(DateValue(txtDate), "yyyy\/mm\/dd") & "#" which, as Format - when using a date format - will try to read the value to format as a date, can be reduced to: "where [datefield] = #" & Format(txtDate, "yyyy\/mm\/dd") & "#" /gustav >>> rockysmolin at bchacc.com 23-09-2011 05:17 >>> What happens if you use CDbl on a date string with no time? R -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sun Sep 25 20:14:27 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 25 Sep 2011 18:14:27 -0700 Subject: [AccessD] Filtering subform from parent form Message-ID: <28D458219FE243A29B0ACA165C8408B6@HAL9007> Dear List: I'm trying to set the filter of a subform from parameters on the main form. The first line is Me.subfrmAccountsReceivable.Form.Filter = "" But it wasn't working - so I put: MsgBox Me.subfrmAccountsReceivable.Form.Filter right after the first line and it prints "False" After that first line there's code which I've written a dozen times to accumulate the filtering criteria (in this case an account number and a >= and <= date range) but always for the parent form - never for a sub form. What am I doing wrong? (Besides not drinking some Scotch and making dinner at 6:15 on Sunday night.) MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com From fuller.artful at gmail.com Sun Sep 25 20:23:51 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 25 Sep 2011 21:23:51 -0400 Subject: [AccessD] Filtering subform from parent form In-Reply-To: <28D458219FE243A29B0ACA165C8408B6@HAL9007> References: <28D458219FE243A29B0ACA165C8408B6@HAL9007> Message-ID: I just googled "filter on an Access subform" and I suspected, got led immediately to Allen Browne's site (and others). There are several hits. I'd try Allen's first. IIRC A.D. Tejpal's written something on this. I haven't had a need for this particular capability but google as I did and you should get your answer. HTH, Arthur On Sun, Sep 25, 2011 at 9:14 PM, Rocky Smolin wrote: > Dear List: > > I'm trying to set the filter of a subform from parameters on the main form. > The first line is > > Me.subfrmAccountsReceivable.Form.Filter = "" > > But it wasn't working - so I put: > > MsgBox Me.subfrmAccountsReceivable.Form.Filter > > right after the first line and it prints "False" > > > After that first line there's code which I've written a dozen times to > accumulate the filtering criteria (in this case an account number and a >= > and <= date range) but always for the parent form - never for a sub form. > > What am I doing wrong? (Besides not drinking some Scotch and making dinner > at 6:15 on Sunday night.) > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > www.e-z-mrp.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 Sun Sep 25 20:35:53 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 25 Sep 2011 21:35:53 -0400 Subject: [AccessD] Filtering subform from parent form In-Reply-To: References: <28D458219FE243A29B0ACA165C8408B6@HAL9007> Message-ID: I just checked the first posting and there's a reply from Allen himself: > With Me.Child0.Form > .Filter = "ExternalEvents Is Not Null" > .FilterOn = True > End With His Filter above was specific to the question he was asked, of course. He's assuming that your filter command button is on the main form, which seems logical enough, but it may mean that you cannot use the built-in Filter-By-Form thing, and instead may have to create your own dialog for this situation. If it's always the same fields, then that shouldn't be a problem. Another approach: you could open a dialog based on the subform's record source, then filter it by form, then grab the Filter property, close the dialog and plug the filter into the above code, which would live in the parent form. Arthur P.S. Interesting exercise. I think build a little toy program and see if I can make it work. On Sun, Sep 25, 2011 at 9:23 PM, Arthur Fuller wrote: > I just googled "filter on an Access subform" and I suspected, got led > immediately to Allen Browne's site (and others). There are several hits. I'd > try Allen's first. IIRC A.D. Tejpal's written something on this. I haven't > had a need for this particular capability but google as I did and you should > get your answer. > > HTH, > Arthur > > > On Sun, Sep 25, 2011 at 9:14 PM, Rocky Smolin wrote: > >> Dear List: >> >> I'm trying to set the filter of a subform from parameters on the main >> form. >> The first line is >> >> Me.subfrmAccountsReceivable.Form.Filter = "" >> >> But it wasn't working - so I put: >> >> MsgBox Me.subfrmAccountsReceivable.Form.Filter >> >> right after the first line and it prints "False" >> >> >> After that first line there's code which I've written a dozen times to >> accumulate the filtering criteria (in this case an account number and a >= >> and <= date range) but always for the parent form - never for a sub form. >> >> What am I doing wrong? (Besides not drinking some Scotch and making dinner >> at 6:15 on Sunday night.) >> >> MTIA >> >> Rocky Smolin >> Beach Access Software >> 858-259-4334 >> www.bchacc.com >> www.e-z-mrp.com >> >> >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > From stuart at lexacorp.com.pg Sun Sep 25 20:41:17 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 26 Sep 2011 11:41:17 +1000 Subject: [AccessD] Filtering with International Dates In-Reply-To: <002101cc7be6$cb7bbb40$627331c0$@com.au> References: , <002101cc7be6$cb7bbb40$627331c0$@com.au> Message-ID: <4E7FD83D.3449.19491308@stuart.lexacorp.com.pg> Format returns a Variant of type String. Format$ returns an actual string. Similarly with Left,Right,Mid,Trim etc Theoretically, using the native types rather than variants should be more efficient. Wait a minute.... Yep - that's true in practice as well: Option Compare Database Option Explicit Const gc_testcases As Long = 10000000 Function TestVar() As String Dim str As String Dim strResult As String Dim t As Single Dim x As Long t = Timer For x = 1 To gc_testcases str = Left("abcdef", 3) Next t = Timer - t strResult = "Variant form took " & t & " seconds" & vbCrLf t = Timer For x = 1 To gc_testcases str = Left$("abcdef", 3) Next t = Timer - t TestVar = strResult & "String form took " & t & " seconds" End Function The Variant form consistently takes 2.5 times as long as the String version. -- Stuart On 26 Sep 2011 at 10:54, Darryl Collins wrote: > Yeah, that was my understanding of it. The "$" is short hand for > String. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > Brock Sent: Friday, 23 September 2011 10:59 PM To: > accessd at databaseadvisors.com Subject: Re: [AccessD] Filtering with > International Dates > > Hi Rocky > > Yes, that will work. It will return #09/23/2011# for today. > > I've never noticed any difference between Format and Format$ (and all > the other old BASIC string handling functions with or without a > trailing $). SomeFunction$ is claimed to always return a string, but > I've never found, say, Trim to return anything else than a string. > Maybe it is just to be compatible with old QBasic or similar. > > /gustav > > > >>> rockysmolin at bchacc.com 23-09-2011 14:35 >>> > Gustav: > > Dang - it's like taking a class. :) > > I found this on the web as you suggest: > > Format$(Forms!frmPOReport!txtGEPromisedDate, "\#mm\/dd\/yyyy\#") > > (Don't know why the $ after Format but it compiles OK) > > And it seems to work. But I have to comb through my manufacturing app > now - which is a very date driven app, lots of reports where I give > the user the option to filter by date - and change those occurrences > to something which will be as bulletproof as possible. > > It looks like that's the best approach in your opinion? > > Rocky > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > Brock Sent: Friday, September 23, 2011 3:11 AM To: > accessd at databaseadvisors.com Subject: Re: [AccessD] Filtering with > International Dates > > Hi Rocky > > You are a clever man not to be fooled! > > There really is no reason to convert dates to numerals. If you can use > the date value, use it as is, if not - as often when you build SQL > strings - convert it to a proper string expression. The proven method > is to use Format and the ISO format: > > Format(somedatetime, "yyyy\/mm\/dd hh\:nn\:ss") For JET SQL this must > be wrapped in #..#, for SQL Server it is single quotes '..' You may > get away with using the US mm/dd/yyyy format but it will fail for ADO > and FindFirst, thus you can just as well make it a habit to use the > ISO format which now is the preferred for SQL Server as well. > > If you need to cut off a time part to obtain the date part only, a > safe and the fastest method is Fix: > > Fix(somedatetime) > > because it: > > - works correctly for dates prior to 1899-12-30 > - returns data type date > - always rounds off > - is native to SQL > > The use of CDbl or CLng is not very useful. CDbl just returns the > underlying data type (Double) of data type Date so you should CDate > instead, and CLng will round PM time parts incorrectly, and they both > fail for a clean string input like "5/3/2005" which CDate does not. If > you need to convert strings to date and time, use CDate for time > expressions or to include a time part with a date, or DateValue for > dates where the time part should be excluded. > > When to use date value and when a string expression for a date value > is quite simple. When a function is used in SQL, it should return a > date value; when you build a SQL string it must be a string > expression. Thus, as mentioned by Stuart, this will work because CDate > and DateValue (and TimeValue) understands a string formatted as the > local settings of Windows: > > "where [datefield] = Datevalue('" & txtDate & "')" > > as will this: > > "where [datefield] = #" & Format(DateValue(txtDate), "yyyy\/mm\/dd") > & "#" > > which, as Format - when using a date format - will try to read the > value to format as a date, can be reduced to: > > "where [datefield] = #" & Format(txtDate, "yyyy\/mm\/dd") & "#" > > /gustav > > > >>> rockysmolin at bchacc.com 23-09-2011 05:17 >>> > What happens if you use CDbl on a date string with no time? > > 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 rockysmolin at bchacc.com Sun Sep 25 23:10:08 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 25 Sep 2011 21:10:08 -0700 Subject: [AccessD] Filtering subform from parent form In-Reply-To: References: <28D458219FE243A29B0ACA165C8408B6@HAL9007> Message-ID: I'm sure that will work if I move the filter code and the text boxes to the sub form. I do this a lot but always have the parameters in text boxes on the main form filtering the main form. I'll check the Google as you suggest though R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Sunday, September 25, 2011 6:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering subform from parent form I just checked the first posting and there's a reply from Allen himself: > With Me.Child0.Form > .Filter = "ExternalEvents Is Not Null" > .FilterOn = True > End With His Filter above was specific to the question he was asked, of course. He's assuming that your filter command button is on the main form, which seems logical enough, but it may mean that you cannot use the built-in Filter-By-Form thing, and instead may have to create your own dialog for this situation. If it's always the same fields, then that shouldn't be a problem. Another approach: you could open a dialog based on the subform's record source, then filter it by form, then grab the Filter property, close the dialog and plug the filter into the above code, which would live in the parent form. Arthur P.S. Interesting exercise. I think build a little toy program and see if I can make it work. On Sun, Sep 25, 2011 at 9:23 PM, Arthur Fuller wrote: > I just googled "filter on an Access subform" and I suspected, got led > immediately to Allen Browne's site (and others). There are several > hits. I'd try Allen's first. IIRC A.D. Tejpal's written something on > this. I haven't had a need for this particular capability but google > as I did and you should get your answer. > > HTH, > Arthur > > > On Sun, Sep 25, 2011 at 9:14 PM, Rocky Smolin wrote: > >> Dear List: >> >> I'm trying to set the filter of a subform from parameters on the main >> form. >> The first line is >> >> Me.subfrmAccountsReceivable.Form.Filter = "" >> >> But it wasn't working - so I put: >> >> MsgBox Me.subfrmAccountsReceivable.Form.Filter >> >> right after the first line and it prints "False" >> >> >> After that first line there's code which I've written a dozen times >> to accumulate the filtering criteria (in this case an account number >> and a >= and <= date range) but always for the parent form - never for a sub form. >> >> What am I doing wrong? (Besides not drinking some Scotch and making >> dinner at 6:15 on Sunday night.) >> >> MTIA >> >> Rocky Smolin >> Beach Access Software >> 858-259-4334 >> www.bchacc.com www.e-z-mrp.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 Sun Sep 25 23:12:42 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 25 Sep 2011 21:12:42 -0700 Subject: [AccessD] Filtering subform from parent form In-Reply-To: References: <28D458219FE243A29B0ACA165C8408B6@HAL9007> Message-ID: <66C472AAB8E64F1E8CE99B8C09B2B6F9@HAL9007> The first thing I see is a suggestion to build a SQL statement with the filtering parameters in the WHERE clause. I suppose I could try that as a workaround. Annoying that the .Filter doesn't seem to work as it should, though. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Sunday, September 25, 2011 6:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering subform from parent form I just checked the first posting and there's a reply from Allen himself: > With Me.Child0.Form > .Filter = "ExternalEvents Is Not Null" > .FilterOn = True > End With His Filter above was specific to the question he was asked, of course. He's assuming that your filter command button is on the main form, which seems logical enough, but it may mean that you cannot use the built-in Filter-By-Form thing, and instead may have to create your own dialog for this situation. If it's always the same fields, then that shouldn't be a problem. Another approach: you could open a dialog based on the subform's record source, then filter it by form, then grab the Filter property, close the dialog and plug the filter into the above code, which would live in the parent form. Arthur P.S. Interesting exercise. I think build a little toy program and see if I can make it work. On Sun, Sep 25, 2011 at 9:23 PM, Arthur Fuller wrote: > I just googled "filter on an Access subform" and I suspected, got led > immediately to Allen Browne's site (and others). There are several > hits. I'd try Allen's first. IIRC A.D. Tejpal's written something on > this. I haven't had a need for this particular capability but google > as I did and you should get your answer. > > HTH, > Arthur > > > On Sun, Sep 25, 2011 at 9:14 PM, Rocky Smolin wrote: > >> Dear List: >> >> I'm trying to set the filter of a subform from parameters on the main >> form. >> The first line is >> >> Me.subfrmAccountsReceivable.Form.Filter = "" >> >> But it wasn't working - so I put: >> >> MsgBox Me.subfrmAccountsReceivable.Form.Filter >> >> right after the first line and it prints "False" >> >> >> After that first line there's code which I've written a dozen times >> to accumulate the filtering criteria (in this case an account number >> and a >= and <= date range) but always for the parent form - never for a sub form. >> >> What am I doing wrong? (Besides not drinking some Scotch and making >> dinner at 6:15 on Sunday night.) >> >> MTIA >> >> Rocky Smolin >> Beach Access Software >> 858-259-4334 >> www.bchacc.com www.e-z-mrp.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 Sep 26 01:11:13 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 26 Sep 2011 08:11:13 +0200 Subject: [AccessD] Format or Format$ (was: Filtering with International Dates) Message-ID: Hi Stuart Well, thanks! That's the first time ever I heard and got demonstrated a decent explanation on this$. /gustav >>> stuart at lexacorp.com.pg 26-09-2011 03:41 >>> Format returns a Variant of type String. Format$ returns an actual string. Similarly with Left,Right,Mid,Trim etc Theoretically, using the native types rather than variants should be more efficient. Wait a minute.... Yep - that's true in practice as well: Option Compare Database Option Explicit Const gc_testcases As Long = 10000000 Function TestVar() As String Dim str As String Dim strResult As String Dim t As Single Dim x As Long t = Timer For x = 1 To gc_testcases str = Left("abcdef", 3) Next t = Timer - t strResult = "Variant form took " & t & " seconds" & vbCrLf t = Timer For x = 1 To gc_testcases str = Left$("abcdef", 3) Next t = Timer - t TestVar = strResult & "String form took " & t & " seconds" End Function The Variant form consistently takes 2.5 times as long as the String version. -- Stuart On 26 Sep 2011 at 10:54, Darryl Collins wrote: > Yeah, that was my understanding of it. The "$" is short hand for > String. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > Brock Sent: Friday, 23 September 2011 10:59 PM To: > accessd at databaseadvisors.com Subject: Re: [AccessD] Filtering with > International Dates > > Hi Rocky > > Yes, that will work. It will return #09/23/2011# for today. > > I've never noticed any difference between Format and Format$ (and all > the other old BASIC string handling functions with or without a > trailing $). SomeFunction$ is claimed to always return a string, but > I've never found, say, Trim to return anything else than a string. > Maybe it is just to be compatible with old QBasic or similar. > > /gustav From fuller.artful at gmail.com Mon Sep 26 03:41:20 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 26 Sep 2011 04:41:20 -0400 Subject: [AccessD] Filtering subform from parent form In-Reply-To: <66C472AAB8E64F1E8CE99B8C09B2B6F9@HAL9007> References: <28D458219FE243A29B0ACA165C8408B6@HAL9007> <66C472AAB8E64F1E8CE99B8C09B2B6F9@HAL9007> Message-ID: I tried Allen's example on that search page and it won't run Access 2007. Access says: The expression After Update you entered as the event property setting produced the following error: Object or class does not support the set of events. I'm baffled. I even added a MsgBox at the start of the code and Access doesn't even there. Private Sub cboShowSup_AfterUpdate() MsgBox "Here." Dim strSQL As String If IsNull(Me.cboShowSup) Then ' If the combo is Null, use the whole table as the RecordSource. Me.RecordSource = "tblProduct" Else strSQL = "SELECT DISTINCTROW tblProduct.* FROM tblProduct " & _ "INNER JOIN tblProductSupplier ON " & _ "tblProduct.ProductID = tblProductSupplier.ProductID " & _ "WHERE tblProductSupplier.SupplierID = " & Me.cboShowSup & ";" Me.RecordSource = strSQL End If End Sub This doesn't make sense at all to me. If I had an earlier or later version of Access aboard, I'd try the example there, but I don't. Arthur On Mon, Sep 26, 2011 at 12:12 AM, Rocky Smolin wrote: > The first thing I see is a suggestion to build a SQL statement with the > filtering parameters in the WHERE clause. I suppose I could try that as a > workaround. Annoying that the .Filter doesn't seem to work as it should, > though. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Sunday, September 25, 2011 6:36 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Filtering subform from parent form > > I just checked the first posting and there's a reply from Allen himself: > > > With Me.Child0.Form > > .Filter = "ExternalEvents Is Not Null" > > .FilterOn = True > > End With > > His Filter above was specific to the question he was asked, of course. He's > assuming that your filter command button is on the main form, which seems > logical enough, but it may mean that you cannot use the built-in > Filter-By-Form thing, and instead may have to create your own dialog for > this situation. If it's always the same fields, then that shouldn't be a > problem. > > Another approach: you could open a dialog based on the subform's record > source, then filter it by form, then grab the Filter property, close the > dialog and plug the filter into the above code, which would live in the > parent form. > > Arthur > > P.S. > Interesting exercise. I think build a little toy program and see if I can > make it work. > > On Sun, Sep 25, 2011 at 9:23 PM, Arthur Fuller > wrote: > > > I just googled "filter on an Access subform" and I suspected, got led > > immediately to Allen Browne's site (and others). There are several > > hits. I'd try Allen's first. IIRC A.D. Tejpal's written something on > > this. I haven't had a need for this particular capability but google > > as I did and you should get your answer. > > > > HTH, > > Arthur > > > > > > On Sun, Sep 25, 2011 at 9:14 PM, Rocky Smolin > wrote: > > > >> Dear List: > >> > >> I'm trying to set the filter of a subform from parameters on the main > >> form. > >> The first line is > >> > >> Me.subfrmAccountsReceivable.Form.Filter = "" > >> > >> But it wasn't working - so I put: > >> > >> MsgBox Me.subfrmAccountsReceivable.Form.Filter > >> > >> right after the first line and it prints "False" > >> > >> > >> After that first line there's code which I've written a dozen times > >> to accumulate the filtering criteria (in this case an account number > >> and a >= and <= date range) but always for the parent form - never for a > sub form. > >> > >> What am I doing wrong? (Besides not drinking some Scotch and making > >> dinner at 6:15 on Sunday night.) > >> > >> MTIA > >> > >> Rocky Smolin > >> Beach Access Software > >> 858-259-4334 > >> www.bchacc.com www.e-z-mrp.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 jwcolby at colbyconsulting.com Mon Sep 26 07:02:29 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 26 Sep 2011 08:02:29 -0400 Subject: [AccessD] SSDs and BE storage In-Reply-To: <000001cc7aad$05d94e00$118bea00$@net> References: <4E7BF42E.1060602@colbyconsulting.com> <000001cc7aad$05d94e00$118bea00$@net> Message-ID: <4E8069D5.8060705@colbyconsulting.com> Mark, I decided to try these for my 3 year old dell laptops. Clean install of Windows 7 and these, to see if I can get another couple of years out of these machines. John W. Colby www.ColbyConsulting.com On 9/24/2011 7:28 AM, Mark Simms wrote: > I just saw this on Amazon.com - Seagate is making a Momentus hard drive and > they are branding it as a "hybrid" - somewhere in between an SSD and a > standard spinning platter hard drive. > Reviews are very good....and the price is right : $100 for 500 gigs. > http://www.amazon.com/Seagate-Momentus-7200RPM-Hybrid-ST95005620AS-Bare/dp/B > 003NSBF32/ref=sr_1_1?s=electronics&ie=UTF8&qid=1316863239&sr=1-1 > > > From jimdettman at verizon.net Mon Sep 26 07:07:30 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 26 Sep 2011 08:07:30 -0400 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com><511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com><631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> <006301cc7ad0$319fe350$94dfa9f0$@net> Message-ID: Drew, Don't get excited; triggers are not available at engine level. They are only available through the UI and Macro's. And I'm not sure what Mark is referring to as transaction logging, but there is none that I'm aware of. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Saturday, September 24, 2011 12:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Interesting, did not know that, of course, I don't do much with Access nowadays. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Saturday, September 24, 2011 10:40 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS > The lack of triggers and transaction logging These are now "in" the 2010 ACCDB format and run-time. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at Marlow.com Mon Sep 26 10:02:08 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 26 Sep 2011 10:02:08 -0500 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com><511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com><631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk><006301cc7ad0$319fe350$94dfa9f0$@net> Message-ID: Oh, ok. Got me excited a bit! ;) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, September 26, 2011 7:08 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Drew, Don't get excited; triggers are not available at engine level. They are only available through the UI and Macro's. And I'm not sure what Mark is referring to as transaction logging, but there is none that I'm aware of. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Saturday, September 24, 2011 12:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Interesting, did not know that, of course, I don't do much with Access nowadays. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Saturday, September 24, 2011 10:40 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS > The lack of triggers and transaction logging These are now "in" the 2010 ACCDB format and run-time. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From marksimms at verizon.net Mon Sep 26 10:04:39 2011 From: marksimms at verizon.net (Mark Simms) Date: Mon, 26 Sep 2011 11:04:39 -0400 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com><511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com><631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> <006301cc7ad0$319fe350$94dfa9f0$@net> Message-ID: <008d01cc7c5d$9d5ea4d0$d81bee70$@net> Re: "I'm not sure what Mark is referring to as transaction logging,but there is none that I'm aware of.." http://www.databasedev.co.uk/whats_new_in_microsoft_access_2010.html Granted, it's not the best of implementations as this feature is only enabled using the macro facility....VBA not supported. And, by the way, that gives you insight into how MSFT is really moving away from VBA. From jimdettman at verizon.net Mon Sep 26 12:31:08 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 26 Sep 2011 13:31:08 -0400 Subject: [AccessD] MS Access with IIS In-Reply-To: <008d01cc7c5d$9d5ea4d0$d81bee70$@net> References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com><511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com><631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> <006301cc7ad0$319fe350$94dfa9f0$@net> <008d01cc7c5d$9d5ea4d0$d81bee70$@net> Message-ID: <50856C486D244A58B36B73F9D617A8B1@XPS> I wasn't even aware that feature was in there, but it's hardly what one would call transaction logging. And again, as you said, it's through macro's (and hence the UI and not at engine level). Big yawn as far as I'm concerned. I've had a system log table since day one working with Access. >From my viewpoint, it's just one more feature that doesn't need to be there. <> And anybody that thinks their not is crazy, but it will be a very long time in coming. The big reason at present for the push to macros is the ability to run Access apps with SharePoint. And if you've seen where Win8 is heading and Metro apps, your not going to find VBA in there at all. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Monday, September 26, 2011 11:05 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Re: "I'm not sure what Mark is referring to as transaction logging,but there is none that I'm aware of.." http://www.databasedev.co.uk/whats_new_in_microsoft_access_2010.html Granted, it's not the best of implementations as this feature is only enabled using the macro facility....VBA not supported. And, by the way, that gives you insight into how MSFT is really moving away from VBA. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Mon Sep 26 14:01:08 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 26 Sep 2011 14:01:08 -0500 Subject: [AccessD] Query not returning any records Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0765B@houex1.kindermorgan.com> When I run the following query I get the results listed below SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, dbo_WellTests.TestDate FROM dbo_WellTests GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, dbo_WellTests.TestDate HAVING (((dbo_WellTests.Well_Name)="109-2")); Well_API_14 Well_Name TestDate 42415034120000 109-2 6/7/2011 42415034120000 109-2 6/8/2011 42415034120000 109-2 8/7/2011 42415034120000 109-2 8/28/2011 42415034120000 109-2 9/1/2011 42415034120000 109-2 9/5/2011 However when I run the following query I get no records returned. The table dbo_Welltests is an SQL Server table if that matters. SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, Max(dbo_WellTests.TestDate) AS MaxOfTestDate FROM dbo_WellTests GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name HAVING (((dbo_WellTests.Well_Name)="109-2") AND ((Max(dbo_WellTests.TestDate))<#9/1/2011#)); Thanks. 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 bheid at sc.rr.com Mon Sep 26 14:09:06 2011 From: bheid at sc.rr.com (Bobby Heid) Date: Mon, 26 Sep 2011 15:09:06 -0400 Subject: [AccessD] Query not returning any records In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0765B@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0765B@houex1.kindermorgan.com> Message-ID: <005701cc7c7f$c36cccc0$4a466640$@sc.rr.com> Chester, Well, right off the bat, you have Max(dbo_WellTests.TestDate) <#9/1/2011# and the maximum date in your list is 9/1/2011. So max(9/1/2011) is not less than 9/1/2011. So you get no records. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, September 26, 2011 3:01 PM To: Access Developers discussion and problem solving Subject: [AccessD] Query not returning any records When I run the following query I get the results listed below SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, dbo_WellTests.TestDate FROM dbo_WellTests GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, dbo_WellTests.TestDate HAVING (((dbo_WellTests.Well_Name)="109-2")); Well_API_14 Well_Name TestDate 42415034120000 109-2 6/7/2011 42415034120000 109-2 6/8/2011 42415034120000 109-2 8/7/2011 42415034120000 109-2 8/28/2011 42415034120000 109-2 9/1/2011 42415034120000 109-2 9/5/2011 However when I run the following query I get no records returned. The table dbo_Welltests is an SQL Server table if that matters. SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, Max(dbo_WellTests.TestDate) AS MaxOfTestDate FROM dbo_WellTests GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name HAVING (((dbo_WellTests.Well_Name)="109-2") AND ((Max(dbo_WellTests.TestDate))<#9/1/2011#)); Thanks. 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 davidmcafee at gmail.com Mon Sep 26 14:10:29 2011 From: davidmcafee at gmail.com (David McAfee) Date: Mon, 26 Sep 2011 12:10:29 -0700 Subject: [AccessD] Query not returning any records In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0765B@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0765B@houex1.kindermorgan.com> Message-ID: Does this work? HAVING ((dbo_WellTests.Well_Name="109-2") AND (dbo_WellTests.TestDate<#9/1/2011#)); On Mon, Sep 26, 2011 at 12:01 PM, Kaup, Chester < Chester_Kaup at kindermorgan.com> wrote: > When I run the following query I get the results listed below > > SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, > dbo_WellTests.TestDate > FROM dbo_WellTests > GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, > dbo_WellTests.TestDate > HAVING (((dbo_WellTests.Well_Name)="109-2")); > > Well_API_14 Well_Name TestDate > 42415034120000 109-2 6/7/2011 > 42415034120000 109-2 6/8/2011 > 42415034120000 109-2 8/7/2011 > 42415034120000 109-2 8/28/2011 > 42415034120000 109-2 9/1/2011 > 42415034120000 109-2 9/5/2011 > > However when I run the following query I get no records returned. The table > dbo_Welltests is an SQL Server table if that matters. > > SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, > Max(dbo_WellTests.TestDate) AS MaxOfTestDate > FROM dbo_WellTests > GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name > HAVING (((dbo_WellTests.Well_Name)="109-2") AND > ((Max(dbo_WellTests.TestDate))<#9/1/2011#)); > > Thanks. > > > 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 Mon Sep 26 14:19:29 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 26 Sep 2011 14:19:29 -0500 Subject: [AccessD] Query not returning any records In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0765B@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C1986D07669@houex1.kindermorgan.com> Yes it does return records. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Monday, September 26, 2011 2:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query not returning any records Does this work? HAVING ((dbo_WellTests.Well_Name="109-2") AND (dbo_WellTests.TestDate<#9/1/2011#)); On Mon, Sep 26, 2011 at 12:01 PM, Kaup, Chester < Chester_Kaup at kindermorgan.com> wrote: > When I run the following query I get the results listed below > > SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, > dbo_WellTests.TestDate > FROM dbo_WellTests > GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, > dbo_WellTests.TestDate > HAVING (((dbo_WellTests.Well_Name)="109-2")); > > Well_API_14 Well_Name TestDate > 42415034120000 109-2 6/7/2011 > 42415034120000 109-2 6/8/2011 > 42415034120000 109-2 8/7/2011 > 42415034120000 109-2 8/28/2011 > 42415034120000 109-2 9/1/2011 > 42415034120000 109-2 9/5/2011 > > However when I run the following query I get no records returned. The table > dbo_Welltests is an SQL Server table if that matters. > > SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, > Max(dbo_WellTests.TestDate) AS MaxOfTestDate > FROM dbo_WellTests > GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name > HAVING (((dbo_WellTests.Well_Name)="109-2") AND > ((Max(dbo_WellTests.TestDate))<#9/1/2011#)); > > Thanks. > > > 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 Chester_Kaup at kindermorgan.com Mon Sep 26 14:22:04 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 26 Sep 2011 14:22:04 -0500 Subject: [AccessD] Query not returning any records In-Reply-To: <005701cc7c7f$c36cccc0$4a466640$@sc.rr.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0765B@houex1.kindermorgan.com> <005701cc7c7f$c36cccc0$4a466640$@sc.rr.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0766A@houex1.kindermorgan.com> Maybe I need some different syntax. I want the last record before 9/1/2011 i.e. the record dated 8/28/2011. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Monday, September 26, 2011 2:09 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query not returning any records Chester, Well, right off the bat, you have Max(dbo_WellTests.TestDate) <#9/1/2011# and the maximum date in your list is 9/1/2011. So max(9/1/2011) is not less than 9/1/2011. So you get no records. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, September 26, 2011 3:01 PM To: Access Developers discussion and problem solving Subject: [AccessD] Query not returning any records When I run the following query I get the results listed below SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, dbo_WellTests.TestDate FROM dbo_WellTests GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, dbo_WellTests.TestDate HAVING (((dbo_WellTests.Well_Name)="109-2")); Well_API_14 Well_Name TestDate 42415034120000 109-2 6/7/2011 42415034120000 109-2 6/8/2011 42415034120000 109-2 8/7/2011 42415034120000 109-2 8/28/2011 42415034120000 109-2 9/1/2011 42415034120000 109-2 9/5/2011 However when I run the following query I get no records returned. The table dbo_Welltests is an SQL Server table if that matters. SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, Max(dbo_WellTests.TestDate) AS MaxOfTestDate FROM dbo_WellTests GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name HAVING (((dbo_WellTests.Well_Name)="109-2") AND ((Max(dbo_WellTests.TestDate))<#9/1/2011#)); Thanks. 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 davidmcafee at gmail.com Mon Sep 26 14:53:20 2011 From: davidmcafee at gmail.com (David McAfee) Date: Mon, 26 Sep 2011 12:53:20 -0700 Subject: [AccessD] Query not returning any records In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0766A@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0765B@houex1.kindermorgan.com> <005701cc7c7f$c36cccc0$4a466640$@sc.rr.com> <0B2BF8524B73A248A2F1B81BA751ED3C1986D0766A@houex1.kindermorgan.com> Message-ID: SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, Max(dbo_WellTests.TestDate) AS MaxOfTestDate FROM dbo_WellTests WHERE dbo_WellTests.Well_Name="109-2" AND dbo_WellTests.TestDate<#9/1/2011# GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name On Mon, Sep 26, 2011 at 12:22 PM, Kaup, Chester < Chester_Kaup at kindermorgan.com> wrote: > Maybe I need some different syntax. I want the last record before 9/1/2011 > i.e. the record dated 8/28/2011. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid > Sent: Monday, September 26, 2011 2:09 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Query not returning any records > > Chester, > > Well, right off the bat, you have Max(dbo_WellTests.TestDate) <#9/1/2011# > and the maximum date in your list is 9/1/2011. So max(9/1/2011) is not > less > than 9/1/2011. So you get no records. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester > Sent: Monday, September 26, 2011 3:01 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Query not returning any records > > When I run the following query I get the results listed below > > SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, > dbo_WellTests.TestDate FROM dbo_WellTests GROUP BY > dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, dbo_WellTests.TestDate > HAVING (((dbo_WellTests.Well_Name)="109-2")); > > Well_API_14 Well_Name TestDate > 42415034120000 109-2 6/7/2011 > 42415034120000 109-2 6/8/2011 > 42415034120000 109-2 8/7/2011 > 42415034120000 109-2 8/28/2011 > 42415034120000 109-2 9/1/2011 > 42415034120000 109-2 9/5/2011 > > However when I run the following query I get no records returned. The table > dbo_Welltests is an SQL Server table if that matters. > > SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, > Max(dbo_WellTests.TestDate) AS MaxOfTestDate FROM dbo_WellTests GROUP BY > dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name HAVING > (((dbo_WellTests.Well_Name)="109-2") AND > ((Max(dbo_WellTests.TestDate))<#9/1/2011#)); > > Thanks. > > > 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 Chester_Kaup at kindermorgan.com Mon Sep 26 15:04:22 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 26 Sep 2011 15:04:22 -0500 Subject: [AccessD] Query not returning any records In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0765B@houex1.kindermorgan.com> <005701cc7c7f$c36cccc0$4a466640$@sc.rr.com> <0B2BF8524B73A248A2F1B81BA751ED3C1986D0766A@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C1986D07688@houex1.kindermorgan.com> Thanks! That works. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Monday, September 26, 2011 2:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query not returning any records SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, Max(dbo_WellTests.TestDate) AS MaxOfTestDate FROM dbo_WellTests WHERE dbo_WellTests.Well_Name="109-2" AND dbo_WellTests.TestDate<#9/1/2011# GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name On Mon, Sep 26, 2011 at 12:22 PM, Kaup, Chester < Chester_Kaup at kindermorgan.com> wrote: > Maybe I need some different syntax. I want the last record before 9/1/2011 > i.e. the record dated 8/28/2011. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid > Sent: Monday, September 26, 2011 2:09 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Query not returning any records > > Chester, > > Well, right off the bat, you have Max(dbo_WellTests.TestDate) <#9/1/2011# > and the maximum date in your list is 9/1/2011. So max(9/1/2011) is not > less > than 9/1/2011. So you get no records. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester > Sent: Monday, September 26, 2011 3:01 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Query not returning any records > > When I run the following query I get the results listed below > > SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, > dbo_WellTests.TestDate FROM dbo_WellTests GROUP BY > dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, dbo_WellTests.TestDate > HAVING (((dbo_WellTests.Well_Name)="109-2")); > > Well_API_14 Well_Name TestDate > 42415034120000 109-2 6/7/2011 > 42415034120000 109-2 6/8/2011 > 42415034120000 109-2 8/7/2011 > 42415034120000 109-2 8/28/2011 > 42415034120000 109-2 9/1/2011 > 42415034120000 109-2 9/5/2011 > > However when I run the following query I get no records returned. The table > dbo_Welltests is an SQL Server table if that matters. > > SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, > Max(dbo_WellTests.TestDate) AS MaxOfTestDate FROM dbo_WellTests GROUP BY > dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name HAVING > (((dbo_WellTests.Well_Name)="109-2") AND > ((Max(dbo_WellTests.TestDate))<#9/1/2011#)); > > Thanks. > > > 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 fuller.artful at gmail.com Mon Sep 26 20:30:56 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 26 Sep 2011 21:30:56 -0400 Subject: [AccessD] SSDs Message-ID: This from slashdot: *"Although they haven't been big hits with enthusiasts, Samsung's solid state drives have been successful due to strong relationships with a number of OEMs, including Apple. With the release of their new SSD 830 Series Solid State Drives, however, Samsung appears ready to make inroads with enthusiasts as well. The SSD 830 tested here is 256GB model, with eight 32GB Samsung NAND flash memory chips, 256MB of Samsung DDR2 SDRAM cache memory, and a new Samsung SSD Controller. The Samsung controller features a 3-ARM core design with support for SATA III 6Gb/s interface speeds. Performance-wise, the Samsung SSD 830 Series drive offered the best Read performanceof the group that was tested, even versus the latest SandForce-based SSDs, though the SSD 830 couldn't quite catch SandForce in writes."* Arthur From jwcolby at colbyconsulting.com Tue Sep 27 06:52:54 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Sep 2011 07:52:54 -0400 Subject: [AccessD] Calculating mileage Message-ID: <4E81B916.70601@colbyconsulting.com> Before tax time I need to add a module to my inmate checkout to calculate mileage for all legs of a trip with the inmates. The database contains records of where we go - the midpoints points - with addresses, but the database does not have my start / end point (home). 1) Home to prison 2) Prison to first destination in the db 3) First destination to second destination (if any) 4) Second destination to third destination (if any) 5) Last destination to prison 6) Prison to home I thought I would try to use Microsoft Streets and trips to do the mapping, though I am open to using Google Maps if there is a programming interface available to the VBA language. I could of course manually enter the trips into Streets and trips, get the mileage and build a table of all the "legs" that I have ever done but that is error prone and forces me to do the whole thing manually. Also this is in use by other people so it would be nice to build a module that would also calculate their legs, which I certainly do not want to do myself manually. If for tax purposes I just assume that we always start from home and end at home I could use something like Streets and trips (which I have) to calculate all of these legs for each trip and place them in a table. At tax time I then have a mileage log for the IRS. I have never used Streets and Trips for this purpose. I do know that it has an API and VBA available for it. If anyone uses it for this purpose and has a library (or a function) written to do this that they would share that would be great. Or a web or help resource for this. Thanks, -- John W. Colby www.ColbyConsulting.com From stuart at lexacorp.com.pg Tue Sep 27 07:16:52 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 27 Sep 2011 22:16:52 +1000 Subject: [AccessD] Calculating mileage In-Reply-To: <4E81B916.70601@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com> Message-ID: <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> Seems very complicate when you can just record the start/finish mileage readings of the car for each trip. And that would probably be more acceptable as a record by the IRS rather than a notional mileage based on maps. -- Stuart On 27 Sep 2011 at 7:52, jwcolby wrote: > Before tax time I need to add a module to my inmate checkout to > calculate mileage for all legs of a trip with the inmates. The > database contains records of where we go - the midpoints points - with > addresses, but the database does not have my start / end point (home). > > 1) Home to prison > 2) Prison to first destination in the db > 3) First destination to second destination (if any) > 4) Second destination to third destination (if any) > 5) Last destination to prison > 6) Prison to home > > I thought I would try to use Microsoft Streets and trips to do the > mapping, though I am open to using Google Maps if there is a > programming interface available to the VBA language. > > I could of course manually enter the trips into Streets and trips, get > the mileage and build a table of all the "legs" that I have ever done > but that is error prone and forces me to do the whole thing manually. > Also this is in use by other people so it would be nice to build a > module that would also calculate their legs, which I certainly do not > want to do myself manually. > > If for tax purposes I just assume that we always start from home and > end at home I could use something like Streets and trips (which I > have) to calculate all of these legs for each trip and place them in a > table. At tax time I then have a mileage log for the IRS. > > I have never used Streets and Trips for this purpose. I do know that > it has an API and VBA available for it. If anyone uses it for this > purpose and has a library (or a function) written to do this that they > would share that would be great. Or a web or help resource for this. > > Thanks, > > -- > John W. Colby > www.ColbyConsulting.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 Sep 27 07:49:53 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Sep 2011 08:49:53 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> References: <4E81B916.70601@colbyconsulting.com> <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> Message-ID: <4E81C671.7030707@colbyconsulting.com> > Seems very complicate when you can just record the start/finish mileage readings of the car for each trip. Yes but I keep forgetting to enter the start / stop readings. A program, once created, just works on whatever data is there. Since I have to file paperwork for the checkout process, and since those records are permanently stored in my database, I always have a record of what I did. It doesn't seem "very complicated" though it could become so I suppose. The database has my home address, that is the start / stop point. The database has the prison camp address, that is the endpoint of the first leg and the start point of the last leg. 1) Calc home to prison 2) Calc prison to first stop 3) Calc first stop to second stop 4) Calc second stop to third stop 5) Calc third stop to prison 6) Calc prison to home Each becomes a record in a table with the pass request ID as the FK that ties them into a single "trip". Any pass request IDs not in the trip table need to be calculated. Report. AFAICT the IRS is not going to dispute the figures. There are logs (a file) at the prison that proves I did in fact checked the guys out, and by law I am supposed to take them where I say I am taking them. They actually do occasional checks where they send officers out to see that you are where you say you are going to be. John W. Colby www.ColbyConsulting.com On 9/27/2011 8:16 AM, Stuart McLachlan wrote: > Seems very complicate when you can just record the start/finish mileage readings of the car > for each trip. And that would probably be more acceptable as a record by the IRS rather than > a notional mileage based on maps. > From rockysmolin at bchacc.com Tue Sep 27 08:08:29 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 27 Sep 2011 06:08:29 -0700 Subject: [AccessD] Calculating mileage In-Reply-To: <4E81C671.7030707@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com><4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> Message-ID: Is there a way for your app to send start and end points to MapQuest or GoogleMaps and have them return the mileage? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 27, 2011 5:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calculating mileage > Seems very complicate when you can just record the start/finish mileage readings of the car for each trip. Yes but I keep forgetting to enter the start / stop readings. A program, once created, just works on whatever data is there. Since I have to file paperwork for the checkout process, and since those records are permanently stored in my database, I always have a record of what I did. It doesn't seem "very complicated" though it could become so I suppose. The database has my home address, that is the start / stop point. The database has the prison camp address, that is the endpoint of the first leg and the start point of the last leg. 1) Calc home to prison 2) Calc prison to first stop 3) Calc first stop to second stop 4) Calc second stop to third stop 5) Calc third stop to prison 6) Calc prison to home Each becomes a record in a table with the pass request ID as the FK that ties them into a single "trip". Any pass request IDs not in the trip table need to be calculated. Report. AFAICT the IRS is not going to dispute the figures. There are logs (a file) at the prison that proves I did in fact checked the guys out, and by law I am supposed to take them where I say I am taking them. They actually do occasional checks where they send officers out to see that you are where you say you are going to be. John W. Colby www.ColbyConsulting.com On 9/27/2011 8:16 AM, Stuart McLachlan wrote: > Seems very complicate when you can just record the start/finish > mileage readings of the car for each trip. And that would probably be > more acceptable as a record by the IRS rather than a notional mileage based on maps. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Sep 27 10:16:43 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Sep 2011 11:16:43 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: References: <4E81B916.70601@colbyconsulting.com><4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> Message-ID: <4E81E8DB.2070508@colbyconsulting.com> I don't know about mapquest or googlemaps. I am looking at doing this with vba and MapPoint which is Microsoft's software that I already own. It looks like it is going to be pretty easy to do it. I will be building a table which processes each Pass Request and stores the computed values in a TripMileage table. If I do this on my server then it will be calculated for every user of the database and I can just build a report in the application we use for the pass paperwork, to display the data for each volunteer. John W. Colby www.ColbyConsulting.com On 9/27/2011 9:08 AM, Rocky Smolin wrote: > Is there a way for your app to send start and end points to MapQuest or > GoogleMaps and have them return the mileage? > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, September 27, 2011 5:50 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Calculating mileage > > > Seems very complicate when you can just record the start/finish mileage > readings of the car for each trip. > > Yes but I keep forgetting to enter the start / stop readings. > > A program, once created, just works on whatever data is there. Since I have > to file paperwork for the checkout process, and since those records are > permanently stored in my database, I always have a record of what I did. > > It doesn't seem "very complicated" though it could become so I suppose. The > database has my home address, that is the start / stop point. The database > has the prison camp address, that is the endpoint of the first leg and the > start point of the last leg. > > 1) Calc home to prison > 2) Calc prison to first stop > 3) Calc first stop to second stop > 4) Calc second stop to third stop > 5) Calc third stop to prison > 6) Calc prison to home > > Each becomes a record in a table with the pass request ID as the FK that > ties them into a single "trip". Any pass request IDs not in the trip table > need to be calculated. > > Report. > > AFAICT the IRS is not going to dispute the figures. There are logs (a file) > at the prison that proves I did in fact checked the guys out, and by law I > am supposed to take them where I say I am taking them. They actually do > occasional checks where they send officers out to see that you are where you > say you are going to be. > > John W. Colby > www.ColbyConsulting.com > > On 9/27/2011 8:16 AM, Stuart McLachlan wrote: >> Seems very complicate when you can just record the start/finish >> mileage readings of the car for each trip. And that would probably be >> more acceptable as a record by the IRS rather than a notional mileage > based on maps. >> > -- > 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 Sep 27 12:32:40 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Tue, 27 Sep 2011 10:32:40 -0700 Subject: [AccessD] Calculating mileage In-Reply-To: <4E81E8DB.2070508@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com> <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> <4E81E8DB.2070508@colbyconsulting.com> Message-ID: John, You have a smartphone, right? There's an android app called Mileage Tracker, from Frank Android Software, that lets you do this on you smartphone and export a mileage report to CSV format that can be opened in Excel or whatever. I use it for hospice volunteer and business uses. Charlotte Foust On Tue, Sep 27, 2011 at 8:16 AM, jwcolby wrote: > I don't know about mapquest or googlemaps. I am looking at doing this with > vba and MapPoint which is Microsoft's software that I already own. It looks > like it is going to be pretty easy to do it. I will be building a table > which processes each Pass Request and stores the computed values in a > TripMileage table. If I do this on my server then it will be calculated for > every user of the database and I can just build a report in the application > we use for the pass paperwork, to display the data for each volunteer. > > John W. Colby > www.ColbyConsulting.com > > > > On 9/27/2011 9:08 AM, Rocky Smolin wrote: > >> Is there a way for your app to send start and end points to MapQuest or >> GoogleMaps and have them return the mileage? >> >> Rocky >> >> >> -----Original Message----- >> From: accessd-bounces@**databaseadvisors.com >> [mailto:accessd-bounces@**databaseadvisors.com] >> On Behalf Of jwcolby >> Sent: Tuesday, September 27, 2011 5:50 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Calculating mileage >> >> > Seems very complicate when you can just record the start/finish >> mileage >> readings of the car for each trip. >> >> Yes but I keep forgetting to enter the start / stop readings. >> >> A program, once created, just works on whatever data is there. Since I >> have >> to file paperwork for the checkout process, and since those records are >> permanently stored in my database, I always have a record of what I did. >> >> It doesn't seem "very complicated" though it could become so I suppose. >> The >> database has my home address, that is the start / stop point. The >> database >> has the prison camp address, that is the endpoint of the first leg and the >> start point of the last leg. >> >> 1) Calc home to prison >> 2) Calc prison to first stop >> 3) Calc first stop to second stop >> 4) Calc second stop to third stop >> 5) Calc third stop to prison >> 6) Calc prison to home >> >> Each becomes a record in a table with the pass request ID as the FK that >> ties them into a single "trip". Any pass request IDs not in the trip >> table >> need to be calculated. >> >> Report. >> >> AFAICT the IRS is not going to dispute the figures. There are logs (a >> file) >> at the prison that proves I did in fact checked the guys out, and by law I >> am supposed to take them where I say I am taking them. They actually do >> occasional checks where they send officers out to see that you are where >> you >> say you are going to be. >> >> John W. Colby >> www.ColbyConsulting.com >> >> >> >> On 9/27/2011 8:16 AM, Stuart McLachlan wrote: >> >>> Seems very complicate when you can just record the start/finish >>> mileage readings of the car for each trip. And that would probably be >>> more acceptable as a record by the IRS rather than a notional mileage >>> >> based on maps. >> >>> >>> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/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 Sep 27 12:55:58 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Sep 2011 13:55:58 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: References: <4E81B916.70601@colbyconsulting.com> <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> <4E81E8DB.2070508@colbyconsulting.com> Message-ID: <4E820E2E.4060402@colbyconsulting.com> And I downloaded one but I forget to open it and do it. So I was trying to back fill it, which is a PITA. Then I said... "this is stupid". My database has records for every time I take guys out... Whether or not I remember to track it in a cell phone app or in a notebook, if I don't do it in my database I cannot check the guys out. Ergo, let the computer do it. I truly did not consider this a major development effort and once done it does it for me or for 200 different people using the database. Not that I have 250 people, but I do have three so far. So three (or 150) people trying to remember to track their mileage or my program doing it automatically behind the scenes... If you were a user which would you prefer? I am a user and my manually tracking my mileage has been a disaster. John W. Colby www.ColbyConsulting.com On 9/27/2011 1:32 PM, Charlotte Foust wrote: > John, > > You have a smartphone, right? There's an android app called Mileage > Tracker, from Frank Android Software, that lets you do this on you > smartphone and export a mileage report to CSV format that can be opened in > Excel or whatever. I use it for hospice volunteer and business uses. > > Charlotte Foust From jwcolby at colbyconsulting.com Tue Sep 27 12:59:24 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Sep 2011 13:59:24 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: References: <4E81B916.70601@colbyconsulting.com> <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> <4E81E8DB.2070508@colbyconsulting.com> Message-ID: <4E820EFC.1070903@colbyconsulting.com> Charlotte, I also have to say that it never occurred to me that on a programming group, a request for a vba function would be answered by "do it manually". ;) Disappointed I am. John W. Colby www.ColbyConsulting.com On 9/27/2011 1:32 PM, Charlotte Foust wrote: > John, > > You have a smartphone, right? There's an android app called Mileage > Tracker, from Frank Android Software, that lets you do this on you > smartphone and export a mileage report to CSV format that can be opened in > Excel or whatever. I use it for hospice volunteer and business uses. > > Charlotte Foust From rockysmolin at bchacc.com Tue Sep 27 13:46:47 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 27 Sep 2011 11:46:47 -0700 Subject: [AccessD] Calculating mileage In-Reply-To: <4E820EFC.1070903@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com> <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> <4E81E8DB.2070508@colbyconsulting.com> <4E820EFC.1070903@colbyconsulting.com> Message-ID: The system is the solution not the software. I still keep the corporate records in pencil on a 13 column green sheet because it's effective, easy to add/change/delete, never have to worry about backups, etc. I could move to QuickBooks and spent 3x the time keeping the records. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 27, 2011 10:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calculating mileage Charlotte, I also have to say that it never occurred to me that on a programming group, a request for a vba function would be answered by "do it manually". ;) Disappointed I am. John W. Colby www.ColbyConsulting.com On 9/27/2011 1:32 PM, Charlotte Foust wrote: > John, > > You have a smartphone, right? There's an android app called Mileage > Tracker, from Frank Android Software, that lets you do this on you > smartphone and export a mileage report to CSV format that can be > opened in Excel or whatever. I use it for hospice volunteer and business uses. > > Charlotte Foust -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From steve at goodhall.info Tue Sep 27 13:57:09 2011 From: steve at goodhall.info (Steve Goodhall) Date: Tue, 27 Sep 2011 14:57:09 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: References: <4E81B916.70601@colbyconsulting.com> <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> <4E81E8DB.2070508@colbyconsulting.com> <4E820EFC.1070903@colbyconsulting.com> Message-ID: A couple of questions : What do you do if the dog eats your ledger? Shouldn't you use a quill and inkwell to prevent alteration of the records? Steve Goodhall, MSCS, PMP Sent from my Verizon Wireless Phone -----Original message----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 27, 2011 18:49:18 GMT+00:00 Subject: Re: [AccessD] Calculating mileage The system is the solution not the software. I still keep the corporate records in pencil on a 13 column green sheet because it's effective, easy to add/change/delete, never have to worry about backups, etc. I could move to QuickBooks and spent 3x the time keeping the records. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 27, 2011 10:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calculating mileage Charlotte, I also have to say that it never occurred to me that on a programming group, a request for a vba function would be answered by "do it manually". ;) Disappointed I am. John W. Colby www.ColbyConsulting.com On 9/27/2011 1:32 PM, Charlotte Foust wrote: > John, > > You have a smartphone, right? There's an android app called Mileage > Tracker, from Frank Android Software, that lets you do this on you > smartphone and export a mileage report to CSV format that can be > opened in Excel or whatever. I use it for hospice volunteer and business uses. > > Charlotte Foust -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue Sep 27 14:14:58 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 27 Sep 2011 12:14:58 -0700 Subject: [AccessD] Calculating mileage In-Reply-To: References: <4E81B916.70601@colbyconsulting.com> <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> <4E81E8DB.2070508@colbyconsulting.com> <4E820EFC.1070903@colbyconsulting.com> Message-ID: 1) the dog knows if she ever wants to eat again... 2) how can I alter the books on the fly if they're in ink? I'm keeping the green eyeshade and the high stool, however. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 27, 2011 11:57 AM To: Access Developers discussion and problemsolving Subject: Re: [AccessD] Calculating mileage A couple of questions : What do you do if the dog eats your ledger? Shouldn't you use a quill and inkwell to prevent alteration of the records? Steve Goodhall, MSCS, PMP Sent from my Verizon Wireless Phone -----Original message----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 27, 2011 18:49:18 GMT+00:00 Subject: Re: [AccessD] Calculating mileage The system is the solution not the software. I still keep the corporate records in pencil on a 13 column green sheet because it's effective, easy to add/change/delete, never have to worry about backups, etc. I could move to QuickBooks and spent 3x the time keeping the records. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 27, 2011 10:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calculating mileage Charlotte, I also have to say that it never occurred to me that on a programming group, a request for a vba function would be answered by "do it manually". ;) Disappointed I am. John W. Colby www.ColbyConsulting.com On 9/27/2011 1:32 PM, Charlotte Foust wrote: > John, > > You have a smartphone, right? There's an android app called Mileage > Tracker, from Frank Android Software, that lets you do this on you > smartphone and export a mileage report to CSV format that can be > opened in Excel or whatever. I use it for hospice volunteer and > business uses. > > Charlotte Foust -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Sep 27 14:21:22 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Tue, 27 Sep 2011 12:21:22 -0700 Subject: [AccessD] Calculating mileage In-Reply-To: <4E820EFC.1070903@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com> <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> <4E81E8DB.2070508@colbyconsulting.com> <4E820EFC.1070903@colbyconsulting.com> Message-ID: Too bad, it is. :-> I fail to see how putting your mileage in is doing it manually. Unless you have a sensor in you automobile, you're putting something in somewhere. Charlotte Foust On Tue, Sep 27, 2011 at 10:59 AM, jwcolby wrote: > Charlotte, > > I also have to say that it never occurred to me that on a programming > group, a request for a vba function would be answered by "do it manually". > > ;) > > Disappointed I am. > > > John W. Colby > www.ColbyConsulting.com > > > > On 9/27/2011 1:32 PM, Charlotte Foust wrote: > >> John, >> >> You have a smartphone, right? There's an android app called Mileage >> Tracker, from Frank Android Software, that lets you do this on you >> smartphone and export a mileage report to CSV format that can be opened in >> Excel or whatever. I use it for hospice volunteer and business uses. >> >> 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 Tue Sep 27 14:51:06 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Sep 2011 15:51:06 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: References: <4E81B916.70601@colbyconsulting.com> <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> <4E81E8DB.2070508@colbyconsulting.com> <4E820EFC.1070903@colbyconsulting.com> Message-ID: <4E82292A.3000909@colbyconsulting.com> > I fail to see how putting your mileage in is doing it manually. It absolutely is doing it manually. I have to remember to take my phone (I have actually left it behind occasionally). I have to manually open the program and enter the odometer reading. I have to remember to enter it again when I get home. I have to manually pull it out of the phone into a spreadsheet, and then I have to design calculations to... All pretty much manual. >Unless you have a sensor in you automobile, you're putting something in somewhere. As I explained in the previous emails, there is a database where I build pass requests for checking inmates out of prison. The paperwork (the reason for the databases' existence) requires actual lines on a paper saying that I am taking inmate XYZ to this physical location (with street address) from date time ABC to (same) date (different) time DEF. So in order to check anyone out I have to fill out this paperwork which I do in a database, print out and fax to the prison. These database records record the physical locations (addresses), thus my original question about how to get the mileage from address X to address Y. I have a table with literally hundreds of records about picking guys up at the prison, taking them to a meeting at some address, then to eat at some other address. What is missing (but is easy to create programmatically) is my house to the prison and the prison back to my house. My vision is a small process that is run on my server which every day scans the pass request table for records not yet processed, and builds these mileage records in a mileage table. If this runs daily, then any database user (volunteer) can just run a report to display his mileage for a time period - last week, month or year. The report can list the trips and segments as a log for IRS documentation and multiply by 55c / mile (or whatever the current rate is) for entering into the correct tax form. For the average Joe (me) who does not employ a book keeper this seems infinitely preferable to any alternative I can think of. John W. Colby www.ColbyConsulting.com On 9/27/2011 3:21 PM, Charlotte Foust wrote: > Too bad, it is. :-> > > I fail to see how putting your mileage in is doing it manually. Unless > you have a sensor in you automobile, you're putting something in somewhere. > > Charlotte Foust > > On Tue, Sep 27, 2011 at 10:59 AM, jwcolbywrote: > >> Charlotte, >> >> I also have to say that it never occurred to me that on a programming >> group, a request for a vba function would be answered by "do it manually". >> >> ;) >> >> Disappointed I am. >> >> >> John W. Colby >> www.ColbyConsulting.com >> >> >> >> On 9/27/2011 1:32 PM, Charlotte Foust wrote: >> >>> John, >>> >>> You have a smartphone, right? There's an android app called Mileage >>> Tracker, from Frank Android Software, that lets you do this on you >>> smartphone and export a mileage report to CSV format that can be opened in >>> Excel or whatever. I use it for hospice volunteer and business uses. >>> >>> Charlotte Foust >>> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> >> >> Website: http://www.databaseadvisors.**com >> >> >> From darryl at whittleconsulting.com.au Tue Sep 27 18:17:40 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 28 Sep 2011 09:17:40 +1000 Subject: [AccessD] Calculating mileage In-Reply-To: <4E81B916.70601@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com> Message-ID: <000701cc7d6b$a78c1550$f6a43ff0$@com.au> I would have thought a standard GPS unit would do this for you pretty much automatically, although I have bugger all experience in this area. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, 27 September 2011 9:53 PM To: Access Developers discussion and problem solving Subject: [AccessD] Calculating mileage Before tax time I need to add a module to my inmate checkout to calculate mileage for all legs of a trip with the inmates. The database contains records of where we go - the midpoints points - with addresses, but the database does not have my start / end point (home). 1) Home to prison 2) Prison to first destination in the db 3) First destination to second destination (if any) 4) Second destination to third destination (if any) 5) Last destination to prison 6) Prison to home I thought I would try to use Microsoft Streets and trips to do the mapping, though I am open to using Google Maps if there is a programming interface available to the VBA language. I could of course manually enter the trips into Streets and trips, get the mileage and build a table of all the "legs" that I have ever done but that is error prone and forces me to do the whole thing manually. Also this is in use by other people so it would be nice to build a module that would also calculate their legs, which I certainly do not want to do myself manually. If for tax purposes I just assume that we always start from home and end at home I could use something like Streets and trips (which I have) to calculate all of these legs for each trip and place them in a table. At tax time I then have a mileage log for the IRS. I have never used Streets and Trips for this purpose. I do know that it has an API and VBA available for it. If anyone uses it for this purpose and has a library (or a function) written to do this that they would share that would be great. Or a web or help resource for this. Thanks, -- John W. Colby www.ColbyConsulting.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 Sep 27 21:35:31 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Sep 2011 22:35:31 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: <000701cc7d6b$a78c1550$f6a43ff0$@com.au> References: <4E81B916.70601@colbyconsulting.com> <000701cc7d6b$a78c1550$f6a43ff0$@com.au> Message-ID: <4E8287F3.2000201@colbyconsulting.com> > I would have thought a standard GPS unit would do this for you pretty much automatically Do what for me? A gps gets you from one place to another. I need code to calculate mileage between two points. I have a database of trips I have taken, hundreds of existing records. I need to calculate the mileage of those trips so that I can apply for a tax refund. Maybe I am missing something here. How is a a gps or a smart phone or a paper log going to help me get mileage calculations for existing and future data records in a database? John W. Colby www.ColbyConsulting.com On 9/27/2011 7:17 PM, Darryl Collins wrote: > I would have thought a standard GPS unit would do this for you pretty much > automatically, although I have bugger all experience in this area. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, 27 September 2011 9:53 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Calculating mileage > > Before tax time I need to add a module to my inmate checkout to calculate > mileage for all legs of a > trip with the inmates. The database contains records of where we go - the > midpoints points - with > addresses, but the database does not have my start / end point (home). > > 1) Home to prison > 2) Prison to first destination in the db > 3) First destination to second destination (if any) > 4) Second destination to third destination (if any) > 5) Last destination to prison > 6) Prison to home > > I thought I would try to use Microsoft Streets and trips to do the mapping, > though I am open to > using Google Maps if there is a programming interface available to the VBA > language. > > I could of course manually enter the trips into Streets and trips, get the > mileage and build a table > of all the "legs" that I have ever done but that is error prone and forces > me to do the whole thing > manually. Also this is in use by other people so it would be nice to build > a module that would also > calculate their legs, which I certainly do not want to do myself manually. > > If for tax purposes I just assume that we always start from home and end at > home I could use > something like Streets and trips (which I have) to calculate all of these > legs for each trip and > place them in a table. At tax time I then have a mileage log for the IRS. > > I have never used Streets and Trips for this purpose. I do know that it has > an API and VBA > available for it. If anyone uses it for this purpose and has a library (or > a function) written to > do this that they would share that would be great. Or a web or help > resource for this. > > Thanks, > From vbacreations at gmail.com Tue Sep 27 22:10:32 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Tue, 27 Sep 2011 23:10:32 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: References: <4E81B916.70601@colbyconsulting.com> <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> <4E81E8DB.2070508@colbyconsulting.com> <4E820EFC.1070903@colbyconsulting.com> Message-ID: <006201cc7d8c$2fab2320$8f016960$@gmail.com> It is only manually if there is a clutch. Paddle shifters don't count. :<) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, September 27, 2011 3:21 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calculating mileage Too bad, it is. :-> I fail to see how putting your mileage in is doing it manually. Unless you have a sensor in you automobile, you're putting something in somewhere. Charlotte Foust On Tue, Sep 27, 2011 at 10:59 AM, jwcolby wrote: > Charlotte, > > I also have to say that it never occurred to me that on a programming > group, a request for a vba function would be answered by "do it manually". > > ;) > > Disappointed I am. > > > John W. Colby > www.ColbyConsulting.com > > > > On 9/27/2011 1:32 PM, Charlotte Foust wrote: > >> John, >> >> You have a smartphone, right? There's an android app called Mileage >> Tracker, from Frank Android Software, that lets you do this on you >> smartphone and export a mileage report to CSV format that can be opened in >> Excel or whatever. I use it for hospice volunteer and business uses. >> >> Charlotte Foust >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/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 Sep 27 22:31:44 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 28 Sep 2011 13:31:44 +1000 Subject: [AccessD] Calculating mileage In-Reply-To: <4E8287F3.2000201@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com> <000701cc7d6b$a78c1550$f6a43ff0$@com.au> <4E8287F3.2000201@colbyconsulting.com> Message-ID: <002201cc7d8f$25cae130$7160a390$@com.au> Can't add much value to your historical data issue John, but for your future records, well I guess it depends on how much effort and money you want to put into this. There are 'turnkey' solutions already out there for exactly this sort of reporting. These folks will report on miles / kilometres travelled and way much more for about $40 a month. <> It actually looks like a bit of over engineering for what you are after, but the concept is exactly what I am talking about. Let the GPS record the mileage for you and just download it to you PC. You might find the service above is worth the $40 per month for your needs. Dunno. Anyway, that seems a lot easier than stuffing around with tracking online maps etc Although the cheapest and best solution I would have thought was the one already suggested. Use a smart phone app, or better still, an old fashion paper log book. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, 28 September 2011 12:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calculating mileage > I would have thought a standard GPS unit would do this for you pretty much automatically Do what for me? A gps gets you from one place to another. I need code to calculate mileage between two points. I have a database of trips I have taken, hundreds of existing records. I need to calculate the mileage of those trips so that I can apply for a tax refund. Maybe I am missing something here. How is a a gps or a smart phone or a paper log going to help me get mileage calculations for existing and future data records in a database? John W. Colby www.ColbyConsulting.com On 9/27/2011 7:17 PM, Darryl Collins wrote: > I would have thought a standard GPS unit would do this for you pretty much > automatically, although I have bugger all experience in this area. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, 27 September 2011 9:53 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Calculating mileage > > Before tax time I need to add a module to my inmate checkout to calculate > mileage for all legs of a > trip with the inmates. The database contains records of where we go - the > midpoints points - with > addresses, but the database does not have my start / end point (home). > > 1) Home to prison > 2) Prison to first destination in the db > 3) First destination to second destination (if any) > 4) Second destination to third destination (if any) > 5) Last destination to prison > 6) Prison to home > > I thought I would try to use Microsoft Streets and trips to do the mapping, > though I am open to > using Google Maps if there is a programming interface available to the VBA > language. > > I could of course manually enter the trips into Streets and trips, get the > mileage and build a table > of all the "legs" that I have ever done but that is error prone and forces > me to do the whole thing > manually. Also this is in use by other people so it would be nice to build > a module that would also > calculate their legs, which I certainly do not want to do myself manually. > > If for tax purposes I just assume that we always start from home and end at > home I could use > something like Streets and trips (which I have) to calculate all of these > legs for each trip and > place them in a table. At tax time I then have a mileage log for the IRS. > > I have never used Streets and Trips for this purpose. I do know that it has > an API and VBA > available for it. If anyone uses it for this purpose and has a library (or > a function) written to > do this that they would share that would be great. Or a web or help > resource for this. > > Thanks, > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Sep 28 06:08:03 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 28 Sep 2011 07:08:03 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: <002201cc7d8f$25cae130$7160a390$@com.au> References: <4E81B916.70601@colbyconsulting.com> <000701cc7d6b$a78c1550$f6a43ff0$@com.au> <4E8287F3.2000201@colbyconsulting.com> <002201cc7d8f$25cae130$7160a390$@com.au> Message-ID: <4E830013.2020403@colbyconsulting.com> But... I have database records already in a database. This is not about defining a solution for data that does not exist and I would otherwise have to enter. This is about defining a solution for data that I (and any other user) must enter into the database to use the inmate pass program. *It is already in the database* This is about building a small program to do these calculations about data that has and *is going to* accumulate in the course of doing business. It appears that I am not able to get across to this list the fact that the records already exist in a database. Forget that I am driving. *Just please forget that fact.* I never said anything about actually driving these miles, being in a car or anything else related to automobiles. Now... I have records in a database which have addresses in them. I need to calculate driving distances between those addresses. Pleeeeeeaaaaaaase, I do not want nor do I need anything related to logging miles driven in a car. I need a function which takes two addresses and hands back miles between those points, actual miles that would be driven. BUT I AM NOT DRIVING THOSE MILES. The records are somehow just magically (poof) appearing in a table! John W. Colby www.ColbyConsulting.com On 9/27/2011 11:31 PM, Darryl Collins wrote: > Can't add much value to your historical data issue John, but for your future > records, well I guess it depends on how much effort and money you want to > put into this. > > There are 'turnkey' solutions already out there for exactly this sort of > reporting. These folks will report on miles / kilometres travelled and way > much more for about $40 a month. > > <> > > It actually looks like a bit of over engineering for what you are after, but > the concept is exactly what I am talking about. Let the GPS record the > mileage for you and just download it to you PC. You might find the service > above is worth the $40 per month for your needs. Dunno. Anyway, that seems > a lot easier than stuffing around with tracking online maps etc > > Although the cheapest and best solution I would have thought was the one > already suggested. Use a smart phone app, or better still, an old fashion > paper log book. > > Cheers > Darryl > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Wednesday, 28 September 2011 12:36 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Calculating mileage > > > I would have thought a standard GPS unit would do this for you pretty > much automatically > > Do what for me? A gps gets you from one place to another. I need code to > calculate mileage between > two points. > > I have a database of trips I have taken, hundreds of existing records. I > need to calculate the > mileage of those trips so that I can apply for a tax refund. > > Maybe I am missing something here. How is a a gps or a smart phone or a > paper log going to help me > get mileage calculations for existing and future data records in a database? > > John W. Colby > www.ColbyConsulting.com > > On 9/27/2011 7:17 PM, Darryl Collins wrote: >> I would have thought a standard GPS unit would do this for you pretty much >> automatically, although I have bugger all experience in this area. >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Tuesday, 27 September 2011 9:53 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Calculating mileage >> >> Before tax time I need to add a module to my inmate checkout to calculate >> mileage for all legs of a >> trip with the inmates. The database contains records of where we go - the >> midpoints points - with >> addresses, but the database does not have my start / end point (home). >> >> 1) Home to prison >> 2) Prison to first destination in the db >> 3) First destination to second destination (if any) >> 4) Second destination to third destination (if any) >> 5) Last destination to prison >> 6) Prison to home >> >> I thought I would try to use Microsoft Streets and trips to do the > mapping, >> though I am open to >> using Google Maps if there is a programming interface available to the VBA >> language. >> >> I could of course manually enter the trips into Streets and trips, get the >> mileage and build a table >> of all the "legs" that I have ever done but that is error prone and forces >> me to do the whole thing >> manually. Also this is in use by other people so it would be nice to > build >> a module that would also >> calculate their legs, which I certainly do not want to do myself manually. >> >> If for tax purposes I just assume that we always start from home and end > at >> home I could use >> something like Streets and trips (which I have) to calculate all of these >> legs for each trip and >> place them in a table. At tax time I then have a mileage log for the IRS. >> >> I have never used Streets and Trips for this purpose. I do know that it > has >> an API and VBA >> available for it. If anyone uses it for this purpose and has a library > (or >> a function) written to >> do this that they would share that would be great. Or a web or help >> resource for this. >> >> Thanks, >> From mwp.reid at qub.ac.uk Wed Sep 28 06:13:05 2011 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 28 Sep 2011 12:13:05 +0100 Subject: [AccessD] Calculating mileage In-Reply-To: <4E830013.2020403@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com> <000701cc7d6b$a78c1550$f6a43ff0$@com.au> <4E8287F3.2000201@colbyconsulting.com> <002201cc7d8f$25cae130$7160a390$@com.au> <4E830013.2020403@colbyconsulting.com> Message-ID: <631CF83223105545BF43EFB52CB082956A300542A6@EX2K7-VIRT-2.ads.qub.ac.uk> John Just out of interest how do you work out the route to get the mileage? (I understand what you are doing by the way). I was thinking that they only may pay for the shortest route between A and B and C Martin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 28 September 2011 12:08 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calculating mileage But... I have database records already in a database. This is not about defining a solution for data that does not exist and I would otherwise have to enter. This is about defining a solution for data that I (and any other user) must enter into the database to use the inmate pass program. *It is already in the database* This is about building a small program to do these calculations about data that has and *is going to* accumulate in the course of doing business. It appears that I am not able to get across to this list the fact that the records already exist in a database. Forget that I am driving. *Just please forget that fact.* I never said anything about actually driving these miles, being in a car or anything else related to automobiles. Now... I have records in a database which have addresses in them. I need to calculate driving distances between those addresses. Pleeeeeeaaaaaaase, I do not want nor do I need anything related to logging miles driven in a car. I need a function which takes two addresses and hands back miles between those points, actual miles that would be driven. BUT I AM NOT DRIVING THOSE MILES. The records are somehow just magically (poof) appearing in a table! From jwcolby at colbyconsulting.com Wed Sep 28 06:47:00 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 28 Sep 2011 07:47:00 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: <631CF83223105545BF43EFB52CB082956A300542A6@EX2K7-VIRT-2.ads.qub.ac.uk> References: <4E81B916.70601@colbyconsulting.com> <000701cc7d6b$a78c1550$f6a43ff0$@com.au> <4E8287F3.2000201@colbyconsulting.com> <002201cc7d8f$25cae130$7160a390$@com.au> <4E830013.2020403@colbyconsulting.com> <631CF83223105545BF43EFB52CB082956A300542A6@EX2K7-VIRT-2.ads.qub.ac.uk> Message-ID: <4E830934.7010806@colbyconsulting.com> > Just out of interest how do you work out the route to get the mileage? I *thought* that was the precise question I asked in the first email of this thread. How *do* I do that? My thought was to use a mapping program such as MapPoint. MapPoint has VBA behind it and it has an API. AFAICT MapPoint and other such programs already pretty much calculate shortest distance. That is actually good enough and in fact what I want. I pretty much don't care, not do I have any clue what actual route was driven. If the user wanted to take the inmate on a tour of another city while driving them from point a to point be, that is not my concern. What I actually need is "what would a map program say was the route and what was that distance". If I don't have an actual log (and I don't!!! and I CAN'T!!!) then this is what the IRS will want for documentation. John W. Colby www.ColbyConsulting.com On 9/28/2011 7:13 AM, Martin Reid wrote: > John > > Just out of interest how do you work out the route to get the mileage? (I understand what you are doing by the way). I was thinking that they only may pay for the shortest route between A and B and C > > Martin > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 28 September 2011 12:08 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Calculating mileage > > But... I have database records already in a database. This is not about defining a solution for data that does not exist and I would otherwise have to enter. This is about defining a solution for data that I (and any other user) must enter into the database to use the inmate pass program. > > *It is already in the database* > > This is about building a small program to do these calculations about data that has and *is going > to* accumulate in the course of doing business. > > It appears that I am not able to get across to this list the fact that the records already exist in a database. > > Forget that I am driving. *Just please forget that fact.* I never said anything about actually > driving these miles, being in a car or anything else related to automobiles. > > Now... > > I have records in a database which have addresses in them. I need to calculate driving distances between those addresses. > > Pleeeeeeaaaaaaase, I do not want nor do I need anything related to logging miles driven in a car. > > I need a function which takes two addresses and hands back miles between those points, actual miles that would be driven. > > BUT I AM NOT DRIVING THOSE MILES. The records are somehow just magically (poof) appearing in a table! > From stuart at lexacorp.com.pg Wed Sep 28 06:58:18 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 28 Sep 2011 21:58:18 +1000 Subject: [AccessD] Calculating mileage In-Reply-To: <4E830013.2020403@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com>, <002201cc7d8f$25cae130$7160a390$@com.au>, <4E830013.2020403@colbyconsulting.com> Message-ID: <4E830BDA.13417.25CA9EA5@stuart.lexacorp.com.pg> You could possible build a website scaper function to use this: http://www.randmcnally.com/mileage-calculator.do On 28 Sep 2011 at 7:08, jwcolby wrote: > But... I have database records already in a database. This is not > about defining a solution for data that does not exist and I would > otherwise have to enter. This is about defining a solution for data > that I (and any other user) must enter into the database to use the > inmate pass program. > > *It is already in the database* > > This is about building a small program to do these calculations about > data that has and *is going to* accumulate in the course of doing > business. > > It appears that I am not able to get across to this list the fact that > the records already exist in a database. > > Forget that I am driving. *Just please forget that fact.* I never > said anything about actually driving these miles, being in a car or > anything else related to automobiles. > > Now... > > I have records in a database which have addresses in them. I need to > calculate driving distances between those addresses. > > Pleeeeeeaaaaaaase, I do not want nor do I need anything related to > logging miles driven in a car. > > I need a function which takes two addresses and hands back miles > between those points, actual miles that would be driven. > > BUT I AM NOT DRIVING THOSE MILES. The records are somehow just > magically (poof) appearing in a table! > > John W. Colby > www.ColbyConsulting.com > > On 9/27/2011 11:31 PM, Darryl Collins wrote: > > Can't add much value to your historical data issue John, but for > > your future records, well I guess it depends on how much effort and > > money you want to put into this. > > > > There are 'turnkey' solutions already out there for exactly this > > sort of reporting. These folks will report on miles / kilometres > > travelled and way much more for about $40 a month. > > > > <> > > > > It actually looks like a bit of over engineering for what you are > > after, but the concept is exactly what I am talking about. Let the > > GPS record the mileage for you and just download it to you PC. You > > might find the service above is worth the $40 per month for your > > needs. Dunno. Anyway, that seems a lot easier than stuffing around > > with tracking online maps etc > > > > Although the cheapest and best solution I would have thought was the > > one already suggested. Use a smart phone app, or better still, an > > old fashion paper log book. > > > > Cheers > > Darryl > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > > Sent: Wednesday, 28 September 2011 12:36 PM To: Access Developers > > discussion and problem solving Subject: Re: [AccessD] Calculating > > mileage > > > > > I would have thought a standard GPS unit would do this for you > > > pretty > > much automatically > > > > Do what for me? A gps gets you from one place to another. I need > > code to calculate mileage between two points. > > > > I have a database of trips I have taken, hundreds of existing > > records. I need to calculate the mileage of those trips so that I > > can apply for a tax refund. > > > > Maybe I am missing something here. How is a a gps or a smart phone > > or a paper log going to help me get mileage calculations for > > existing and future data records in a database? > > > > John W. Colby > > www.ColbyConsulting.com > > > > On 9/27/2011 7:17 PM, Darryl Collins wrote: > >> I would have thought a standard GPS unit would do this for you > >> pretty much automatically, although I have bugger all experience in > >> this area. > >> > >> > >> > >> -----Original Message----- > >> From: accessd-bounces at databaseadvisors.com > >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > >> Sent: Tuesday, 27 September 2011 9:53 PM To: Access Developers > >> discussion and problem solving Subject: [AccessD] Calculating > >> mileage > >> > >> Before tax time I need to add a module to my inmate checkout to > >> calculate mileage for all legs of a trip with the inmates. The > >> database contains records of where we go - the midpoints points - > >> with addresses, but the database does not have my start / end point > >> (home). > >> > >> 1) Home to prison > >> 2) Prison to first destination in the db > >> 3) First destination to second destination (if any) > >> 4) Second destination to third destination (if any) > >> 5) Last destination to prison > >> 6) Prison to home > >> > >> I thought I would try to use Microsoft Streets and trips to do the > > mapping, > >> though I am open to > >> using Google Maps if there is a programming interface available to > >> the VBA language. > >> > >> I could of course manually enter the trips into Streets and trips, > >> get the mileage and build a table of all the "legs" that I have > >> ever done but that is error prone and forces me to do the whole > >> thing manually. Also this is in use by other people so it would be > >> nice to > > build > >> a module that would also > >> calculate their legs, which I certainly do not want to do myself > >> manually. > >> > >> If for tax purposes I just assume that we always start from home > >> and end > > at > >> home I could use > >> something like Streets and trips (which I have) to calculate all of > >> these legs for each trip and place them in a table. At tax time I > >> then have a mileage log for the IRS. > >> > >> I have never used Streets and Trips for this purpose. I do know > >> that it > > has > >> an API and VBA > >> available for it. If anyone uses it for this purpose and has a > >> library > > (or > >> a function) written to > >> do this that they would share that would be great. Or a web or > >> help resource for this. > >> > >> Thanks, > >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From paul.hartland at googlemail.com Wed Sep 28 06:58:50 2011 From: paul.hartland at googlemail.com (Paul Hartland) Date: Wed, 28 Sep 2011 12:58:50 +0100 Subject: [AccessD] Calculating mileage In-Reply-To: <4E830934.7010806@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com> <000701cc7d6b$a78c1550$f6a43ff0$@com.au> <4E8287F3.2000201@colbyconsulting.com> <002201cc7d8f$25cae130$7160a390$@com.au> <4E830013.2020403@colbyconsulting.com> <631CF83223105545BF43EFB52CB082956A300542A6@EX2K7-VIRT-2.ads.qub.ac.uk> <4E830934.7010806@colbyconsulting.com> Message-ID: John, I have previously used MapPoint to do this using VB6, I had a matrix table of postcode sectors and calculated the shortest driving distance using that. However took quite a while as there were a few hundred thousand, and couldn't get the code to calculate any quicker than about 2 seconds per record. However our old web developer (since left the company), wrote a PHP page that interfaced with Google and this was much quicker, however I do not know how he referenced Google etc. Paul On 28 September 2011 12:47, jwcolby wrote: > > Just out of interest how do you work out the route to get the mileage? > > I *thought* that was the precise question I asked in the first email of > this thread. How *do* I do that? > > My thought was to use a mapping program such as MapPoint. MapPoint has VBA > behind it and it has an API. > > AFAICT MapPoint and other such programs already pretty much calculate > shortest distance. That is actually good enough and in fact what I want. I > pretty much don't care, not do I have any clue what actual route was driven. > If the user wanted to take the inmate on a tour of another city while > driving them from point a to point be, that is not my concern. What I > actually need is "what would a map program say was the route and what was > that distance". > > If I don't have an actual log (and I don't!!! and I CAN'T!!!) then this is > what the IRS will want for documentation. > > John W. Colby > www.ColbyConsulting.com > > On 9/28/2011 7:13 AM, Martin Reid wrote: > >> John >> >> Just out of interest how do you work out the route to get the mileage? (I >> understand what you are doing by the way). I was thinking that they only may >> pay for the shortest route between A and B and C >> >> Martin >> >> >> >> -----Original Message----- >> From: accessd-bounces@**databaseadvisors.com[mailto: >> accessd-bounces@**databaseadvisors.com] >> On Behalf Of jwcolby >> Sent: 28 September 2011 12:08 >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Calculating mileage >> >> But... I have database records already in a database. This is not about >> defining a solution for data that does not exist and I would otherwise have >> to enter. This is about defining a solution for data that I (and any other >> user) must enter into the database to use the inmate pass program. >> >> *It is already in the database* >> >> This is about building a small program to do these calculations about data >> that has and *is going >> to* accumulate in the course of doing business. >> >> It appears that I am not able to get across to this list the fact that the >> records already exist in a database. >> >> Forget that I am driving. *Just please forget that fact.* I never said >> anything about actually >> driving these miles, being in a car or anything else related to >> automobiles. >> >> Now... >> >> I have records in a database which have addresses in them. I need to >> calculate driving distances between those addresses. >> >> Pleeeeeeaaaaaaase, I do not want nor do I need anything related to logging >> miles driven in a car. >> >> I need a function which takes two addresses and hands back miles between >> those points, actual miles that would be driven. >> >> BUT I AM NOT DRIVING THOSE MILES. The records are somehow just magically >> (poof) appearing in a table! >> >> -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > -- Paul Hartland paul.hartland at googlemail.com From jimdettman at verizon.net Wed Sep 28 07:38:35 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 28 Sep 2011 08:38:35 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: <4E81B916.70601@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com> Message-ID: <53BF52EE670C49BD9C9DA549E56D5CC0@XPS> John, Check out the following two links: http://rdsrc.us/7mwAve This has a solution from Helen Feddema, which places a Google Map in a web browser control and allow you to get the route and mileage between zips. This is not exactly what you want, but it shows you the basic technique of formatting a URL for Google Maps. http://rdsrc.us/XqHekz This second one is a lot closer to what you want, but it was done in an Excel spreadsheet. Still VBA code though and you should be able to drop it into Access except for the cell references. Scroll to the bottom and about four comments back. Look for the one from Patrick with the download web-Google-maps-distances-10-2-.xls. He notes that this is for distance between zips, but that an address in the to/from column would work as well, so that should suite your purposes. There may be a solution that's dead on, but I don't have the time to search at the moment. Between the two above, you should be able to figure it out fast enough. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 27, 2011 07:53 AM To: Access Developers discussion and problem solving Subject: [AccessD] Calculating mileage Before tax time I need to add a module to my inmate checkout to calculate mileage for all legs of a trip with the inmates. The database contains records of where we go - the midpoints points - with addresses, but the database does not have my start / end point (home). 1) Home to prison 2) Prison to first destination in the db 3) First destination to second destination (if any) 4) Second destination to third destination (if any) 5) Last destination to prison 6) Prison to home I thought I would try to use Microsoft Streets and trips to do the mapping, though I am open to using Google Maps if there is a programming interface available to the VBA language. I could of course manually enter the trips into Streets and trips, get the mileage and build a table of all the "legs" that I have ever done but that is error prone and forces me to do the whole thing manually. Also this is in use by other people so it would be nice to build a module that would also calculate their legs, which I certainly do not want to do myself manually. If for tax purposes I just assume that we always start from home and end at home I could use something like Streets and trips (which I have) to calculate all of these legs for each trip and place them in a table. At tax time I then have a mileage log for the IRS. I have never used Streets and Trips for this purpose. I do know that it has an API and VBA available for it. If anyone uses it for this purpose and has a library (or a function) written to do this that they would share that would be great. Or a web or help resource for this. Thanks, -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Wed Sep 28 08:37:57 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Wed, 28 Sep 2011 09:37:57 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: <53BF52EE670C49BD9C9DA549E56D5CC0@XPS> References: <4E81B916.70601@colbyconsulting.com> <53BF52EE670C49BD9C9DA549E56D5CC0@XPS> Message-ID: <000e01cc7de3$d610dfa0$82329ee0$@gmail.com> I would contact a company like Transfinder.com and ask them how they do it. They plan bus routes. I know they use a lot of stuff besides shortest possible route, but I am sure that is their starting point. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, September 28, 2011 8:39 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Calculating mileage John, Check out the following two links: http://rdsrc.us/7mwAve This has a solution from Helen Feddema, which places a Google Map in a web browser control and allow you to get the route and mileage between zips. This is not exactly what you want, but it shows you the basic technique of formatting a URL for Google Maps. http://rdsrc.us/XqHekz This second one is a lot closer to what you want, but it was done in an Excel spreadsheet. Still VBA code though and you should be able to drop it into Access except for the cell references. Scroll to the bottom and about four comments back. Look for the one from Patrick with the download web-Google-maps-distances-10-2-.xls. He notes that this is for distance between zips, but that an address in the to/from column would work as well, so that should suite your purposes. There may be a solution that's dead on, but I don't have the time to search at the moment. Between the two above, you should be able to figure it out fast enough. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 27, 2011 07:53 AM To: Access Developers discussion and problem solving Subject: [AccessD] Calculating mileage Before tax time I need to add a module to my inmate checkout to calculate mileage for all legs of a trip with the inmates. The database contains records of where we go - the midpoints points - with addresses, but the database does not have my start / end point (home). 1) Home to prison 2) Prison to first destination in the db 3) First destination to second destination (if any) 4) Second destination to third destination (if any) 5) Last destination to prison 6) Prison to home I thought I would try to use Microsoft Streets and trips to do the mapping, though I am open to using Google Maps if there is a programming interface available to the VBA language. I could of course manually enter the trips into Streets and trips, get the mileage and build a table of all the "legs" that I have ever done but that is error prone and forces me to do the whole thing manually. Also this is in use by other people so it would be nice to build a module that would also calculate their legs, which I certainly do not want to do myself manually. If for tax purposes I just assume that we always start from home and end at home I could use something like Streets and trips (which I have) to calculate all of these legs for each trip and place them in a table. At tax time I then have a mileage log for the IRS. I have never used Streets and Trips for this purpose. I do know that it has an API and VBA available for it. If anyone uses it for this purpose and has a library (or a function) written to do this that they would share that would be great. Or a web or help resource for this. Thanks, -- John W. Colby www.ColbyConsulting.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 Wed Sep 28 08:42:27 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 28 Sep 2011 09:42:27 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: <53BF52EE670C49BD9C9DA549E56D5CC0@XPS> References: <4E81B916.70601@colbyconsulting.com> <53BF52EE670C49BD9C9DA549E56D5CC0@XPS> Message-ID: <4E832443.6000300@colbyconsulting.com> Thanks Jim. John W. Colby www.ColbyConsulting.com On 9/28/2011 8:38 AM, Jim Dettman wrote: > John, > > Check out the following two links: > > http://rdsrc.us/7mwAve > > This has a solution from Helen Feddema, which places a Google Map in a web > browser control and allow you to get the route and mileage between zips. > This is not exactly what you want, but it shows you the basic technique of > formatting a URL for Google Maps. > > http://rdsrc.us/XqHekz > > This second one is a lot closer to what you want, but it was done in an > Excel spreadsheet. Still VBA code though and you should be able to drop it > into Access except for the cell references. Scroll to the bottom and about > four comments back. Look for the one from Patrick with the download > web-Google-maps-distances-10-2-.xls. > > He notes that this is for distance between zips, but that an address in > the to/from column would work as well, so that should suite your purposes. > > There may be a solution that's dead on, but I don't have the time to > search at the moment. Between the two above, you should be able to figure > it out fast enough. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, September 27, 2011 07:53 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Calculating mileage > > Before tax time I need to add a module to my inmate checkout to calculate > mileage for all legs of a > trip with the inmates. The database contains records of where we go - the > midpoints points - with > addresses, but the database does not have my start / end point (home). > > 1) Home to prison > 2) Prison to first destination in the db > 3) First destination to second destination (if any) > 4) Second destination to third destination (if any) > 5) Last destination to prison > 6) Prison to home > > I thought I would try to use Microsoft Streets and trips to do the mapping, > though I am open to > using Google Maps if there is a programming interface available to the VBA > language. > > I could of course manually enter the trips into Streets and trips, get the > mileage and build a table > of all the "legs" that I have ever done but that is error prone and forces > me to do the whole thing > manually. Also this is in use by other people so it would be nice to build > a module that would also > calculate their legs, which I certainly do not want to do myself manually. > > If for tax purposes I just assume that we always start from home and end at > home I could use > something like Streets and trips (which I have) to calculate all of these > legs for each trip and > place them in a table. At tax time I then have a mileage log for the IRS. > > I have never used Streets and Trips for this purpose. I do know that it has > an API and VBA > available for it. If anyone uses it for this purpose and has a library (or > a function) written to > do this that they would share that would be great. Or a web or help > resource for this. > > Thanks, > From rockysmolin at bchacc.com Fri Sep 30 08:25:04 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 30 Sep 2011 06:25:04 -0700 Subject: [AccessD] OT Friday - Calculus Problem Message-ID: Dear Lists: My son has a calc test today and has a problem he doesn't understand. I can't help him with it. Anyone remember how to do this? Position function is s(t) = -4.9t**2 +200 which gives the height in meters of an object that is falling from a height of 200 meters. The velocity at time t = as seconds is given by: lim(t-->a) = ((s(a)-s(t)) / (a-t) FInd the velocity of the object when t=4. The answer in -39.2 m/sec. How is that derived? MTIA Rocky From dbdoug at gmail.com Fri Sep 30 11:28:59 2011 From: dbdoug at gmail.com (Doug Steele) Date: Fri, 30 Sep 2011 09:28:59 -0700 Subject: [AccessD] OT Friday - Calculus Problem In-Reply-To: References: Message-ID: I can do it but I can't explain it well :) if the position function is s(t) = -4.9t**2 + 200 then the function for the change of position in time (the velocity) is the derivative of the first function (notice the apostrophe after the s). s'(t) = -4.9 * 2 * t solving for t= 4 gives you -39.2 Funny what you remember from high school! Yes, I took calculus in high school. Newtonian calculus, at that, so I found university calculus a total mind fzck. Doug On Fri, Sep 30, 2011 at 6:25 AM, Rocky Smolin wrote: > Dear Lists: > > My son has a calc test today and has a problem he doesn't understand. I > can't help him with it. Anyone remember how to do this? > > Position function is s(t) = -4.9t**2 +200 > > which gives the height in meters of an object that is falling from a height > of 200 meters. The velocity at time t = as seconds is given by: > > lim(t-->a) = ((s(a)-s(t)) / (a-t) > > FInd the velocity of the object when t=4. The answer in -39.2 m/sec. How > is > that derived? > > MTIA > > Rocky > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Fri Sep 30 11:46:21 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 30 Sep 2011 09:46:21 -0700 Subject: [AccessD] OT Friday - Calculus Problem In-Reply-To: References: Message-ID: <3852DFA8DBFC4E298275BB740F9B70DF@HAL9007> Thanks Doug. I'll forward to him at school, maybe he'll get it off his phone. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Friday, September 30, 2011 9:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Friday - Calculus Problem I can do it but I can't explain it well :) if the position function is s(t) = -4.9t**2 + 200 then the function for the change of position in time (the velocity) is the derivative of the first function (notice the apostrophe after the s). s'(t) = -4.9 * 2 * t solving for t= 4 gives you -39.2 Funny what you remember from high school! Yes, I took calculus in high school. Newtonian calculus, at that, so I found university calculus a total mind fzck. Doug On Fri, Sep 30, 2011 at 6:25 AM, Rocky Smolin wrote: > Dear Lists: > > My son has a calc test today and has a problem he doesn't understand. > I can't help him with it. Anyone remember how to do this? > > Position function is s(t) = -4.9t**2 +200 > > which gives the height in meters of an object that is falling from a > height of 200 meters. The velocity at time t = as seconds is given by: > > lim(t-->a) = ((s(a)-s(t)) / (a-t) > > FInd the velocity of the object when t=4. The answer in -39.2 m/sec. > How is that derived? > > MTIA > > Rocky > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Sep 30 16:58:31 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 30 Sep 2011 17:58:31 -0400 Subject: [AccessD] Geek to Live: Secure your saved passwords in Firefox Message-ID: <4E863B87.4080302@colbyconsulting.com> http://lifehacker.com/154099/geek-to-live--secure-your-saved-passwords-in-firefox jwcolby From fuller.artful at gmail.com Fri Sep 30 20:14:53 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 30 Sep 2011 21:14:53 -0400 Subject: [AccessD] OT Friday - Calculus Problem In-Reply-To: References: Message-ID: I am just about to turn 64yo, and suddenly all this stuff is interesting to me. Perhaps this might be characterized as some new disease, in which case I might be able to bill the government for treatments, or at least some academic attention LOL. I follow your thread and approve same. On Fri, Sep 30, 2011 at 12:28 PM, Doug Steele wrote: > I can do it but I can't explain it well :) > > if the position function is s(t) = -4.9t**2 + 200 > > then the function for the change of position in time (the velocity) is the > derivative of the first function (notice the apostrophe after the s). > > s'(t) = -4.9 * 2 * t > > solving for t= 4 gives you -39.2 > > From fuller.artful at gmail.com Thu Sep 1 03:52:17 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 1 Sep 2011 04:52:17 -0400 Subject: [AccessD] FYI In-Reply-To: <4FBD11DE4F9D49A6B237BC4F059C1660@HAL9007> References: <4FBD11DE4F9D49A6B237BC4F059C1660@HAL9007> Message-ID: Thanks for this, Rocky. I wondered where it went. Arthur From jwcolby at colbyconsulting.com Thu Sep 1 09:25:03 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 01 Sep 2011 10:25:03 -0400 Subject: [AccessD] Hiding objects programmatically Message-ID: <4E5F95BF.4060103@colbyconsulting.com> For production databases I like to hide all the objects in the design window by setting the property to hidden. In the properties window (Tools / options / View) I then uncheck Hidden Objects and System Objects. This just adds another level of obsfucation to the database for the average user. I did this and everything was copacetic. And then... I run one (several actually) of my databases under 2007 runtime and this database was giving me that crash I discussed awhile back. I ended up having to import everything into a new database and in doing so the hidden attribute of everything was set to visible. I don't have any code to set that property true / false for every object so I thought I'd ask before I go write one. So, does anyone have code to set the Hidden property of the database objects (tables, forms etc)? -- John W. Colby www.ColbyConsulting.com From dhb at flsi.com Thu Sep 1 10:28:49 2011 From: dhb at flsi.com (Darrell Burns) Date: Thu, 1 Sep 2011 08:28:49 -0700 Subject: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address In-Reply-To: <000001cc6845$7eebb370$7cc31a50$@gmail.com> References: <01f201cc6759$65ab09c0$31011d40$@flsi.com> <4E5D5C94.24414.39EA6EB@stuart.lexacorp.com.pg> <005f01cc6762$3855ba20$a9012e60$@gmail.com> <01f901cc677f$0366ad70$0a340850$@flsi.com> <023801cc6805$c06b89a0$41429ce0$@flsi.com> <000101cc680f$a84c42b0$f8e4c810$@gmail.com> <024b01cc6822$e6b7e550$b427aff0$@flsi.com> <000001cc6845$7eebb370$7cc31a50$@gmail.com> Message-ID: <028701cc68bb$d949b080$8bdd1180$@flsi.com> Sorry -- default account, not folder. I have 4 eMail accounts set up in Outlook, and one is set as the default account. That's what I'm trying to identify. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, August 31, 2011 6:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Here is a way to set a reference to the default mail folder: Set MyFolder = myNameSpace.GetDefaultFolder(olFolderInbox) ' olFolderInbox = 6 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns Sent: Wednesday, August 31, 2011 5:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Thanx, Bill. I was able to get a list of my accounts. Do you know what the property is for the Default account? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, August 31, 2011 11:56 AM To: 'Access Developers discussion and problem solving' Subject: [Spam]8.51 Re: [AccessD] [Spam]8.51 Re: Get sender's eMail address This works from Access with a reference to Outlook only... Note I have a pst folder called GMAIL and I am searching Inbox... change to suit. Dim myOlApp As Object Dim myNameSpace As Object Dim myfolders As Object Dim MyFolder As Object Dim myfolder2 As Object Dim item As Object Dim n As Long Set myOlApp = CreateObject("Outlook.Application") Set myNameSpace = myOlApp.GetNamespace("MAPI") Set myfolders = myNameSpace.Folders n = 1 Do Until UCase(myfolders.item(n).Name) = "GMAIL" n = n + 1 Loop Set MyFolder = myfolders.item(n) Set myfolder2 = MyFolder.Folders("Inbox") For Each item In myfolder2.Items If item.Class = 43 Then Debug.Print item.SenderEmailAddress End If Next item End Sub -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dhb at flsi.com Thu Sep 1 10:36:13 2011 From: dhb at flsi.com (Darrell Burns) Date: Thu, 1 Sep 2011 08:36:13 -0700 Subject: [AccessD] Access2010 Runtime problem In-Reply-To: <024701cc6819$ada82210$08f86630$@flsi.com> References: <024701cc6819$ada82210$08f86630$@flsi.com> Message-ID: <028801cc68bc$e267b710$a7372530$@flsi.com> FWIW, I discovered that the remedy to the read-only constraint is to make the runtime folder shareable. This makes no sense, of course, because now I have to set the share status on the installation folder on every workstation before I distribute the package. If anybody knows a way around this, I'd love to hear it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns Sent: Wednesday, August 31, 2011 1:08 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access2010 Runtime problem I have an app that's been developed in A2010 on my Windows7 machine running Office2010 32bit. Autoexec runs a proc called "AddTrustedLocation" (which I picked up from UtterAccess) that inserts registry settings to add the app's current database as a trusted location. I created a runtime with the Package Wizard, tested it on the same development box and everything works fine...the registry settings are properly updated and the app opens into the Switchboard. But when I install the runtime on a different Windows7 machine (also with Office 2010) it crashes on opening. I confirmed that the folder is trusted via the registry settings. So I disabled the Autoexec and all the Switchboard startup procedures. At least the app opens the Switchboard, but now I get a "This database has been opened read-only" message. I suspect that this is why it was crashing before I disabled everything. This is a front-end to a SQLServer database but I do have a few local tables I use for temporary storage, so read-only is a show-stopper. The folder it's in has full privileges. I confirmed this by copying in the accdb version, and it works just fine. What would be the cause (and remedy) for this condition? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Thu Sep 1 11:53:12 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 1 Sep 2011 09:53:12 -0700 Subject: [AccessD] Access2010 Runtime problem In-Reply-To: <028801cc68bc$e267b710$a7372530$@flsi.com> References: <024701cc6819$ada82210$08f86630$@flsi.com> <028801cc68bc$e267b710$a7372530$@flsi.com> Message-ID: It's details like that that make pro shops use packagers like Wise or InstallShield, which can be scripted to handle those situations when the runtime installs. Charlotte Foust On Thu, Sep 1, 2011 at 8:36 AM, Darrell Burns wrote: > FWIW, I discovered that the remedy to the read-only constraint is to make > the runtime folder shareable. This makes no sense, of course, because now I > have to set the share status on the installation folder on every > workstation > before I distribute the package. If anybody knows a way around this, I'd > love to hear it. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns > Sent: Wednesday, August 31, 2011 1:08 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Access2010 Runtime problem > > I have an app that's been developed in A2010 on my Windows7 machine running > Office2010 32bit. Autoexec runs a proc called "AddTrustedLocation" (which I > picked up from UtterAccess) that inserts registry settings to add the app's > current database as a trusted location. I created a runtime with the > Package > Wizard, tested it on the same development box and everything works > fine...the registry settings are properly updated and the app opens into > the > Switchboard. But when I install the runtime on a different Windows7 machine > (also with Office 2010) it crashes on opening. I confirmed that the folder > is trusted via the registry settings. > > So I disabled the Autoexec and all the Switchboard startup procedures. At > least the app opens the Switchboard, but now I get a "This database has > been > opened read-only" message. I suspect that this is why it was crashing > before > I disabled everything. This is a front-end to a SQLServer database but I do > have a few local tables I use for temporary storage, so read-only is a > show-stopper. The folder it's in has full privileges. I confirmed this by > copying in the accdb version, and it works just fine. What would be the > cause (and remedy) for this condition? > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Thu Sep 1 11:55:47 2011 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Thu, 1 Sep 2011 12:55:47 -0400 Subject: [AccessD] Hiding objects programmatically In-Reply-To: <4E5F95BF.4060103@colbyconsulting.com> References: <4E5F95BF.4060103@colbyconsulting.com> Message-ID: Heads Up John, I don't know if this bug has been fixed but check this out... http://access.mvps.org/access/bugs/bugs0036.htm Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, September 01, 2011 10:25 AM To: Access Developers discussion and problem solving Subject: [AccessD] Hiding objects programmatically For production databases I like to hide all the objects in the design window by setting the property to hidden. In the properties window (Tools / options / View) I then uncheck Hidden Objects and System Objects. This just adds another level of obsfucation to the database for the average user. I did this and everything was copacetic. And then... I run one (several actually) of my databases under 2007 runtime and this database was giving me that crash I discussed awhile back. I ended up having to import everything into a new database and in doing so the hidden attribute of everything was set to visible. I don't have any code to set that property true / false for every object so I thought I'd ask before I go write one. So, does anyone have code to set the Hidden property of the database objects (tables, forms etc)? -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Thu Sep 1 12:01:23 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 1 Sep 2011 10:01:23 -0700 Subject: [AccessD] Hiding objects programmatically In-Reply-To: References: <4E5F95BF.4060103@colbyconsulting.com> Message-ID: As I recall, the dbHiddenObject flag was used internally when you "deleted" a table. I got bitten by this back in A2k, IIRC. Charlotte Foust On Thu, Sep 1, 2011 at 9:55 AM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > Heads Up John, > > I don't know if this bug has been fixed but check this out... > > http://access.mvps.org/access/bugs/bugs0036.htm > > > > Lambert > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, September 01, 2011 10:25 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Hiding objects programmatically > > For production databases I like to hide all the objects in the design > window by setting the property to hidden. In the properties window (Tools / > options / View) I then uncheck Hidden Objects and System Objects. This just > adds another level of obsfucation to the database for the average user. > > I did this and everything was copacetic. And then... I run one (several > actually) of my databases under 2007 runtime and this database was giving me > that crash I discussed awhile back. I ended up having to import everything > into a new database and in doing so the hidden attribute of everything was > set to visible. > > I don't have any code to set that property true / false for every object so > I thought I'd ask before I go write one. > > So, does anyone have code to set the Hidden property of the database > objects (tables, forms etc)? > > -- > John W. Colby > www.ColbyConsulting.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 Thu Sep 1 12:09:59 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 01 Sep 2011 13:09:59 -0400 Subject: [AccessD] Hiding objects programmatically In-Reply-To: References: <4E5F95BF.4060103@colbyconsulting.com> Message-ID: <4E5FBC67.5010506@colbyconsulting.com> Wow, thanks for the warning. I vaguely remember this but never really used the hidden property before. I guess I will set by hand. Do we think this only apples to tables or every database object? John W. Colby www.ColbyConsulting.com On 9/1/2011 12:55 PM, Heenan, Lambert wrote: > Heads Up John, > > I don't know if this bug has been fixed but check this out... > > http://access.mvps.org/access/bugs/bugs0036.htm > > Lambert > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, September 01, 2011 10:25 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Hiding objects programmatically > > For production databases I like to hide all the objects in the design window by setting the property to hidden. In the properties window (Tools / options / View) I then uncheck Hidden Objects and System Objects. This just adds another level of obsfucation to the database for the average user. > > I did this and everything was copacetic. And then... I run one (several actually) of my databases under 2007 runtime and this database was giving me that crash I discussed awhile back. I ended up having to import everything into a new database and in doing so the hidden attribute of everything was set to visible. > > I don't have any code to set that property true / false for every object so I thought I'd ask before I go write one. > > So, does anyone have code to set the Hidden property of the database objects (tables, forms etc)? > > -- > John W. Colby > www.ColbyConsulting.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 Sep 1 12:26:05 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Thu, 1 Sep 2011 13:26:05 -0400 Subject: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address In-Reply-To: <028701cc68bb$d949b080$8bdd1180$@flsi.com> References: <01f201cc6759$65ab09c0$31011d40$@flsi.com> <4E5D5C94.24414.39EA6EB@stuart.lexacorp.com.pg> <005f01cc6762$3855ba20$a9012e60$@gmail.com> <01f901cc677f$0366ad70$0a340850$@flsi.com> <023801cc6805$c06b89a0$41429ce0$@flsi.com> <000101cc680f$a84c42b0$f8e4c810$@gmail.com> <024b01cc6822$e6b7e550$b427aff0$@flsi.com> <000001cc6845$7eebb370$7cc31a50$@gmail.com> <028701cc68bb$d949b080$8bdd1180$@flsi.com> Message-ID: <001b01cc68cc$3c5b1140$b51133c0$@gmail.com> Not sure it can be done without Redemption because there just is nothing exposed through the Outlook library that lets you examine the Session object that carefully. All accounts are in the Accounts collection but there is nothing about any of those objects which tells you it is the default, and nothing about the Session object itself which indicates what account will be used by default to send a message. At least insofar as I have been able to discover through the Locals window. Good luck in the quest and let us know if you get farther, I would like to know. FYI ... this is drifting far away from getting the Sender's e-mail address ... was that resolved to your satisfaction? Bill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns Sent: Thursday, September 01, 2011 11:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Sorry -- default account, not folder. I have 4 eMail accounts set up in Outlook, and one is set as the default account. That's what I'm trying to identify. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, August 31, 2011 6:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Here is a way to set a reference to the default mail folder: Set MyFolder = myNameSpace.GetDefaultFolder(olFolderInbox) ' olFolderInbox = 6 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns Sent: Wednesday, August 31, 2011 5:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Thanx, Bill. I was able to get a list of my accounts. Do you know what the property is for the Default account? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, August 31, 2011 11:56 AM To: 'Access Developers discussion and problem solving' Subject: [Spam]8.51 Re: [AccessD] [Spam]8.51 Re: Get sender's eMail address This works from Access with a reference to Outlook only... Note I have a pst folder called GMAIL and I am searching Inbox... change to suit. Dim myOlApp As Object Dim myNameSpace As Object Dim myfolders As Object Dim MyFolder As Object Dim myfolder2 As Object Dim item As Object Dim n As Long Set myOlApp = CreateObject("Outlook.Application") Set myNameSpace = myOlApp.GetNamespace("MAPI") Set myfolders = myNameSpace.Folders n = 1 Do Until UCase(myfolders.item(n).Name) = "GMAIL" n = n + 1 Loop Set MyFolder = myfolders.item(n) Set myfolder2 = MyFolder.Folders("Inbox") For Each item In myfolder2.Items If item.Class = 43 Then Debug.Print item.SenderEmailAddress End If Next item End Sub -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Thu Sep 1 12:45:37 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Thu, 1 Sep 2011 13:45:37 -0400 Subject: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address References: <01f201cc6759$65ab09c0$31011d40$@flsi.com> <4E5D5C94.24414.39EA6EB@stuart.lexacorp.com.pg> <005f01cc6762$3855ba20$a9012e60$@gmail.com> <01f901cc677f$0366ad70$0a340850$@flsi.com> <023801cc6805$c06b89a0$41429ce0$@flsi.com> <000101cc680f$a84c42b0$f8e4c810$@gmail.com> <024b01cc6822$e6b7e550$b427aff0$@flsi.com> <000001cc6845$7eebb370$7cc31a50$@gmail.com> <028701cc68bb$d949b080$8bdd1180$@flsi.com> Message-ID: <001c01cc68ce$f6c885b0$e4599110$@gmail.com> Ahhh. Found something. Debug.Print olApp.Session.CurrentUser.Address shows the e-mail address that is used by default for a new message. -----Original Message----- From: William Benson (VBACreations.Com) [mailto:vbacreations at gmail.com] Sent: Thursday, September 01, 2011 1:26 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Not sure it can be done without Redemption because there just is nothing exposed through the Outlook library that lets you examine the Session object that carefully. All accounts are in the Accounts collection but there is nothing about any of those objects which tells you it is the default, and nothing about the Session object itself which indicates what account will be used by default to send a message. At least insofar as I have been able to discover through the Locals window. Good luck in the quest and let us know if you get farther, I would like to know. FYI ... this is drifting far away from getting the Sender's e-mail address ... was that resolved to your satisfaction? Bill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns Sent: Thursday, September 01, 2011 11:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Sorry -- default account, not folder. I have 4 eMail accounts set up in Outlook, and one is set as the default account. That's what I'm trying to identify. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, August 31, 2011 6:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Here is a way to set a reference to the default mail folder: Set MyFolder = myNameSpace.GetDefaultFolder(olFolderInbox) ' olFolderInbox = 6 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns Sent: Wednesday, August 31, 2011 5:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Thanx, Bill. I was able to get a list of my accounts. Do you know what the property is for the Default account? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, August 31, 2011 11:56 AM To: 'Access Developers discussion and problem solving' Subject: [Spam]8.51 Re: [AccessD] [Spam]8.51 Re: Get sender's eMail address This works from Access with a reference to Outlook only... Note I have a pst folder called GMAIL and I am searching Inbox... change to suit. Dim myOlApp As Object Dim myNameSpace As Object Dim myfolders As Object Dim MyFolder As Object Dim myfolder2 As Object Dim item As Object Dim n As Long Set myOlApp = CreateObject("Outlook.Application") Set myNameSpace = myOlApp.GetNamespace("MAPI") Set myfolders = myNameSpace.Folders n = 1 Do Until UCase(myfolders.item(n).Name) = "GMAIL" n = n + 1 Loop Set MyFolder = myfolders.item(n) Set myfolder2 = MyFolder.Folders("Inbox") For Each item In myfolder2.Items If item.Class = 43 Then Debug.Print item.SenderEmailAddress End If Next item End Sub -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BradM at blackforestltd.com Thu Sep 1 13:10:56 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Thu, 1 Sep 2011 13:10:56 -0500 Subject: [AccessD] Obtaining Outlook data from Access (in an Outlook mailbox that is not the default) References: <01f201cc6759$65ab09c0$31011d40$@flsi.com> <4E5D5C94.24414.39EA6EB@stuart.lexacorp.com.pg> <005f01cc6762$3855ba20$a9012e60$@gmail.com> <01f901cc677f$0366ad70$0a340850$@flsi.com> <023801cc6805$c06b89a0$41429ce0$@flsi.com> <000101cc680f$a84c42b0$f8e4c810$@gmail.com> <024b01cc6822$e6b7e550$b427aff0$@flsi.com> <000001cc6845$7eebb370$7cc31a50$@gmail.com><028701cc68bb$d949b080$8bdd1180$@flsi.com> <001c01cc68ce$f6c885b0$e4599110$@gmail.com> Message-ID: I have been experimenting with using the Access "Link Exchange/Outlook Wizard" to link to Outlook folders in my mailbox. This works nicely. Now I need to link to a folder in a different mailbox that has been set up for replies to a mass Email that was sent out. (I have the Outlook Account Name and Password) Is this possible with VBA code? An example would be most appreciated. Thanks, Brad From dhb at flsi.com Thu Sep 1 14:37:48 2011 From: dhb at flsi.com (Darrell Burns) Date: Thu, 1 Sep 2011 12:37:48 -0700 Subject: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address In-Reply-To: <001c01cc68ce$f6c885b0$e4599110$@gmail.com> References: <01f201cc6759$65ab09c0$31011d40$@flsi.com> <4E5D5C94.24414.39EA6EB@stuart.lexacorp.com.pg> <005f01cc6762$3855ba20$a9012e60$@gmail.com> <01f901cc677f$0366ad70$0a340850$@flsi.com> <023801cc6805$c06b89a0$41429ce0$@flsi.com> <000101cc680f$a84c42b0$f8e4c810$@gmail.com> <024b01cc6822$e6b7e550$b427aff0$@flsi.com> <000001cc6845$7eebb370$7cc31a50$@gmail.com> <028701cc68bb$d949b080$8bdd1180$@flsi.com> <001c01cc68ce$f6c885b0$e4599110$@gmail.com> Message-ID: <029801cc68de$a2bac7c0$e8305740$@flsi.com> Excellent, Bill. I really appreciate your persistence on this. Thanx! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Thursday, September 01, 2011 10:46 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Ahhh. Found something. Debug.Print olApp.Session.CurrentUser.Address shows the e-mail address that is used by default for a new message. -----Original Message----- From: William Benson (VBACreations.Com) [mailto:vbacreations at gmail.com] Sent: Thursday, September 01, 2011 1:26 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Not sure it can be done without Redemption because there just is nothing exposed through the Outlook library that lets you examine the Session object that carefully. All accounts are in the Accounts collection but there is nothing about any of those objects which tells you it is the default, and nothing about the Session object itself which indicates what account will be used by default to send a message. At least insofar as I have been able to discover through the Locals window. Good luck in the quest and let us know if you get farther, I would like to know. FYI ... this is drifting far away from getting the Sender's e-mail address ... was that resolved to your satisfaction? Bill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns Sent: Thursday, September 01, 2011 11:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Sorry -- default account, not folder. I have 4 eMail accounts set up in Outlook, and one is set as the default account. That's what I'm trying to identify. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, August 31, 2011 6:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Here is a way to set a reference to the default mail folder: Set MyFolder = myNameSpace.GetDefaultFolder(olFolderInbox) ' olFolderInbox = 6 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns Sent: Wednesday, August 31, 2011 5:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Thanx, Bill. I was able to get a list of my accounts. Do you know what the property is for the Default account? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, August 31, 2011 11:56 AM To: 'Access Developers discussion and problem solving' Subject: [Spam]8.51 Re: [AccessD] [Spam]8.51 Re: Get sender's eMail address This works from Access with a reference to Outlook only... Note I have a pst folder called GMAIL and I am searching Inbox... change to suit. Dim myOlApp As Object Dim myNameSpace As Object Dim myfolders As Object Dim MyFolder As Object Dim myfolder2 As Object Dim item As Object Dim n As Long Set myOlApp = CreateObject("Outlook.Application") Set myNameSpace = myOlApp.GetNamespace("MAPI") Set myfolders = myNameSpace.Folders n = 1 Do Until UCase(myfolders.item(n).Name) = "GMAIL" n = n + 1 Loop Set MyFolder = myfolders.item(n) Set myfolder2 = MyFolder.Folders("Inbox") For Each item In myfolder2.Items If item.Class = 43 Then Debug.Print item.SenderEmailAddress End If Next item End Sub -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 iggy at nanaimo.ark.com Thu Sep 1 14:39:21 2011 From: iggy at nanaimo.ark.com (Tony Septav) Date: Thu, 1 Sep 2011 12:39:21 -0700 Subject: [AccessD] :) In-Reply-To: <9E95C48974A94C5D80EFB3444668BD61@HAL9007> References: <3D568192E72C468FB4DD4A4693553C54@SusanHarkins>, <4E5CCF00.7000101@colbyconsulting.com>, <4E5D4E1B.21029.3661FC1@stuart.lexacorp.com.pg> <9E95C48974A94C5D80EFB3444668BD61@HAL9007> Message-ID: Hey All CPU you, no CPU you! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, August 30, 2011 2:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] :) With that obsolete floppy you're sporting? I don't think so... R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: August 30, 2011 1:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] :) Can my Front End access you back End? -- Stuart On 30 Aug 2011 at 7:58, Dean Davids wrote: > Actually, that one may work. > > > Dean S. Davids > www.cmbscorp.com > 954-868-4421 > > On Aug 30, 2011, at 7:52 AM, jwcolby > wrote: > > > I think the very worst Access pickup line might well be > > > > 1) I love your back end! > > > > John W. Colby > > www.ColbyConsulting.com > > > > On 8/29/2011 2:04 PM, Susan Harkins wrote: > >> Top 10 Worst Access Pick-Up Lines > >> > >> To commemorate the one year anniversary of the Access Junkie Top 10 > >> List, here's another list to help you get through a tough workday. > >> In addition, since it is the weekend, these should come in handy as > >> you're out on the town. Most of these can be used with either > >> gender, but some are obviously gender specific. > >> > >> A word of caution here! These pick-up lines will probably work on > >> only the MOST intelligent of prospective mates. Most of the time, > >> however, you will be met with mixed results. By "mixed" I mean you > >> will most likely have a mixed drink tossed in your face!! > >> > >> So here you go: Top 10 Worst Access Pick-Up Lines: > >> > >> 10. Compile here often? > >> > >> 9. What's your sign? DAO or ADO? > >> > >> 8. WOW! You just put a Breakpoint right on my heart! > >> > >> 7. I would love to hear you talk SQL to me. > >> > >> 6. Want to go back to my place and Debug a few hundred lines of > >> code? > >> > >> 5. Hi there, I don't think we've been properly Dimmed. > >> > >> 4. Is that an Add-In in your pocket or are you just happy to see > >> me? > >> > >> 3. You show me your References and I'll show you mine! > >> > >> 2. Would you like to go out back and play in Sandbox mode? > >> . > >> . > >> . > >> . > >> . > >> . > >> And the number one worst Access Pick-Up Line: > >> > >> 1. What are the chances of you and I getting to Third Normal Form? > >> (splash) > >> > >> > >> > >> >> kuplines> > >> > >> Can't believe I've never seen this before. :) > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 ----- No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1392 / Virus Database: 1520/3869 - Release Date: 08/31/11 From vbacreations at gmail.com Thu Sep 1 15:29:43 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 1 Sep 2011 16:29:43 -0400 Subject: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address In-Reply-To: <029801cc68de$a2bac7c0$e8305740$@flsi.com> References: <01f201cc6759$65ab09c0$31011d40$@flsi.com> <4E5D5C94.24414.39EA6EB@stuart.lexacorp.com.pg> <005f01cc6762$3855ba20$a9012e60$@gmail.com> <01f901cc677f$0366ad70$0a340850$@flsi.com> <023801cc6805$c06b89a0$41429ce0$@flsi.com> <000101cc680f$a84c42b0$f8e4c810$@gmail.com> <024b01cc6822$e6b7e550$b427aff0$@flsi.com> <000001cc6845$7eebb370$7cc31a50$@gmail.com> <028701cc68bb$d949b080$8bdd1180$@flsi.com> <001c01cc68ce$f6c885b0$e4599110$@gmail.com> <029801cc68de$a2bac7c0$e8305740$@flsi.com> Message-ID: Happy to help when I can. This List been my salvation so many times. On Sep 1, 2011 3:38 PM, "Darrell Burns" wrote: > Excellent, Bill. I really appreciate your persistence on this. > Thanx! > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > (VBACreations.Com) > Sent: Thursday, September 01, 2011 10:46 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail > address > > Ahhh. Found something. > > Debug.Print olApp.Session.CurrentUser.Address shows > > the e-mail address that is used by default for a new message. > > > > -----Original Message----- > From: William Benson (VBACreations.Com) [mailto:vbacreations at gmail.com] > Sent: Thursday, September 01, 2011 1:26 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail > address > > Not sure it can be done without Redemption because there just is nothing > exposed through the Outlook library that lets you examine the Session object > that carefully. All accounts are in the Accounts collection but there is > nothing about any of those objects which tells you it is the default, and > nothing about the Session object itself which indicates what account will be > used by default to send a message. > > At least insofar as I have been able to discover through the Locals window. > > Good luck in the quest and let us know if you get farther, I would like to > know. > > FYI ... this is drifting far away from getting the Sender's e-mail address > ... was that resolved to your satisfaction? > Bill > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns > Sent: Thursday, September 01, 2011 11:29 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail > address > > Sorry -- default account, not folder. I have 4 eMail accounts set up in > Outlook, and one is set as the default account. That's what I'm trying to > identify. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > (VBACreations.Com) > Sent: Wednesday, August 31, 2011 6:22 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail > address > > Here is a way to set a reference to the default mail folder: > > Set MyFolder = myNameSpace.GetDefaultFolder(olFolderInbox) ' olFolderInbox > = 6 > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns > Sent: Wednesday, August 31, 2011 5:14 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail > address > > Thanx, Bill. I was able to get a list of my accounts. Do you know what the > property is for the Default account? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > (VBACreations.Com) > Sent: Wednesday, August 31, 2011 11:56 AM > To: 'Access Developers discussion and problem solving' > Subject: [Spam]8.51 Re: [AccessD] [Spam]8.51 Re: Get sender's eMail address > > This works from Access with a reference to Outlook only... Note I have a pst > folder called GMAIL and I am searching Inbox... change to suit. > > > Dim myOlApp As Object > Dim myNameSpace As Object > Dim myfolders As Object > Dim MyFolder As Object > Dim myfolder2 As Object > Dim item As Object > > Dim n As Long > > > Set myOlApp = CreateObject("Outlook.Application") > Set myNameSpace = myOlApp.GetNamespace("MAPI") Set myfolders = > myNameSpace.Folders > > n = 1 > Do Until UCase(myfolders.item(n).Name) = "GMAIL" > n = n + 1 > Loop > > Set MyFolder = myfolders.item(n) > Set myfolder2 = MyFolder.Folders("Inbox") > > For Each item In myfolder2.Items > If item.Class = 43 Then > Debug.Print item.SenderEmailAddress > End If > Next item > > > End Sub > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Thu Sep 1 22:22:45 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 1 Sep 2011 23:22:45 -0400 Subject: [AccessD] :) In-Reply-To: References: <3D568192E72C468FB4DD4A4693553C54@SusanHarkins> <4E5CCF00.7000101@colbyconsulting.com> <4E5D4E1B.21029.3661FC1@stuart.lexacorp.com.pg> <9E95C48974A94C5D80EFB3444668BD61@HAL9007> Message-ID: I don't get it On Sep 1, 2011 3:40 PM, "Tony Septav" wrote: > Hey All > CPU you, no CPU you! > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Tuesday, August 30, 2011 2:02 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] :) > > With that obsolete floppy you're sporting? I don't think so... > > > R > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: August 30, 2011 1:55 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] :) > > Can my Front End access you back End? > > -- > Stuart > > On 30 Aug 2011 at 7:58, Dean Davids wrote: > >> Actually, that one may work. >> >> >> Dean S. Davids >> www.cmbscorp.com >> 954-868-4421 >> >> On Aug 30, 2011, at 7:52 AM, jwcolby >> wrote: >> >> > I think the very worst Access pickup line might well be >> > >> > 1) I love your back end! >> > >> > John W. Colby >> > www.ColbyConsulting.com >> > >> > On 8/29/2011 2:04 PM, Susan Harkins wrote: >> >> Top 10 Worst Access Pick-Up Lines >> >> >> >> To commemorate the one year anniversary of the Access Junkie Top 10 >> >> List, here's another list to help you get through a tough workday. >> >> In addition, since it is the weekend, these should come in handy as >> >> you're out on the town. Most of these can be used with either >> >> gender, but some are obviously gender specific. >> >> >> >> A word of caution here! These pick-up lines will probably work on >> >> only the MOST intelligent of prospective mates. Most of the time, >> >> however, you will be met with mixed results. By "mixed" I mean you >> >> will most likely have a mixed drink tossed in your face!! >> >> >> >> So here you go: Top 10 Worst Access Pick-Up Lines: >> >> >> >> 10. Compile here often? >> >> >> >> 9. What's your sign? DAO or ADO? >> >> >> >> 8. WOW! You just put a Breakpoint right on my heart! >> >> >> >> 7. I would love to hear you talk SQL to me. >> >> >> >> 6. Want to go back to my place and Debug a few hundred lines of >> >> code? >> >> >> >> 5. Hi there, I don't think we've been properly Dimmed. >> >> >> >> 4. Is that an Add-In in your pocket or are you just happy to see >> >> me? >> >> >> >> 3. You show me your References and I'll show you mine! >> >> >> >> 2. Would you like to go out back and play in Sandbox mode? >> >> . >> >> . >> >> . >> >> . >> >> . >> >> . >> >> And the number one worst Access Pick-Up Line: >> >> >> >> 1. What are the chances of you and I getting to Third Normal Form? >> >> (splash) >> >> >> >> >> >> >> >> > >> kuplines> >> >> >> >> Can't believe I've never seen this before. :) >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/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 > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 10.0.1392 / Virus Database: 1520/3869 - Release Date: 08/31/11 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From dnod at aol.com Thu Sep 1 22:29:10 2011 From: dnod at aol.com (Dean Davids) Date: Thu, 1 Sep 2011 23:29:10 -0400 Subject: [AccessD] :) In-Reply-To: References: <3D568192E72C468FB4DD4A4693553C54@SusanHarkins> <4E5CCF00.7000101@colbyconsulting.com> <4E5D4E1B.21029.3661FC1@stuart.lexacorp.com.pg> <9E95C48974A94C5D80EFB3444668BD61@HAL9007> Message-ID: <9F5A6DED-6FE5-4528-9ABB-350F32372559@aol.com> Not if I CPU first! Dean S. Davids www.cmbscorp.com 954-868-4421 On Sep 1, 2011, at 11:22 PM, William Benson wrote: > I don't get it > On Sep 1, 2011 3:40 PM, "Tony Septav" wrote: >> Hey All >> CPU you, no CPU you! >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin >> Sent: Tuesday, August 30, 2011 2:02 PM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] :) >> >> With that obsolete floppy you're sporting? I don't think so... >> >> >> R >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan >> Sent: August 30, 2011 1:55 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] :) >> >> Can my Front End access you back End? >> >> -- >> Stuart >> >> On 30 Aug 2011 at 7:58, Dean Davids wrote: >> >>> Actually, that one may work. >>> >>> >>> Dean S. Davids >>> www.cmbscorp.com >>> 954-868-4421 >>> >>> On Aug 30, 2011, at 7:52 AM, jwcolby >>> wrote: >>> >>>> I think the very worst Access pickup line might well be >>>> >>>> 1) I love your back end! >>>> >>>> John W. Colby >>>> www.ColbyConsulting.com >>>> >>>> On 8/29/2011 2:04 PM, Susan Harkins wrote: >>>>> Top 10 Worst Access Pick-Up Lines >>>>> >>>>> To commemorate the one year anniversary of the Access Junkie Top 10 >>>>> List, here's another list to help you get through a tough workday. >>>>> In addition, since it is the weekend, these should come in handy as >>>>> you're out on the town. Most of these can be used with either >>>>> gender, but some are obviously gender specific. >>>>> >>>>> A word of caution here! These pick-up lines will probably work on >>>>> only the MOST intelligent of prospective mates. Most of the time, >>>>> however, you will be met with mixed results. By "mixed" I mean you >>>>> will most likely have a mixed drink tossed in your face!! >>>>> >>>>> So here you go: Top 10 Worst Access Pick-Up Lines: >>>>> >>>>> 10. Compile here often? >>>>> >>>>> 9. What's your sign? DAO or ADO? >>>>> >>>>> 8. WOW! You just put a Breakpoint right on my heart! >>>>> >>>>> 7. I would love to hear you talk SQL to me. >>>>> >>>>> 6. Want to go back to my place and Debug a few hundred lines of >>>>> code? >>>>> >>>>> 5. Hi there, I don't think we've been properly Dimmed. >>>>> >>>>> 4. Is that an Add-In in your pocket or are you just happy to see >>>>> me? >>>>> >>>>> 3. You show me your References and I'll show you mine! >>>>> >>>>> 2. Would you like to go out back and play in Sandbox mode? >>>>> . >>>>> . >>>>> . >>>>> . >>>>> . >>>>> . >>>>> And the number one worst Access Pick-Up Line: >>>>> >>>>> 1. What are the chances of you and I getting to Third Normal Form? >>>>> (splash) >>>>> >>>>> >>>>> >>>>> >>>> kuplines> >>>>> >>>>> Can't believe I've never seen this before. :) >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/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 >> ----- >> No virus found in this message. >> Checked by AVG - www.avg.com >> Version: 10.0.1392 / Virus Database: 1520/3869 - Release Date: 08/31/11 >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Thu Sep 1 23:19:41 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 1 Sep 2011 21:19:41 -0700 Subject: [AccessD] Hiding objects programmatically In-Reply-To: <4E5FBC67.5010506@colbyconsulting.com> References: <4E5F95BF.4060103@colbyconsulting.com> <4E5FBC67.5010506@colbyconsulting.com> Message-ID: I don't recall, but I would assume so. Charlotte Foust On Thu, Sep 1, 2011 at 10:09 AM, jwcolby wrote: > Wow, thanks for the warning. I vaguely remember this but never really used > the hidden property before. > > I guess I will set by hand. Do we think this only apples to tables or > every database object? > > > John W. Colby > www.ColbyConsulting.com > > > > On 9/1/2011 12:55 PM, Heenan, Lambert wrote: > >> Heads Up John, >> >> I don't know if this bug has been fixed but check this out... >> >> http://access.mvps.org/access/**bugs/bugs0036.htm >> >> >> >> Lambert >> >> >> -----Original Message----- >> From: accessd-bounces@**databaseadvisors.com[mailto: >> accessd-bounces@**databaseadvisors.com] >> On Behalf Of jwcolby >> Sent: Thursday, September 01, 2011 10:25 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Hiding objects programmatically >> >> For production databases I like to hide all the objects in the design >> window by setting the property to hidden. In the properties window (Tools / >> options / View) I then uncheck Hidden Objects and System Objects. This just >> adds another level of obsfucation to the database for the average user. >> >> I did this and everything was copacetic. And then... I run one (several >> actually) of my databases under 2007 runtime and this database was giving me >> that crash I discussed awhile back. I ended up having to import everything >> into a new database and in doing so the hidden attribute of everything was >> set to visible. >> >> I don't have any code to set that property true / false for every object >> so I thought I'd ask before I go write one. >> >> So, does anyone have code to set the Hidden property of the database >> objects (tables, forms etc)? >> >> -- >> John W. Colby >> www.ColbyConsulting.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 Fri Sep 2 11:33:01 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 09:33:01 -0700 Subject: [AccessD] freelancing job sites In-Reply-To: References: Message-ID: Ha ha, I think you have about covered it. Very good article. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, August 22, 2011 6:25 AM To: Access Developers discussion and problem solving Subject: [AccessD] freelancing job sites This one ruffled a few feathers -- someone told me I give contractors a bad name and that I should retire. :) Guess that means it was good. :) After writing the above article, a reader asked me to recommend my favorite freelancing/contracting job sites. Well, that might turn into a good article -- so let's see what happens. At the very least, we'll compile a great list for ourselves. :) Dice.com seems to be the biggest one -- what do you guys think of it? Thanks! Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 2 11:50:47 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 09:50:47 -0700 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: <4E52BED3.9080600@colbyconsulting.com> References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> Message-ID: I have six clients that I have been supporting for over 15 years...the oldest one is 24 years. There is not a system that cannot be improved and I never mention, to any of them, how much they have paid me in total. When cost is discussed, we talk about our dealings as an extended insurance policy and everyone seems happy. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, August 22, 2011 1:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites (OT Reply) 9 years and 240K later one of my clients is still adding to the system I write for them (in Access). I started in July 2002. We are about to migrate the data to SQL Server. John W. Colby www.ColbyConsulting.com On 8/22/2011 3:51 PM, Mark Simms wrote: >> Lately, my 'salesman' has been taking my time/money quotes, and not >> adjusting them properly. When I say 2 weeks, he should be telling his >> customer 4 weeks, instead, he tells them 1 week, and hounds me. > > Sorry, I've got to "top" that one. > A couple of years ago I was hired to enhance a system that basically was a > custom-made CRM for a very specialized business. > There were no off-the-shelf packages, so their in-house developer wrote it > over a period of 3 years. > It was built using VB6, Access 97, and a bunch of 3rd party controls. > They lost the licenses and the developer, so I gave them the option of > building out additional functionality via Access 97. > It was to provide a new source of revenue for them. 6-8 weeks later it was > done. > > Management then decided they wanted to rewrite the whole system....I gave > them a proposal in Access 2007 for $80,000 and 8 months time which they > rejected. Instead, they signed a development company to do it in dot-net/SQL > Server. I was disappointed, I thought I had given them a "bargain". Their > volume did not dictate a need for a heavy-duty database. > > Two years and $250,000 later, the dot-net system is still nowhere near > completed. > > Lesson: in IT freelancing, it's so easy to get burned. > > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 2 12:12:57 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 10:12:57 -0700 Subject: [AccessD] freelancing job sites In-Reply-To: <35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net> <35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> Message-ID: <8C2AEC85399344049C37CCE2430D9D79@creativesystemdesigns.com> Hi Susan: Unless I am missing something, for the most part everyone is in complete agreement with your assumptions. If there is "hateful feedback", I did not find it. Maybe you are being too sensitive? Give us some examples. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, August 23, 2011 9:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites I've never had an article illicit such hateful feedback before. Mostly, people are generous when they disagree, but a couple of them want my head on a platter, and I don't really understand why -- there's really no attack in the article, so I'm truly surprised at some of the hateful responses. I mean, it's not like I said, "You're a crappy developer if you use bound forms" or something. :) Susan H. > Spot on Susan! > >> > out-freelancing/2685?tag=content;blog-list-river> > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Fri Sep 2 12:29:24 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 13:29:24 -0400 Subject: [AccessD] freelancing job sites References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net><35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> <8C2AEC85399344049C37CCE2430D9D79@creativesystemdesigns.com> Message-ID: <63AE84781A4D4D06831092CAE59A695A@SusanHarkins> I'm not being sensitive because they don't bother me. I find them odd and I'd prefer not to get them, but I'm not upset about it. I don't think telling me that I give freelancers a bad name and that I should retire is constructive criticism. There was another that was even worst -- suggested TR not use me as a contributor anymore. Too sensitive? I don't think so. I didn't write anything that should've illicited that kind of ire from anyone. Some people are just too crumpy to interact with other people in a reasonable manner. Like I said, most people had some interesting stories to tell and even those that disagreed with me did so in a reasonable manner. The flip side's coming out soon and after that I've got one that lists the reasons I don't miss Office 2003 -- they'll fry me up for supper after reading that one. :) Susan H. > Hi Susan: > > Unless I am missing something, for the most part everyone is in complete > agreement with your assumptions. If there is "hateful feedback", I did not > find it. > > Maybe you are being too sensitive? Give us some examples. ;-) > From accessd at shaw.ca Fri Sep 2 12:33:00 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 10:33:00 -0700 Subject: [AccessD] freelancing job sites In-Reply-To: <78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net> <35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> <013c01cc6261$e4237320$ac6a5960$@net> <78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> Message-ID: Hi Susan: You are obviously not hosting a political blog if you find some of those comments "hateful". ;-) If you are over 50, the chances of you getting a full-time gig in the IT field is almost zero... (Have you heard of any 35 year old quarter-backs?) OTOH you are always being called to fix some programming disaster as the young guys tend to be too fast and not as methodical in code-crawling. I noticed that you said, when working an IT guy has the options of working from dusk-to-dawn or dawn-to-dusk; you forgot the other option of around-the-clock. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, August 24, 2011 9:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites Mostly, there have been a lot of really positive and constructive comments -- it's been a good discussion. Only a few were obnoxious, I just wasn't expecting them. 2.) Man, it's the truth. No way to sugar-coat it. If you're over 50 and looking for work, you're in a world of hurt. If you're over 50 and been freelancing for the last few years, you're toast. I know, there are exceptions to every rule, but I think in general, it would be hard for me to find traditional employment now. 3.) If you're not working, you're not making money. It's all the self-discipline I need. :) Susan H. > Susan - I didn't see many really hateful responses. > I was simply amazed at the NUMBER of responses....wow ! > > 3 big take-aways for me were: > 1) agencies behavior > 2) impact of age on employment by large corps > 3) self discipline requirement -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 2 12:35:21 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 10:35:21 -0700 Subject: [AccessD] Sending email from Access In-Reply-To: References: <000101cc61d1$659f2750$30dd75f0$@flsi.com> Message-ID: <45A6917C3BBE4A38B729B1CCF49306A4@creativesystemdesigns.com> I have found BLAT so reliable that when it fails, I start checking the ISP code. In other words, if the app fails, get a new computer. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Wednesday, August 24, 2011 10:33 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sending email from Access hahaha Another vote for Blat. On Tue, Aug 23, 2011 at 6:02 PM, Arthur Fuller wrote: > I use Redemption, but that could be because I'm a serious Bob Marley fan, > not that he had anything to do with it, but I love "Redemption Song" and > their code seems to work just fine. > > A. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Fri Sep 2 12:46:44 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 13:46:44 -0400 Subject: [AccessD] freelancing job sites References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net><35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins><013c01cc6261$e4237320$ac6a5960$@net><78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> Message-ID: <8CC6AE5727664443AF54311595CA9AA2@SusanHarkins> > You are obviously not hosting a political blog if you find some of those > comments "hateful". ;-) ========They're hateful and there's really no room for them in the conversation, but I know that some people are that miserable in their lives. > > I noticed that you said, when working an IT guy has the options of working > from dusk-to-dawn or dawn-to-dusk; you forgot the other option of > around-the-clock. =========Damn! I wish I'd thought of that. :) Susan H. From jm.hwsn at gmail.com Fri Sep 2 13:11:01 2011 From: jm.hwsn at gmail.com (jm.hwsn) Date: Fri, 2 Sep 2011 13:11:01 -0500 Subject: [AccessD] freelancing job sites In-Reply-To: References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net><35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins><013c01cc6261$e4237320$ac6a5960$@net><78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> Message-ID: ---- If you are over 50, the chances of you getting a full-time gig in the IT field is almost zero... (Have you heard of any 35 year old quarter-backs?) ---- Me! I'm 62. I'm working full-time in Access 2007 only. Been on the same gig for over 2 years... and they just renewed my contract for another year. I feel, I owe it all to this list. I am a "lurker" most of the time, but I read almost everything that this list publishes. I've learned a lot over the several years that I have been a member. It's been so long I don't remember when I joined. It's like family. Thanks everyone. Jim -----Original Message----- From: Jim Lawrence Sent: Friday, September 02, 2011 12:33 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] freelancing job sites Hi Susan: You are obviously not hosting a political blog if you find some of those comments "hateful". ;-) If you are over 50, the chances of you getting a full-time gig in the IT field is almost zero... (Have you heard of any 35 year old quarter-backs?) OTOH you are always being called to fix some programming disaster as the young guys tend to be too fast and not as methodical in code-crawling. I noticed that you said, when working an IT guy has the options of working from dusk-to-dawn or dawn-to-dusk; you forgot the other option of around-the-clock. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, August 24, 2011 9:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites Mostly, there have been a lot of really positive and constructive comments -- it's been a good discussion. Only a few were obnoxious, I just wasn't expecting them. 2.) Man, it's the truth. No way to sugar-coat it. If you're over 50 and looking for work, you're in a world of hurt. If you're over 50 and been freelancing for the last few years, you're toast. I know, there are exceptions to every rule, but I think in general, it would be hard for me to find traditional employment now. 3.) If you're not working, you're not making money. It's all the self-discipline I need. :) Susan H. > Susan - I didn't see many really hateful responses. > I was simply amazed at the NUMBER of responses....wow ! > > 3 big take-aways for me were: > 1) agencies behavior > 2) impact of age on employment by large corps > 3) self discipline requirement -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 shamil at smsconsulting.spb.ru Fri Sep 2 13:21:39 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 2 Sep 2011 22:21:39 +0400 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: References: <00d901cc6104$e48b4e40$ada1eac0$@net><4E52BED3.9080600@colbyconsulting.com> Message-ID: <2BB94FDF62ED42B194C1CC6F12061C3D@nant> Hi Jim -- I guess your clients do have got developed strong business thanks to your good software development work for them - that seems to be the key point for a freelancing carrier success. Although there exist so many "prospect customers" who are trying to "save a penny" by burning out freelancers. Therefore additionally to 'must have' constant mastering of software development skills and learning by doing the new technologies every freelancer should also master the art of selecting (and nurturing/cultivating) "good" customers and ignoring the "bad" ones... Thank you. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: 2 ???????? 2011 ?. 20:51 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] freelancing job sites (OT Reply) I have six clients that I have been supporting for over 15 years...the oldest one is 24 years. There is not a system that cannot be improved and I never mention, to any of them, how much they have paid me in total. When cost is discussed, we talk about our dealings as an extended insurance policy and everyone seems happy. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, August 22, 2011 1:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites (OT Reply) 9 years and 240K later one of my clients is still adding to the system I write for them (in Access). I started in July 2002. We are about to migrate the data to SQL Server. John W. Colby www.ColbyConsulting.com On 8/22/2011 3:51 PM, Mark Simms wrote: >> Lately, my 'salesman' has been taking my time/money quotes, and not >> adjusting them properly. When I say 2 weeks, he should be telling >> his customer 4 weeks, instead, he tells them 1 week, and hounds me. > > Sorry, I've got to "top" that one. > A couple of years ago I was hired to enhance a system that basically > was a custom-made CRM for a very specialized business. > There were no off-the-shelf packages, so their in-house developer > wrote it over a period of 3 years. > It was built using VB6, Access 97, and a bunch of 3rd party controls. > They lost the licenses and the developer, so I gave them the option of > building out additional functionality via Access 97. > It was to provide a new source of revenue for them. 6-8 weeks later it > was done. > > Management then decided they wanted to rewrite the whole system....I > gave them a proposal in Access 2007 for $80,000 and 8 months time > which they rejected. Instead, they signed a development company to do > it in dot-net/SQL > Server. I was disappointed, I thought I had given them a "bargain". > Their volume did not dictate a need for a heavy-duty database. > > Two years and $250,000 later, the dot-net system is still nowhere near > completed. > > Lesson: in IT freelancing, it's so easy to get burned. > > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Sep 2 13:33:28 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 14:33:28 -0400 Subject: [AccessD] freelancing job sites (OT Reply) References: <00d901cc6104$e48b4e40$ada1eac0$@net><4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> Message-ID: <62F88463B3514BCFAC753FB624FDD05A@SusanHarkins> Since you brought that up... Nice to hear from you Shamil!! Susan H. > Therefore additionally to 'must have' constant mastering of software > development skills and learning by doing the new technologies every > freelancer should also master the art of selecting (and > nurturing/cultivating) "good" customers and ignoring the "bad" ones... > > Thank you. From ssharkins at gmail.com Fri Sep 2 13:31:45 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 14:31:45 -0400 Subject: [AccessD] freelancing job sites References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net><35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins><013c01cc6261$e4237320$ac6a5960$@net><78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> Message-ID: <33489E6DBF734353B20E14B94CCC3446@SusanHarkins> That's great news for you and encouraging news for some of us! ;) Susan H. > ---- > If you are over 50, the chances of you getting a full-time gig in the IT > field is almost zero... (Have you heard of any 35 year old quarter-backs?) > ---- > Me! > I'm 62. I'm working full-time in Access 2007 only. > Been on the same gig for over 2 years... and they just renewed my contract > for another year. > I feel, I owe it all to this list. > I am a "lurker" most of the time, but I read almost everything that this > list publishes. > I've learned a lot over the several years that I have been a member. > It's been so long I don't remember when I joined. > It's like family. > Thanks everyone. > Jim From accessd at shaw.ca Fri Sep 2 13:51:55 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 11:51:55 -0700 Subject: [AccessD] Freelancing In-Reply-To: References: Message-ID: There are a number of areas, which look very interesting in which to spend new time. The problem is finding the time. First; You will never make many money building one-off products for a client. Building and marketing a product multiple times is much more cost effective. Second; everything is going web-based, especially if you live and work in any major urban centers. So it is time to learn everything you can about HTML5, CSS3 and JavaScript > JQuery, JASON etc. There is so much free code, information and inexpensive services out on the web that it can be amazing how fast an application can be hacked together, with little knowledge. Third; converting apps to display and run on SmartPhones is a great idea. There are a host of free or cheap application that will allow you to do that. In addition, there are a number of great frameworks out there that can fit anyone's needs. (They will of course have to be hacked for any complex or specific designs...I like VS ASP.Net for building boilerplate code). Fourth; databases can no longer be just SQL types. The new map-reduce or NOSQL databases are quickly replacing systems where over a 10 million pieces of data that require routine searching. Most of these new databases are free or very inexpensive. Fifth; backend server technology is also changing as well as the DBs. Checkout NODE.js...it is incredibly fast and this allows you to leverage your JavaScript skills. Sixth; hosting your or having your client's hosting their own databases may not be a good idea as cloud hosting is coming into its own. There are deals like one TB of data for $8.00 a month, including full backups. If you are up to it you can build, you own Cloud, as drives are very cheap now. (Example: 2TB = $89 for an external drive...I just pull them apart and stuff the drive into the server. There are lots of opportunities out there for programmers, even old codgers like myself, but the learning curve is real steep though not expensive...this is something to do for guys that say they have retired. ;-) Seventh; I would recommend do not try to do it all on your own. One fool working alone is only a third as effective as two such individuals are. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav Sent: Friday, August 26, 2011 12:26 PM To: 'accessd-bounces at databaseadvisors.com' Subject: [AccessD] Freelancing Hey Susan Your article was an eye opener. I have been producing database applications for over 20 years. No ego being inferred but I figure I have produced quality products that are 99.9% bullet proof (many are still in use today). But I feel I am going the way of the dinosaur. Since the 2008 recession I have found that most companies no longer want to spend money to save money (no matter want you do to try and convince them of such). To be honest, on my end, the market is drying up. I am kind of looking at leaving ACCESS and starting to develop customized iPad/iPod (whatever) "Apps" for clients. If that doesn't work then I will be buying a "Weenie" wagon and hanging out at the beach. Not a boo hoo scenario, just reality. -- 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 Sep 2 13:55:06 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 2 Sep 2011 14:55:06 -0400 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: <2BB94FDF62ED42B194C1CC6F12061C3D@nant> References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> Message-ID: A critical skill in the freelancing world is learning how to fire customers. The moment they become a PITA is the time to fire them. This includes outrageous demands (can't you just make it do this too, for free?) to late payments to aggravating meetings. Call me a curmudgeon but I don't have enough time left on this planet to deal with such crap. The first moment I see a bad sign, I fire the client. A. From fuller.artful at gmail.com Fri Sep 2 14:14:18 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 2 Sep 2011 15:14:18 -0400 Subject: [AccessD] Freelancing In-Reply-To: References: Message-ID: I definitely hear you on the NoSQL front, and wish I had enough money to buy a few more GBs of RAM to make my elementary tests more real-world, but I don't, so I can't. The technology remains fascinating, and it makes a ton more sense than hard disks. On your first point (You will never make money building one-offs), I also agree completely. In Canada, the established law is that subject to a written contract specifying that the ownership of the code goes to the developer, in which case should you devise, for example, an app for veterinarions, then the code belongs to you, and not to the vet who constracted you to write it; hence you are free to turn it into a mass-market app (well, that assumes that vets are a mass-market, but you get the point). Such an app, in terms of development cost and potential returns, is vastly smaller than, say, eHealth (that's a Canadian term, and is vaguely equivalent to Medicaid or whatever they call it in USA); basically it means that every medical item on your list is stored in a massive db, including all your X-rays, CT-scans, MRIs, previous phyisicians, etc., and that it is all obtainable by both your current physician and also the Department of Health (that would be provincial not federal; there is no federal Department of Health in Canada; but that in turn causes needless complications: a very popular thing to do in Canada is move from Newfoundland to Alberta, where jobs in the oil industry abound, and transferring your medical records from one province to another is non-trivial. It can be done, but it take time. Since I am not a citizen of the USA and haven't bothered to explore the legalities lurking therein, I have only the Canadian model from which to work. Here, the client must specifically include a clause claiming ownership of the code; failure to do that means that the code belongs to the developer, who may freely sell it numerous times; but to be fair, if it were a hair-salon app, it would be a tad rude to sell it to the hair-salon across the street -- still legal, but rude. I think there are at least a couple of USA lawyers who visit this list, and I would be most interested in their perspective. TIA, Arthur On Fri, Sep 2, 2011 at 2:51 PM, Jim Lawrence wrote: > There are a number of areas, which look very interesting in which to spend > new time. The problem is finding the time. > > First; You will never make many money building one-off products for a > client. Building and marketing a product multiple times is much more cost > effective. > > Second; everything is going web-based, especially if you live and work in > any major urban centers. So it is time to learn everything you can about > HTML5, CSS3 and JavaScript > JQuery, JASON etc. There is so much free code, > information and inexpensive services out on the web that it can be amazing > how fast an application can be hacked together, with little knowledge. > > Third; converting apps to display and run on SmartPhones is a great idea. > There are a host of free or cheap application that will allow you to do > that. In addition, there are a number of great frameworks out there that > can > fit anyone's needs. (They will of course have to be hacked for any complex > or specific designs...I like VS ASP.Net for building boilerplate code). > > Fourth; databases can no longer be just SQL types. The new map-reduce or > NOSQL databases are quickly replacing systems where over a 10 million > pieces > of data that require routine searching. Most of these new databases are > free > or very inexpensive. > > Fifth; backend server technology is also changing as well as the DBs. > Checkout NODE.js...it is incredibly fast and this allows you to leverage > your JavaScript skills. > > Sixth; hosting your or having your client's hosting their own databases may > not be a good idea as cloud hosting is coming into its own. There are deals > like one TB of data for $8.00 a month, including full backups. If you are > up > to it you can build, you own Cloud, as drives are very cheap now. (Example: > 2TB = $89 for an external drive...I just pull them apart and stuff the > drive > into the server. > > There are lots of opportunities out there for programmers, even old codgers > like myself, but the learning curve is real steep though not > expensive...this is something to do for guys that say they have retired. > ;-) > > Seventh; I would recommend do not try to do it all on your own. One fool > working alone is only a third as effective as two such individuals are. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav > Sent: Friday, August 26, 2011 12:26 PM > To: 'accessd-bounces at databaseadvisors.com' > Subject: [AccessD] Freelancing > > Hey Susan > Your article was an eye opener. > I have been producing database applications for over 20 years. No ego being > inferred but I figure I have produced quality products that are 99.9% > bullet proof (many are still in use today). But I feel I am going the way > of > the dinosaur. Since the 2008 recession I have found that most companies no > longer want to spend money to save money (no matter want you do to try and > convince them of such). To be honest, on my end, the market is drying up. I > am kind of looking at leaving ACCESS and starting to develop customized > iPad/iPod (whatever) "Apps" for clients. If that doesn't work then I will > be > buying a "Weenie" wagon and hanging out at the beach. Not a boo hoo > scenario, just reality. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Fri Sep 2 14:17:06 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 12:17:06 -0700 Subject: [AccessD] User interface In-Reply-To: References: <4E591854.8090208@colbyconsulting.com> <6BAD4B05F0474F8083137B9C25B1038C@HAL9007> <4E597AE8.6269.28B4FE51@stuart.lexacorp.com.pg> Message-ID: <995A599CDD874FC9B8BA4966502999A2@creativesystemdesigns.com> Hi Arthur: I went to a very interesting talk about a year ago to do with the physiology behind the UI. The company that was doing the presentation made their living by redesigning UI for product development companies. One of their main claims to fame was that they worked with Apple and Google, in design work. There were so many components of UIs, that they covered, that most of the little things were forgotten. The main points I remember was: 1. Keep it lean...less is more. 2. A pretty and very clean design is as important or maybe more important than the actual application. (Spending half an hour on rounded curves and shadows may be you best time investment.) 3. Use graphics...people do not read. 4. When using text, the less text the better and font choice and weight and giving emphasis to key points or words is best. When I am deciding on an interface, checking out an Apple or Google app is a good way to refresh memory. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, August 27, 2011 5:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] User interface So, given that there are only three of us so far on this thread, I seem to be the odd man out on letting the themes define the colors. That's ok. But I confess that I am not a big fan of letting software developers (e.g. Google et. al.) define my color schemes. I would far prefer this be done on a global scale so that all apps are painted with the color-scheme I chose in WIndows itself, not the particular app. But that's just me. A. On Sat, Aug 27, 2011 at 7:54 PM, Rocky Smolin wrote: > I'm a fan of the one-form-at-a-time approach for the app I distribute as a > run time. It's complex enough without the users getting lost between > windows. I make them go back up the menu tree and down again to the form > they want. I have occasional buttons for lateral moves but not many. > > R > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 2 14:22:42 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 12:22:42 -0700 Subject: [AccessD] User Interface In-Reply-To: <000001cc66a1$04903830$0db0a890$@com.au> References: <000a01cc65dc$abb30b30$03192190$@com.au> <001701cc664e$2381e7a0$6a85b6e0$@gmail.com> <000001cc66a1$04903830$0db0a890$@com.au> Message-ID: Users rule. They are always right even when they are wrong. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Monday, August 29, 2011 4:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] User Interface Yes, absolutely! In fact I get annoyed with fellow developers who think user feedback and concerns are a pain. To me their feedback is usually pure gold. Keep them happy and content and you'll keep your job for a long time. I am a big fan of not letting option be available until they are ready to work flawlessly. Why on earth show them an active print button if it is going to fail on print because they are missing some information. For really unskilled users I normally have even made up little tick lists that show where they are in the process and what else they need to complete to finish the task. Yes, it takes a lot more time to put this sort of thing together but it pays very big dividends, especially when you have hundreds of users all over the country and there is no way you can give them all your personal assistance. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, 30 August 2011 1:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] User Interface Here here for the "No False Moves" strategy. The most important thing, IMO, is to make the user feel both powerful and elegant: nothing that should not happen should be permitted to happen. I know from experience that this is a PITA to deliver, but it inevitably is correct: foreclose the options that should not be available in the given context. A silly example, but I hope meaningful -- unless a given OrderID has been selected, then dis-allow the printing of an Invoice. The point here is ultimately, "Make the user feel graceful"; not merely competent, although that is Step One, but Graceful (that is Step Two). I have followed this strategy for about 20 years and it invariably has worked in my favour. In fact, I have learned some things from the users of my apps which I didn't even consider, because I don't actually use my deliverables, but just test them and then deploy them; the people who use them use them frequently, and are quicker than I to detect annoyances. I do listen to them, and I try to deliver smoother avenues on next deployment. I'm not claiming any expertise in this area. My rule of thumb is, Shut Up and Listen. I don't often run the systems I deliver, especially all day long; so I trust my customer-base to tell me what is a PITA and what is nice; then I go back to the drawing board and try to design the PITA out. Sometimes this strategy doesn't work, but most of the time it does. Users Rule; it's not about Referential Integrity or Validation Rules etc., it's about the user-experience, and about getting from Here to There in the fewest possible clicks and keystrokes. That's my design goal, anyway. I don't want the user (God, I hate that word, it reminds me of drug-dealers!) to have the simplest possible path toward creating a new Customer with its ancillary tables, or to update an existing Customer and her Locations, and her Location_Projects. I want all the background stuff to be invisible to the current Customer. This should all happen under smoke-and-mirrors, and then once the scaffold has been laid, everything else should happen automagically On Mon, Aug 29, 2011 at 9:18 AM, William Benson (VBACreations.Com) < vbacreations at gmail.com> wrote: > I think you all write applications for many more users than I do. I have > not > written anything for more than about 3 users at a time and basically they > are easily trained. The most important things have been to get work done in > the fewest number of steps. And no "false moves". On one app I built lately > there are several buttons down the right hand side of each of the main > forms. I can put anything I want in their captions then handle all button > clicks through a test of screen.activeform.name, > screen.activeform.ActiveControl.Name. I ALWAYS use captions, never images, > for just that reason. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins > Sent: Sunday, August 28, 2011 7:46 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] User Interface > > Hah, that is pretty much what I wanted to say, but as usual, waffled off > topic a fair bit... > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav > Sent: Monday, 29 August 2011 12:36 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] User Interface > > Hey John > In designing a user interface I always try to keep it clean, simple and > intuitive. Always keeping in mind that you are programming/designing not > for > the 99.9% but the .1% of the users ( a friend of mine used to laugh at this > "You spent a lot of time trying to solve the .1% problem", that was until > he > worked with me on a project). > > I am always trying to keep in mind when designing, the lowest common > denominator ,my theoretical "computer illiterate user". Meaning I control > what a user can and cannot do. I am always trying to second guess the user > and trying to shut any backdoors they may sneak into and open. > > I like to use single simple forms/single tab forms > There is no HELP (the form should visually flow/display to the user what > and > how things need to be done) > There are no menus. > The information intuitively flows from top to bottom > Where applicable some information may be highlighted in coloured boxes. I > use colour sparingly as it can tend to make the form look goofy or too > busy. > The forms contain all the things, buttons, my navigation bars (when > needed), > list boxes, pop ups, etc. necessary to let the user carry out the > activities > the form is designed to perform. > Where necesary the form may contain my own (not Access) message boxes > intrusive - ".....Sorry cannot do that..." and nonintrusive - ".... Are you > sure? Continue Y/N?" > > As most of you have probably done, I will design what I thought was a > pretty cool form, but a week later when I go back to continue my testing, > the form just doesn't seem to flow the way it should (not intuitive). So I > tear apart and rebuild it and start again. > > Nothing new here, just my 2 cents worth. > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 shamil at smsconsulting.spb.ru Fri Sep 2 14:23:01 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 2 Sep 2011 23:23:01 +0400 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: <62F88463B3514BCFAC753FB624FDD05A@SusanHarkins> References: <00d901cc6104$e48b4e40$ada1eac0$@net><4E52BED3.9080600@colbyconsulting.com><2BB94FDF62ED42B194C1CC6F12061C3D@nant> <62F88463B3514BCFAC753FB624FDD05A@SusanHarkins> Message-ID: <2945C176827A4F7EAAFB339176853DB0@nant> Hi Susan -- Thank you for your pointing out on that your article. It looks like we have a bit of telepathy here :) Why just "Five tips for weeding out potentially bad clients" not "Ten tips..." as usual? Let's try to add some more tips? #6. Ask prospect customer to write a short spec on what they wanted you to do for them - if they will tell you they do not have time - say them good buy... ... Thank you for your kind words, Susan - it's always nice to hear from you - and I do read most of your TechRep articles as I'm subscribed on TechRep announcements for a long time... Thank you. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: 2 ???????? 2011 ?. 22:33 To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites (OT Reply) Since you brought that up... Nice to hear from you Shamil!! Susan H. > Therefore additionally to 'must have' constant mastering of software > development skills and learning by doing the new technologies every > freelancer should also master the art of selecting (and > nurturing/cultivating) "good" customers and ignoring the "bad" ones... > > Thank you. -- 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 Sep 2 14:21:41 2011 From: df.waters at comcast.net (Dan Waters) Date: Fri, 2 Sep 2011 14:21:41 -0500 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> Message-ID: <003f01cc69a5$8bf4d360$a3de7a20$@comcast.net> Since I charge user license fees (in place of Maintenance fees) I don't fire clients. I change the parameters of how I'll work with them, but I don't threaten to leave. For example, at one meeting a DBA 'took over' the meeting, hadn't read the material I had sent out to begin with, and wasted an hour of 6 people's time. Not to mention two hours driving for me. I sent my contacts an email stating that I would not work with or meet with that person again, and they never asked me to. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, September 02, 2011 1:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites (OT Reply) A critical skill in the freelancing world is learning how to fire customers. The moment they become a PITA is the time to fire them. This includes outrageous demands (can't you just make it do this too, for free?) to late payments to aggravating meetings. Call me a curmudgeon but I don't have enough time left on this planet to deal with such crap. The first moment I see a bad sign, I fire the client. A. -- 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 Sep 2 14:24:04 2011 From: df.waters at comcast.net (Dan Waters) Date: Fri, 2 Sep 2011 14:24:04 -0500 Subject: [AccessD] User Interface In-Reply-To: References: <000a01cc65dc$abb30b30$03192190$@com.au> <001701cc664e$2381e7a0$6a85b6e0$@gmail.com> <000001cc66a1$04903830$0db0a890$@com.au> Message-ID: <004001cc69a5$e0fa1d70$a2ee5850$@comcast.net> Yes - they know they're right. It's my job to ask enough questions to discover what they really need, and then later show them that they were right! ;-) Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, September 02, 2011 2:23 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] User Interface Users rule. They are always right even when they are wrong. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Monday, August 29, 2011 4:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] User Interface Yes, absolutely! In fact I get annoyed with fellow developers who think user feedback and concerns are a pain. To me their feedback is usually pure gold. Keep them happy and content and you'll keep your job for a long time. I am a big fan of not letting option be available until they are ready to work flawlessly. Why on earth show them an active print button if it is going to fail on print because they are missing some information. For really unskilled users I normally have even made up little tick lists that show where they are in the process and what else they need to complete to finish the task. Yes, it takes a lot more time to put this sort of thing together but it pays very big dividends, especially when you have hundreds of users all over the country and there is no way you can give them all your personal assistance. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, 30 August 2011 1:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] User Interface Here here for the "No False Moves" strategy. The most important thing, IMO, is to make the user feel both powerful and elegant: nothing that should not happen should be permitted to happen. I know from experience that this is a PITA to deliver, but it inevitably is correct: foreclose the options that should not be available in the given context. A silly example, but I hope meaningful -- unless a given OrderID has been selected, then dis-allow the printing of an Invoice. The point here is ultimately, "Make the user feel graceful"; not merely competent, although that is Step One, but Graceful (that is Step Two). I have followed this strategy for about 20 years and it invariably has worked in my favour. In fact, I have learned some things from the users of my apps which I didn't even consider, because I don't actually use my deliverables, but just test them and then deploy them; the people who use them use them frequently, and are quicker than I to detect annoyances. I do listen to them, and I try to deliver smoother avenues on next deployment. I'm not claiming any expertise in this area. My rule of thumb is, Shut Up and Listen. I don't often run the systems I deliver, especially all day long; so I trust my customer-base to tell me what is a PITA and what is nice; then I go back to the drawing board and try to design the PITA out. Sometimes this strategy doesn't work, but most of the time it does. Users Rule; it's not about Referential Integrity or Validation Rules etc., it's about the user-experience, and about getting from Here to There in the fewest possible clicks and keystrokes. That's my design goal, anyway. I don't want the user (God, I hate that word, it reminds me of drug-dealers!) to have the simplest possible path toward creating a new Customer with its ancillary tables, or to update an existing Customer and her Locations, and her Location_Projects. I want all the background stuff to be invisible to the current Customer. This should all happen under smoke-and-mirrors, and then once the scaffold has been laid, everything else should happen automagically On Mon, Aug 29, 2011 at 9:18 AM, William Benson (VBACreations.Com) < vbacreations at gmail.com> wrote: > I think you all write applications for many more users than I do. I > have not written anything for more than about 3 users at a time and > basically they are easily trained. The most important things have been > to get work done in > the fewest number of steps. And no "false moves". On one app I built lately > there are several buttons down the right hand side of each of the main > forms. I can put anything I want in their captions then handle all > button clicks through a test of screen.activeform.name, > screen.activeform.ActiveControl.Name. I ALWAYS use captions, never > images, for just that reason. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl > Collins > Sent: Sunday, August 28, 2011 7:46 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] User Interface > > Hah, that is pretty much what I wanted to say, but as usual, waffled > off topic a fair bit... > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav > Sent: Monday, 29 August 2011 12:36 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] User Interface > > Hey John > In designing a user interface I always try to keep it clean, simple > and intuitive. Always keeping in mind that you are > programming/designing not for the 99.9% but the .1% of the users ( a > friend of mine used to laugh at this > "You spent a lot of time trying to solve the .1% problem", that was > until he worked with me on a project). > > I am always trying to keep in mind when designing, the lowest common > denominator ,my theoretical "computer illiterate user". Meaning I > control what a user can and cannot do. I am always trying to second > guess the user and trying to shut any backdoors they may sneak into and open. > > I like to use single simple forms/single tab forms There is no HELP > (the form should visually flow/display to the user what and how things > need to be done) There are no menus. > The information intuitively flows from top to bottom Where applicable > some information may be highlighted in coloured boxes. I use colour > sparingly as it can tend to make the form look goofy or too busy. > The forms contain all the things, buttons, my navigation bars (when > needed), list boxes, pop ups, etc. necessary to let the user carry out > the activities the form is designed to perform. > Where necesary the form may contain my own (not Access) message boxes > intrusive - ".....Sorry cannot do that..." and nonintrusive - ".... > Are you > sure? Continue Y/N?" > > As most of you have probably done, I will design what I thought was a > pretty cool form, but a week later when I go back to continue my > testing, the form just doesn't seem to flow the way it should (not > intuitive). So I tear apart and rebuild it and start again. > > Nothing new here, just my 2 cents worth. > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 fuller.artful at gmail.com Fri Sep 2 14:28:01 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 2 Sep 2011 15:28:01 -0400 Subject: [AccessD] User interface In-Reply-To: <995A599CDD874FC9B8BA4966502999A2@creativesystemdesigns.com> References: <4E591854.8090208@colbyconsulting.com> <6BAD4B05F0474F8083137B9C25B1038C@HAL9007> <4E597AE8.6269.28B4FE51@stuart.lexacorp.com.pg> <995A599CDD874FC9B8BA4966502999A2@creativesystemdesigns.com> Message-ID: I think of Google as the UI par excellence. Lean and clean and decidedly not noisy. I admire their design sense immensely. A. From fuller.artful at gmail.com Fri Sep 2 14:29:19 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 2 Sep 2011 15:29:19 -0400 Subject: [AccessD] User Interface In-Reply-To: References: <000a01cc65dc$abb30b30$03192190$@com.au> <001701cc664e$2381e7a0$6a85b6e0$@gmail.com> <000001cc66a1$04903830$0db0a890$@com.au> Message-ID: Those are the watchwords: users rule. On Fri, Sep 2, 2011 at 3:22 PM, Jim Lawrence wrote: > Users rule. They are always right even when they are wrong. ;-) > > Jim > From ssharkins at gmail.com Fri Sep 2 14:33:31 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 15:33:31 -0400 Subject: [AccessD] Freelancing References: Message-ID: How do you guys feel about SmallSQL? Susan H. >I definitely hear you on the NoSQL front, and wish I had enough money to >buy > a few more GBs of RAM to make my elementary tests more real-world, but I > don't, so I can't. The technology remains fascinating, and it makes a ton > more sense than hard disks. > From ssharkins at gmail.com Fri Sep 2 14:35:05 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 15:35:05 -0400 Subject: [AccessD] freelancing job sites (OT Reply) References: <00d901cc6104$e48b4e40$ada1eac0$@net><4E52BED3.9080600@colbyconsulting.com><2BB94FDF62ED42B194C1CC6F12061C3D@nant><62F88463B3514BCFAC753FB624FDD05A@SusanHarkins> <2945C176827A4F7EAAFB339176853DB0@nant> Message-ID: <8F06E942435D4994AC536AF787B0FE57@SusanHarkins> If I can't come up with 10, I weddle it down to the best 5 I can come up with. :) Susan H. > Hi Susan -- > > Thank you for your pointing out on that your article. > It looks like we have a bit of telepathy here :) > > Why just "Five tips for weeding out potentially bad clients" not "Ten > tips..." as usual? > > Let's try to add some more tips? > > #6. Ask prospect customer to write a short spec on what they wanted you to > do for them - if they will tell you they do not have time - say them good > buy... > > ... > > Thank you for your kind words, Susan - it's always nice to hear from you - > and I do read most of your TechRep articles as I'm subscribed on TechRep > announcements for a long time... > > Thank you. > > -- > Shamil > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: 2 ???????? 2011 ?. 22:33 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] freelancing job sites (OT Reply) > > Since you brought that up... > > ially-bad-clients/1011?tag=content;blog-list-river> > > Nice to hear from you Shamil!! > > Susan H. > >> Therefore additionally to 'must have' constant mastering of software >> development skills and learning by doing the new technologies every >> freelancer should also master the art of selecting (and >> nurturing/cultivating) "good" customers and ignoring the "bad" ones... >> >> Thank you. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 2 14:39:58 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 12:39:58 -0700 Subject: [AccessD] Print graphics file from Access In-Reply-To: References: Message-ID: <72D8D5AB6C0B4B88977336DE35B0B41E@creativesystemdesigns.com> Have you tried save the image as a GIF or PNG type file with transparency? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Tuesday, August 30, 2011 9:08 AM To: Access Developers discussion and problem solving Subject: [AccessD] Print graphics file from Access Hello All: I have an A2003 invoicing database; when it prints an invoice, it prints a signature which has been captured by another app. The signature is in a .jpg file. This worked fine until recently, when we changed the signature capture app. It turns out that the new app is creating a transparent .jpg, and the old one created one with a white background. Access won't print the transparent .jpg. If I open a signature file in Paint, then re-save it, Paint converts the transparent background to white and Access is happy. But my client isn't happy at the idea of doing this by hand for every invoice he prints! Does anyone know of a way that I can automatically convert a transparent jpg to white background in code, or have any other ideas to make this work? Thanks, 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 Sep 2 14:55:26 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 12:55:26 -0700 Subject: [AccessD] freelancing job sites In-Reply-To: <63AE84781A4D4D06831092CAE59A695A@SusanHarkins> References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net> <35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> <8C2AEC85399344049C37CCE2430D9D79@creativesystemdesigns.com> <63AE84781A4D4D06831092CAE59A695A@SusanHarkins> Message-ID: <731C2D1762BB47A7B995DF7EB26128BE@creativesystemdesigns.com> Ha ha ha... I guess some Freelancers do not like to hear the facts...too bad. OTOH, the more controversy you stir up the better for business. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, September 02, 2011 10:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites I'm not being sensitive because they don't bother me. I find them odd and I'd prefer not to get them, but I'm not upset about it. I don't think telling me that I give freelancers a bad name and that I should retire is constructive criticism. There was another that was even worst -- suggested TR not use me as a contributor anymore. Too sensitive? I don't think so. I didn't write anything that should've illicited that kind of ire from anyone. Some people are just too crumpy to interact with other people in a reasonable manner. Like I said, most people had some interesting stories to tell and even those that disagreed with me did so in a reasonable manner. The flip side's coming out soon and after that I've got one that lists the reasons I don't miss Office 2003 -- they'll fry me up for supper after reading that one. :) Susan H. > Hi Susan: > > Unless I am missing something, for the most part everyone is in complete > agreement with your assumptions. If there is "hateful feedback", I did not > find it. > > Maybe you are being too sensitive? Give us some examples. ;-) > -- 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 Sep 2 15:03:07 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 2 Sep 2011 16:03:07 -0400 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: <8F06E942435D4994AC536AF787B0FE57@SusanHarkins> References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> <62F88463B3514BCFAC753FB624FDD05A@SusanHarkins> <2945C176827A4F7EAAFB339176853DB0@nant> <8F06E942435D4994AC536AF787B0FE57@SusanHarkins> Message-ID: I guess that my stance on this is that I value time more than money. There are so many books to read, so many new apps to learn, so much music to appreciate. You want to tackle say Shostakovitch or Beethoven or Bach, there goes several hundred hours each. And then you still have Brahms, Stravinsky and Bartok to go, and that's only the beginning of your education in classic music, let alone quantum physics etc. A. On Fri, Sep 2, 2011 at 3:35 PM, Susan Harkins wrote: > If I can't come up with 10, I weddle it down to the best 5 I can come up > with. :) > > Susan H. > > From stuart at lexacorp.com.pg Fri Sep 2 15:03:38 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 03 Sep 2011 06:03:38 +1000 Subject: [AccessD] Freelancing In-Reply-To: References: , Message-ID: <4E61369A.11630.12AA561C@stuart.lexacorp.com.pg> All I know is that it is a desktop based, single user Java DBMS which uses JDBC. Since I don't do Java, I've never looked any further. I'd rather stick with SQLite - it does the same thing with a single native code DLL which can be incorporated into any development environment. -- Stuart On 2 Sep 2011 at 15:33, Susan Harkins wrote: > How do you guys feel about SmallSQL? > > Susan H. > > > >I definitely hear you on the NoSQL front, and wish I had enough money > >to buy > > a few more GBs of RAM to make my elementary tests more real-world, > > but I don't, so I can't. The technology remains fascinating, and it > > makes a ton more sense than hard disks. > > > > -- > 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 Sep 2 15:04:35 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 2 Sep 2011 16:04:35 -0400 Subject: [AccessD] User Interface In-Reply-To: <004001cc69a5$e0fa1d70$a2ee5850$@comcast.net> References: <000a01cc65dc$abb30b30$03192190$@com.au> <001701cc664e$2381e7a0$6a85b6e0$@gmail.com> <000001cc66a1$04903830$0db0a890$@com.au> <004001cc69a5$e0fa1d70$a2ee5850$@comcast.net> Message-ID: Reminds me of the Clipper mantra: ask them what they want, then deliver what they need. A. On Fri, Sep 2, 2011 at 3:24 PM, Dan Waters wrote: > Yes - they know they're right. It's my job to ask enough questions to > discover what they really need, and then later show them that they were > right! ;-) > > Dan > From dbdoug at gmail.com Fri Sep 2 15:08:37 2011 From: dbdoug at gmail.com (Doug Steele) Date: Fri, 2 Sep 2011 13:08:37 -0700 Subject: [AccessD] Print graphics file from Access In-Reply-To: <72D8D5AB6C0B4B88977336DE35B0B41E@creativesystemdesigns.com> References: <72D8D5AB6C0B4B88977336DE35B0B41E@creativesystemdesigns.com> Message-ID: The API for the signature capture software doesn't give any options about output types. But it turned out that the .Net System.Drawing namespace had the answer. I was able to find some sample code on the web which led me to a solution which we've implemented: (C# code in the capture app, error handling code removed): // get signature as default (png format) System.Drawing.Bitmap BM = ctlSignature.SaveSignature(""); // save as jpg BM.Save(Server.MapPath("~/sigs/" + SessionVars.EditWONum.ToString() + "sign.jpg"), System.Drawing.Imaging.ImageFormat.Jpeg); Approximately 8 hours of research, mostly off on a wild goose chase, led to a solution consisting of two lines of code :) Doug On Fri, Sep 2, 2011 at 12:39 PM, Jim Lawrence wrote: > Have you tried save the image as a GIF or PNG type file with transparency? > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele > Sent: Tuesday, August 30, 2011 9:08 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Print graphics file from Access > > Hello All: > > I have an A2003 invoicing database; when it prints an invoice, it prints a > signature which has been captured by another app. The signature is in a > .jpg file. > > This worked fine until recently, when we changed the signature capture app. > It turns out that the new app is creating a transparent .jpg, and the old > one created one with a white background. Access won't print the > transparent > .jpg. If I open a signature file in Paint, then re-save it, Paint converts > the transparent background to white and Access is happy. But my client > isn't happy at the idea of doing this by hand for every invoice he prints! > > Does anyone know of a way that I can automatically convert a transparent > jpg > to white background in code, or have any other ideas to make this work? > > 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 fuller.artful at gmail.com Fri Sep 2 15:09:50 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 2 Sep 2011 16:09:50 -0400 Subject: [AccessD] Freelancing In-Reply-To: References: Message-ID: I've never tried it but just downloaded it and about to install it. A. On Fri, Sep 2, 2011 at 3:33 PM, Susan Harkins wrote: > How do you guys feel about SmallSQL? > > Susan H. > From BradM at blackforestltd.com Fri Sep 2 15:15:22 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Fri, 2 Sep 2011 15:15:22 -0500 Subject: [AccessD] Pulling Data from Outlook into Access References: <000a01cc65dc$abb30b30$03192190$@com.au><001701cc664e$2381e7a0$6a85b6e0$@gmail.com><000001cc66a1$04903830$0db0a890$@com.au><004001cc69a5$e0fa1d70$a2ee5850$@comcast.net> Message-ID: All, Below is a small Sub that pulls data from Outlook into Access. This works fine to pull data from my Outlook Mailbox. I now need to pull data that resides in a different Outlook Mailbox. I have the Mailbox name and password. Is this possible? Thanks, Brad ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Sub Outlook_Test() Dim myOlApp As Outlook.Application Dim myNameSpace As Object Dim myFolders As Object Dim myFolder As Object Dim mySubFolder As Object Dim Item As Object Set myOlApp = CreateObject("Outlook.Application") Set myNameSpace = myOlApp.GetNamespace("MAPI") Set myFolders = myNameSpace.Folders Set myFolder = myFolders.Item(1) Set mySubFolder = myFolder.Folders("Inbox") For Each Item In mySubFolder.Items MsgBox Item.Subject & vbLf & Item.Body Next Item End Sub ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From accessd at shaw.ca Fri Sep 2 15:43:27 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 13:43:27 -0700 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: <2BB94FDF62ED42B194C1CC6F12061C3D@nant> References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> Message-ID: <8D44FC3DF663451D800CEAEDA46ED092@creativesystemdesigns.com> Hi Shamil: With my old time clients any new technology has to be careful implemented...they do not like new especially if it looks too different. The slow refinement method works best. ;-) I have been quietly moving my clients to the web/SQL and as long as I have been able to emulate the old forms in design, layout and features they are very happy. Most new younger client's want instant gratification, absolute perfection and it all done very cheap. The choices are; Good, Fast and cheap; pick any two. I like to modularize applications so a project can be allowed to evolve over a length of time with lots of user assistance. A long-term 'insurance and incremental development' policy is the goal of course. I try to never 're-invent the wheel'. I use existing apps and technology as long as it makes my job easier and moves the project ahead. Some clients are 'early adopters', they really like any technology that is new and shiny, and they tend to be the ones willing and capable of paying for the learning curve. The only thing is that, I may end up supporting a technology that fades fast. MS Silverlight comes to mind as it has been superseded by the industry standards of HTML5 as even Adobe is abandoning their Flash product in favour of the standard: www.adobe.com/EdgePreview (HTML5/CSS3 web builder) I agree that it is good to know when to divorce a customer or never become acquainted. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, September 02, 2011 11:22 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] freelancing job sites (OT Reply) Hi Jim -- I guess your clients do have got developed strong business thanks to your good software development work for them - that seems to be the key point for a freelancing carrier success. Although there exist so many "prospect customers" who are trying to "save a penny" by burning out freelancers. Therefore additionally to 'must have' constant mastering of software development skills and learning by doing the new technologies every freelancer should also master the art of selecting (and nurturing/cultivating) "good" customers and ignoring the "bad" ones... Thank you. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: 2 ???????? 2011 ?. 20:51 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] freelancing job sites (OT Reply) I have six clients that I have been supporting for over 15 years...the oldest one is 24 years. There is not a system that cannot be improved and I never mention, to any of them, how much they have paid me in total. When cost is discussed, we talk about our dealings as an extended insurance policy and everyone seems happy. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, August 22, 2011 1:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites (OT Reply) 9 years and 240K later one of my clients is still adding to the system I write for them (in Access). I started in July 2002. We are about to migrate the data to SQL Server. John W. Colby www.ColbyConsulting.com On 8/22/2011 3:51 PM, Mark Simms wrote: >> Lately, my 'salesman' has been taking my time/money quotes, and not >> adjusting them properly. When I say 2 weeks, he should be telling >> his customer 4 weeks, instead, he tells them 1 week, and hounds me. > > Sorry, I've got to "top" that one. > A couple of years ago I was hired to enhance a system that basically > was a custom-made CRM for a very specialized business. > There were no off-the-shelf packages, so their in-house developer > wrote it over a period of 3 years. > It was built using VB6, Access 97, and a bunch of 3rd party controls. > They lost the licenses and the developer, so I gave them the option of > building out additional functionality via Access 97. > It was to provide a new source of revenue for them. 6-8 weeks later it > was done. > > Management then decided they wanted to rewrite the whole system....I > gave them a proposal in Access 2007 for $80,000 and 8 months time > which they rejected. Instead, they signed a development company to do > it in dot-net/SQL > Server. I was disappointed, I thought I had given them a "bargain". > Their volume did not dictate a need for a heavy-duty database. > > Two years and $250,000 later, the dot-net system is still nowhere near > completed. > > Lesson: in IT freelancing, it's so easy to get burned. > > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Fri Sep 2 15:45:55 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 13:45:55 -0700 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: <62F88463B3514BCFAC753FB624FDD05A@SusanHarkins> References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> <62F88463B3514BCFAC753FB624FDD05A@SusanHarkins> Message-ID: My goodness you are such a complete source of information. You should have a "Ask Susan" blog. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, September 02, 2011 11:33 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites (OT Reply) Since you brought that up... Nice to hear from you Shamil!! Susan H. > Therefore additionally to 'must have' constant mastering of software > development skills and learning by doing the new technologies every > freelancer should also master the art of selecting (and > nurturing/cultivating) "good" customers and ignoring the "bad" ones... > > Thank you. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 2 15:47:09 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 13:47:09 -0700 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> Message-ID: <88234EDB76E044DA882E31214D603FA3@creativesystemdesigns.com> Well spoken. :-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, September 02, 2011 11:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites (OT Reply) A critical skill in the freelancing world is learning how to fire customers. The moment they become a PITA is the time to fire them. This includes outrageous demands (can't you just make it do this too, for free?) to late payments to aggravating meetings. Call me a curmudgeon but I don't have enough time left on this planet to deal with such crap. The first moment I see a bad sign, I fire the client. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Fri Sep 2 15:50:56 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 16:50:56 -0400 Subject: [AccessD] freelancing job sites (OT Reply) References: <00d901cc6104$e48b4e40$ada1eac0$@net><4E52BED3.9080600@colbyconsulting.com><2BB94FDF62ED42B194C1CC6F12061C3D@nant><62F88463B3514BCFAC753FB624FDD05A@SusanHarkins> Message-ID: <7AFD83CBFEE14C14A8B4D1B11D47136D@SusanHarkins> I'm afraid I would get stumped too often to maintain my reputation. :) Susan H. > My goodness you are such a complete source of information. You should have > a > "Ask Susan" blog. ;-) > > Jim > > Since you brought that up... > > ially-bad-clients/1011?tag=content;blog-list-river> > > Nice to hear from you Shamil!! > > Susan H. > >> Therefore additionally to 'must have' constant mastering of software >> development skills and learning by doing the new technologies every >> freelancer should also master the art of selecting (and >> nurturing/cultivating) "good" customers and ignoring the "bad" ones... >> >> Thank you. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 2 15:54:04 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 13:54:04 -0700 Subject: [AccessD] Freelancing In-Reply-To: References: Message-ID: I think you could make a good case anywhere in North America as code is more an art form than a technology...and art is protected in both countries. The "John Fogerty" act/law/precedence comes to mind. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, September 02, 2011 12:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Freelancing I definitely hear you on the NoSQL front, and wish I had enough money to buy a few more GBs of RAM to make my elementary tests more real-world, but I don't, so I can't. The technology remains fascinating, and it makes a ton more sense than hard disks. On your first point (You will never make money building one-offs), I also agree completely. In Canada, the established law is that subject to a written contract specifying that the ownership of the code goes to the developer, in which case should you devise, for example, an app for veterinarions, then the code belongs to you, and not to the vet who constracted you to write it; hence you are free to turn it into a mass-market app (well, that assumes that vets are a mass-market, but you get the point). Such an app, in terms of development cost and potential returns, is vastly smaller than, say, eHealth (that's a Canadian term, and is vaguely equivalent to Medicaid or whatever they call it in USA); basically it means that every medical item on your list is stored in a massive db, including all your X-rays, CT-scans, MRIs, previous phyisicians, etc., and that it is all obtainable by both your current physician and also the Department of Health (that would be provincial not federal; there is no federal Department of Health in Canada; but that in turn causes needless complications: a very popular thing to do in Canada is move from Newfoundland to Alberta, where jobs in the oil industry abound, and transferring your medical records from one province to another is non-trivial. It can be done, but it take time. Since I am not a citizen of the USA and haven't bothered to explore the legalities lurking therein, I have only the Canadian model from which to work. Here, the client must specifically include a clause claiming ownership of the code; failure to do that means that the code belongs to the developer, who may freely sell it numerous times; but to be fair, if it were a hair-salon app, it would be a tad rude to sell it to the hair-salon across the street -- still legal, but rude. I think there are at least a couple of USA lawyers who visit this list, and I would be most interested in their perspective. TIA, Arthur On Fri, Sep 2, 2011 at 2:51 PM, Jim Lawrence wrote: > There are a number of areas, which look very interesting in which to spend > new time. The problem is finding the time. > > First; You will never make many money building one-off products for a > client. Building and marketing a product multiple times is much more cost > effective. > > Second; everything is going web-based, especially if you live and work in > any major urban centers. So it is time to learn everything you can about > HTML5, CSS3 and JavaScript > JQuery, JASON etc. There is so much free code, > information and inexpensive services out on the web that it can be amazing > how fast an application can be hacked together, with little knowledge. > > Third; converting apps to display and run on SmartPhones is a great idea. > There are a host of free or cheap application that will allow you to do > that. In addition, there are a number of great frameworks out there that > can > fit anyone's needs. (They will of course have to be hacked for any complex > or specific designs...I like VS ASP.Net for building boilerplate code). > > Fourth; databases can no longer be just SQL types. The new map-reduce or > NOSQL databases are quickly replacing systems where over a 10 million > pieces > of data that require routine searching. Most of these new databases are > free > or very inexpensive. > > Fifth; backend server technology is also changing as well as the DBs. > Checkout NODE.js...it is incredibly fast and this allows you to leverage > your JavaScript skills. > > Sixth; hosting your or having your client's hosting their own databases may > not be a good idea as cloud hosting is coming into its own. There are deals > like one TB of data for $8.00 a month, including full backups. If you are > up > to it you can build, you own Cloud, as drives are very cheap now. (Example: > 2TB = $89 for an external drive...I just pull them apart and stuff the > drive > into the server. > > There are lots of opportunities out there for programmers, even old codgers > like myself, but the learning curve is real steep though not > expensive...this is something to do for guys that say they have retired. > ;-) > > Seventh; I would recommend do not try to do it all on your own. One fool > working alone is only a third as effective as two such individuals are. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav > Sent: Friday, August 26, 2011 12:26 PM > To: 'accessd-bounces at databaseadvisors.com' > Subject: [AccessD] Freelancing > > Hey Susan > Your article was an eye opener. > I have been producing database applications for over 20 years. No ego being > inferred but I figure I have produced quality products that are 99.9% > bullet proof (many are still in use today). But I feel I am going the way > of > the dinosaur. Since the 2008 recession I have found that most companies no > longer want to spend money to save money (no matter want you do to try and > convince them of such). To be honest, on my end, the market is drying up. I > am kind of looking at leaving ACCESS and starting to develop customized > iPad/iPod (whatever) "Apps" for clients. If that doesn't work then I will > be > buying a "Weenie" wagon and hanging out at the beach. Not a boo hoo > scenario, just reality. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Fri Sep 2 15:56:00 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 13:56:00 -0700 Subject: [AccessD] User Interface In-Reply-To: <004001cc69a5$e0fa1d70$a2ee5850$@comcast.net> References: <000a01cc65dc$abb30b30$03192190$@com.au> <001701cc664e$2381e7a0$6a85b6e0$@gmail.com> <000001cc66a1$04903830$0db0a890$@com.au> <004001cc69a5$e0fa1d70$a2ee5850$@comcast.net> Message-ID: <92B15C80720D41EC93F809509C5BEB81@creativesystemdesigns.com> Good policy. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, September 02, 2011 12:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] User Interface Yes - they know they're right. It's my job to ask enough questions to discover what they really need, and then later show them that they were right! ;-) Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, September 02, 2011 2:23 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] User Interface Users rule. They are always right even when they are wrong. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Monday, August 29, 2011 4:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] User Interface Yes, absolutely! In fact I get annoyed with fellow developers who think user feedback and concerns are a pain. To me their feedback is usually pure gold. Keep them happy and content and you'll keep your job for a long time. I am a big fan of not letting option be available until they are ready to work flawlessly. Why on earth show them an active print button if it is going to fail on print because they are missing some information. For really unskilled users I normally have even made up little tick lists that show where they are in the process and what else they need to complete to finish the task. Yes, it takes a lot more time to put this sort of thing together but it pays very big dividends, especially when you have hundreds of users all over the country and there is no way you can give them all your personal assistance. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, 30 August 2011 1:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] User Interface Here here for the "No False Moves" strategy. The most important thing, IMO, is to make the user feel both powerful and elegant: nothing that should not happen should be permitted to happen. I know from experience that this is a PITA to deliver, but it inevitably is correct: foreclose the options that should not be available in the given context. A silly example, but I hope meaningful -- unless a given OrderID has been selected, then dis-allow the printing of an Invoice. The point here is ultimately, "Make the user feel graceful"; not merely competent, although that is Step One, but Graceful (that is Step Two). I have followed this strategy for about 20 years and it invariably has worked in my favour. In fact, I have learned some things from the users of my apps which I didn't even consider, because I don't actually use my deliverables, but just test them and then deploy them; the people who use them use them frequently, and are quicker than I to detect annoyances. I do listen to them, and I try to deliver smoother avenues on next deployment. I'm not claiming any expertise in this area. My rule of thumb is, Shut Up and Listen. I don't often run the systems I deliver, especially all day long; so I trust my customer-base to tell me what is a PITA and what is nice; then I go back to the drawing board and try to design the PITA out. Sometimes this strategy doesn't work, but most of the time it does. Users Rule; it's not about Referential Integrity or Validation Rules etc., it's about the user-experience, and about getting from Here to There in the fewest possible clicks and keystrokes. That's my design goal, anyway. I don't want the user (God, I hate that word, it reminds me of drug-dealers!) to have the simplest possible path toward creating a new Customer with its ancillary tables, or to update an existing Customer and her Locations, and her Location_Projects. I want all the background stuff to be invisible to the current Customer. This should all happen under smoke-and-mirrors, and then once the scaffold has been laid, everything else should happen automagically On Mon, Aug 29, 2011 at 9:18 AM, William Benson (VBACreations.Com) < vbacreations at gmail.com> wrote: > I think you all write applications for many more users than I do. I > have not written anything for more than about 3 users at a time and > basically they are easily trained. The most important things have been > to get work done in > the fewest number of steps. And no "false moves". On one app I built lately > there are several buttons down the right hand side of each of the main > forms. I can put anything I want in their captions then handle all > button clicks through a test of screen.activeform.name, > screen.activeform.ActiveControl.Name. I ALWAYS use captions, never > images, for just that reason. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl > Collins > Sent: Sunday, August 28, 2011 7:46 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] User Interface > > Hah, that is pretty much what I wanted to say, but as usual, waffled > off topic a fair bit... > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav > Sent: Monday, 29 August 2011 12:36 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] User Interface > > Hey John > In designing a user interface I always try to keep it clean, simple > and intuitive. Always keeping in mind that you are > programming/designing not for the 99.9% but the .1% of the users ( a > friend of mine used to laugh at this > "You spent a lot of time trying to solve the .1% problem", that was > until he worked with me on a project). > > I am always trying to keep in mind when designing, the lowest common > denominator ,my theoretical "computer illiterate user". Meaning I > control what a user can and cannot do. I am always trying to second > guess the user and trying to shut any backdoors they may sneak into and open. > > I like to use single simple forms/single tab forms There is no HELP > (the form should visually flow/display to the user what and how things > need to be done) There are no menus. > The information intuitively flows from top to bottom Where applicable > some information may be highlighted in coloured boxes. I use colour > sparingly as it can tend to make the form look goofy or too busy. > The forms contain all the things, buttons, my navigation bars (when > needed), list boxes, pop ups, etc. necessary to let the user carry out > the activities the form is designed to perform. > Where necesary the form may contain my own (not Access) message boxes > intrusive - ".....Sorry cannot do that..." and nonintrusive - ".... > Are you > sure? Continue Y/N?" > > As most of you have probably done, I will design what I thought was a > pretty cool form, but a week later when I go back to continue my > testing, the form just doesn't seem to flow the way it should (not > intuitive). So I tear apart and rebuild it and start again. > > Nothing new here, just my 2 cents worth. > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Fri Sep 2 15:59:16 2011 From: marksimms at verizon.net (Mark Simms) Date: Fri, 02 Sep 2011 16:59:16 -0400 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome In-Reply-To: References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net><35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins><013c01cc6261$e4237320$ac6a5960$@net><78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> Message-ID: <013f01cc69b3$2dc3c950$894b5bf0$@net> Re: "Been on the same gig for over 2 years..." That's hugely unusual these days. Most large corps have "rules" in place that disallow temp employment past 12 or 18 months. You should be so grateful for this long, long gig....and I am sure any agency that has represented you has given you at least an "atta boy". In the past 3 years I've only been able to get "stinkers".....short term, high pressure, low pay deals. It does appear as if the Indian companies have garnished all of the "Sweet deals". Every 3 months I am re-interviewing by phone and in person, re-profiling my background, updating references, updating resumes, etc. I call this the Sisyphus syndrome: "Camus outlines the legend of Sisyphus who defied the gods and put Death in chains so that no human needed to die. When Death was eventually liberated and it came time for Sisyphus himself to die, he concocted a deceit which let him escape from the underworld. Finally captured, the gods decided on his punishment: for all eternity, he would have to push a rock up a mountain; on the top, the rock rolls down again and Sisyphus has to start over. Camus sees Sisyphus as the absurd hero who lives life to the fullest, hates death and is condemned to a meaningless task." "Camus presents Sisyphus's ceaseless and pointless toil as a metaphor for modern lives spent working at futile jobs in factories and offices. The workman of today works every day in his life at the same tasks, and this fate is no less absurd. But it is tragic only at the rare moments when it becomes conscious." From accessd at shaw.ca Fri Sep 2 16:04:32 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 14:04:32 -0700 Subject: [AccessD] Freelancing In-Reply-To: References: Message-ID: <591283956F204426BE1F3A86038EF3C5@creativesystemdesigns.com> Well, it has a small footprint, limited features, runs on Windows and Linux and is totally written in Java (some computer science major's thesis project). I have only had a very limited information on the product and have heard of no one playing with it; even my most geeky friends. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, September 02, 2011 12:34 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Freelancing How do you guys feel about SmallSQL? Susan H. >I definitely hear you on the NoSQL front, and wish I had enough money to >buy > a few more GBs of RAM to make my elementary tests more real-world, but I > don't, so I can't. The technology remains fascinating, and it makes a ton > more sense than hard disks. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Fri Sep 2 16:06:40 2011 From: marksimms at verizon.net (Mark Simms) Date: Fri, 02 Sep 2011 17:06:40 -0400 Subject: [AccessD] Freelancing-one off In-Reply-To: References: Message-ID: <014001cc69b4$36369bc0$a2a3d340$@net> > First; You will never make many money building one-off products for a > client. Building and marketing a product multiple times is much more > cost effective. Yet this is what has been required of me in all of my "stinkers". I once created an add-in type of product (over 12 years ago) and it was somewhat of a failure until I had one huge, multilicense sale that brought in a huge amount of revenue. Suddenly, it was successful ! This is very similar to what had happened with Richard Branson when he started Virgin Records.... It was failing and then he signed Phil Collins and Boy George.....and in the end, he sold the company for 1 billion !!! From accessd at shaw.ca Fri Sep 2 16:07:42 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 14:07:42 -0700 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: <7AFD83CBFEE14C14A8B4D1B11D47136D@SusanHarkins> References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> <62F88463B3514BCFAC753FB624FDD05A@SusanHarkins> <7AFD83CBFEE14C14A8B4D1B11D47136D@SusanHarkins> Message-ID: <02560AC64F9741DEA3D09DE4D5C4C6D4@creativesystemdesigns.com> There is always your extended staff on the DBA forums. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, September 02, 2011 1:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites (OT Reply) I'm afraid I would get stumped too often to maintain my reputation. :) Susan H. > My goodness you are such a complete source of information. You should have > a > "Ask Susan" blog. ;-) > > Jim > > Since you brought that up... > > ially-bad-clients/1011?tag=content;blog-list-river> > > Nice to hear from you Shamil!! > > Susan H. > >> Therefore additionally to 'must have' constant mastering of software >> development skills and learning by doing the new technologies every >> freelancer should also master the art of selecting (and >> nurturing/cultivating) "good" customers and ignoring the "bad" ones... >> >> Thank you. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Fri Sep 2 16:08:06 2011 From: marksimms at verizon.net (Mark Simms) Date: Fri, 02 Sep 2011 17:08:06 -0400 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> Message-ID: <014101cc69b4$69a67c50$3cf374f0$@net> Wise beyond belief. > A critical skill in the freelancing world is learning how to fire > customers. > The moment they become a PITA is the time to fire them. This includes > outrageous demands (can't you just make it do this too, for free?) From ssharkins at gmail.com Fri Sep 2 16:12:14 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 17:12:14 -0400 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net><35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins><013c01cc6261$e4237320$ac6a5960$@net><78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> <013f01cc69b3$2dc3c950$894b5bf0$@net> Message-ID: <3F99AAEAA574487A8F3A75D63D35F01A@SusanHarkins> That's been forced by the feds. I just went through a long and rather intimidating "qualifying" process for one of my clients -- at the time I only had 2 and the majority of my time/income was with them. That was a problem for them because they don't want the feds denying my contractor status. Ugly business... I wish the feds would stay out of my business. :( I was just furious, but it was necessary. It use to be so easy. :( In the end, it wasn't a problem, but it was uncomfortable for me. They asked questions that were none of their business and I didn't answer. It all worked out, but geez Louise. :( Susan H. > Re: "Been on the same gig for over 2 years..." > > That's hugely unusual these days. Most large corps have "rules" in place > that disallow temp employment past 12 or 18 months. > From ssharkins at gmail.com Fri Sep 2 16:15:33 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 17:15:33 -0400 Subject: [AccessD] Freelancing References: <591283956F204426BE1F3A86038EF3C5@creativesystemdesigns.com> Message-ID: <86C16B2C7EE948FB942A29A5E0E78978@SusanHarkins> I'm more interested in SQLLite really and would love to learn it. Anyone using it to create mobile apps? It's the topic of the day right now. Susan H. > Well, it has a small footprint, limited features, runs on Windows and > Linux > and is totally written in Java (some computer science major's thesis > project). I have only had a very limited information on the product and > have > heard of no one playing with it; even my most geeky friends. > > Jim > > How do you guys feel about SmallSQL? > > Susan H. > > >>I definitely hear you on the NoSQL front, and wish I had enough money to >>buy >> a few more GBs of RAM to make my elementary tests more real-world, but I >> don't, so I can't. The technology remains fascinating, and it makes a ton >> more sense than hard disks. From ssharkins at gmail.com Fri Sep 2 16:17:01 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 17:17:01 -0400 Subject: [AccessD] freelancing job sites (OT Reply) References: <00d901cc6104$e48b4e40$ada1eac0$@net><4E52BED3.9080600@colbyconsulting.com><2BB94FDF62ED42B194C1CC6F12061C3D@nant><62F88463B3514BCFAC753FB624FDD05A@SusanHarkins><7AFD83CBFEE14C14A8B4D1B11D47136D@SusanHarkins> <02560AC64F9741DEA3D09DE4D5C4C6D4@creativesystemdesigns.com> Message-ID: Well, I do often ask for help, don't I? ;) The honest truth is this: I often have a hard time understanding exactly what the problem is. I'm seldom sure if it's because I have no experience with the topic or if they just don't know how to ask questions. I think it's a mixture of both. :) Susan H. > There is always your extended staff on the DBA forums. ;-) > > Jim > > > I'm afraid I would get stumped too often to maintain my reputation. :) > > Susan H. > > >> My goodness you are such a complete source of information. You should >> have > >> a >> "Ask Susan" blog. ;-) >> >> Jim >> >> Since you brought that up... >> >> > > ially-bad-clients/1011?tag=content;blog-list-river> >> >> Nice to hear from you Shamil!! >> >> Susan H. >> >>> Therefore additionally to 'must have' constant mastering of software >>> development skills and learning by doing the new technologies every >>> freelancer should also master the art of selecting (and >>> nurturing/cultivating) "good" customers and ignoring the "bad" ones... >>> >>> Thank you. >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/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 Fri Sep 2 16:15:13 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 14:15:13 -0700 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome In-Reply-To: <013f01cc69b3$2dc3c950$894b5bf0$@net> References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net> <35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> <013c01cc6261$e4237320$ac6a5960$@net> <78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> <013f01cc69b3$2dc3c950$894b5bf0$@net> Message-ID: My goodness that observation is even negative for me. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Friday, September 02, 2011 1:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] freelancing job sites-Sisyphus Syndrome Re: "Been on the same gig for over 2 years..." That's hugely unusual these days. Most large corps have "rules" in place that disallow temp employment past 12 or 18 months. You should be so grateful for this long, long gig....and I am sure any agency that has represented you has given you at least an "atta boy". In the past 3 years I've only been able to get "stinkers".....short term, high pressure, low pay deals. It does appear as if the Indian companies have garnished all of the "Sweet deals". Every 3 months I am re-interviewing by phone and in person, re-profiling my background, updating references, updating resumes, etc. I call this the Sisyphus syndrome: "Camus outlines the legend of Sisyphus who defied the gods and put Death in chains so that no human needed to die. When Death was eventually liberated and it came time for Sisyphus himself to die, he concocted a deceit which let him escape from the underworld. Finally captured, the gods decided on his punishment: for all eternity, he would have to push a rock up a mountain; on the top, the rock rolls down again and Sisyphus has to start over. Camus sees Sisyphus as the absurd hero who lives life to the fullest, hates death and is condemned to a meaningless task." "Camus presents Sisyphus's ceaseless and pointless toil as a metaphor for modern lives spent working at futile jobs in factories and offices. The workman of today works every day in his life at the same tasks, and this fate is no less absurd. But it is tragic only at the rare moments when it becomes conscious." -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 2 16:19:57 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 14:19:57 -0700 Subject: [AccessD] Freelancing-one off In-Reply-To: <014001cc69b4$36369bc0$a2a3d340$@net> References: <014001cc69b4$36369bc0$a2a3d340$@net> Message-ID: <374770BA6B3B4C938F3CDC903991CA04@creativesystemdesigns.com> Definitely. We can never tell what is going to be the next break through product. ;-) I had one excellent seller a few years ago...unfortunately, that market dried up. I have been working on another such product and who know?! Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Friday, September 02, 2011 2:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Freelancing-one off > First; You will never make many money building one-off products for a > client. Building and marketing a product multiple times is much more > cost effective. Yet this is what has been required of me in all of my "stinkers". I once created an add-in type of product (over 12 years ago) and it was somewhat of a failure until I had one huge, multilicense sale that brought in a huge amount of revenue. Suddenly, it was successful ! This is very similar to what had happened with Richard Branson when he started Virgin Records.... It was failing and then he signed Phil Collins and Boy George.....and in the end, he sold the company for 1 billion !!! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 2 16:26:15 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 14:26:15 -0700 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome In-Reply-To: <3F99AAEAA574487A8F3A75D63D35F01A@SusanHarkins> References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net> <35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> <013c01cc6261$e4237320$ac6a5960$@net> <78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> <013f01cc69b3$2dc3c950$894b5bf0$@net> <3F99AAEAA574487A8F3A75D63D35F01A@SusanHarkins> Message-ID: We have been having the same issues around here for years. The government wants to make sure that you are not working as a full-time employee for someone but only registering as a contractor. That method of circumnavigating taxes became common until the government stepped in. It is death and taxes...your death, their taxes. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, September 02, 2011 2:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites-Sisyphus Syndrome That's been forced by the feds. I just went through a long and rather intimidating "qualifying" process for one of my clients -- at the time I only had 2 and the majority of my time/income was with them. That was a problem for them because they don't want the feds denying my contractor status. Ugly business... I wish the feds would stay out of my business. :( I was just furious, but it was necessary. It use to be so easy. :( In the end, it wasn't a problem, but it was uncomfortable for me. They asked questions that were none of their business and I didn't answer. It all worked out, but geez Louise. :( Susan H. > Re: "Been on the same gig for over 2 years..." > > That's hugely unusual these days. Most large corps have "rules" in place > that disallow temp employment past 12 or 18 months. > -- 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 Sep 2 16:27:49 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 2 Sep 2011 17:27:49 -0400 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> <62F88463B3514BCFAC753FB624FDD05A@SusanHarkins> <7AFD83CBFEE14C14A8B4D1B11D47136D@SusanHarkins> <02560AC64F9741DEA3D09DE4D5C4C6D4@creativesystemdesigns.com> Message-ID: As Homer Simpson (I think) said, there are no stupid questions, just stupid users :) A. On Fri, Sep 2, 2011 at 5:17 PM, Susan Harkins wrote: > Well, I do often ask for help, don't I? ;) > > The honest truth is this: I often have a hard time understanding exactly > what the problem is. I'm seldom sure if it's because I have no experience > with the topic or if they just don't know how to ask questions. I think it's > a mixture of both. :) > > Susan H. > From vbacreations at gmail.com Fri Sep 2 16:33:05 2011 From: vbacreations at gmail.com (William Benson) Date: Fri, 2 Sep 2011 17:33:05 -0400 Subject: [AccessD] Freelancing-one off In-Reply-To: <014001cc69b4$36369bc0$a2a3d340$@net> References: <014001cc69b4$36369bc0$a2a3d340$@net> Message-ID: I have a product now that is one of those one hit wonders (excel adding). It's just difficult to decide whether to sell it to individuals or Microsoft. If the latter then I have to invest in protective patents which may not be possible. Well I can dream ... On Sep 2, 2011 5:07 PM, "Mark Simms" wrote: >> First; You will never make many money building one-off products for a >> client. Building and marketing a product multiple times is much more >> cost effective. > > Yet this is what has been required of me in all of my "stinkers". > > I once created an add-in type of product (over 12 years ago) and it was > somewhat of a failure > until I had one huge, multilicense sale that brought in a huge amount of > revenue. Suddenly, it was successful ! > This is very similar to what had happened with Richard Branson when he > started Virgin Records.... > It was failing and then he signed Phil Collins and Boy George.....and in the > end, he sold the company for > 1 billion !!! > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From ssharkins at gmail.com Fri Sep 2 16:36:59 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 17:36:59 -0400 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net><35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins><013c01cc6261$e4237320$ac6a5960$@net><78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins><013f01cc69b3$2dc3c950$894b5bf0$@net><3F99AAEAA574487A8F3A75D63D35F01A@SusanHarkins> Message-ID: <0682C918B7F843E5BDF101A3CCAF475A@SusanHarkins> > We have been having the same issues around here for years. The government > wants to make sure that you are not working as a full-time employee for > someone but only registering as a contractor. > > That method of circumnavigating taxes became common until the government > stepped in. It is death and taxes...your death, their taxes. =======Circumvent crap... I pay more taxes as a contractor than I would as a traditional employee. Susan H. From accessd at shaw.ca Fri Sep 2 16:51:25 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 14:51:25 -0700 Subject: [AccessD] Freelancing In-Reply-To: <86C16B2C7EE948FB942A29A5E0E78978@SusanHarkins> References: <591283956F204426BE1F3A86038EF3C5@creativesystemdesigns.com> <86C16B2C7EE948FB942A29A5E0E78978@SusanHarkins> Message-ID: <144225DA5D5B4F6BB5CEC2B89B416ABD@creativesystemdesigns.com> Here are two free and cheap applications for building great little mobile apps: phonegap (http://www.phonegap.com/start/) and sencha touch (http://www.sencha.com/products/touch/)...check them out...intuitive and a full GUI. Phonegap definitely supports HTML5 local storage and treats it in a database using sqlite. Check the following examples out: http://docs.phonegap.com/phonegap_storage_storage.md.html If you need to access external data use Ajax/rest for communication and push for inbound notifications. My brilliance, on the subject is due to the fact that my son-in-law is working on app phone projects as we speak...so I can take none of the credit. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, September 02, 2011 2:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Freelancing I'm more interested in SQLLite really and would love to learn it. Anyone using it to create mobile apps? It's the topic of the day right now. Susan H. > Well, it has a small footprint, limited features, runs on Windows and > Linux > and is totally written in Java (some computer science major's thesis > project). I have only had a very limited information on the product and > have > heard of no one playing with it; even my most geeky friends. > > Jim > > How do you guys feel about SmallSQL? > > Susan H. > > >>I definitely hear you on the NoSQL front, and wish I had enough money to >>buy >> a few more GBs of RAM to make my elementary tests more real-world, but I >> don't, so I can't. The technology remains fascinating, and it makes a ton >> more sense than hard disks. -- 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 Sep 2 16:55:19 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 03 Sep 2011 07:55:19 +1000 Subject: [AccessD] Freelancing In-Reply-To: <86C16B2C7EE948FB942A29A5E0E78978@SusanHarkins> References: , <86C16B2C7EE948FB942A29A5E0E78978@SusanHarkins> Message-ID: <4E6150C7.2713.131095EC@stuart.lexacorp.com.pg> I don't use it for mobile apps, but it is very easy to use with PowerBasic. A nice Firefox plugin for managing SQLite databases: http://code.google.com/p/sqlite-manager/ -- Stuart On 2 Sep 2011 at 17:15, Susan Harkins wrote: > I'm more interested in SQLLite really and would love to learn it. > Anyone using it to create mobile apps? It's the topic of the day right > now. > > Susan H. > > > > Well, it has a small footprint, limited features, runs on Windows > > and Linux and is totally written in Java (some computer science > > major's thesis project). I have only had a very limited information > > on the product and have heard of no one playing with it; even my > > most geeky friends. > > > > Jim > > > > How do you guys feel about SmallSQL? > > > > Susan H. > > > > > >>I definitely hear you on the NoSQL front, and wish I had enough > >>money to buy > >> a few more GBs of RAM to make my elementary tests more real-world, > >> but I don't, so I can't. The technology remains fascinating, and it > >> makes a ton more sense than hard disks. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Fri Sep 2 17:10:44 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 15:10:44 -0700 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome In-Reply-To: <0682C918B7F843E5BDF101A3CCAF475A@SusanHarkins> References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net> <35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> <013c01cc6261$e4237320$ac6a5960$@net> <78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> <013f01cc69b3$2dc3c950$894b5bf0$@net> <3F99AAEAA574487A8F3A75D63D35F01A@SusanHarkins> <0682C918B7F843E5BDF101A3CCAF475A@SusanHarkins> Message-ID: <20219FED288E4CBB9E227495FBFFE83E@creativesystemdesigns.com> The government officials in your region must be a bunch of thieves. As a contractor one of my main benefits is, I can write off virtually everything as a business expense right off the taxable income. Clothes (bunny slippers with pink eyes and ears), computer products, some lunches, car expenses, training courses, internet connectivity, cell and phone charges and even one fifth of the house maintenance and associated utilities. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, September 02, 2011 2:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites-Sisyphus Syndrome > We have been having the same issues around here for years. The government > wants to make sure that you are not working as a full-time employee for > someone but only registering as a contractor. > > That method of circumnavigating taxes became common until the government > stepped in. It is death and taxes...your death, their taxes. =======Circumvent crap... I pay more taxes as a contractor than I would as a traditional employee. 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 Fri Sep 2 17:21:37 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 18:21:37 -0400 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net><35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins><013c01cc6261$e4237320$ac6a5960$@net><78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins><013f01cc69b3$2dc3c950$894b5bf0$@net><3F99AAEAA574487A8F3A75D63D35F01A@SusanHarkins><0682C918B7F843E5BDF101A3CCAF475A@SusanHarkins> <20219FED288E4CBB9E227495FBFFE83E@creativesystemdesigns.com> Message-ID: <12858A421D24419D865827E3B2170999@SusanHarkins> I can deduct business-related costs. The house deduction is limited the amount of space I actually use... um... it's all in one room, but it's better than nothing. I do take the deduction, but in the end, none of it saves me very much, but I'll take what I can get. Susan H. > The government officials in your region must be a bunch of thieves. > > As a contractor one of my main benefits is, I can write off virtually > everything as a business expense right off the taxable income. Clothes > (bunny slippers with pink eyes and ears), computer products, some lunches, > car expenses, training courses, internet connectivity, cell and phone > charges and even one fifth of the house maintenance and associated > utilities. From shamil at smsconsulting.spb.ru Fri Sep 2 17:26:20 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 3 Sep 2011 02:26:20 +0400 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: <8D44FC3DF663451D800CEAEDA46ED092@creativesystemdesigns.com> References: <00d901cc6104$e48b4e40$ada1eac0$@net><4E52BED3.9080600@colbyconsulting.com><2BB94FDF62ED42B194C1CC6F12061C3D@nant> <8D44FC3DF663451D800CEAEDA46ED092@creativesystemdesigns.com> Message-ID: <8DB3E9E8C98F46ECB1BB2B6DD7D6EB98@nant> Hi Jim -- <<< Most new younger client's want instant gratification, absolute perfection and it all done very cheap he choices are; Good, Fast and cheap; pick any two >>> I suppose it will never work well that way for custom software development - "there is no free cheese..." And there will always be demand for custom software development not just customizing "off-the-shelf" solutions. Yes, HTML5/CSS3 + JavaScript are in my "mastering" list... Thank you. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: 3 ???????? 2011 ?. 0:43 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] freelancing job sites (OT Reply) Hi Shamil: With my old time clients any new technology has to be careful implemented...they do not like new especially if it looks too different. The slow refinement method works best. ;-) I have been quietly moving my clients to the web/SQL and as long as I have been able to emulate the old forms in design, layout and features they are very happy. Most new younger client's want instant gratification, absolute perfection and it all done very cheap. The choices are; Good, Fast and cheap; pick any two. I like to modularize applications so a project can be allowed to evolve over a length of time with lots of user assistance. A long-term 'insurance and incremental development' policy is the goal of course. I try to never 're-invent the wheel'. I use existing apps and technology as long as it makes my job easier and moves the project ahead. Some clients are 'early adopters', they really like any technology that is new and shiny, and they tend to be the ones willing and capable of paying for the learning curve. The only thing is that, I may end up supporting a technology that fades fast. MS Silverlight comes to mind as it has been superseded by the industry standards of HTML5 as even Adobe is abandoning their Flash product in favour of the standard: www.adobe.com/EdgePreview (HTML5/CSS3 web builder) I agree that it is good to know when to divorce a customer or never become acquainted. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, September 02, 2011 11:22 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] freelancing job sites (OT Reply) Hi Jim -- I guess your clients do have got developed strong business thanks to your good software development work for them - that seems to be the key point for a freelancing carrier success. Although there exist so many "prospect customers" who are trying to "save a penny" by burning out freelancers. Therefore additionally to 'must have' constant mastering of software development skills and learning by doing the new technologies every freelancer should also master the art of selecting (and nurturing/cultivating) "good" customers and ignoring the "bad" ones... Thank you. -- Shamil From accessd at shaw.ca Fri Sep 2 18:06:36 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 16:06:36 -0700 Subject: [AccessD] Freelancing In-Reply-To: <86C16B2C7EE948FB942A29A5E0E78978@SusanHarkins> References: <591283956F204426BE1F3A86038EF3C5@creativesystemdesigns.com> <86C16B2C7EE948FB942A29A5E0E78978@SusanHarkins> Message-ID: PS There is even a JQuery product coming out soon but the current beta version is not ready for prime time. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, September 02, 2011 2:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Freelancing I'm more interested in SQLLite really and would love to learn it. Anyone using it to create mobile apps? It's the topic of the day right now. Susan H. > Well, it has a small footprint, limited features, runs on Windows and > Linux > and is totally written in Java (some computer science major's thesis > project). I have only had a very limited information on the product and > have > heard of no one playing with it; even my most geeky friends. > > Jim > > How do you guys feel about SmallSQL? > > Susan H. > > >>I definitely hear you on the NoSQL front, and wish I had enough money to >>buy >> a few more GBs of RAM to make my elementary tests more real-world, but I >> don't, so I can't. The technology remains fascinating, and it makes a ton >> more sense than hard disks. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Sat Sep 3 09:16:40 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 03 Sep 2011 10:16:40 -0400 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome In-Reply-To: References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net> <35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> <013c01cc6261$e4237320$ac6a5960$@net> <78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> <013f01cc69b3$2dc3c950$894b5bf0$@net> <3F99AAEAA574487A8F3A75D63D35F01A@SusanHarkins> Message-ID: <000501cc6a44$1a0ad660$4e208320$@net> > We have been having the same issues around here for years. The > government > wants to make sure that you are not working as a full-time employee for > someone but only registering as a contractor. What this "rule" did was to give complete and utter control to the AGENCIES that one is now forced to go thru unless you can afford a marketing department to go "direct". Agencies continue to flourish....now that's a great business to be in. They've been successful despite the Indianization of the IT consulting business in the USA. Most of them have at least a 50% of their billable consultants as foreigners....I garnished this from my last Fortune 500 companies Activedirectory which listed all contractors and agencies. Lastly, many large companies treat their favored agency reps like "rock stars" as if THEY really make a big contribution to that company when in fact, it's the CONSULTANT who makes the contribution, but never sees the accolades. At my last gig, I never saw my agent....in fact he didn't spend any effort at all getting to know me or anything. For 6 months effort, his agency pulled in about $20,000.......barely having to raise a finger. From marksimms at verizon.net Sat Sep 3 09:23:14 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 03 Sep 2011 10:23:14 -0400 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome In-Reply-To: <0682C918B7F843E5BDF101A3CCAF475A@SusanHarkins> References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net><35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins><013c01cc6261$e4237320$ac6a5960$@net><78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins><013f01cc69b3$2dc3c950$894b5bf0$@net><3F99AAEAA574487A8F3A75D63D35F01A@SusanHarkins> <0682C918B7F843E5BDF101A3CCAF475A@SusanHarkins> Message-ID: <004a01cc6a45$053133a0$0f939ae0$@net> > =======Circumvent crap... I pay more taxes as a contractor than I would > as a > traditional employee. Exactly. Self employment tax IS terrible. This is a perfect example of the government taking action via legislation and not considering all of the consequences....and even worse, never making any amendments to that terrible law after-the-fact. This could partially explain our country's dire condition right now. From marksimms at verizon.net Sat Sep 3 09:26:11 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 03 Sep 2011 10:26:11 -0400 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome In-Reply-To: <20219FED288E4CBB9E227495FBFFE83E@creativesystemdesigns.com> References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net> <35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> <013c01cc6261$e4237320$ac6a5960$@net> <78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> <013f01cc69b3$2dc3c950$894b5bf0$@net> <3F99AAEAA574487A8F3A75D63D35F01A@SusanHarkins> <0682C918B7F843E5BDF101A3CCAF475A@SusanHarkins> <20219FED288E4CBB9E227495FBFFE83E@creativesystemdesigns.com> Message-ID: <004b01cc6a45$6e51e410$4af5ac30$@net> > As a contractor one of my main benefits is, I can write off virtually > everything as a business expense right off the taxable income. Clothes > (bunny slippers with pink eyes and ears), computer products, some > lunches, car expenses, training courses, internet connectivity, cell and phone > charges and even one fifth of the house maintenance and associated > utilities. Yes Jim, this does help.... but the real thieves are the AGENCIES.....whom I have to effectively write a check to for nearly 30% of the client billables. Strangely, there are no "discount" agencies....I wonder why ? From accessd at shaw.ca Sat Sep 3 12:01:12 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 3 Sep 2011 10:01:12 -0700 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome In-Reply-To: <004b01cc6a45$6e51e410$4af5ac30$@net> References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net> <35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> <013c01cc6261$e4237320$ac6a5960$@net> <78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> <013f01cc69b3$2dc3c950$894b5bf0$@net> <3F99AAEAA574487A8F3A75D63D35F01A@SusanHarkins> <0682C918B7F843E5BDF101A3CCAF475A@SusanHarkins> <20219FED288E4CBB9E227495FBFFE83E@creativesystemdesigns.com> <004b01cc6a45$6e51e410$4af5ac30$@net> Message-ID: <1A9165FE2CA147ACBF4D3C4D2BCA8BF8@creativesystemdesigns.com> Hi Mark: " Strangely, there are no "discount" agencies....I wonder why ? " Can you say m-o-n-o-p-o-l-y? A lot of the problem is because there is not a group that stands for the actual IT workers. There is no union, association, agency or guild that works for the people that actually do the work. All lawyers, doctors and architects belong to an association even most restaurant workers. Even Ronald Regan was the president of the actor's guild before the white house. If the IT worker is going to stubbornly hold on to their "individual" status there will always be many people willing to play one off against the other and in the end few if any IT person will make any money. The question is why should a person get a university degree only to be paid the same as the senior fry-guy at McDonalds? Enough said on this subject as we have an OT list for such philosophizing. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Saturday, September 03, 2011 7:26 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] freelancing job sites-Sisyphus Syndrome > As a contractor one of my main benefits is, I can write off virtually > everything as a business expense right off the taxable income. Clothes > (bunny slippers with pink eyes and ears), computer products, some > lunches, car expenses, training courses, internet connectivity, cell and phone > charges and even one fifth of the house maintenance and associated > utilities. Yes Jim, this does help.... but the real thieves are the AGENCIES.....whom I have to effectively write a check to for nearly 30% of the client billables. Strangely, there are no "discount" agencies....I wonder why ? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Sep 3 12:09:12 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 03 Sep 2011 13:09:12 -0400 Subject: [AccessD] Passing ParamArrays down the line Message-ID: <4E625F38.1060601@colbyconsulting.com> I use param arrays to allow me to pass in things like group ids that a user might belong to. The following fails: Function mPLSUserInGroup(ParamArray Grps() As Variant) As Boolean mPLSUserInGroup = cPLS.cCurrUser.pUserInGrp(Grps) End Function However the following works: Function mPLSUserInGroup(ParamArray Grps() As Variant) As Boolean Dim lGrps() As Variant lGrps = Grps mPLSUserInGroup = cPLS.cCurrUser.pUserInGrp(lGrps) End Function Thus in order to push a paramarray into another function we just need to dim an array, set it equal to the paramarray and then push that array on down. Pretty strange that a ParamArray cannot be directly passed along. -- John W. Colby www.ColbyConsulting.com From tinanfields at torchlake.com Sat Sep 3 17:36:53 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 03 Sep 2011 18:36:53 -0400 Subject: [AccessD] Combo retains last selection Message-ID: <4E62AC05.60505@torchlake.com> Hi, I have a form with an unbound combo-box, that I use for opening a form to the record associated with the selection I made in the combo-box. Okay, that works fine. But, when I come back to the form, the last selection still appears in the text box of the combo. I would like it to be blank as it was when I first opened the form. What do I need to do? Thanks, T -- Tina Norris Fields tinanfields at torchlake.com 231-322-2787 From stuart at lexacorp.com.pg Sat Sep 3 17:52:45 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 04 Sep 2011 08:52:45 +1000 Subject: [AccessD] Combo retains last selection In-Reply-To: <4E62AC05.60505@torchlake.com> References: <4E62AC05.60505@torchlake.com> Message-ID: <4E62AFBD.13378.186B8D02@stuart.lexacorp.com.pg> Set cboSelector = Null at an appropriate place (in the event that opens the form after getting the combo's value?" -- Stuart On 3 Sep 2011 at 18:36, Tina Norris Fields wrote: > Hi, > > I have a form with an unbound combo-box, that I use for opening a form > to the record associated with the selection I made in the combo-box. > Okay, that works fine. But, when I come back to the form, the last > selection still appears in the text box of the combo. I would like it > to be blank as it was when I first opened the form. What do I need to > do? > > Thanks, > T > > -- > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > -- > 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 Sep 3 17:54:07 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 3 Sep 2011 18:54:07 -0400 Subject: [AccessD] Combo retains last selection In-Reply-To: <4E62AC05.60505@torchlake.com> References: <4E62AC05.60505@torchlake.com> Message-ID: Set its value to null when you return to (activate) the form. On Sat, Sep 3, 2011 at 6:36 PM, Tina Norris Fields < tinanfields at torchlake.com> wrote: > Hi, > > I have a form with an unbound combo-box, that I use for opening a form to > the record associated with the selection I made in the combo-box. Okay, > that works fine. But, when I come back to the form, the last selection > still appears in the text box of the combo. I would like it to be blank as > it was when I first opened the form. What do I need to do? > > Thanks, > T > > -- > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > From tinanfields at torchlake.com Sat Sep 3 18:54:40 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 03 Sep 2011 19:54:40 -0400 Subject: [AccessD] Combo retains last selection In-Reply-To: References: <4E62AC05.60505@torchlake.com> Message-ID: <4E62BE40.60601@torchlake.com> Arthur, Stuart, Of course! Thank you for waking up my brain! T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 9/3/2011 6:54 PM, Arthur Fuller wrote: > Set its value to null when you return to (activate) the form. > > On Sat, Sep 3, 2011 at 6:36 PM, Tina Norris Fields< > tinanfields at torchlake.com> wrote: > >> Hi, >> >> I have a form with an unbound combo-box, that I use for opening a form to >> the record associated with the selection I made in the combo-box. Okay, >> that works fine. But, when I come back to the form, the last selection >> still appears in the text box of the combo. I would like it to be blank as >> it was when I first opened the form. What do I need to do? >> >> Thanks, >> T >> >> -- >> Tina Norris Fields >> tinanfields at torchlake.com >> 231-322-2787 >> >> -- >> 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 Sep 3 23:06:38 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sat, 3 Sep 2011 21:06:38 -0700 Subject: [AccessD] Passing ParamArrays down the line In-Reply-To: <4E625F38.1060601@colbyconsulting.com> References: <4E625F38.1060601@colbyconsulting.com> Message-ID: It's been that way as long as there have been paramarrays, John. It may be odd, but it's familiar odd. Charlotte Foust Charlotte On Sep 3, 2011 10:10 AM, "jwcolby" wrote: > I use param arrays to allow me to pass in things like group ids that a user might belong to. The > following fails: > > Function mPLSUserInGroup(ParamArray Grps() As Variant) As Boolean > mPLSUserInGroup = cPLS.cCurrUser.pUserInGrp(Grps) > End Function > > However the following works: > > Function mPLSUserInGroup(ParamArray Grps() As Variant) As Boolean > Dim lGrps() As Variant > lGrps = Grps > mPLSUserInGroup = cPLS.cCurrUser.pUserInGrp(lGrps) > End Function > > Thus in order to push a paramarray into another function we just need to dim an array, set it equal > to the paramarray and then push that array on down. > > Pretty strange that a ParamArray cannot be directly passed along. > > -- > John W. Colby > www.ColbyConsulting.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 Sep 4 08:51:25 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 04 Sep 2011 15:51:25 +0200 Subject: [AccessD] User interface Message-ID: Hi Arthur and Jim Really? I find GMail to represent an horror example of bad (or lacking) design - with a mess of colours, buttons and pop-ups everywhere, yellow and green bars, boring fonts. No style. Contrary to this, the redesigned live.com (hotmail etc.) is a good example on how very similar pages can appear much lighter and neater by use of a simple tricks like careful colouring and shading, stylish fonts, and just a few frames (with right-angled corners; round corners should be forbidden by law!). Currently Microsoft is way ahead of anyone else regarding design with Windows Phone 7 and now Windows 8 as the stellar examples of the Metro project. Even the ribbon has proved right for me as I'm now able to use PowerPoint which I previously stayed off. Now it is even fun! That tells it all. The interesting and encouraging part is, that this is the result of hard work by several teams of very skilled and brave persons, not just some fancy ideas. They are being bashed from many sides which - could one believe - want Windows 3.11 and Word 2.0 back. MS management deserves credit for having promoted design to have top priority. /gustav >>> fuller.artful at gmail.com 02-09-2011 21:28:01 >>> I think of Google as the UI par excellence. Lean and clean and decidedly not noisy. I admire their design sense immensely. A. From charlotte.foust at gmail.com Sun Sep 4 13:29:14 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sun, 4 Sep 2011 11:29:14 -0700 Subject: [AccessD] User interface In-Reply-To: References: Message-ID: I have to say that I agree about Google's interfaces. I always use the simplest one they offer, but I don't really like any of them. That said, I'm not thrilled with the live.com either, although it's far easier to retrieve other email accounts from it than from Google. Charlotte Foust On Sun, Sep 4, 2011 at 6:51 AM, Gustav Brock wrote: > Hi Arthur and Jim > > Really? I find GMail to represent an horror example of bad (or lacking) > design - with a mess of colours, buttons and pop-ups everywhere, yellow and > green bars, boring fonts. No style. > Contrary to this, the redesigned live.com > > (hotmail etc.) is a good example on how very similar pages can appear much > lighter and neater by use of a simple tricks like careful colouring and > shading, stylish fonts, and just a few frames (with right-angled corners; > round corners should be forbidden by law!). > > Currently Microsoft is way ahead of anyone else regarding design with > Windows Phone 7 and now Windows 8 as the stellar examples of the Metro > project. Even the ribbon has proved right for me as I'm now able to use > PowerPoint which I previously stayed off. Now it is even fun! That tells it > all. > > The interesting and encouraging part is, that this is the result of hard > work by several teams of very skilled and brave persons, not just some fancy > ideas. They are being bashed from many sides which - could one believe - > want Windows 3.11 and Word 2.0 back. MS management deserves credit for > having promoted design to have top priority. > > /gustav > > > >>> fuller.artful at gmail.com 02-09-2011 21:28:01 >>> > I think of Google as the UI par excellence. Lean and clean and decidedly > not noisy. I admire their design sense immensely. > > A. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From accessd at shaw.ca Sun Sep 4 13:47:03 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 4 Sep 2011 11:47:03 -0700 Subject: [AccessD] User interface In-Reply-To: References: Message-ID: <0E04E1A006F743CD9CB3F2880659B2F7@creativesystemdesigns.com> I like the Windows Small phone design. It is a lot cleaner that I would have suspected. I am also am very familiar with the Windows so I would hardly be a person to be predisposed to make an objective or negative opinion. OTOH, design and layout of an application is as important as the design and development of the code. The average user just does not care what is under-the-hood. Pretty is always most important...think no further than our obsession with models. Most of my work is with web sites and there are always very basic rules...like everything must read from top-left to bottom-right. (European standard) Most sites work with the two or three-column design...all have headers and footers. After that, there are many more abstract and fresh layouts. When surfing, everyone knows when they have landed on a corporate or a geek or a store or an application site. It is all about the layout. Companies like MS, Apple, Google and even Linux have spent as much money on their product UI designs as on the coding. In the Linux world there are two schools of design, the Gnome (apple like) and KDE (windows like) interfaces. In recent years a great deal of study has gone into just how people logically (intuitively) think. The Apple type layouts assume people think in specific logical patterns and clutter just confuses. Less is best. Single forms but more effort is placed on transitions, showing depth and graphics. Windows type layouts have everything of an application shown...if there are 50 choices there are 50 buttons. There are no transitions as a feature is either off or on, there are no rounded curves and there are no shadows. Everything runs from a single desktop. It is so personal as to which interface is more intuitional but the current trends are towards the "Apple/Gnome" like interfaces...of course that trend or fashion could change. For me, it is what ever the user wants. Right now Gnome UI is running two to one, in popularity and finally the new Windows phone interface is very lean, similar but different (more block layout) to the Gnome uncluttered interface. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, September 04, 2011 6:51 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] User interface Hi Arthur and Jim Really? I find GMail to represent an horror example of bad (or lacking) design - with a mess of colours, buttons and pop-ups everywhere, yellow and green bars, boring fonts. No style. Contrary to this, the redesigned live.com (hotmail etc.) is a good example on how very similar pages can appear much lighter and neater by use of a simple tricks like careful colouring and shading, stylish fonts, and just a few frames (with right-angled corners; round corners should be forbidden by law!). Currently Microsoft is way ahead of anyone else regarding design with Windows Phone 7 and now Windows 8 as the stellar examples of the Metro project. Even the ribbon has proved right for me as I'm now able to use PowerPoint which I previously stayed off. Now it is even fun! That tells it all. The interesting and encouraging part is, that this is the result of hard work by several teams of very skilled and brave persons, not just some fancy ideas. They are being bashed from many sides which - could one believe - want Windows 3.11 and Word 2.0 back. MS management deserves credit for having promoted design to have top priority. /gustav >>> fuller.artful at gmail.com 02-09-2011 21:28:01 >>> I think of Google as the UI par excellence. Lean and clean and decidedly not noisy. I admire their design sense immensely. 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 Sep 4 14:03:16 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sun, 4 Sep 2011 12:03:16 -0700 Subject: [AccessD] User interface In-Reply-To: <0E04E1A006F743CD9CB3F2880659B2F7@creativesystemdesigns.com> References: <0E04E1A006F743CD9CB3F2880659B2F7@creativesystemdesigns.com> Message-ID: I've always hated the apple UI. It was never intuitive to me, so I'm in the minority who prefers the alternative, whether on the PC or on a phone. As far as pretty being important, I think elegant is ahead of that, or maybe we're using different words for the same thing. I don't want to be awestruck by the beauty of the UI, merely at home with it and comfortable finding what I need without being offended by the look (think, some of the Windows themes!). The traditional Windows UI didn't focus on rounded corners, but they're everywhere in the last few versions of Visual Studio and Windows, and in fact, the messageboxes, various window edges, and so forth have had rounded corners for a long time. Charlotte Foust On Sun, Sep 4, 2011 at 11:47 AM, Jim Lawrence wrote: > I like the Windows Small phone design. It is a lot cleaner that I would > have > suspected. I am also am very familiar with the Windows so I would hardly be > a person to be predisposed to make an objective or negative opinion. > > OTOH, design and layout of an application is as important as the design and > development of the code. The average user just does not care what is > under-the-hood. Pretty is always most important...think no further than our > obsession with models. > > Most of my work is with web sites and there are always very basic > rules...like everything must read from top-left to bottom-right. (European > standard) Most sites work with the two or three-column design...all have > headers and footers. After that, there are many more abstract and fresh > layouts. > > When surfing, everyone knows when they have landed on a corporate or a geek > or a store or an application site. It is all about the layout. > > Companies like MS, Apple, Google and even Linux have spent as much money on > their product UI designs as on the coding. In the Linux world there are two > schools of design, the Gnome (apple like) and KDE (windows like) > interfaces. > In recent years a great deal of study has gone into just how people > logically (intuitively) think. > > The Apple type layouts assume people think in specific logical patterns and > clutter just confuses. Less is best. Single forms but more effort is placed > on transitions, showing depth and graphics. > > Windows type layouts have everything of an application shown...if there are > 50 choices there are 50 buttons. There are no transitions as a feature is > either off or on, there are no rounded curves and there are no shadows. > Everything runs from a single desktop. > > It is so personal as to which interface is more intuitional but the current > trends are towards the "Apple/Gnome" like interfaces...of course that trend > or fashion could change. > > For me, it is what ever the user wants. Right now Gnome UI is running two > to > one, in popularity and finally the new Windows phone interface is very > lean, > similar but different (more block layout) to the Gnome uncluttered > interface. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Sunday, September 04, 2011 6:51 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] User interface > > Hi Arthur and Jim > > Really? I find GMail to represent an horror example of bad (or lacking) > design - with a mess of colours, buttons and pop-ups everywhere, yellow and > green bars, boring fonts. No style. > Contrary to this, the redesigned live.com > > (hotmail etc.) is a good example > on how very similar pages can appear much lighter and neater by use of a > simple tricks like careful colouring and shading, stylish fonts, and just a > few frames (with right-angled corners; round corners should be forbidden by > law!). > > Currently Microsoft is way ahead of anyone else regarding design with > Windows Phone 7 and now Windows 8 as the stellar examples of the Metro > project. Even the ribbon has proved right for me as I'm now able to use > PowerPoint which I previously stayed off. Now it is even fun! That tells it > all. > > The interesting and encouraging part is, that this is the result of hard > work by several teams of very skilled and brave persons, not just some > fancy > ideas. They are being bashed from many sides which - could one believe - > want Windows 3.11 and Word 2.0 back. MS management deserves credit for > having promoted design to have top priority. > > /gustav > > > >>> fuller.artful at gmail.com 02-09-2011 21:28:01 >>> > I think of Google as the UI par excellence. Lean and clean and decidedly > not > noisy. I admire their design sense immensely. > > A. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From accessd at shaw.ca Sun Sep 4 15:44:53 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 4 Sep 2011 13:44:53 -0700 Subject: [AccessD] User interface In-Reply-To: References: <0E04E1A006F743CD9CB3F2880659B2F7@creativesystemdesigns.com> Message-ID: The new Windows has embraced "pretty"...semi-transparent rounded window thick borders are even a little over the top for me...but maybe my age is showing. The kids, those under 40, just love this stuff and that love is making Apple the riches company on the planet. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Sunday, September 04, 2011 12:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] User interface I've always hated the apple UI. It was never intuitive to me, so I'm in the minority who prefers the alternative, whether on the PC or on a phone. As far as pretty being important, I think elegant is ahead of that, or maybe we're using different words for the same thing. I don't want to be awestruck by the beauty of the UI, merely at home with it and comfortable finding what I need without being offended by the look (think, some of the Windows themes!). The traditional Windows UI didn't focus on rounded corners, but they're everywhere in the last few versions of Visual Studio and Windows, and in fact, the messageboxes, various window edges, and so forth have had rounded corners for a long time. Charlotte Foust On Sun, Sep 4, 2011 at 11:47 AM, Jim Lawrence wrote: > I like the Windows Small phone design. It is a lot cleaner that I would > have > suspected. I am also am very familiar with the Windows so I would hardly be > a person to be predisposed to make an objective or negative opinion. > > OTOH, design and layout of an application is as important as the design and > development of the code. The average user just does not care what is > under-the-hood. Pretty is always most important...think no further than our > obsession with models. > > Most of my work is with web sites and there are always very basic > rules...like everything must read from top-left to bottom-right. (European > standard) Most sites work with the two or three-column design...all have > headers and footers. After that, there are many more abstract and fresh > layouts. > > When surfing, everyone knows when they have landed on a corporate or a geek > or a store or an application site. It is all about the layout. > > Companies like MS, Apple, Google and even Linux have spent as much money on > their product UI designs as on the coding. In the Linux world there are two > schools of design, the Gnome (apple like) and KDE (windows like) > interfaces. > In recent years a great deal of study has gone into just how people > logically (intuitively) think. > > The Apple type layouts assume people think in specific logical patterns and > clutter just confuses. Less is best. Single forms but more effort is placed > on transitions, showing depth and graphics. > > Windows type layouts have everything of an application shown...if there are > 50 choices there are 50 buttons. There are no transitions as a feature is > either off or on, there are no rounded curves and there are no shadows. > Everything runs from a single desktop. > > It is so personal as to which interface is more intuitional but the current > trends are towards the "Apple/Gnome" like interfaces...of course that trend > or fashion could change. > > For me, it is what ever the user wants. Right now Gnome UI is running two > to > one, in popularity and finally the new Windows phone interface is very > lean, > similar but different (more block layout) to the Gnome uncluttered > interface. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Sunday, September 04, 2011 6:51 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] User interface > > Hi Arthur and Jim > > Really? I find GMail to represent an horror example of bad (or lacking) > design - with a mess of colours, buttons and pop-ups everywhere, yellow and > green bars, boring fonts. No style. > Contrary to this, the redesigned live.com > > (hotmail etc.) is a good example > on how very similar pages can appear much lighter and neater by use of a > simple tricks like careful colouring and shading, stylish fonts, and just a > few frames (with right-angled corners; round corners should be forbidden by > law!). > > Currently Microsoft is way ahead of anyone else regarding design with > Windows Phone 7 and now Windows 8 as the stellar examples of the Metro > project. Even the ribbon has proved right for me as I'm now able to use > PowerPoint which I previously stayed off. Now it is even fun! That tells it > all. > > The interesting and encouraging part is, that this is the result of hard > work by several teams of very skilled and brave persons, not just some > fancy > ideas. They are being bashed from many sides which - could one believe - > want Windows 3.11 and Word 2.0 back. MS management deserves credit for > having promoted design to have top priority. > > /gustav > > > >>> fuller.artful at gmail.com 02-09-2011 21:28:01 >>> > I think of Google as the UI par excellence. Lean and clean and decidedly > not > noisy. I admire their design sense immensely. > > A. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sun Sep 4 17:37:21 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 04 Sep 2011 18:37:21 -0400 Subject: [AccessD] Passing ParamArrays down the line In-Reply-To: References: <4E625F38.1060601@colbyconsulting.com> Message-ID: <4E63FDA1.5080805@colbyconsulting.com> It is familiar but I never knew how to pass them along. Suddenly it occurred to me... John W. Colby www.ColbyConsulting.com On 9/4/2011 12:06 AM, Charlotte Foust wrote: > It's been that way as long as there have been paramarrays, John. It may be > odd, but it's familiar odd. > > Charlotte Foust > > Charlotte > On Sep 3, 2011 10:10 AM, "jwcolby" wrote: >> I use param arrays to allow me to pass in things like group ids that a > user might belong to. The >> following fails: >> >> Function mPLSUserInGroup(ParamArray Grps() As Variant) As Boolean >> mPLSUserInGroup = cPLS.cCurrUser.pUserInGrp(Grps) >> End Function >> >> However the following works: >> >> Function mPLSUserInGroup(ParamArray Grps() As Variant) As Boolean >> Dim lGrps() As Variant >> lGrps = Grps >> mPLSUserInGroup = cPLS.cCurrUser.pUserInGrp(lGrps) >> End Function >> >> Thus in order to push a paramarray into another function we just need to > dim an array, set it equal >> to the paramarray and then push that array on down. >> >> Pretty strange that a ParamArray cannot be directly passed along. >> >> -- >> John W. Colby >> www.ColbyConsulting.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 Sep 4 18:39:46 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 5 Sep 2011 09:39:46 +1000 Subject: [AccessD] Freelancing-one off In-Reply-To: <20110903070956.Tx9u1h01u0xgD8Z01x9vx2@bne3-0001mz.server-mail.com> References: <20110903070956.Tx9u1h01u0xgD8Z01x9vx2@bne3-0001mz.server-mail.com> Message-ID: <000501cc6b5b$ee74f4e0$cb5edea0$@com.au> Tubular Bells was what really got Virgin Music out of the basement and on the map... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Saturday, 3 September 2011 7:07 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Freelancing-one off > First; You will never make many money building one-off products for a > client. Building and marketing a product multiple times is much more > cost effective. Yet this is what has been required of me in all of my "stinkers". I once created an add-in type of product (over 12 years ago) and it was somewhat of a failure until I had one huge, multilicense sale that brought in a huge amount of revenue. Suddenly, it was successful ! This is very similar to what had happened with Richard Branson when he started Virgin Records.... It was failing and then he signed Phil Collins and Boy George.....and in the end, he sold the company for 1 billion !!! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Mon Sep 5 09:27:40 2011 From: marksimms at verizon.net (Mark Simms) Date: Mon, 05 Sep 2011 10:27:40 -0400 Subject: [AccessD] Freelancing-one off In-Reply-To: <000501cc6b5b$ee74f4e0$cb5edea0$@com.au> References: <20110903070956.Tx9u1h01u0xgD8Z01x9vx2@bne3-0001mz.server-mail.com> <000501cc6b5b$ee74f4e0$cb5edea0$@com.au> Message-ID: <004901cc6bd7$f80b90f0$e822b2d0$@net> I think you are right.... http://en.wikipedia.org/wiki/Virgin_Records > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Darryl Collins > Sent: Sunday, September 04, 2011 7:40 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Freelancing-one off > > Tubular Bells was what really got Virgin Music out of the basement and > on > the map... > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Saturday, 3 September 2011 7:07 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Freelancing-one off > > > First; You will never make many money building one-off products for a > > client. Building and marketing a product multiple times is much more > > cost effective. > > Yet this is what has been required of me in all of my "stinkers". > > I once created an add-in type of product (over 12 years ago) and it was > somewhat of a failure > until I had one huge, multilicense sale that brought in a huge amount > of > revenue. Suddenly, it was successful ! > This is very similar to what had happened with Richard Branson when he > started Virgin Records.... > It was failing and then he signed Phil Collins and Boy George.....and > in the > end, he sold the company for > 1 billion !!! > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 5 10:56:55 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 05 Sep 2011 11:56:55 -0400 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: <003f01cc69a5$8bf4d360$a3de7a20$@comcast.net> References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> <003f01cc69a5$8bf4d360$a3de7a20$@comcast.net> Message-ID: <69E2F4283C704DEAAA23A2729C8FA20D@XPS> I take a slightly different attitude; you wasted my time and if that's what you want to do fine, you get a bill either way. When you bill by the hour, it's amazing how little time gets wasted. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, September 02, 2011 03:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] freelancing job sites (OT Reply) Since I charge user license fees (in place of Maintenance fees) I don't fire clients. I change the parameters of how I'll work with them, but I don't threaten to leave. For example, at one meeting a DBA 'took over' the meeting, hadn't read the material I had sent out to begin with, and wasted an hour of 6 people's time. Not to mention two hours driving for me. I sent my contacts an email stating that I would not work with or meet with that person again, and they never asked me to. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, September 02, 2011 1:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites (OT Reply) A critical skill in the freelancing world is learning how to fire customers. The moment they become a PITA is the time to fire them. This includes outrageous demands (can't you just make it do this too, for free?) to late payments to aggravating meetings. Call me a curmudgeon but I don't have enough time left on this planet to deal with such crap. The first moment I see a bad sign, I fire the client. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dbdoug at gmail.com Mon Sep 5 11:19:30 2011 From: dbdoug at gmail.com (Doug Steele) Date: Mon, 5 Sep 2011 09:19:30 -0700 Subject: [AccessD] Access date problem Message-ID: Hello All: I have some code which depends on the weekday number. On all computers except for one of my client's, it runs OK. The computers are a mixed bag of Access 2003, 2010 and Windows 7 and Vista. On the 'bad' computer, everything is off by one day. Debugging on this computer gives '7' as the result of Weekday("9/4/2011") - a Sunday. According to Access help, the default for Sunday is 1. I've checked the Windows 7 Regional and Language settings on this computer and 'Sunday' is set as the first day of the week. So Access and Windows are different. I can't find a setting in Access to change this, and nothing on the Web. But it must be some kind of configuration setup - does anyone have a suggestion? Thanks, Doug From jwcolby at colbyconsulting.com Mon Sep 5 12:30:01 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 05 Sep 2011 13:30:01 -0400 Subject: [AccessD] SQL Server compression Message-ID: <4E650719.7020301@colbyconsulting.com> The other day I populated the second socket of my (AMD) server with another 8 core chip. With cores to spare I decided to give compression a whirl. I am finding a lot of stuff out there now saying that it reduces the I/O a ton and that if you are not cpu limited then it makes the database faster because more stuff fits into memory. Basically the objective is to get as much of the stuff that is being actively used to stay resident in memory. One immediate benefit is that it cuts the total size of my databases on disk roughly in half. This is a good thing because I keep the major players on SSD which is expensive. Keeping them compressed means that I have more room on the SSD. When I got into this business in October 2004 I had servers with AMD single core 3.8 ghz and 4 gigs or RAM running x32 windows and sql server. I was trying to run count queries on 100 gb databases and while it worked, it was... not fast. I would run counts that took a half hour. Through knowledge acquired on these lists I rebuilt my database tables, learned indexing, and made the databases much more efficient. Seven years later I have 16 cores and 32 gigs RAM running X64 windows and SQL server. A year ago I bought 32 gigs of DDR3 1300 registered ECC ram for $1000. Today I ordered another 32 gigs for $400. It is incredible to me that using brute force and ignorance, I can now keep multiple largish databases entirely in memory. While I have no benchmarks recorded to compare yesteryear to today, I am doing things in minutes or even seconds that would have taken me a half hour or even hours seven years ago. These are exciting times. BTW I found something called GeekBench which I ran on my machine. It is the only thing I have found that is a reasonable cost ($13) to give me numbers to compare to others. My Geekbench number is ~13,500, and it pointed out to me that I am currently running the server with 1/2 of the memory "bandwidth" I could be getting (the biggest reason I am adding more). I had 4 DIMMS and a single processor. The processor has a 4 port memory controller. When I added the new processor I redistributed the memory so that each chip had 1/2 of the memory (2 dimms) but in doing so I "crippled" the memory controller. The price of memory is dropping like a rock so now seems like a good time to top up. It will be interesting to see what filling out the memory controller does to the numbers. I "retired" my previous server to be my VM server, and it just occurred to me that I can run Geekbench on that to get a comparison of my previous server against my current server. My previous server is an AMD quad core with 16 gigs of RAM and the geekbench on that is 7469. -- John W. Colby www.ColbyConsulting.com From charlotte.foust at gmail.com Mon Sep 5 13:35:00 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 5 Sep 2011 11:35:00 -0700 Subject: [AccessD] Access date problem In-Reply-To: References: Message-ID: It's set in vba using the Weekday function and specifying the optional firstdayofweek argument. If you just modify your code to include vbSunday, you should get the desired result. Have you tried that? Charlotte Foust On Mon, Sep 5, 2011 at 9:19 AM, Doug Steele wrote: > Hello All: > > I have some code which depends on the weekday number. On all computers > except for one of my client's, it runs OK. The computers are a mixed bag > of > Access 2003, 2010 and Windows 7 and Vista. > > On the 'bad' computer, everything is off by one day. Debugging on this > computer gives '7' as the result of Weekday("9/4/2011") - a Sunday. > According to Access help, the default for Sunday is 1. I've checked the > Windows 7 Regional and Language settings on this computer and 'Sunday' is > set as the first day of the week. So Access and Windows are different. > > I can't find a setting in Access to change this, and nothing on the Web. > But it must be some kind of configuration setup - does anyone have a > suggestion? > > Thanks, > Doug > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From stephen at bondsoftware.co.nz Mon Sep 5 14:54:46 2011 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Tue, 06 Sep 2011 07:54:46 +1200 Subject: [AccessD] SQL Server advice Message-ID: After mucking around on the fringes for too long I am ready to make a more committed leap into SQL Server. I can foresee a customer needing to upgrade their Access back end within the next six months to a year and want to get 'expertly' ahead . I have a fully licenced 2000 Standard edition (acquired with an Action Pack in the days when MS New Zealand charged a one-time fee for Action Packs) on a 10-year-old WinXP box (?GB) and I am comfortable with this at the 'play' level. On a year-old Windows 7 box with 4GB, my question concerns which tool to use, the above ... or SQL Server 2008 R2 Express? The downsides that I can see of Express 2008 would be (a) another learning curve (b) the nagging feeling that I remember something about these less-than-complete SQL Server implementations that is not good - like inability to do important development stuff that is available in the full-blown models. This, iirc, was true for one of MS's implementations, long ago. The upside is that I make the enormous leap into another century. But wait, there's got to be more (to both -ve and +ve). Any feedback gratefully received. Stephen Bond PS - I'm a bit like Arthur (same age and increasingly pursuing other interests), so we're not talking long-term large commitments here (financial or long learning curve). From jwcolby at colbyconsulting.com Mon Sep 5 15:30:58 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 05 Sep 2011 16:30:58 -0400 Subject: [AccessD] SQL Server advice In-Reply-To: References: Message-ID: <4E653182.9030905@colbyconsulting.com> Stephen, > I have a fully licensed 2000 Standard edition (acquired with an Action Pack in the days when MS New Zealand charged a one-time fee for Action Packs) on a 10-year-old WinXP box (?GB) Way under powered. It will run (barely) but you won't be happy. SQL Server of any kind is a somewhat major learning curve. You can just set up and go but then... The express version is quite powerful for what it is but it has major limitations such as a single core and a gig of ram. I have discovered that if you are hitting the limits of Access then you may already be at the limits of express. It will be fine for getting in the water so to speak but it is missing stuff. I thought I was going to use it for a client of mine but when I looked closely it just wasn't powerful enough. OTOH my client has nursed his access system way beyond reason and now has 25 users and around 4-5 gigs of data. We are now looking at a pretty expensive upgrade to full on SQL Server. Once you do a new server (hardware) with 25 seats on the OS and 25 seats on SQL Server you are looking at > $10K, and probably closer to $15K. That said, you then have power to take you through the next 5-10 years. > PS - I'm a bit like Arthur (same age and increasingly pursuing other interests), so we're not talking long-term large commitments here (financial or long learning curve). Uhh... this just means that you only have 20 years of work life left right? ;) John W. Colby www.ColbyConsulting.com On 9/5/2011 3:54 PM, Stephen Bond wrote: > After mucking around on the fringes for too long I am ready to make a more committed leap into SQL Server. I can foresee a customer needing to upgrade their Access back end within the next six months to a year and want to get 'expertly' ahead. > I have a fully licenced 2000 Standard edition (acquired with an Action Pack in the days when MS New Zealand charged a one-time fee for Action Packs) on a 10-year-old WinXP box (?GB) and I am comfortable with this at the 'play' level. > > On a year-old Windows 7 box with 4GB, my question concerns which tool to use, the above ... or SQL Server 2008 R2 Express? The downsides that I can see of Express 2008 would be (a) another learning curve (b) the nagging feeling that I remember something about these less-than-complete SQL Server implementations that is not good - like inability to do important development stuff that is available in the full-blown models. This, iirc, was true for one of MS's implementations, long ago. The upside is that I make the enormous leap into another century. But wait, there's got to be more (to both -ve and +ve). > > Any feedback gratefully received. > > Stephen Bond > > PS - I'm a bit like Arthur (same age and increasingly pursuing other interests), so we're not talking long-term large commitments here (financial or long learning curve). > From dbdoug at gmail.com Mon Sep 5 16:12:37 2011 From: dbdoug at gmail.com (Doug Steele) Date: Mon, 5 Sep 2011 14:12:37 -0700 Subject: [AccessD] Access date problem In-Reply-To: References: Message-ID: Hi Charlotte: Changing all instances of the Weekday function to include vbSunday as the second parameter did fix the problem. I'm still curious, however, why one computer in particular would have vbMonday set as the first day of the week contrary to the Access documentation. Doug On Mon, Sep 5, 2011 at 11:35 AM, Charlotte Foust wrote: > It's set in vba using the Weekday function and specifying the optional > firstdayofweek argument. If you just modify your code to include vbSunday, > you should get the desired result. Have you tried that? > > Charlotte Foust > > On Mon, Sep 5, 2011 at 9:19 AM, Doug Steele wrote: > > > Hello All: > > > > I have some code which depends on the weekday number. On all computers > > except for one of my client's, it runs OK. The computers are a mixed bag > > of > > Access 2003, 2010 and Windows 7 and Vista. > > > > On the 'bad' computer, everything is off by one day. Debugging on this > > computer gives '7' as the result of Weekday("9/4/2011") - a Sunday. > > According to Access help, the default for Sunday is 1. I've checked the > > Windows 7 Regional and Language settings on this computer and 'Sunday' is > > set as the first day of the week. So Access and Windows are different. > > > > I can't find a setting in Access to change this, and nothing on the Web. > > But it must be some kind of configuration setup - does anyone have a > > suggestion? > > > > 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 charlotte.foust at gmail.com Mon Sep 5 16:25:48 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 5 Sep 2011 14:25:48 -0700 Subject: [AccessD] Access date problem In-Reply-To: References: Message-ID: Haven't a clue, but you might want to check the time settings on that machine to see if the timestamps are off by 12 hours. Charlotte Foust On Mon, Sep 5, 2011 at 2:12 PM, Doug Steele wrote: > Hi Charlotte: > Changing all instances of the Weekday function to include vbSunday as the > second parameter did fix the problem. I'm still curious, however, why one > computer in particular would have vbMonday set as the first day of the week > contrary to the Access documentation. > > Doug > > > On Mon, Sep 5, 2011 at 11:35 AM, Charlotte Foust > wrote: > > > It's set in vba using the Weekday function and specifying the optional > > firstdayofweek argument. If you just modify your code to include > vbSunday, > > you should get the desired result. Have you tried that? > > > > Charlotte Foust > > > > On Mon, Sep 5, 2011 at 9:19 AM, Doug Steele wrote: > > > > > Hello All: > > > > > > I have some code which depends on the weekday number. On all computers > > > except for one of my client's, it runs OK. The computers are a mixed > bag > > > of > > > Access 2003, 2010 and Windows 7 and Vista. > > > > > > On the 'bad' computer, everything is off by one day. Debugging on this > > > computer gives '7' as the result of Weekday("9/4/2011") - a Sunday. > > > According to Access help, the default for Sunday is 1. I've checked > the > > > Windows 7 Regional and Language settings on this computer and 'Sunday' > is > > > set as the first day of the week. So Access and Windows are different. > > > > > > I can't find a setting in Access to change this, and nothing on the > Web. > > > But it must be some kind of configuration setup - does anyone have a > > > suggestion? > > > > > > 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 > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From ssharkins at gmail.com Mon Sep 5 18:00:57 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 5 Sep 2011 19:00:57 -0400 Subject: [AccessD] SQL Server advice References: Message-ID: <85D3AD6237B74727A3876A613CB2476F@SusanHarkins> On a year-old Windows 7 box with 4GB, my question concerns which tool to use, the above ... or SQL Server 2008 R2 Express? The downsides that I can see of Express 2008 would be (a) another learning curve (b) the nagging feeling that I remember something about these less-than-complete SQL Server implementations that is not good - like inability to do important development stuff that is available in the full-blown models. This, iirc, was true for one of MS's implementations, long ago. The upside is that I make the enormous leap into another century. But wait, there's got to be more (to both -ve and +ve). Any feedback gratefully received. =======I'd go with the more recent version of Express -- if you're already familiar with SQL Server, it won't be significant. Susan H. From stephen at bondsoftware.co.nz Tue Sep 6 00:42:03 2011 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Tue, 06 Sep 2011 17:42:03 +1200 Subject: [AccessD] SQL Server advice In-Reply-To: <63403747290942CF848F636F67DF3A1A@BondSoftware.local> References: <63403747290942CF848F636F67DF3A1A@BondSoftware.local> Message-ID: So, John, would the following scenario still fly? ... as far as getting out of the shallow end, I could install the 2000 version on my Win7 box. No cost so far. I have a good beginner's knowledge of 2000 from much 'playing around' and lots of documentation on hand including the MS training curriculum and a good SP textbook. Use this to do serious work converting the customer's queries to SPs, getting me up to speed for the day the several gigs of data (and growing each month - it is a milk production system feeding into genetic analysis) needs the customer to buy a bigger engine to process. At which point I get serious, upgrade myself to Express or bigger, and the customer to whatever he can afford .......... And I forget the WinXP box, 2000 is on it, but never used for anything in anger, just a little toybox for me to play like I knew what I was doing. Or am I totally wasting my time with 2000 on any computer? And I amend the PS ... long learning curve is OK (I've got 20 years right?), but big financial outlay not. Stephen Bond -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, 6 September 2011 8:46 a.m. To: Stephen Subject: Re: [AccessD] SQL Server advice Stephen, > I have a fully licensed 2000 Standard edition (acquired with an Action Pack in the days when MS New Zealand charged a one-time fee for Action Packs) on a 10-year-old WinXP box (?GB) Way under powered. It will run (barely) but you won't be happy. SQL Server of any kind is a somewhat major learning curve. You can just set up and go but then... The express version is quite powerful for what it is but it has major limitations such as a single core and a gig of ram. I have discovered that if you are hitting the limits of Access then you may already be at the limits of express. It will be fine for getting in the water so to speak but it is missing stuff. I thought I was going to use it for a client of mine but when I looked closely it just wasn't powerful enough. OTOH my client has nursed his access system way beyond reason and now has 25 users and around 4-5 gigs of data. We are now looking at a pretty expensive upgrade to full on SQL Server. Once you do a new server (hardware) with 25 seats on the OS and 25 seats on SQL Server you are looking at > $10K, and probably closer to $15K. That said, you then have power to take you through the next 5-10 years. > PS - I'm a bit like Arthur (same age and increasingly pursuing other interests), so we're not talking long-term large commitments here (financial or long learning curve). Uhh... this just means that you only have 20 years of work life left right? ;) John W. Colby www.ColbyConsulting.com On 9/5/2011 3:54 PM, Stephen Bond wrote: > After mucking around on the fringes for too long I am ready to make a more committed leap into SQL Server. I can foresee a customer needing to upgrade their Access back end within the next six months to a year and want to get 'expertly' ahead. > I have a fully licenced 2000 Standard edition (acquired with an Action Pack in the days when MS New Zealand charged a one-time fee for Action Packs) on a 10-year-old WinXP box (?GB) and I am comfortable with this at the 'play' level. > > On a year-old Windows 7 box with 4GB, my question concerns which tool to use, the above ... or SQL Server 2008 R2 Express? The downsides that I can see of Express 2008 would be (a) another learning curve (b) the nagging feeling that I remember something about these less-than-complete SQL Server implementations that is not good - like inability to do important development stuff that is available in the full-blown models. This, iirc, was true for one of MS's implementations, long ago. The upside is that I make the enormous leap into another century. But wait, there's got to be more (to both -ve and +ve). > > Any feedback gratefully received. > > Stephen Bond > > PS - I'm a bit like Arthur (same age and increasingly pursuing other interests), so we're not talking long-term large commitments here (financial or long learning curve). > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Sep 6 01:17:23 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 06 Sep 2011 08:17:23 +0200 Subject: [AccessD] Access date problem Message-ID: Hi Doug Weekday("9/4/2011") and Weekday(#9/4/2011#) is not the same thing so if that computer doesn't use the "reverse" US date format (mm/dd/yyyy) your expression will read as 2011-04-09. Always use data type date/time for dates in VB(A). /gustav >>> dbdoug at gmail.com 05-09-2011 18:19 >>> Hello All: I have some code which depends on the weekday number. On all computers except for one of my client's, it runs OK. The computers are a mixed bag of Access 2003, 2010 and Windows 7 and Vista. On the 'bad' computer, everything is off by one day. Debugging on this computer gives '7' as the result of Weekday("9/4/2011") - a Sunday. According to Access help, the default for Sunday is 1. I've checked the Windows 7 Regional and Language settings on this computer and 'Sunday' is set as the first day of the week. So Access and Windows are different. I can't find a setting in Access to change this, and nothing on the Web. But it must be some kind of configuration setup - does anyone have a suggestion? Thanks, Doug From fuller.artful at gmail.com Tue Sep 6 05:26:10 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 6 Sep 2011 06:26:10 -0400 Subject: [AccessD] SQL Server advice In-Reply-To: References: <63403747290942CF848F636F67DF3A1A@BondSoftware.local> Message-ID: You would be totally wasting your time with SQL 2000. Why begin your learning 2 versions behind? And within 6 months, you'd be 3 versions behind (Denali will be released by then). Since you have a six-month window, my advice would be to install SQL 2008 Express on a Windows 7 box with about 4 gigs of RAM. For diving into SQL Server, this would be a sufficient learning machine. As JC wrote, you won't get all the benefits of a serious machine, but it's not for you anyway, it's for the client to decide whether to pick up that cost. Everything you learn on Express is directly applicable to upscale versions. Granted, there are a few things you won't be able to learn (clustered dbs, for example), but if you make it through the major stuff (Management Studio, T-SQL, views, stored procedures, User Defined Functions, Reporting Services and Analysis Services), what remains to learn won't take long. Arthur From jwcolby at colbyconsulting.com Tue Sep 6 05:29:03 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 06 Sep 2011 06:29:03 -0400 Subject: [AccessD] SQL Server advice In-Reply-To: References: <63403747290942CF848F636F67DF3A1A@BondSoftware.local> Message-ID: <4E65F5EF.80202@colbyconsulting.com> That'll work. SQL Server 2003 is missing some tsql syntax that was added later but if you don't need that then you will not miss it. John W. Colby www.ColbyConsulting.com On 9/6/2011 1:42 AM, Stephen Bond wrote: > So, John, would the following scenario still fly? ... as far as getting out of the shallow end, I could install the 2000 version on my Win7 box. No cost so far. I have a good beginner's knowledge of 2000 from much 'playing around' and lots of documentation on hand including the MS training curriculum and a good SP textbook. Use this to do serious work converting the customer's queries to SPs, getting me up to speed for the day the several gigs of data (and growing each month - it is a milk production system feeding into genetic analysis) needs the customer to buy a bigger engine to process. At which point I get serious, upgrade myself to Express or bigger, and the customer to whatever he can afford .......... > > And I forget the WinXP box, 2000 is on it, but never used for anything in anger, just a little toybox for me to play like I knew what I was doing. > > Or am I totally wasting my time with 2000 on any computer? > > And I amend the PS ... long learning curve is OK (I've got 20 years right?), but big financial outlay not. > > Stephen Bond > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, 6 September 2011 8:46 a.m. > To: Stephen > Subject: Re: [AccessD] SQL Server advice > > Stephen, > > > I have a fully licensed 2000 Standard edition (acquired with an Action Pack in the days when MS > New Zealand charged a one-time fee for Action Packs) on a 10-year-old WinXP box (?GB) > > Way under powered. It will run (barely) but you won't be happy. > > SQL Server of any kind is a somewhat major learning curve. You can just set up and go but then... > > The express version is quite powerful for what it is but it has major limitations such as a single > core and a gig of ram. I have discovered that if you are hitting the limits of Access then you may > already be at the limits of express. It will be fine for getting in the water so to speak but it is > missing stuff. > > I thought I was going to use it for a client of mine but when I looked closely it just wasn't > powerful enough. OTOH my client has nursed his access system way beyond reason and now has 25 users > and around 4-5 gigs of data. We are now looking at a pretty expensive upgrade to full on SQL > Server. Once you do a new server (hardware) with 25 seats on the OS and 25 seats on SQL Server you > are looking at> $10K, and probably closer to $15K. That said, you then have power to take you > through the next 5-10 years. > > > PS - I'm a bit like Arthur (same age and increasingly pursuing other interests), so we're not > talking long-term large commitments here (financial or long learning curve). > > Uhh... this just means that you only have 20 years of work life left right? ;) > > John W. Colby > www.ColbyConsulting.com > > On 9/5/2011 3:54 PM, Stephen Bond wrote: >> After mucking around on the fringes for too long I am ready to make a more committed leap into SQL Server. I can foresee a customer needing to upgrade their Access back end within the next six months to a year and want to get 'expertly' ahead. >> I have a fully licenced 2000 Standard edition (acquired with an Action Pack in the days when MS New Zealand charged a one-time fee for Action Packs) on a 10-year-old WinXP box (?GB) and I am comfortable with this at the 'play' level. >> >> On a year-old Windows 7 box with 4GB, my question concerns which tool to use, the above ... or SQL Server 2008 R2 Express? The downsides that I can see of Express 2008 would be (a) another learning curve (b) the nagging feeling that I remember something about these less-than-complete SQL Server implementations that is not good - like inability to do important development stuff that is available in the full-blown models. This, iirc, was true for one of MS's implementations, long ago. The upside is that I make the enormous leap into another century. But wait, there's got to be more (to both -ve and +ve). >> >> Any feedback gratefully received. >> >> Stephen Bond >> >> PS - I'm a bit like Arthur (same age and increasingly pursuing other interests), so we're not talking long-term large commitments here (financial or long learning curve). >> From jwcolby at colbyconsulting.com Tue Sep 6 05:53:18 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 06 Sep 2011 06:53:18 -0400 Subject: [AccessD] SQL Server advice In-Reply-To: <4E65F5EF.80202@colbyconsulting.com> References: <63403747290942CF848F636F67DF3A1A@BondSoftware.local> <4E65F5EF.80202@colbyconsulting.com> Message-ID: <4E65FB9E.8020909@colbyconsulting.com> >Server 2003 is missing some tsql syntax I meant to say TSQL 2000 I do agree with Arthur however, you would be well served to just go with 2008. 2000 is very old. John W. Colby www.ColbyConsulting.com On 9/6/2011 6:29 AM, jwcolby wrote: > That'll work. SQL Server 2003 is missing some tsql syntax that was added later but if you don't need > that then you will not miss it. > > John W. Colby > www.ColbyConsulting.com > > On 9/6/2011 1:42 AM, Stephen Bond wrote: >> So, John, would the following scenario still fly? ... as far as getting out of the shallow end, I >> could install the 2000 version on my Win7 box. No cost so far. I have a good beginner's knowledge >> of 2000 from much 'playing around' and lots of documentation on hand including the MS training >> curriculum and a good SP textbook. Use this to do serious work converting the customer's queries >> to SPs, getting me up to speed for the day the several gigs of data (and growing each month - it >> is a milk production system feeding into genetic analysis) needs the customer to buy a bigger >> engine to process. At which point I get serious, upgrade myself to Express or bigger, and the >> customer to whatever he can afford .......... >> >> And I forget the WinXP box, 2000 is on it, but never used for anything in anger, just a little >> toybox for me to play like I knew what I was doing. >> >> Or am I totally wasting my time with 2000 on any computer? >> >> And I amend the PS ... long learning curve is OK (I've got 20 years right?), but big financial >> outlay not. >> >> Stephen Bond >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf >> Of jwcolby >> Sent: Tuesday, 6 September 2011 8:46 a.m. >> To: Stephen >> Subject: Re: [AccessD] SQL Server advice >> >> Stephen, >> >> > I have a fully licensed 2000 Standard edition (acquired with an Action Pack in the days when MS >> New Zealand charged a one-time fee for Action Packs) on a 10-year-old WinXP box (?GB) >> >> Way under powered. It will run (barely) but you won't be happy. >> >> SQL Server of any kind is a somewhat major learning curve. You can just set up and go but then... >> >> The express version is quite powerful for what it is but it has major limitations such as a single >> core and a gig of ram. I have discovered that if you are hitting the limits of Access then you may >> already be at the limits of express. It will be fine for getting in the water so to speak but it is >> missing stuff. >> >> I thought I was going to use it for a client of mine but when I looked closely it just wasn't >> powerful enough. OTOH my client has nursed his access system way beyond reason and now has 25 users >> and around 4-5 gigs of data. We are now looking at a pretty expensive upgrade to full on SQL >> Server. Once you do a new server (hardware) with 25 seats on the OS and 25 seats on SQL Server you >> are looking at> $10K, and probably closer to $15K. That said, you then have power to take you >> through the next 5-10 years. >> >> > PS - I'm a bit like Arthur (same age and increasingly pursuing other interests), so we're not >> talking long-term large commitments here (financial or long learning curve). >> >> Uhh... this just means that you only have 20 years of work life left right? ;) >> >> John W. Colby >> www.ColbyConsulting.com >> >> On 9/5/2011 3:54 PM, Stephen Bond wrote: >>> After mucking around on the fringes for too long I am ready to make a more committed leap into >>> SQL Server. I can foresee a customer needing to upgrade their Access back end within the next six >>> months to a year and want to get 'expertly' ahead. >>> I have a fully licenced 2000 Standard edition (acquired with an Action Pack in the days when MS >>> New Zealand charged a one-time fee for Action Packs) on a 10-year-old WinXP box (?GB) and I am >>> comfortable with this at the 'play' level. >>> >>> On a year-old Windows 7 box with 4GB, my question concerns which tool to use, the above ... or >>> SQL Server 2008 R2 Express? The downsides that I can see of Express 2008 would be (a) another >>> learning curve (b) the nagging feeling that I remember something about these less-than-complete >>> SQL Server implementations that is not good - like inability to do important development stuff >>> that is available in the full-blown models. This, iirc, was true for one of MS's implementations, >>> long ago. The upside is that I make the enormous leap into another century. But wait, there's got >>> to be more (to both -ve and +ve). >>> >>> Any feedback gratefully received. >>> >>> Stephen Bond >>> >>> PS - I'm a bit like Arthur (same age and increasingly pursuing other interests), so we're not >>> talking long-term large commitments here (financial or long learning curve). >>> From jwcolby at colbyconsulting.com Tue Sep 6 12:12:44 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 06 Sep 2011 13:12:44 -0400 Subject: [AccessD] Google and you Message-ID: <4E66548C.6090400@colbyconsulting.com> http://www.linkedin.com/news?actionBar=&articleID=751340935&ids=0Rd30Qd3oNdjsIcPASdzgRcjkTb3kPej0QcP4RdOMMe3oPe34PdjsIdPwTd3sVczkT&aag=true&freq=weekly&trk=eml-tod-b-ttle-4&ut=3APSkFFU2qw4U1 -- John W. Colby www.ColbyConsulting.com From marksimms at verizon.net Tue Sep 6 12:32:29 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 06 Sep 2011 13:32:29 -0400 Subject: [AccessD] SQL Server advice In-Reply-To: <4E65FB9E.8020909@colbyconsulting.com> References: <63403747290942CF848F636F67DF3A1A@BondSoftware.local> <4E65F5EF.80202@colbyconsulting.com> <4E65FB9E.8020909@colbyconsulting.com> Message-ID: <000001cc6cba$f4881e60$dd985b20$@net> > > I do agree with Arthur however, you would be well served to just go > with 2008. 2000 is very old. > That being said....I was at one shop....and they were paranoid to upgrade even to 2005 because of potential performance degradation. IOW: that ancient release was kind of lean-and-mean for the hardware they were running. With hardware so cheap today...no excuse not to "move up". From jwcolby at colbyconsulting.com Tue Sep 6 13:23:25 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 06 Sep 2011 14:23:25 -0400 Subject: [AccessD] SQL Server advice In-Reply-To: <000001cc6cba$f4881e60$dd985b20$@net> References: <63403747290942CF848F636F67DF3A1A@BondSoftware.local> <4E65F5EF.80202@colbyconsulting.com> <4E65FB9E.8020909@colbyconsulting.com> <000001cc6cba$f4881e60$dd985b20$@net> Message-ID: <4E66651D.1010503@colbyconsulting.com> LOL, that ancient release is lean and mean. It was designed to run on the platform of the day which was 32 bit, slow processors and 4 gigs of ram max. An interesting history lesson. http://blogs.msdn.com/b/euanga/archive/2006/01/19/514479.aspx We now have 64 bit processors, OSes and SQL Server. > With hardware so cheap today...no excuse not to "move up". Which I am in complete agreement. I am a 1.36 man show, and yet I have a rockin system. I am a developer and as such have access to the action pack which in this specific area is an enormous plus. Still, I do mostly have to buy my own hardware. My strategy was simply to build something and use it, then upgrade and keep the old parts, using them on other systems. At this point I have a dual socket motherboard, dual processors (16 total cores) and 64 gigs of ram. Just that part costs (today) about $1800. While that isn't chump change, plenty of rich kids spend that on their super duper Intel processor and a video card for gaming. My server supports SQL Server in a style that helps the work get done quickly. My client has 25 people in the database, they pay probably 40K or more a *month* in salary for those users. From my perspective it is insane to quibble about a one time cost of $20K (good for at least 5 years) to buy a power server to run the data side of that business. 4K a year to support 25 employees costing you a half million a year in salary is a pretty darned good deal. I actually spend about 4K a year just to support my 1.36 person company, and I consider that a good deal. John W. Colby www.ColbyConsulting.com On 9/6/2011 1:32 PM, Mark Simms wrote: >> >> I do agree with Arthur however, you would be well served to just go >> with 2008. 2000 is very old. >> > That being said....I was at one shop....and they were paranoid to upgrade > even to 2005 because of potential performance degradation. > IOW: that ancient release was kind of lean-and-mean for the hardware they > were running. > With hardware so cheap today...no excuse not to "move up". > > > From john at winhaven.net Tue Sep 6 13:25:43 2011 From: john at winhaven.net (John Bartow) Date: Tue, 6 Sep 2011 13:25:43 -0500 Subject: [AccessD] Google and you In-Reply-To: <4E66548C.6090400@colbyconsulting.com> References: <4E66548C.6090400@colbyconsulting.com> Message-ID: <030a01cc6cc2$63cb39e0$2b61ada0$@winhaven.net> Welcome to the "cloud". -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 06, 2011 12:13 PM To: Access Developers discussion and problem solving Subject: [AccessD] Google and you http://www.linkedin.com/news?actionBar=&articleID=751340935&ids=0Rd30Qd3oNdj sIcPASdzgRcjkTb3kPej0QcP4RdOMMe3oPe34PdjsIdPwTd3sVczkT&aag=true&freq=weekly& trk=eml-tod-b-ttle-4&ut=3APSkFFU2qw4U1 -- John W. Colby www.ColbyConsulting.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 Sep 6 13:58:24 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 6 Sep 2011 11:58:24 -0700 Subject: [AccessD] SQL Server advice In-Reply-To: References: Message-ID: <7DA414D02EB544E08C55B1A904F85CEC@creativesystemdesigns.com> Hi Steve: To really get up to speed fast sell a project or make one of your own. Your current computers are limited, the MS SQL is out of date and you need a new server2008. Cost; are you can buy some MS SQL/Server 2008 as well as hardware off EBay. A friend bought a older noisy server off EBay, 8GB RAM, built in RAID with 7 350GB HD, for about $350.00...It has been running fine for a year so it was a good deal. If you want the latest MS software, it will cost about $1200 minimum and $2000 for the premium TechNet addition. The minimum version has all the Servers, Office products and MS SQL versions. The premium edition also includes all the development packages. (VS/VS Lightswitch etc.) If the budget is limited, there are free express versions of MS SQL and VS. They do not have all the bell-and-whistles but their features are impressive. If you simply must have the full versions, you can download and use them for 60 to 90 day free-trial. There also is some other pricing specifically for developers but I am not familiar with process or the programs and some on the DBA will know the details. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stephen Bond Sent: Monday, September 05, 2011 12:55 PM To: Access Developers discussion and problem solving Subject: [AccessD] SQL Server advice After mucking around on the fringes for too long I am ready to make a more committed leap into SQL Server. I can foresee a customer needing to upgrade their Access back end within the next six months to a year and want to get 'expertly' ahead . I have a fully licenced 2000 Standard edition (acquired with an Action Pack in the days when MS New Zealand charged a one-time fee for Action Packs) on a 10-year-old WinXP box (?GB) and I am comfortable with this at the 'play' level. On a year-old Windows 7 box with 4GB, my question concerns which tool to use, the above ... or SQL Server 2008 R2 Express? The downsides that I can see of Express 2008 would be (a) another learning curve (b) the nagging feeling that I remember something about these less-than-complete SQL Server implementations that is not good - like inability to do important development stuff that is available in the full-blown models. This, iirc, was true for one of MS's implementations, long ago. The upside is that I make the enormous leap into another century. But wait, there's got to be more (to both -ve and +ve). Any feedback gratefully received. Stephen Bond PS - I'm a bit like Arthur (same age and increasingly pursuing other interests), so we're not talking long-term large commitments here (financial or long learning curve). -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Tue Sep 6 14:10:38 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 6 Sep 2011 12:10:38 -0700 Subject: [AccessD] Google and you In-Reply-To: <4E66548C.6090400@colbyconsulting.com> References: <4E66548C.6090400@colbyconsulting.com> Message-ID: Now we are the product. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 06, 2011 10:13 AM To: Access Developers discussion and problem solving Subject: [AccessD] Google and you http://www.linkedin.com/news?actionBar=&articleID=751340935&ids=0Rd30Qd3oNdj sIcPASdzgRcjkTb3kPej0QcP4RdOMMe3oPe34PdjsIdPwTd3sVczkT&aag=true&freq=weekly& trk=eml-tod-b-ttle-4&ut=3APSkFFU2qw4U1 -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From EdTesiny at oasas.ny.gov Tue Sep 6 14:16:18 2011 From: EdTesiny at oasas.ny.gov (Tesiny, Ed) Date: Tue, 6 Sep 2011 15:16:18 -0400 Subject: [AccessD] IIF Function Message-ID: Hi All, I have the following IIF statement in a query: LureenRev1: IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date]<3 And [Lureen_Reviewed]<>2),"OK","Followup") RssApplicationApproved 06/17/2011 (Date) Lureen_Reviewed_Date 06/16/2011 (Date) Lureen_Reviewed 2 (long integer) The statement returns OK Could someone tell me what's wrong with it, I can't see what's wrong. TIA, Ed Edward P. Tesiny Director of Evaluation and Outcomes Management New York State OASAS 1450 Western Avenue Albany, NY 12203 Phone: (518) 485-2322 Fax: (518) 485-5228 EdTesiny at oasas.ny.gov IMPORTANT: This E-mail may contain confidential material for the sole use of the intended recipient. The use, distribution, transmittal or re-transmittal by an unintended recipient of any communication is prohibited without our express approval in writing or by e-mail. Any use, distribution, transmittal or re-transmittal by persons who are not intended recipients of this e-mail may be a violation of law and is strictly prohibited. If you are not the intended recipient please contact the sender and delete all copies. E-mail transmission cannot be guaranteed to be secure or error-free. The sender therefore does not accept liability for any errors or omissions in the contents of this transmission. All e-mails sent to or from NYS OASAS are to be used for our business purposes only. E-mails sent from or to NYS OASAS are subject to review by the Agency. From paul.hartland at googlemail.com Tue Sep 6 14:22:29 2011 From: paul.hartland at googlemail.com (Paul Hartland) Date: Tue, 6 Sep 2011 20:22:29 +0100 Subject: [AccessD] IIF Function In-Reply-To: References: Message-ID: Ed, Not sure if you have made a typo but shouldnt your code; LureenRev1: IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date]<3 And [Lureen_Reviewed]<>2),"OK","Followup") Be LureenRev1: IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date])<3 And [Lureen_Reviewed]<>2,"OK","Followup") i.e. the bracket after the <>2 in your code moved to after the [Lureen_Reviewed_Date] in the datediff code ? Paul On 6 September 2011 20:16, Tesiny, Ed wrote: > Hi All, > > I have the following IIF statement in a query: > > > > LureenRev1: > IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date]<3 And > [Lureen_Reviewed]<>2),"OK","Followup") > > > > RssApplicationApproved 06/17/2011 (Date) > > Lureen_Reviewed_Date 06/16/2011 (Date) > > Lureen_Reviewed 2 (long integer) > > > > The statement returns OK > > > > Could someone tell me what's wrong with it, I can't see what's wrong. > > TIA, > > Ed > > > > Edward P. Tesiny > > Director of Evaluation and Outcomes Management > > New York State OASAS > > 1450 Western Avenue > > Albany, NY 12203 > > Phone: (518) 485-2322 > > Fax: (518) 485-5228 > > EdTesiny at oasas.ny.gov > > > > IMPORTANT: This E-mail may contain confidential material for the sole > use of the intended recipient. The use, distribution, transmittal or > re-transmittal by an unintended recipient of any communication is > prohibited without our express approval in writing or by e-mail. Any > use, distribution, transmittal or re-transmittal by persons who are not > intended recipients of this e-mail may be a violation of law and is > strictly prohibited. If you are not the intended recipient please > contact the sender and delete all copies. E-mail transmission cannot be > guaranteed to be secure or error-free. The sender therefore does not > accept liability for any errors or omissions in the contents of this > transmission. All e-mails sent to or from NYS OASAS are to be used for > our business purposes only. E-mails sent from or to NYS OASAS are > subject to review by the Agency. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Paul Hartland paul.hartland at googlemail.com From ab-mi at post3.tele.dk Tue Sep 6 14:25:21 2011 From: ab-mi at post3.tele.dk (Asger Blond) Date: Tue, 6 Sep 2011 21:25:21 +0200 Subject: [AccessD] IIF Function In-Reply-To: References: Message-ID: IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date])<3 And [Lureen_Reviewed]<>2,"OK","Followup") Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Tesiny, Ed Sendt: 6. september 2011 21:16 Til: Off Topic; Access Developers discussion and problem solving Emne: [AccessD] IIF Function Hi All, I have the following IIF statement in a query: LureenRev1: IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date]<3 And [Lureen_Reviewed]<>2),"OK","Followup") RssApplicationApproved 06/17/2011 (Date) Lureen_Reviewed_Date 06/16/2011 (Date) Lureen_Reviewed 2 (long integer) The statement returns OK Could someone tell me what's wrong with it, I can't see what's wrong. TIA, Ed Edward P. Tesiny Director of Evaluation and Outcomes Management New York State OASAS 1450 Western Avenue Albany, NY 12203 Phone: (518) 485-2322 Fax: (518) 485-5228 EdTesiny at oasas.ny.gov IMPORTANT: This E-mail may contain confidential material for the sole use of the intended recipient. The use, distribution, transmittal or re-transmittal by an unintended recipient of any communication is prohibited without our express approval in writing or by e-mail. Any use, distribution, transmittal or re-transmittal by persons who are not intended recipients of this e-mail may be a violation of law and is strictly prohibited. If you are not the intended recipient please contact the sender and delete all copies. E-mail transmission cannot be guaranteed to be secure or error-free. The sender therefore does not accept liability for any errors or omissions in the contents of this transmission. All e-mails sent to or from NYS OASAS are to be used for our business purposes only. E-mails sent from or to NYS OASAS are subject to review by the Agency. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jm.hwsn at gmail.com Tue Sep 6 14:30:10 2011 From: jm.hwsn at gmail.com (jm.hwsn) Date: Tue, 6 Sep 2011 14:30:10 -0500 Subject: [AccessD] IIF Function In-Reply-To: References: Message-ID: <4e6674c4.100d960a.6705.0b58@mx.google.com> I believe your statement needs a closing parens after [Lureen_Reviewed_Date] just before the left caret ( < ). So the formula should look like: IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date]) <3 And [Lureen_Reviewed]<>2),"OK","Followup") HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed Sent: Tuesday, September 06, 2011 2:16 PM To: Off Topic; Access Developers discussion and problem solving Subject: [AccessD] IIF Function Hi All, I have the following IIF statement in a query: LureenRev1: IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date]<3 And [Lureen_Reviewed]<>2),"OK","Followup") RssApplicationApproved 06/17/2011 (Date) Lureen_Reviewed_Date 06/16/2011 (Date) Lureen_Reviewed 2 (long integer) The statement returns OK Could someone tell me what's wrong with it, I can't see what's wrong. TIA, Ed Edward P. Tesiny Director of Evaluation and Outcomes Management New York State OASAS 1450 Western Avenue Albany, NY 12203 Phone: (518) 485-2322 Fax: (518) 485-5228 EdTesiny at oasas.ny.gov IMPORTANT: This E-mail may contain confidential material for the sole use of the intended recipient. The use, distribution, transmittal or re-transmittal by an unintended recipient of any communication is prohibited without our express approval in writing or by e-mail. Any use, distribution, transmittal or re-transmittal by persons who are not intended recipients of this e-mail may be a violation of law and is strictly prohibited. If you are not the intended recipient please contact the sender and delete all copies. E-mail transmission cannot be guaranteed to be secure or error-free. The sender therefore does not accept liability for any errors or omissions in the contents of this transmission. All e-mails sent to or from NYS OASAS are to be used for our business purposes only. E-mails sent from or to NYS OASAS are subject to review by the Agency. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From EdTesiny at oasas.ny.gov Tue Sep 6 14:31:17 2011 From: EdTesiny at oasas.ny.gov (Tesiny, Ed) Date: Tue, 6 Sep 2011 15:31:17 -0400 Subject: [AccessD] IIF Function In-Reply-To: References: Message-ID: Paul/Asger, Of course you're right...I hate it when you make a mistake with a ")" Thank you! Ed Tesiny EdTesiny at oasas.ny.gov -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond Sent: Tuesday, September 06, 2011 3:25 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] IIF Function IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date])<3 And [Lureen_Reviewed]<>2,"OK","Followup") Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Tesiny, Ed Sendt: 6. september 2011 21:16 Til: Off Topic; Access Developers discussion and problem solving Emne: [AccessD] IIF Function Hi All, I have the following IIF statement in a query: LureenRev1: IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date]<3 And [Lureen_Reviewed]<>2),"OK","Followup") RssApplicationApproved 06/17/2011 (Date) Lureen_Reviewed_Date 06/16/2011 (Date) Lureen_Reviewed 2 (long integer) The statement returns OK Could someone tell me what's wrong with it, I can't see what's wrong. TIA, Ed Edward P. Tesiny Director of Evaluation and Outcomes Management New York State OASAS 1450 Western Avenue Albany, NY 12203 Phone: (518) 485-2322 Fax: (518) 485-5228 EdTesiny at oasas.ny.gov IMPORTANT: This E-mail may contain confidential material for the sole use of the intended recipient. The use, distribution, transmittal or re-transmittal by an unintended recipient of any communication is prohibited without our express approval in writing or by e-mail. Any use, distribution, transmittal or re-transmittal by persons who are not intended recipients of this e-mail may be a violation of law and is strictly prohibited. If you are not the intended recipient please contact the sender and delete all copies. E-mail transmission cannot be guaranteed to be secure or error-free. The sender therefore does not accept liability for any errors or omissions in the contents of this transmission. All e-mails sent to or from NYS OASAS are to be used for our business purposes only. E-mails sent from or to NYS OASAS are subject to review by the Agency. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 stephen at bondsoftware.co.nz Tue Sep 6 15:07:28 2011 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Wed, 07 Sep 2011 08:07:28 +1200 Subject: [AccessD] SQL Server advice In-Reply-To: References: Message-ID: The list does it again. Not for the first time. John, Arthur, Susan, Mark, Jim - many thanks. SQL Express 2008 it is then for the Win7 box, and I'll leave the SQL2000 on the XP box as a gracefully ageing toy (my very own Model T) Stephen Bond From vbacreations at gmail.com Tue Sep 6 16:44:48 2011 From: vbacreations at gmail.com (William Benson) Date: Tue, 6 Sep 2011 17:44:48 -0400 Subject: [AccessD] IIF Function In-Reply-To: References: Message-ID: But they didn't ... you did! Ha ha ha I crack myself up. No offense, really, I am just in a wacky mood. On Tue, Sep 6, 2011 at 3:31 PM, Tesiny, Ed wrote: > Paul/Asger, > Of course you're right...I hate it when you make a mistake with a ")" > Thank you! > > Ed Tesiny > EdTesiny at oasas.ny.gov > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond > Sent: Tuesday, September 06, 2011 3:25 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] IIF Function > > > IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date])<3 And > [Lureen_Reviewed]<>2,"OK","Followup") > > Asger > > -----Oprindelig meddelelse----- > Fra: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] P? vegne af Tesiny, Ed > Sendt: 6. september 2011 21:16 > Til: Off Topic; Access Developers discussion and problem solving > Emne: [AccessD] IIF Function > > Hi All, > > I have the following IIF statement in a query: > > > > LureenRev1: > IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date]<3 And > [Lureen_Reviewed]<>2),"OK","Followup") > > > > RssApplicationApproved 06/17/2011 (Date) > > Lureen_Reviewed_Date 06/16/2011 (Date) > > Lureen_Reviewed 2 (long integer) > > > > The statement returns OK > > > > Could someone tell me what's wrong with it, I can't see what's wrong. > > TIA, > > Ed > > > > Edward P. Tesiny > > Director of Evaluation and Outcomes Management > > New York State OASAS > > 1450 Western Avenue > > Albany, NY 12203 > > Phone: (518) 485-2322 > > Fax: (518) 485-5228 > > EdTesiny at oasas.ny.gov > > > > IMPORTANT: This E-mail may contain confidential material for the sole > use of the intended recipient. The use, distribution, transmittal or > re-transmittal by an unintended recipient of any communication is > prohibited without our express approval in writing or by e-mail. Any > use, distribution, transmittal or re-transmittal by persons who are not > intended recipients of this e-mail may be a violation of law and is > strictly prohibited. If you are not the intended recipient please > contact the sender and delete all copies. E-mail transmission cannot be > guaranteed to be secure or error-free. The sender therefore does not > accept liability for any errors or omissions in the contents of this > transmission. All e-mails sent to or from NYS OASAS are to be used for > our business purposes only. E-mails sent from or to NYS OASAS are > subject to review by the Agency. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 > -- *Regards,* ** ** *Bill Benson* *VBACreations* ** PS: You've gotten this e-mail *because you matter to me!* From jwcolby at colbyconsulting.com Tue Sep 6 16:45:33 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 06 Sep 2011 17:45:33 -0400 Subject: [AccessD] SQL Server advice In-Reply-To: References: Message-ID: <4E66947D.9080003@colbyconsulting.com> LOL. did you say the win7 box a laptop? If not, throw some more memory on it and migrate the sql server 2000 machine to a vm. The best of both worlds. You can get faster hardware and start / stop it as you need. John W. Colby www.ColbyConsulting.com On 9/6/2011 4:07 PM, Stephen Bond wrote: > The list does it again. > Not for the first time. > John, Arthur, Susan, Mark, Jim - many thanks. > > SQL Express 2008 it is then for the Win7 box, and I'll leave the SQL2000 > on the XP box as a gracefully ageing toy (my very own Model T) > > Stephen Bond > From kismert at gmail.com Tue Sep 6 16:52:13 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Tue, 6 Sep 2011 16:52:13 -0500 Subject: [AccessD] Passing ParamArrays down the line Message-ID: John: It's true: you can't pass a ParamArray to a routine expecting a Variant() or Variant parameter. You have to convert to a Variant array first. You can pass ParamArrays to other routines accepting a ParamArray. But, the initial ParamArray gets nested in element(0) in the ParamArray of the called routine, making the values hard to extract. This routine takes any ParamArray with any level of nesting, and returns the actual values as a plain variant array: ' UnpackParamArray ' ' Unpacks the given ParamArray, and returns it as a Variant array ' * Handles nested ParamArray calls ' * Handles an array passed to a ParamArray ' ' Allows several parameter passing styles: ' 1. ParamArray from another routine -- lowest-level nested array ' 2. Variant Array as only parameter -- " " ' 3. List of values -- returns array containing values given ' (works, but use Array() instead) ' ParamArray Nesting ' * Every time you pass a ParamArray to another routine, it gets nested as ' element 0 in the new ParamArray: ' ' Nest Level Array Structure ' --------------------------------------------------------------------------- ' 1 Array(N) ' 2 Array(0) -> Array(N) ' 3 Array(0) -> Array(0) -> Array(N) ' 4 Array(0) -> Array(0) -> Array(0) -> Array(N) ' ' * This function unwraps the nested Array(0) pointers until the base array is found. ' * When you pass a standard array to a ParamArray, you start at nest level 2. ' ' Notes: ' * ParamArrays can only be passed to other Routines as ParamArrays ' * Passing ParamArray() to Variant() or Variant will result in an ' 'Invalid Use Of ParamArray' compile error. ' * If an object with a default property is passed, the property is used instead of the object ' Public Function UnpackParamArray(ParamArray vParameters() As Variant) As Variant() Dim vOut() As Variant Dim vTemp() As Variant Dim lUBound As Long On Error GoTo HandleErr ' empty array: LBound=0; UBound=-1 UnpackParamArray = VBA.Array() vOut() = vParameters() lUBound = UBound(vOut) ' If UBound > 0, some regular array has been found, so skip this loop Do While (lUBound = 0) If IsArray(vOut(0)) Then ' Swap carefully to avoid fatal error vTemp() = vOut(0) Erase vOut() vOut() = vTemp() Erase vTemp() ' test the bounds of the new array lUBound = UBound(vOut) Else ' scalar or object value: return array holding it lUBound = 1 End If Loop If lUBound >= 0 Then ' Return UnpackParamArray = vOut() End If Exit Function HandleErr: Err.Raise Err.Number, "UnpackParamArray" & VbCrLf & Err.Source, Err.Description End Function jwcolby: > I use param arrays to allow me to pass in things like group ids that a user > might belong to. The following fails: > > Function mPLSUserInGroup(ParamArray Grps() As Variant) As Boolean > mPLSUserInGroup = cPLS.cCurrUser.pUserInGrp(**Grps) > End Function > > However the following works: > > Function mPLSUserInGroup(ParamArray Grps() As Variant) As Boolean > Dim lGrps() As Variant > lGrps = Grps > mPLSUserInGroup = cPLS.cCurrUser.pUserInGrp(**lGrps) > End Function > > Thus in order to push a paramarray into another function we just need to > dim an array, set it equal to the paramarray and then push that array on > down. > > Pretty strange that a ParamArray cannot be directly passed along. > From ab-mi at post3.tele.dk Tue Sep 6 16:54:00 2011 From: ab-mi at post3.tele.dk (Asger Blond) Date: Tue, 6 Sep 2011 23:54:00 +0200 Subject: [AccessD] IIF Function In-Reply-To: References: Message-ID: :) Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af William Benson Sendt: 6. september 2011 23:45 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] IIF Function But they didn't ... you did! Ha ha ha I crack myself up. No offense, really, I am just in a wacky mood. On Tue, Sep 6, 2011 at 3:31 PM, Tesiny, Ed wrote: > Paul/Asger, > Of course you're right...I hate it when you make a mistake with a ")" > Thank you! > > Ed Tesiny > EdTesiny at oasas.ny.gov > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond > Sent: Tuesday, September 06, 2011 3:25 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] IIF Function > > > IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date])<3 And > [Lureen_Reviewed]<>2,"OK","Followup") > > Asger > > -----Oprindelig meddelelse----- > Fra: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] P? vegne af Tesiny, Ed > Sendt: 6. september 2011 21:16 > Til: Off Topic; Access Developers discussion and problem solving > Emne: [AccessD] IIF Function > > Hi All, > > I have the following IIF statement in a query: > > > > LureenRev1: > IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date]<3 And > [Lureen_Reviewed]<>2),"OK","Followup") > > > > RssApplicationApproved 06/17/2011 (Date) > > Lureen_Reviewed_Date 06/16/2011 (Date) > > Lureen_Reviewed 2 (long integer) > > > > The statement returns OK > > > > Could someone tell me what's wrong with it, I can't see what's wrong. > > TIA, > > Ed > > > > Edward P. Tesiny > > Director of Evaluation and Outcomes Management > > New York State OASAS > > 1450 Western Avenue > > Albany, NY 12203 > > Phone: (518) 485-2322 > > Fax: (518) 485-5228 > > EdTesiny at oasas.ny.gov > > > > IMPORTANT: This E-mail may contain confidential material for the sole > use of the intended recipient. The use, distribution, transmittal or > re-transmittal by an unintended recipient of any communication is > prohibited without our express approval in writing or by e-mail. Any > use, distribution, transmittal or re-transmittal by persons who are not > intended recipients of this e-mail may be a violation of law and is > strictly prohibited. If you are not the intended recipient please > contact the sender and delete all copies. E-mail transmission cannot be > guaranteed to be secure or error-free. The sender therefore does not > accept liability for any errors or omissions in the contents of this > transmission. All e-mails sent to or from NYS OASAS are to be used for > our business purposes only. E-mails sent from or to NYS OASAS are > subject to review by the Agency. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 > -- *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 jwcolby at colbyconsulting.com Tue Sep 6 16:59:16 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 06 Sep 2011 17:59:16 -0400 Subject: [AccessD] Passing ParamArrays down the line In-Reply-To: References: Message-ID: <4E6697B4.3080601@colbyconsulting.com> I actually just copied the param array into an array() ov var and passed that. It just never occurred to me to try that. John W. Colby www.ColbyConsulting.com On 9/6/2011 5:52 PM, Kenneth Ismert wrote: > John: > > It's true: you can't pass a ParamArray to a routine expecting a Variant() or > Variant parameter. You have to convert to a Variant array first. > > You can pass ParamArrays to other routines accepting a ParamArray. But, the > initial ParamArray gets nested in element(0) in the ParamArray of the called > routine, making the values hard to extract. > > This routine takes any ParamArray with any level of nesting, and returns the > actual values as a plain variant array: > > ' UnpackParamArray > ' > ' Unpacks the given ParamArray, and returns it as a Variant array > ' * Handles nested ParamArray calls > ' * Handles an array passed to a ParamArray > ' > ' Allows several parameter passing styles: > ' 1. ParamArray from another routine -- lowest-level nested array > ' 2. Variant Array as only parameter -- " " > ' 3. List of values -- returns array containing > values given > ' (works, but use Array() instead) > ' ParamArray Nesting > ' * Every time you pass a ParamArray to another routine, it gets nested as > ' element 0 in the new ParamArray: > ' > ' Nest Level Array Structure > ' > --------------------------------------------------------------------------- > ' 1 Array(N) > ' 2 Array(0) -> Array(N) > ' 3 Array(0) -> Array(0) -> Array(N) > ' 4 Array(0) -> Array(0) -> Array(0) -> Array(N) > ' > ' * This function unwraps the nested Array(0) pointers until the base array > is found. > ' * When you pass a standard array to a ParamArray, you start at nest level > 2. > ' > ' Notes: > ' * ParamArrays can only be passed to other Routines as ParamArrays > ' * Passing ParamArray() to Variant() or Variant will result in an > ' 'Invalid Use Of ParamArray' compile error. > ' * If an object with a default property is passed, the property is used > instead of the object > ' > Public Function UnpackParamArray(ParamArray vParameters() As Variant) As > Variant() > > Dim vOut() As Variant > Dim vTemp() As Variant > Dim lUBound As Long > > On Error GoTo HandleErr > > ' empty array: LBound=0; UBound=-1 > UnpackParamArray = VBA.Array() > > vOut() = vParameters() > lUBound = UBound(vOut) > > ' If UBound> 0, some regular array has been found, so skip this loop > Do While (lUBound = 0) > > If IsArray(vOut(0)) Then > ' Swap carefully to avoid fatal error > vTemp() = vOut(0) > Erase vOut() > vOut() = vTemp() > Erase vTemp() > ' test the bounds of the new array > lUBound = UBound(vOut) > > Else > ' scalar or object value: return array holding it > lUBound = 1 > > End If > > Loop > > If lUBound>= 0 Then > ' Return > UnpackParamArray = vOut() > End If > > Exit Function > > HandleErr: > Err.Raise Err.Number, "UnpackParamArray"& VbCrLf& Err.Source, > Err.Description > End Function > > > jwcolby: >> I use param arrays to allow me to pass in things like group ids that a user >> might belong to. The following fails: >> >> Function mPLSUserInGroup(ParamArray Grps() As Variant) As Boolean >> mPLSUserInGroup = cPLS.cCurrUser.pUserInGrp(**Grps) >> End Function >> >> However the following works: >> >> Function mPLSUserInGroup(ParamArray Grps() As Variant) As Boolean >> Dim lGrps() As Variant >> lGrps = Grps >> mPLSUserInGroup = cPLS.cCurrUser.pUserInGrp(**lGrps) >> End Function >> >> Thus in order to push a paramarray into another function we just need to >> dim an array, set it equal to the paramarray and then push that array on >> down. >> >> Pretty strange that a ParamArray cannot be directly passed along. >> From darryl at whittleconsulting.com.au Tue Sep 6 18:35:18 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 7 Sep 2011 09:35:18 +1000 Subject: [AccessD] SQL Server advice In-Reply-To: References: <63403747290942CF848F636F67DF3A1A@BondSoftware.local> Message-ID: <001c01cc6ced$a387d9a0$ea978ce0$@com.au> Why not just download the free version Denali "Community Technology Preview 3" (CTP3), that is what I did a while back and it has been good to use so far and dead easy to setup. Nice one :). <> Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, 6 September 2011 8:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SQL Server advice You would be totally wasting your time with SQL 2000. Why begin your learning 2 versions behind? And within 6 months, you'd be 3 versions behind (Denali will be released by then). Since you have a six-month window, my advice would be to install SQL 2008 Express on a Windows 7 box with about 4 gigs of RAM. For diving into SQL Server, this would be a sufficient learning machine. As JC wrote, you won't get all the benefits of a serious machine, but it's not for you anyway, it's for the client to decide whether to pick up that cost. Everything you learn on Express is directly applicable to upscale versions. Granted, there are a few things you won't be able to learn (clustered dbs, for example), but if you make it through the major stuff (Management Studio, T-SQL, views, stored procedures, User Defined Functions, Reporting Services and Analysis Services), what remains to learn won't take long. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Tue Sep 6 20:34:03 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 7 Sep 2011 11:34:03 +1000 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <4E6697B4.3080601@colbyconsulting.com> References: <4E6697B4.3080601@colbyconsulting.com> Message-ID: <002601cc6cfe$3a74d510$af5e7f30$@com.au> Uh oh... I thought today was going too darn well. I am working with data which has "#" as part of the string which causes the VBA code to fail For Example: gstrSQL = vbNullString gstrSQL = gstrSQL & " SELECT" gstrSQL = gstrSQL & " Activity," gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" gstrSQL = gstrSQL & " FROM ProbC_tblActivities" gstrSQL = gstrSQL & " GROUP BY Activity" gstrSQL = gstrSQL & " HAVING Activity="#Input" gstrSQL = gstrSQL & " AND Total_CF <> 0" Which sort of makes sense as the # is used in VBA for Conditional Compile. Is there some way I can I get VBA to accept the # as part of the string and not a command? Google has fairly useless when searching for "#" as well. Bah humbubg. Cheers Darryl From charlotte.foust at gmail.com Tue Sep 6 20:42:36 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Tue, 6 Sep 2011 18:42:36 -0700 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <002601cc6cfe$3a74d510$af5e7f30$@com.au> References: <4E6697B4.3080601@colbyconsulting.com> <002601cc6cfe$3a74d510$af5e7f30$@com.au> Message-ID: If you copied this from your code, the # isn't why it's failing. Remove the stray " before the # and see what happens. Charlotte Foust On Tue, Sep 6, 2011 at 6:34 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Uh oh... I thought today was going too darn well. > > I am working with data which has "#" as part of the string which causes the > VBA code to fail > > For Example: > > gstrSQL = vbNullString > gstrSQL = gstrSQL & " SELECT" > gstrSQL = gstrSQL & " Activity," > gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" > gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" > gstrSQL = gstrSQL & " FROM ProbC_tblActivities" > gstrSQL = gstrSQL & " GROUP BY Activity" > gstrSQL = gstrSQL & " HAVING Activity="#Input" > gstrSQL = gstrSQL & " AND Total_CF <> 0" > > Which sort of makes sense as the # is used in VBA for Conditional Compile. > > Is there some way I can I get VBA to accept the # as part of the string and > not a command? > > Google has fairly useless when searching for "#" as well. Bah humbubg. > > 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 Sep 6 20:45:09 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 06 Sep 2011 21:45:09 -0400 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <002601cc6cfe$3a74d510$af5e7f30$@com.au> References: <4E6697B4.3080601@colbyconsulting.com> <002601cc6cfe$3a74d510$af5e7f30$@com.au> Message-ID: <4E66CCA5.9030603@colbyconsulting.com> # on both sides signifies a date but *only* in the Access version of SQL, not (for example) in TSQL for SQL Server. Probably you are confusing Access SQL by making it think you are trying to specify a date. John W. Colby www.ColbyConsulting.com On 9/6/2011 9:34 PM, Darryl Collins wrote: > Uh oh... I thought today was going too darn well. > > I am working with data which has "#" as part of the string which causes the > VBA code to fail > > For Example: > > gstrSQL = vbNullString > gstrSQL = gstrSQL& " SELECT" > gstrSQL = gstrSQL& " Activity," > gstrSQL = gstrSQL& " SUM(Activity_CF) AS Total_CF" > gstrSQL = gstrSQL& " SUM(Activity_DCF) AS Total_DCF" > gstrSQL = gstrSQL& " FROM ProbC_tblActivities" > gstrSQL = gstrSQL& " GROUP BY Activity" > gstrSQL = gstrSQL& " HAVING Activity="#Input" > gstrSQL = gstrSQL& " AND Total_CF<> 0" > > Which sort of makes sense as the # is used in VBA for Conditional Compile. > > Is there some way I can I get VBA to accept the # as part of the string and > not a command? > > Google has fairly useless when searching for "#" as well. Bah humbubg. > > Cheers > Darryl > From newsgrps at dalyn.co.nz Tue Sep 6 20:50:24 2011 From: newsgrps at dalyn.co.nz (newsgrps) Date: Wed, 07 Sep 2011 13:50:24 +1200 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <002601cc6cfe$3a74d510$af5e7f30$@com.au> References: <4E6697B4.3080601@colbyconsulting.com> <002601cc6cfe$3a74d510$af5e7f30$@com.au> Message-ID: <20110907015040.DIJG839.mta02.xtra.co.nz@David-PC.dalyn.co.nz> Darryl Try gstrSQL = gstrSQL & " HAVING Activity='#Input'" (Putting #Input within single quotes.) Regards David Emerson Dalyn Software Ltd New Zealand At 7/09/2011, Darryl Collins wrote: >Uh oh... I thought today was going too darn well. > >I am working with data which has "#" as part of the string which causes the >VBA code to fail > >For Example: > >gstrSQL = vbNullString >gstrSQL = gstrSQL & " SELECT" >gstrSQL = gstrSQL & " Activity," >gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" >gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" >gstrSQL = gstrSQL & " FROM ProbC_tblActivities" >gstrSQL = gstrSQL & " GROUP BY Activity" >gstrSQL = gstrSQL & " HAVING Activity="#Input" >gstrSQL = gstrSQL & " AND Total_CF <> 0" > >Which sort of makes sense as the # is used in VBA for Conditional Compile. > >Is there some way I can I get VBA to accept the # as part of the string and >not a command? > >Google has fairly useless when searching for "#" as well. Bah humbubg. > >Cheers >Darryl > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From dbdoug at gmail.com Tue Sep 6 21:06:08 2011 From: dbdoug at gmail.com (Doug Steele) Date: Tue, 6 Sep 2011 19:06:08 -0700 Subject: [AccessD] Access date problem In-Reply-To: References: Message-ID: Thanks, Gustav - I know you've gone over this many times before! In this particular case, I was just typing into the immediate window, and I had checked that the computer's Windows date format was mm/dd/yyyy. When I use the Weekday function in code, I always use Date/Time variables. Doug On Mon, Sep 5, 2011 at 11:17 PM, Gustav Brock wrote: > Hi Doug > > Weekday("9/4/2011") and Weekday(#9/4/2011#) is not the same thing so if > that computer doesn't use the "reverse" US date format (mm/dd/yyyy) your > expression will read as 2011-04-09. > > Always use data type date/time for dates in VB(A). > > /gustav > > > >>> dbdoug at gmail.com 05-09-2011 18:19 >>> > Hello All: > > I have some code which depends on the weekday number. On all computers > except for one of my client's, it runs OK. The computers are a mixed bag > of > Access 2003, 2010 and Windows 7 and Vista. > > On the 'bad' computer, everything is off by one day. Debugging on this > computer gives '7' as the result of Weekday("9/4/2011") - a Sunday. > According to Access help, the default for Sunday is 1. I've checked the > Windows 7 Regional and Language settings on this computer and 'Sunday' is > set as the first day of the week. So Access and Windows are different. > > I can't find a setting in Access to change this, and nothing on the Web. > But it must be some kind of configuration setup - does anyone have a > suggestion? > > Thanks, > Doug > > > -- > 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 Sep 6 21:16:18 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 07 Sep 2011 12:16:18 +1000 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <002601cc6cfe$3a74d510$af5e7f30$@com.au> References: , <4E6697B4.3080601@colbyconsulting.com>, <002601cc6cfe$3a74d510$af5e7f30$@com.au> Message-ID: <4E66D3F2.25051.2899085E@stuart.lexacorp.com.pg> As others have pointed out, the # is not the problem. #Input is a string inside your SQL which needs to be delimited inside your strSQL. You are using double quotes as your strSQL building delimiter so the inner variable needs to be surrounded by single quotes. Also you are missing a comma after Total_CF Try this: gstrSQL = "SELECT " & _ "Activity, " & _ "SUM(Activity_CF) AS Total_CF," & _ "SUM(Activity_DCF) AS Total_DCF " & _ "FROM ProbC_tblActivities " & _ "GROUP BY Activity " & _ "HAVING Activity='#Input' " & _ "AND Total_CF <> 0" & _ On 7 Sep 2011 at 11:34, Darryl Collins wrote: > Uh oh... I thought today was going too darn well. > > I am working with data which has "#" as part of the string which > causes the VBA code to fail > > For Example: > > gstrSQL = vbNullString > gstrSQL = gstrSQL & " SELECT" > gstrSQL = gstrSQL & " Activity," > gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" > gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" > gstrSQL = gstrSQL & " FROM ProbC_tblActivities" > gstrSQL = gstrSQL & " GROUP BY Activity" > gstrSQL = gstrSQL & " HAVING Activity="#Input" > gstrSQL = gstrSQL & " AND Total_CF <> 0" > > Which sort of makes sense as the # is used in VBA for Conditional > Compile. > > Is there some way I can I get VBA to accept the # as part of the > string and not a command? > > Google has fairly useless when searching for "#" as well. Bah > humbubg. > > Cheers > Darryl > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Tue Sep 6 22:04:31 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 7 Sep 2011 13:04:31 +1000 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <4E66D3F2.25051.2899085E@stuart.lexacorp.com.pg> References: , <4E6697B4.3080601@colbyconsulting.com>, <002601cc6cfe$3a74d510$af5e7f30$@com.au> <4E66D3F2.25051.2899085E@stuart.lexacorp.com.pg> Message-ID: <002a01cc6d0a$dde5fec0$99b1fc40$@com.au> Hmmmm...... time for a coffee. Thanks guys... Stupid! Got it working fine now I have the my syntax and commas in place. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, 7 September 2011 12:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] String with "#" in VBA? As others have pointed out, the # is not the problem. #Input is a string inside your SQL which needs to be delimited inside your strSQL. You are using double quotes as your strSQL building delimiter so the inner variable needs to be surrounded by single quotes. Also you are missing a comma after Total_CF Try this: gstrSQL = "SELECT " & _ "Activity, " & _ "SUM(Activity_CF) AS Total_CF," & _ "SUM(Activity_DCF) AS Total_DCF " & _ "FROM ProbC_tblActivities " & _ "GROUP BY Activity " & _ "HAVING Activity='#Input' " & _ "AND Total_CF <> 0" & _ On 7 Sep 2011 at 11:34, Darryl Collins wrote: > Uh oh... I thought today was going too darn well. > > I am working with data which has "#" as part of the string which > causes the VBA code to fail > > For Example: > > gstrSQL = vbNullString > gstrSQL = gstrSQL & " SELECT" > gstrSQL = gstrSQL & " Activity," > gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" > gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" > gstrSQL = gstrSQL & " FROM ProbC_tblActivities" > gstrSQL = gstrSQL & " GROUP BY Activity" > gstrSQL = gstrSQL & " HAVING Activity="#Input" > gstrSQL = gstrSQL & " AND Total_CF <> 0" > > Which sort of makes sense as the # is used in VBA for Conditional > Compile. > > Is there some way I can I get VBA to accept the # as part of the > string and not a command? > > Google has fairly useless when searching for "#" as well. Bah > humbubg. > > Cheers > Darryl > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 6 22:15:44 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Tue, 6 Sep 2011 23:15:44 -0400 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <4E66D3F2.25051.2899085E@stuart.lexacorp.com.pg> References: , <4E6697B4.3080601@colbyconsulting.com>, <002601cc6cfe$3a74d510$af5e7f30$@com.au> <4E66D3F2.25051.2899085E@stuart.lexacorp.com.pg> Message-ID: <001501cc6d0c$6efc10b0$4cf43210$@gmail.com> I concur with the single-quotes and the comma additions... but I was not aware you are allowed to use the result field's name in the HAVING clause, I thought you needed to show the function again (see below)? gstrSQL = "" gstrSQL = gstrSQL & " SELECT" gstrSQL = gstrSQL & " Activity," gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF," gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" gstrSQL = gstrSQL & " FROM ProbC_tblActivities" gstrSQL = gstrSQL & " GROUP BY Activity" gstrSQL = gstrSQL & " HAVING Activity='#Input'" gstrSQL = gstrSQL & " AND SUM(Activity_CF) <> 0" -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, September 06, 2011 10:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] String with "#" in VBA? As others have pointed out, the # is not the problem. #Input is a string inside your SQL which needs to be delimited inside your strSQL. You are using double quotes as your strSQL building delimiter so the inner variable needs to be surrounded by single quotes. Also you are missing a comma after Total_CF Try this: gstrSQL = "SELECT " & _ "Activity, " & _ "SUM(Activity_CF) AS Total_CF," & _ "SUM(Activity_DCF) AS Total_DCF " & _ "FROM ProbC_tblActivities " & _ "GROUP BY Activity " & _ "HAVING Activity='#Input' " & _ "AND Total_CF <> 0" & _ On 7 Sep 2011 at 11:34, Darryl Collins wrote: > Uh oh... I thought today was going too darn well. > > I am working with data which has "#" as part of the string which > causes the VBA code to fail > > For Example: > > gstrSQL = vbNullString > gstrSQL = gstrSQL & " SELECT" > gstrSQL = gstrSQL & " Activity," > gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" > gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" > gstrSQL = gstrSQL & " FROM ProbC_tblActivities" > gstrSQL = gstrSQL & " GROUP BY Activity" > gstrSQL = gstrSQL & " HAVING Activity="#Input" > gstrSQL = gstrSQL & " AND Total_CF <> 0" > > Which sort of makes sense as the # is used in VBA for Conditional > Compile. > > Is there some way I can I get VBA to accept the # as part of the > string and not a command? > > Google has fairly useless when searching for "#" as well. Bah > humbubg. > > Cheers > Darryl > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 6 22:20:07 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 7 Sep 2011 13:20:07 +1000 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <002a01cc6d0a$dde5fec0$99b1fc40$@com.au> References: , <4E6697B4.3080601@colbyconsulting.com>, <002601cc6cfe$3a74d510$af5e7f30$@com.au> <4E66D3F2.25051.2899085E@stuart.lexacorp.com.pg> <002a01cc6d0a$dde5fec0$99b1fc40$@com.au> Message-ID: <002b01cc6d0d$0b299a20$217cce60$@com.au> Here is what I ended up using. gstrSQL = vbNullString gstrSQL = gstrSQL & "SELECT" gstrSQL = gstrSQL & " Activity," gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" gstrSQL = gstrSQL & " FROM ProbC_tblActivities" gstrSQL = gstrSQL & " GROUP BY Activity" gstrSQL = gstrSQL & " HAVING Activity='#Input'" The rest of the code was not required. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, 7 September 2011 1:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] String with "#" in VBA? Hmmmm...... time for a coffee. Thanks guys... Stupid! Got it working fine now I have the my syntax and commas in place. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, 7 September 2011 12:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] String with "#" in VBA? As others have pointed out, the # is not the problem. #Input is a string inside your SQL which needs to be delimited inside your strSQL. You are using double quotes as your strSQL building delimiter so the inner variable needs to be surrounded by single quotes. Also you are missing a comma after Total_CF Try this: gstrSQL = "SELECT " & _ "Activity, " & _ "SUM(Activity_CF) AS Total_CF," & _ "SUM(Activity_DCF) AS Total_DCF " & _ "FROM ProbC_tblActivities " & _ "GROUP BY Activity " & _ "HAVING Activity='#Input' " & _ "AND Total_CF <> 0" & _ On 7 Sep 2011 at 11:34, Darryl Collins wrote: > Uh oh... I thought today was going too darn well. > > I am working with data which has "#" as part of the string which > causes the VBA code to fail > > For Example: > > gstrSQL = vbNullString > gstrSQL = gstrSQL & " SELECT" > gstrSQL = gstrSQL & " Activity," > gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" > gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" > gstrSQL = gstrSQL & " FROM ProbC_tblActivities" > gstrSQL = gstrSQL & " GROUP BY Activity" > gstrSQL = gstrSQL & " HAVING Activity="#Input" > gstrSQL = gstrSQL & " AND Total_CF <> 0" > > Which sort of makes sense as the # is used in VBA for Conditional > Compile. > > Is there some way I can I get VBA to accept the # as part of the > string and not a command? > > Google has fairly useless when searching for "#" as well. Bah > humbubg. > > Cheers > Darryl > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Tue Sep 6 22:24:24 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 7 Sep 2011 13:24:24 +1000 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <001501cc6d0c$6efc10b0$4cf43210$@gmail.com> References: , <4E6697B4.3080601@colbyconsulting.com>, <002601cc6cfe$3a74d510$af5e7f30$@com.au> <4E66D3F2.25051.2899085E@stuart.lexacorp.com.pg> <001501cc6d0c$6efc10b0$4cf43210$@gmail.com> Message-ID: <003101cc6d0d$a4552e30$ecff8a90$@com.au> Yes, that syntax would be correct Bill. Man, I made a mess of this one didn't I... hmmmmm. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, 7 September 2011 1:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] String with "#" in VBA? I concur with the single-quotes and the comma additions... but I was not aware you are allowed to use the result field's name in the HAVING clause, I thought you needed to show the function again (see below)? gstrSQL = "" gstrSQL = gstrSQL & " SELECT" gstrSQL = gstrSQL & " Activity," gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF," gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" gstrSQL = gstrSQL & " FROM ProbC_tblActivities" gstrSQL = gstrSQL & " GROUP BY Activity" gstrSQL = gstrSQL & " HAVING Activity='#Input'" gstrSQL = gstrSQL & " AND SUM(Activity_CF) <> 0" -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, September 06, 2011 10:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] String with "#" in VBA? As others have pointed out, the # is not the problem. #Input is a string inside your SQL which needs to be delimited inside your strSQL. You are using double quotes as your strSQL building delimiter so the inner variable needs to be surrounded by single quotes. Also you are missing a comma after Total_CF Try this: gstrSQL = "SELECT " & _ "Activity, " & _ "SUM(Activity_CF) AS Total_CF," & _ "SUM(Activity_DCF) AS Total_DCF " & _ "FROM ProbC_tblActivities " & _ "GROUP BY Activity " & _ "HAVING Activity='#Input' " & _ "AND Total_CF <> 0" & _ On 7 Sep 2011 at 11:34, Darryl Collins wrote: > Uh oh... I thought today was going too darn well. > > I am working with data which has "#" as part of the string which > causes the VBA code to fail > > For Example: > > gstrSQL = vbNullString > gstrSQL = gstrSQL & " SELECT" > gstrSQL = gstrSQL & " Activity," > gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" > gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" > gstrSQL = gstrSQL & " FROM ProbC_tblActivities" > gstrSQL = gstrSQL & " GROUP BY Activity" > gstrSQL = gstrSQL & " HAVING Activity="#Input" > gstrSQL = gstrSQL & " AND Total_CF <> 0" > > Which sort of makes sense as the # is used in VBA for Conditional > Compile. > > Is there some way I can I get VBA to accept the # as part of the > string and not a command? > > Google has fairly useless when searching for "#" as well. Bah > humbubg. > > Cheers > Darryl > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 6 22:41:41 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Tue, 6 Sep 2011 23:41:41 -0400 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <003101cc6d0d$a4552e30$ecff8a90$@com.au> References: , <4E6697B4.3080601@colbyconsulting.com>, <002601cc6cfe$3a74d510$af5e7f30$@com.au> <4E66D3F2.25051.2899085E@stuart.lexacorp.com.pg> <001501cc6d0c$6efc10b0$4cf43210$@gmail.com> <003101cc6d0d$a4552e30$ecff8a90$@com.au> Message-ID: <001601cc6d10$0f115440$2d33fcc0$@gmail.com> No more than anyone else going from the top of their head. To wit, no one else pointed out that the Having Clause required the actual computation. And, no one pointed out (including me) that most non-calculated constraints are put in a WHERE clause, not the Having clause. I would imagine the query plan Access builds handles that kind of misappropriation without fuss however. Some SQL which I generated using only the Access query designer (with unneeded parens removed). SELECT Max(Tbl_GIB.LASTMODIFIED_DATE) AS MyMaxDate, 1+1 AS SomeCalc FROM Tbl_GIB WHERE Tbl_GIB.SITE_DB<>'Bill' HAVING 1+1=2 And Max(Tbl_GIB.LASTMODIFIED_DATE) < #12/31/2050# This fails: SELECT Max(Tbl_GIB.LASTMODIFIED_DATE) AS MyMaxDate, 1+1 AS SomeCalc FROM Tbl_GIB WHERE Tbl_GIB.SITE_DB<>'Bill' HAVING SomeCalc =2 As does this SELECT Max(Tbl_GIB.LASTMODIFIED_DATE) AS MyMaxDate, 1+1 AS SomeCalc FROM Tbl_GIB HAVING MyMaxDate < #12/31/2050#; -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Tuesday, September 06, 2011 11:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] String with "#" in VBA? Yes, that syntax would be correct Bill. Man, I made a mess of this one didn't I... hmmmmm. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, 7 September 2011 1:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] String with "#" in VBA? I concur with the single-quotes and the comma additions... but I was not aware you are allowed to use the result field's name in the HAVING clause, I thought you needed to show the function again (see below)? gstrSQL = "" gstrSQL = gstrSQL & " SELECT" gstrSQL = gstrSQL & " Activity," gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF," gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" gstrSQL = gstrSQL & " FROM ProbC_tblActivities" gstrSQL = gstrSQL & " GROUP BY Activity" gstrSQL = gstrSQL & " HAVING Activity='#Input'" gstrSQL = gstrSQL & " AND SUM(Activity_CF) <> 0" -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, September 06, 2011 10:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] String with "#" in VBA? As others have pointed out, the # is not the problem. #Input is a string inside your SQL which needs to be delimited inside your strSQL. You are using double quotes as your strSQL building delimiter so the inner variable needs to be surrounded by single quotes. Also you are missing a comma after Total_CF Try this: gstrSQL = "SELECT " & _ "Activity, " & _ "SUM(Activity_CF) AS Total_CF," & _ "SUM(Activity_DCF) AS Total_DCF " & _ "FROM ProbC_tblActivities " & _ "GROUP BY Activity " & _ "HAVING Activity='#Input' " & _ "AND Total_CF <> 0" & _ On 7 Sep 2011 at 11:34, Darryl Collins wrote: > Uh oh... I thought today was going too darn well. > > I am working with data which has "#" as part of the string which > causes the VBA code to fail > > For Example: > > gstrSQL = vbNullString > gstrSQL = gstrSQL & " SELECT" > gstrSQL = gstrSQL & " Activity," > gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" > gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" > gstrSQL = gstrSQL & " FROM ProbC_tblActivities" > gstrSQL = gstrSQL & " GROUP BY Activity" > gstrSQL = gstrSQL & " HAVING Activity="#Input" > gstrSQL = gstrSQL & " AND Total_CF <> 0" > > Which sort of makes sense as the # is used in VBA for Conditional > Compile. > > Is there some way I can I get VBA to accept the # as part of the > string and not a command? > > Google has fairly useless when searching for "#" as well. Bah > humbubg. > > Cheers > Darryl > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 6 23:03:54 2011 From: vbacreations at gmail.com (William Benson) Date: Wed, 7 Sep 2011 00:03:54 -0400 Subject: [AccessD] Access date problem In-Reply-To: References: Message-ID: Obviously that computer was built on a Monday? Its always been GM's excuse. On Sep 5, 2011 5:14 PM, "Doug Steele" wrote: > Hi Charlotte: > Changing all instances of the Weekday function to include vbSunday as the > second parameter did fix the problem. I'm still curious, however, why one > computer in particular would have vbMonday set as the first day of the week > contrary to the Access documentation. > > Doug > > > On Mon, Sep 5, 2011 at 11:35 AM, Charlotte Foust > wrote: > >> It's set in vba using the Weekday function and specifying the optional >> firstdayofweek argument. If you just modify your code to include vbSunday, >> you should get the desired result. Have you tried that? >> >> Charlotte Foust >> >> On Mon, Sep 5, 2011 at 9:19 AM, Doug Steele wrote: >> >> > Hello All: >> > >> > I have some code which depends on the weekday number. On all computers >> > except for one of my client's, it runs OK. The computers are a mixed bag >> > of >> > Access 2003, 2010 and Windows 7 and Vista. >> > >> > On the 'bad' computer, everything is off by one day. Debugging on this >> > computer gives '7' as the result of Weekday("9/4/2011") - a Sunday. >> > According to Access help, the default for Sunday is 1. I've checked the >> > Windows 7 Regional and Language settings on this computer and 'Sunday' is >> > set as the first day of the week. So Access and Windows are different. >> > >> > I can't find a setting in Access to change this, and nothing on the Web. >> > But it must be some kind of configuration setup - does anyone have a >> > suggestion? >> > >> > 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 >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Gustav at cactus.dk Wed Sep 7 05:55:46 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 07 Sep 2011 12:55:46 +0200 Subject: [AccessD] SQL Server advice Message-ID: Hi Stephen Just pay attention to the limitations of SQL Server 2008 R2 Express: - Maximum 10 GB per database. - Uses no more than 1 processor. - Uses no more than 1 GB of internal memory. /gustav >>> stephen at bondsoftware.co.nz 06-09-2011 22:07 >>> The list does it again. Not for the first time. John, Arthur, Susan, Mark, Jim - many thanks. SQL Express 2008 it is then for the Win7 box, and I'll leave the SQL2000 on the XP box as a gracefully ageing toy (my very own Model T) Stephen Bond From fuller.artful at gmail.com Wed Sep 7 08:46:04 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 7 Sep 2011 09:46:04 -0400 Subject: [AccessD] Ac27 DLL Problem Message-ID: When I try to run the A2K7 upsizing wizard I immediately get the error "Error in Loading DLL." Anyone know why this is occurring and how to fix the problem? TIA, Arthur From jimdettman at verizon.net Wed Sep 7 08:51:21 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 07 Sep 2011 09:51:21 -0400 Subject: [AccessD] Of possible interest Message-ID: <7090E912B0544D45A427C7B55D04A980@XPS> picked this up from another list /group: http://www.zdnet.com/blog/microsoft/microsoft-to-focus-on-html5-and-javascri pt-for-office-15-extensions/10266 Something to think about... Jim. From accessd at shaw.ca Wed Sep 7 12:57:26 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 7 Sep 2011 10:57:26 -0700 Subject: [AccessD] Of possible interest In-Reply-To: <7090E912B0544D45A427C7B55D04A980@XPS> References: <7090E912B0544D45A427C7B55D04A980@XPS> Message-ID: <610914D12AB544868F8FF0CBB80BC76B@creativesystemdesigns.com> Excellent news and about time... It will not be long before we are all going web based. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, September 07, 2011 6:51 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Of possible interest picked this up from another list /group: http://www.zdnet.com/blog/microsoft/microsoft-to-focus-on-html5-and-javascri pt-for-office-15-extensions/10266 Something to think about... Jim. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Sep 7 13:03:08 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 7 Sep 2011 11:03:08 -0700 Subject: [AccessD] SQL Server advice In-Reply-To: <001c01cc6ced$a387d9a0$ea978ce0$@com.au> References: <63403747290942CF848F636F67DF3A1A@BondSoftware.local> <001c01cc6ced$a387d9a0$ea978ce0$@com.au> Message-ID: <968A7928D657458A9D0EFC2C72F52164@creativesystemdesigns.com> Thanks for the heads up Darryl. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Tuesday, September 06, 2011 4:35 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SQL Server advice Why not just download the free version Denali "Community Technology Preview 3" (CTP3), that is what I did a while back and it has been good to use so far and dead easy to setup. Nice one :). <> Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, 6 September 2011 8:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SQL Server advice You would be totally wasting your time with SQL 2000. Why begin your learning 2 versions behind? And within 6 months, you'd be 3 versions behind (Denali will be released by then). Since you have a six-month window, my advice would be to install SQL 2008 Express on a Windows 7 box with about 4 gigs of RAM. For diving into SQL Server, this would be a sufficient learning machine. As JC wrote, you won't get all the benefits of a serious machine, but it's not for you anyway, it's for the client to decide whether to pick up that cost. Everything you learn on Express is directly applicable to upscale versions. Granted, there are a few things you won't be able to learn (clustered dbs, for example), but if you make it through the major stuff (Management Studio, T-SQL, views, stored procedures, User Defined Functions, Reporting Services and Analysis Services), what remains to learn won't take long. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Wed Sep 7 13:21:02 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Wed, 07 Sep 2011 14:21:02 -0400 Subject: [AccessD] :) In-Reply-To: References: <3D568192E72C468FB4DD4A4693553C54@SusanHarkins><4E5CCF00.7000101@colbyconsulting.com><4E5D4E1B.21029.3661FC1@stuart.lexacorp.com.pg><9E95C48974A94C5D80EFB3444668BD61@HAL9007><8FC7AA6C2378493895EF53C A29E5509B@XPS><001401cc67de$d56db840$804928c0$@gmail.com> Message-ID: <4E67B60E.90401@torchlake.com> Okay, I just have to tell you guys this one. My Larry is from Indiana, which means that he has some regional pronunciation idiosyncrasies. He bought a new winch that he wanted mounted on the back end of his truck, so he went to Sam, our local guru, and asked him, "Can I mount a wench on the back of my truck?" To which, Sam responded, "Is Tina okay with this?" Before Larry caught on to the meaning, he said, "Well, of course, she is!" Then Sam said something about Larry's wife being more open-minded than his own wife about other women. That's when the light went on for Larry. One of our favorite little memories. :-) So, Arthur, you stay away from the wenches! Best, T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 8/31/2011 10:55 AM, Arthur Fuller wrote: > Nope. I have instead adopted the one-to-zero model. No wenches, no problems! > I realize that this model doesn't work for everyone, but it works for me. As > Greta Garbo said, "I didn't say I want to be alone, I said I want to be left > alone." That solution works for me, at this late stage of my life. > > I am approaching 64yo, and the man I most admired in my life died on Monday, > at age 61. I have abused my body with various chemicals, and Jack never did > the same, and I'm alive and he is dead; there is no justice in this world; > there may be some justice in some other world but it clearly is not this > one.If there were any justice, Jack would live on and I would be the one to > die, but that's not how it happened. I'm still alive, and Jack is dead, and > if anyone was creating this universe intelligently, the opposite would be > True. > > The only thing that I can hold from this is that I better get out there and > do some volunteer work with what remains of my life. I'm going to do that > right now. As long as this involves no wenches, I think that I'll be > relatively safe. Gotta watch out for wenches. They are more dangerous than > wrenches. > > A. > > On Wed, Aug 31, 2011 at 9:06 AM, William Benson (VBACreations.Com)< > vbacreations at gmail.com> wrote: > >> I think we left out "Are you into one-to-many relationships?" >> From jwcolby at colbyconsulting.com Wed Sep 7 13:22:12 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 07 Sep 2011 14:22:12 -0400 Subject: [AccessD] Of possible interest In-Reply-To: <610914D12AB544868F8FF0CBB80BC76B@creativesystemdesigns.com> References: <7090E912B0544D45A427C7B55D04A980@XPS> <610914D12AB544868F8FF0CBB80BC76B@creativesystemdesigns.com> Message-ID: <4E67B654.2010501@colbyconsulting.com> LOL. Not until they condense the 37 different technologies required down into one or two. John W. Colby www.ColbyConsulting.com On 9/7/2011 1:57 PM, Jim Lawrence wrote: > Excellent news and about time... It will not be long before we are all going > web based. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Wednesday, September 07, 2011 6:51 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Of possible interest > > picked this up from another list /group: > > http://www.zdnet.com/blog/microsoft/microsoft-to-focus-on-html5-and-javascri > pt-for-office-15-extensions/10266 > > Something to think about... > > Jim. From markamatte at hotmail.com Wed Sep 7 15:04:56 2011 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 7 Sep 2011 20:04:56 +0000 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <001601cc6d10$0f115440$2d33fcc0$@gmail.com> References: , , <4E6697B4.3080601@colbyconsulting.com>, , <002601cc6cfe$3a74d510$af5e7f30$@com.au> <4E66D3F2.25051.2899085E@stuart.lexacorp.com.pg> <001501cc6d0c$6efc10b0$4cf43210$@gmail.com>, <003101cc6d0d$a4552e30$ecff8a90$@com.au>, <001601cc6d10$0f115440$2d33fcc0$@gmail.com> Message-ID: I had to think twice... Me and SQL spend our days between SQL Server, Access, and Foxpro...last week I was moving some processes from Foxpro to SQL Server and I learned that in Foxpro the HAVING clause will utilize the calculation or the alias... just FYI... Mark M. > From: vbacreations at gmail.com > To: accessd at databaseadvisors.com > Date: Tue, 6 Sep 2011 23:41:41 -0400 > Subject: Re: [AccessD] String with "#" in VBA? > > No more than anyone else going from the top of their head. To wit, no one > else pointed out that the Having Clause required the actual computation. > And, no one pointed out (including me) that most non-calculated constraints > are put in a WHERE clause, not the Having clause. I would imagine the query > plan Access builds handles that kind of misappropriation without fuss > however. Some SQL which I generated using only the Access query designer > (with unneeded parens removed). > > SELECT Max(Tbl_GIB.LASTMODIFIED_DATE) AS MyMaxDate, 1+1 AS SomeCalc > FROM Tbl_GIB > WHERE Tbl_GIB.SITE_DB<>'Bill' > HAVING 1+1=2 And Max(Tbl_GIB.LASTMODIFIED_DATE) < #12/31/2050# > > This fails: > > SELECT Max(Tbl_GIB.LASTMODIFIED_DATE) AS MyMaxDate, 1+1 AS SomeCalc > FROM Tbl_GIB > WHERE Tbl_GIB.SITE_DB<>'Bill' > HAVING SomeCalc =2 > > > As does this > > SELECT Max(Tbl_GIB.LASTMODIFIED_DATE) AS MyMaxDate, 1+1 AS SomeCalc > FROM Tbl_GIB > HAVING MyMaxDate < #12/31/2050#; > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins > Sent: Tuesday, September 06, 2011 11:24 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] String with "#" in VBA? > > Yes, that syntax would be correct Bill. Man, I made a mess of this one > didn't I... hmmmmm. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > (VBACreations.Com) > Sent: Wednesday, 7 September 2011 1:16 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] String with "#" in VBA? > > I concur with the single-quotes and the comma additions... but I was not > aware you are allowed to use the result field's name in the HAVING clause, I > thought you needed to show the function again (see below)? > > > gstrSQL = "" > gstrSQL = gstrSQL & " SELECT" > gstrSQL = gstrSQL & " Activity," > gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF," > gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" > gstrSQL = gstrSQL & " FROM ProbC_tblActivities" > gstrSQL = gstrSQL & " GROUP BY Activity" > gstrSQL = gstrSQL & " HAVING Activity='#Input'" > gstrSQL = gstrSQL & " AND SUM(Activity_CF) <> 0" > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Tuesday, September 06, 2011 10:16 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] String with "#" in VBA? > > As others have pointed out, the # is not the problem. > > #Input is a string inside your SQL which needs to be delimited inside your > strSQL. > You are using double quotes as your strSQL building delimiter so the inner > variable needs to > be surrounded by single quotes. > > Also you are missing a comma after Total_CF > > > > Try this: > > gstrSQL = "SELECT " & _ > "Activity, " & _ > "SUM(Activity_CF) AS Total_CF," & _ > "SUM(Activity_DCF) AS Total_DCF " & _ > "FROM ProbC_tblActivities " & _ > "GROUP BY Activity " & _ > "HAVING Activity='#Input' " & _ > "AND Total_CF <> 0" & _ > > > > > On 7 Sep 2011 at 11:34, Darryl Collins wrote: > > > Uh oh... I thought today was going too darn well. > > > > I am working with data which has "#" as part of the string which > > causes the VBA code to fail > > > > For Example: > > > > gstrSQL = vbNullString > > gstrSQL = gstrSQL & " SELECT" > > gstrSQL = gstrSQL & " Activity," > > gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" > > gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" > > gstrSQL = gstrSQL & " FROM ProbC_tblActivities" > > gstrSQL = gstrSQL & " GROUP BY Activity" > > gstrSQL = gstrSQL & " HAVING Activity="#Input" > > gstrSQL = gstrSQL & " AND Total_CF <> 0" > > > > Which sort of makes sense as the # is used in VBA for Conditional > > Compile. > > > > Is there some way I can I get VBA to accept the # as part of the > > string and not a command? > > > > Google has fairly useless when searching for "#" as well. Bah > > humbubg. > > > > Cheers > > Darryl > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 fuller.artful at gmail.com Wed Sep 7 16:40:31 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 7 Sep 2011 17:40:31 -0400 Subject: [AccessD] :) In-Reply-To: <4E67B60E.90401@torchlake.com> References: <3D568192E72C468FB4DD4A4693553C54@SusanHarkins> <4E5CCF00.7000101@colbyconsulting.com> <4E5D4E1B.21029.3661FC1@stuart.lexacorp.com.pg> <9E95C48974A94C5D80EFB3444668BD61@HAL9007> <001401cc67de$d56db840$804928c0$@gmail.com> <4E67B60E.90401@torchlake.com> Message-ID: It's the winches that scare me! A. On Wed, Sep 7, 2011 at 2:21 PM, Tina Norris Fields < tinanfields at torchlake.com> wrote: > Okay, I just have to tell you guys this one. My Larry is from Indiana, > which means that he has some regional pronunciation idiosyncrasies. He > bought a new winch that he wanted mounted on the back end of his truck, so > he went to Sam, our local guru, and asked him, "Can I mount a wench on the > back of my truck?" To which, Sam responded, "Is Tina okay with this?" > Before Larry caught on to the meaning, he said, "Well, of course, she is!" > Then Sam said something about Larry's wife being more open-minded than his > own wife about other women. That's when the light went on for Larry. One > of our favorite little memories. :-) > > So, Arthur, you stay away from the wenches! > > Best, > T > From darryl at whittleconsulting.com.au Wed Sep 7 20:47:19 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 8 Sep 2011 11:47:19 +1000 Subject: [AccessD] Wish List. Message-ID: <000701cc6dc9$427bde90$c7739bb0$@com.au> Been doing a lot of work with forms. In particular single forms with a lot of controls that are hidden or revealed depending on what options are available. I really wish MS were inspired by Adobe with how form design behaves. Why can't forms be layered? So you can work on individual layers which only have the relevant controls for that layer, but when the form is displayed all layers are shown, just like an image in Photoshop for example. That would be super useful as right now if I want to change anything on first controls I added, I have to move all of the other controls on top out of the way, make the changes, and then put them all back again. A real PITA. Would be wonderful to turn on and off visibility on the layers and then it would be easy to access any set of controls that are just on that layer. I know I can sort of fake this by using tabs, is this a better way or does anyone has a different angle I can consider? Cheers Darryl. Darryl Collins Whittle Consulting Pty Ltd Suite 8, 660 Canterbury Rd Surrey Hills, VIC, 3127 p: +61 3 9898 3242 m: +61 418 381 548 f: +61 3 9898 1855 e: darryl at whittleconsulting.com.au w: www.whittleconsulting.com.au From accessd at shaw.ca Wed Sep 7 20:16:27 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 7 Sep 2011 18:16:27 -0700 Subject: [AccessD] Of possible interest In-Reply-To: <4E67B654.2010501@colbyconsulting.com> References: <7090E912B0544D45A427C7B55D04A980@XPS> <610914D12AB544868F8FF0CBB80BC76B@creativesystemdesigns.com> <4E67B654.2010501@colbyconsulting.com> Message-ID: <4470814838CB464C9023DDBC40A42735@creativesystemdesigns.com> According to a computer expert who has been in the business, forever, similar to us, (but has been extremely successful with third thriving companies) he said, "A person can only master one or two technologies and so other than a working knowledge in a few, don't waste you time." I like that concept so just I will just dump the other 35. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, September 07, 2011 11:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Of possible interest LOL. Not until they condense the 37 different technologies required down into one or two. John W. Colby www.ColbyConsulting.com On 9/7/2011 1:57 PM, Jim Lawrence wrote: > Excellent news and about time... It will not be long before we are all going > web based. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Wednesday, September 07, 2011 6:51 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Of possible interest > > picked this up from another list /group: > > http://www.zdnet.com/blog/microsoft/microsoft-to-focus-on-html5-and-javascri > pt-for-office-15-extensions/10266 > > Something to think about... > > Jim. -- 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 Sep 7 21:50:20 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 08 Sep 2011 12:50:20 +1000 Subject: [AccessD] Wish List. In-Reply-To: <000701cc6dc9$427bde90$c7739bb0$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> Message-ID: <4E682D6C.27223.2DDE8F35@stuart.lexacorp.com.pg> Group blocks of controls and then drag the groups you are working on down to below the visible area of the screen? On 8 Sep 2011 at 11:47, Darryl Collins wrote: > Been doing a lot of work with forms. In particular single forms with a > lot of controls that are hidden or revealed depending on what options > are available. I really wish MS were inspired by Adobe with how form > design behaves. Why can't forms be layered? So you can work on > individual layers which only have the relevant controls for that > layer, but when the form is displayed all layers are shown, just like > an image in Photoshop for example. > > > > That would be super useful as right now if I want to change anything > on first controls I added, I have to move all of the other controls on > top out of the way, make the changes, and then put them all back > again. A real PITA. Would be wonderful to turn on and off visibility > on the layers and then it would be easy to access any set of controls > that are just on that layer. > > > > I know I can sort of fake this by using tabs, is this a better way or > does anyone has a different angle I can consider? > > > > Cheers > > Darryl. > > > > Darryl Collins > > Whittle Consulting Pty Ltd > > Suite 8, 660 Canterbury Rd > > Surrey Hills, VIC, 3127 > > > > p: +61 3 9898 3242 > > m: +61 418 381 548 > > f: +61 3 9898 1855 > > e: > darryl at whittleconsulting.com.au > > w: > www.whittleconsulting.com.au > > > > -- > 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 Sep 7 21:00:10 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 7 Sep 2011 22:00:10 -0400 Subject: [AccessD] Wish List. In-Reply-To: <000701cc6dc9$427bde90$c7739bb0$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> Message-ID: I've never tried it, but I wonder if you can make the BackColor of a tab control transparent. I recall that in some (maybe all?) versions, you have an option of where to display the tabs themselves; I think it offered Top, Side and None. As long as we're wishing, I wish there were a Go-To-Control command in form design. Sometimes in complex forms with lots of controls, I can't find ctl_xxx no matter how hard I look. Arthur From vbacreations at gmail.com Wed Sep 7 22:16:16 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Wed, 7 Sep 2011 23:16:16 -0400 Subject: [AccessD] Wish List. In-Reply-To: <4E682D6C.27223.2DDE8F35@stuart.lexacorp.com.pg> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <4E682D6C.27223.2DDE8F35@stuart.lexacorp.com.pg> Message-ID: <000601cc6dd5$acff35d0$06fda170$@gmail.com> Tag property is your friend... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, September 07, 2011 10:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. Group blocks of controls and then drag the groups you are working on down to below the visible area of the screen? On 8 Sep 2011 at 11:47, Darryl Collins wrote: > Been doing a lot of work with forms. In particular single forms with a > lot of controls that are hidden or revealed depending on what options > are available. I really wish MS were inspired by Adobe with how form > design behaves. Why can't forms be layered? So you can work on > individual layers which only have the relevant controls for that > layer, but when the form is displayed all layers are shown, just like > an image in Photoshop for example. > > > > That would be super useful as right now if I want to change anything > on first controls I added, I have to move all of the other controls on > top out of the way, make the changes, and then put them all back > again. A real PITA. Would be wonderful to turn on and off visibility > on the layers and then it would be easy to access any set of controls > that are just on that layer. > > > > I know I can sort of fake this by using tabs, is this a better way or > does anyone has a different angle I can consider? > > > > Cheers > > Darryl. > > > > Darryl Collins > > Whittle Consulting Pty Ltd > > Suite 8, 660 Canterbury Rd > > Surrey Hills, VIC, 3127 > > > > p: +61 3 9898 3242 > > m: +61 418 381 548 > > f: +61 3 9898 1855 > > e: > darryl at whittleconsulting.com.au > > w: > www.whittleconsulting.com.au > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Thu Sep 8 01:18:32 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 7 Sep 2011 23:18:32 -0700 Subject: [AccessD] Wish List. In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> Message-ID: No, you can't, probably because that would defeat the purpose. If you want things to show up on all pages, they have to be on the tab control itself. Anything else only shows up on the page on which it's located. Charlotte Foust On Wed, Sep 7, 2011 at 7:00 PM, Arthur Fuller wrote: > I've never tried it, but I wonder if you can make the BackColor of a tab > control transparent. I recall that in some (maybe all?) versions, you have > an option of where to display the tabs themselves; I think it offered Top, > Side and None. > > As long as we're wishing, I wish there were a Go-To-Control command in form > design. Sometimes in complex forms with lots of controls, I can't find > ctl_xxx no matter how hard I look. > > Arthur > -- > 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 Sep 8 01:21:52 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 8 Sep 2011 16:21:52 +1000 Subject: [AccessD] Wish List. In-Reply-To: <000601cc6dd5$acff35d0$06fda170$@gmail.com> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <4E682D6C.27223.2DDE8F35@stuart.lexacorp.com.pg> <000601cc6dd5$acff35d0$06fda170$@gmail.com> Message-ID: <001401cc6def$9a0ac470$ce204d50$@com.au> Hah, I am already using tags to control which controls are visible when... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Thursday, 8 September 2011 1:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Wish List. Tag property is your friend... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, September 07, 2011 10:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. Group blocks of controls and then drag the groups you are working on down to below the visible area of the screen? On 8 Sep 2011 at 11:47, Darryl Collins wrote: > Been doing a lot of work with forms. In particular single forms with a > lot of controls that are hidden or revealed depending on what options > are available. I really wish MS were inspired by Adobe with how form > design behaves. Why can't forms be layered? So you can work on > individual layers which only have the relevant controls for that > layer, but when the form is displayed all layers are shown, just like > an image in Photoshop for example. > > > > That would be super useful as right now if I want to change anything > on first controls I added, I have to move all of the other controls on > top out of the way, make the changes, and then put them all back > again. A real PITA. Would be wonderful to turn on and off visibility > on the layers and then it would be easy to access any set of controls > that are just on that layer. > > > > I know I can sort of fake this by using tabs, is this a better way or > does anyone has a different angle I can consider? > > > > Cheers > > Darryl. > > > > Darryl Collins > > Whittle Consulting Pty Ltd > > Suite 8, 660 Canterbury Rd > > Surrey Hills, VIC, 3127 > > > > p: +61 3 9898 3242 > > m: +61 418 381 548 > > f: +61 3 9898 1855 > > e: > darryl at whittleconsulting.com.au > > w: > www.whittleconsulting.com.au > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 7 21:09:39 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 7 Sep 2011 19:09:39 -0700 Subject: [AccessD] Wish List. In-Reply-To: <000701cc6dc9$427bde90$c7739bb0$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> Message-ID: Microsoft addressed this years ago by introducing tab controls. Why on earth would you want to use layers that all showed up at the same time? Logically, layers would only show the controls relevant to that layer/page. Charlotte Foust On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Been doing a lot of work with forms. In particular single forms with a lot > of controls that are hidden or revealed depending on what options are > available. I really wish MS were inspired by Adobe with how form design > behaves. Why can't forms be layered? So you can work on individual layers > which only have the relevant controls for that layer, but when the form is > displayed all layers are shown, just like an image in Photoshop for > example. > > > > That would be super useful as right now if I want to change anything on > first controls I added, I have to move all of the other controls on top out > of the way, make the changes, and then put them all back again. A real > PITA. Would be wonderful to turn on and off visibility on the layers and > then it would be easy to access any set of controls that are just on that > layer. > > > > I know I can sort of fake this by using tabs, is this a better way or does > anyone has a different angle I can consider? > > > > Cheers > > Darryl. > > > > Darryl Collins > > Whittle Consulting Pty Ltd > > Suite 8, 660 Canterbury Rd > > Surrey Hills, VIC, 3127 > > > > p: +61 3 9898 3242 > > m: +61 418 381 548 > > f: +61 3 9898 1855 > > e: > darryl at whittleconsulting.com.au > > w: > > www.whittleconsulting.com.au > > > > > > -- > 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 Sep 7 21:37:45 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 7 Sep 2011 22:37:45 -0400 Subject: [AccessD] Of possible interest In-Reply-To: <4470814838CB464C9023DDBC40A42735@creativesystemdesigns.com> References: <7090E912B0544D45A427C7B55D04A980@XPS> <610914D12AB544868F8FF0CBB80BC76B@creativesystemdesigns.com> <4E67B654.2010501@colbyconsulting.com> <4470814838CB464C9023DDBC40A42735@creativesystemdesigns.com> Message-ID: I'm with you on that, Jim. I waste far too much time putzing around with technologies I'm never going to work in. I should learn to concentrate on the two I know best and forget about all the other stuff. On Wed, Sep 7, 2011 at 9:16 PM, Jim Lawrence wrote: > According to a computer expert who has been in the business, forever, > similar to us, (but has been extremely successful with third thriving > companies) he said, "A person can only master one or two technologies and > so > other than a working knowledge in a few, don't waste you time." > > I like that concept so just I will just dump the other 35. ;-) > > Jim > > From jwcolby at colbyconsulting.com Wed Sep 7 23:39:45 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 08 Sep 2011 00:39:45 -0400 Subject: [AccessD] Of possible interest In-Reply-To: <4470814838CB464C9023DDBC40A42735@creativesystemdesigns.com> References: <7090E912B0544D45A427C7B55D04A980@XPS> <610914D12AB544868F8FF0CBB80BC76B@creativesystemdesigns.com> <4E67B654.2010501@colbyconsulting.com> <4470814838CB464C9023DDBC40A42735@creativesystemdesigns.com> Message-ID: <4E684711.3020806@colbyconsulting.com> And that is my point exactly. Every time I look at web stuff it is 37 different things that I have to learn. .Net has finally gotten us down to just a handful. John W. Colby www.ColbyConsulting.com On 9/7/2011 9:16 PM, Jim Lawrence wrote: > According to a computer expert who has been in the business, forever, > similar to us, (but has been extremely successful with third thriving > companies) he said, "A person can only master one or two technologies and so > other than a working knowledge in a few, don't waste you time." > > I like that concept so just I will just dump the other 35. ;-) > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Wednesday, September 07, 2011 11:22 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Of possible interest > > LOL. Not until they condense the 37 different technologies required down > into one or two. > > John W. Colby > www.ColbyConsulting.com > > On 9/7/2011 1:57 PM, Jim Lawrence wrote: >> Excellent news and about time... It will not be long before we are all > going >> web based. >> >> Jim >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman >> Sent: Wednesday, September 07, 2011 6:51 AM >> To: 'Access Developers discussion and problem solving' >> Subject: [AccessD] Of possible interest >> >> picked this up from another list /group: >> >> > http://www.zdnet.com/blog/microsoft/microsoft-to-focus-on-html5-and-javascri >> pt-for-office-15-extensions/10266 >> >> Something to think about... >> >> Jim. From accessd at shaw.ca Wed Sep 7 22:22:50 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 7 Sep 2011 20:22:50 -0700 Subject: [AccessD] Wish List. In-Reply-To: <000701cc6dc9$427bde90$c7739bb0$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> Message-ID: <119C27B2D4EF415DBBFB653662F6DFEA@creativesystemdesigns.com> You are right "tab faking" is the best so far. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, September 07, 2011 6:47 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Wish List. Been doing a lot of work with forms. In particular single forms with a lot of controls that are hidden or revealed depending on what options are available. I really wish MS were inspired by Adobe with how form design behaves. Why can't forms be layered? So you can work on individual layers which only have the relevant controls for that layer, but when the form is displayed all layers are shown, just like an image in Photoshop for example. That would be super useful as right now if I want to change anything on first controls I added, I have to move all of the other controls on top out of the way, make the changes, and then put them all back again. A real PITA. Would be wonderful to turn on and off visibility on the layers and then it would be easy to access any set of controls that are just on that layer. I know I can sort of fake this by using tabs, is this a better way or does anyone has a different angle I can consider? Cheers Darryl. Darryl Collins Whittle Consulting Pty Ltd Suite 8, 660 Canterbury Rd Surrey Hills, VIC, 3127 p: +61 3 9898 3242 m: +61 418 381 548 f: +61 3 9898 1855 e: darryl at whittleconsulting.com.au w: www.whittleconsulting.com.au -- 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 Sep 8 01:57:21 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 8 Sep 2011 16:57:21 +1000 Subject: [AccessD] Wish List. In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> Message-ID: <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> Hi Charlotte - forgive me for this as I really respect your opinion, but I am not sure you understand how layers work in other applications - they would never show up all at the same time (unless that is what you wanted). You can control which ones are visible to the user - might be one, might be several in different combinations and you can show and reveal based on what the user needs. Layers would also have the huge advantage of allowing you to edit each layer individually in design mode. So you have no need to move controls out of the way to get to a control that is under another one. Have play in photoshop if you get the chance and you will see how useful this method is. I know I can fake it using a tab form but the result is less elegant you cannot hide the tab label itself and it is a pain to ensure all the controls on each tab is aligned. Blah blah, I have resorted to tabs in the past and it is a clunky solution for what I am trying to do. That said, sometimes tabbed forms are the way to go. Just depends on what you want to achieve. In this instance I was thinking "Man, wish I had a layered design view"... Just my thoughts. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 8 September 2011 12:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. Microsoft addressed this years ago by introducing tab controls. Why on earth would you want to use layers that all showed up at the same time? Logically, layers would only show the controls relevant to that layer/page. Charlotte Foust On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Been doing a lot of work with forms. In particular single forms with a lot > of controls that are hidden or revealed depending on what options are > available. I really wish MS were inspired by Adobe with how form design > behaves. Why can't forms be layered? So you can work on individual layers > which only have the relevant controls for that layer, but when the form is > displayed all layers are shown, just like an image in Photoshop for > example. > > > > That would be super useful as right now if I want to change anything on > first controls I added, I have to move all of the other controls on top out > of the way, make the changes, and then put them all back again. A real > PITA. Would be wonderful to turn on and off visibility on the layers and > then it would be easy to access any set of controls that are just on that > layer. > > > > I know I can sort of fake this by using tabs, is this a better way or does > anyone has a different angle I can consider? > > > > Cheers > > Darryl. > > > > Darryl Collins > > Whittle Consulting Pty Ltd > > Suite 8, 660 Canterbury Rd > > Surrey Hills, VIC, 3127 > > > > p: +61 3 9898 3242 > > m: +61 418 381 548 > > f: +61 3 9898 1855 > > e: > darryl at whittleconsulting.com.au > > w: > > www.whittleconsulting.com.au > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 8 08:12:51 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Thu, 8 Sep 2011 09:12:51 -0400 Subject: [AccessD] Wish List. In-Reply-To: <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> Message-ID: <000d01cc6e29$03d46f30$0b7d4d90$@gmail.com> Hear Hear! Or is it "Here Here!" Either way, I'm with you Darryl. It's amazing what Access developers put up with, and what the user is still willing to pay for (for now). Maybe a way you can handle this is to build several forms with identical controls (or supplemental ones) but a single naming scheme, to depict scenario-based controls in the proper position. The sterile forms just hold controls, no data and no code. The "live" form is the one which keeps all controls, but basically has anything not needed in a "scenario" tucked out of the visible range. Any time a scenario changes, you consult the sterile form, put all the control names and positions and sizes in an array (might not really need the sizes, but might if you had to play with sizes of the live-form's controls in order to "park" them somewhere out of the way etc)... then build a collection of all controls NOT in that array, park them out of the way, then reposition what is left over according to the array of controls you read off the sterile forms. Just an idea ... keeps your options open. Bill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Thursday, September 08, 2011 2:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Wish List. Hi Charlotte - forgive me for this as I really respect your opinion, but I am not sure you understand how layers work in other applications - they would never show up all at the same time (unless that is what you wanted). You can control which ones are visible to the user - might be one, might be several in different combinations and you can show and reveal based on what the user needs. Layers would also have the huge advantage of allowing you to edit each layer individually in design mode. So you have no need to move controls out of the way to get to a control that is under another one. Have play in photoshop if you get the chance and you will see how useful this method is. I know I can fake it using a tab form but the result is less elegant you cannot hide the tab label itself and it is a pain to ensure all the controls on each tab is aligned. Blah blah, I have resorted to tabs in the past and it is a clunky solution for what I am trying to do. That said, sometimes tabbed forms are the way to go. Just depends on what you want to achieve. In this instance I was thinking "Man, wish I had a layered design view"... Just my thoughts. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 8 September 2011 12:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. Microsoft addressed this years ago by introducing tab controls. Why on earth would you want to use layers that all showed up at the same time? Logically, layers would only show the controls relevant to that layer/page. Charlotte Foust On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Been doing a lot of work with forms. In particular single forms with a lot > of controls that are hidden or revealed depending on what options are > available. I really wish MS were inspired by Adobe with how form design > behaves. Why can't forms be layered? So you can work on individual layers > which only have the relevant controls for that layer, but when the form is > displayed all layers are shown, just like an image in Photoshop for > example. > > > > That would be super useful as right now if I want to change anything on > first controls I added, I have to move all of the other controls on top out > of the way, make the changes, and then put them all back again. A real > PITA. Would be wonderful to turn on and off visibility on the layers and > then it would be easy to access any set of controls that are just on that > layer. > > > > I know I can sort of fake this by using tabs, is this a better way or does > anyone has a different angle I can consider? > > > > Cheers > > Darryl. > > > > Darryl Collins > > Whittle Consulting Pty Ltd > > Suite 8, 660 Canterbury Rd > > Surrey Hills, VIC, 3127 > > > > p: +61 3 9898 3242 > > m: +61 418 381 548 > > f: +61 3 9898 1855 > > e: > darryl at whittleconsulting.com.au > > w: > > www.whittleconsulting.com.au > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 rusty.hammond at cpiqpc.com Thu Sep 8 08:45:31 2011 From: rusty.hammond at cpiqpc.com (Rusty Hammond) Date: Thu, 8 Sep 2011 08:45:31 -0500 Subject: [AccessD] Wish List. In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> Message-ID: <49A286ABF515E94A8505CD14DEB721701744A125@CPIEMAIL-EVS1.CPIQPC.NET> Arthur, In design view, on the Formatting toolbar, there is a drop down that lists all of the controls on your form. Pick the control you want and it selects that control on the form. HTH, Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, September 07, 2011 9:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. I've never tried it, but I wonder if you can make the BackColor of a tab control transparent. I recall that in some (maybe all?) versions, you have an option of where to display the tabs themselves; I think it offered Top, Side and None. As long as we're wishing, I wish there were a Go-To-Control command in form design. Sometimes in complex forms with lots of controls, I can't find ctl_xxx no matter how hard I look. Arthur -- 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 Gustav at cactus.dk Thu Sep 8 08:51:45 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 08 Sep 2011 15:51:45 +0200 Subject: [AccessD] Wish List. Message-ID: Hi Darryl Perhaps you could use a paged form. One page for each scenario. Controls needed on more than one page you just duplicate. It's the technique used for wizards in the (old) versions of Access; move Next or Back just moves the form to the next or previous page. Simple and fast. /gustav >>> darryl at whittleconsulting.com.au 08-09-2011 08:57 >>> Hi Charlotte - forgive me for this as I really respect your opinion, but I am not sure you understand how layers work in other applications - they would never show up all at the same time (unless that is what you wanted). You can control which ones are visible to the user - might be one, might be several in different combinations and you can show and reveal based on what the user needs. Layers would also have the huge advantage of allowing you to edit each layer individually in design mode. So you have no need to move controls out of the way to get to a control that is under another one. Have play in photoshop if you get the chance and you will see how useful this method is. I know I can fake it using a tab form but the result is less elegant you cannot hide the tab label itself and it is a pain to ensure all the controls on each tab is aligned. Blah blah, I have resorted to tabs in the past and it is a clunky solution for what I am trying to do. That said, sometimes tabbed forms are the way to go. Just depends on what you want to achieve. In this instance I was thinking "Man, wish I had a layered design view"... Just my thoughts. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 8 September 2011 12:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. Microsoft addressed this years ago by introducing tab controls. Why on earth would you want to use layers that all showed up at the same time? Logically, layers would only show the controls relevant to that layer/page. Charlotte Foust On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Been doing a lot of work with forms. In particular single forms with a lot > of controls that are hidden or revealed depending on what options are > available. I really wish MS were inspired by Adobe with how form design > behaves. Why can't forms be layered? So you can work on individual layers > which only have the relevant controls for that layer, but when the form is > displayed all layers are shown, just like an image in Photoshop for > example. > > That would be super useful as right now if I want to change anything on > first controls I added, I have to move all of the other controls on top out > of the way, make the changes, and then put them all back again. A real > PITA. Would be wonderful to turn on and off visibility on the layers and > then it would be easy to access any set of controls that are just on that > layer. > > I know I can sort of fake this by using tabs, is this a better way or does > anyone has a different angle I can consider? > > Cheers > Darryl. From tinanfields at torchlake.com Thu Sep 8 09:18:30 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 08 Sep 2011 10:18:30 -0400 Subject: [AccessD] How to troubleshoot In-Reply-To: <4E563B61.30005@colbyconsulting.com> References: <4E55B105.8070604@colbyconsulting.com> <4E563B61.30005@colbyconsulting.com> Message-ID: <4E68CEB6.6010802@torchlake.com> Now THAT'S weird! But, I have to admit I've run into similar situations, and I have no clue what's really going on! T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 8/25/2011 8:09 AM, jwcolby wrote: > Rocky, > > In my case I am developing in Access 2003 but running it under 2007 > runtime so that I can distribute it for free. The application ran > everywhere except under runtime. The application was running, even > under runtime, and then something occurred in a version about a month > ago and it stopped running under runtime, returning that error > message. It still ran under the dev environment. Another application > I built was still running under runtime, so it is not the runtime > install. > > I found the latest version that still ran under runtime and started > comparing the startup code. Basically the "bad" version was failing > even before my little security log in form opened. > > There is an Init() function with about 8 functions which init() calls > and I decided to start at the very end and comment out line by line > until the db opened. The very last line in Init() opened the > switchboard. That line cannot even run until the log in occurs, > however when I commented out that last line (open switchboard) the > database opened under runtime and allowed me to log in, although it > didn't open the switchboard after the log in (of course). > > Hmmmm... a line of code not even reached is preventing the database > from even opening. > > I uncommented that line and it still runs under runtime. Hmm.... > > Problem solved, but what was the problem? > > I had done a complete decompile / compile / compact cycle and that did > not solve the problem, but commenting and uncommenting a line that is > not even executed until after log in allows the database to open, let > me log in and open the switchboard. > > John W. Colby > www.ColbyConsulting.com > > On 8/25/2011 12:23 AM, Rocky Smolin wrote: >> Don't know but I'm getting that "has stopped working" in 2003 in both >> Access >> and Outlook (don't use word or excel much but they may have the same >> problem) - Access in mdbs, Outlook when I'm writing an email. Don't >> know >> what to do about it. >> >> Rocky >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: August 24, 2011 7:19 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] How to troubleshoot >> >> Any clue how to troubleshoot "Access has stopped working" in the 2007 >> runtime? I have a version that works just fine, and another app >> works just >> fine but the latest version just immediately closes giving that error >> message. "A problem sending a command to the program". >> >> -- >> John W. Colby >> www.ColbyConsulting.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> From tinanfields at torchlake.com Thu Sep 8 09:38:47 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 08 Sep 2011 10:38:47 -0400 Subject: [AccessD] 12-biggest-pc-duds-ever In-Reply-To: <005101cc6383$88e24ea0$9aa6ebe0$@gmail.com> References: <005101cc6383$88e24ea0$9aa6ebe0$@gmail.com> Message-ID: <4E68D377.6080709@torchlake.com> Fascinating! I bought the Commodore 128 in 1986 and used it for doing things like printing customized airway bills for my customers (at the time I was in outside sales for an international air freight forwarder). I had it and used it when I went back to college in 1988. Learned most of my BASIC programming on that machine. It could be run CPM or something like DOS (not real DOS, but something like it). When I bought my 'luggable' lunch-box-style portable computer (40Mb hard drive, LED screen, 640K RAM), I continued to use the Commodore as my second or stand-by machine. By the time I moved back to my family farm in Michigan (1991), the Commodore was just something I couldn't quite let go of, but never really used - except for the monitor - that was one really nice monitor! T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 8/25/2011 8:03 PM, William Benson (VBACreations.Com) wrote: > Might interest those who did or did not buy one of these... > http://www.pcmag.com/slideshow/story/286031/the-12-biggest-pc-duds-ever/1 > > From marksimms at verizon.net Thu Sep 8 10:51:57 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 08 Sep 2011 11:51:57 -0400 Subject: [AccessD] Of possible interest In-Reply-To: <4470814838CB464C9023DDBC40A42735@creativesystemdesigns.com> References: <7090E912B0544D45A427C7B55D04A980@XPS> <610914D12AB544868F8FF0CBB80BC76B@creativesystemdesigns.com> <4E67B654.2010501@colbyconsulting.com> <4470814838CB464C9023DDBC40A42735@creativesystemdesigns.com> Message-ID: <014b01cc6e3f$3e809170$bb81b450$@net> Webdev has always been a endeavor similar to making sausage. This never seems to change. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Wednesday, September 07, 2011 9:16 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Of possible interest > > According to a computer expert who has been in the business, forever, > similar to us, (but has been extremely successful with third thriving > companies) he said, "A person can only master one or two technologies > and so > other than a working knowledge in a few, don't waste you time." > > I like that concept so just I will just dump the other 35. ;-) > > Jim > > From charlotte.foust at gmail.com Thu Sep 8 10:56:16 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 8 Sep 2011 08:56:16 -0700 Subject: [AccessD] Wish List. In-Reply-To: <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> Message-ID: I do know how they work, but I was confused by what I understood of your description. What you're describing is exactly what tab controls are for, and I've used them that way in both Access and VB.Net. All you need to do with a tab control is select the tab page and that brings the controls on that page up for you to edit. In effect, you see them the way the user does, except for any controls that you make conditionally visible to the user when that page is up. Those, of course, you see in design view all the time. I'm not sure what you mean about not hiding the tab label. If you're talking about the tabs themselves, they can be turned off so that you control the visible page through code. In Access and .Net, I simply have used the top and left settigs to insure that things lined up. How hard is that? As for photoshop, I hate it. It seems to me the ultimate in non-intuitive UIs, but I admit to being a luddite on some issues, especially with respect to graphics. Charlotte Foust On Wed, Sep 7, 2011 at 11:57 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hi Charlotte - forgive me for this as I really respect your opinion, but I > am not sure you understand how layers work in other applications - they > would never show up all at the same time (unless that is what you wanted). > You can control which ones are visible to the user - might be one, might be > several in different combinations and you can show and reveal based on what > the user needs. > > Layers would also have the huge advantage of allowing you to edit each > layer > individually in design mode. So you have no need to move controls out of > the way to get to a control that is under another one. Have play in > photoshop if you get the chance and you will see how useful this method is. > I know I can fake it using a tab form but the result is less elegant you > cannot hide the tab label itself and it is a pain to ensure all the > controls > on each tab is aligned. Blah blah, I have resorted to tabs in the past and > it is a clunky solution for what I am trying to do. > > That said, sometimes tabbed forms are the way to go. Just depends on what > you want to achieve. In this instance I was thinking "Man, wish I had a > layered design view"... > > Just my thoughts. > Cheers > Darryl. > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Thursday, 8 September 2011 12:10 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Wish List. > > Microsoft addressed this years ago by introducing tab controls. Why on > earth would you want to use layers that all showed up at the same time? > Logically, layers would only show the controls relevant to that layer/page. > > Charlotte Foust > On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Been doing a lot of work with forms. In particular single forms with a > lot > > of controls that are hidden or revealed depending on what options are > > available. I really wish MS were inspired by Adobe with how form design > > behaves. Why can't forms be layered? So you can work on individual > layers > > which only have the relevant controls for that layer, but when the form > is > > displayed all layers are shown, just like an image in Photoshop for > > example. > > > > > > > > That would be super useful as right now if I want to change anything on > > first controls I added, I have to move all of the other controls on top > out > > of the way, make the changes, and then put them all back again. A real > > PITA. Would be wonderful to turn on and off visibility on the layers and > > then it would be easy to access any set of controls that are just on that > > layer. > > > > > > > > I know I can sort of fake this by using tabs, is this a better way or > does > > anyone has a different angle I can consider? > > > > > > > > Cheers > > > > Darryl. > > > > > > > > Darryl Collins > > > > Whittle Consulting Pty Ltd > > > > Suite 8, 660 Canterbury Rd > > > > Surrey Hills, VIC, 3127 > > > > > > > > p: +61 3 9898 3242 > > > > m: +61 418 381 548 > > > > f: +61 3 9898 1855 > > > > e: > > darryl at whittleconsulting.com.au > > > > w: > > > > > > www.whittleconsulting.com.au > > > > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From marksimms at verizon.net Thu Sep 8 12:47:27 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 08 Sep 2011 13:47:27 -0400 Subject: [AccessD] Wish List. In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> Message-ID: <018301cc6e4f$60f20fd0$22d62f70$@net> I think there is some confusion here over multipage vs. tab controls. I never really determined how/when to use the latter. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Thursday, September 08, 2011 11:56 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Wish List. > > I do know how they work, but I was confused by what I understood of > your > description. What you're describing is exactly what tab controls are > for, > and I've used them that way in both Access and VB.Net. All you need to > do > with a tab control is select the tab page and that brings the controls > on > that page up for you to edit. In effect, you see them the way the user > does, except for any controls that you make conditionally visible to > the > user when that page is up. Those, of course, you see in design view > all the > time. From charlotte.foust at gmail.com Thu Sep 8 13:13:23 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 8 Sep 2011 11:13:23 -0700 Subject: [AccessD] Wish List. In-Reply-To: <018301cc6e4f$60f20fd0$22d62f70$@net> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> Message-ID: I never do multipage without tab controls, there are just too many drawbacks and problems otherwise. Each tab page contains either controls or subforms, which contain controls. It depends on whether the entire form is bound to one data set or each page draws from different sources. That eliminates the need for a complicated query behind the main form because each subform on whichever tab page has its own data source and is bound to the parent dataset using the master/child links or bound JIT. Alternatively (JIT), unbound subforms are populated from code based on whatever criteria are set at the parent level, but not until the tab page has been selected. On Thu, Sep 8, 2011 at 10:47 AM, Mark Simms wrote: > I think there is some confusion here over multipage vs. tab controls. > I never really determined how/when to use the latter. > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > > bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > > Sent: Thursday, September 08, 2011 11:56 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Wish List. > > > > I do know how they work, but I was confused by what I understood of > > your > > description. What you're describing is exactly what tab controls are > > for, > > and I've used them that way in both Access and VB.Net. All you need to > > do > > with a tab control is select the tab page and that brings the controls > > on > > that page up for you to edit. In effect, you see them the way the user > > does, except for any controls that you make conditionally visible to > > the > > user when that page is up. Those, of course, you see in design view > > all the > > time. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From jwcolby at colbyconsulting.com Thu Sep 8 13:20:48 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 08 Sep 2011 14:20:48 -0400 Subject: [AccessD] Wish List. In-Reply-To: <018301cc6e4f$60f20fd0$22d62f70$@net> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> Message-ID: <4E690780.30904@colbyconsulting.com> I also think there is some confusion about what page means. There is actually a page control which if inserted on a form causes the form to "page down" when the page down control is hit. It is nothing more than a tiny little control that is inserted at some point vertically in the form. I never use it because it feels clunky. What another lister was discussing is dynamically loading forms as the user moves through "pages" of a wizard. that is completely different. In that case all of the controls are literally in a subform which is of course just another form. John W. Colby www.ColbyConsulting.com On 9/8/2011 1:47 PM, Mark Simms wrote: > I think there is some confusion here over multipage vs. tab controls. > I never really determined how/when to use the latter. > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd- >> bounces at databaseadvisors.com] On Behalf Of Charlotte Foust >> Sent: Thursday, September 08, 2011 11:56 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Wish List. >> >> I do know how they work, but I was confused by what I understood of >> your >> description. What you're describing is exactly what tab controls are >> for, >> and I've used them that way in both Access and VB.Net. All you need to >> do >> with a tab control is select the tab page and that brings the controls >> on >> that page up for you to edit. In effect, you see them the way the user >> does, except for any controls that you make conditionally visible to >> the >> user when that page is up. Those, of course, you see in design view >> all the >> time. > > From marksimms at verizon.net Thu Sep 8 14:18:40 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 08 Sep 2011 15:18:40 -0400 Subject: [AccessD] Wish List. In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> Message-ID: <003101cc6e5c$1e87bac0$5b973040$@net> Once again I think confusion abounds: Multipage has tabs with associated pages to allow insertion of other controls, etc. The Tab Control is just this tiny thing that has tabs with no pages. From jimdettman at verizon.net Thu Sep 8 15:10:45 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 08 Sep 2011 16:10:45 -0400 Subject: [AccessD] Wish List. In-Reply-To: <4E690780.30904@colbyconsulting.com> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <4E690780.30904@colbyconsulting.com> Message-ID: <741B2D4E45DD422F9132F66C063664FE@XPS> I used the pages breaks in forms before there was a tab control. I placed page buttons in the group footer along with some hidden controls in each section to jump to a "page". It was extremely fast. The major limitation of course was 22" of space. Tab controls solved that, so there is really no reason to use the page breaks anymore. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, September 08, 2011 02:21 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. I also think there is some confusion about what page means. There is actually a page control which if inserted on a form causes the form to "page down" when the page down control is hit. It is nothing more than a tiny little control that is inserted at some point vertically in the form. I never use it because it feels clunky. What another lister was discussing is dynamically loading forms as the user moves through "pages" of a wizard. that is completely different. In that case all of the controls are literally in a subform which is of course just another form. John W. Colby www.ColbyConsulting.com On 9/8/2011 1:47 PM, Mark Simms wrote: > I think there is some confusion here over multipage vs. tab controls. > I never really determined how/when to use the latter. > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd- >> bounces at databaseadvisors.com] On Behalf Of Charlotte Foust >> Sent: Thursday, September 08, 2011 11:56 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Wish List. >> >> I do know how they work, but I was confused by what I understood of >> your >> description. What you're describing is exactly what tab controls are >> for, >> and I've used them that way in both Access and VB.Net. All you need to >> do >> with a tab control is select the tab page and that brings the controls >> on >> that page up for you to edit. In effect, you see them the way the user >> does, except for any controls that you make conditionally visible to >> the >> user when that page is up. Those, of course, you see in design view >> all the >> time. > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Thu Sep 8 15:34:12 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Thu, 8 Sep 2011 16:34:12 -0400 Subject: [AccessD] Wish List. In-Reply-To: <741B2D4E45DD422F9132F66C063664FE@XPS> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <4E690780.30904@colbyconsulting.com> <741B2D4E45DD422F9132F66C063664FE@XPS> Message-ID: <001501cc6e66$aeed7960$0cc86c20$@gmail.com> Hey - since I just whipped the idea off the top of my head I would love to hear feedback (good or bad - no sense chasing a bad idea either) on the idea I posted back in this thread (multiple forms to help with layout issues). Thx. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, September 08, 2011 4:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Wish List. I used the pages breaks in forms before there was a tab control. I placed page buttons in the group footer along with some hidden controls in each section to jump to a "page". It was extremely fast. The major limitation of course was 22" of space. Tab controls solved that, so there is really no reason to use the page breaks anymore. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, September 08, 2011 02:21 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. I also think there is some confusion about what page means. There is actually a page control which if inserted on a form causes the form to "page down" when the page down control is hit. It is nothing more than a tiny little control that is inserted at some point vertically in the form. I never use it because it feels clunky. What another lister was discussing is dynamically loading forms as the user moves through "pages" of a wizard. that is completely different. In that case all of the controls are literally in a subform which is of course just another form. John W. Colby www.ColbyConsulting.com On 9/8/2011 1:47 PM, Mark Simms wrote: > I think there is some confusion here over multipage vs. tab controls. > I never really determined how/when to use the latter. > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd- >> bounces at databaseadvisors.com] On Behalf Of Charlotte Foust >> Sent: Thursday, September 08, 2011 11:56 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Wish List. >> >> I do know how they work, but I was confused by what I understood of >> your >> description. What you're describing is exactly what tab controls are >> for, >> and I've used them that way in both Access and VB.Net. All you need to >> do >> with a tab control is select the tab page and that brings the controls >> on >> that page up for you to edit. In effect, you see them the way the user >> does, except for any controls that you make conditionally visible to >> the >> user when that page is up. Those, of course, you see in design view >> all the >> time. > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Thu Sep 8 15:48:26 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 8 Sep 2011 13:48:26 -0700 Subject: [AccessD] Wish List. In-Reply-To: <003101cc6e5c$1e87bac0$5b973040$@net> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <003101cc6e5c$1e87bac0$5b973040$@net> Message-ID: I'm not sure which version the multipage control was introduced in (probably 2007), but it serves the same purpose as the tab control was introduced for back in A95 or A97. Tab controls actually do have pages, which you insert much the same way, although they aren't very intuitive either. I don't know why they came up with another control to do the same thing, but such is the world of Microsoft. Charlotte Foust On Thu, Sep 8, 2011 at 12:18 PM, Mark Simms wrote: > Once again I think confusion abounds: > Multipage has tabs with associated pages to allow insertion of other > controls, etc. > The Tab Control is just this tiny thing that has tabs with no pages. > > > -- > 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 Sep 8 18:48:17 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Fri, 9 Sep 2011 09:48:17 +1000 Subject: [AccessD] Wish List. In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <003101cc6e5c$1e87bac0$5b973040$@net> Message-ID: <000001cc6e81$c8c7de00$5a579a00$@com.au> Aaah, thanks everyone for their thoughts and comments. It is entirely possible that I am just doing this the hard way (wouldn't be the first time). Anyway, I will probably end up using tabs like always. I don't like the way you have to leave the label visible at the top of the page though - even if only one tab is displayed. Visually it is not what I want, but I guess its all I have to work with. Anyway, didn't mean to get folks fired up about what is a tab or what is a page. Sometimes I think it would be nice if you could take the best of all the software UI and include it in a single package. Ok: Here is another prime example of poor user functionality - or more like sheer bloody laziness on behalf of MSoft. If I am using Firefox tabs in the browser, right on the *Active* tab there is a little "X" on the RHS of that tab that allows you to close it. Nice and useful, don't have to move the mouse far and it is darn clear which tab you are going to close. In A2007 (which uses a tab setup to display all the open DB objects such as forms, tables, queries etc) the close button is on the extreme RHS of the *Screen* - freakin miles away from where you are actually working. Now I have huge widescreen monitor at work and if I have single tab open there is about 1 foot (say 28 cms) of screen real estate between the active tab I am working on, and the little 'close tab' "x" on the RHS of the screen. Even more annoying is if you have many tabs open, you need to double check the one want to close is indeed the active tab before pressing the "x" - ok there are other ways of closing the tab, such as right mouse click directly on the tab, but why on earth didn't they just put the close "X" on the active tab like everyone else does. Little gripes, I wouldn't mind so much if I didn't have to pay MS so darn much for their software. I don't mind paying, but I expect better functionality and performance than I can get for free from other vendors. Heh, can you tell I need a coffee ;) Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, 9 September 2011 6:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. I'm not sure which version the multipage control was introduced in (probably 2007), but it serves the same purpose as the tab control was introduced for back in A95 or A97. Tab controls actually do have pages, which you insert much the same way, although they aren't very intuitive either. I don't know why they came up with another control to do the same thing, but such is the world of Microsoft. Charlotte Foust On Thu, Sep 8, 2011 at 12:18 PM, Mark Simms wrote: > Once again I think confusion abounds: > Multipage has tabs with associated pages to allow insertion of other > controls, etc. > The Tab Control is just this tiny thing that has tabs with no pages. > From vbacreations at gmail.com Thu Sep 8 18:57:01 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 8 Sep 2011 19:57:01 -0400 Subject: [AccessD] Wish List. In-Reply-To: <000001cc6e81$c8c7de00$5a579a00$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <003101cc6e5c$1e87bac0$5b973040$@net> <000001cc6e81$c8c7de00$5a579a00$@com.au> Message-ID: Or had too much coffee ... On Sep 8, 2011 7:53 PM, "Darryl Collins" wrote: > Aaah, thanks everyone for their thoughts and comments. It is entirely > possible that I am just doing this the hard way (wouldn't be the first > time). Anyway, I will probably end up using tabs like always. > > I don't like the way you have to leave the label visible at the top of the > page though - even if only one tab is displayed. Visually it is not what I > want, but I guess its all I have to work with. > > Anyway, didn't mean to get folks fired up about what is a tab or what is a > page. Sometimes I think it would be nice if you could take the best of all > the software UI and include it in a single package. > > Ok: Here is another prime example of poor user functionality - or more like > sheer bloody laziness on behalf of MSoft. If I am using Firefox tabs in the > browser, right on the *Active* tab there is a little "X" on the RHS of that > tab that allows you to close it. Nice and useful, don't have to move the > mouse far and it is darn clear which tab you are going to close. > > In A2007 (which uses a tab setup to display all the open DB objects such as > forms, tables, queries etc) the close button is on the extreme RHS of the > *Screen* - freakin miles away from where you are actually working. Now I > have huge widescreen monitor at work and if I have single tab open there is > about 1 foot (say 28 cms) of screen real estate between the active tab I am > working on, and the little 'close tab' "x" on the RHS of the screen. Even > more annoying is if you have many tabs open, you need to double check the > one want to close is indeed the active tab before pressing the "x" > > - ok there are other ways of closing the tab, such as right mouse click > directly on the tab, but why on earth didn't they just put the close "X" on > the active tab like everyone else does. > > Little gripes, I wouldn't mind so much if I didn't have to pay MS so darn > much for their software. I don't mind paying, but I expect better > functionality and performance than I can get for free from other vendors. > > Heh, can you tell I need a coffee ;) > > Cheers > Darryl. > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Friday, 9 September 2011 6:48 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Wish List. > > I'm not sure which version the multipage control was introduced in (probably > 2007), but it serves the same purpose as the tab control was introduced for > back in A95 or A97. Tab controls actually do have pages, which you insert > much the same way, although they aren't very intuitive either. I don't know > why they came up with another control to do the same thing, but such is the > world of Microsoft. > > Charlotte Foust > > On Thu, Sep 8, 2011 at 12:18 PM, Mark Simms wrote: > >> Once again I think confusion abounds: >> Multipage has tabs with associated pages to allow insertion of other >> controls, etc. >> The Tab Control is just this tiny thing that has tabs with no pages. >> > > > -- > 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 Sep 8 19:02:07 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Fri, 9 Sep 2011 10:02:07 +1000 Subject: [AccessD] Wish List. In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> Message-ID: <000101cc6e83$b72b2150$258163f0$@com.au> " I'm not sure what you mean about not hiding the tab label." At the top of every tab you have a label (tab) which sticks up above the rest of the form - the bit the user presses to change tabs if more than one tab is visible. The problem is even if only 1 tab is visible you cannot hide this label which stick out above the rest of the form/page. Visually this is not what we want to see. Maybe I am just anal about this sort of thing, but it looks ugly, at least for what I am try to achieve. Don't get me wrong, I am not anti-tabbed forms/pages. I have used the extensively in the past and will do so again. It is just in this one instance using tabs seems (and looks) like a cheap and tacky workaround. Cheers Darryl,. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, 9 September 2011 1:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. I do know how they work, but I was confused by what I understood of your description. What you're describing is exactly what tab controls are for, and I've used them that way in both Access and VB.Net. All you need to do with a tab control is select the tab page and that brings the controls on that page up for you to edit. In effect, you see them the way the user does, except for any controls that you make conditionally visible to the user when that page is up. Those, of course, you see in design view all the time. I'm not sure what you mean about not hiding the tab label. If you're talking about the tabs themselves, they can be turned off so that you control the visible page through code. In Access and .Net, I simply have used the top and left settigs to insure that things lined up. How hard is that? As for photoshop, I hate it. It seems to me the ultimate in non-intuitive UIs, but I admit to being a luddite on some issues, especially with respect to graphics. Charlotte Foust On Wed, Sep 7, 2011 at 11:57 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hi Charlotte - forgive me for this as I really respect your opinion, but I > am not sure you understand how layers work in other applications - they > would never show up all at the same time (unless that is what you wanted). > You can control which ones are visible to the user - might be one, might be > several in different combinations and you can show and reveal based on what > the user needs. > > Layers would also have the huge advantage of allowing you to edit each > layer > individually in design mode. So you have no need to move controls out of > the way to get to a control that is under another one. Have play in > photoshop if you get the chance and you will see how useful this method is. > I know I can fake it using a tab form but the result is less elegant you > cannot hide the tab label itself and it is a pain to ensure all the > controls > on each tab is aligned. Blah blah, I have resorted to tabs in the past and > it is a clunky solution for what I am trying to do. > > That said, sometimes tabbed forms are the way to go. Just depends on what > you want to achieve. In this instance I was thinking "Man, wish I had a > layered design view"... > > Just my thoughts. > Cheers > Darryl. > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Thursday, 8 September 2011 12:10 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Wish List. > > Microsoft addressed this years ago by introducing tab controls. Why on > earth would you want to use layers that all showed up at the same time? > Logically, layers would only show the controls relevant to that layer/page. > > Charlotte Foust > On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Been doing a lot of work with forms. In particular single forms with a > lot > > of controls that are hidden or revealed depending on what options are > > available. I really wish MS were inspired by Adobe with how form design > > behaves. Why can't forms be layered? So you can work on individual > layers > > which only have the relevant controls for that layer, but when the form > is > > displayed all layers are shown, just like an image in Photoshop for > > example. > > > > > > > > That would be super useful as right now if I want to change anything on > > first controls I added, I have to move all of the other controls on top > out > > of the way, make the changes, and then put them all back again. A real > > PITA. Would be wonderful to turn on and off visibility on the layers and > > then it would be easy to access any set of controls that are just on that > > layer. > > > > > > > > I know I can sort of fake this by using tabs, is this a better way or > does > > anyone has a different angle I can consider? > > > > > > > > Cheers > > > > Darryl. > > > > > > > > Darryl Collins > > > > Whittle Consulting Pty Ltd > > > > Suite 8, 660 Canterbury Rd > > > > Surrey Hills, VIC, 3127 > > > > > > > > p: +61 3 9898 3242 > > > > m: +61 418 381 548 > > > > f: +61 3 9898 1855 > > > > e: > > darryl at whittleconsulting.com.au > > > > w: > > > > > > www.whittleconsulting.com.au > > > > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 Thu Sep 8 19:06:39 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 8 Sep 2011 17:06:39 -0700 Subject: [AccessD] Wish List. In-Reply-To: <000001cc6e81$c8c7de00$5a579a00$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <003101cc6e5c$1e87bac0$5b973040$@net> <000001cc6e81$c8c7de00$5a579a00$@com.au> Message-ID: The way we handled the X button issue in VB.Net was to have a close/back/exit button (with caption) in a standard location at the bottom of all forms, along with a menu item at the top to call the same routine. The rule of thumb was to always give the user multiple ways of getting there. Charlotte Foust On Thu, Sep 8, 2011 at 4:48 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Aaah, thanks everyone for their thoughts and comments. It is entirely > possible that I am just doing this the hard way (wouldn't be the first > time). Anyway, I will probably end up using tabs like always. > > I don't like the way you have to leave the label visible at the top of the > page though - even if only one tab is displayed. Visually it is not what I > want, but I guess its all I have to work with. > > Anyway, didn't mean to get folks fired up about what is a tab or what is a > page. Sometimes I think it would be nice if you could take the best of all > the software UI and include it in a single package. > > Ok: Here is another prime example of poor user functionality - or more like > sheer bloody laziness on behalf of MSoft. If I am using Firefox tabs in > the > browser, right on the *Active* tab there is a little "X" on the RHS of that > tab that allows you to close it. Nice and useful, don't have to move the > mouse far and it is darn clear which tab you are going to close. > > In A2007 (which uses a tab setup to display all the open DB objects such as > forms, tables, queries etc) the close button is on the extreme RHS of the > *Screen* - freakin miles away from where you are actually working. Now I > have huge widescreen monitor at work and if I have single tab open there is > about 1 foot (say 28 cms) of screen real estate between the active tab I am > working on, and the little 'close tab' "x" on the RHS of the screen. Even > more annoying is if you have many tabs open, you need to double check the > one want to close is indeed the active tab before pressing the "x" > > - ok there are other ways of closing the tab, such as right mouse click > directly on the tab, but why on earth didn't they just put the close "X" on > the active tab like everyone else does. > > Little gripes, I wouldn't mind so much if I didn't have to pay MS so darn > much for their software. I don't mind paying, but I expect better > functionality and performance than I can get for free from other vendors. > > Heh, can you tell I need a coffee ;) > > Cheers > Darryl. > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Friday, 9 September 2011 6:48 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Wish List. > > I'm not sure which version the multipage control was introduced in > (probably > 2007), but it serves the same purpose as the tab control was introduced for > back in A95 or A97. Tab controls actually do have pages, which you insert > much the same way, although they aren't very intuitive either. I don't > know > why they came up with another control to do the same thing, but such is the > world of Microsoft. > > Charlotte Foust > > On Thu, Sep 8, 2011 at 12:18 PM, Mark Simms wrote: > > > Once again I think confusion abounds: > > Multipage has tabs with associated pages to allow insertion of other > > controls, etc. > > The Tab Control is just this tiny thing that has tabs with no pages. > > > > > -- > 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 Sep 8 19:06:37 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Fri, 9 Sep 2011 10:06:37 +1000 Subject: [AccessD] Wish List. (OT) In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <003101cc6e5c$1e87bac0$5b973040$@net> <000001cc6e81$c8c7de00$5a579a00$@com.au> Message-ID: <000201cc6e84$588ff6b0$09afe410$@com.au> Haha, not a chance. We've run out of milk at work and it is cold and wet outside today. We all want a coffee from the expresso machine, but who is going to crack first and walk in the rain to the shop to get more milk for everyone. .... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Friday, 9 September 2011 9:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. Or had too much coffee ... > Heh, can you tell I need a coffee ;) > > Cheers > Darryl. > From charlotte.foust at gmail.com Thu Sep 8 19:16:53 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 8 Sep 2011 17:16:53 -0700 Subject: [AccessD] Wish List. In-Reply-To: <000101cc6e83$b72b2150$258163f0$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <000101cc6e83$b72b2150$258163f0$@com.au> Message-ID: I didn't realize that's what you were referring to. That's the point of not using tabs or buttons on the tab control but putting the "navigation controls" into a subform on the form header or footer. You're going to have space there regardless if you use buttons or tabs, and it floats to the top so the only way to cover it is with an empty subform. Charlotte Foust On Thu, Sep 8, 2011 at 5:02 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > " I'm not sure what you mean about not hiding the tab label." > > At the top of every tab you have a label (tab) which sticks up above the > rest of the form - the bit the user presses to change tabs if more than one > tab is visible. The problem is even if only 1 tab is visible you cannot > hide this label which stick out above the rest of the form/page. Visually > this is not what we want to see. > > Maybe I am just anal about this sort of thing, but it looks ugly, at least > for what I am try to achieve. > > Don't get me wrong, I am not anti-tabbed forms/pages. I have used the > extensively in the past and will do so again. It is just in this one > instance using tabs seems (and looks) like a cheap and tacky workaround. > > Cheers > Darryl,. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Friday, 9 September 2011 1:56 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Wish List. > > I do know how they work, but I was confused by what I understood of your > description. What you're describing is exactly what tab controls are for, > and I've used them that way in both Access and VB.Net. All you need to do > with a tab control is select the tab page and that brings the controls on > that page up for you to edit. In effect, you see them the way the user > does, except for any controls that you make conditionally visible to the > user when that page is up. Those, of course, you see in design view all > the > time. > > I'm not sure what you mean about not hiding the tab label. If you're > talking about the tabs themselves, they can be turned off so that you > control the visible page through code. In Access and .Net, I simply have > used the top and left settigs to insure that things lined up. How hard is > that? As for photoshop, I hate it. It seems to me the ultimate in > non-intuitive UIs, but I admit to being a luddite on some issues, > especially > with respect to graphics. > > Charlotte Foust > > On Wed, Sep 7, 2011 at 11:57 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Hi Charlotte - forgive me for this as I really respect your opinion, but > I > > am not sure you understand how layers work in other applications - they > > would never show up all at the same time (unless that is what you > wanted). > > You can control which ones are visible to the user - might be one, might > be > > several in different combinations and you can show and reveal based on > what > > the user needs. > > > > Layers would also have the huge advantage of allowing you to edit each > > layer > > individually in design mode. So you have no need to move controls out of > > the way to get to a control that is under another one. Have play in > > photoshop if you get the chance and you will see how useful this method > is. > > I know I can fake it using a tab form but the result is less elegant you > > cannot hide the tab label itself and it is a pain to ensure all the > > controls > > on each tab is aligned. Blah blah, I have resorted to tabs in the past > and > > it is a clunky solution for what I am trying to do. > > > > That said, sometimes tabbed forms are the way to go. Just depends on > what > > you want to achieve. In this instance I was thinking "Man, wish I had a > > layered design view"... > > > > Just my thoughts. > > Cheers > > Darryl. > > > > > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > > Sent: Thursday, 8 September 2011 12:10 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Wish List. > > > > Microsoft addressed this years ago by introducing tab controls. Why on > > earth would you want to use layers that all showed up at the same time? > > Logically, layers would only show the controls relevant to that > layer/page. > > > > Charlotte Foust > > On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < > > darryl at whittleconsulting.com.au> wrote: > > > > > Been doing a lot of work with forms. In particular single forms with a > > lot > > > of controls that are hidden or revealed depending on what options are > > > available. I really wish MS were inspired by Adobe with how form > design > > > behaves. Why can't forms be layered? So you can work on individual > > layers > > > which only have the relevant controls for that layer, but when the form > > is > > > displayed all layers are shown, just like an image in Photoshop for > > > example. > > > > > > > > > > > > That would be super useful as right now if I want to change anything on > > > first controls I added, I have to move all of the other controls on top > > out > > > of the way, make the changes, and then put them all back again. A real > > > PITA. Would be wonderful to turn on and off visibility on the layers > and > > > then it would be easy to access any set of controls that are just on > that > > > layer. > > > > > > > > > > > > I know I can sort of fake this by using tabs, is this a better way or > > does > > > anyone has a different angle I can consider? > > > > > > > > > > > > Cheers > > > > > > Darryl. > > > > > > > > > > > > Darryl Collins > > > > > > Whittle Consulting Pty Ltd > > > > > > Suite 8, 660 Canterbury Rd > > > > > > Surrey Hills, VIC, 3127 > > > > > > > > > > > > p: +61 3 9898 3242 > > > > > > m: +61 418 381 548 > > > > > > f: +61 3 9898 1855 > > > > > > e: > > > darryl at whittleconsulting.com.au > > > > > > w: > > > > > > > > > > > > www.whittleconsulting.com.au > > > > > > > > > > > > > > > > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/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 darryl at whittleconsulting.com.au Thu Sep 8 19:17:09 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Fri, 9 Sep 2011 10:17:09 +1000 Subject: [AccessD] Wish List. In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <003101cc6e5c$1e87bac0$5b973040$@net> <000001cc6e81$c8c7de00$5a579a00$@com.au> Message-ID: <000301cc6e85$d10170a0$730451e0$@com.au> Oh yes, on *my* forms I always do this too. I am talking about MS's own UI in Access design mode which is not customisable by developer. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, 9 September 2011 10:07 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. The way we handled the X button issue in VB.Net was to have a close/back/exit button (with caption) in a standard location at the bottom of all forms, along with a menu item at the top to call the same routine. The rule of thumb was to always give the user multiple ways of getting there. Charlotte Foust On Thu, Sep 8, 2011 at 4:48 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Aaah, thanks everyone for their thoughts and comments. It is entirely > possible that I am just doing this the hard way (wouldn't be the first > time). Anyway, I will probably end up using tabs like always. > > I don't like the way you have to leave the label visible at the top of the > page though - even if only one tab is displayed. Visually it is not what I > want, but I guess its all I have to work with. > > Anyway, didn't mean to get folks fired up about what is a tab or what is a > page. Sometimes I think it would be nice if you could take the best of all > the software UI and include it in a single package. > > Ok: Here is another prime example of poor user functionality - or more like > sheer bloody laziness on behalf of MSoft. If I am using Firefox tabs in > the > browser, right on the *Active* tab there is a little "X" on the RHS of that > tab that allows you to close it. Nice and useful, don't have to move the > mouse far and it is darn clear which tab you are going to close. > > In A2007 (which uses a tab setup to display all the open DB objects such as > forms, tables, queries etc) the close button is on the extreme RHS of the > *Screen* - freakin miles away from where you are actually working. Now I > have huge widescreen monitor at work and if I have single tab open there is > about 1 foot (say 28 cms) of screen real estate between the active tab I am > working on, and the little 'close tab' "x" on the RHS of the screen. Even > more annoying is if you have many tabs open, you need to double check the > one want to close is indeed the active tab before pressing the "x" > > - ok there are other ways of closing the tab, such as right mouse click > directly on the tab, but why on earth didn't they just put the close "X" on > the active tab like everyone else does. > > Little gripes, I wouldn't mind so much if I didn't have to pay MS so darn > much for their software. I don't mind paying, but I expect better > functionality and performance than I can get for free from other vendors. > > Heh, can you tell I need a coffee ;) > > Cheers > Darryl. > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Friday, 9 September 2011 6:48 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Wish List. > > I'm not sure which version the multipage control was introduced in > (probably > 2007), but it serves the same purpose as the tab control was introduced for > back in A95 or A97. Tab controls actually do have pages, which you insert > much the same way, although they aren't very intuitive either. I don't > know > why they came up with another control to do the same thing, but such is the > world of Microsoft. > > Charlotte Foust > > On Thu, Sep 8, 2011 at 12:18 PM, Mark Simms wrote: > > > Once again I think confusion abounds: > > Multipage has tabs with associated pages to allow insertion of other > > controls, etc. > > The Tab Control is just this tiny thing that has tabs with no pages. > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 8 19:27:06 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 09 Sep 2011 10:27:06 +1000 Subject: [AccessD] Wish List. (OT) In-Reply-To: <000201cc6e84$588ff6b0$09afe410$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au>, , <000201cc6e84$588ff6b0$09afe410$@com.au> Message-ID: <4E695D5A.13920.3281CC2D@stuart.lexacorp.com.pg> Milk ruins the taste of decent coffee. Just drink it straight - black and unsweetened :-) -- Stuart On 9 Sep 2011 at 10:06, Darryl Collins wrote: > Haha, not a chance. We've run out of milk at work and it is cold and > wet outside today. We all want a coffee from the expresso machine, > but who is going to crack first and walk in the rain to the shop to > get more milk for everyone. > > .... > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Benson Sent: Friday, 9 September 2011 9:57 AM To: Access Developers > discussion and problem solving Subject: Re: [AccessD] Wish List. > > Or had too much coffee ... > > > > > > > Heh, can you tell I need a coffee ;) > > > > Cheers > > Darryl. > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From df.waters at comcast.net Thu Sep 8 19:58:46 2011 From: df.waters at comcast.net (Dan Waters) Date: Thu, 8 Sep 2011 19:58:46 -0500 Subject: [AccessD] Wish List. In-Reply-To: <000001cc6e81$c8c7de00$5a579a00$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <003101cc6e5c$1e87bac0$5b973040$@net> <000001cc6e81$c8c7de00$5a579a00$@com.au> Message-ID: <006201cc6e8b$a17e24d0$e47a6e70$@comcast.net> I haven't completely read each post so maybe this has already been brought up. On your form, create a subform. Now create a form to use in that subform, with all the controls from one of your 'layers'. Then create (start by copying?) all the forms (as layers) that you'll want to use in the subform. In your main form, write code to change the SourceObject property to the name of whichever form you want to display depending on what your user needs to do. You might want to use Application.Echo False/True in code to surround the switch from one form to the other to minimize screen flashing. This separates out each group of controls onto its own easily editable separate form, and gives your user a clean GUI which doesn't have the tabs of a tab control. I have used this and it works fine. You can so the same thing with a subreport control on a report. HTH, Dan From vbacreations at gmail.com Thu Sep 8 20:16:00 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 8 Sep 2011 21:16:00 -0400 Subject: [AccessD] Wish List. In-Reply-To: <006201cc6e8b$a17e24d0$e47a6e70$@comcast.net> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <003101cc6e5c$1e87bac0$5b973040$@net> <000001cc6e81$c8c7de00$5a579a00$@com.au> <006201cc6e8b$a17e24d0$e47a6e70$@comcast.net> Message-ID: I like that concept. Any downside you're hiding from us? ;) On Sep 8, 2011 9:06 PM, "Dan Waters" wrote: > I haven't completely read each post so maybe this has already been brought > up. > > On your form, create a subform. Now create a form to use in that subform, > with all the controls from one of your 'layers'. Then create (start by > copying?) all the forms (as layers) that you'll want to use in the subform. > In your main form, write code to change the SourceObject property to the > name of whichever form you want to display depending on what your user needs > to do. You might want to use Application.Echo False/True in code to > surround the switch from one form to the other to minimize screen flashing. > > This separates out each group of controls onto its own easily editable > separate form, and gives your user a clean GUI which doesn't have the tabs > of a tab control. I have used this and it works fine. > > You can so the same thing with a subreport control on a report. > > HTH, > Dan > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From vbacreations at gmail.com Thu Sep 8 20:47:46 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 8 Sep 2011 21:47:46 -0400 Subject: [AccessD] String with "#" in VBA? In-Reply-To: References: <4E6697B4.3080601@colbyconsulting.com> <002601cc6cfe$3a74d510$af5e7f30$@com.au> <4E66D3F2.25051.2899085E@stuart.lexacorp.com.pg> <001501cc6d0c$6efc10b0$4cf43210$@gmail.com> <003101cc6d0d$a4552e30$ecff8a90$@com.au> <001601cc6d10$0f115440$2d33fcc0$@gmail.com> Message-ID: It makes much intuitive sense to allow either. Almost hard to see why implement it any other way. On Sep 7, 2011 4:06 PM, "Mark A Matte" wrote: > > I had to think twice... > > Me and SQL spend our days between SQL Server, Access, and Foxpro...last week I was moving some processes from Foxpro to SQL Server and I learned that in Foxpro the HAVING clause will utilize the calculation or the alias... > > just FYI... > > Mark M. > > > >> From: vbacreations at gmail.com >> To: accessd at databaseadvisors.com >> Date: Tue, 6 Sep 2011 23:41:41 -0400 >> Subject: Re: [AccessD] String with "#" in VBA? >> >> No more than anyone else going from the top of their head. To wit, no one >> else pointed out that the Having Clause required the actual computation. >> And, no one pointed out (including me) that most non-calculated constraints >> are put in a WHERE clause, not the Having clause. I would imagine the query >> plan Access builds handles that kind of misappropriation without fuss >> however. Some SQL which I generated using only the Access query designer >> (with unneeded parens removed). >> >> SELECT Max(Tbl_GIB.LASTMODIFIED_DATE) AS MyMaxDate, 1+1 AS SomeCalc >> FROM Tbl_GIB >> WHERE Tbl_GIB.SITE_DB<>'Bill' >> HAVING 1+1=2 And Max(Tbl_GIB.LASTMODIFIED_DATE) < #12/31/2050# >> >> This fails: >> >> SELECT Max(Tbl_GIB.LASTMODIFIED_DATE) AS MyMaxDate, 1+1 AS SomeCalc >> FROM Tbl_GIB >> WHERE Tbl_GIB.SITE_DB<>'Bill' >> HAVING SomeCalc =2 >> >> >> As does this >> >> SELECT Max(Tbl_GIB.LASTMODIFIED_DATE) AS MyMaxDate, 1+1 AS SomeCalc >> FROM Tbl_GIB >> HAVING MyMaxDate < #12/31/2050#; >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins >> Sent: Tuesday, September 06, 2011 11:24 PM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] String with "#" in VBA? >> >> Yes, that syntax would be correct Bill. Man, I made a mess of this one >> didn't I... hmmmmm. >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson >> (VBACreations.Com) >> Sent: Wednesday, 7 September 2011 1:16 PM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] String with "#" in VBA? >> >> I concur with the single-quotes and the comma additions... but I was not >> aware you are allowed to use the result field's name in the HAVING clause, I >> thought you needed to show the function again (see below)? >> >> >> gstrSQL = "" >> gstrSQL = gstrSQL & " SELECT" >> gstrSQL = gstrSQL & " Activity," >> gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF," >> gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" >> gstrSQL = gstrSQL & " FROM ProbC_tblActivities" >> gstrSQL = gstrSQL & " GROUP BY Activity" >> gstrSQL = gstrSQL & " HAVING Activity='#Input'" >> gstrSQL = gstrSQL & " AND SUM(Activity_CF) <> 0" >> >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan >> Sent: Tuesday, September 06, 2011 10:16 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] String with "#" in VBA? >> >> As others have pointed out, the # is not the problem. >> >> #Input is a string inside your SQL which needs to be delimited inside your >> strSQL. >> You are using double quotes as your strSQL building delimiter so the inner >> variable needs to >> be surrounded by single quotes. >> >> Also you are missing a comma after Total_CF >> >> >> >> Try this: >> >> gstrSQL = "SELECT " & _ >> "Activity, " & _ >> "SUM(Activity_CF) AS Total_CF," & _ >> "SUM(Activity_DCF) AS Total_DCF " & _ >> "FROM ProbC_tblActivities " & _ >> "GROUP BY Activity " & _ >> "HAVING Activity='#Input' " & _ >> "AND Total_CF <> 0" & _ >> >> >> >> >> On 7 Sep 2011 at 11:34, Darryl Collins wrote: >> >> > Uh oh... I thought today was going too darn well. >> > >> > I am working with data which has "#" as part of the string which >> > causes the VBA code to fail >> > >> > For Example: >> > >> > gstrSQL = vbNullString >> > gstrSQL = gstrSQL & " SELECT" >> > gstrSQL = gstrSQL & " Activity," >> > gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" >> > gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" >> > gstrSQL = gstrSQL & " FROM ProbC_tblActivities" >> > gstrSQL = gstrSQL & " GROUP BY Activity" >> > gstrSQL = gstrSQL & " HAVING Activity="#Input" >> > gstrSQL = gstrSQL & " AND Total_CF <> 0" >> > >> > Which sort of makes sense as the # is used in VBA for Conditional >> > Compile. >> > >> > Is there some way I can I get VBA to accept the # as part of the >> > string and not a command? >> > >> > Google has fairly useless when searching for "#" as well. Bah >> > humbubg. >> > >> > Cheers >> > Darryl >> > >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/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 Thu Sep 8 22:13:53 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 8 Sep 2011 20:13:53 -0700 Subject: [AccessD] Wish List. In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <003101cc6e5c$1e87bac0$5b973040$@net> <000001cc6e81$c8c7de00$5a579a00$@com.au> <006201cc6e8b$a17e24d0$e47a6e70$@comcast.net> Message-ID: Yeah, there is, but only if you're using bound subforms. If they're unbound, it isn't a problem! ;-> When using bound subforms, the master/child links have to be cleared and reset, which is a great argument for using unbound subforms. This is essentially what I've done with tab controls, except that with the tab control option, you don't have to clear and reload the subform control each time, which will create a delay, although perhaps not a noticeable one if the subform and its source are straightforward. The tab control only has to load the subform once when you go to a particular tab page. After that, the tab control takes care of hiding and displaying it. And binding isn't a problem. Charlotte Foust On Thu, Sep 8, 2011 at 6:16 PM, William Benson wrote: > I like that concept. Any downside you're hiding from us? > > ;) > On Sep 8, 2011 9:06 PM, "Dan Waters" wrote: > > I haven't completely read each post so maybe this has already been > brought > > up. > > > > On your form, create a subform. Now create a form to use in that subform, > > with all the controls from one of your 'layers'. Then create (start by > > copying?) all the forms (as layers) that you'll want to use in the > subform. > > In your main form, write code to change the SourceObject property to the > > name of whichever form you want to display depending on what your user > needs > > to do. You might want to use Application.Echo False/True in code to > > surround the switch from one form to the other to minimize screen > flashing. > > > > This separates out each group of controls onto its own easily editable > > separate form, and gives your user a clean GUI which doesn't have the > tabs > > of a tab control. I have used this and it works fine. > > > > You can so the same thing with a subreport control on a report. > > > > HTH, > > Dan > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 Sep 9 00:47:34 2011 From: rockysmolin at bchacc.com (rockysmolin at bchacc.com) Date: Thu, 08 Sep 2011 22:47:34 -0700 Subject: [AccessD] Wish List. Message-ID: <20110908224734.86c3debdd1c3983866efe200e2feb95f.d804cf892c.wbe@email18.secureserver.net> Try setting the Style property of the tab control to None. Rocky -------- Original Message -------- Subject: Re: [AccessD] Wish List. From: "Darryl Collins" Date: Thu, September 08, 2011 5:02 pm To: "'Access Developers discussion and problem solving'" " I'm not sure what you mean about not hiding the tab label." At the top of every tab you have a label (tab) which sticks up above the rest of the form - the bit the user presses to change tabs if more than one tab is visible. The problem is even if only 1 tab is visible you cannot hide this label which stick out above the rest of the form/page. Visually this is not what we want to see. Maybe I am just anal about this sort of thing, but it looks ugly, at least for what I am try to achieve. Don't get me wrong, I am not anti-tabbed forms/pages. I have used the extensively in the past and will do so again. It is just in this one instance using tabs seems (and looks) like a cheap and tacky workaround. Cheers Darryl,. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, 9 September 2011 1:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. I do know how they work, but I was confused by what I understood of your description. What you're describing is exactly what tab controls are for, and I've used them that way in both Access and VB.Net. All you need to do with a tab control is select the tab page and that brings the controls on that page up for you to edit. In effect, you see them the way the user does, except for any controls that you make conditionally visible to the user when that page is up. Those, of course, you see in design view all the time. I'm not sure what you mean about not hiding the tab label. If you're talking about the tabs themselves, they can be turned off so that you control the visible page through code. In Access and .Net, I simply have used the top and left settigs to insure that things lined up. How hard is that? As for photoshop, I hate it. It seems to me the ultimate in non-intuitive UIs, but I admit to being a luddite on some issues, especially with respect to graphics. Charlotte Foust On Wed, Sep 7, 2011 at 11:57 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hi Charlotte - forgive me for this as I really respect your opinion, but I > am not sure you understand how layers work in other applications - they > would never show up all at the same time (unless that is what you wanted). > You can control which ones are visible to the user - might be one, might be > several in different combinations and you can show and reveal based on what > the user needs. > > Layers would also have the huge advantage of allowing you to edit each > layer > individually in design mode. So you have no need to move controls out of > the way to get to a control that is under another one. Have play in > photoshop if you get the chance and you will see how useful this method is. > I know I can fake it using a tab form but the result is less elegant you > cannot hide the tab label itself and it is a pain to ensure all the > controls > on each tab is aligned. Blah blah, I have resorted to tabs in the past and > it is a clunky solution for what I am trying to do. > > That said, sometimes tabbed forms are the way to go. Just depends on what > you want to achieve. In this instance I was thinking "Man, wish I had a > layered design view"... > > Just my thoughts. > Cheers > Darryl. > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Thursday, 8 September 2011 12:10 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Wish List. > > Microsoft addressed this years ago by introducing tab controls. Why on > earth would you want to use layers that all showed up at the same time? > Logically, layers would only show the controls relevant to that layer/page. > > Charlotte Foust > On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Been doing a lot of work with forms. In particular single forms with a > lot > > of controls that are hidden or revealed depending on what options are > > available. I really wish MS were inspired by Adobe with how form design > > behaves. Why can't forms be layered? So you can work on individual > layers > > which only have the relevant controls for that layer, but when the form > is > > displayed all layers are shown, just like an image in Photoshop for > > example. > > > > > > > > That would be super useful as right now if I want to change anything on > > first controls I added, I have to move all of the other controls on top > out > > of the way, make the changes, and then put them all back again. A real > > PITA. Would be wonderful to turn on and off visibility on the layers and > > then it would be easy to access any set of controls that are just on that > > layer. > > > > > > > > I know I can sort of fake this by using tabs, is this a better way or > does > > anyone has a different angle I can consider? > > > > > > > > Cheers > > > > Darryl. > > > > > > > > Darryl Collins > > > > Whittle Consulting Pty Ltd > > > > Suite 8, 660 Canterbury Rd > > > > Surrey Hills, VIC, 3127 > > > > > > > > p: +61 3 9898 3242 > > > > m: +61 418 381 548 > > > > f: +61 3 9898 1855 > > > > e: > > darryl at whittleconsulting.com.au > > > > w: > > > > > > www.whittleconsulting.com.au > > > > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 darryl at whittleconsulting.com.au Fri Sep 9 01:32:31 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Fri, 9 Sep 2011 16:32:31 +1000 Subject: [AccessD] Wish List. In-Reply-To: <20110908224734.86c3debdd1c3983866efe200e2feb95f.d804cf892c.wbe@email18.secureserver.net> References: <20110908224734.86c3debdd1c3983866efe200e2feb95f.d804cf892c.wbe@email18.secureserver.net> Message-ID: <000701cc6eba$4488cc10$cd9a6430$@com.au> Thanks Rocky, I will give that a go and see how it turns out. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rockysmolin at bchacc.com Sent: Friday, 9 September 2011 3:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. Try setting the Style property of the tab control to None. Rocky -------- Original Message -------- Subject: Re: [AccessD] Wish List. From: "Darryl Collins" Date: Thu, September 08, 2011 5:02 pm To: "'Access Developers discussion and problem solving'" " I'm not sure what you mean about not hiding the tab label." At the top of every tab you have a label (tab) which sticks up above the rest of the form - the bit the user presses to change tabs if more than one tab is visible. The problem is even if only 1 tab is visible you cannot hide this label which stick out above the rest of the form/page. Visually this is not what we want to see. Maybe I am just anal about this sort of thing, but it looks ugly, at least for what I am try to achieve. Don't get me wrong, I am not anti-tabbed forms/pages. I have used the extensively in the past and will do so again. It is just in this one instance using tabs seems (and looks) like a cheap and tacky workaround. Cheers Darryl,. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, 9 September 2011 1:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. I do know how they work, but I was confused by what I understood of your description. What you're describing is exactly what tab controls are for, and I've used them that way in both Access and VB.Net. All you need to do with a tab control is select the tab page and that brings the controls on that page up for you to edit. In effect, you see them the way the user does, except for any controls that you make conditionally visible to the user when that page is up. Those, of course, you see in design view all the time. I'm not sure what you mean about not hiding the tab label. If you're talking about the tabs themselves, they can be turned off so that you control the visible page through code. In Access and .Net, I simply have used the top and left settigs to insure that things lined up. How hard is that? As for photoshop, I hate it. It seems to me the ultimate in non-intuitive UIs, but I admit to being a luddite on some issues, especially with respect to graphics. Charlotte Foust On Wed, Sep 7, 2011 at 11:57 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hi Charlotte - forgive me for this as I really respect your opinion, but I > am not sure you understand how layers work in other applications - they > would never show up all at the same time (unless that is what you wanted). > You can control which ones are visible to the user - might be one, might be > several in different combinations and you can show and reveal based on what > the user needs. > > Layers would also have the huge advantage of allowing you to edit each > layer > individually in design mode. So you have no need to move controls out of > the way to get to a control that is under another one. Have play in > photoshop if you get the chance and you will see how useful this method is. > I know I can fake it using a tab form but the result is less elegant you > cannot hide the tab label itself and it is a pain to ensure all the > controls > on each tab is aligned. Blah blah, I have resorted to tabs in the past and > it is a clunky solution for what I am trying to do. > > That said, sometimes tabbed forms are the way to go. Just depends on what > you want to achieve. In this instance I was thinking "Man, wish I had a > layered design view"... > > Just my thoughts. > Cheers > Darryl. > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Thursday, 8 September 2011 12:10 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Wish List. > > Microsoft addressed this years ago by introducing tab controls. Why on > earth would you want to use layers that all showed up at the same time? > Logically, layers would only show the controls relevant to that layer/page. > > Charlotte Foust > On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Been doing a lot of work with forms. In particular single forms with a > lot > > of controls that are hidden or revealed depending on what options are > > available. I really wish MS were inspired by Adobe with how form design > > behaves. Why can't forms be layered? So you can work on individual > layers > > which only have the relevant controls for that layer, but when the form > is > > displayed all layers are shown, just like an image in Photoshop for > > example. > > > > > > > > That would be super useful as right now if I want to change anything on > > first controls I added, I have to move all of the other controls on top > out > > of the way, make the changes, and then put them all back again. A real > > PITA. Would be wonderful to turn on and off visibility on the layers and > > then it would be easy to access any set of controls that are just on that > > layer. > > > > > > > > I know I can sort of fake this by using tabs, is this a better way or > does > > anyone has a different angle I can consider? > > > > > > > > Cheers > > > > Darryl. > > > > > > > > Darryl Collins > > > > Whittle Consulting Pty Ltd > > > > Suite 8, 660 Canterbury Rd > > > > Surrey Hills, VIC, 3127 > > > > > > > > p: +61 3 9898 3242 > > > > m: +61 418 381 548 > > > > f: +61 3 9898 1855 > > > > e: > > darryl at whittleconsulting.com.au > > > > w: > > > > > > www.whittleconsulting.com.au > > > > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 stuart at lexacorp.com.pg Fri Sep 9 02:54:18 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 09 Sep 2011 17:54:18 +1000 Subject: [AccessD] Wish List. In-Reply-To: <20110908224734.86c3debdd1c3983866efe200e2feb95f.d804cf892c.wbe@email18.secureserver.net> References: <20110908224734.86c3debdd1c3983866efe200e2feb95f.d804cf892c.wbe@email18.secureserver.net> Message-ID: <4E69C62A.28927.341B36BA@stuart.lexacorp.com.pg> It's true what they say - you live and learn. I've been using tabs for umpteen years and I wasn't aware of that trick. Neat! -- Stuart On 8 Sep 2011 at 22:47, rockysmolin at bchacc.com wrote: > Try setting the Style property of the tab control to None. > > Rocky > > > > -------- Original Message -------- > Subject: Re: [AccessD] Wish List. > From: "Darryl Collins" > Date: Thu, September 08, 2011 5:02 pm > To: "'Access Developers discussion and problem solving'" > > > " I'm not sure what you mean about not hiding the tab label." > > At the top of every tab you have a label (tab) which sticks up above > the rest of the form - the bit the user presses to change tabs if more > than one tab is visible. The problem is even if only 1 tab is visible > you cannot hide this label which stick out above the rest of the > form/page. Visually this is not what we want to see. > > Maybe I am just anal about this sort of thing, but it looks ugly, at > least for what I am try to achieve. > > Don't get me wrong, I am not anti-tabbed forms/pages. I have used the > extensively in the past and will do so again. It is just in this one > instance using tabs seems (and looks) like a cheap and tacky > workaround. > > Cheers > Darryl,. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust Sent: Friday, 9 September 2011 1:56 AM To: Access Developers > discussion and problem solving Subject: Re: [AccessD] Wish List. > > I do know how they work, but I was confused by what I understood of > your description. What you're describing is exactly what tab controls > are for, and I've used them that way in both Access and VB.Net. All > you need to do with a tab control is select the tab page and that > brings the controls on that page up for you to edit. In effect, you > see them the way the user does, except for any controls that you make > conditionally visible to the user when that page is up. Those, of > course, you see in design view all the time. > > I'm not sure what you mean about not hiding the tab label. If you're > talking about the tabs themselves, they can be turned off so that you > control the visible page through code. In Access and .Net, I simply > have used the top and left settigs to insure that things lined up. How > hard is that? As for photoshop, I hate it. It seems to me the ultimate > in non-intuitive UIs, but I admit to being a luddite on some issues, > especially with respect to graphics. > > Charlotte Foust > > On Wed, Sep 7, 2011 at 11:57 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Hi Charlotte - forgive me for this as I really respect your opinion, > > but I am not sure you understand how layers work in other > > applications - they would never show up all at the same time (unless > > that is what you wanted). You can control which ones are visible to > > the user - might be one, might > be > > several in different combinations and you can show and reveal based > > on > what > > the user needs. > > > > Layers would also have the huge advantage of allowing you to edit > > each layer individually in design mode. So you have no need to move > > controls out of the way to get to a control that is under another > > one. Have play in photoshop if you get the chance and you will see > > how useful this method > is. > > I know I can fake it using a tab form but the result is less elegant > > you cannot hide the tab label itself and it is a pain to ensure all > > the controls on each tab is aligned. Blah blah, I have resorted to > > tabs in the past > and > > it is a clunky solution for what I am trying to do. > > > > That said, sometimes tabbed forms are the way to go. Just depends on > > what you want to achieve. In this instance I was thinking "Man, wish > > I had a layered design view"... > > > > Just my thoughts. > > Cheers > > Darryl. > > > > > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > > Foust Sent: Thursday, 8 September 2011 12:10 PM To: Access > > Developers discussion and problem solving Subject: Re: [AccessD] > > Wish List. > > > > Microsoft addressed this years ago by introducing tab controls. Why > > on earth would you want to use layers that all showed up at the same > > time? Logically, layers would only show the controls relevant to > > that > layer/page. > > > > Charlotte Foust > > On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < > > darryl at whittleconsulting.com.au> wrote: > > > > > Been doing a lot of work with forms. In particular single forms > > > with a > > lot > > > of controls that are hidden or revealed depending on what options > > > are available. I really wish MS were inspired by Adobe with how > > > form design behaves. Why can't forms be layered? So you can work > > > on individual > > layers > > > which only have the relevant controls for that layer, but when the > > > form > > is > > > displayed all layers are shown, just like an image in Photoshop > > > for example. > > > > > > > > > > > > That would be super useful as right now if I want to change > > > anything on first controls I added, I have to move all of the > > > other controls on top > > out > > > of the way, make the changes, and then put them all back again. A > > > real PITA. Would be wonderful to turn on and off visibility on the > > > layers > and > > > then it would be easy to access any set of controls that are just > > > on > that > > > layer. > > > > > > > > > > > > I know I can sort of fake this by using tabs, is this a better way > > > or > > does > > > anyone has a different angle I can consider? > > > > > > > > > > > > Cheers > > > > > > Darryl. > > > > > > > > > > > > Darryl Collins > > > > > > Whittle Consulting Pty Ltd > > > > > > Suite 8, 660 Canterbury Rd > > > > > > Surrey Hills, VIC, 3127 > > > > > > > > > > > > p: +61 3 9898 3242 > > > > > > m: +61 418 381 548 > > > > > > f: +61 3 9898 1855 > > > > > > e: > > > darryl at whittleconsulting.com.au > > > > > > w: > > > > > > > > > > www.whittleconsulting.com.au > > > > > > > > > > > > > > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/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 jwcolby at colbyconsulting.com Fri Sep 9 06:52:56 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 09 Sep 2011 07:52:56 -0400 Subject: [AccessD] Access versioning / tracking changes Message-ID: <4E69FE18.6090404@colbyconsulting.com> I use a somewhat simple two table change request database for tracking changes to my Access projects. I have to admit I find it problematic to track changes to a level that allows backing out any specific change while leaving the rest. This has resulted in "rolling back" to a specific level when a problem comes up. And yes they do test but things do happen. I have a CR table where the client places their change requests with explanatory text. It has the typical requested date / requesting person / date to test / date tested etc. A child table holds what I do with explanatory text and a test regimen to test that it work, a text for what they found in test (if problems). I can add another record as a response to that testing problem etc. The problem I run into is that any significant change may involve a change to N queries, additional fields or entire tables, code modules and so forth. A change may be trivial or it may be an entire subsystem. I have never found a way to really document in sufficient detail what I did to implement the change that would allow me to back out just that change, at least of the change is very complex. If I get two or three changes in and then one four changes back is found to be a problem such that they want to roll it back, I often times cant. If we roll back all the changes since (go back to a previous version) then we lose all of the actual work done since. I have never worked in a large design team and witnessed how this is generally done. I am wondering how you guys handle this stuff. Any words of wisdom? Tools? tips? Can we have a discussion on this? -- John W. Colby www.ColbyConsulting.com From jimdettman at verizon.net Fri Sep 9 07:36:45 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 09 Sep 2011 08:36:45 -0400 Subject: [AccessD] Wish List. In-Reply-To: <4E69C62A.28927.341B36BA@stuart.lexacorp.com.pg> References: <20110908224734.86c3debdd1c3983866efe200e2feb95f.d804cf892c.wbe@email18.secureserver.net> <4E69C62A.28927.341B36BA@stuart.lexacorp.com.pg> Message-ID: <2867DF3470B048B7AFF8A1D847B31938@XPS> It's an excellent way to do the "Wizard" paging thing (one tab page for each wizard page). Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Friday, September 09, 2011 03:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. It's true what they say - you live and learn. I've been using tabs for umpteen years and I wasn't aware of that trick. Neat! -- Stuart On 8 Sep 2011 at 22:47, rockysmolin at bchacc.com wrote: > Try setting the Style property of the tab control to None. > > Rocky > > > > -------- Original Message -------- > Subject: Re: [AccessD] Wish List. > From: "Darryl Collins" > Date: Thu, September 08, 2011 5:02 pm > To: "'Access Developers discussion and problem solving'" > > > " I'm not sure what you mean about not hiding the tab label." > > At the top of every tab you have a label (tab) which sticks up above > the rest of the form - the bit the user presses to change tabs if more > than one tab is visible. The problem is even if only 1 tab is visible > you cannot hide this label which stick out above the rest of the > form/page. Visually this is not what we want to see. > > Maybe I am just anal about this sort of thing, but it looks ugly, at > least for what I am try to achieve. > > Don't get me wrong, I am not anti-tabbed forms/pages. I have used the > extensively in the past and will do so again. It is just in this one > instance using tabs seems (and looks) like a cheap and tacky > workaround. > > Cheers > Darryl,. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust Sent: Friday, 9 September 2011 1:56 AM To: Access Developers > discussion and problem solving Subject: Re: [AccessD] Wish List. > > I do know how they work, but I was confused by what I understood of > your description. What you're describing is exactly what tab controls > are for, and I've used them that way in both Access and VB.Net. All > you need to do with a tab control is select the tab page and that > brings the controls on that page up for you to edit. In effect, you > see them the way the user does, except for any controls that you make > conditionally visible to the user when that page is up. Those, of > course, you see in design view all the time. > > I'm not sure what you mean about not hiding the tab label. If you're > talking about the tabs themselves, they can be turned off so that you > control the visible page through code. In Access and .Net, I simply > have used the top and left settigs to insure that things lined up. How > hard is that? As for photoshop, I hate it. It seems to me the ultimate > in non-intuitive UIs, but I admit to being a luddite on some issues, > especially with respect to graphics. > > Charlotte Foust > > On Wed, Sep 7, 2011 at 11:57 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Hi Charlotte - forgive me for this as I really respect your opinion, > > but I am not sure you understand how layers work in other > > applications - they would never show up all at the same time (unless > > that is what you wanted). You can control which ones are visible to > > the user - might be one, might > be > > several in different combinations and you can show and reveal based > > on > what > > the user needs. > > > > Layers would also have the huge advantage of allowing you to edit > > each layer individually in design mode. So you have no need to move > > controls out of the way to get to a control that is under another > > one. Have play in photoshop if you get the chance and you will see > > how useful this method > is. > > I know I can fake it using a tab form but the result is less elegant > > you cannot hide the tab label itself and it is a pain to ensure all > > the controls on each tab is aligned. Blah blah, I have resorted to > > tabs in the past > and > > it is a clunky solution for what I am trying to do. > > > > That said, sometimes tabbed forms are the way to go. Just depends on > > what you want to achieve. In this instance I was thinking "Man, wish > > I had a layered design view"... > > > > Just my thoughts. > > Cheers > > Darryl. > > > > > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > > Foust Sent: Thursday, 8 September 2011 12:10 PM To: Access > > Developers discussion and problem solving Subject: Re: [AccessD] > > Wish List. > > > > Microsoft addressed this years ago by introducing tab controls. Why > > on earth would you want to use layers that all showed up at the same > > time? Logically, layers would only show the controls relevant to > > that > layer/page. > > > > Charlotte Foust > > On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < > > darryl at whittleconsulting.com.au> wrote: > > > > > Been doing a lot of work with forms. In particular single forms > > > with a > > lot > > > of controls that are hidden or revealed depending on what options > > > are available. I really wish MS were inspired by Adobe with how > > > form design behaves. Why can't forms be layered? So you can work > > > on individual > > layers > > > which only have the relevant controls for that layer, but when the > > > form > > is > > > displayed all layers are shown, just like an image in Photoshop > > > for example. > > > > > > > > > > > > That would be super useful as right now if I want to change > > > anything on first controls I added, I have to move all of the > > > other controls on top > > out > > > of the way, make the changes, and then put them all back again. A > > > real PITA. Would be wonderful to turn on and off visibility on the > > > layers > and > > > then it would be easy to access any set of controls that are just > > > on > that > > > layer. > > > > > > > > > > > > I know I can sort of fake this by using tabs, is this a better way > > > or > > does > > > anyone has a different angle I can consider? > > > > > > > > > > > > Cheers > > > > > > Darryl. > > > > > > > > > > > > Darryl Collins > > > > > > Whittle Consulting Pty Ltd > > > > > > Suite 8, 660 Canterbury Rd > > > > > > Surrey Hills, VIC, 3127 > > > > > > > > > > > > p: +61 3 9898 3242 > > > > > > m: +61 418 381 548 > > > > > > f: +61 3 9898 1855 > > > > > > e: > > > darryl at whittleconsulting.com.au > > > > > > w: > > > > > > > > > > www.whittleconsulting.com.au > > > > > > > > > > > > > > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/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 > -- 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 Sep 9 07:56:02 2011 From: df.waters at comcast.net (Dan Waters) Date: Fri, 9 Sep 2011 07:56:02 -0500 Subject: [AccessD] Access versioning / tracking changes In-Reply-To: <4E69FE18.6090404@colbyconsulting.com> References: <4E69FE18.6090404@colbyconsulting.com> Message-ID: <001b01cc6eef$d4ce49f0$7e6addd0$@comcast.net> Hi John, I'm impressed that you do track changes to this extent. I don't - my method is just fix as needed when needed. One thing you might look at: FMS has a tool called Access Detective. It's used to tell you the differences between any two mdb files. If you keep a copy of each released version, you'd be able to compare, in detail, your current system with any previous released version. Long ago I had a copy of Detective, but that was before I understood the process of developing! HTH, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, September 09, 2011 6:53 AM To: Access Developers discussion and problem solving Subject: [AccessD] Access versioning / tracking changes I use a somewhat simple two table change request database for tracking changes to my Access projects. I have to admit I find it problematic to track changes to a level that allows backing out any specific change while leaving the rest. This has resulted in "rolling back" to a specific level when a problem comes up. And yes they do test but things do happen. I have a CR table where the client places their change requests with explanatory text. It has the typical requested date / requesting person / date to test / date tested etc. A child table holds what I do with explanatory text and a test regimen to test that it work, a text for what they found in test (if problems). I can add another record as a response to that testing problem etc. The problem I run into is that any significant change may involve a change to N queries, additional fields or entire tables, code modules and so forth. A change may be trivial or it may be an entire subsystem. I have never found a way to really document in sufficient detail what I did to implement the change that would allow me to back out just that change, at least of the change is very complex. If I get two or three changes in and then one four changes back is found to be a problem such that they want to roll it back, I often times cant. If we roll back all the changes since (go back to a previous version) then we lose all of the actual work done since. I have never worked in a large design team and witnessed how this is generally done. I am wondering how you guys handle this stuff. Any words of wisdom? Tools? tips? Can we have a discussion on this? -- John W. Colby www.ColbyConsulting.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 Fri Sep 9 07:59:51 2011 From: df.waters at comcast.net (Dan Waters) Date: Fri, 9 Sep 2011 07:59:51 -0500 Subject: [AccessD] Wish List. In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <003101cc6e5c$1e87bac0$5b973040$@net> <000001cc6e81$c8c7de00$5a579a00$@com.au> <006201cc6e8b$a17e24d0$e47a6e70$@comcast.net> Message-ID: <001f01cc6ef0$5d4c0010$17e40030$@comcast.net> Not true! Since you're already setting the Sourceobject of the subform by code, you can do the same with the master/child link properties. When I did this, the master/child were the same anyway, which I'd guess in Darryl's case would also be true. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, September 08, 2011 10:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. Yeah, there is, but only if you're using bound subforms. If they're unbound, it isn't a problem! ;-> When using bound subforms, the master/child links have to be cleared and reset, which is a great argument for using unbound subforms. This is essentially what I've done with tab controls, except that with the tab control option, you don't have to clear and reload the subform control each time, which will create a delay, although perhaps not a noticeable one if the subform and its source are straightforward. The tab control only has to load the subform once when you go to a particular tab page. After that, the tab control takes care of hiding and displaying it. And binding isn't a problem. Charlotte Foust On Thu, Sep 8, 2011 at 6:16 PM, William Benson wrote: > I like that concept. Any downside you're hiding from us? > > ;) > On Sep 8, 2011 9:06 PM, "Dan Waters" wrote: > > I haven't completely read each post so maybe this has already been > brought > > up. > > > > On your form, create a subform. Now create a form to use in that > > subform, with all the controls from one of your 'layers'. Then > > create (start by > > copying?) all the forms (as layers) that you'll want to use in the > subform. > > In your main form, write code to change the SourceObject property to > > the name of whichever form you want to display depending on what > > your user > needs > > to do. You might want to use Application.Echo False/True in code to > > surround the switch from one form to the other to minimize screen > flashing. > > > > This separates out each group of controls onto its own easily > > editable separate form, and gives your user a clean GUI which > > doesn't have the > tabs > > of a tab control. I have used this and it works fine. > > > > You can so the same thing with a subreport control on a report. > > > > HTH, > > Dan > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Fri Sep 9 09:59:48 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 9 Sep 2011 07:59:48 -0700 Subject: [AccessD] Access versioning / tracking changes In-Reply-To: <4E69FE18.6090404@colbyconsulting.com> References: <4E69FE18.6090404@colbyconsulting.com> Message-ID: John, The way to do this is with version control software, i.e., SourceSafe, SourceGear Vault, etc. There are Access add-ins that allow you to use the version control software in a comparable manner to other languages, that is, at the granularity of inidividual containers within the project. You would need to look at what's out there, and the software isn't cheap, but there's a good reason for that. Of the two I've worked with (those above), Vault gives far greater control, but I admit I never worked with it in Access, only VB.Net. Charlotte Foust On Fri, Sep 9, 2011 at 4:52 AM, jwcolby wrote: > I use a somewhat simple two table change request database for tracking > changes to my Access projects. I have to admit I find it problematic to > track changes to a level that allows backing out any specific change while > leaving the rest. This has resulted in "rolling back" to a specific level > when a problem comes up. And yes they do test but things do happen. > > I have a CR table where the client places their change requests with > explanatory text. It has the typical requested date / requesting person / > date to test / date tested etc. A child table holds what I do with > explanatory text and a test regimen to test that it work, a text for what > they found in test (if problems). I can add another record as a response to > that testing problem etc. > > The problem I run into is that any significant change may involve a change > to N queries, additional fields or entire tables, code modules and so forth. > A change may be trivial or it may be an entire subsystem. I have never > found a way to really document in sufficient detail what I did to implement > the change that would allow me to back out just that change, at least of the > change is very complex. > > If I get two or three changes in and then one four changes back is found to > be a problem such that they want to roll it back, I often times cant. If we > roll back all the changes since (go back to a previous version) then we lose > all of the actual work done since. > > I have never worked in a large design team and witnessed how this is > generally done. I am wondering how you guys handle this stuff. Any words > of wisdom? Tools? tips? > > Can we have a discussion on this? > > -- > John W. Colby > www.ColbyConsulting.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From tinanfields at torchlake.com Fri Sep 9 09:07:18 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 09 Sep 2011 10:07:18 -0400 Subject: [AccessD] Access versioning / tracking changes In-Reply-To: <4E69FE18.6090404@colbyconsulting.com> References: <4E69FE18.6090404@colbyconsulting.com> Message-ID: <4E6A1D96.9080808@torchlake.com> John, I like your idea of using a database to track changes. I think I'll adopt it. I use a running notes document with dated entries. Each entry explains what I did and why, including things like working out the logic to do a certain new thing my client wants. At the end of every entry I have a list of the new items created and the existing items modified. The details of all those things are in the narrative of the entry. It can be tedious to go through, but it beats the heck out of having no idea how I got where I am at present. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 9/9/2011 7:52 AM, jwcolby wrote: > I use a somewhat simple two table change request database for tracking > changes to my Access projects. I have to admit I find it problematic > to track changes to a level that allows backing out any specific > change while leaving the rest. This has resulted in "rolling back" to > a specific level when a problem comes up. And yes they do test but > things do happen. > > I have a CR table where the client places their change requests with > explanatory text. It has the typical requested date / requesting > person / date to test / date tested etc. A child table holds what I > do with explanatory text and a test regimen to test that it work, a > text for what they found in test (if problems). I can add another > record as a response to that testing problem etc. > > The problem I run into is that any significant change may involve a > change to N queries, additional fields or entire tables, code modules > and so forth. A change may be trivial or it may be an entire > subsystem. I have never found a way to really document in sufficient > detail what I did to implement the change that would allow me to back > out just that change, at least of the change is very complex. > > If I get two or three changes in and then one four changes back is > found to be a problem such that they want to roll it back, I often > times cant. If we roll back all the changes since (go back to a > previous version) then we lose all of the actual work done since. > > I have never worked in a large design team and witnessed how this is > generally done. I am wondering how you guys handle this stuff. Any > words of wisdom? Tools? tips? > > Can we have a discussion on this? > From jwcolby at colbyconsulting.com Fri Sep 9 11:37:12 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 09 Sep 2011 12:37:12 -0400 Subject: [AccessD] Access versioning / tracking changes In-Reply-To: References: <4E69FE18.6090404@colbyconsulting.com> Message-ID: <4E6A40B8.3030509@colbyconsulting.com> Charlotte, I do version control in my C# code, at least I check stuff in etc. I really just use it for the code repository, not really for versioning. One problem I have is that I am solo. I do not the training to actually use a VCS to create and release versions, mark changes as verson XYZ etc. I use SVN and we check in changes, all that stuff. But how is that used to roll back a specific change? I dunno. If I understood that I might have the impetus to get Access working with that but if all I am going to do is check it in it seems less than useful. In the case of my C# stuff it is still useful because we can be working on things locally and only check in when it is tested etc. I.e. I can use an older version until the latest changes seem to be working. Even so it would be nice to say I want to roll back just change xyz. John W. Colby www.ColbyConsulting.com On 9/9/2011 10:59 AM, Charlotte Foust wrote: > John, > > The way to do this is with version control software, i.e., SourceSafe, > SourceGear Vault, etc. There are Access add-ins that allow you to use the > version control software in a comparable manner to other languages, that is, > at the granularity of inidividual containers within the project. You would > need to look at what's out there, and the software isn't cheap, but there's > a good reason for that. Of the two I've worked with (those above), Vault > gives far greater control, but I admit I never worked with it in Access, > only VB.Net. > > Charlotte Foust > > On Fri, Sep 9, 2011 at 4:52 AM, jwcolby wrote: > >> I use a somewhat simple two table change request database for tracking >> changes to my Access projects. I have to admit I find it problematic to >> track changes to a level that allows backing out any specific change while >> leaving the rest. This has resulted in "rolling back" to a specific level >> when a problem comes up. And yes they do test but things do happen. >> >> I have a CR table where the client places their change requests with >> explanatory text. It has the typical requested date / requesting person / >> date to test / date tested etc. A child table holds what I do with >> explanatory text and a test regimen to test that it work, a text for what >> they found in test (if problems). I can add another record as a response to >> that testing problem etc. >> >> The problem I run into is that any significant change may involve a change >> to N queries, additional fields or entire tables, code modules and so forth. >> A change may be trivial or it may be an entire subsystem. I have never >> found a way to really document in sufficient detail what I did to implement >> the change that would allow me to back out just that change, at least of the >> change is very complex. >> >> If I get two or three changes in and then one four changes back is found to >> be a problem such that they want to roll it back, I often times cant. If we >> roll back all the changes since (go back to a previous version) then we lose >> all of the actual work done since. >> >> I have never worked in a large design team and witnessed how this is >> generally done. I am wondering how you guys handle this stuff. Any words >> of wisdom? Tools? tips? >> >> Can we have a discussion on this? >> >> -- >> John W. Colby >> www.ColbyConsulting.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 Sep 9 08:39:11 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 09 Sep 2011 09:39:11 -0400 Subject: [AccessD] Access versioning / tracking changes In-Reply-To: <4E69FE18.6090404@colbyconsulting.com> References: <4E69FE18.6090404@colbyconsulting.com> Message-ID: I work along similar lines and have never found a good way to handle this either. I try and keep my changes small and do them one at a time, making a copy of the DB with each change. But trying to document everything and anything I change just takes too long. And like you, if the first change in a series of four needs to be un-done, then I can either go to a backup and loose all four or try to take out the first one manually. I've never done the latter though. Generally I want to get a client up and running as fast as possible, so I'll either fix it quick (if I think I can), or I simply drop back to the last known good copy and loose all four changes. I suppose I could use Total Access Detective like Dan suggests and try to pull out the first change, but I've never tried to do a rollback like that and it always seemed to me to be more trouble then it was possibly worth. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, September 09, 2011 07:53 AM To: Access Developers discussion and problem solving Subject: [AccessD] Access versioning / tracking changes I use a somewhat simple two table change request database for tracking changes to my Access projects. I have to admit I find it problematic to track changes to a level that allows backing out any specific change while leaving the rest. This has resulted in "rolling back" to a specific level when a problem comes up. And yes they do test but things do happen. I have a CR table where the client places their change requests with explanatory text. It has the typical requested date / requesting person / date to test / date tested etc. A child table holds what I do with explanatory text and a test regimen to test that it work, a text for what they found in test (if problems). I can add another record as a response to that testing problem etc. The problem I run into is that any significant change may involve a change to N queries, additional fields or entire tables, code modules and so forth. A change may be trivial or it may be an entire subsystem. I have never found a way to really document in sufficient detail what I did to implement the change that would allow me to back out just that change, at least of the change is very complex. If I get two or three changes in and then one four changes back is found to be a problem such that they want to roll it back, I often times cant. If we roll back all the changes since (go back to a previous version) then we lose all of the actual work done since. I have never worked in a large design team and witnessed how this is generally done. I am wondering how you guys handle this stuff. Any words of wisdom? Tools? tips? Can we have a discussion on this? -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Sep 9 12:01:39 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 09 Sep 2011 19:01:39 +0200 Subject: [AccessD] Access versioning / tracking changes Message-ID: Hi John You could have the EatBloat code from Max (where did he go?) to read out some or all objects to text files in your repository. Should you need an old version of your app, read back the set of files of that version. I do it simpler. At a given state - usually after some major batch of changes or just before deploying the app - I zip the app appending manually the next version number to the file name, like MyApp_027.zip. /gustav >>> jwcolby at colbyconsulting.com 09-09-2011 18:37 >>> Charlotte, I do version control in my C# code, at least I check stuff in etc. I really just use it for the code repository, not really for versioning. One problem I have is that I am solo. I do not the training to actually use a VCS to create and release versions, mark changes as verson XYZ etc. I use SVN and we check in changes, all that stuff. But how is that used to roll back a specific change? I dunno. If I understood that I might have the impetus to get Access working with that but if all I am going to do is check it in it seems less than useful. In the case of my C# stuff it is still useful because we can be working on things locally and only check in when it is tested etc. I.e. I can use an older version until the latest changes seem to be working. Even so it would be nice to say I want to roll back just change xyz. John W. Colby www.ColbyConsulting.com On 9/9/2011 10:59 AM, Charlotte Foust wrote: > John, > > The way to do this is with version control software, i.e., SourceSafe, > SourceGear Vault, etc. There are Access add-ins that allow you to use the > version control software in a comparable manner to other languages, that is, > at the granularity of inidividual containers within the project. You would > need to look at what's out there, and the software isn't cheap, but there's > a good reason for that. Of the two I've worked with (those above), Vault > gives far greater control, but I admit I never worked with it in Access, > only VB.Net. > > Charlotte Foust > > On Fri, Sep 9, 2011 at 4:52 AM, jwcolby wrote: > >> I use a somewhat simple two table change request database for tracking >> changes to my Access projects. I have to admit I find it problematic to >> track changes to a level that allows backing out any specific change while >> leaving the rest. This has resulted in "rolling back" to a specific level >> when a problem comes up. And yes they do test but things do happen. >> >> I have a CR table where the client places their change requests with >> explanatory text. It has the typical requested date / requesting person / >> date to test / date tested etc. A child table holds what I do with >> explanatory text and a test regimen to test that it work, a text for what >> they found in test (if problems). I can add another record as a response to >> that testing problem etc. >> >> The problem I run into is that any significant change may involve a change >> to N queries, additional fields or entire tables, code modules and so forth. >> A change may be trivial or it may be an entire subsystem. I have never >> found a way to really document in sufficient detail what I did to implement >> the change that would allow me to back out just that change, at least of the >> change is very complex. >> >> If I get two or three changes in and then one four changes back is found to >> be a problem such that they want to roll it back, I often times cant. If we >> roll back all the changes since (go back to a previous version) then we lose >> all of the actual work done since. >> >> I have never worked in a large design team and witnessed how this is >> generally done. I am wondering how you guys handle this stuff. Any words >> of wisdom? Tools? tips? >> >> Can we have a discussion on this? >> >> -- >> John W. Colby >> www.ColbyConsulting.com From jedi at charm.net Fri Sep 9 12:21:09 2011 From: jedi at charm.net (Michael Bahr) Date: Fri, 9 Sep 2011 13:21:09 -0400 (EDT) Subject: [AccessD] Access versioning / tracking changes In-Reply-To: <4E69FE18.6090404@colbyconsulting.com> References: <4E69FE18.6090404@colbyconsulting.com> Message-ID: <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> John, there are some concepts that you need to understand; version and revision. Revisions are incremental changes since the last offical release or version. Rollback "destroys" previous revisions. You can always checkout an earlier revision without destroying the other revision but, you still wind up with lost changes. SCM tools operate on text-based files or source code. They have a built-in ability to "compare" any two revisions for changes and display the results, similair to standalone that compare text files. Access is binary so you can not compare anything. That is your problem. As others have mentioned there are some plug-ins available that could extract the tables/queries/reports but it still binary. > I use a somewhat simple two table change request database for tracking > changes to my Access > projects. I have to admit I find it problematic to track changes to a > level that allows backing out > any specific change while leaving the rest. This has resulted in "rolling > back" to a specific level > when a problem comes up. And yes they do test but things do happen. > > I have a CR table where the client places their change requests with > explanatory text. It has the > typical requested date / requesting person / date to test / date tested > etc. A child table holds > what I do with explanatory text and a test regimen to test that it work, a > text for what they found > in test (if problems). I can add another record as a response to that > testing problem etc. > > The problem I run into is that any significant change may involve a change > to N queries, additional > fields or entire tables, code modules and so forth. A change may be > trivial or it may be an entire > subsystem. I have never found a way to really document in sufficient > detail what I did to implement > the change that would allow me to back out just that change, at least of > the change is very complex. Never gonna happen. You will still loose everything after that change provided that there are later revisions. Even with text-based source code you can not just get a portion of a revision, it is the whole revision or nothing. A possible solution would be to commit one requirement at a time instead of several. Still will not solve your problem. > > If I get two or three changes in and then one four changes back is found > to be a problem such that > they want to roll it back, I often times cant. If we roll back all the > changes since (go back to a > previous version) then we lose all of the actual work done since. Can not be helped. Then either the testing was incomplete or the requirements were faulty or the understanding of the requirement was faulty. > > I have never worked in a large design team and witnessed how this is > generally done. I am wondering > how you guys handle this stuff. Any words of wisdom? Tools? tips? > > Can we have a discussion on this? You should have some requirements that the customer must provide testing parameters/data so you can test and understand their changes. If they decide that those changes do not work then they must understand the risks. Mike... From jwcolby at colbyconsulting.com Fri Sep 9 12:52:12 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 09 Sep 2011 13:52:12 -0400 Subject: [AccessD] Access versioning / tracking changes In-Reply-To: <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> Message-ID: <4E6A524C.80305@colbyconsulting.com> Michael, I pretty much understand all of that. So what you are saying is that there is no way to really check out a version with everything except a specific change. That really makes sense given the possibility of interactions between lines of code. Actually even having the ability to look at changes at revision levels would be useful. John W. Colby www.ColbyConsulting.com On 9/9/2011 1:21 PM, Michael Bahr wrote: > John, there are some concepts that you need to understand; version and > revision. Revisions are incremental changes since the last offical > release or version. Rollback "destroys" previous revisions. You can > always checkout an earlier revision without destroying the other revision > but, you still wind up with lost changes. > > SCM tools operate on text-based files or source code. They have a > built-in ability to "compare" any two revisions for changes and display > the results, similair to standalone that compare text files. Access is > binary so you can not compare anything. That is your problem. As others > have mentioned there are some plug-ins available that could extract the > tables/queries/reports but it still binary. > >> I use a somewhat simple two table change request database for tracking >> changes to my Access >> projects. I have to admit I find it problematic to track changes to a >> level that allows backing out >> any specific change while leaving the rest. This has resulted in "rolling >> back" to a specific level >> when a problem comes up. And yes they do test but things do happen. >> >> I have a CR table where the client places their change requests with >> explanatory text. It has the >> typical requested date / requesting person / date to test / date tested >> etc. A child table holds >> what I do with explanatory text and a test regimen to test that it work, a >> text for what they found >> in test (if problems). I can add another record as a response to that >> testing problem etc. >> >> The problem I run into is that any significant change may involve a change >> to N queries, additional >> fields or entire tables, code modules and so forth. A change may be >> trivial or it may be an entire >> subsystem. I have never found a way to really document in sufficient >> detail what I did to implement >> the change that would allow me to back out just that change, at least of >> the change is very complex. > > Never gonna happen. You will still loose everything after that change > provided that there are later revisions. Even with text-based source code > you can not just get a portion of a revision, it is the whole revision or > nothing. A possible solution would be to commit one requirement at a time > instead of several. Still will not solve your problem. > >> >> If I get two or three changes in and then one four changes back is found >> to be a problem such that >> they want to roll it back, I often times cant. If we roll back all the >> changes since (go back to a >> previous version) then we lose all of the actual work done since. > > Can not be helped. Then either the testing was incomplete or the > requirements were faulty or the understanding of the requirement was > faulty. > >> >> I have never worked in a large design team and witnessed how this is >> generally done. I am wondering >> how you guys handle this stuff. Any words of wisdom? Tools? tips? >> >> Can we have a discussion on this? > > You should have some requirements that the customer must provide testing > parameters/data so you can test and understand their changes. If they > decide that those changes do not work then they must understand the risks. > > Mike... > From stuart at lexacorp.com.pg Fri Sep 9 16:18:49 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 10 Sep 2011 07:18:49 +1000 Subject: [AccessD] Access versioning / tracking changes In-Reply-To: References: Message-ID: <4E6A82B9.1795.36FBC699@stuart.lexacorp.com.pg> I do the same, but it doesn't help John's problem. Unfortunately John's idea is a "pipedream". Example: He is on version 2.5. He wants to remove the changes made in version 2.2 but keep the changes made in ver 2.3, 2.4 and 3.5 What happens if any to the 2.3, 2.4 or 2.5 enhancements use a function or a query field added in 2.2, or even depend on just a change made in a function somewhere in the application? -- Stuart On 9 Sep 2011 at 19:01, Gustav Brock wrote: > Hi John > > You could have the EatBloat code from Max (where did he go?) to read > out some or all objects to text files in your repository. Should you > need an old version of your app, read back the set of files of that > version. > > I do it simpler. At a given state - usually after some major batch of > changes or just before deploying the app - I zip the app appending > manually the next version number to the file name, like MyApp_027.zip. ... > >> If I get two or three changes in and then one four changes back is > >> found to be a problem such that they want to roll it back, I often > >> times cant. If we roll back all the changes since (go back to a > >> previous version) then we lose all of the actual work done since. > >> From jwcolby at colbyconsulting.com Fri Sep 9 17:10:33 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 09 Sep 2011 18:10:33 -0400 Subject: [AccessD] Access versioning / tracking changes In-Reply-To: <4E6A82B9.1795.36FBC699@stuart.lexacorp.com.pg> References: <4E6A82B9.1795.36FBC699@stuart.lexacorp.com.pg> Message-ID: <4E6A8ED9.5020405@colbyconsulting.com> Yep. But that is what the client wants to happen. It is inherently obvious to the most casual observer that it can't really happen. John W. Colby www.ColbyConsulting.com On 9/9/2011 5:18 PM, Stuart McLachlan wrote: > I do the same, but it doesn't help John's problem. > > Unfortunately John's idea is a "pipedream". > > Example: > He is on version 2.5. He wants to remove the changes made in version 2.2 but keep the > changes made in ver 2.3, 2.4 and 3.5 > > What happens if any to the 2.3, 2.4 or 2.5 enhancements use a function or a query field > added in 2.2, or even depend on just a change made in a function somewhere in the > application? > > From fuller.artful at gmail.com Fri Sep 9 19:18:30 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 9 Sep 2011 20:18:30 -0400 Subject: [AccessD] Access versioning / tracking changes In-Reply-To: <4E6A8ED9.5020405@colbyconsulting.com> References: <4E6A82B9.1795.36FBC699@stuart.lexacorp.com.pg> <4E6A8ED9.5020405@colbyconsulting.com> Message-ID: After reading all this, I must confess that the method I use is *primitive*! While doing development I keep OneNote open and copy/paste any code I'm about to change into a new OneNote page. Then I plunge ahead (after of course backing up the current version), and when I've made the change(s), I copy and paste that code into OneNote. It ain't exactly an audit trail nor a VCS but it's as close as I've been able to come. In theory, I like the idea of using EatBloat to export all the stuff as text and then stuff that into a genuine VCS, but I've been bitten by EatBloat more than once and I'm now gun-shy. A. On Fri, Sep 9, 2011 at 6:10 PM, jwcolby wrote: > Yep. But that is what the client wants to happen. It is inherently > obvious to the most casual observer that it can't really happen. > > > John W. Colby > www.ColbyConsulting.com > > > From jedi at charm.net Sat Sep 10 11:52:03 2011 From: jedi at charm.net (Michael Bahr) Date: Sat, 10 Sep 2011 12:52:03 -0400 (EDT) Subject: [AccessD] Access versioning / tracking changes In-Reply-To: <4E6A524C.80305@colbyconsulting.com> References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> <4E6A524C.80305@colbyconsulting.com> Message-ID: <4368.24.35.110.93.1315673523.squirrel@mail.expedient.net> > Michael, > > I pretty much understand all of that. So what you are saying is that > there is no way to really > check out a version with everything except a specific change. That really revision not version, all changes up to and including that revision. > makes sense given the > possibility of interactions between lines of code. > > Actually even having the ability to look at changes at revision levels > would be useful. It is very useful BUT only source code which is text-based. As someone already mentioned FMS has this ability but it is a manual task after GETting an earilier revision and comparing the two. Another feature the SCM tools have is the ability to "branch" or run developement in parallel to the main trunk. Think of a tree, which has a main trunk and branches. The SCM tools allow you to branch then merge if necessary back into the main trunk. For example, you have a deliverable product and one of your customers wants a specific feature that no onw else wants. You branch your project and add the new features and more forward from there without disturbing the main product. Now if the main product continues with its developement then you can merge the specific revisions into the other branch to keep the core application up to date. However since you have a binary file/application you would have to do the merging manually. Then test and do regression testing. Mike... > > John W. Colby > www.ColbyConsulting.com > > On 9/9/2011 1:21 PM, Michael Bahr wrote: >> John, there are some concepts that you need to understand; version and >> revision. Revisions are incremental changes since the last offical >> release or version. Rollback "destroys" previous revisions. You can >> always checkout an earlier revision without destroying the other >> revision >> but, you still wind up with lost changes. >> >> SCM tools operate on text-based files or source code. They have a >> built-in ability to "compare" any two revisions for changes and display >> the results, similair to standalone that compare text files. Access is >> binary so you can not compare anything. That is your problem. As >> others >> have mentioned there are some plug-ins available that could extract the >> tables/queries/reports but it still binary. >> >>> I use a somewhat simple two table change request database for tracking >>> changes to my Access >>> projects. I have to admit I find it problematic to track changes to a >>> level that allows backing out >>> any specific change while leaving the rest. This has resulted in >>> "rolling >>> back" to a specific level >>> when a problem comes up. And yes they do test but things do happen. >>> >>> I have a CR table where the client places their change requests with >>> explanatory text. It has the >>> typical requested date / requesting person / date to test / date tested >>> etc. A child table holds >>> what I do with explanatory text and a test regimen to test that it >>> work, a >>> text for what they found >>> in test (if problems). I can add another record as a response to that >>> testing problem etc. >>> >>> The problem I run into is that any significant change may involve a >>> change >>> to N queries, additional >>> fields or entire tables, code modules and so forth. A change may be >>> trivial or it may be an entire >>> subsystem. I have never found a way to really document in sufficient >>> detail what I did to implement >>> the change that would allow me to back out just that change, at least >>> of >>> the change is very complex. >> >> Never gonna happen. You will still loose everything after that change >> provided that there are later revisions. Even with text-based source >> code >> you can not just get a portion of a revision, it is the whole revision >> or >> nothing. A possible solution would be to commit one requirement at a >> time >> instead of several. Still will not solve your problem. >> >>> >>> If I get two or three changes in and then one four changes back is >>> found >>> to be a problem such that >>> they want to roll it back, I often times cant. If we roll back all the >>> changes since (go back to a >>> previous version) then we lose all of the actual work done since. >> >> Can not be helped. Then either the testing was incomplete or the >> requirements were faulty or the understanding of the requirement was >> faulty. >> >>> >>> I have never worked in a large design team and witnessed how this is >>> generally done. I am wondering >>> how you guys handle this stuff. Any words of wisdom? Tools? tips? >>> >>> Can we have a discussion on this? >> >> You should have some requirements that the customer must provide testing >> parameters/data so you can test and understand their changes. If they >> decide that those changes do not work then they must understand the >> risks. >> >> Mike... >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From marksimms at verizon.net Sun Sep 11 09:03:31 2011 From: marksimms at verizon.net (Mark Simms) Date: Sun, 11 Sep 2011 10:03:31 -0400 Subject: [AccessD] OLE DB being retired In-Reply-To: <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> Message-ID: <000001cc708b$975c37b0$c614a710$@net> Just when you thought the craziness at MSFT had stopped: Rohan Lam, the Program Manager for SQL Server Connectivity, has officially stated that the next version of SQL Server,Denali, will be the last that will support OLE DB. The SQL Server OLE DB provider will then be deprecated in favour of SQL Server Native Client ODBC. In seven years' time OLE DB will be a dead, unsupported technology for SQL Server. What does one read into this remarkable handbrake-turn? Microsoft still publishes White Papers exhorting us to abandon ODBC in favour of OLE DB. Is it is now time to abandon OLE DB? www.sqlservercentral.com From accessd at shaw.ca Sun Sep 11 10:14:06 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 11 Sep 2011 08:14:06 -0700 Subject: [AccessD] OLE DB being retired In-Reply-To: <000001cc708b$975c37b0$c614a710$@net> References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> <000001cc708b$975c37b0$c614a710$@net> Message-ID: <2CDFE19088B646B2818F45D85C1B60DE@creativesystemdesigns.com> I for one will not be happy to see OLE leaving. It is a very fast protocol as all the encumbrances of the ODBC wrapper were removed. Matching ADO with OLE was always fast and slick...a real dream to work with. I do wonder why support for such an elegant designed product was removed? Fortunately, desktop application have been slowly migrating to browser/web bases designs and it disappearance will have little negative impact. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Sunday, September 11, 2011 7:04 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OLE DB being retired Just when you thought the craziness at MSFT had stopped: Rohan Lam, the Program Manager for SQL Server Connectivity, has officially stated that the next version of SQL Server,Denali, will be the last that will support OLE DB. The SQL Server OLE DB provider will then be deprecated in favour of SQL Server Native Client ODBC. In seven years' time OLE DB will be a dead, unsupported technology for SQL Server. What does one read into this remarkable handbrake-turn? Microsoft still publishes White Papers exhorting us to abandon ODBC in favour of OLE DB. Is it is now time to abandon OLE DB? www.sqlservercentral.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sun Sep 11 16:58:31 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 12 Sep 2011 07:58:31 +1000 Subject: [AccessD] OLE DB being retired In-Reply-To: <000001cc708b$975c37b0$c614a710$@net> References: <4E69FE18.6090404@colbyconsulting.com>, <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net>, <000001cc708b$975c37b0$c614a710$@net> Message-ID: <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> I must be psychic. That's four in a row where I made the right decision not to follow MS up a blind alley I stayed with DAO instead of ADODB I stayed away from ADPs I stayed away from DAPs I stayed with ODBC/Native Client instead of OLEDB (actually 5 if you include .Net ) -- Stuart On 11 Sep 2011 at 10:03, Mark Simms wrote: > Just when you thought the craziness at MSFT had stopped: > > Rohan Lam, the Program Manager for SQL Server Connectivity, has > officially stated that the next version of SQL Server,Denali, will be > the last that will support OLE DB. The SQL Server OLE DB provider will > then be deprecated in favour of SQL Server Native Client ODBC. In > seven years' time OLE DB will be a dead, unsupported technology for > SQL Server. What does one read into this remarkable handbrake-turn? > Microsoft still publishes White Papers exhorting us to abandon ODBC in > favour of OLE DB. Is it is now time to abandon OLE DB? > > www.sqlservercentral.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 Sep 11 19:18:12 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 11 Sep 2011 17:18:12 -0700 Subject: [AccessD] OLE DB being retired In-Reply-To: <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> <000001cc708b$975c37b0$c614a710$@net> <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> Message-ID: <87993497A95340A69B7F2BF3A37953F7@creativesystemdesigns.com> I will give you credit for the correct choices but I have always been a sucker for raw speed... A friend, who just retired from his carpentry business, would always say, "You know as well as I do there is no substitute for horse-power." Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, September 11, 2011 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OLE DB being retired I must be psychic. That's four in a row where I made the right decision not to follow MS up a blind alley I stayed with DAO instead of ADODB I stayed away from ADPs I stayed away from DAPs I stayed with ODBC/Native Client instead of OLEDB (actually 5 if you include .Net ) -- Stuart On 11 Sep 2011 at 10:03, Mark Simms wrote: > Just when you thought the craziness at MSFT had stopped: > > Rohan Lam, the Program Manager for SQL Server Connectivity, has > officially stated that the next version of SQL Server,Denali, will be > the last that will support OLE DB. The SQL Server OLE DB provider will > then be deprecated in favour of SQL Server Native Client ODBC. In > seven years' time OLE DB will be a dead, unsupported technology for > SQL Server. What does one read into this remarkable handbrake-turn? > Microsoft still publishes White Papers exhorting us to abandon ODBC in > favour of OLE DB. Is it is now time to abandon OLE DB? > > www.sqlservercentral.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Sun Sep 11 19:29:15 2011 From: newsgrps at dalyn.co.nz (newsgrps) Date: Mon, 12 Sep 2011 12:29:15 +1200 Subject: [AccessD] OLE DB being retired In-Reply-To: <87993497A95340A69B7F2BF3A37953F7@creativesystemdesigns.com > References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> <000001cc708b$975c37b0$c614a710$@net> <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> <87993497A95340A69B7F2BF3A37953F7@creativesystemdesigns.com> Message-ID: <20110912002938.DWQE20837.mta01.xtra.co.nz@David-PC.dalyn.co.nz> Is it any coincidence that Denali is an anagram for Denial? David Emerson Dalyn Software Ltd New Zealand At 12/09/2011, Jim Lawrence wrote: >I will give you credit for the correct choices but I have always been a >sucker for raw speed... > >A friend, who just retired from his carpentry business, would always say, >"You know as well as I do there is no substitute for horse-power." > >Jim > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan >Sent: Sunday, September 11, 2011 2:59 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] OLE DB being retired > >I must be psychic. That's four in a row where I made the right decision not >to follow MS up a >blind alley > >I stayed with DAO instead of ADODB >I stayed away from ADPs >I stayed away from DAPs >I stayed with ODBC/Native Client instead of OLEDB > >(actually 5 if you include .Net ) > >-- >Stuart > > >On 11 Sep 2011 at 10:03, Mark Simms wrote: > > > Just when you thought the craziness at MSFT had stopped: > > > > Rohan Lam, the Program Manager for SQL Server Connectivity, has > > officially stated that the next version of SQL Server,Denali, will be > > the last that will support OLE DB. The SQL Server OLE DB provider will > > then be deprecated in favour of SQL Server Native Client ODBC. In > > seven years' time OLE DB will be a dead, unsupported technology for > > SQL Server. What does one read into this remarkable handbrake-turn? > > Microsoft still publishes White Papers exhorting us to abandon ODBC in > > favour of OLE DB. Is it is now time to abandon OLE DB? > > > > www.sqlservercentral.com > > From accessd at shaw.ca Sun Sep 11 19:39:03 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 11 Sep 2011 17:39:03 -0700 Subject: [AccessD] OLE DB being retired In-Reply-To: <20110912002938.DWQE20837.mta01.xtra.co.nz@David-PC.dalyn.co.nz> References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> <000001cc708b$975c37b0$c614a710$@net> <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> <87993497A95340A69B7F2BF3A37953F7@creativesystemdesigns.com> <20110912002938.DWQE20837.mta01.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: <67F68698D62C4EF9AE68A3417BDD9666@creativesystemdesigns.com> A Freudian slip? How did you know I was starting tests on the product this evening? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of newsgrps Sent: Sunday, September 11, 2011 5:29 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OLE DB being retired Is it any coincidence that Denali is an anagram for Denial? David Emerson Dalyn Software Ltd New Zealand At 12/09/2011, Jim Lawrence wrote: >I will give you credit for the correct choices but I have always been a >sucker for raw speed... > >A friend, who just retired from his carpentry business, would always say, >"You know as well as I do there is no substitute for horse-power." > >Jim > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan >Sent: Sunday, September 11, 2011 2:59 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] OLE DB being retired > >I must be psychic. That's four in a row where I made the right decision not >to follow MS up a >blind alley > >I stayed with DAO instead of ADODB >I stayed away from ADPs >I stayed away from DAPs >I stayed with ODBC/Native Client instead of OLEDB > >(actually 5 if you include .Net ) > >-- >Stuart > > >On 11 Sep 2011 at 10:03, Mark Simms wrote: > > > Just when you thought the craziness at MSFT had stopped: > > > > Rohan Lam, the Program Manager for SQL Server Connectivity, has > > officially stated that the next version of SQL Server,Denali, will be > > the last that will support OLE DB. The SQL Server OLE DB provider will > > then be deprecated in favour of SQL Server Native Client ODBC. In > > seven years' time OLE DB will be a dead, unsupported technology for > > SQL Server. What does one read into this remarkable handbrake-turn? > > Microsoft still publishes White Papers exhorting us to abandon ODBC in > > favour of OLE DB. Is it is now time to abandon OLE DB? > > > > www.sqlservercentral.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 Sep 11 19:44:27 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sun, 11 Sep 2011 17:44:27 -0700 Subject: [AccessD] OLE DB being retired In-Reply-To: <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> <000001cc708b$975c37b0$c614a710$@net> <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> Message-ID: Don't break your arm patting your back! ADODB was a wonderful introduction to ADO.Net. Charlotte Foust On Sun, Sep 11, 2011 at 2:58 PM, Stuart McLachlan wrote: > I must be psychic. That's four in a row where I made the right decision > not to follow MS up a > blind alley > > I stayed with DAO instead of ADODB > I stayed away from ADPs > I stayed away from DAPs > I stayed with ODBC/Native Client instead of OLEDB > > (actually 5 if you include .Net ) > > -- > Stuart > > > On 11 Sep 2011 at 10:03, Mark Simms wrote: > > > Just when you thought the craziness at MSFT had stopped: > > > > Rohan Lam, the Program Manager for SQL Server Connectivity, has > > officially stated that the next version of SQL Server,Denali, will be > > the last that will support OLE DB. The SQL Server OLE DB provider will > > then be deprecated in favour of SQL Server Native Client ODBC. In > > seven years' time OLE DB will be a dead, unsupported technology for > > SQL Server. What does one read into this remarkable handbrake-turn? > > Microsoft still publishes White Papers exhorting us to abandon ODBC in > > favour of OLE DB. Is it is now time to abandon OLE DB? > > > > www.sqlservercentral.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 Sep 11 23:00:25 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 12 Sep 2011 14:00:25 +1000 Subject: [AccessD] Archives? In-Reply-To: References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> <000001cc708b$975c37b0$c614a710$@net> <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> Message-ID: <002001cc7100$806bd130$81437390$@com.au> Hi Admin folks, Access D archives link from the website seems to be (still) down. I recall reading folks were having issues a while back, but of course I cannot access the archives to see what the solution might have been. >From memory there was a cunning secret link that still worked, or maybe I was drunk at the time I read that? Any pointers? Cheers Darryl. From stuart at lexacorp.com.pg Mon Sep 12 03:45:55 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 12 Sep 2011 18:45:55 +1000 Subject: [AccessD] OLE DB being retired In-Reply-To: <20110912002938.DWQE20837.mta01.xtra.co.nz@David-PC.dalyn.co.nz> References: <4E69FE18.6090404@colbyconsulting.com>, <87993497A95340A69B7F2BF3A37953F7@creativesystemdesigns.com >, <20110912002938.DWQE20837.mta01.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: <4E6DC6C3.15083.1CFA28E@stuart.lexacorp.com.pg> or Nailed or And Lie :) -- Stuart On 12 Sep 2011 at 12:29, newsgrps wrote: > Is it any coincidence that Denali is an anagram for Denial? > > David Emerson > Dalyn Software Ltd > New Zealand > > At 12/09/2011, Jim Lawrence wrote: > >I will give you credit for the correct choices but I have always been > >a sucker for raw speed... > > > >A friend, who just retired from his carpentry business, would always > >say, "You know as well as I do there is no substitute for > >horse-power." > > > >Jim > > > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > >McLachlan Sent: Sunday, September 11, 2011 2:59 PM To: Access > >Developers discussion and problem solving Subject: Re: [AccessD] OLE > >DB being retired > > > >I must be psychic. That's four in a row where I made the right > >decision not to follow MS up a blind alley > > > >I stayed with DAO instead of ADODB > >I stayed away from ADPs > >I stayed away from DAPs > >I stayed with ODBC/Native Client instead of OLEDB > > > >(actually 5 if you include .Net ) > > > >-- > >Stuart > > > > > >On 11 Sep 2011 at 10:03, Mark Simms wrote: > > > > > Just when you thought the craziness at MSFT had stopped: > > > > > > Rohan Lam, the Program Manager for SQL Server Connectivity, has > > > officially stated that the next version of SQL Server,Denali, will > > > be the last that will support OLE DB. The SQL Server OLE DB > > > provider will then be deprecated in favour of SQL Server Native > > > Client ODBC. In seven years' time OLE DB will be a dead, > > > unsupported technology for SQL Server. What does one read into > > > this remarkable handbrake-turn? Microsoft still publishes White > > > Papers exhorting us to abandon ODBC in favour of OLE DB. Is it is > > > now time to abandon OLE DB? > > > > > > www.sqlservercentral.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 Sep 12 08:36:46 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 12 Sep 2011 09:36:46 -0400 Subject: [AccessD] OLE DB being retired In-Reply-To: <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> References: <4E69FE18.6090404@colbyconsulting.com>, <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net>, <000001cc708b$975c37b0$c614a710$@net> <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> Message-ID: <88899EFC79F041318C1738F1BAD85AA8@XPS> Stuart, Were actually on the same page. I use ADO and ADP's a bit, but for the most part I have stayed away from them and never really moved to ADO at all. I still use DAO for just about everything (if I can get away with it). I've also stayed away from .Net, but it looks like I'm going to pay for that one having at least 15 years yet to retirement. Access doesn't seem like it's going to hang on (for me) that long with the likes of Lightswitch and it's wholesale move to the web. It has too little focus on producing desktop apps anymore, which I suppose is a sign of the times. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, September 11, 2011 05:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OLE DB being retired I must be psychic. That's four in a row where I made the right decision not to follow MS up a blind alley I stayed with DAO instead of ADODB I stayed away from ADPs I stayed away from DAPs I stayed with ODBC/Native Client instead of OLEDB (actually 5 if you include .Net ) -- Stuart On 11 Sep 2011 at 10:03, Mark Simms wrote: > Just when you thought the craziness at MSFT had stopped: > > Rohan Lam, the Program Manager for SQL Server Connectivity, has > officially stated that the next version of SQL Server,Denali, will be > the last that will support OLE DB. The SQL Server OLE DB provider will > then be deprecated in favour of SQL Server Native Client ODBC. In > seven years' time OLE DB will be a dead, unsupported technology for > SQL Server. What does one read into this remarkable handbrake-turn? > Microsoft still publishes White Papers exhorting us to abandon ODBC in > favour of OLE DB. Is it is now time to abandon OLE DB? > > www.sqlservercentral.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 Sep 13 07:59:12 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Sep 2011 08:59:12 -0400 Subject: [AccessD] Background color when modifying Message-ID: <4E6F53A0.1040400@colbyconsulting.com> I am working on a database. The labels are apparently transparent and the form has a background pattern (one of those auto form thingies). When I click in the label for a control and then click again to edit the caption, the background color turns this obnoxious dark red-ish brown and makes it darned near impossible to see the blue font. Does anyone know if that is a property somewhere that I can modify? This is not a runtime property, it is a design time property. -- John W. Colby www.ColbyConsulting.com From jm.hwsn at gmail.com Tue Sep 13 08:18:26 2011 From: jm.hwsn at gmail.com (jm.hwsn) Date: Tue, 13 Sep 2011 08:18:26 -0500 Subject: [AccessD] Background color when modifying In-Reply-To: <4E6F53A0.1040400@colbyconsulting.com> References: <4E6F53A0.1040400@colbyconsulting.com> Message-ID: <4e6f5826.a3afec0a.532b.6bc3@mx.google.com> John, I had that happen to me too. Check the background color of the label. What happens is when you modify the text the background color is shown. So change it to white and it'll work for you. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 13, 2011 7:59 AM To: Access Developers discussion and problem solving Subject: [AccessD] Background color when modifying I am working on a database. The labels are apparently transparent and the form has a background pattern (one of those auto form thingies). When I click in the label for a control and then click again to edit the caption, the background color turns this obnoxious dark red-ish brown and makes it darned near impossible to see the blue font. Does anyone know if that is a property somewhere that I can modify? This is not a runtime property, it is a design time property. -- John W. Colby www.ColbyConsulting.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 Tue Sep 13 08:21:55 2011 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Tue, 13 Sep 2011 09:21:55 -0400 Subject: [AccessD] Background color when modifying In-Reply-To: <4E6F53A0.1040400@colbyconsulting.com> References: <4E6F53A0.1040400@colbyconsulting.com> Message-ID: I think you may be dealing with a form formatted with the 'International' style. In any case the dreadful color you see is what the label would have if it did *not* have a transparent background. So all you need to do is change the Back Color property from 13209 (or whatever it may be ) to white (16777215), and then you'll be able to read it while you edit the caption. Naturally you could also do this in code by just looping through all the labels and changing heir back color in VBA. Of course you can also simply edit the caption in the property sheet. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 13, 2011 8:59 AM To: Access Developers discussion and problem solving Subject: [AccessD] Background color when modifying I am working on a database. The labels are apparently transparent and the form has a background pattern (one of those auto form thingies). When I click in the label for a control and then click again to edit the caption, the background color turns this obnoxious dark red-ish brown and makes it darned near impossible to see the blue font. Does anyone know if that is a property somewhere that I can modify? This is not a runtime property, it is a design time property. -- John W. Colby www.ColbyConsulting.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 Sep 13 08:51:33 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Sep 2011 09:51:33 -0400 Subject: [AccessD] Background color when modifying In-Reply-To: <4e6f5826.a3afec0a.532b.6bc3@mx.google.com> References: <4E6F53A0.1040400@colbyconsulting.com> <4e6f5826.a3afec0a.532b.6bc3@mx.google.com> Message-ID: <4E6F5FE5.4010808@colbyconsulting.com> Thanks guys. It is indeed transparent but a funky color. Setting the color to white and transparent fixes the problem. John W. Colby www.ColbyConsulting.com On 9/13/2011 9:18 AM, jm.hwsn wrote: > John, I had that happen to me too. > Check the background color of the label. > What happens is when you modify the text the background color is shown. > So change it to white and it'll work for you. > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, September 13, 2011 7:59 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Background color when modifying > > I am working on a database. The labels are apparently transparent and the > form has a background > pattern (one of those auto form thingies). When I click in the label for a > control and then click > again to edit the caption, the background color turns this obnoxious dark > red-ish brown and makes it > darned near impossible to see the blue font. > > Does anyone know if that is a property somewhere that I can modify? This is > not a runtime property, > it is a design time property. > From jwcolby at colbyconsulting.com Tue Sep 13 09:01:55 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Sep 2011 10:01:55 -0400 Subject: [AccessD] Runtime when full version is installed Message-ID: <4E6F6253.2070808@colbyconsulting.com> I have a small (non-profit) client that wants me to install full office 2010 on all of their employees systems. However I want my Access App to run under the runtime. Mostly just for that additional security of not allowing them access to design time stuff unless they intentionally open the app under the full version. I have installed the runtime on other machines but I do not remember if the runtime install allows me to set the destination (install) directory. Is anyone using the runtime? Any tips or tricks for this scenario? -- John W. Colby www.ColbyConsulting.com From Gustav at cactus.dk Tue Sep 13 09:15:31 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 13 Sep 2011 16:15:31 +0200 Subject: [AccessD] Runtime when full version is installed Message-ID: Hi John Non-profit and full Office 2010 doesn't match costly wise. Are you they need Access on all machines? We've never had a client - profit or none - with that demand; we always use the Office 2010 for home and small business with the cheap PCK license. /gustav >>> jwcolby at colbyconsulting.com 13-09-2011 16:01 >>> I have a small (non-profit) client that wants me to install full office 2010 on all of their employees systems. However I want my Access App to run under the runtime. Mostly just for that additional security of not allowing them access to design time stuff unless they intentionally open the app under the full version. I have installed the runtime on other machines but I do not remember if the runtime install allows me to set the destination (install) directory. Is anyone using the runtime? Any tips or tricks for this scenario? -- John W. Colby www.ColbyConsulting.com From charlotte.foust at gmail.com Tue Sep 13 09:24:17 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Tue, 13 Sep 2011 07:24:17 -0700 Subject: [AccessD] Runtime when full version is installed In-Reply-To: <4E6F6253.2070808@colbyconsulting.com> References: <4E6F6253.2070808@colbyconsulting.com> Message-ID: It does, but that doesn't really help if the file association is with full version Access. We used Sage Key scripts to wrap the runtime executable so that the PC didn't get confused. Charlotte Foust On Tue, Sep 13, 2011 at 7:01 AM, jwcolby wrote: > I have a small (non-profit) client that wants me to install full office > 2010 on all of their employees systems. However I want my Access App to run > under the runtime. Mostly just for that additional security of not allowing > them access to design time stuff unless they intentionally open the app > under the full version. > > I have installed the runtime on other machines but I do not remember if the > runtime install allows me to set the destination (install) directory. > > Is anyone using the runtime? Any tips or tricks for this scenario? > > -- > John W. Colby > www.ColbyConsulting.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From jm.hwsn at gmail.com Tue Sep 13 09:38:48 2011 From: jm.hwsn at gmail.com (jm.hwsn) Date: Tue, 13 Sep 2011 09:38:48 -0500 Subject: [AccessD] Runtime when full version is installed In-Reply-To: References: Message-ID: <4e6f6afb.f154ec0a.1d80.7f09@mx.google.com> I agree with that assessment. However, if the client really wants the full install and you want them to run your database using the runtime. The quickest and easiest is to change the extension of the file to accdr. Access will treat it as if it's running under runtime. Yes, the extension can be changed back quite easily. However, with a little bit code it won't run without the proper extension. Such as: If SysCmd(acSysCmdRuntime) = False Then 'Should be using runtime but if not, quit application. If MsgBox("This file is in the wrong format and will not run.", vbCritical, "Application Quit") = vbOK Then Application.Quit End If End If I put this in the on open event of the first form that opens. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, September 13, 2011 9:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Runtime when full version is installed Hi John Non-profit and full Office 2010 doesn't match costly wise. Are you they need Access on all machines? We've never had a client - profit or none - with that demand; we always use the Office 2010 for home and small business with the cheap PCK license. /gustav >>> jwcolby at colbyconsulting.com 13-09-2011 16:01 >>> I have a small (non-profit) client that wants me to install full office 2010 on all of their employees systems. However I want my Access App to run under the runtime. Mostly just for that additional security of not allowing them access to design time stuff unless they intentionally open the app under the full version. I have installed the runtime on other machines but I do not remember if the runtime install allows me to set the destination (install) directory. Is anyone using the runtime? Any tips or tricks for this scenario? -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davidmcafee at gmail.com Tue Sep 13 11:09:22 2011 From: davidmcafee at gmail.com (David McAfee) Date: Tue, 13 Sep 2011 09:09:22 -0700 Subject: [AccessD] Runtime when full version is installed In-Reply-To: References: <4E6F6253.2070808@colbyconsulting.com> Message-ID: +1 on the Sagekey scripts. I haven't used it with 2007/2010 but did use it with earlier versions. Expensive, but worth it. On Tue, Sep 13, 2011 at 7:24 AM, Charlotte Foust wrote: > It does, but that doesn't really help if the file association is with full > version Access. We used Sage Key scripts to wrap the runtime executable so > that the PC didn't get confused. > > Charlotte Foust > > On Tue, Sep 13, 2011 at 7:01 AM, jwcolby >wrote: > > > I have a small (non-profit) client that wants me to install full office > > 2010 on all of their employees systems. However I want my Access App to > run > > under the runtime. Mostly just for that additional security of not > allowing > > them access to design time stuff unless they intentionally open the app > > under the full version. > > > > I have installed the runtime on other machines but I do not remember if > the > > runtime install allows me to set the destination (install) directory. > > > > Is anyone using the runtime? Any tips or tricks for this scenario? > > > > -- > > John W. Colby > > www.ColbyConsulting.com > > > > > > -- > > 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 Tue Sep 13 11:14:01 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Sep 2011 12:14:01 -0400 Subject: [AccessD] Runtime when full version is installed In-Reply-To: References: <4E6F6253.2070808@colbyconsulting.com> Message-ID: <4E6F8149.3000107@colbyconsulting.com> Charlotte, > It does, but that doesn't really help if the file association is with full version Access. Associations only matter if you double click a file. If I have a shortcut that uses the actual installed access runtime instance to open the file then... >We used Sage Key scripts to wrap the runtime executable so that the PC didn't get confused. It is so nice of you to offer to buy that for me. ;) John W. Colby www.ColbyConsulting.com On 9/13/2011 10:24 AM, Charlotte Foust wrote: > It does, but that doesn't really help if the file association is with full > version Access. We used Sage Key scripts to wrap the runtime executable so > that the PC didn't get confused. > > Charlotte Foust > > On Tue, Sep 13, 2011 at 7:01 AM, jwcolbywrote: > >> I have a small (non-profit) client that wants me to install full office >> 2010 on all of their employees systems. However I want my Access App to run >> under the runtime. Mostly just for that additional security of not allowing >> them access to design time stuff unless they intentionally open the app >> under the full version. >> >> I have installed the runtime on other machines but I do not remember if the >> runtime install allows me to set the destination (install) directory. >> >> Is anyone using the runtime? Any tips or tricks for this scenario? >> >> -- >> John W. Colby >> www.ColbyConsulting.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 Sep 13 11:17:52 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Sep 2011 12:17:52 -0400 Subject: [AccessD] Runtime when full version is installed In-Reply-To: References: Message-ID: <4E6F8230.3000703@colbyconsulting.com> As a non-profit they got something like 50 licenses from Microsoft for almost nothing. They want the full version on the employees machines so that they can use all of the other office applications and all be using the same version to do so. I don't want them using the full version on the Access application simply because is exposes the application. I will probably go with a "compiled" version (MDE) once it stabilizes but for now using the runtime will help me keep users where they belong. John W. Colby www.ColbyConsulting.com On 9/13/2011 10:15 AM, Gustav Brock wrote: > Hi John > > Non-profit and full Office 2010 doesn't match costly wise. Are you they need Access on all machines? We've never had a client - profit or none - with that demand; we always use the Office 2010 for home and small business with the cheap PCK license. > > /gustav > > >>>> jwcolby at colbyconsulting.com 13-09-2011 16:01>>> > I have a small (non-profit) client that wants me to install full office 2010 on all of their > employees systems. However I want my Access App to run under the runtime. Mostly just for that > additional security of not allowing them access to design time stuff unless they intentionally open > the app under the full version. > > I have installed the runtime on other machines but I do not remember if the runtime install allows > me to set the destination (install) directory. > > Is anyone using the runtime? Any tips or tricks for this scenario? > From jimdettman at verizon.net Tue Sep 13 11:42:28 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 13 Sep 2011 12:42:28 -0400 Subject: [AccessD] Runtime when full version is installed In-Reply-To: <4E6F8230.3000703@colbyconsulting.com> References: <4E6F8230.3000703@colbyconsulting.com> Message-ID: <3B0E65B4AEE54DB88C1961E8015F4817@XPS> John, No need for the run-time. Distribute as a MDE and use the SysCmd(acSysCmdRuntime) call to determine if it started in run-time mode and if not quit the app. Then give them a shortcut on the desktop with the /runtime switch. If they use anything other then the shortcut, they go no where. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 13, 2011 12:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Runtime when full version is installed As a non-profit they got something like 50 licenses from Microsoft for almost nothing. They want the full version on the employees machines so that they can use all of the other office applications and all be using the same version to do so. I don't want them using the full version on the Access application simply because is exposes the application. I will probably go with a "compiled" version (MDE) once it stabilizes but for now using the runtime will help me keep users where they belong. John W. Colby www.ColbyConsulting.com On 9/13/2011 10:15 AM, Gustav Brock wrote: > Hi John > > Non-profit and full Office 2010 doesn't match costly wise. Are you they need Access on all machines? We've never had a client - profit or none - with that demand; we always use the Office 2010 for home and small business with the cheap PCK license. > > /gustav > > >>>> jwcolby at colbyconsulting.com 13-09-2011 16:01>>> > I have a small (non-profit) client that wants me to install full office 2010 on all of their > employees systems. However I want my Access App to run under the runtime. Mostly just for that > additional security of not allowing them access to design time stuff unless they intentionally open > the app under the full version. > > I have installed the runtime on other machines but I do not remember if the runtime install allows > me to set the destination (install) directory. > > Is anyone using the runtime? Any tips or tricks for this scenario? > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Sep 13 12:46:55 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Sep 2011 13:46:55 -0400 Subject: [AccessD] Runtime when full version is installed In-Reply-To: References: <4E6F6253.2070808@colbyconsulting.com> Message-ID: <4E6F970F.3070004@colbyconsulting.com> Oh my, so many people volunteering to buy it for me. ;) Please remember that this is Pro bono work. I am already giving away tons of hours. John W. Colby www.ColbyConsulting.com On 9/13/2011 12:09 PM, David McAfee wrote: > +1 on the Sagekey scripts. > > I haven't used it with 2007/2010 but did use it with earlier versions. > > Expensive, but worth it. > > > On Tue, Sep 13, 2011 at 7:24 AM, Charlotte Foust > wrote: > >> It does, but that doesn't really help if the file association is with full >> version Access. We used Sage Key scripts to wrap the runtime executable so >> that the PC didn't get confused. >> >> Charlotte Foust >> >> On Tue, Sep 13, 2011 at 7:01 AM, jwcolby>> wrote: >> >>> I have a small (non-profit) client that wants me to install full office >>> 2010 on all of their employees systems. However I want my Access App to >> run >>> under the runtime. Mostly just for that additional security of not >> allowing >>> them access to design time stuff unless they intentionally open the app >>> under the full version. >>> >>> I have installed the runtime on other machines but I do not remember if >> the >>> runtime install allows me to set the destination (install) directory. >>> >>> Is anyone using the runtime? Any tips or tricks for this scenario? >>> >>> -- >>> John W. Colby >>> www.ColbyConsulting.com >>> >>> >>> -- >>> 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 Tue Sep 13 12:48:45 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Sep 2011 13:48:45 -0400 Subject: [AccessD] Runtime when full version is installed In-Reply-To: <3B0E65B4AEE54DB88C1961E8015F4817@XPS> References: <4E6F8230.3000703@colbyconsulting.com> <3B0E65B4AEE54DB88C1961E8015F4817@XPS> Message-ID: <4E6F977D.4070405@colbyconsulting.com> Woa, that is an awesome solution! Thanks! John W. Colby www.ColbyConsulting.com On 9/13/2011 12:42 PM, Jim Dettman wrote: > John, > > No need for the run-time. > > Distribute as a MDE and use the SysCmd(acSysCmdRuntime) call to determine > if it started in run-time mode and if not quit the app. > > Then give them a shortcut on the desktop with the /runtime switch. > > If they use anything other then the shortcut, they go no where. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, September 13, 2011 12:18 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Runtime when full version is installed > > As a non-profit they got something like 50 licenses from Microsoft for > almost nothing. They want > the full version on the employees machines so that they can use all of the > other office applications > and all be using the same version to do so. > > I don't want them using the full version on the Access application simply > because is exposes the > application. I will probably go with a "compiled" version (MDE) once it > stabilizes but for now > using the runtime will help me keep users where they belong. > > John W. Colby > www.ColbyConsulting.com > > On 9/13/2011 10:15 AM, Gustav Brock wrote: >> Hi John >> >> Non-profit and full Office 2010 doesn't match costly wise. Are you they > need Access on all machines? We've never had a client - profit or none - > with that demand; we always use the Office 2010 for home and small business > with the cheap PCK license. >> >> /gustav >> >> >>>>> jwcolby at colbyconsulting.com 13-09-2011 16:01>>> >> I have a small (non-profit) client that wants me to install full office > 2010 on all of their >> employees systems. However I want my Access App to run under the runtime. > Mostly just for that >> additional security of not allowing them access to design time stuff > unless they intentionally open >> the app under the full version. >> >> I have installed the runtime on other machines but I do not remember if > the runtime install allows >> me to set the destination (install) directory. >> >> Is anyone using the runtime? Any tips or tricks for this scenario? >> From dnod at aol.com Tue Sep 13 12:53:18 2011 From: dnod at aol.com (Dean) Date: Tue, 13 Sep 2011 13:53:18 -0400 Subject: [AccessD] Runtime when full version is installed In-Reply-To: <4E6F970F.3070004@colbyconsulting.com> References: <4E6F6253.2070808@colbyconsulting.com> <4E6F970F.3070004@colbyconsulting.com> Message-ID: Do they need Access installed as part of the Suite. I meet very few end users who have a clue what to do with it. In my own office, I install MS Office often without including Access so as not to complicate the runtime apps maintenance. Dean S. Davids Fort Lauderdale, Fl On Sep 13, 2011, at 1:46 PM, jwcolby wrote: > Oh my, so many people volunteering to buy it for me. ;) > > Please remember that this is Pro bono work. I am already giving away tons of hours. > > John W. Colby > www.ColbyConsulting.com > > On 9/13/2011 12:09 PM, David McAfee wrote: >> +1 on the Sagekey scripts. >> >> I haven't used it with 2007/2010 but did use it with earlier versions. >> >> Expensive, but worth it. >> >> >> On Tue, Sep 13, 2011 at 7:24 AM, Charlotte Foust >> wrote: >> >>> It does, but that doesn't really help if the file association is with full >>> version Access. We used Sage Key scripts to wrap the runtime executable so >>> that the PC didn't get confused. >>> >>> Charlotte Foust >>> >>> On Tue, Sep 13, 2011 at 7:01 AM, jwcolby>>> wrote: >>> >>>> I have a small (non-profit) client that wants me to install full office >>>> 2010 on all of their employees systems. However I want my Access App to >>> run >>>> under the runtime. Mostly just for that additional security of not >>> allowing >>>> them access to design time stuff unless they intentionally open the app >>>> under the full version. >>>> >>>> I have installed the runtime on other machines but I do not remember if >>> the >>>> runtime install allows me to set the destination (install) directory. >>>> >>>> Is anyone using the runtime? Any tips or tricks for this scenario? >>>> >>>> -- >>>> John W. Colby >>>> www.ColbyConsulting.com >>>> >>>> >>>> -- >>>> 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 Tue Sep 13 13:14:21 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Sep 2011 14:14:21 -0400 Subject: [AccessD] Runtime when full version is installed In-Reply-To: References: <4E6F6253.2070808@colbyconsulting.com> <4E6F970F.3070004@colbyconsulting.com> Message-ID: <4E6F9D7D.9000201@colbyconsulting.com> Well there's another idea. It is kind of useful to have the full version in case I am trying to fix a bug on that user's machine. John W. Colby www.ColbyConsulting.com On 9/13/2011 1:53 PM, Dean wrote: > Do they need Access installed as part of the Suite. I meet very few end users who have a clue what to do with it. In my own office, I install MS Office often without including Access so as not to complicate the runtime apps maintenance. > > Dean S. Davids > Fort Lauderdale, Fl > > On Sep 13, 2011, at 1:46 PM, jwcolby wrote: > >> Oh my, so many people volunteering to buy it for me. ;) >> >> Please remember that this is Pro bono work. I am already giving away tons of hours. >> >> John W. Colby >> www.ColbyConsulting.com >> >> On 9/13/2011 12:09 PM, David McAfee wrote: >>> +1 on the Sagekey scripts. >>> >>> I haven't used it with 2007/2010 but did use it with earlier versions. >>> >>> Expensive, but worth it. >>> >>> >>> On Tue, Sep 13, 2011 at 7:24 AM, Charlotte Foust >>> wrote: >>> >>>> It does, but that doesn't really help if the file association is with full >>>> version Access. We used Sage Key scripts to wrap the runtime executable so >>>> that the PC didn't get confused. >>>> >>>> Charlotte Foust >>>> >>>> On Tue, Sep 13, 2011 at 7:01 AM, jwcolby>>>> wrote: >>>> >>>>> I have a small (non-profit) client that wants me to install full office >>>>> 2010 on all of their employees systems. However I want my Access App to >>>> run >>>>> under the runtime. Mostly just for that additional security of not >>>> allowing >>>>> them access to design time stuff unless they intentionally open the app >>>>> under the full version. >>>>> >>>>> I have installed the runtime on other machines but I do not remember if >>>> the >>>>> runtime install allows me to set the destination (install) directory. >>>>> >>>>> Is anyone using the runtime? Any tips or tricks for this scenario? >>>>> >>>>> -- >>>>> John W. Colby >>>>> www.ColbyConsulting.com >>>>> >>>>> >>>>> -- >>>>> 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 dnod at aol.com Tue Sep 13 13:33:17 2011 From: dnod at aol.com (Dean) Date: Tue, 13 Sep 2011 14:33:17 -0400 Subject: [AccessD] Runtime when full version is installed In-Reply-To: <4E6F9D7D.9000201@colbyconsulting.com> References: <4E6F6253.2070808@colbyconsulting.com> <4E6F970F.3070004@colbyconsulting.com> <4E6F9D7D.9000201@colbyconsulting.com> Message-ID: <2ED2C15A-6C12-4A0A-8A14-99873D514457@aol.com> Yes, that has indeed been an issue. Never enough to change my course however. Dean S. Davids Fort Lauderdale, FL On Sep 13, 2011, at 2:14 PM, jwcolby wrote: > Well there's another idea. It is kind of useful to have the full version in case I am trying to fix a bug on that user's machine. > > John W. Colby > www.ColbyConsulting.com > > On 9/13/2011 1:53 PM, Dean wrote: >> Do they need Access installed as part of the Suite. I meet very few end users who have a clue what to do with it. In my own office, I install MS Office often without including Access so as not to complicate the runtime apps maintenance. >> >> Dean S. Davids >> Fort Lauderdale, Fl >> >> On Sep 13, 2011, at 1:46 PM, jwcolby wrote: >> >>> Oh my, so many people volunteering to buy it for me. ;) >>> >>> Please remember that this is Pro bono work. I am already giving away tons of hours. >>> >>> John W. Colby >>> www.ColbyConsulting.com >>> >>> On 9/13/2011 12:09 PM, David McAfee wrote: >>>> +1 on the Sagekey scripts. >>>> >>>> I haven't used it with 2007/2010 but did use it with earlier versions. >>>> >>>> Expensive, but worth it. >>>> >>>> >>>> On Tue, Sep 13, 2011 at 7:24 AM, Charlotte Foust >>>> wrote: >>>> >>>>> It does, but that doesn't really help if the file association is with full >>>>> version Access. We used Sage Key scripts to wrap the runtime executable so >>>>> that the PC didn't get confused. >>>>> >>>>> Charlotte Foust >>>>> >>>>> On Tue, Sep 13, 2011 at 7:01 AM, jwcolby>>>>> wrote: >>>>> >>>>>> I have a small (non-profit) client that wants me to install full office >>>>>> 2010 on all of their employees systems. However I want my Access App to >>>>> run >>>>>> under the runtime. Mostly just for that additional security of not >>>>> allowing >>>>>> them access to design time stuff unless they intentionally open the app >>>>>> under the full version. >>>>>> >>>>>> I have installed the runtime on other machines but I do not remember if >>>>> the >>>>>> runtime install allows me to set the destination (install) directory. >>>>>> >>>>>> Is anyone using the runtime? Any tips or tricks for this scenario? >>>>>> >>>>>> -- >>>>>> John W. Colby >>>>>> www.ColbyConsulting.com >>>>>> >>>>>> >>>>>> -- >>>>>> 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 >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Sep 13 13:42:43 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Sep 2011 14:42:43 -0400 Subject: [AccessD] Runtime when full version is installed In-Reply-To: <3B0E65B4AEE54DB88C1961E8015F4817@XPS> References: <4E6F8230.3000703@colbyconsulting.com> <3B0E65B4AEE54DB88C1961E8015F4817@XPS> Message-ID: <4E6FA423.1040500@colbyconsulting.com> Jim, When you say distribute as an mde I assume you mean "compiled"? John W. Colby www.ColbyConsulting.com On 9/13/2011 12:42 PM, Jim Dettman wrote: > John, > > No need for the run-time. > > Distribute as a MDE and use the SysCmd(acSysCmdRuntime) call to determine > if it started in run-time mode and if not quit the app. > > Then give them a shortcut on the desktop with the /runtime switch. > > If they use anything other then the shortcut, they go no where. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, September 13, 2011 12:18 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Runtime when full version is installed > > As a non-profit they got something like 50 licenses from Microsoft for > almost nothing. They want > the full version on the employees machines so that they can use all of the > other office applications > and all be using the same version to do so. > > I don't want them using the full version on the Access application simply > because is exposes the > application. I will probably go with a "compiled" version (MDE) once it > stabilizes but for now > using the runtime will help me keep users where they belong. > > John W. Colby > www.ColbyConsulting.com > > On 9/13/2011 10:15 AM, Gustav Brock wrote: >> Hi John >> >> Non-profit and full Office 2010 doesn't match costly wise. Are you they > need Access on all machines? We've never had a client - profit or none - > with that demand; we always use the Office 2010 for home and small business > with the cheap PCK license. >> >> /gustav >> >> >>>>> jwcolby at colbyconsulting.com 13-09-2011 16:01>>> >> I have a small (non-profit) client that wants me to install full office > 2010 on all of their >> employees systems. However I want my Access App to run under the runtime. > Mostly just for that >> additional security of not allowing them access to design time stuff > unless they intentionally open >> the app under the full version. >> >> I have installed the runtime on other machines but I do not remember if > the runtime install allows >> me to set the destination (install) directory. >> >> Is anyone using the runtime? Any tips or tricks for this scenario? >> From john at winhaven.net Tue Sep 13 13:58:53 2011 From: john at winhaven.net (John Bartow) Date: Tue, 13 Sep 2011 13:58:53 -0500 Subject: [AccessD] Archives? In-Reply-To: <002001cc7100$806bd130$81437390$@com.au> References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> <000001cc708b$975c37b0$c614a710$@net> <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> <002001cc7100$806bd130$81437390$@com.au> Message-ID: <010201cc7247$2ee473b0$8cad5b10$@winhaven.net> Hi Daryl, We're looking into it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Sunday, September 11, 2011 11:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Archives? Hi Admin folks, Access D archives link from the website seems to be (still) down. I recall reading folks were having issues a while back, but of course I cannot access the archives to see what the solution might have been. >From memory there was a cunning secret link that still worked, or maybe >I was drunk at the time I read that? Any pointers? Cheers Darryl. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Tue Sep 13 14:36:10 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 13 Sep 2011 15:36:10 -0400 Subject: [AccessD] Runtime when full version is installed In-Reply-To: <4E6FA423.1040500@colbyconsulting.com> References: <4E6F8230.3000703@colbyconsulting.com> <3B0E65B4AEE54DB88C1961E8015F4817@XPS> <4E6FA423.1040500@colbyconsulting.com> Message-ID: John, Source code stripped out, so yes that would be compiled. If that's done, no changes can be made to the code and the code cannot be viewed. If you want to be able to make code changes on site, the alternative would be to distribute as normal, but put a password on the VBA project file. That would be enough to keep the mildly curious out, but still let you make changes on site if needed. And BTW, I see the other Jim posted with more or less the same idea before I did (he suggested changing the extension on the file to .accdr, which also forces runtime mode in 2007 and up. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 13, 2011 02:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Runtime when full version is installed Jim, When you say distribute as an mde I assume you mean "compiled"? John W. Colby www.ColbyConsulting.com On 9/13/2011 12:42 PM, Jim Dettman wrote: > John, > > No need for the run-time. > > Distribute as a MDE and use the SysCmd(acSysCmdRuntime) call to determine > if it started in run-time mode and if not quit the app. > > Then give them a shortcut on the desktop with the /runtime switch. > > If they use anything other then the shortcut, they go no where. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, September 13, 2011 12:18 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Runtime when full version is installed > > As a non-profit they got something like 50 licenses from Microsoft for > almost nothing. They want > the full version on the employees machines so that they can use all of the > other office applications > and all be using the same version to do so. > > I don't want them using the full version on the Access application simply > because is exposes the > application. I will probably go with a "compiled" version (MDE) once it > stabilizes but for now > using the runtime will help me keep users where they belong. > > John W. Colby > www.ColbyConsulting.com > > On 9/13/2011 10:15 AM, Gustav Brock wrote: >> Hi John >> >> Non-profit and full Office 2010 doesn't match costly wise. Are you they > need Access on all machines? We've never had a client - profit or none - > with that demand; we always use the Office 2010 for home and small business > with the cheap PCK license. >> >> /gustav >> >> >>>>> jwcolby at colbyconsulting.com 13-09-2011 16:01>>> >> I have a small (non-profit) client that wants me to install full office > 2010 on all of their >> employees systems. However I want my Access App to run under the runtime. > Mostly just for that >> additional security of not allowing them access to design time stuff > unless they intentionally open >> the app under the full version. >> >> I have installed the runtime on other machines but I do not remember if > the runtime install allows >> me to set the destination (install) directory. >> >> Is anyone using the runtime? Any tips or tricks for this scenario? >> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Tue Sep 13 18:41:30 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 14 Sep 2011 09:41:30 +1000 Subject: [AccessD] Archives? In-Reply-To: <010201cc7247$2ee473b0$8cad5b10$@winhaven.net> References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> <000001cc708b$975c37b0$c614a710$@net> <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> <002001cc7100$806bd130$81437390$@com.au> <010201cc7247$2ee473b0$8cad5b10$@winhaven.net> Message-ID: <001501cc726e$aa1c4450$fe54ccf0$@com.au> Thanks John, I appreciate you all have lives outside of Access D so happy to wait for when you can get a solution. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Wednesday, 14 September 2011 4:59 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Archives? Hi Daryl, We're looking into it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Sunday, September 11, 2011 11:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Archives? Hi Admin folks, Access D archives link from the website seems to be (still) down. I recall reading folks were having issues a while back, but of course I cannot access the archives to see what the solution might have been. >From memory there was a cunning secret link that still worked, or maybe >I was drunk at the time I read that? Any pointers? Cheers Darryl. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Sep 13 20:35:25 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 13 Sep 2011 18:35:25 -0700 Subject: [AccessD] New Windows 8 In-Reply-To: <2F9A0DD5E91F496C8AE781EC53B17173@creativesystemdesigns.com> References: <2F9A0DD5E91F496C8AE781EC53B17173@creativesystemdesigns.com> Message-ID: The first look of Windows 8 may be a bit of a curiosity. Actually, it is two products in one or a core with two distros...like Linux, given say, Lime and Ubuntu, each interface looks completely different but each has the same kernel. There will be the new default browser/cell phone type interface and then there will be Windows7. http://www.theregister.co.uk/2011/09/13/windows_8_preview/ I think this product is an evolutionary product...One part says desktop PC and the other says Web based browser. The interface is just a step on the journey which will lead away from the desktop PC to an internet support application. Many articles have been written saying it more bluntly, but this is the formal acceptance and official agreement, on the part of Microsoft. They have just acknowledged the truth and that is that the PC, as we know it, is dead. So boys and girls if you plan to be working in the computer industry, of the future get your internet skills ready. Learn about web servers, internet protocols, distributive databases, HTMLx, CSSx, JavaScript, web based graphics and cloud based applications (and all the forth-coming generations). It is going to be a thrilling ride as we launch off from the PC. Jim From dhb at flsi.com Tue Sep 13 20:48:22 2011 From: dhb at flsi.com (Darrell Burns) Date: Tue, 13 Sep 2011 18:48:22 -0700 Subject: [AccessD] Runtime when full version is installed In-Reply-To: <4E6F6253.2070808@colbyconsulting.com> References: <4E6F6253.2070808@colbyconsulting.com> Message-ID: <025001cc7280$6306eb80$2914c280$@flsi.com> Sorry if I'm answering this late but yes, I have just implemented A2010 runtime in a corporate environment where the workstations are running a mix of Office 2003 thru 2010. I had to jump thru 3 sets of hoops: 1) to send eMail messages, and 2) to jump over the security popups, and 3) to overcome the Office2010 SP1 development bug. I'd be happy to share my results if you're bedeviled by any of these quirks. The answer to your question " runtime install allows me to set the destination (install) directory" is YES. Darrell -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 13, 2011 7:02 AM To: Access Developers discussion and problem solving Subject: [AccessD] Runtime when full version is installed I have a small (non-profit) client that wants me to install full office 2010 on all of their employees systems. However I want my Access App to run under the runtime. Mostly just for that additional security of not allowing them access to design time stuff unless they intentionally open the app under the full version. I have installed the runtime on other machines but I do not remember if the runtime install allows me to set the destination (install) directory. Is anyone using the runtime? Any tips or tricks for this scenario? -- John W. Colby www.ColbyConsulting.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 Tue Sep 13 21:18:47 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 14 Sep 2011 12:18:47 +1000 Subject: [AccessD] New Windows 8 In-Reply-To: References: , <2F9A0DD5E91F496C8AE781EC53B17173@creativesystemdesigns.com>, Message-ID: <4E700F07.22290.383F13@stuart.lexacorp.com.pg> Maybe in the US where internet access is fast and bandiwdth is cheap. It will be many years before businesses in much of the world are prepared to go that way. -- Stuart On 13 Sep 2011 at 18:35, Jim Lawrence wrote: > Many articles have been written saying it more bluntly, but this is > the formal acceptance and official agreement, on the part of > Microsoft. They have just acknowledged the truth and that is that the > PC, as we know it, is dead. > > So boys and girls if you plan to be working in the computer industry, > of the future get your internet skills ready. Learn about web servers, > internet protocols, distributive databases, HTMLx, CSSx, JavaScript, > web based graphics and cloud based applications (and all the > forth-coming generations). > > It is going to be a thrilling ride as we launch off from the PC. > From darryl at whittleconsulting.com.au Tue Sep 13 21:27:23 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 14 Sep 2011 12:27:23 +1000 Subject: [AccessD] New Windows 8 In-Reply-To: <4E700F07.22290.383F13@stuart.lexacorp.com.pg> References: , <2F9A0DD5E91F496C8AE781EC53B17173@creativesystemdesigns.com>, <4E700F07.22290.383F13@stuart.lexacorp.com.pg> Message-ID: <002e01cc7285$d71b2900$85517b00$@com.au> Yeah, that is a good point. In many places in Oz the prices are steep and the speed woeful - especially outside of the Metro areas... And there is no use using someone else as there is only the one service provider in much of the country. Suck it up really. Hmmmmm. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, 14 September 2011 12:19 PM To: 'Discussion of Hardware and Software issues'; 'Off Topic'; 'Discussion concerning Visual Basic and related programming issues.'; 'Discussion concerning MS SQL Server'; 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New Windows 8 Maybe in the US where internet access is fast and bandiwdth is cheap. It will be many years before businesses in much of the world are prepared to go that way. -- Stuart On 13 Sep 2011 at 18:35, Jim Lawrence wrote: > Many articles have been written saying it more bluntly, but this is > the formal acceptance and official agreement, on the part of > Microsoft. They have just acknowledged the truth and that is that the > PC, as we know it, is dead. > > So boys and girls if you plan to be working in the computer industry, > of the future get your internet skills ready. Learn about web servers, > internet protocols, distributive databases, HTMLx, CSSx, JavaScript, > web based graphics and cloud based applications (and all the > forth-coming generations). > > It is going to be a thrilling ride as we launch off from the PC. > -- 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 Sep 14 15:31:01 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 14 Sep 2011 16:31:01 -0400 Subject: [AccessD] Numbers within a street Message-ID: I am working on a political campaign management app. The thing I need to do is post reports that identify the even and odd numbers on a given street. I inherited the db and have freedom to change it (it was written by amateurs and they know it and there are no hard feelings if I make a change, insofar as said change increases productivity). So... given a current field called StreetAddress, I want to break it into two fields, StreetNumber and StreetAddress, so that I can filter the even numbers for one report and the odd numbers for an identical report. How can I intelligently extract the data and populate my new columns? Example data: 123 Normal Street ' easy 234A Abnormal Street ' a tad trickier 2333-1070 Queen Street ' the 2333 part should fall into the StreetNumber field and the rest into the StreetAddress field. Any clever ideas how I might achieve this? TIA, Arthur From jimdettman at verizon.net Wed Sep 14 15:40:20 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 14 Sep 2011 16:40:20 -0400 Subject: [AccessD] Numbers within a street In-Reply-To: References: Message-ID: <2A48DB970C304F07A8F2486788C482D2@XPS> Well right now, it looks like you could split it at the first space. I doubt that it will be that simple though. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, September 14, 2011 04:31 PM To: Access Developers discussion and problem solving Subject: [AccessD] Numbers within a street I am working on a political campaign management app. The thing I need to do is post reports that identify the even and odd numbers on a given street. I inherited the db and have freedom to change it (it was written by amateurs and they know it and there are no hard feelings if I make a change, insofar as said change increases productivity). So... given a current field called StreetAddress, I want to break it into two fields, StreetNumber and StreetAddress, so that I can filter the even numbers for one report and the odd numbers for an identical report. How can I intelligently extract the data and populate my new columns? Example data: 123 Normal Street ' easy 234A Abnormal Street ' a tad trickier 2333-1070 Queen Street ' the 2333 part should fall into the StreetNumber field and the rest into the StreetAddress field. Any clever ideas how I might achieve this? TIA, Arthur -- 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 Sep 14 16:06:15 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 14 Sep 2011 17:06:15 -0400 Subject: [AccessD] Numbers within a street In-Reply-To: <2A48DB970C304F07A8F2486788C482D2@XPS> References: <2A48DB970C304F07A8F2486788C482D2@XPS> Message-ID: You're quite right. Given that the inputs have been largely entered by (gasp) db-ignorant volunteers, there may not be any simple extraction. But a simple query extracting (most of the) street numers will get us about 80% of the rows, and the remainder can be adjusted manually. That's my guess, anyway. Upon achievement of this interim step, it's a cinch to grab the odd and even numbers. In case you're wondering, this is to facilitate the people canvassing and/or hanging signs for the designated politician. My first shot at this target was back in the days of DOS. I wrote the campaign-management software for our recently-departed Jack Layton Back then I did it for free, because I believed in his vision. Now I'm doing it again, and again for free, because I believe in the NDP vision. A. On Wed, Sep 14, 2011 at 4:40 PM, Jim Dettman wrote: > > Well right now, it looks like you could split it at the first space. I > doubt that it will be that simple though. > > Jim. > > From stuart at lexacorp.com.pg Wed Sep 14 16:44:00 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 15 Sep 2011 07:44:00 +1000 Subject: [AccessD] Numbers within a street In-Reply-To: References: Message-ID: <4E712020.12464.4630E58@stuart.lexacorp.com.pg> A query Column =VAL(StreetAddress) will give you the street number in all of those cases. If all you want is whether it is odd or evem, then just create a query column =VAL(StrretAddress) Mod 2 If you want the Street Name by itself , a first pass would be =RIGHT$(StreetAddress, INSTR(StreetAddress," ") + 1) Note: In your third example, VAL() returns just the 2333. If looking for the street name, I would want "Queen Street", not "1070 Queen Street", so you lose data when splitting. For the actual address, you'd use the original data rather that trying to put the Number and Streetname back together again. -- Stuart On 14 Sep 2011 at 16:31, Arthur Fuller wrote: > I am working on a political campaign management app. The thing I need > to do is post reports that identify the even and odd numbers on a > given street. I inherited the db and have freedom to change it (it was > written by amateurs and they know it and there are no hard feelings if > I make a change, insofar as said change increases productivity). > > So... given a current field called StreetAddress, I want to break it > into two fields, StreetNumber and StreetAddress, so that I can filter > the even numbers for one report and the odd numbers for an identical > report. How can I intelligently extract the data and populate my new > columns? > > Example data: > > 123 Normal Street ' easy > 234A Abnormal Street ' a tad trickier > 2333-1070 Queen Street ' the 2333 part should fall into the > StreetNumber field and the rest into the StreetAddress field. > > Any clever ideas how I might achieve this? > > TIA, > Arthur > -- > 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 Wed Sep 14 17:53:11 2011 From: ab-mi at post3.tele.dk (Asger Blond) Date: Thu, 15 Sep 2011 00:53:11 +0200 Subject: [AccessD] Numbers within a street In-Reply-To: <4E712020.12464.4630E58@stuart.lexacorp.com.pg> References: <4E712020.12464.4630E58@stuart.lexacorp.com.pg> Message-ID: <733989AEB1FE426DB045681A207AF183@abpc> But VAL wouldn't catch the street number 234A. A function like this might do the work: Function StreetNumber(Address As String) As String Dim strStreetNumber AS String strStreetNumber = Left(Address, InStr(Address, " ")) If InStr(Address, "-") > 0 Then strStreetNumber = Left(Address, InStr(Address, "-") - 1) End If StreetNumber = strStreetNumber End Function Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Stuart McLachlan Sendt: 14. september 2011 23:44 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Numbers within a street A query Column =VAL(StreetAddress) will give you the street number in all of those cases. If all you want is whether it is odd or evem, then just create a query column =VAL(StrretAddress) Mod 2 If you want the Street Name by itself , a first pass would be =RIGHT$(StreetAddress, INSTR(StreetAddress," ") + 1) Note: In your third example, VAL() returns just the 2333. If looking for the street name, I would want "Queen Street", not "1070 Queen Street", so you lose data when splitting. For the actual address, you'd use the original data rather that trying to put the Number and Streetname back together again. -- Stuart On 14 Sep 2011 at 16:31, Arthur Fuller wrote: > I am working on a political campaign management app. The thing I need > to do is post reports that identify the even and odd numbers on a > given street. I inherited the db and have freedom to change it (it was > written by amateurs and they know it and there are no hard feelings if > I make a change, insofar as said change increases productivity). > > So... given a current field called StreetAddress, I want to break it > into two fields, StreetNumber and StreetAddress, so that I can filter > the even numbers for one report and the odd numbers for an identical > report. How can I intelligently extract the data and populate my new > columns? > > Example data: > > 123 Normal Street ' easy > 234A Abnormal Street ' a tad trickier > 2333-1070 Queen Street ' the 2333 part should fall into the > StreetNumber field and the rest into the StreetAddress field. > > Any clever ideas how I might achieve this? > > TIA, > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Wed Sep 14 18:19:40 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 14 Sep 2011 19:19:40 -0400 Subject: [AccessD] Numbers within a street In-Reply-To: <733989AEB1FE426DB045681A207AF183@abpc> References: <4E712020.12464.4630E58@stuart.lexacorp.com.pg> <733989AEB1FE426DB045681A207AF183@abpc> Message-ID: Thanks for this, Asger. But ultimately, it would be better to teach the volunteers that there is a separate textbox for the Number and another for the street. And thinking down the road, it frequently happens that the fuling party gets to re-draw the electoral map, moving this and that street into a block guaranteed to win a legislative seat, and shunting the others into NowwhereLand. All parties in Canada are guilty of this bad behaviour, so it's impossible to side with any given one and claim the high road. They all do it. The ideal campaign-management software would easily accommodate this sad reality, and make it simple to transfer streets x, y and z, and perhaps street numbers t, u and v, to another riding, to correspond to the latest dicta from the governing party. This would be way slick, and might even prove a deterrent to mitigate such shenanigans: you re-draw the boundaries and presto, one click and we've dealt with it! There's a whole other ball of wax that we don't experience in Canada. I believe the American term for it is "pork barrel". It means that a bunch of stuff gets tacked on to an otherwise virgin bill. I'm not a USA citizen or dweller but I do read the news, and from what I have gleaned, the above is an accurate description of what happens. I find it hilarious that about 90% of the populace in USA is against open immigration policies, while virtually all of same are either first or second-generation immigrants. There is a word for this kind of behavior, and I don't mean "hypocrite", which is emotionally loaded. There is another word for this behavior, and I challenge you to name it. Arthur On Wed, Sep 14, 2011 at 6:53 PM, Asger Blond wrote: > But VAL wouldn't catch the street number 234A. > A function like this might do the work: > > Function StreetNumber(Address As String) As String > Dim strStreetNumber AS String > strStreetNumber = Left(Address, InStr(Address, " ")) > If InStr(Address, "-") > 0 Then > strStreetNumber = Left(Address, InStr(Address, "-") - 1) > End If > StreetNumber = strStreetNumber > End Function > > Asger > From darryl at whittleconsulting.com.au Wed Sep 14 18:42:14 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 15 Sep 2011 09:42:14 +1000 Subject: [AccessD] Numbers within a street In-Reply-To: References: Message-ID: <000f01cc7337$eed9d2f0$cc8d78d0$@com.au> Arthur I would sort the data first. Then I would export it to Excel - your issue here will be the size of the dataset although if you are using XL2007+ this is less of a hurdle By having the data sorted you should be able to get the low hanging fruit early. That is the "24 MyStreet Ave" and deal with them all pretty much in one go. You can then use the "Text to Columns" function to split the data. If you do it in groups you might find you get a lot of it done easily. Given how messy this sort of data is going to be, I feel eyeballing it manually is going to be your best approach. This will allow you to group it into data chucks that you can then run a function or script over and get a result. Anyway. Good luck. It is usually a messy process as there are many dissimilar valid combinations with address Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, 15 September 2011 6:31 AM To: Access Developers discussion and problem solving Subject: [AccessD] Numbers within a street I am working on a political campaign management app. The thing I need to do is post reports that identify the even and odd numbers on a given street. I inherited the db and have freedom to change it (it was written by amateurs and they know it and there are no hard feelings if I make a change, insofar as said change increases productivity). So... given a current field called StreetAddress, I want to break it into two fields, StreetNumber and StreetAddress, so that I can filter the even numbers for one report and the odd numbers for an identical report. How can I intelligently extract the data and populate my new columns? Example data: 123 Normal Street ' easy 234A Abnormal Street ' a tad trickier 2333-1070 Queen Street ' the 2333 part should fall into the StreetNumber field and the rest into the StreetAddress field. Any clever ideas how I might achieve this? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Wed Sep 14 19:07:47 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 14 Sep 2011 20:07:47 -0400 Subject: [AccessD] Numbers within a street References: <4E712020.12464.4630E58@stuart.lexacorp.com.pg><733989AEB1FE426DB045681A207AF183@abpc> Message-ID: <0069F3C180D74086BF98CD281F733A1C@SusanHarkins> > I find it hilarious that about 90% of the populace in USA is against open > immigration policies, while virtually all of same are either first or > second-generation immigrants. There is a word for this kind of behavior, > and > I don't mean "hypocrite", which is emotionally loaded. There is another > word > for this behavior, and I challenge you to name it. =====Check your percentages Arthur -- totally out of whack. Susan H. From stuart at lexacorp.com.pg Wed Sep 14 19:08:57 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 15 Sep 2011 10:08:57 +1000 Subject: [AccessD] Numbers within a street In-Reply-To: <733989AEB1FE426DB045681A207AF183@abpc> References: , <4E712020.12464.4630E58@stuart.lexacorp.com.pg>, <733989AEB1FE426DB045681A207AF183@abpc> Message-ID: <4E714219.5762.4E7C27D@stuart.lexacorp.com.pg> It will for Arthur's purpose. Val(234A....) returns 234 which is on the Even side of the street. There is no real difference between 234A and 2333-1070. The initial numeric part (234, 2333) identifies the building location, the rest just identifies something such as the apartment number within the building. -- Stuart On 15 Sep 2011 at 0:53, Asger Blond wrote: > But VAL wouldn't catch the street number 234A. > A function like this might do the work: > > Function StreetNumber(Address As String) As String > Dim strStreetNumber AS String > strStreetNumber = Left(Address, InStr(Address, " ")) > If InStr(Address, "-") > 0 Then > strStreetNumber = Left(Address, InStr(Address, "-") - 1) > End If > StreetNumber = strStreetNumber > End Function > > Asger > > -----Oprindelig meddelelse----- > Fra: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Stuart > McLachlan Sendt: 14. september 2011 23:44 Til: Access Developers > discussion and problem solving Emne: Re: [AccessD] Numbers within a > street > > A query Column =VAL(StreetAddress) will give you the street number in > all of those cases. > > If all you want is whether it is odd or evem, then just create a query > column =VAL(StrretAddress) Mod 2 > > If you want the Street Name by itself , a first pass would be > =RIGHT$(StreetAddress, INSTR(StreetAddress," ") + 1) > > Note: In your third example, VAL() returns just the 2333. If looking > for the street name, I would want "Queen Street", not "1070 Queen > Street", so you lose data when splitting. For the actual address, > you'd use the original data rather that trying to put the Number and > Streetname back together again. > > -- > Stuart > > On 14 Sep 2011 at 16:31, Arthur Fuller wrote: > > > I am working on a political campaign management app. The thing I > > need to do is post reports that identify the even and odd numbers on > > a given street. I inherited the db and have freedom to change it (it > > was written by amateurs and they know it and there are no hard > > feelings if I make a change, insofar as said change increases > > productivity). > > > > So... given a current field called StreetAddress, I want to break it > > into two fields, StreetNumber and StreetAddress, so that I can > > filter the even numbers for one report and the odd numbers for an > > identical report. How can I intelligently extract the data and > > populate my new columns? > > > > Example data: > > > > 123 Normal Street ' easy > > 234A Abnormal Street ' a tad trickier > > 2333-1070 Queen Street ' the 2333 part should fall into the > > StreetNumber field and the rest into the StreetAddress field. > > > > Any clever ideas how I might achieve this? > > > > TIA, > > Arthur > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From karenr7 at q.com Wed Sep 14 19:09:32 2011 From: karenr7 at q.com (Karen Rosenstiel) Date: Wed, 14 Sep 2011 17:09:32 -0700 Subject: [AccessD] Numbers within a street In-Reply-To: <0069F3C180D74086BF98CD281F733A1C@SusanHarkins> References: <4E712020.12464.4630E58@stuart.lexacorp.com.pg><733989AEB1FE426DB045681A207AF183@abpc> <0069F3C180D74086BF98CD281F733A1C@SusanHarkins> Message-ID: <000c01cc733b$bef0d260$3cd27720$@com> And some of us have families that have been here a little longer than that. Native Americans, anyone? My own ancestors are johnny-come-latelies; only here since 1603. 90% ??? I don't think so. Regards, Karen Rosenstiel Seattle WA USA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, September 14, 2011 5:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Numbers within a street > I find it hilarious that about 90% of the populace in USA is against open > immigration policies, while virtually all of same are either first or > second-generation immigrants. There is a word for this kind of behavior, > and > I don't mean "hypocrite", which is emotionally loaded. There is another > word > for this behavior, and I challenge you to name it. =====Check your percentages Arthur -- totally out of whack. 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 Wed Sep 14 19:10:36 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 15 Sep 2011 10:10:36 +1000 Subject: [AccessD] Numbers within a street In-Reply-To: References: , <733989AEB1FE426DB045681A207AF183@abpc>, Message-ID: <4E71427C.21165.4E94294@stuart.lexacorp.com.pg> To deal with things like "234A Abnormal St" and "2333-1017 Queen St", you need three fields: Building Number Apartment/Dwelling Identifier Street Name -- Stuart On 14 Sep 2011 at 19:19, Arthur Fuller wrote: > Thanks for this, Asger. But ultimately, it would be better to teach > the volunteers that there is a separate textbox for the Number and > another for the street. > > And thinking down the road, it frequently happens that the fuling > party gets to re-draw the electoral map, moving this and that street > into a block guaranteed to win a legislative seat, and shunting the > others into NowwhereLand. All parties in Canada are guilty of this bad > behaviour, so it's impossible to side with any given one and claim the > high road. They all do it. > > The ideal campaign-management software would easily accommodate this > sad reality, and make it simple to transfer streets x, y and z, and > perhaps street numbers t, u and v, to another riding, to correspond to > the latest dicta from the governing party. This would be way slick, > and might even prove a deterrent to mitigate such shenanigans: you > re-draw the boundaries and presto, one click and we've dealt with it! > > There's a whole other ball of wax that we don't experience in Canada. > I believe the American term for it is "pork barrel". It means that a > bunch of stuff gets tacked on to an otherwise virgin bill. > > I'm not a USA citizen or dweller but I do read the news, and from what > I have gleaned, the above is an accurate description of what happens. > > I find it hilarious that about 90% of the populace in USA is against > open immigration policies, while virtually all of same are either > first or second-generation immigrants. There is a word for this kind > of behavior, and I don't mean "hypocrite", which is emotionally > loaded. There is another word for this behavior, and I challenge you > to name it. > > Arthur > > On Wed, Sep 14, 2011 at 6:53 PM, Asger Blond > wrote: > > > But VAL wouldn't catch the street number 234A. > > A function like this might do the work: > > > > Function StreetNumber(Address As String) As String > > Dim strStreetNumber AS String > > strStreetNumber = Left(Address, InStr(Address, " ")) > > If InStr(Address, "-") > 0 Then > > strStreetNumber = Left(Address, InStr(Address, "-") - 1) > > End If > > StreetNumber = strStreetNumber > > End Function > > > > Asger > > > -- > 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 Sep 14 19:17:31 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 15 Sep 2011 10:17:31 +1000 Subject: [AccessD] Numbers within a street In-Reply-To: <000f01cc7337$eed9d2f0$cc8d78d0$@com.au> References: , <000f01cc7337$eed9d2f0$cc8d78d0$@com.au> Message-ID: <4E71441B.26776.4EF98A0@stuart.lexacorp.com.pg> Why Excel? It's much easier in Access. I do this a lot. 1. Add the new required new fields. 2. Run a query to update the fields where everything before the first space is numeric using suitable functions. 3. Filter the table to only show records where the new fields are empty. 4. Look for the next common pattern and update all records where the new fields are empty with an appropriate function. Repeat 3 and 4 until you get down to a small subset that is easier to update manually. -- Stuart On 15 Sep 2011 at 9:42, Darryl Collins wrote: > Arthur > > I would sort the data first. > > Then I would export it to Excel - your issue here will be the size of > the dataset although if you are using XL2007+ this is less of a hurdle > > By having the data sorted you should be able to get the low hanging > fruit early. That is the "24 MyStreet Ave" and deal with them all > pretty much in one go. > > You can then use the "Text to Columns" function to split the data. > > If you do it in groups you might find you get a lot of it done easily. > > Given how messy this sort of data is going to be, I feel eyeballing it > manually is going to be your best approach. This will allow you to > group it into data chucks that you can then run a function or script > over and get a result. > > Anyway. Good luck. It is usually a messy process as there are many > dissimilar valid combinations with address > > Cheers > Darryl > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur > Fuller Sent: Thursday, 15 September 2011 6:31 AM To: Access Developers > discussion and problem solving Subject: [AccessD] Numbers within a > street > > I am working on a political campaign management app. The thing I need > to do is post reports that identify the even and odd numbers on a > given street. I inherited the db and have freedom to change it (it was > written by amateurs and they know it and there are no hard feelings if > I make a change, insofar as said change increases productivity). > > So... given a current field called StreetAddress, I want to break it > into two fields, StreetNumber and StreetAddress, so that I can filter > the even numbers for one report and the odd numbers for an identical > report. How can I intelligently extract the data and populate my new > columns? > > Example data: > > 123 Normal Street ' easy > 234A Abnormal Street ' a tad trickier > 2333-1070 Queen Street ' the 2333 part should fall into the > StreetNumber field and the rest into the StreetAddress field. > > Any clever ideas how I might achieve this? > > TIA, > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Wed Sep 14 20:07:28 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 15 Sep 2011 11:07:28 +1000 Subject: [AccessD] Numbers within a street In-Reply-To: <4E71441B.26776.4EF98A0@stuart.lexacorp.com.pg> References: , <000f01cc7337$eed9d2f0$cc8d78d0$@com.au> <4E71441B.26776.4EF98A0@stuart.lexacorp.com.pg> Message-ID: <001001cc7343$d7090f40$851b2dc0$@com.au> Heh, I guess it shows my long term background. I like Excel for really messy jobs as you can break the data up easily and I know how to do a lot of fast and sneaky tricks on it. Faster than I know how to in Access anyway. I don't doubt if you are less of a hack than me than Access could be a good tool for the job. In this case I would be the constraint in the system, rather than the software itself. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, 15 September 2011 10:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Numbers within a street Why Excel? It's much easier in Access. I do this a lot. 1. Add the new required new fields. 2. Run a query to update the fields where everything before the first space is numeric using suitable functions. 3. Filter the table to only show records where the new fields are empty. 4. Look for the next common pattern and update all records where the new fields are empty with an appropriate function. Repeat 3 and 4 until you get down to a small subset that is easier to update manually. -- Stuart On 15 Sep 2011 at 9:42, Darryl Collins wrote: > Arthur > > I would sort the data first. > > Then I would export it to Excel - your issue here will be the size of > the dataset although if you are using XL2007+ this is less of a hurdle > > By having the data sorted you should be able to get the low hanging > fruit early. That is the "24 MyStreet Ave" and deal with them all > pretty much in one go. > > You can then use the "Text to Columns" function to split the data. > > If you do it in groups you might find you get a lot of it done easily. > > Given how messy this sort of data is going to be, I feel eyeballing it > manually is going to be your best approach. This will allow you to > group it into data chucks that you can then run a function or script > over and get a result. > > Anyway. Good luck. It is usually a messy process as there are many > dissimilar valid combinations with address > > Cheers > Darryl > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur > Fuller Sent: Thursday, 15 September 2011 6:31 AM To: Access Developers > discussion and problem solving Subject: [AccessD] Numbers within a > street > > I am working on a political campaign management app. The thing I need > to do is post reports that identify the even and odd numbers on a > given street. I inherited the db and have freedom to change it (it was > written by amateurs and they know it and there are no hard feelings if > I make a change, insofar as said change increases productivity). > > So... given a current field called StreetAddress, I want to break it > into two fields, StreetNumber and StreetAddress, so that I can filter > the even numbers for one report and the odd numbers for an identical > report. How can I intelligently extract the data and populate my new > columns? > > Example data: > > 123 Normal Street ' easy > 234A Abnormal Street ' a tad trickier > 2333-1070 Queen Street ' the 2333 part should fall into the > StreetNumber field and the rest into the StreetAddress field. > > Any clever ideas how I might achieve this? > > TIA, > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Sep 14 21:47:28 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 14 Sep 2011 22:47:28 -0400 Subject: [AccessD] How does Access locking work Message-ID: <4E716740.9090909@colbyconsulting.com> I need to find documentation about the actual locking mechanism for Access. I vaguely remember something about Jet using a file, and (IIRC) applying system locks to pieces out past the end of that file. It is all very old memories and I am not finding anything "real" about the actual details. Anyone know what it was I read so long ago? -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Wed Sep 14 21:54:31 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 14 Sep 2011 22:54:31 -0400 Subject: [AccessD] SSDs and BE storage Message-ID: <4E7168E7.2000502@colbyconsulting.com> Does anyone have experience with using an SSD (or SSD RAID) to store the Access BEs? Does it significantly speed up the database? My client has a pretty large (by Access standards) database. It is a call center application and they do mostly reads (viewing claim data as they talk to the client), but do a fair amount of "documenting" the phone calls by writing notes. About 25 users in the database all day. It seems logical that the SSDs enormous IOPS and streaming reads would speed things up but I have never seen any actual studies or documented usage data. -- John W. Colby www.ColbyConsulting.com From charlotte.foust at gmail.com Wed Sep 14 21:54:43 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 14 Sep 2011 19:54:43 -0700 Subject: [AccessD] How does Access locking work In-Reply-To: <4E716740.9090909@colbyconsulting.com> References: <4E716740.9090909@colbyconsulting.com> Message-ID: Are you talking about the ldb file, John? That was the lock file for Jet. That's reaching waaaay back but there's probably something in the archives. Charlotte Foust On Wed, Sep 14, 2011 at 7:47 PM, jwcolby wrote: > I need to find documentation about the actual locking mechanism for Access. > I vaguely remember something about Jet using a file, and (IIRC) applying > system locks to pieces out past the end of that file. It is all very old > memories and I am not finding anything "real" about the actual details. > > Anyone know what it was I read so long ago? > > -- > John W. Colby > www.ColbyConsulting.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From jwcolby at colbyconsulting.com Wed Sep 14 22:08:44 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 14 Sep 2011 23:08:44 -0400 Subject: [AccessD] mysql BE for Access? Message-ID: <4E716C3C.7080404@colbyconsulting.com> Is this doable? I am using SQL Server as the data store for Access and positively love it but it is expensive. Is anyone using MySQL or some other cheap / free but powerful data store with Access? -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Wed Sep 14 22:10:55 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 14 Sep 2011 23:10:55 -0400 Subject: [AccessD] How does Access locking work In-Reply-To: References: <4E716740.9090909@colbyconsulting.com> Message-ID: <4E716CBF.1070503@colbyconsulting.com> I am not really sure actually. I find stuff about the lock file but only what is actually in the lock file and that is just two pieces of info (username / workstation I think). I am talking about placing locks on records / pages, parts of the database file etc. How and where is that physically implemented. John W. Colby www.ColbyConsulting.com On 9/14/2011 10:54 PM, Charlotte Foust wrote: > Are you talking about the ldb file, John? That was the lock file for Jet. > That's reaching waaaay back but there's probably something in the archives. > > Charlotte Foust > On Wed, Sep 14, 2011 at 7:47 PM, jwcolbywrote: > >> I need to find documentation about the actual locking mechanism for Access. >> I vaguely remember something about Jet using a file, and (IIRC) applying >> system locks to pieces out past the end of that file. It is all very old >> memories and I am not finding anything "real" about the actual details. >> >> Anyone know what it was I read so long ago? >> >> -- >> John W. Colby >> www.ColbyConsulting.com >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> >> >> Website: http://www.databaseadvisors.**com >> >> >> From accessd at shaw.ca Wed Sep 14 22:21:27 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 14 Sep 2011 20:21:27 -0700 Subject: [AccessD] Numbers within a street In-Reply-To: References: Message-ID: <4271468061D041CE993701EA0E4A963A@creativesystemdesigns.com> Hi Arthur: Fixing data is as hard as writing the program. I would slowly extract the data and fix the data one pass at a time. Checking to see that there is no weird results, after each pass...you might have to go in and do some manual fixes, as there are always records that defy any translators (and there is no point writing 100 lines of code to fix 10 records). Depending on the complexity of the data and your code, 3 to 5 passes is not unusual before a clean set of data can be obtained. Many years ago, I wrote a "riding" application, which would put a canvasser's data into the correct poll just from a poll's legal description. If you need any assistance, I would be glad to help. I also have the appropriate credentials, heritage and my official retirement is close at hand. ;-) You can contact me off line, if you would like. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, September 14, 2011 1:31 PM To: Access Developers discussion and problem solving Subject: [AccessD] Numbers within a street I am working on a political campaign management app. The thing I need to do is post reports that identify the even and odd numbers on a given street. I inherited the db and have freedom to change it (it was written by amateurs and they know it and there are no hard feelings if I make a change, insofar as said change increases productivity). So... given a current field called StreetAddress, I want to break it into two fields, StreetNumber and StreetAddress, so that I can filter the even numbers for one report and the odd numbers for an identical report. How can I intelligently extract the data and populate my new columns? Example data: 123 Normal Street ' easy 234A Abnormal Street ' a tad trickier 2333-1070 Queen Street ' the 2333 part should fall into the StreetNumber field and the rest into the StreetAddress field. Any clever ideas how I might achieve this? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Sep 14 22:43:58 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 14 Sep 2011 20:43:58 -0700 Subject: [AccessD] Numbers within a street In-Reply-To: <4271468061D041CE993701EA0E4A963A@creativesystemdesigns.com> References: <4271468061D041CE993701EA0E4A963A@creativesystemdesigns.com> Message-ID: <520670419AB7481C97A7E16CA3540DBB@HAL9007> Arthur: How many records need to be processed? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: September 14, 2011 8:21 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Numbers within a street Hi Arthur: Fixing data is as hard as writing the program. I would slowly extract the data and fix the data one pass at a time. Checking to see that there is no weird results, after each pass...you might have to go in and do some manual fixes, as there are always records that defy any translators (and there is no point writing 100 lines of code to fix 10 records). Depending on the complexity of the data and your code, 3 to 5 passes is not unusual before a clean set of data can be obtained. Many years ago, I wrote a "riding" application, which would put a canvasser's data into the correct poll just from a poll's legal description. If you need any assistance, I would be glad to help. I also have the appropriate credentials, heritage and my official retirement is close at hand. ;-) You can contact me off line, if you would like. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, September 14, 2011 1:31 PM To: Access Developers discussion and problem solving Subject: [AccessD] Numbers within a street I am working on a political campaign management app. The thing I need to do is post reports that identify the even and odd numbers on a given street. I inherited the db and have freedom to change it (it was written by amateurs and they know it and there are no hard feelings if I make a change, insofar as said change increases productivity). So... given a current field called StreetAddress, I want to break it into two fields, StreetNumber and StreetAddress, so that I can filter the even numbers for one report and the odd numbers for an identical report. How can I intelligently extract the data and populate my new columns? Example data: 123 Normal Street ' easy 234A Abnormal Street ' a tad trickier 2333-1070 Queen Street ' the 2333 part should fall into the StreetNumber field and the rest into the StreetAddress field. Any clever ideas how I might achieve this? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Wed Sep 14 22:53:51 2011 From: john at winhaven.net (John Bartow) Date: Wed, 14 Sep 2011 22:53:51 -0500 Subject: [AccessD] How does Access locking work In-Reply-To: <4E716CBF.1070503@colbyconsulting.com> References: <4E716740.9090909@colbyconsulting.com> <4E716CBF.1070503@colbyconsulting.com> Message-ID: <037401cc735b$151c82f0$3f5588d0$@winhaven.net> IIRC you can open the .ldb file in a text editor and see the contents. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, September 14, 2011 10:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How does Access locking work I am not really sure actually. I find stuff about the lock file but only what is actually in the lock file and that is just two pieces of info (username / workstation I think). I am talking about placing locks on records / pages, parts of the database file etc. How and where is that physically implemented. John W. Colby www.ColbyConsulting.com On 9/14/2011 10:54 PM, Charlotte Foust wrote: > Are you talking about the ldb file, John? That was the lock file for Jet. > That's reaching waaaay back but there's probably something in the archives. > > Charlotte Foust > On Wed, Sep 14, 2011 at 7:47 PM, jwcolbywrote: > >> I need to find documentation about the actual locking mechanism for Access. >> I vaguely remember something about Jet using a file, and (IIRC) >> applying system locks to pieces out past the end of that file. It is >> all very old memories and I am not finding anything "real" about the actual details. >> >> Anyone know what it was I read so long ago? >> >> -- >> John W. Colby >> www.ColbyConsulting.com >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd> eadvisors.com/mailman/listinfo/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 Sep 14 22:59:36 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 14 Sep 2011 23:59:36 -0400 Subject: [AccessD] mysql BE for Access? In-Reply-To: <4E716C3C.7080404@colbyconsulting.com> References: <4E716C3C.7080404@colbyconsulting.com> Message-ID: See my website for how to do exactly this, JC. www.artfulsoftware.com. There are chapters concerning this and also, should you require it, how to hook .NET to MySQL as well. HTH, Arthur On Wed, Sep 14, 2011 at 11:08 PM, jwcolby wrote: > Is this doable? I am using SQL Server as the data store for Access and > positively love it but it is expensive. > > Is anyone using MySQL or some other cheap / free but powerful data store > with Access? > From accessd at shaw.ca Wed Sep 14 23:05:02 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 14 Sep 2011 21:05:02 -0700 Subject: [AccessD] Numbers within a street In-Reply-To: <0069F3C180D74086BF98CD281F733A1C@SusanHarkins> References: <4E712020.12464.4630E58@stuart.lexacorp.com.pg> <733989AEB1FE426DB045681A207AF183@abpc> <0069F3C180D74086BF98CD281F733A1C@SusanHarkins> Message-ID: It all depends on which areas you come from. Some areas have some very stable populations, with many generations in one place. OTOH, many of the super fast growing cities and areas like LA, Vancouver, New York and Toronto are more than doubling in population in less than 20 years. (For example Vancouver had about 1 million in 1980 and is supposed to have over 3.5 million by 2020) There is a lot of fun with sorting the new arrivals. Half the names you cannot spell and other half you cannot pronounce. We have many East Indian and Chinese emigrants, in our area. Many of the east Indians have their title, like our equivalent of Mr. and Sir, embedded in the official name and then the Chinese have both their Chinese name and their English name, all of which can be extremely confusing. Then names do not signify inform you of where a person is from; example both English and Chinese have a very common last name of Lee... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, September 14, 2011 5:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Numbers within a street > I find it hilarious that about 90% of the populace in USA is against open > immigration policies, while virtually all of same are either first or > second-generation immigrants. There is a word for this kind of behavior, > and > I don't mean "hypocrite", which is emotionally loaded. There is another > word > for this behavior, and I challenge you to name it. =====Check your percentages Arthur -- totally out of whack. 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 Wed Sep 14 23:14:17 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 15 Sep 2011 14:14:17 +1000 Subject: [AccessD] mysql BE for Access? In-Reply-To: <4E716C3C.7080404@colbyconsulting.com> References: <4E716C3C.7080404@colbyconsulting.com> Message-ID: <4E717B99.28709.5C85F7B@stuart.lexacorp.com.pg> Yes with myODBC. I have one clieit with a MySQL based application and I built an Access FE with about 20 users (primarily Read Only). Works well. http://dev.mysql.com/downloads/connector/odbc/ -- Stuart On 14 Sep 2011 at 23:08, jwcolby wrote: > Is this doable? I am using SQL Server as the data store for Access > and positively love it but it is expensive. > > Is anyone using MySQL or some other cheap / free but powerful data > store with Access? > > -- > John W. Colby > www.ColbyConsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at Marlow.com Thu Sep 15 00:51:38 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 15 Sep 2011 00:51:38 -0500 Subject: [AccessD] How does Access locking work In-Reply-To: <4E716740.9090909@colbyconsulting.com> References: <4E716740.9090909@colbyconsulting.com> Message-ID: I think I have the old Jet white paper somewhere. But basically Jet would 'lock' the .ldb file where it needed to lock the .mdb. So the .mdb would never be locked (allowing for multiple edits), and the lock on the .mdb would be actually on the .ldb file. So say the .mdb was 100 megs. And it needed to lock the 50th megabyte, the .ldb file was always small (I think it was 64 bits per user, up to 255 users), so it would never reach the 50 meg size, but the 'lock' would be placed on the 'virtual' 50 meg point of the .ldb. Make sense? Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, September 14, 2011 9:47 PM To: Access Developers discussion and problem solving Subject: [AccessD] How does Access locking work I need to find documentation about the actual locking mechanism for Access. I vaguely remember something about Jet using a file, and (IIRC) applying system locks to pieces out past the end of that file. It is all very old memories and I am not finding anything "real" about the actual details. Anyone know what it was I read so long ago? -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From stephen at bondsoftware.co.nz Thu Sep 15 01:36:34 2011 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Thu, 15 Sep 2011 18:36:34 +1200 Subject: [AccessD] How does Access locking work In-Reply-To: <418DA397713F403A89FE0E8D479DD43A@BondSoftware.local> References: <4E716740.9090909@colbyconsulting.com> <418DA397713F403A89FE0E8D479DD43A@BondSoftware.local> Message-ID: John, I've scanned the first couple pages of the White Paper and sent you off-list. Stephen Bond -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, 15 September 2011 6:00 p.m. To: Stephen Subject: Re: [AccessD] How does Access locking work I think I have the old Jet white paper somewhere. But basically Jet would 'lock' the .ldb file where it needed to lock the .mdb. So the .mdb would never be locked (allowing for multiple edits), and the lock on the .mdb would be actually on the .ldb file. So say the .mdb was 100 megs. And it needed to lock the 50th megabyte, the .ldb file was always small (I think it was 64 bits per user, up to 255 users), so it would never reach the 50 meg size, but the 'lock' would be placed on the 'virtual' 50 meg point of the .ldb. Make sense? Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, September 14, 2011 9:47 PM To: Access Developers discussion and problem solving Subject: [AccessD] How does Access locking work I need to find documentation about the actual locking mechanism for Access. I vaguely remember something about Jet using a file, and (IIRC) applying system locks to pieces out past the end of that file. It is all very old memories and I am not finding anything "real" about the actual details. Anyone know what it was I read so long ago? -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Sep 15 05:22:48 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Sep 2011 06:22:48 -0400 Subject: [AccessD] How does Access locking work In-Reply-To: References: <4E716740.9090909@colbyconsulting.com> Message-ID: <4E71D1F8.6040105@colbyconsulting.com> It does make sense and that is what I am talking about. John W. Colby www.ColbyConsulting.com On 9/15/2011 1:51 AM, Drew Wutka wrote: > I think I have the old Jet white paper somewhere. But basically Jet > would 'lock' the .ldb file where it needed to lock the .mdb. So the > .mdb would never be locked (allowing for multiple edits), and the lock > on the .mdb would be actually on the .ldb file. > > So say the .mdb was 100 megs. And it needed to lock the 50th megabyte, > the .ldb file was always small (I think it was 64 bits per user, up to > 255 users), so it would never reach the 50 meg size, but the 'lock' > would be placed on the 'virtual' 50 meg point of the .ldb. > > Make sense? > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Wednesday, September 14, 2011 9:47 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] How does Access locking work > > I need to find documentation about the actual locking mechanism for > Access. I vaguely remember something about Jet using a file, and (IIRC) > applying system locks to pieces out past the end of that file. It is > all very old memories and I am not finding anything "real" about the > actual details. > > Anyone know what it was I read so long ago? > > -- > John W. Colby > www.ColbyConsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > The information contained in this transmission is intended only for the person or entity > to which it is addressed and may contain II-VI Proprietary and/or II-VI Business > Sensitive material. If you are not the intended recipient, please contact the sender > immediately and destroy the material in its entirety, whether electronic or hard copy. > You are notified that any review, retransmission, copying, disclosure, dissemination, > or other use of, or taking of any action in reliance upon this information by persons > or entities other than the intended recipient is prohibited. > > From jwcolby at colbyconsulting.com Thu Sep 15 06:32:23 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Sep 2011 07:32:23 -0400 Subject: [AccessD] How does Access locking work In-Reply-To: References: <4E716740.9090909@colbyconsulting.com> <418DA397713F403A89FE0E8D479DD43A@BondSoftware.local> Message-ID: <4E71E247.3040708@colbyconsulting.com> I found the white paper document out on the internet. http://support.microsoft.com/default.aspx?scid=kb;en-us;176670 I am trying to discover whether moving a client to an SSD for the BE will help with their speed issues. The lock part, what is weritten to the lock file, how often etc is a poorly understood part of the puzzle. John W. Colby www.ColbyConsulting.com On 9/15/2011 2:36 AM, Stephen Bond wrote: > John, I've scanned the first couple pages of the White Paper and sent > you off-list. > > Stephen Bond From jwcolby at colbyconsulting.com Thu Sep 15 06:34:56 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Sep 2011 07:34:56 -0400 Subject: [AccessD] How does Access locking work In-Reply-To: References: <4E716740.9090909@colbyconsulting.com> Message-ID: <4E71E2E0.8030603@colbyconsulting.com> So what is a lock? Something written to disk I assume? Where? Completely stored in memory? How do I speed that up. John W. Colby www.ColbyConsulting.com On 9/15/2011 1:51 AM, Drew Wutka wrote: > I think I have the old Jet white paper somewhere. But basically Jet > would 'lock' the .ldb file where it needed to lock the .mdb. So the > .mdb would never be locked (allowing for multiple edits), and the lock > on the .mdb would be actually on the .ldb file. > > So say the .mdb was 100 megs. And it needed to lock the 50th megabyte, > the .ldb file was always small (I think it was 64 bits per user, up to > 255 users), so it would never reach the 50 meg size, but the 'lock' > would be placed on the 'virtual' 50 meg point of the .ldb. > > Make sense? > > Drew From jimdettman at verizon.net Thu Sep 15 06:37:30 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 15 Sep 2011 07:37:30 -0400 Subject: [AccessD] How does Access locking work In-Reply-To: <4E71D1F8.6040105@colbyconsulting.com> References: <4E716740.9090909@colbyconsulting.com> <4E71D1F8.6040105@colbyconsulting.com> Message-ID: <14428EB56A674FD0933DD8BB9131A2F1@XPS> And that it's exactly. I have the white paper here somewhere written by Kevin Collins that describes the locking (even includes a DB lock utility you can use to poll locks). However it was never updated for JET 4.0 and record level locking. How that works has never been described anywhere. It's also incomplete in that it describes all the locks for 3.5, but locking in JET 4.0 was changed (besides the record locking), so the types of locks and when they are placed are different. What's your goal? Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, September 15, 2011 06:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How does Access locking work It does make sense and that is what I am talking about. John W. Colby www.ColbyConsulting.com On 9/15/2011 1:51 AM, Drew Wutka wrote: > I think I have the old Jet white paper somewhere. But basically Jet > would 'lock' the .ldb file where it needed to lock the .mdb. So the > .mdb would never be locked (allowing for multiple edits), and the lock > on the .mdb would be actually on the .ldb file. > > So say the .mdb was 100 megs. And it needed to lock the 50th megabyte, > the .ldb file was always small (I think it was 64 bits per user, up to > 255 users), so it would never reach the 50 meg size, but the 'lock' > would be placed on the 'virtual' 50 meg point of the .ldb. > > Make sense? > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Wednesday, September 14, 2011 9:47 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] How does Access locking work > > I need to find documentation about the actual locking mechanism for > Access. I vaguely remember something about Jet using a file, and (IIRC) > applying system locks to pieces out past the end of that file. It is > all very old memories and I am not finding anything "real" about the > actual details. > > Anyone know what it was I read so long ago? > > -- > John W. Colby > www.ColbyConsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > The information contained in this transmission is intended only for the person or entity > to which it is addressed and may contain II-VI Proprietary and/or II-VI Business > Sensitive material. If you are not the intended recipient, please contact the sender > immediately and destroy the material in its entirety, whether electronic or hard copy. > You are notified that any review, retransmission, copying, disclosure, dissemination, > or other use of, or taking of any action in reliance upon this information by persons > or entities other than the intended recipient is prohibited. > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Thu Sep 15 06:47:00 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 15 Sep 2011 07:47:00 -0400 Subject: [AccessD] How does Access locking work In-Reply-To: <4E71E2E0.8030603@colbyconsulting.com> References: <4E716740.9090909@colbyconsulting.com> <4E71E2E0.8030603@colbyconsulting.com> Message-ID: John, A lock is never written to disk. It's completely stored in memory (unless of course the OS starts paging to disk because it runs out of memory). <> Faster processor and/or memory. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, September 15, 2011 07:35 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How does Access locking work So what is a lock? Something written to disk I assume? Where? Completely stored in memory? How do I speed that up. John W. Colby www.ColbyConsulting.com On 9/15/2011 1:51 AM, Drew Wutka wrote: > I think I have the old Jet white paper somewhere. But basically Jet > would 'lock' the .ldb file where it needed to lock the .mdb. So the > .mdb would never be locked (allowing for multiple edits), and the lock > on the .mdb would be actually on the .ldb file. > > So say the .mdb was 100 megs. And it needed to lock the 50th megabyte, > the .ldb file was always small (I think it was 64 bits per user, up to > 255 users), so it would never reach the 50 meg size, but the 'lock' > would be placed on the 'virtual' 50 meg point of the .ldb. > > Make sense? > > Drew -- 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 Sep 15 07:23:51 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 15 Sep 2011 22:23:51 +1000 Subject: [AccessD] How does Access locking work In-Reply-To: References: <4E716740.9090909@colbyconsulting.com>, <4E71E2E0.8030603@colbyconsulting.com>, Message-ID: <4E71EE57.9701.78896D9@stuart.lexacorp.com.pg> If it is stored in memory, how can multi-user/ server based BEs work? How can my workstation read/write locks in the server's memory or the memory on another workstation and/or how can they read my memory? It must be physically written somewhere accessible to all users such as the lock file. -- Stuart On 15 Sep 2011 at 7:47, Jim Dettman wrote: > John, > > A lock is never written to disk. It's completely stored in memory > (unless > of course the OS starts paging to disk because it runs out of memory). > > <> > > Faster processor and/or memory. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, September 15, 2011 07:35 AM To: Access Developers > discussion and problem solving Subject: Re: [AccessD] How does Access > locking work > > So what is a lock? Something written to disk I assume? Where? > Completely stored in memory? How do I speed that up. > > John W. Colby > www.ColbyConsulting.com > > On 9/15/2011 1:51 AM, Drew Wutka wrote: > > I think I have the old Jet white paper somewhere. But basically Jet > > would 'lock' the .ldb file where it needed to lock the .mdb. So the > > .mdb would never be locked (allowing for multiple edits), and the > > lock on the .mdb would be actually on the .ldb file. > > > > So say the .mdb was 100 megs. And it needed to lock the 50th > > megabyte, the .ldb file was always small (I think it was 64 bits per > > user, up to 255 users), so it would never reach the 50 meg size, but > > the 'lock' would be placed on the 'virtual' 50 meg point of the > > .ldb. > > > > Make sense? > > > > Drew > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at verizon.net Thu Sep 15 07:39:58 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 15 Sep 2011 08:39:58 -0400 Subject: [AccessD] How does Access locking work In-Reply-To: <4E71EE57.9701.78896D9@stuart.lexacorp.com.pg> References: <4E716740.9090909@colbyconsulting.com>, <4E71E2E0.8030603@colbyconsulting.com>, <4E71EE57.9701.78896D9@stuart.lexacorp.com.pg> Message-ID: <06AA67ADF4DB4C56BF085FF7A0247C49@XPS> Stuart, It's the server that holds the locks, not the clients. The .LDB file is an array of 255 64 byte slots, one for each user. 32 bytes for the computer name, 32 bytes for the username. The .LDB file never grows physically beyond 16k. Each slot is matched to the slot in the database header page, where two bytes represent the operations the user is currently performing (reading/writing, index update, etc). The clients place lock requests against the .LDB file. By doing that, the .MDB file is always free to be read/written by any client. Windows OS's (and all others that I'm aware of) do not care if you try to lock part of a file that doesn't exist. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, September 15, 2011 08:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How does Access locking work If it is stored in memory, how can multi-user/ server based BEs work? How can my workstation read/write locks in the server's memory or the memory on another workstation and/or how can they read my memory? It must be physically written somewhere accessible to all users such as the lock file. -- Stuart On 15 Sep 2011 at 7:47, Jim Dettman wrote: > John, > > A lock is never written to disk. It's completely stored in memory > (unless > of course the OS starts paging to disk because it runs out of memory). > > <> > > Faster processor and/or memory. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, September 15, 2011 07:35 AM To: Access Developers > discussion and problem solving Subject: Re: [AccessD] How does Access > locking work > > So what is a lock? Something written to disk I assume? Where? > Completely stored in memory? How do I speed that up. > > John W. Colby > www.ColbyConsulting.com > > On 9/15/2011 1:51 AM, Drew Wutka wrote: > > I think I have the old Jet white paper somewhere. But basically Jet > > would 'lock' the .ldb file where it needed to lock the .mdb. So the > > .mdb would never be locked (allowing for multiple edits), and the > > lock on the .mdb would be actually on the .ldb file. > > > > So say the .mdb was 100 megs. And it needed to lock the 50th > > megabyte, the .ldb file was always small (I think it was 64 bits per > > user, up to 255 users), so it would never reach the 50 meg size, but > > the 'lock' would be placed on the 'virtual' 50 meg point of the > > .ldb. > > > > Make sense? > > > > Drew > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Thu Sep 15 07:47:34 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Sep 2011 08:47:34 -0400 Subject: [AccessD] mysql BE for Access? In-Reply-To: References: <4E716C3C.7080404@colbyconsulting.com> Message-ID: <4E71F3E6.2090301@colbyconsulting.com> Arthur, I purchased your e-book. Since you seem to be the resident expert... How doable is this? The database is currently Access MDB based, split into about 5 different BEs because of data size and speed issues. ~ 180 tables, ~ 10 major tables, ~1.2 million records in the largest major table. The data itself is not extraordinarily large as databases go, probably about 5 gigs today and up to 10 gigs in the next few years. ~25 users in the database all day every day. The server is currently a 4 physical core Intel based Dell server circa early 2K, running Windows 2000 x32, with 4 gigs of RAM. Replacing the server is in the plan but not in the immediate future - not in 2011. 1) What are realistic server hardware requirements? 2) Is MySQL highly threaded? Will a modern high core count processor help? Lots of memory? 3) Can I migrate existing mdbs / tables to mysql easily, quickly and safely? 4) Are there tools to assist with this? Can it be scripted? 5) Can I link back to these tables using odbc in a manner similar to what I do in SQL Server? 6) What is performance like? 7) Can mysql enforce relational integrity and all that? 8) Are there gui tools for table and index creation? 9) Any tricks or things I need to understand going in? Arthur, as mentioned I have purchased your book and will read it but I thought I'd get a discussion started about the reality of actually using mysql long term for a real production database with an Access front end, specifically the pain of setting up MySQL and doing the conversion. Anything anyone can tell me is most appreciated. John W. Colby www.ColbyConsulting.com On 9/14/2011 11:59 PM, Arthur Fuller wrote: > See my website for how to do exactly this, JC. www.artfulsoftware.com. There > are chapters concerning this and also, should you require it, how to hook > .NET to MySQL as well. > > HTH, > Arthur > > On Wed, Sep 14, 2011 at 11:08 PM, jwcolbywrote: > >> Is this doable? I am using SQL Server as the data store for Access and >> positively love it but it is expensive. >> >> Is anyone using MySQL or some other cheap / free but powerful data store >> with Access? >> From DWUTKA at Marlow.com Thu Sep 15 11:23:55 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 15 Sep 2011 11:23:55 -0500 Subject: [AccessD] How does Access locking work In-Reply-To: <4E71E2E0.8030603@colbyconsulting.com> References: <4E716740.9090909@colbyconsulting.com> <4E71E2E0.8030603@colbyconsulting.com> Message-ID: Stored in memory, by the OS. I know your programming days pre-date mine, so you should have had file writes where you were writing a specific section of a file. The OS 'locks' the section you are telling it you are writing to, then it performs the write. Same process with the .ldb lock, just a write never occurs. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, September 15, 2011 6:35 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How does Access locking work So what is a lock? Something written to disk I assume? Where? Completely stored in memory? How do I speed that up. John W. Colby www.ColbyConsulting.com On 9/15/2011 1:51 AM, Drew Wutka wrote: > I think I have the old Jet white paper somewhere. But basically Jet > would 'lock' the .ldb file where it needed to lock the .mdb. So the > .mdb would never be locked (allowing for multiple edits), and the lock > on the .mdb would be actually on the .ldb file. > > So say the .mdb was 100 megs. And it needed to lock the 50th > megabyte, the .ldb file was always small (I think it was 64 bits per > user, up to > 255 users), so it would never reach the 50 meg size, but the 'lock' > would be placed on the 'virtual' 50 meg point of the .ldb. > > Make sense? > > Drew -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From rusty.hammond at cpiqpc.com Thu Sep 15 11:27:55 2011 From: rusty.hammond at cpiqpc.com (Rusty Hammond) Date: Thu, 15 Sep 2011 11:27:55 -0500 Subject: [AccessD] mysql BE for Access? In-Reply-To: <4E71F3E6.2090301@colbyconsulting.com> References: <4E716C3C.7080404@colbyconsulting.com> <4E71F3E6.2090301@colbyconsulting.com> Message-ID: <49A286ABF515E94A8505CD14DEB721701744A15E@CPIEMAIL-EVS1.CPIQPC.NET> Arthur, just out of curiosity, have you used mySQL on a Linux server with Access linked to it? I just wondered about the performance vs. a windows OS based server/mySQL install. Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, September 15, 2011 7:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] mysql BE for Access? Arthur, I purchased your e-book. Since you seem to be the resident expert... How doable is this? The database is currently Access MDB based, split into about 5 different BEs because of data size and speed issues. ~ 180 tables, ~ 10 major tables, ~1.2 million records in the largest major table. The data itself is not extraordinarily large as databases go, probably about 5 gigs today and up to 10 gigs in the next few years. ~25 users in the database all day every day. The server is currently a 4 physical core Intel based Dell server circa early 2K, running Windows 2000 x32, with 4 gigs of RAM. Replacing the server is in the plan but not in the immediate future - not in 2011. 1) What are realistic server hardware requirements? 2) Is MySQL highly threaded? Will a modern high core count processor help? Lots of memory? 3) Can I migrate existing mdbs / tables to mysql easily, quickly and safely? 4) Are there tools to assist with this? Can it be scripted? 5) Can I link back to these tables using odbc in a manner similar to what I do in SQL Server? 6) What is performance like? 7) Can mysql enforce relational integrity and all that? 8) Are there gui tools for table and index creation? 9) Any tricks or things I need to understand going in? Arthur, as mentioned I have purchased your book and will read it but I thought I'd get a discussion started about the reality of actually using mysql long term for a real production database with an Access front end, specifically the pain of setting up MySQL and doing the conversion. Anything anyone can tell me is most appreciated. John W. Colby www.ColbyConsulting.com On 9/14/2011 11:59 PM, Arthur Fuller wrote: > See my website for how to do exactly this, JC. www.artfulsoftware.com. > There are chapters concerning this and also, should you require it, > how to hook .NET to MySQL as well. > > HTH, > Arthur > > On Wed, Sep 14, 2011 at 11:08 PM, jwcolbywrote: > >> Is this doable? I am using SQL Server as the data store for Access >> and positively love it but it is expensive. >> >> Is anyone using MySQL or some other cheap / free but powerful data >> store with Access? >> -- 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 jwcolby at colbyconsulting.com Thu Sep 15 12:30:40 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Sep 2011 13:30:40 -0400 Subject: [AccessD] mysql BE for Access? In-Reply-To: References: <4E716C3C.7080404@colbyconsulting.com> Message-ID: <4E723640.8060602@colbyconsulting.com> OK, I bought the ebook with updates. John W. Colby www.ColbyConsulting.com On 9/14/2011 11:59 PM, Arthur Fuller wrote: > See my website for how to do exactly this, JC. www.artfulsoftware.com. There > are chapters concerning this and also, should you require it, how to hook > .NET to MySQL as well. > > HTH, > Arthur > > On Wed, Sep 14, 2011 at 11:08 PM, jwcolbywrote: > >> Is this doable? I am using SQL Server as the data store for Access and >> positively love it but it is expensive. >> >> Is anyone using MySQL or some other cheap / free but powerful data store >> with Access? >> From rbgajewski at roadrunner.com Thu Sep 15 17:51:50 2011 From: rbgajewski at roadrunner.com (Bob Gajewski) Date: Thu, 15 Sep 2011 18:51:50 -0400 Subject: [AccessD] Numbers within a street In-Reply-To: References: Message-ID: Arthur Just my 2-cents ... I would not assume that 2333-1070 Queen Street has 2333 for the numeric ... Many places using the hyphenated format actually are putting the unit/suite/lot number in front of the address ... Your example might really be 1070 Queen Street, Unit 2333 ... This is quite prevalent in Canada, for example I know that only makes it murkier :-) Best regards, Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, September 14, 2011 16:31 PM To: Access Developers discussion and problem solving Subject: [AccessD] Numbers within a street I am working on a political campaign management app. The thing I need to do is post reports that identify the even and odd numbers on a given street. I inherited the db and have freedom to change it (it was written by amateurs and they know it and there are no hard feelings if I make a change, insofar as said change increases productivity). So... given a current field called StreetAddress, I want to break it into two fields, StreetNumber and StreetAddress, so that I can filter the even numbers for one report and the odd numbers for an identical report. How can I intelligently extract the data and populate my new columns? Example data: 123 Normal Street ' easy 234A Abnormal Street ' a tad trickier 2333-1070 Queen Street ' the 2333 part should fall into the StreetNumber field and the rest into the StreetAddress field. Any clever ideas how I might achieve this? TIA, Arthur -- 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 Sep 15 20:54:42 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 15 Sep 2011 21:54:42 -0400 Subject: [AccessD] Numbers within a street In-Reply-To: References: Message-ID: Nobody ever said this was going to be simple! Least of all, me. Way back when (in the DOS era) I wrote the original campaign-management software for our late lamented Jack Layton and his wife Olivia, back when they were city councillors. And we had problems then, and they continue to plague us. Sign posters work one half of a given street, and address-entry continues to be problematic for some simple algorithmic reply. Alack and alas, that's why they pay me the nonexistent big bucks. It's something to do, at least. I could instead be picking my nose. "And here is this week's Best Pick!" A. From accessd at shaw.ca Fri Sep 16 13:03:15 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 16 Sep 2011 11:03:15 -0700 Subject: [AccessD] Downloading In-Reply-To: <003f01cc73da$10e5eb70$32b1c250$@winhaven.net> References: <4E723D82.16000.8BDD768@stuart.lexacorp.com.pg> <003f01cc73da$10e5eb70$32b1c250$@winhaven.net> Message-ID: Hi All: Can anyone recommend a app that a client can use to stabilize a long download that may drop a few times and need to be resumed with no lose of data. There use to be a application called Vampire that would retry again and again on a long modem download, but that was many years ago. In this circumstance I can not get direct access to the client so they will have to install and setup such an app themselves... I have been come so use to stable or managed data streaming that I have not thought about dropping connections for a while so any thoughts would be greatly appreciated. TIA Jim From davidmcafee at gmail.com Fri Sep 16 14:30:59 2011 From: davidmcafee at gmail.com (David McAfee) Date: Fri, 16 Sep 2011 12:30:59 -0700 Subject: [AccessD] Downloading In-Reply-To: References: <4E723D82.16000.8BDD768@stuart.lexacorp.com.pg> <003f01cc73da$10e5eb70$32b1c250$@winhaven.net> Message-ID: If they have WinRar they can Rar the file into many smaller pieces. I've used this method many times. WinRar will extract it all into one file on the other end, no need to manually reassemble. On Fri, Sep 16, 2011 at 11:03 AM, Jim Lawrence wrote: > Hi All: > > Can anyone recommend a app that a client can use to stabilize a long > download that may drop a few times and need to be resumed with no lose of > data. > > There use to be a application called Vampire that would retry again and > again on a long modem download, but that was many years ago. In this > circumstance I can not get direct access to the client so they will have to > install and setup such an app themselves... > > I have been come so use to stable or managed data streaming that I have not > thought about dropping connections for a while so any thoughts would be > greatly appreciated. > > TIA > Jim > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Fri Sep 16 15:33:05 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 16 Sep 2011 13:33:05 -0700 Subject: [AccessD] Downloading In-Reply-To: References: <4E723D82.16000.8BDD768@stuart.lexacorp.com.pg> <003f01cc73da$10e5eb70$32b1c250$@winhaven.net> Message-ID: <751961C6BAD64A6CB8DD7CC59CBDC568@creativesystemdesigns.com> That is interesting but it is not quite what I mean. Within the download process an interruption may occur at any time. Many years ago when modems were the only access methods to the internet, a protocol named zmodem was commonly used as it could recover from a download interruption and then continue the download process, picking the file at the point of interruption with no data loss. Though the RAR method might be effective as the user can just start over at the last completed segment and at the end of the process just stick all the components together, I do not want the user to have to manage or manipulate the data in this fashion as the likelihood of error is in the extreme. What the client needs is a application the will handle all these complex issues...restart, if necessary and reassemble without involvement. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Friday, September 16, 2011 12:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Downloading If they have WinRar they can Rar the file into many smaller pieces. I've used this method many times. WinRar will extract it all into one file on the other end, no need to manually reassemble. On Fri, Sep 16, 2011 at 11:03 AM, Jim Lawrence wrote: > Hi All: > > Can anyone recommend a app that a client can use to stabilize a long > download that may drop a few times and need to be resumed with no lose of > data. > > There use to be a application called Vampire that would retry again and > again on a long modem download, but that was many years ago. In this > circumstance I can not get direct access to the client so they will have to > install and setup such an app themselves... > > I have been come so use to stable or managed data streaming that I have not > thought about dropping connections for a while so any thoughts would be > greatly appreciated. > > TIA > 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 davidmcafee at gmail.com Fri Sep 16 15:41:04 2011 From: davidmcafee at gmail.com (David McAfee) Date: Fri, 16 Sep 2011 13:41:04 -0700 Subject: [AccessD] Downloading In-Reply-To: <751961C6BAD64A6CB8DD7CC59CBDC568@creativesystemdesigns.com> References: <4E723D82.16000.8BDD768@stuart.lexacorp.com.pg> <003f01cc73da$10e5eb70$32b1c250$@winhaven.net> <751961C6BAD64A6CB8DD7CC59CBDC568@creativesystemdesigns.com> Message-ID: I was suggesting that as an alternative. Another thing you could do is torrent the file. A lot of torrent clients will automatically continue if the computer is reboot, and the torrent download restarted. I used to use BitTornado, not sure if they are still around as most of this stuff is blocked here at work as it is often used to download movies. On Fri, Sep 16, 2011 at 1:33 PM, Jim Lawrence wrote: > That is interesting but it is not quite what I mean. Within the download > process an interruption may occur at any time. > > Many years ago when modems were the only access methods to the internet, a > protocol named zmodem was commonly used as it could recover from a download > interruption and then continue the download process, picking the file at > the > point of interruption with no data loss. > > Though the RAR method might be effective as the user can just start over at > the last completed segment and at the end of the process just stick all the > components together, I do not want the user to have to manage or manipulate > the data in this fashion as the likelihood of error is in the extreme. > > What the client needs is a application the will handle all these complex > issues...restart, if necessary and reassemble without involvement. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee > Sent: Friday, September 16, 2011 12:31 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Downloading > > If they have WinRar they can Rar the file into many smaller pieces. > > I've used this method many times. > > WinRar will extract it all into one file on the other end, no need to > manually reassemble. > > > On Fri, Sep 16, 2011 at 11:03 AM, Jim Lawrence wrote: > > > Hi All: > > > > Can anyone recommend a app that a client can use to stabilize a long > > download that may drop a few times and need to be resumed with no lose of > > data. > > > > There use to be a application called Vampire that would retry again and > > again on a long modem download, but that was many years ago. In this > > circumstance I can not get direct access to the client so they will have > to > > install and setup such an app themselves... > > > > I have been come so use to stable or managed data streaming that I have > not > > thought about dropping connections for a while so any thoughts would be > > greatly appreciated. > > > > TIA > > 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 accessd at shaw.ca Fri Sep 16 16:14:25 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 16 Sep 2011 14:14:25 -0700 Subject: [AccessD] Downloading In-Reply-To: References: <4E723D82.16000.8BDD768@stuart.lexacorp.com.pg> <003f01cc73da$10e5eb70$32b1c250$@winhaven.net> <751961C6BAD64A6CB8DD7CC59CBDC568@creativesystemdesigns.com> Message-ID: <1C46D71DA73242ABA8DB834AF359ED69@creativesystemdesigns.com> Hi David: BitTorrent...excellent idea. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Friday, September 16, 2011 1:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Downloading I was suggesting that as an alternative. Another thing you could do is torrent the file. A lot of torrent clients will automatically continue if the computer is reboot, and the torrent download restarted. I used to use BitTornado, not sure if they are still around as most of this stuff is blocked here at work as it is often used to download movies. On Fri, Sep 16, 2011 at 1:33 PM, Jim Lawrence wrote: > That is interesting but it is not quite what I mean. Within the download > process an interruption may occur at any time. > > Many years ago when modems were the only access methods to the internet, a > protocol named zmodem was commonly used as it could recover from a download > interruption and then continue the download process, picking the file at > the > point of interruption with no data loss. > > Though the RAR method might be effective as the user can just start over at > the last completed segment and at the end of the process just stick all the > components together, I do not want the user to have to manage or manipulate > the data in this fashion as the likelihood of error is in the extreme. > > What the client needs is a application the will handle all these complex > issues...restart, if necessary and reassemble without involvement. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee > Sent: Friday, September 16, 2011 12:31 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Downloading > > If they have WinRar they can Rar the file into many smaller pieces. > > I've used this method many times. > > WinRar will extract it all into one file on the other end, no need to > manually reassemble. > > > On Fri, Sep 16, 2011 at 11:03 AM, Jim Lawrence wrote: > > > Hi All: > > > > Can anyone recommend a app that a client can use to stabilize a long > > download that may drop a few times and need to be resumed with no lose of > > data. > > > > There use to be a application called Vampire that would retry again and > > again on a long modem download, but that was many years ago. In this > > circumstance I can not get direct access to the client so they will have > to > > install and setup such an app themselves... > > > > I have been come so use to stable or managed data streaming that I have > not > > thought about dropping connections for a while so any thoughts would be > > greatly appreciated. > > > > TIA > > 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 shamil at smsconsulting.spb.ru Sat Sep 17 12:21:19 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 17 Sep 2011 21:21:19 +0400 Subject: [AccessD] Downloading In-Reply-To: References: <4E723D82.16000.8BDD768@stuart.lexacorp.com.pg><003f01cc73da$10e5eb70$32b1c250$@winhaven.net> Message-ID: <4F96CEBC873940C8B0419D73E934BBC3@nant> Hi Jim, FileZilla - http://filezilla-project.org/client_features.php ? Thank you. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: 16 ???????? 2011 ?. 22:03 To: 'Discussion of Hardware and Software issues'; 'Access Developers discussion and problem solving' Subject: [AccessD] Downloading Hi All: Can anyone recommend a app that a client can use to stabilize a long download that may drop a few times and need to be resumed with no lose of data. There use to be a application called Vampire that would retry again and again on a long modem download, but that was many years ago. In this circumstance I can not get direct access to the client so they will have to install and setup such an app themselves... I have been come so use to stable or managed data streaming that I have not thought about dropping connections for a while so any thoughts would be greatly appreciated. TIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sat Sep 17 12:38:32 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 17 Sep 2011 10:38:32 -0700 Subject: [AccessD] Downloading In-Reply-To: <4F96CEBC873940C8B0419D73E934BBC3@nant> References: <4E723D82.16000.8BDD768@stuart.lexacorp.com.pg> <003f01cc73da$10e5eb70$32b1c250$@winhaven.net> <4F96CEBC873940C8B0419D73E934BBC3@nant> Message-ID: <6FDA5457B886486097D44374DE1D2519@creativesystemdesigns.com> As meantioned on the DBA_tech list...Filezilla is definitely a first choice. Thanks Shamil. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, September 17, 2011 10:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Downloading Hi Jim, FileZilla - http://filezilla-project.org/client_features.php ? Thank you. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: 16 ???????? 2011 ?. 22:03 To: 'Discussion of Hardware and Software issues'; 'Access Developers discussion and problem solving' Subject: [AccessD] Downloading Hi All: Can anyone recommend a app that a client can use to stabilize a long download that may drop a few times and need to be resumed with no lose of data. There use to be a application called Vampire that would retry again and again on a long modem download, but that was many years ago. In this circumstance I can not get direct access to the client so they will have to install and setup such an app themselves... I have been come so use to stable or managed data streaming that I have not thought about dropping connections for a while so any thoughts would be greatly appreciated. TIA 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 jwcolby at colbyconsulting.com Sat Sep 17 18:24:13 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 17 Sep 2011 19:24:13 -0400 Subject: [AccessD] MySQL Message-ID: <4E752C1D.9060901@colbyconsulting.com> Today I built a Windows XP SP3 VM (x32) and installed MySQL Community Edition. I installed all the prereqs, the database and the ODBC connector. The .Net connector refused to install due to missing .net 2.0 or 4.0. I also installed the workbench. It looks very foreign. It is very foreign. This is the part of new technology I hate, that first look - "I don't recognize a thing" feeling. Being a vm, I have a boot drive and a data drive. The boot is 30 gigs and the data is 60 gigs. Let's hope that is enough, though one would think so for small databases. I am trying to learn enough to assist a client with evaluating MySQL for replacing his Access MDB data store. For now I have to figure out how to create a database. Is it the same concept as SQL Server? A file or set of files where tables, indexes, views etc are stored? I assumed there would be some visual designer that would allow me to create the db, then tables etc. It looks like that stuff is in "SQL Development". This thing looks pretty nice, but very different on the surface. -- John W. Colby www.ColbyConsulting.com From stuart at lexacorp.com.pg Sat Sep 17 18:51:42 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 18 Sep 2011 09:51:42 +1000 Subject: [AccessD] MySQL In-Reply-To: <4E752C1D.9060901@colbyconsulting.com> References: <4E752C1D.9060901@colbyconsulting.com> Message-ID: <4E75328E.20690.144B1BE3@stuart.lexacorp.com.pg> I run MySQL locally as part of a WAMP installation and remotely on our FreeBSD servers. I use phpMyAdmin for all the administration. It's a very intuitive interface. It's possibly worth installing WAMP just for the phpMyAdmin. -- Stuart On 17 Sep 2011 at 19:24, jwcolby wrote: > For now I have to figure out how to create a database. Is it the same > concept as SQL Server? A file or set of files where tables, indexes, > views etc are stored? I assumed there would be some visual designer > that would allow me to create the db, then tables etc. It looks like > that stuff is in "SQL Development". > > This thing looks pretty nice, but very different on the surface. > From jwcolby at colbyconsulting.com Sat Sep 17 19:53:31 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 17 Sep 2011 20:53:31 -0400 Subject: [AccessD] SQL Server security Message-ID: <4E75410B.1080607@colbyconsulting.com> I see logs of references to people probing ports looking for SQL Server ports (and mysql as well I assume). If I come in through a Hamachi VPN then I do not directly expose the port to the outside world correct? IOW the hacker would need to belong to my VPN network in order to directly get to the open port? -- John W. Colby www.ColbyConsulting.com From drcaa at click21.com.br Sun Sep 18 06:43:40 2011 From: drcaa at click21.com.br (drcaa at click21.com.br) Date: Sun, 18 Sep 2011 08:43:40 -0300 Subject: [AccessD] A2007 - importing objects from A2000 Message-ID: <1316346220.4e75d96c85e8c@webmail4.click21.com.br> Hi people! I have had a situation tryiong to use a A2000 database in A2007. Some forms (including a switchboard created by myself) and all reports are not shown in navigation pane. I tried to convert the database, tried to use in A2000 format and no success. Also tried to import all objects from A2000 database, but those objects I mentioned are not shown either. Any hints??? TIA, Carl?os Alberto Alves ___________________________________________________________________________________ Para fazer uma liga??o DDD pra perto ou pra longe, faz um 21. A Embratel tem tarifas muito baratas esperando por voc?. Aproveite! From vbacreations at gmail.com Sun Sep 18 07:46:51 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Sun, 18 Sep 2011 08:46:51 -0400 Subject: [AccessD] A2007 - importing objects from A2000 In-Reply-To: <1316346220.4e75d96c85e8c@webmail4.click21.com.br> References: <1316346220.4e75d96c85e8c@webmail4.click21.com.br> Message-ID: <001901cc7601$0a4d6170$1ee82450$@gmail.com> Are you able to create new objects at all in this database? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of drcaa at click21.com.br Sent: Sunday, September 18, 2011 7:44 AM To: accessd at databaseadvisors.com Subject: [AccessD] A2007 - importing objects from A2000 Hi people! I have had a situation tryiong to use a A2000 database in A2007. Some forms (including a switchboard created by myself) and all reports are not shown in navigation pane. I tried to convert the database, tried to use in A2000 format and no success. Also tried to import all objects from A2000 database, but those objects I mentioned are not shown either. Any hints??? TIA, Carl?os Alberto Alves ____________________________________________________________________________ _______ Para fazer uma liga??o DDD pra perto ou pra longe, faz um 21. A Embratel tem tarifas muito baratas esperando por voc?. Aproveite! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marklbreen at gmail.com Sun Sep 18 10:13:03 2011 From: marklbreen at gmail.com (Mark Breen) Date: Sun, 18 Sep 2011 16:13:03 +0100 Subject: [AccessD] Downloading In-Reply-To: <6FDA5457B886486097D44374DE1D2519@creativesystemdesigns.com> References: <4E723D82.16000.8BDD768@stuart.lexacorp.com.pg> <003f01cc73da$10e5eb70$32b1c250$@winhaven.net> <4F96CEBC873940C8B0419D73E934BBC3@nant> <6FDA5457B886486097D44374DE1D2519@creativesystemdesigns.com> Message-ID: Hello All, Can I add to that the FileZilla Client is great, but FileZilla Server is also great for me. I am using that for a few years now and it makes setting up FTP accounts nice and easy. Mark On 17 September 2011 18:38, Jim Lawrence wrote: > As meantioned on the DBA_tech list...Filezilla is definitely a first > choice. > > > Thanks Shamil. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Saturday, September 17, 2011 10:21 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Downloading > > Hi Jim, > > FileZilla - http://filezilla-project.org/client_features.php ? > > Thank you. > > -- > Shamil > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: 16 ???????? 2011 ?. 22:03 > To: 'Discussion of Hardware and Software issues'; 'Access Developers > discussion and problem solving' > Subject: [AccessD] Downloading > > Hi All: > > Can anyone recommend a app that a client can use to stabilize a long > download that may drop a few times and need to be resumed with no lose of > data. > > There use to be a application called Vampire that would retry again and > again on a long modem download, but that was many years ago. In this > circumstance I can not get direct access to the client so they will have to > install and setup such an app themselves... > > I have been come so use to stable or managed data streaming that I have not > thought about dropping connections for a while so any thoughts would be > greatly appreciated. > > TIA > 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 accessd at shaw.ca Sun Sep 18 10:30:07 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 18 Sep 2011 08:30:07 -0700 Subject: [AccessD] Downloading In-Reply-To: References: <4E723D82.16000.8BDD768@stuart.lexacorp.com.pg> <003f01cc73da$10e5eb70$32b1c250$@winhaven.net> <4F96CEBC873940C8B0419D73E934BBC3@nant> <6FDA5457B886486097D44374DE1D2519@creativesystemdesigns.com> Message-ID: Confer, both are excellent. :-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: Sunday, September 18, 2011 8:13 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Downloading Hello All, Can I add to that the FileZilla Client is great, but FileZilla Server is also great for me. I am using that for a few years now and it makes setting up FTP accounts nice and easy. Mark On 17 September 2011 18:38, Jim Lawrence wrote: > As meantioned on the DBA_tech list...Filezilla is definitely a first > choice. > > > Thanks Shamil. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Saturday, September 17, 2011 10:21 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Downloading > > Hi Jim, > > FileZilla - http://filezilla-project.org/client_features.php ? > > Thank you. > > -- > Shamil > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: 16 ???????? 2011 ?. 22:03 > To: 'Discussion of Hardware and Software issues'; 'Access Developers > discussion and problem solving' > Subject: [AccessD] Downloading > > Hi All: > > Can anyone recommend a app that a client can use to stabilize a long > download that may drop a few times and need to be resumed with no lose of > data. > > There use to be a application called Vampire that would retry again and > again on a long modem download, but that was many years ago. In this > circumstance I can not get direct access to the client so they will have to > install and setup such an app themselves... > > I have been come so use to stable or managed data streaming that I have not > thought about dropping connections for a while so any thoughts would be > greatly appreciated. > > TIA > 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 marksimms at verizon.net Sun Sep 18 10:45:00 2011 From: marksimms at verizon.net (Mark Simms) Date: Sun, 18 Sep 2011 11:45:00 -0400 Subject: [AccessD] MySQL, Tableau In-Reply-To: <4E752C1D.9060901@colbyconsulting.com> References: <4E752C1D.9060901@colbyconsulting.com> Message-ID: <003a01cc7619$ed5d0ca0$c81725e0$@net> Same thing happened to me when I installed Tableau recently. The first thing I wanted to do was "export to excel"....and OF COURSE, they made that very difficult. > It looks very foreign. It is very foreign. This is the part of new > technology I hate, that first > look - "I don't recognize a thing" feeling. From stuart at lexacorp.com.pg Sun Sep 18 16:36:38 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 19 Sep 2011 07:36:38 +1000 Subject: [AccessD] Downloading In-Reply-To: References: , <6FDA5457B886486097D44374DE1D2519@creativesystemdesigns.com>, Message-ID: <4E766466.4798.18F5D1D2@stuart.lexacorp.com.pg> I used to use Filezilla and still install the server where clients need one but I don't bother with separate FTP clients these days. Not since I found the FireFTP plugin for Firefox. Most of my FTP usage is for websites and it justs so easy to upload, switch tabs to the webpage and hit F5. Stuart On 18 Sep 2011 at 16:13, Mark Breen wrote: > Hello All, > > Can I add to that the FileZilla Client is great, but FileZilla Server > is also great for me. I am using that for a few years now and it > makes setting up FTP accounts nice and easy. > > Mark > > > On 17 September 2011 18:38, Jim Lawrence wrote: > > > As meantioned on the DBA_tech list...Filezilla is definitely a first > > choice. > > > > > > Thanks Shamil. > > > > Jim > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > > Salakhetdinov Sent: Saturday, September 17, 2011 10:21 AM To: > > 'Access Developers discussion and problem solving' Subject: Re: > > [AccessD] Downloading > > > > Hi Jim, > > > > FileZilla - http://filezilla-project.org/client_features.php ? > > > > Thank you. > > > > -- > > Shamil > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim > > Lawrence Sent: 16 ???????? 2011 ?. 22:03 To: 'Discussion of Hardware > > and Software issues'; 'Access Developers discussion and problem > > solving' Subject: [AccessD] Downloading > > > > Hi All: > > > > Can anyone recommend a app that a client can use to stabilize a long > > download that may drop a few times and need to be resumed with no > > lose of data. > > > > There use to be a application called Vampire that would retry again > > and again on a long modem download, but that was many years ago. In > > this circumstance I can not get direct access to the client so they > > will have to install and setup such an app themselves... > > > > I have been come so use to stable or managed data streaming that I > > have not thought about dropping connections for a while so any > > thoughts would be greatly appreciated. > > > > TIA > > 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 Sun Sep 18 19:48:47 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 18 Sep 2011 17:48:47 -0700 Subject: [AccessD] Downloading In-Reply-To: <4E766466.4798.18F5D1D2@stuart.lexacorp.com.pg> References: <6FDA5457B886486097D44374DE1D2519@creativesystemdesigns.com> <4E766466.4798.18F5D1D2@stuart.lexacorp.com.pg> Message-ID: <41DED998C7EE4ABDB21A5B8AA6E5B5F6@creativesystemdesigns.com> That sounds like a good idea. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, September 18, 2011 2:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Downloading I used to use Filezilla and still install the server where clients need one but I don't bother with separate FTP clients these days. Not since I found the FireFTP plugin for Firefox. Most of my FTP usage is for websites and it justs so easy to upload, switch tabs to the webpage and hit F5. Stuart On 18 Sep 2011 at 16:13, Mark Breen wrote: > Hello All, > > Can I add to that the FileZilla Client is great, but FileZilla Server > is also great for me. I am using that for a few years now and it > makes setting up FTP accounts nice and easy. > > Mark > > > On 17 September 2011 18:38, Jim Lawrence wrote: > > > As meantioned on the DBA_tech list...Filezilla is definitely a first > > choice. > > > > > > Thanks Shamil. > > > > Jim > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > > Salakhetdinov Sent: Saturday, September 17, 2011 10:21 AM To: > > 'Access Developers discussion and problem solving' Subject: Re: > > [AccessD] Downloading > > > > Hi Jim, > > > > FileZilla - http://filezilla-project.org/client_features.php ? > > > > Thank you. > > > > -- > > Shamil > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim > > Lawrence Sent: 16 ???????? 2011 ?. 22:03 To: 'Discussion of Hardware > > and Software issues'; 'Access Developers discussion and problem > > solving' Subject: [AccessD] Downloading > > > > Hi All: > > > > Can anyone recommend a app that a client can use to stabilize a long > > download that may drop a few times and need to be resumed with no > > lose of data. > > > > There use to be a application called Vampire that would retry again > > and again on a long modem download, but that was many years ago. In > > this circumstance I can not get direct access to the client so they > > will have to install and setup such an app themselves... > > > > I have been come so use to stable or managed data streaming that I > > have not thought about dropping connections for a while so any > > thoughts would be greatly appreciated. > > > > TIA > > 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 > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sun Sep 18 21:59:24 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 18 Sep 2011 22:59:24 -0400 Subject: [AccessD] Access to MySQL conversion Message-ID: <4E76B00C.5020204@colbyconsulting.com> Has anybody found a package to do this? I am finding some things but they look suspicious. -- John W. Colby www.ColbyConsulting.com From michaeljrobertson at gmail.com Sun Sep 18 22:50:36 2011 From: michaeljrobertson at gmail.com (Michael) Date: Mon, 19 Sep 2011 13:50:36 +1000 Subject: [AccessD] Access to MySQL conversion In-Reply-To: <4E76B00C.5020204@colbyconsulting.com> References: <4E76B00C.5020204@colbyconsulting.com> Message-ID: <001a01cc767f$4d508af0$e7f1a0d0$@gmail.com> John, Have a look at http://forums.mysql.com/list.php?65 This deals with Access/MySQL migrations as well as many other related matters. Michael -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, 19 September 2011 12:59 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access to MySQL conversion Has anybody found a package to do this? I am finding some things but they look suspicious. -- John W. Colby www.ColbyConsulting.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 Sep 19 11:52:30 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 19 Sep 2011 12:52:30 -0400 Subject: [AccessD] Access to MySQL conversion In-Reply-To: <001a01cc767f$4d508af0$e7f1a0d0$@gmail.com> References: <4E76B00C.5020204@colbyconsulting.com> <001a01cc767f$4d508af0$e7f1a0d0$@gmail.com> Message-ID: <4E77734E.50607@colbyconsulting.com> This was interesting http://25yearsofprogramming.com/blog/2010/20100718.htm Option #2 use Access to push structure and data. I will definitely be giving this a try. I may be able to do programmatically what he was doing manually which would make it pretty easy. John W. Colby www.ColbyConsulting.com On 9/18/2011 11:50 PM, Michael wrote: > John, > > Have a look at http://forums.mysql.com/list.php?65 > > This deals with Access/MySQL migrations as well as many other related > matters. > > Michael > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, 19 September 2011 12:59 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Access to MySQL conversion > > Has anybody found a package to do this? I am finding some things but they > look suspicious. > From rlister at actuarial-files.com Mon Sep 19 16:18:31 2011 From: rlister at actuarial-files.com (Ralf Lister) Date: Mon, 19 Sep 2011 17:18:31 -0400 Subject: [AccessD] Ambiguous Name Message-ID: <000001cc7711$bb3f9f00$31bedd00$@com> Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia From michaeljrobertson at gmail.com Mon Sep 19 17:38:59 2011 From: michaeljrobertson at gmail.com (Michael) Date: Tue, 20 Sep 2011 08:38:59 +1000 Subject: [AccessD] Access to MySQL conversion In-Reply-To: <4E77734E.50607@colbyconsulting.com> References: <4E76B00C.5020204@colbyconsulting.com> <001a01cc767f$4d508af0$e7f1a0d0$@gmail.com> <4E77734E.50607@colbyconsulting.com> Message-ID: <001201cc771c$ef415e50$cdc41af0$@gmail.com> John, You might also have a look at Navicat for MySQL - http://www.navicat.com/en/products/navicat_mysql/mysql_overview.html I personally use the Premium Version of Navicat to manage remote databases, develop complex queries, create views, triggers, UDFs and so on. I use MySQL as the backend for dynamic websites I build here in Australia - the hosts are in California. While phpMyAdmin is useful and free, it doesn't compare to the Navicat product which of course costs ($199 for the MySQL version). While this may sound like an advertisement for Navicat (it isn't) I simply can't do without Navicat (I use the Premium Edition which covers most of the major DBs). At the very least I recommend that you have a look at the product - it has a 30 day free trial. As an experiment I imported a few tables from an Access database, across the WAN and it worked well. I didn't choose anything too complex deliberately, but from what I saw it has all of the features you might need for a migration from Access to MySQL plus the ongoing benefit of DB Management. I do all my DB development work directly in Navicat. I also use Access as a front-end to MySQL for complex site maintenance activities - using ODBC for that. Hope that helps. Rgeards, Michael -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, 20 September 2011 2:53 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access to MySQL conversion This was interesting http://25yearsofprogramming.com/blog/2010/20100718.htm Option #2 use Access to push structure and data. I will definitely be giving this a try. I may be able to do programmatically what he was doing manually which would make it pretty easy. John W. Colby www.ColbyConsulting.com On 9/18/2011 11:50 PM, Michael wrote: > John, > > Have a look at http://forums.mysql.com/list.php?65 > > This deals with Access/MySQL migrations as well as many other related > matters. > > Michael > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, 19 September 2011 12:59 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Access to MySQL conversion > > Has anybody found a package to do this? I am finding some things but > they look suspicious. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From steve at goodhall.info Mon Sep 19 18:33:24 2011 From: steve at goodhall.info (Steve Goodhall) Date: Mon, 19 Sep 2011 19:33:24 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: <000001cc7711$bb3f9f00$31bedd00$@com> References: <000001cc7711$bb3f9f00$31bedd00$@com> Message-ID: Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- 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 Sep 19 18:42:11 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 20 Sep 2011 09:42:11 +1000 Subject: [AccessD] Ambiguous Name In-Reply-To: <000001cc7711$bb3f9f00$31bedd00$@com> References: <000001cc7711$bb3f9f00$31bedd00$@com> Message-ID: <000a01cc7725$c0fad0e0$42f072a0$@com.au> I would just search for "gsngAportesSR". It is likely you have it dimmed in a module somewhere else. Search for "Dim gsngAportesSR" for starters and then just "gsngAportesSR" - it will be in there somewhere. I would also ensure all your modules are "Option Explicit" to ensure nothing is getting dimmed twice by the VBE. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Tuesday, 20 September 2011 7:19 AM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- 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 Sep 19 18:56:39 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 19 Sep 2011 19:56:39 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: <000001cc7711$bb3f9f00$31bedd00$@com> References: <000001cc7711$bb3f9f00$31bedd00$@com> Message-ID: First of all, I am semi-retired, after 25+ years in the trenches. Second, I am an opponent of Hungarien (Simonyi) notation. I invented my own school of notation, which I call (in homage to the aforementioned) Post-Hungarian. In a nutshell this means: frm_MyForm --> MyForm_frm. And so on for all objects in said project. Why adopt this convention? Because all the objects related to, let's say, Customer, are all sorted naturally, I can find everything related to Customer easy as pie. At the end of the day, I am most interested in retrieving said objects. I go further. I have suffixes including "_qs", "qu", "qd" and "qi" and these mean "query select", "query update", "query delete" and "query insert"/ The point being that the prefix "Customer..." sorts the people according to what they affect, and from there I can work out what is destined to do something to the underlying data. Granted, this is only my opinion on how objects ought to be named. Smarter people on this list might come up with superior schemes, A. From darryl at whittleconsulting.com.au Mon Sep 19 20:44:24 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 20 Sep 2011 11:44:24 +1000 Subject: [AccessD] Ambiguous Name In-Reply-To: References: <000001cc7711$bb3f9f00$31bedd00$@com> Message-ID: <000b01cc7736$d44b8480$7ce28d80$@com.au> Interesting approach Arthur and I can see why that maybe useful in doing things that way. I would say don't think there is a right or wrong way of doing this and we all have our own preferences, I think the only 'crime' (for the want of a better word - maybe 'mistake' (?)) is to be inconsistent with your approach. The main aim I have on naming things in a certain way is to minimise risk. By putting some details of what to expect in the object name I find it is easy to chase down any issues. But of course that is just me. Everyone else's mileage will vary. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, 20 September 2011 9:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name First of all, I am semi-retired, after 25+ years in the trenches. Second, I am an opponent of Hungarien (Simonyi) notation. I invented my own school of notation, which I call (in homage to the aforementioned) Post-Hungarian. In a nutshell this means: frm_MyForm --> MyForm_frm. And so on for all objects in said project. Why adopt this convention? Because all the objects related to, let's say, Customer, are all sorted naturally, I can find everything related to Customer easy as pie. At the end of the day, I am most interested in retrieving said objects. I go further. I have suffixes including "_qs", "qu", "qd" and "qi" and these mean "query select", "query update", "query delete" and "query insert"/ The point being that the prefix "Customer..." sorts the people according to what they affect, and from there I can work out what is destined to do something to the underlying data. Granted, this is only my opinion on how objects ought to be named. Smarter people on this list might come up with superior schemes, 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 Mon Sep 19 23:29:54 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 19 Sep 2011 21:29:54 -0700 Subject: [AccessD] Ambiguous Name In-Reply-To: References: <000001cc7711$bb3f9f00$31bedd00$@com> Message-ID: That's the kind of thing my former employer decided to do when we moved to VB.Net. Made it very easy to sort things into groups by name, but it was a nightmare if you wanted to look at, say, all subreports. I hated it because it solved one "problem" by creating others. Charlotte Foust On Mon, Sep 19, 2011 at 4:56 PM, Arthur Fuller wrote: > First of all, I am semi-retired, after 25+ years in the trenches. > Second, I am an opponent of Hungarien (Simonyi) notation. I invented my own > school of notation, which I call (in homage to the aforementioned) > Post-Hungarian. In a nutshell this means: > > frm_MyForm --> MyForm_frm. And so on for all objects in said project. Why > adopt this convention? Because all the objects related to, let's say, > Customer, are all sorted naturally, I can find everything related to > Customer easy as pie. At the end of the day, I am most interested in > retrieving said objects. I go further. I have suffixes including "_qs", > "qu", "qd" and "qi" and these mean "query select", "query update", "query > delete" and "query insert"/ The point being that the prefix "Customer..." > sorts the people according to what they affect, and from there I can work > out what is destined to do something to the underlying data. > > Granted, this is only my opinion on how objects ought to be named. Smarter > people on this list might come up with superior schemes, > > A. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From fuller.artful at gmail.com Tue Sep 20 00:36:48 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 20 Sep 2011 01:36:48 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: References: <000001cc7711$bb3f9f00$31bedd00$@com> Message-ID: I never claimed perfection, Charlotte, LOL. And any naming convention is bound to have its pluses and minuses. But I try to keep it sensible, as best I can. So, we have forms called Customer_frm, CustomerOrder_subfrm, CustomerOrderDetails_subfrm, etc. Main thing is that they sort alphabetically and sensibly, IMO. Same nomenclature for reports. I also have a few procs in a module called Listers which (gasp) list objects of various types (forms, reports, modules) so I can grab the results and paste them into an Excel workbook and thus mark off my regression testing. It may not be perfect but it works well enough for me, until I find something better. Suggestions are always welcome. A. On Tue, Sep 20, 2011 at 12:29 AM, Charlotte Foust wrote: > That's the kind of thing my former employer decided to do when we moved to > VB.Net. Made it very easy to sort things into groups by name, but it was a > nightmare if you wanted to look at, say, all subreports. I hated it > because > it solved one "problem" by creating others. > > Charlotte Foust > > From Gustav at cactus.dk Tue Sep 20 02:24:55 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 20 Sep 2011 09:24:55 +0200 Subject: [AccessD] [dba-SQLServer] Oracle 11g EX (was: MySQL) Message-ID: Hi Arthur et al Also Oracle sports a free Express version, Oracle 11g XE with these limitations: * Maximum database size is 11 GB * Maximum RAM it will use is 1 GB * Only one instance can be installed on a single computer * Uses only a single CPU Here is a guide for the Windows installation (for people like JC encountering the unknown!): http://www.codeproject.com/KB/database/InstallOracle11gXE.aspx Not that I have used it or intend to do so. The last time I tried (Oracle 8i?) it installed a monster suite of tools and yet you had to deal with manual editing of ora files etc. ... I felt much like JC does now facing the WAMP package. Things may have changed, I know, I'm just not ready to meet the challenge (= have no purpose for it). /gustav -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, September 17, 2011 6:53 PM To: Discussion concerning MS SQL Server Subject: Re: [dba-SQLServer] [AccessD] MySQL There are some nice things about MySQL but on the other hand I definitely do not like where Oracle is going with this puppy since its acquisition of Sun and by inheritance MySQL. I'm still on the fence about these developments, but quite frankly I am leaning against Oracle on all these transmutations of what was originally a simple, straightforward approach. At last recollection, Monty has departed, and with him, I fear, has the guiding vision of this product. Frankly, I am all over the place on where next to go: I look at Mongo and see it exquisite for web-apps but not for OLTP situations. I look at PostGreSQL and think it's got a bunch of things right. I look at Oracle and MS-SQL and think they have some things right as well. I frankly do not have any clue into which basket to toss my next eggs. Arthur From jwcolby at colbyconsulting.com Tue Sep 20 06:51:08 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Sep 2011 07:51:08 -0400 Subject: [AccessD] Access to MySQL conversion In-Reply-To: <001201cc771c$ef415e50$cdc41af0$@gmail.com> References: <4E76B00C.5020204@colbyconsulting.com> <001a01cc767f$4d508af0$e7f1a0d0$@gmail.com> <4E77734E.50607@colbyconsulting.com> <001201cc771c$ef415e50$cdc41af0$@gmail.com> Message-ID: <4E787E2C.7070106@colbyconsulting.com> AFAICT this is $250 for the "non-commercial" version which I could qualify for if I used it for one of my non-profits. John W. Colby www.ColbyConsulting.com On 9/19/2011 6:38 PM, Michael wrote: > John, > > You might also have a look at Navicat for MySQL - > http://www.navicat.com/en/products/navicat_mysql/mysql_overview.html > > I personally use the Premium Version of Navicat to manage remote databases, > develop complex queries, create views, triggers, UDFs and so on. I use MySQL > as the backend for dynamic websites I build here in Australia - the hosts > are in California. While phpMyAdmin is useful and free, it doesn't compare > to the Navicat product which of course costs ($199 for the MySQL version). > > While this may sound like an advertisement for Navicat (it isn't) I simply > can't do without Navicat (I use the Premium Edition which covers most of the > major DBs). At the very least I recommend that you have a look at the > product - it has a 30 day free trial. > > As an experiment I imported a few tables from an Access database, across the > WAN and it worked well. I didn't choose anything too complex deliberately, > but from what I saw it has all of the features you might need for a > migration from Access to MySQL plus the ongoing benefit of DB Management. I > do all my DB development work directly in Navicat. > > I also use Access as a front-end to MySQL for complex site maintenance > activities - using ODBC for that. > > Hope that helps. > > Rgeards, > > Michael > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, 20 September 2011 2:53 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access to MySQL conversion > > This was interesting > > http://25yearsofprogramming.com/blog/2010/20100718.htm > > Option #2 use Access to push structure and data. I will definitely be > giving this a try. I may be able to do programmatically what he was doing > manually which would make it pretty easy. > > John W. Colby > www.ColbyConsulting.com > > On 9/18/2011 11:50 PM, Michael wrote: >> John, >> >> Have a look at http://forums.mysql.com/list.php?65 >> >> This deals with Access/MySQL migrations as well as many other related >> matters. >> >> Michael >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Monday, 19 September 2011 12:59 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Access to MySQL conversion >> >> Has anybody found a package to do this? I am finding some things but >> they look suspicious. >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Tue Sep 20 07:10:26 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Sep 2011 08:10:26 -0400 Subject: [AccessD] SSDs and BE storage In-Reply-To: <4E7168E7.2000502@colbyconsulting.com> References: <4E7168E7.2000502@colbyconsulting.com> Message-ID: <4E7882B2.7040407@colbyconsulting.com> Well, it seems I will be answering this question in the next few weeks. The client is building a server in the next couple of weeks, which will include a raid1 SSD as the data store. Phase 1 of the story will be to move the access BEs to that SSD and use that while we migrate the data into something else (MySQL maybe). My FE / framework logs the start / stop time when opening forms so it should be easy to discover whether the SSD makes things significantly faster. John W. Colby www.ColbyConsulting.com On 9/14/2011 10:54 PM, jwcolby wrote: > Does anyone have experience with using an SSD (or SSD RAID) to store the Access BEs? Does it > significantly speed up the database? > > My client has a pretty large (by Access standards) database. It is a call center application and > they do mostly reads (viewing claim data as they talk to the client), but do a fair amount of > "documenting" the phone calls by writing notes. About 25 users in the database all day. > > It seems logical that the SSDs enormous IOPS and streaming reads would speed things up but I have > never seen any actual studies or documented usage data. > From df.waters at comcast.net Tue Sep 20 07:48:52 2011 From: df.waters at comcast.net (Dan Waters) Date: Tue, 20 Sep 2011 07:48:52 -0500 Subject: [AccessD] SSDs and BE storage In-Reply-To: <4E7882B2.7040407@colbyconsulting.com> References: <4E7168E7.2000502@colbyconsulting.com> <4E7882B2.7040407@colbyconsulting.com> Message-ID: <001701cc7793$a75c8ca0$f615a5e0$@comcast.net> Hi John, A few months ago I switched to using an SSD for the Windows 7 OS and applications, and a WD Black HD for data storage. And yes, things are significantly faster. If I had a 2nd gen Intel CPU I'd see another jump in speed. But the way it is now, every Access file I open is up in about 1 second (if it doesn't have startup code). VS 2010 takes about 35 seconds to open and a VS app takes about 5 seconds to open. If you're going to all SSD, then you'll see a dramatic difference. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 20, 2011 7:10 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SSDs and BE storage Well, it seems I will be answering this question in the next few weeks. The client is building a server in the next couple of weeks, which will include a raid1 SSD as the data store. Phase 1 of the story will be to move the access BEs to that SSD and use that while we migrate the data into something else (MySQL maybe). My FE / framework logs the start / stop time when opening forms so it should be easy to discover whether the SSD makes things significantly faster. John W. Colby www.ColbyConsulting.com On 9/14/2011 10:54 PM, jwcolby wrote: > Does anyone have experience with using an SSD (or SSD RAID) to store > the Access BEs? Does it significantly speed up the database? > > My client has a pretty large (by Access standards) database. It is a > call center application and they do mostly reads (viewing claim data > as they talk to the client), but do a fair amount of "documenting" the phone calls by writing notes. About 25 users in the database all day. > > It seems logical that the SSDs enormous IOPS and streaming reads would > speed things up but I have never seen any actual studies or documented usage data. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rlister at actuarial-files.com Tue Sep 20 09:48:00 2011 From: rlister at actuarial-files.com (Ralf Lister) Date: Tue, 20 Sep 2011 10:48:00 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: <000a01cc7725$c0fad0e0$42f072a0$@com.au> References: <000001cc7711$bb3f9f00$31bedd00$@com> <000a01cc7725$c0fad0e0$42f072a0$@com.au> Message-ID: <000101cc77a4$4d2eb3f0$e78c1bd0$@com> Thanks Darryl, Thanks to your advice all is working wonderfully now. I found that the ambiguous variable gsngAportesSR was dimmed twice. Thousand thanks! Saludos Actuary Ralf Lister La Paz, Bolivia Registrado en APS No. Registro: Act.Mat. 001 NIT: 1016725022 Skype Name: ralf.martin.lister1 Tel.: 222 26 61, Cel. 70136531 rlister at actuarial-files.com www.actuarial-files.com -----Mensaje original----- De: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] En nombre de Darryl Collins Enviado el: Lunes, 19 de Septiembre de 2011 07:42 p.m. Para: 'Access Developers discussion and problem solving' Asunto: Re: [AccessD] Ambiguous Name I would just search for "gsngAportesSR". It is likely you have it dimmed in a module somewhere else. Search for "Dim gsngAportesSR" for starters and then just "gsngAportesSR" - it will be in there somewhere. I would also ensure all your modules are "Option Explicit" to ensure nothing is getting dimmed twice by the VBE. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Tuesday, 20 September 2011 7:19 AM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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: 10.0.1410 / Virus Database: 1520/3906 - Release Date: 09/19/11 From Gustav at cactus.dk Tue Sep 20 09:52:45 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 20 Sep 2011 16:52:45 +0200 Subject: [AccessD] Ambiguous Name Message-ID: Hi Steve Nothing wrong with global variables. Trouble is always located at those handling these (the programmer!). /gustav >>> steve at goodhall.info 20-09-2011 01:33:24 >>> Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia From dc8 at btinternet.com Tue Sep 20 10:45:42 2011 From: dc8 at btinternet.com (Chris Swann) Date: Tue, 20 Sep 2011 16:45:42 +0100 Subject: [AccessD] Two counts, one unique in pivot table In-Reply-To: <001701cc7793$a75c8ca0$f615a5e0$@comcast.net> References: <4E7168E7.2000502@colbyconsulting.com><4E7882B2.7040407@colbyconsulting.com> <001701cc7793$a75c8ca0$f615a5e0$@comcast.net> Message-ID: <4E78B526.6070908@btinternet.com> Hi all, I'm trying to produce a pivot table in Access that has two counts in it. One of these is based upon a field that is unique within the data and another that can have duplicates. What I need to show is, based upon the small example, this SAMPLE NUMBER PATIENT NUMBER A.1 1 A.2 2 A.3 2 A.4 2 A.5 3 A.6 4 A.7 4 A.8 5 A.9 5 A.10 6 10 6 which would show that there were 10 visits made by 6 distinct patients. Could anyone point me in the right direction as to how to achieve this ? Many thanks in advance, Chris Swann From marksimms at verizon.net Tue Sep 20 10:46:14 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 20 Sep 2011 11:46:14 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: Message-ID: <002401cc77ac$6df7fa30$49e7ee90$@net> Au Contraire....use sparingly at best: www.vb123.com/smart/fp/1998-05.pdf "they dramatically increase the costs of maintaining an application. After all, when you find a bad value in a global variable, that value could have been placed in the variable from any routine in the application. Thats a lot of code to debug" > > Nothing wrong with global variables. > Trouble is always located at those handling these (the programmer!). > From Lambert.Heenan at chartisinsurance.com Tue Sep 20 10:49:16 2011 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Tue, 20 Sep 2011 11:49:16 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: References: <000001cc7711$bb3f9f00$31bedd00$@com> Message-ID: I'm 100% with you on this Arthur. Been using a variation on the theme for years. I especially like being able to 'find' objects in the database window by typing the initial few letters of the name. Suffixes for me, not prefixes. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, September 19, 2011 7:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name First of all, I am semi-retired, after 25+ years in the trenches. Second, I am an opponent of Hungarien (Simonyi) notation. I invented my own school of notation, which I call (in homage to the aforementioned) Post-Hungarian. In a nutshell this means: frm_MyForm --> MyForm_frm. And so on for all objects in said project. Why adopt this convention? Because all the objects related to, let's say, Customer, are all sorted naturally, I can find everything related to Customer easy as pie. At the end of the day, I am most interested in retrieving said objects. I go further. I have suffixes including "_qs", "qu", "qd" and "qi" and these mean "query select", "query update", "query delete" and "query insert"/ The point being that the prefix "Customer..." sorts the people according to what they affect, and from there I can work out what is destined to do something to the underlying data. Granted, this is only my opinion on how objects ought to be named. Smarter people on this list might come up with superior schemes, A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Sep 20 11:06:29 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 20 Sep 2011 18:06:29 +0200 Subject: [AccessD] Global Vars (was Ambiguous Name) Message-ID: Hi Mark Not true. Except, of course, if your programming discipline is a mess. When did you last program an app where "any routine" just like that sets "some" global variable? It's not happening here. /gustav >>> marksimms at verizon.net 20-09-2011 17:46:14 >>> Au Contraire....use sparingly at best: www.vb123.com/smart/fp/1998-05.pdf "they dramatically increase the costs of maintaining an application. After all, when you find a bad value in a global variable, that value could have been placed in the variable from any routine in the application. Thats a lot of code to debug" > > Nothing wrong with global variables. > Trouble is always located at those handling these (the programmer!). From steve at goodhall.info Tue Sep 20 11:16:50 2011 From: steve at goodhall.info (Steve Goodhall) Date: Tue, 20 Sep 2011 12:16:50 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: References: Message-ID: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> I can't agree. Global variables break the whole model of structured programming. In many ways they are worse than goto statements. Sent from my Verizon Wireless Phone -----Original message----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Hi Steve Nothing wrong with global variables. Trouble is always located at those handling these (the programmer!). /gustav >>> steve at goodhall.info 20-09-2011 01:33:24 >>> Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Tue Sep 20 11:22:50 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 20 Sep 2011 12:22:50 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> References: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> Message-ID: There is nothing wrong with using a global variable like this: Private objcurDB As DAO.Database Public Function CurDb(Optional bolRefresh As Boolean = False) As DAO.Database If objcurDB Is Nothing Or bolRefresh = True Then Set objcurDB = CurrentDb() End If Set CurDb = objcurDB End Function And even if you did define it public, so what? It's not like it would be hard to spot where it's used. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 12:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I can't agree. Global variables break the whole model of structured programming. In many ways they are worse than goto statements. Sent from my Verizon Wireless Phone -----Original message----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Hi Steve Nothing wrong with global variables. Trouble is always located at those handling these (the programmer!). /gustav >>> steve at goodhall.info 20-09-2011 01:33:24 >>> Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Tue Sep 20 11:26:36 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 20 Sep 2011 12:26:36 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <002401cc77ac$6df7fa30$49e7ee90$@net> References: <002401cc77ac$6df7fa30$49e7ee90$@net> Message-ID: <13EE22ABA751467BAC797D46200F01AA@XPS> Mark, You should have quoted the second paragraph as well: "This narrow-minded attitude of mine can create difficulties when trying to share data between forms in a single application." He goes on to say there are lot's of solutions to that problem (which is true), but that doesn't apply that global's should not be used or do not have a place in Access development. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Tuesday, September 20, 2011 11:46 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Global Vars (was Ambiguous Name) Au Contraire....use sparingly at best: www.vb123.com/smart/fp/1998-05.pdf "they dramatically increase the costs of maintaining an application. After all, when you find a bad value in a global variable, that value could have been placed in the variable from any routine in the application. Thats a lot of code to debug" > > Nothing wrong with global variables. > Trouble is always located at those handling these (the programmer!). > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From steve at goodhall.info Tue Sep 20 11:30:08 2011 From: steve at goodhall.info (Steve Goodhall) Date: Tue, 20 Sep 2011 12:30:08 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: References: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> Message-ID: I don't see global in this example. Sent from my Verizon Wireless Phone -----Original message----- From: Jim Dettman To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 20, 2011 16:25:09 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name There is nothing wrong with using a global variable like this: Private objcurDB As DAO.Database Public Function CurDb(Optional bolRefresh As Boolean = False) As DAO.Database If objcurDB Is Nothing Or bolRefresh = True Then Set objcurDB = CurrentDb() End If Set CurDb = objcurDB End Function And even if you did define it public, so what? It's not like it would be hard to spot where it's used. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 12:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I can't agree. Global variables break the whole model of structured programming. In many ways they are worse than goto statements. Sent from my Verizon Wireless Phone -----Original message----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Hi Steve Nothing wrong with global variables. Trouble is always located at those handling these (the programmer!). /gustav >>> steve at goodhall.info 20-09-2011 01:33:24 >>> Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Tue Sep 20 11:41:20 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 20 Sep 2011 12:41:20 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: References: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> Message-ID: <5B015C9C2D79479F90807E92714D112E@XPS> Steve, I should have said that this code exists in a standard module. objcurDB has been declared private to limit the scope to the module, but it's still a global variable, which could be accessed by any procedure in that module. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I don't see global in this example. Sent from my Verizon Wireless Phone -----Original message----- From: Jim Dettman To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 20, 2011 16:25:09 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name There is nothing wrong with using a global variable like this: Private objcurDB As DAO.Database Public Function CurDb(Optional bolRefresh As Boolean = False) As DAO.Database If objcurDB Is Nothing Or bolRefresh = True Then Set objcurDB = CurrentDb() End If Set CurDb = objcurDB End Function And even if you did define it public, so what? It's not like it would be hard to spot where it's used. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 12:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I can't agree. Global variables break the whole model of structured programming. In many ways they are worse than goto statements. Sent from my Verizon Wireless Phone -----Original message----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Hi Steve Nothing wrong with global variables. Trouble is always located at those handling these (the programmer!). /gustav >>> steve at goodhall.info 20-09-2011 01:33:24 >>> Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 jwcolby at colbyconsulting.com Tue Sep 20 11:57:55 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Sep 2011 12:57:55 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: <5B015C9C2D79479F90807E92714D112E@XPS> References: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> <5B015C9C2D79479F90807E92714D112E@XPS> Message-ID: <4E78C613.4060707@colbyconsulting.com> True, scope includes different levels of global. John W. Colby www.ColbyConsulting.com On 9/20/2011 12:41 PM, Jim Dettman wrote: > Steve, > > I should have said that this code exists in a standard module. objcurDB > has been declared private to limit the scope to the module, but it's still a > global variable, which could be accessed by any procedure in that module. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall > Sent: Tuesday, September 20, 2011 12:30 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Ambiguous Name > > I don't see global in this example. > > Sent from my Verizon Wireless Phone > > -----Original message----- > From: Jim Dettman > To: 'Access Developers discussion and problem solving' > > Sent: Tue, Sep 20, 2011 16:25:09 GMT+00:00 > Subject: Re: [AccessD] Ambiguous Name > > There is nothing wrong with using a global variable like this: > > Private objcurDB As DAO.Database > > Public Function CurDb(Optional bolRefresh As Boolean = False) As > DAO.Database > > If objcurDB Is Nothing Or bolRefresh = True Then > Set objcurDB = CurrentDb() > End If > > Set CurDb = objcurDB > > End Function > > > And even if you did define it public, so what? It's not like it would be > hard to spot where it's used. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall > Sent: Tuesday, September 20, 2011 12:17 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Ambiguous Name > > I can't agree. Global variables break the whole model of structured > programming. In many ways they are worse than goto statements. > > Sent from my Verizon Wireless Phone > > -----Original message----- > From: Gustav Brock > To: accessd at databaseadvisors.com > Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 > Subject: Re: [AccessD] Ambiguous Name > > Hi Steve > > Nothing wrong with global variables. > Trouble is always located at those handling these (the programmer!). > > /gustav > > >>>> steve at goodhall.info 20-09-2011 01:33:24>>> > Yet another reason to never use global variables. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister > Sent: Monday, September 19, 2011 5:19 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Ambiguous Name > > Hello all, > > I work with Access 2007. > > Lately I ran into a problem I don't know how to solve: By running the code I > got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha > detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code > looking for gsngAportes defined by two different data types (e.g. Public > gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but > without success. > > Does anyone of you know how to fix this problem? > > I should say that gsngAportesSR is a global variable with data type Single. > > Thanks and Saludos > Ralf Lister > La Paz, Bolivia > > From steve at goodhall.info Tue Sep 20 12:02:07 2011 From: steve at goodhall.info (Steve Goodhall) Date: Tue, 20 Sep 2011 13:02:07 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: <5B015C9C2D79479F90807E92714D112E@XPS> References: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> <5B015C9C2D79479F90807E92714D112E@XPS> Message-ID: <555b16e1-b94d-4373-b5d6-3dab4e7ad029@blur> By definition, that's a class variable not a global. Sent from my Verizon Wireless Phone -----Original message----- From: Jim Dettman To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 20, 2011 16:42:42 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Steve, I should have said that this code exists in a standard module. objcurDB has been declared private to limit the scope to the module, but it's still a global variable, which could be accessed by any procedure in that module. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I don't see global in this example. Sent from my Verizon Wireless Phone -----Original message----- From: Jim Dettman To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 20, 2011 16:25:09 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name There is nothing wrong with using a global variable like this: Private objcurDB As DAO.Database Public Function CurDb(Optional bolRefresh As Boolean = False) As DAO.Database If objcurDB Is Nothing Or bolRefresh = True Then Set objcurDB = CurrentDb() End If Set CurDb = objcurDB End Function And even if you did define it public, so what? It's not like it would be hard to spot where it's used. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 12:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I can't agree. Global variables break the whole model of structured programming. In many ways they are worse than goto statements. Sent from my Verizon Wireless Phone -----Original message----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Hi Steve Nothing wrong with global variables. Trouble is always located at those handling these (the programmer!). /gustav >>> steve at goodhall.info 20-09-2011 01:33:24 >>> Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Tue Sep 20 12:06:44 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 20 Sep 2011 13:06:44 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: <555b16e1-b94d-4373-b5d6-3dab4e7ad029@blur> References: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> <5B015C9C2D79479F90807E92714D112E@XPS> <555b16e1-b94d-4373-b5d6-3dab4e7ad029@blur> Message-ID: <1D2245AE6A524C0A920E38022E9FE3CA@XPS> Well except for the fact that it's not in a class module. It doesn't represent a property. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 01:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name By definition, that's a class variable not a global. Sent from my Verizon Wireless Phone -----Original message----- From: Jim Dettman To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 20, 2011 16:42:42 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Steve, I should have said that this code exists in a standard module. objcurDB has been declared private to limit the scope to the module, but it's still a global variable, which could be accessed by any procedure in that module. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I don't see global in this example. Sent from my Verizon Wireless Phone -----Original message----- From: Jim Dettman To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 20, 2011 16:25:09 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name There is nothing wrong with using a global variable like this: Private objcurDB As DAO.Database Public Function CurDb(Optional bolRefresh As Boolean = False) As DAO.Database If objcurDB Is Nothing Or bolRefresh = True Then Set objcurDB = CurrentDb() End If Set CurDb = objcurDB End Function And even if you did define it public, so what? It's not like it would be hard to spot where it's used. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 12:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I can't agree. Global variables break the whole model of structured programming. In many ways they are worse than goto statements. Sent from my Verizon Wireless Phone -----Original message----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Hi Steve Nothing wrong with global variables. Trouble is always located at those handling these (the programmer!). /gustav >>> steve at goodhall.info 20-09-2011 01:33:24 >>> Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 marksimms at verizon.net Tue Sep 20 12:12:00 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 20 Sep 2011 13:12:00 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <13EE22ABA751467BAC797D46200F01AA@XPS> References: <002401cc77ac$6df7fa30$49e7ee90$@net> <13EE22ABA751467BAC797D46200F01AA@XPS> Message-ID: <002801cc77b8$693dfe20$3bb9fa60$@net> I'm not totally against them, but lately I've been tending towards the Public Property, the value of which can be easily traced/debugged. Interestingly, MZTOOLZ has a function to do just that: convert globals to properties. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Tuesday, September 20, 2011 12:27 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Global Vars (was Ambiguous Name) > > Mark, > > You should have quoted the second paragraph as well: > > "This narrow-minded attitude of mine can create difficulties when > trying to > share data between forms in a single application." > > He goes on to say there are lot's of solutions to that problem (which > is > true), but that doesn't apply that global's should not be used or do > not > have a place in Access development. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Tuesday, September 20, 2011 11:46 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Global Vars (was Ambiguous Name) > > Au Contraire....use sparingly at best: > www.vb123.com/smart/fp/1998-05.pdf > "they dramatically increase the costs of > maintaining an application. After all, when you find a bad value in a > global > variable, that value could have been placed in the variable from any > routine > in the application. Thats a lot of code to debug" > > > > > Nothing wrong with global variables. > > Trouble is always located at those handling these (the programmer!). > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 20 12:28:56 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Sep 2011 13:28:56 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <002801cc77b8$693dfe20$3bb9fa60$@net> References: <002401cc77ac$6df7fa30$49e7ee90$@net> <13EE22ABA751467BAC797D46200F01AA@XPS> <002801cc77b8$693dfe20$3bb9fa60$@net> Message-ID: <4E78CD58.9030604@colbyconsulting.com> The nice thing about properties is that they can be set (modified) in the module but read-only from outside of the module. It is impossible to do that with globals. John W. Colby www.ColbyConsulting.com On 9/20/2011 1:12 PM, Mark Simms wrote: > I'm not totally against them, but lately I've been tending towards the > Public Property, > the value of which can be easily traced/debugged. > Interestingly, MZTOOLZ has a function to do just that: convert globals to > properties. > > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd- >> bounces at databaseadvisors.com] On Behalf Of Jim Dettman >> Sent: Tuesday, September 20, 2011 12:27 PM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Global Vars (was Ambiguous Name) >> >> Mark, >> >> You should have quoted the second paragraph as well: >> >> "This narrow-minded attitude of mine can create difficulties when >> trying to >> share data between forms in a single application." >> >> He goes on to say there are lot's of solutions to that problem (which >> is >> true), but that doesn't apply that global's should not be used or do >> not >> have a place in Access development. >> >> Jim. >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms >> Sent: Tuesday, September 20, 2011 11:46 AM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Global Vars (was Ambiguous Name) >> >> Au Contraire....use sparingly at best: >> www.vb123.com/smart/fp/1998-05.pdf >> "they dramatically increase the costs of >> maintaining an application. After all, when you find a bad value in a >> global >> variable, that value could have been placed in the variable from any >> routine >> in the application. Thats a lot of code to debug" >> >>> >>> Nothing wrong with global variables. >>> Trouble is always located at those handling these (the programmer!). >>> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/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 Sep 20 12:32:46 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Sep 2011 13:32:46 -0400 Subject: [AccessD] SSDs and BE storage In-Reply-To: <001701cc7793$a75c8ca0$f615a5e0$@comcast.net> References: <4E7168E7.2000502@colbyconsulting.com> <4E7882B2.7040407@colbyconsulting.com> <001701cc7793$a75c8ca0$f615a5e0$@comcast.net> Message-ID: <4E78CE3E.1090104@colbyconsulting.com> The system they are building includes a latest generation 8 port Areca Raid controller, with 3x 120gb SSDs and 5X WD Black 1 gb drives. We will be going Raid 5 with hot spare for the SSDs as well as the rotating so it should be reasonably fast with a hardware controller to buffer things. The SSD will be reserved for only the data store container files, which at first will be the Access MDB files. As we migrate to MySQL or SQL Server those data files will go on the SSD. John W. Colby www.ColbyConsulting.com On 9/20/2011 8:48 AM, Dan Waters wrote: > Hi John, > > A few months ago I switched to using an SSD for the Windows 7 OS and > applications, and a WD Black HD for data storage. And yes, things are > significantly faster. If I had a 2nd gen Intel CPU I'd see another jump in > speed. But the way it is now, every Access file I open is up in about 1 > second (if it doesn't have startup code). VS 2010 takes about 35 seconds to > open and a VS app takes about 5 seconds to open. > > If you're going to all SSD, then you'll see a dramatic difference. > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, September 20, 2011 7:10 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] SSDs and BE storage > > Well, it seems I will be answering this question in the next few weeks. The > client is building a server in the next couple of weeks, which will include > a raid1 SSD as the data store. Phase 1 of the story will be to move the > access BEs to that SSD and use that while we migrate the data into something > else (MySQL maybe). > > My FE / framework logs the start / stop time when opening forms so it > should be easy to discover whether the SSD makes things significantly > faster. > > John W. Colby > www.ColbyConsulting.com > > On 9/14/2011 10:54 PM, jwcolby wrote: >> Does anyone have experience with using an SSD (or SSD RAID) to store >> the Access BEs? Does it significantly speed up the database? >> >> My client has a pretty large (by Access standards) database. It is a >> call center application and they do mostly reads (viewing claim data >> as they talk to the client), but do a fair amount of "documenting" the > phone calls by writing notes. About 25 users in the database all day. >> >> It seems logical that the SSDs enormous IOPS and streaming reads would >> speed things up but I have never seen any actual studies or documented > usage data. >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From steve at goodhall.info Tue Sep 20 12:37:16 2011 From: steve at goodhall.info (Steve Goodhall) Date: Tue, 20 Sep 2011 13:37:16 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: <1D2245AE6A524C0A920E38022E9FE3CA@XPS> References: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> <5B015C9C2D79479F90807E92714D112E@XPS> <555b16e1-b94d-4373-b5d6-3dab4e7ad029@blur> <1D2245AE6A524C0A920E38022E9FE3CA@XPS> Message-ID: I missed where you said standard module. So long as it's private I can live with it, public would be anathema. Sent from my Verizon Wireless Phone -----Original message----- From: Jim Dettman To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 20, 2011 17:08:14 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Well except for the fact that it's not in a class module. It doesn't represent a property. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 01:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name By definition, that's a class variable not a global. Sent from my Verizon Wireless Phone -----Original message----- From: Jim Dettman To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 20, 2011 16:42:42 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Steve, I should have said that this code exists in a standard module. objcurDB has been declared private to limit the scope to the module, but it's still a global variable, which could be accessed by any procedure in that module. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I don't see global in this example. Sent from my Verizon Wireless Phone -----Original message----- From: Jim Dettman To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 20, 2011 16:25:09 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name There is nothing wrong with using a global variable like this: Private objcurDB As DAO.Database Public Function CurDb(Optional bolRefresh As Boolean = False) As DAO.Database If objcurDB Is Nothing Or bolRefresh = True Then Set objcurDB = CurrentDb() End If Set CurDb = objcurDB End Function And even if you did define it public, so what? It's not like it would be hard to spot where it's used. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 12:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I can't agree. Global variables break the whole model of structured programming. In many ways they are worse than goto statements. Sent from my Verizon Wireless Phone -----Original message----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Hi Steve Nothing wrong with global variables. Trouble is always located at those handling these (the programmer!). /gustav >>> steve at goodhall.info 20-09-2011 01:33:24 >>> Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BradM at blackforestltd.com Tue Sep 20 12:57:32 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Tue, 20 Sep 2011 12:57:32 -0500 Subject: [AccessD] Access "Bloat" - Basic Questions References: <4E591854.8090208@colbyconsulting.com><6BAD4B05F0474F8083137B9C25B1038C@HAL9007><4E597AE8.6269.28B4FE51@stuart.lexacorp.com.pg> Message-ID: My background is in the mainframe world where we never had to be concerned about bloat. Now I work in the Microsoft Access world and it appears that I have had my first encounter with significant bloating. We have an Access 2007 application that obtains data from several SQL-Server tables (via ODBC) and from two Excel files. This application creates a number of reports. One of the reports needs data from 2 SQL-Server tables and 2 Excel files. Because of the complexity of the data, we cannot simply use queries to create the report, but we have had to resort to an intermediate Access table that is updated with VBA code via Record-Set processing. Once the data is processed and stored in this intermediate table, a query is used to pull this data from the table for use by the report. The report in question can be run for any desired date range. If the date range is small, we see little increase in the size of the accdb file. However, if the date range selected is large (like a full year's worth of data), the accdb file grows from 15 MB to 85MB. I believe that this large increase in size is primarily caused by the Access table that is used for the intermediate processing of the data. In the mainframe world, we used "temporary work files" for such intermediate processing. Is there something similar available in Access 2007? One idea that I have considered is to use a delete query to clear out all of the records in the intermediate table after the report is generated and then add a "Compact on close" option to the application. Again, I am new to the world of Access bloat and would like to better understand how others handle this issue. Thanks, Brad From accessd at shaw.ca Tue Sep 20 13:01:19 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 20 Sep 2011 11:01:19 -0700 Subject: [AccessD] [dba-SQLServer] Oracle 11g EX (was: MySQL) In-Reply-To: References: Message-ID: <1B78ED899FC4405DBA3DE40D5145D8B3@creativesystemdesigns.com> Gustav: Actually, you can down load Oracles full enterprise version (at least the last time I looked...Oracle version 11i) but it is limited in how many connection and users can have access to it. In addition, if you do call for support you will be directed to a local resource person(s). This system was created so computer science students and small consultant firms could get up to speed in the product. The major difference between Oracle and MS SQL is that in Oracle you can modify and optimize everything. Managing queues, temp tables, transactions, sizes and recovery points. Microsoft has chosen to eliminate or automate most of the fine-tuning part of data management. This is good and it is bad. OOH, a tech can spend years learning the black-art of database control, tuning everything to the nth degree as well as building a very precise set of reports and intergrating various Oracle servers. Rest assured, if a company has a medium and larger site there must be a full-time tech there. Oracle is also very careful on just how many techs are allowed to pass their exams so the rate at which a fully qualified Oracle tech is paid very well. OTOH, a MS SQL site is far more easily setup. A person with a bit of database knowledge can put together a stable SQL site in less than a day. It may not be a fully optimized site but it will work and render the expected results. Some tech can learn as they go and MS is not concerned about whether the person asking for database support is a person that owns a plumbing company or a fully certified tech. Microsoft's exams, though thorough, do not restrict the number of qualified graduates...the more the merrier. The rate a small company will pay a MS SQL qualified person is usually much lower than an Oracle tech with similar qualifications. Much like Microsoft has entrenched itself in new desktop computers and the office application markets, Oracle has tied up most of the high end database market. The other major difference is cost; MS SQL is about a third of the cost of an Oracle suite. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, September 20, 2011 12:25 AM To: accessd at databaseadvisors.com; dba-sqlserver at databaseadvisors.com Subject: Re: [AccessD] [dba-SQLServer] Oracle 11g EX (was: MySQL) Hi Arthur et al Also Oracle sports a free Express version, Oracle 11g XE with these limitations: * Maximum database size is 11 GB * Maximum RAM it will use is 1 GB * Only one instance can be installed on a single computer * Uses only a single CPU Here is a guide for the Windows installation (for people like JC encountering the unknown!): http://www.codeproject.com/KB/database/InstallOracle11gXE.aspx Not that I have used it or intend to do so. The last time I tried (Oracle 8i?) it installed a monster suite of tools and yet you had to deal with manual editing of ora files etc. ... I felt much like JC does now facing the WAMP package. Things may have changed, I know, I'm just not ready to meet the challenge (= have no purpose for it). /gustav -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, September 17, 2011 6:53 PM To: Discussion concerning MS SQL Server Subject: Re: [dba-SQLServer] [AccessD] MySQL There are some nice things about MySQL but on the other hand I definitely do not like where Oracle is going with this puppy since its acquisition of Sun and by inheritance MySQL. I'm still on the fence about these developments, but quite frankly I am leaning against Oracle on all these transmutations of what was originally a simple, straightforward approach. At last recollection, Monty has departed, and with him, I fear, has the guiding vision of this product. Frankly, I am all over the place on where next to go: I look at Mongo and see it exquisite for web-apps but not for OLTP situations. I look at PostGreSQL and think it's got a bunch of things right. I look at Oracle and MS-SQL and think they have some things right as well. I frankly do not have any clue into which basket to toss my next eggs. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue Sep 20 13:20:34 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 20 Sep 2011 11:20:34 -0700 Subject: [AccessD] Access "Bloat" - Basic Questions In-Reply-To: References: <4E591854.8090208@colbyconsulting.com><6BAD4B05F0474F8083137B9C25B1038C@HAL9007><4E597AE8.6269.28B4FE51@stuart.lexacorp.com.pg> Message-ID: <84AAA6DAF2D74F98AE7C9EAC6E3BB72C@HAL9007> Deleting the records and then setting Compact on close will do it unless they keep the app open, or unless the tables are in the back end then I think you have to trigger the compact on the back end through code. Another solution posted in bygone years on the list is to put the temp tables in an external db - create the mdb and tables on the fly, use 'em and delete when done. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: September 20, 2011 10:58 AM To: Access Developers discussion and problem solving Subject: [AccessD] Access "Bloat" - Basic Questions My background is in the mainframe world where we never had to be concerned about bloat. Now I work in the Microsoft Access world and it appears that I have had my first encounter with significant bloating. We have an Access 2007 application that obtains data from several SQL-Server tables (via ODBC) and from two Excel files. This application creates a number of reports. One of the reports needs data from 2 SQL-Server tables and 2 Excel files. Because of the complexity of the data, we cannot simply use queries to create the report, but we have had to resort to an intermediate Access table that is updated with VBA code via Record-Set processing. Once the data is processed and stored in this intermediate table, a query is used to pull this data from the table for use by the report. The report in question can be run for any desired date range. If the date range is small, we see little increase in the size of the accdb file. However, if the date range selected is large (like a full year's worth of data), the accdb file grows from 15 MB to 85MB. I believe that this large increase in size is primarily caused by the Access table that is used for the intermediate processing of the data. In the mainframe world, we used "temporary work files" for such intermediate processing. Is there something similar available in Access 2007? One idea that I have considered is to use a delete query to clear out all of the records in the intermediate table after the report is generated and then add a "Compact on close" option to the application. Again, I am new to the world of Access bloat and would like to better understand how others handle this issue. Thanks, Brad -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Tue Sep 20 13:25:00 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 20 Sep 2011 11:25:00 -0700 Subject: [AccessD] Ambiguous Name In-Reply-To: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> References: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> Message-ID: Hi Steve: Just a note: As soon as you step in the internet world these standards are broken again. Apache uses .htaccess and IIS uses web.config to hold their universal settings, variable and objects which not only affords consolidation but a level of security, as these files can be stored outside the access area of anyone but the system admin. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 9:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I can't agree. Global variables break the whole model of structured programming. In many ways they are worse than goto statements. Sent from my Verizon Wireless Phone -----Original message----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Hi Steve Nothing wrong with global variables. Trouble is always located at those handling these (the programmer!). /gustav >>> steve at goodhall.info 20-09-2011 01:33:24 >>> Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue Sep 20 13:29:06 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 20 Sep 2011 11:29:06 -0700 Subject: [AccessD] Access "Bloat" - Basic Questions In-Reply-To: <84AAA6DAF2D74F98AE7C9EAC6E3BB72C@HAL9007> References: <4E591854.8090208@colbyconsulting.com><6BAD4B05F0474F8083137B9C25B1038C@HAL9007><4E597AE8.6269.28B4FE51@stuart.lexacorp.com.pg> <84AAA6DAF2D74F98AE7C9EAC6E3BB72C@HAL9007> Message-ID: Or you could give them a 'Compact Now' command button on the Main Menu. Or, how about doing nothing? 85MB is not such a big file. Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: September 20, 2011 11:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access "Bloat" - Basic Questions Deleting the records and then setting Compact on close will do it unless they keep the app open, or unless the tables are in the back end then I think you have to trigger the compact on the back end through code. Another solution posted in bygone years on the list is to put the temp tables in an external db - create the mdb and tables on the fly, use 'em and delete when done. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: September 20, 2011 10:58 AM To: Access Developers discussion and problem solving Subject: [AccessD] Access "Bloat" - Basic Questions My background is in the mainframe world where we never had to be concerned about bloat. Now I work in the Microsoft Access world and it appears that I have had my first encounter with significant bloating. We have an Access 2007 application that obtains data from several SQL-Server tables (via ODBC) and from two Excel files. This application creates a number of reports. One of the reports needs data from 2 SQL-Server tables and 2 Excel files. Because of the complexity of the data, we cannot simply use queries to create the report, but we have had to resort to an intermediate Access table that is updated with VBA code via Record-Set processing. Once the data is processed and stored in this intermediate table, a query is used to pull this data from the table for use by the report. The report in question can be run for any desired date range. If the date range is small, we see little increase in the size of the accdb file. However, if the date range selected is large (like a full year's worth of data), the accdb file grows from 15 MB to 85MB. I believe that this large increase in size is primarily caused by the Access table that is used for the intermediate processing of the data. In the mainframe world, we used "temporary work files" for such intermediate processing. Is there something similar available in Access 2007? One idea that I have considered is to use a delete query to clear out all of the records in the intermediate table after the report is generated and then add a "Compact on close" option to the application. Again, I am new to the world of Access bloat and would like to better understand how others handle this issue. Thanks, Brad -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kismert at gmail.com Tue Sep 20 13:45:03 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Tue, 20 Sep 2011 13:45:03 -0500 Subject: [AccessD] SSDs and BE storage Message-ID: All, SSDs sound ideal for server applications, except for one nagging question: when will it wear out? SSD endurance summary http://www.storagesearch.com/ssdmyths-endurance.html But, there are circumstances where SSDs make a compelling argument for adoption: SSDs replacing HDDs? that's not exactly the way it happened http://www.storagesearch.com/bitmicro-art3.html If you do spring for them, get the (much more expensive) server-rated SSDs using SLC memory -- see response to Micker in comments: Debunking SSD lifespan and random write performance concerns http://maxschireson.com/2011/04/21/debunking-ssd-lifespan-and-random-write-performance-concerns/ Don't expect consumer-level SSDs to last very long in a server environment. -Ken > > ---------- Forwarded message ---------- > From: jwcolby > To: Access Developers discussion and problem solving < > accessd at databaseadvisors.com> > Date: Tue, 20 Sep 2011 08:10:26 -0400 > Subject: Re: [AccessD] SSDs and BE storage > Well, it seems I will be answering this question in the next few weeks. > The client is building a server in the next couple of weeks, which will > include a raid1 SSD as the data store. Phase 1 of the story will be to move > the access BEs to that SSD and use that while we migrate the data into > something else (MySQL maybe). > > My FE / framework logs the start / stop time when opening forms so it > should be easy to discover whether the SSD makes things significantly > faster. > > John W. Colby > www.ColbyConsulting.com > > ---------- Forwarded message ---------- > From: "Dan Waters" > To: "'Access Developers discussion and problem solving'" < > accessd at databaseadvisors.com> > Date: Tue, 20 Sep 2011 07:48:52 -0500 > Subject: Re: [AccessD] SSDs and BE storage > Hi John, > > A few months ago I switched to using an SSD for the Windows 7 OS and > applications, and a WD Black HD for data storage. And yes, things are > significantly faster. If I had a 2nd gen Intel CPU I'd see another jump in > speed. But the way it is now, every Access file I open is up in about 1 > second (if it doesn't have startup code). VS 2010 takes about 35 seconds > to > open and a VS app takes about 5 seconds to open. > > If you're going to all SSD, then you'll see a dramatic difference. > > Dan > > From fuller.artful at gmail.com Tue Sep 20 14:16:40 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 20 Sep 2011 15:16:40 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: References: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> Message-ID: I am surprised that no one has mentioned the A2K7 variant to these approaches. For evidennce how it works, load the Northwind A2K7 sample app and investigate. I used to be a big fan of static functions, but I'm always willing to learn a better approach, and this baby has it. Mind you, not backwards-portable, but nice nonetheless, and saves me a bunch of time executing my static functions. Arthur From markamatte at hotmail.com Tue Sep 20 14:17:26 2011 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 20 Sep 2011 19:17:26 +0000 Subject: [AccessD] Two counts, one unique in pivot table In-Reply-To: <4E78B526.6070908@btinternet.com> References: <4E7168E7.2000502@colbyconsulting.com><4E7882B2.7040407@colbyconsulting.com>, <001701cc7793$a75c8ca0$f615a5e0$@comcast.net>, <4E78B526.6070908@btinternet.com> Message-ID: Don't know about about a pivot...but: select count(patient) as count_patient,sum(CountOfnumber) as visits from (SELECT tbl_test.patient, Count(tbl_test.number) AS CountOfnumber FROM tbl_test GROUP BY tbl_test.patient) Hope it helps... Mark A. Matte > Date: Tue, 20 Sep 2011 16:45:42 +0100 > From: dc8 at btinternet.com > To: accessd at databaseadvisors.com > Subject: [AccessD] Two counts, one unique in pivot table > > Hi all, > > I'm trying to produce a pivot table in Access that has two counts in it. > > One of these is based upon a field that is unique within the data and > another that can have duplicates. > > What I need to show is, based upon the small example, this > > SAMPLE NUMBER PATIENT NUMBER > A.1 1 > A.2 2 > A.3 2 > A.4 2 > A.5 3 > A.6 4 > A.7 4 > A.8 5 > A.9 5 > A.10 6 > > 10 6 > > which would show that there were 10 visits made by 6 distinct patients. > > Could anyone point me in the right direction as to how to achieve this ? > > Many thanks in advance, > > Chris Swann > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From df.waters at comcast.net Tue Sep 20 14:19:29 2011 From: df.waters at comcast.net (Dan Waters) Date: Tue, 20 Sep 2011 14:19:29 -0500 Subject: [AccessD] Access "Bloat" - Basic Questions In-Reply-To: References: <4E591854.8090208@colbyconsulting.com><6BAD4B05F0474F8083137B9C25B1038C@HAL9007><4E597AE8.6269.28B4FE51@stuart.lexacorp.com.pg> Message-ID: <004001cc77ca$3872f9a0$a958ece0$@comcast.net> Hi Brad, What I do is this: 1) Set your BE file to Compact on Close. 2) Write a small Access file (named CompactBEXXX.mdb) which has a single purpose. When it is opened, an AutoExec macro runs code which opens and closes your CompactBEXXX.mdb file. When your BE closes it will compact. 3) Create a task in Task Manager to open your CompactBEXXX.mdb file at a time when no one will be using it. 4) You may need to use your username/password to get the task to work. If you do, and you have a periodic requirement to change your password, remember to go back into the task and reset the task with your new password. I've been using this at all my customers for a few years, and it works well. Here is the code. You'll need to write an AutoExec macro which will run the function CompactBE(). Good Luck! Dan '---------------------------------------- Public Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) Public Function CompactBE() On Error GoTo EH Dim stgPathBEFile As String Dim stgPathBELDB As String Dim appAccess As Access.Application Dim fso As FileSystemObject Dim stg As String Dim rst As DAO.Recordset ' Stop stg = "SELECT BEFullPath FROM tblBEFullPath" Set rst = DBEngine(0)(0).OpenRecordset(stg, dbOpenSnapshot) stgPathBEFile = rst("BEFullPath") rst.Close Set rst = Nothing Set fso = CreateObject("Scripting.FileSystemObject") '-- If the BE file is in use then the BE can't be compacted stgPathBELDB = Replace(stgPathBEFile, "mdb", "ldb") If fso.FileExists(stgPathBELDB) Then Access.Application.Quit acQuitSaveNone Exit Function End If Set appAccess = New Access.Application '-- Open the BE - wait for 5 seconds appAccess.OpenCurrentDatabase stgPathBEFile, False Sleep 5000 '-- When the BE closes it will auto-compact. appAccess.CloseCurrentDatabase Sleep 5000 '-- Close this db in 5 seconds appAccess.Quit acQuitSaveNone Set appAccess = Nothing DoEvents Access.Application.Quit acQuitSaveNone Exit Function EH: Access.Application.Quit acQuitSaveNone End Function '---------------------------------------- -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: Tuesday, September 20, 2011 12:58 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access "Bloat" - Basic Questions My background is in the mainframe world where we never had to be concerned about bloat. Now I work in the Microsoft Access world and it appears that I have had my first encounter with significant bloating. We have an Access 2007 application that obtains data from several SQL-Server tables (via ODBC) and from two Excel files. This application creates a number of reports. One of the reports needs data from 2 SQL-Server tables and 2 Excel files. Because of the complexity of the data, we cannot simply use queries to create the report, but we have had to resort to an intermediate Access table that is updated with VBA code via Record-Set processing. Once the data is processed and stored in this intermediate table, a query is used to pull this data from the table for use by the report. The report in question can be run for any desired date range. If the date range is small, we see little increase in the size of the accdb file. However, if the date range selected is large (like a full year's worth of data), the accdb file grows from 15 MB to 85MB. I believe that this large increase in size is primarily caused by the Access table that is used for the intermediate processing of the data. In the mainframe world, we used "temporary work files" for such intermediate processing. Is there something similar available in Access 2007? One idea that I have considered is to use a delete query to clear out all of the records in the intermediate table after the report is generated and then add a "Compact on close" option to the application. Again, I am new to the world of Access bloat and would like to better understand how others handle this issue. Thanks, Brad -- 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 Sep 20 14:26:39 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Tue, 20 Sep 2011 12:26:39 -0700 Subject: [AccessD] Access "Bloat" - Basic Questions In-Reply-To: References: <4E591854.8090208@colbyconsulting.com> <6BAD4B05F0474F8083137B9C25B1038C@HAL9007> <4E597AE8.6269.28B4FE51@stuart.lexacorp.com.pg> Message-ID: How about writing the data to xml files and deleting the files after the query has run? Any version of Access from 2002 up will handle that cleanly Charlotte Foust On Tue, Sep 20, 2011 at 10:57 AM, Brad Marks wrote: > My background is in the mainframe world where we never had to be > concerned about bloat. > > Now I work in the Microsoft Access world and it appears that I have had > my first encounter with significant bloating. > > We have an Access 2007 application that obtains data from several > SQL-Server tables (via ODBC) and from two Excel files. > > This application creates a number of reports. One of the reports needs > data from 2 SQL-Server tables and 2 Excel files. Because of the > complexity of the data, we cannot simply use queries to create the > report, but we have had to resort to an intermediate Access table that > is updated with VBA code via Record-Set processing. Once the data is > processed and stored in this intermediate table, a query is used to pull > this data from the table for use by the report. > > The report in question can be run for any desired date range. If the > date range is small, we see little increase in the size of the accdb > file. However, if the date range selected is large (like a full year's > worth of data), the accdb file grows from 15 MB to 85MB. I believe that > this large increase in size is primarily caused by the Access table that > is used for the intermediate processing of the data. > > In the mainframe world, we used "temporary work files" for such > intermediate processing. Is there something similar available in Access > 2007? > > One idea that I have considered is to use a delete query to clear out > all of the records in the intermediate table after the report is > generated and then add a "Compact on close" option to the application. > > Again, I am new to the world of Access bloat and would like to better > understand how others handle this issue. > > Thanks, > Brad > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From jwcolby at colbyconsulting.com Tue Sep 20 14:54:29 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Sep 2011 15:54:29 -0400 Subject: [AccessD] SSDs and BE storage In-Reply-To: References: Message-ID: <4E78EF75.9040204@colbyconsulting.com> LOL, everyone has an angle. One of the SSD myths is that your SSD will die in a month. It actually is not a myth, it will die in a month (or a few months) if all you do is run random write disk tests for that entire month. > Don't expect consumer-level SSDs to last very long in a server environment. What exactly is a "server environment"? I have a server with 400 gigs of (consumer level) SSDs with SQL Server data files on them. I read from them all day every day. I write to each file once a month for a monthly update. That is a server environment. You should see my server chug. I do millions of dollars a month business for my client. Not my share unfortunately. The specific client I have been discussing that is building the server is a small company with about 5 gigs of data (currently). It took them 8 years to get to 5 gigs of data. If they add another 5 gigs every year for the next 10 years... (and they won't) They are a call center so they have 25 people in the database all day every day. They ask the caller for enough info to search for a claim. They open a tabbed form and can see every part of the claim. They discuss the claim with the caller. They write a couple of paragraphs about the call into a memo field which gets written to disk. They change a phone number here, an address there. That is a server environment. 25 users in the database all day! You should see the reports they generate at the end of every month for their clients!!! All read-only btw. My point Ken is that there is no such thing as "a server environment". Like anything else "it all depends" is pretty much the answer. There are as many "server environments" as there are servers. Some would kill an SSD in a month, most will never kill an SSD in the 5-10 years the server will exist. I work for small companies exclusively. All of my posts have discussed these details in excruciating detail so this is not new to anyone here. And yet what you are discussing is some "theoretical server environment" where the server is writing every block 100 times a day. I am sure that environment does exist, but it is way less common than environments like mine. And then there is this. One of the largest internet companies on the planet is buying SSD literally by the ton. http://www.datacenterknowledge.com/archives/2011/03/10/facebooks-appetite-for-ssd-boosts-fusion-io/ I'm guessing they have the expertise to analyze the cost / benefit / probability of failure. > If you do spring for them, get the (much more expensive) server-rated SSDs using SLC memory I am absolutely comfortable with the consumer grade SSDs in my server here at my office. I doubt seriously it will *ever* wear out. Likewise for the server being built at my client. In fact in these situations the life expectancy of the SSD is probably realistically 100 times longer than an equivalent rotating drive. No moving parts, very little heat, never turned on / off, a few hundred megs of writes a day. What's to wear out? > Don't expect consumer-level SSDs to last very long in a server environment. Why in the world would I pay 5X the dollars for 10 times the life span when I expect to be dead (and I'm not *that* old) long before my drives wear out? Engineering is all about *requirements* analysis. John W. Colby www.ColbyConsulting.com On 9/20/2011 2:45 PM, Kenneth Ismert wrote: > All, > > SSDs sound ideal for server applications, except for one nagging question: > when will it wear out? > > SSD endurance summary > http://www.storagesearch.com/ssdmyths-endurance.html > > > But, there are circumstances where SSDs make a compelling argument for > adoption: > > SSDs replacing HDDs? that's not exactly the way it happened > http://www.storagesearch.com/bitmicro-art3.html > > > If you do spring for them, get the (much more expensive) server-rated SSDs > using SLC memory -- see response to Micker in comments: > > Debunking SSD lifespan and random write performance concerns > http://maxschireson.com/2011/04/21/debunking-ssd-lifespan-and-random-write-performance-concerns/ > > Don't expect consumer-level SSDs to last very long in a server environment. > > -Ken From ab-mi at post3.tele.dk Tue Sep 20 14:58:38 2011 From: ab-mi at post3.tele.dk (Asger Blond) Date: Tue, 20 Sep 2011 21:58:38 +0200 Subject: [AccessD] Two counts, one unique in pivot table In-Reply-To: References: <4E7168E7.2000502@colbyconsulting.com><4E7882B2.7040407@colbyconsulting.com>, <001701cc7793$a75c8ca0$f615a5e0$@comcast.net>, <4E78B526.6070908@btinternet.com> Message-ID: Or: SELECT Count(*) AS Count_Visits, (SELECT COUNT(*) FROM (SELECT DISTINCT Patient_Number FROM tblTest)) AS Count_Distinct_Patients FROM tblTest Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Mark A Matte Sendt: 20. september 2011 21:17 Til: accessd at databaseadvisors.com Emne: Re: [AccessD] Two counts, one unique in pivot table Don't know about about a pivot...but: select count(patient) as count_patient,sum(CountOfnumber) as visits from (SELECT tbl_test.patient, Count(tbl_test.number) AS CountOfnumber FROM tbl_test GROUP BY tbl_test.patient) Hope it helps... Mark A. Matte > Date: Tue, 20 Sep 2011 16:45:42 +0100 > From: dc8 at btinternet.com > To: accessd at databaseadvisors.com > Subject: [AccessD] Two counts, one unique in pivot table > > Hi all, > > I'm trying to produce a pivot table in Access that has two counts in it. > > One of these is based upon a field that is unique within the data and > another that can have duplicates. > > What I need to show is, based upon the small example, this > > SAMPLE NUMBER PATIENT NUMBER > A.1 1 > A.2 2 > A.3 2 > A.4 2 > A.5 3 > A.6 4 > A.7 4 > A.8 5 > A.9 5 > A.10 6 > > 10 6 > > which would show that there were 10 visits made by 6 distinct patients. > > Could anyone point me in the right direction as to how to achieve this ? > > Many thanks in advance, > > Chris Swann > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Tue Sep 20 15:54:34 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Tue, 20 Sep 2011 15:54:34 -0500 Subject: [AccessD] Ambiguous Name Message-ID: Steve, Jim, Gustav: In VBA, standard modules are a kind of static class. Modules can have Properties, and employ data hiding through private member variables, just like a class. Modules can't be instantiated, and have no initialization method, similar to other static class implementations. So, Steve is right in a way: Jim's CurDb function can be viewed as a global method of a static class. In response to Gustav's argument that discipline is all that is needed to use global variables properly, I say that works well for single programmers, but it is begging for trouble with multiple programmers. A construction like Jim's makes the intent of the global much more apparent. But, in defense of Gustav, Jim's construction only works for 'set once' globals. What about globals that need to change over time? How does one implement a changeable global in a 'safe' way in VBA? Put another way, once you allow a global property to be changed, you are in the same boat as a plain global variable: anyone can change it anywhere at any time. Any 'enforcement' scheme you put in place can easily be copied by a fellow programmer with access to the code to do the wrong thing at the wrong time. The question remains: is there any way to enforce safe global value modification in VBA, except by employing Gustav's discipline? -Ken Steve Goodhall: > I missed where you said standard module. So long as it's private I can > live with it, public would be anathema. > > Jim Dettman: > Well except for the fact that it's not in a class module. It doesn't > represent a property. > > Steve Goodhall: > By definition, that's a class variable not a global. > > Jim Dettman: > There is nothing wrong with using a global variable like this: > > Private objcurDB As DAO.Database > > Public Function CurDb(Optional bolRefresh As Boolean = False) As > DAO.Database > > If objcurDB Is Nothing Or bolRefresh = True Then > Set objcurDB = CurrentDb() > End If > > Set CurDb = objcurDB > > End Function > From stuart at lexacorp.com.pg Tue Sep 20 16:31:05 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 21 Sep 2011 07:31:05 +1000 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <002401cc77ac$6df7fa30$49e7ee90$@net> References: , <002401cc77ac$6df7fa30$49e7ee90$@net> Message-ID: <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> Horsepucky. That's just a confirmation of Gustav's statement that the problem is the programmer, not the global. As a general rule, Global's should be set in only one place, but can read/used anywhere. They should not be used to carry values which can be modified indiscriminately. (unless you are using them in a mulit-threaded application where they are also useful for passing values between threads) -- Stuart On 20 Sep 2011 at 11:46, Mark Simms wrote: > Au Contraire....use sparingly at best: > www.vb123.com/smart/fp/1998-05.pdf > "they dramatically increase the costs of > maintaining an application. After all, when you find a bad value in a > global variable, that value could have been placed in the variable > from any routine in the application. Thats a lot of code to debug" > > > > > Nothing wrong with global variables. > > Trouble is always located at those handling these (the programmer!). > > > > > -- > 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 Sep 20 16:37:17 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 21 Sep 2011 07:37:17 +1000 Subject: [AccessD] Ambiguous Name In-Reply-To: <5B015C9C2D79479F90807E92714D112E@XPS> References: , , <5B015C9C2D79479F90807E92714D112E@XPS> Message-ID: <4E79078D.18538.23430621@stuart.lexacorp.com.pg> In that case, it's NOT Global. It's Local to the module. -- Stuart On 20 Sep 2011 at 12:41, Jim Dettman wrote: > Steve, > > I should have said that this code exists in a standard module. > objcurDB > has been declared private to limit the scope to the module, but it's > still a global variable, which could be accessed by any procedure in > that module. > > Jim. > From stuart at lexacorp.com.pg Tue Sep 20 16:37:16 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 21 Sep 2011 07:37:16 +1000 Subject: [AccessD] Ambiguous Name In-Reply-To: <4E78C613.4060707@colbyconsulting.com> References: , <5B015C9C2D79479F90807E92714D112E@XPS>, <4E78C613.4060707@colbyconsulting.com> Message-ID: <4E79078C.31199.234305A4@stuart.lexacorp.com.pg> WTF? Global is the top level scope. That's like being "a little bit pregnant". -- Stuart On 20 Sep 2011 at 12:57, jwcolby wrote: > True, scope includes different levels of global. > > John W. Colby > www.ColbyConsulting.com > > On 9/20/2011 12:41 PM, Jim Dettman wrote: > > Steve, > > > > I should have said that this code exists in a standard module. > > objcurDB > > has been declared private to limit the scope to the module, but it's > > still a global variable, which could be accessed by any procedure in > > that module. > > > > Jim. > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve > > Goodhall Sent: Tuesday, September 20, 2011 12:30 PM To: Access > > Developers discussion and problem solving Subject: Re: [AccessD] > > Ambiguous Name > > > > I don't see global in this example. > > > > Sent from my Verizon Wireless Phone > > > > -----Original message----- > > From: Jim Dettman > > To: 'Access Developers discussion and problem solving' > > > > Sent: Tue, Sep 20, 2011 16:25:09 GMT+00:00 > > Subject: Re: [AccessD] Ambiguous Name > > > > There is nothing wrong with using a global variable like this: > > > > Private objcurDB As DAO.Database > > > > Public Function CurDb(Optional bolRefresh As Boolean = False) As > > DAO.Database > > > > If objcurDB Is Nothing Or bolRefresh = True Then > > Set objcurDB = CurrentDb() > > End If > > > > Set CurDb = objcurDB > > > > End Function > > > > > > And even if you did define it public, so what? It's not like it > > would be > > hard to spot where it's used. > > > > Jim. > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve > > Goodhall Sent: Tuesday, September 20, 2011 12:17 PM To: Access > > Developers discussion and problem solving Subject: Re: [AccessD] > > Ambiguous Name > > > > I can't agree. Global variables break the whole model of structured > > programming. In many ways they are worse than goto statements. > > > > Sent from my Verizon Wireless Phone > > > > -----Original message----- > > From: Gustav Brock > > To: accessd at databaseadvisors.com > > Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 > > Subject: Re: [AccessD] Ambiguous Name > > > > Hi Steve > > > > Nothing wrong with global variables. > > Trouble is always located at those handling these (the programmer!). > > > > /gustav > > > > > >>>> steve at goodhall.info 20-09-2011 01:33:24>>> > > Yet another reason to never use global variables. > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf > > Lister Sent: Monday, September 19, 2011 5:19 PM To: > > accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name > > > > Hello all, > > > > I work with Access 2007. > > > > Lately I ran into a problem I don't know how to solve: By running > > the code I got an error message "Ambiguous Name was detected: > > gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). > > I searched the whole code looking for gsngAportes defined by two > > different data types (e.g. Public gsngAportesSR As Single, and then > > also Public gsngAportesSR As Integer), but without success. > > > > Does anyone of you know how to fix this problem? > > > > I should say that gsngAportesSR is a global variable with data type > > Single. > > > > Thanks and Saludos > > Ralf Lister > > La Paz, Bolivia > > > > > -- > 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 Sep 20 16:40:23 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 21 Sep 2011 07:40:23 +1000 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <4E78CD58.9030604@colbyconsulting.com> References: , <002801cc77b8$693dfe20$3bb9fa60$@net>, <4E78CD58.9030604@colbyconsulting.com> Message-ID: <4E790847.27609.2345DC63@stuart.lexacorp.com.pg> It's simple to do than. Just avoid putting "myGlobal = ..." in any code outside of module as a matter of policy. -- Stuart On 20 Sep 2011 at 13:28, jwcolby wrote: > The nice thing about properties is that they can be set (modified) in > the module but read-only from outside of the module. It is impossible > to do that with globals. > > John W. Colby > www.ColbyConsulting.com > > On 9/20/2011 1:12 PM, Mark Simms wrote: > > I'm not totally against them, but lately I've been tending towards > > the Public Property, the value of which can be easily > > traced/debugged. Interestingly, MZTOOLZ has a function to do just > > that: convert globals to properties. > > > > > >> -----Original Message----- > >> From: accessd-bounces at databaseadvisors.com [mailto:accessd- > >> bounces at databaseadvisors.com] On Behalf Of Jim Dettman > >> Sent: Tuesday, September 20, 2011 12:27 PM > >> To: 'Access Developers discussion and problem solving' > >> Subject: Re: [AccessD] Global Vars (was Ambiguous Name) > >> > >> Mark, > >> > >> You should have quoted the second paragraph as well: > >> > >> "This narrow-minded attitude of mine can create difficulties when > >> trying to share data between forms in a single application." > >> > >> He goes on to say there are lot's of solutions to that problem > >> (which > >> is > >> true), but that doesn't apply that global's should not be used or > >> do not have a place in Access development. > >> > >> Jim. > >> > >> -----Original Message----- > >> From: accessd-bounces at databaseadvisors.com > >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark > >> Simms Sent: Tuesday, September 20, 2011 11:46 AM To: 'Access > >> Developers discussion and problem solving' Subject: Re: [AccessD] > >> Global Vars (was Ambiguous Name) > >> > >> Au Contraire....use sparingly at best: > >> www.vb123.com/smart/fp/1998-05.pdf > >> "they dramatically increase the costs of > >> maintaining an application. After all, when you find a bad value in > >> a global variable, that value could have been placed in the > >> variable from any routine in the application. Thats a lot of code > >> to debug" > >> > >>> > >>> Nothing wrong with global variables. > >>> Trouble is always located at those handling these (the > >>> programmer!). > >>> > >> > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/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 Tue Sep 20 17:00:22 2011 From: df.waters at comcast.net (Dan Waters) Date: Tue, 20 Sep 2011 17:00:22 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> References: , <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> Message-ID: <004f01cc77e0$b1db7130$15925390$@comcast.net> I have one module titled Global Variables. That's the only place a global variable gets set. And I don't use them as often as I used to. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, September 20, 2011 4:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Global Vars (was Ambiguous Name) Horsepucky. That's just a confirmation of Gustav's statement that the problem is the programmer, not the global. As a general rule, Global's should be set in only one place, but can read/used anywhere. They should not be used to carry values which can be modified indiscriminately. (unless you are using them in a mulit-threaded application where they are also useful for passing values between threads) -- Stuart On 20 Sep 2011 at 11:46, Mark Simms wrote: > Au Contraire....use sparingly at best: > www.vb123.com/smart/fp/1998-05.pdf > "they dramatically increase the costs of maintaining an application. > After all, when you find a bad value in a global variable, that value > could have been placed in the variable from any routine in the > application. Thats a lot of code to debug" > > > > > Nothing wrong with global variables. > > Trouble is always located at those handling these (the programmer!). > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 20 17:03:42 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Sep 2011 18:03:42 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <4E790847.27609.2345DC63@stuart.lexacorp.com.pg> References: , <002801cc77b8$693dfe20$3bb9fa60$@net>, <4E78CD58.9030604@colbyconsulting.com> <4E790847.27609.2345DC63@stuart.lexacorp.com.pg> Message-ID: <4E790DBE.9050406@colbyconsulting.com> > It's simple to do than. Just avoid putting "myGlobal = ..." in any code outside of module as a matter of policy. Rotfl. As a matter of policy, policemen never beat innocent (or even guilty) people, right? Yea... right. As a matter of policy, politicians never allow contributions to influence their vote, right. Yea... right. If you have ever studied the law, policy is where something goes wrong and there is no specific law to cover it so a policy is written. And policy is just about worth the paper it is written on. John W. Colby www.ColbyConsulting.com On 9/20/2011 5:40 PM, Stuart McLachlan wrote: > It's simple to do than. Just avoid putting "myGlobal = ..." in any code outside of module as a > matter of policy. > From drcaa at click21.com.br Tue Sep 20 17:15:58 2011 From: drcaa at click21.com.br (drcaa at click21.com.br) Date: Tue, 20 Sep 2011 19:15:58 -0300 Subject: [AccessD] A2007 - importing objects from A2000 Message-ID: <1316556958.4e79109e461d8@webmail7.click21.com.br> On 09/18/2011 09:46 AM, William Benson (VBACreations.Com) wrote: > Are you able to create new objects at all in this database? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > drcaa at click21.com.br > Sent: Sunday, September 18, 2011 7:44 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] A2007 - importing objects from A2000 > > Hi people! > I have had a situation tryiong to use a A2000 database in A2007. Some forms > (including a switchboard created by myself) and all reports are not shown in > navigation pane. I tried to convert the database, tried to use in A2000 > format > and no success. Also tried to import all objects from A2000 database, but > those > objects I mentioned are not shown either. > Any hints??? > TIA, > Carl?os Alberto Alves > > Yes, I can. -- ********************************* * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst * * Rio de Janeiro, Brazil * * Skype: carlos-aa * * mailto:drcaa at click21.com.br * * mailto:drcaa at predialnet.com.br* ********************************* ___________________________________________________________________________________ Para fazer uma liga??o DDD pra perto ou pra longe, faz um 21. A Embratel tem tarifas muito baratas esperando por voc?. Aproveite! From john at winhaven.net Tue Sep 20 18:38:15 2011 From: john at winhaven.net (John Bartow) Date: Tue, 20 Sep 2011 18:38:15 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <004f01cc77e0$b1db7130$15925390$@comcast.net> References: , <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> Message-ID: <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> This is the approach I have taken over the years also. Global variables are set at startup/login. Since I'm the only VBA coder it has worked wonderfully :o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, September 20, 2011 5:00 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Global Vars (was Ambiguous Name) I have one module titled Global Variables. That's the only place a global variable gets set. And I don't use them as often as I used to. From fuller.artful at gmail.com Tue Sep 20 19:06:55 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 20 Sep 2011 20:06:55 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> Message-ID: I think that I am going to go with JWC's concept of this. Assuming of course that I have it right, you create a class that houses all the otherwise global variable, and they are protected by Get/Set methods. This appears to me the superior way to go. No way you can touch them. fork with them, without a specific call. No accidents, no side effects. Good for you, JWC. I think you are right on the money here. Arthur From marksimms at verizon.net Tue Sep 20 20:16:03 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 20 Sep 2011 21:16:03 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> Message-ID: <00a901cc77fc$086c9720$1945c560$@net> The only problem then is enforcing a SINGLE INSTANCE of that class. Somehow, the Initialize method must trap the second instance.....perhaps a STATIC variable set to true ? This would effectively provide you with a static class which is what you want here. > I think that I am going to go with JWC's concept of this. Assuming of > course > that I have it right, you create a class that houses all the otherwise > global variable, and they are protected by Get/Set methods. This > appears to > me the superior way to go. No way you can touch them. fork with them, > without a specific call. No accidents, no side effects. Good for you, From jwcolby at colbyconsulting.com Tue Sep 20 21:20:43 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Sep 2011 22:20:43 -0400 Subject: [AccessD] Is hadoop for you? Or me? Fascinating but do I need to spend any more time on this? Message-ID: <4E7949FB.7060607@colbyconsulting.com> http://radar.oreilly.com/2011/01/what-is-hadoop.html Mike Olson: The Hadoop platform was designed to solve problems where you have a lot of data ? perhaps a mixture of complex and structured data ? *and it doesn't fit nicely into tables.* Mike Olson: Hadoop is designed to run on a large number of machines that don't share any memory or disks. Architecturally, the reason you're able to deal with lots of data is because Hadoop spreads it out. And the reason you're able to ask complicated computational questions is because you've got all of these processors, working in parallel, harnessed together. Mike Olson: It's fair to say that a current Hadoop adopter must be more sophisticated than a relational database adopter. Mike Olson: I'm a deep believer in relational databases and in SQL. I think the language is awesome and the products are incredible. I hate the term "NoSQL." It was invented to create cachet around a bunch of different projects, each of which has different properties and behaves in different ways. *The real question is, what problems are you solving? That's what matters to users.* http://freedb2.com/2010/02/04/is-hadoop-cloud-computing/ If you are not familiar with Hadoop, the best way to understand what it does is to think of it as a method or *a programming model for executing complex compute jobs on very large clusters of computers*. These clusters can comprise hundreds and, sometimes, thousands of machines. What Hadoop does is break, or Map, these complex jobs in to much more manageable tasks that are distributed to run on the machines in the cluster. It then assembles the results of the execution of these much smaller parts of the overall job in to one coherent answer. This process of collecting and consolidating the results of the execution is called ?Reduce?. http://en.wikipedia.org/wiki/Apache_Hadoop Apache Hadoop is a software framework that supports data-intensive distributed applications under a free license.[1] *It enables applications to work with thousands of nodes and petabytes of data*. Hadoop was inspired by Google's MapReduce and Google File System (GFS) papers. -- John W. Colby www.ColbyConsulting.com From Gustav at cactus.dk Wed Sep 21 03:12:55 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 21 Sep 2011 10:12:55 +0200 Subject: [AccessD] [dba-SQLServer] Oracle 11g EX (was: MySQL) Message-ID: Hi Jim Yes, as I remember OTN (haven't checked recently) - and contrary to MS, you can download _everything_ to test with no limits and use in development. However, as soon you use the software for whatever other purpose, you have to pay the big money including the fee for your lawyer to check the book-sized license agreement. The XE, however, is free to use in production. /gustav >>> accessd at shaw.ca 20-09-2011 20:01 >>> Gustav: Actually, you can down load Oracles full enterprise version (at least the last time I looked...Oracle version 11i) but it is limited in how many connection and users can have access to it. In addition, if you do call for support you will be directed to a local resource person(s). This system was created so computer science students and small consultant firms could get up to speed in the product. The major difference between Oracle and MS SQL is that in Oracle you can modify and optimize everything. Managing queues, temp tables, transactions, sizes and recovery points. Microsoft has chosen to eliminate or automate most of the fine-tuning part of data management. This is good and it is bad. OOH, a tech can spend years learning the black-art of database control, tuning everything to the nth degree as well as building a very precise set of reports and intergrating various Oracle servers. Rest assured, if a company has a medium and larger site there must be a full-time tech there. Oracle is also very careful on just how many techs are allowed to pass their exams so the rate at which a fully qualified Oracle tech is paid very well. OTOH, a MS SQL site is far more easily setup. A person with a bit of database knowledge can put together a stable SQL site in less than a day. It may not be a fully optimized site but it will work and render the expected results. Some tech can learn as they go and MS is not concerned about whether the person asking for database support is a person that owns a plumbing company or a fully certified tech. Microsoft's exams, though thorough, do not restrict the number of qualified graduates...the more the merrier. The rate a small company will pay a MS SQL qualified person is usually much lower than an Oracle tech with similar qualifications. Much like Microsoft has entrenched itself in new desktop computers and the office application markets, Oracle has tied up most of the high end database market. The other major difference is cost; MS SQL is about a third of the cost of an Oracle suite. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, September 20, 2011 12:25 AM To: accessd at databaseadvisors.com; dba-sqlserver at databaseadvisors.com Subject: Re: [AccessD] [dba-SQLServer] Oracle 11g EX (was: MySQL) Hi Arthur et al Also Oracle sports a free Express version, Oracle 11g XE with these limitations: * Maximum database size is 11 GB * Maximum RAM it will use is 1 GB * Only one instance can be installed on a single computer * Uses only a single CPU Here is a guide for the Windows installation (for people like JC encountering the unknown!): http://www.codeproject.com/KB/database/InstallOracle11gXE.aspx Not that I have used it or intend to do so. The last time I tried (Oracle 8i?) it installed a monster suite of tools and yet you had to deal with manual editing of ora files etc. ... I felt much like JC does now facing the WAMP package. Things may have changed, I know, I'm just not ready to meet the challenge (= have no purpose for it). /gustav -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, September 17, 2011 6:53 PM To: Discussion concerning MS SQL Server Subject: Re: [dba-SQLServer] [AccessD] MySQL There are some nice things about MySQL but on the other hand I definitely do not like where Oracle is going with this puppy since its acquisition of Sun and by inheritance MySQL. I'm still on the fence about these developments, but quite frankly I am leaning against Oracle on all these transmutations of what was originally a simple, straightforward approach. At last recollection, Monty has departed, and with him, I fear, has the guiding vision of this product. Frankly, I am all over the place on where next to go: I look at Mongo and see it exquisite for web-apps but not for OLTP situations. I look at PostGreSQL and think it's got a bunch of things right. I look at Oracle and MS-SQL and think they have some things right as well. I frankly do not have any clue into which basket to toss my next eggs. Arthur From jimdettman at verizon.net Wed Sep 21 08:06:41 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 21 Sep 2011 09:06:41 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: <4E79078D.18538.23430621@stuart.lexacorp.com.pg> References: , , <5B015C9C2D79479F90807E92714D112E@XPS> <4E79078D.18538.23430621@stuart.lexacorp.com.pg> Message-ID: <970A63995E4748EEB471C3B1ADE833BE@XPS> Stuart, I don't agree. It's a global variable. It's scope has been limited to module level yes, but it's still global because more then one procedure can access it. More importantly is the fact that once the module is loaded, the variable exists until the app terminates. That is quit different from a local variable which is created/destroyed when a procedure executes and then terminates. But if it floats your boat, make "private" "public" and nothing has really changed in terms of the discussion. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, September 20, 2011 05:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name In that case, it's NOT Global. It's Local to the module. -- Stuart On 20 Sep 2011 at 12:41, Jim Dettman wrote: > Steve, > > I should have said that this code exists in a standard module. > objcurDB > has been declared private to limit the scope to the module, but it's > still a global variable, which could be accessed by any procedure in > that module. > > Jim. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BradM at blackforestltd.com Wed Sep 21 08:27:42 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Wed, 21 Sep 2011 08:27:42 -0500 Subject: [AccessD] Access "Bloat" - Basic Questions References: <4E591854.8090208@colbyconsulting.com><6BAD4B05F0474F8083137B9C25B1038C@HAL9007><4E597AE8.6269.28B4FE51@stuart.lexacorp.com.pg> Message-ID: A big "Thank You" to everyone who shared their ideas on this issue. I appreciate the assistance. I do "sort of" miss the good-old-days when I worked in the mainframe realm. The only bloat we ever saw was in the invoices from IBM ... and it was huge :-) Thanks again, Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, September 20, 2011 2:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access "Bloat" - Basic Questions How about writing the data to xml files and deleting the files after the query has run? Any version of Access from 2002 up will handle that cleanly Charlotte Foust On Tue, Sep 20, 2011 at 10:57 AM, Brad Marks wrote: > My background is in the mainframe world where we never had to be > concerned about bloat. > > Now I work in the Microsoft Access world and it appears that I have had > my first encounter with significant bloating. > > We have an Access 2007 application that obtains data from several > SQL-Server tables (via ODBC) and from two Excel files. > > This application creates a number of reports. One of the reports needs > data from 2 SQL-Server tables and 2 Excel files. Because of the > complexity of the data, we cannot simply use queries to create the > report, but we have had to resort to an intermediate Access table that > is updated with VBA code via Record-Set processing. Once the data is > processed and stored in this intermediate table, a query is used to pull > this data from the table for use by the report. > > The report in question can be run for any desired date range. If the > date range is small, we see little increase in the size of the accdb > file. However, if the date range selected is large (like a full year's > worth of data), the accdb file grows from 15 MB to 85MB. I believe that > this large increase in size is primarily caused by the Access table that > is used for the intermediate processing of the data. > > In the mainframe world, we used "temporary work files" for such > intermediate processing. Is there something similar available in Access > 2007? > > One idea that I have considered is to use a delete query to clear out > all of the records in the intermediate table after the report is > generated and then add a "Compact on close" option to the application. > > Again, I am new to the world of Access bloat and would like to better > understand how others handle this issue. > > 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 accessd at shaw.ca Wed Sep 21 08:38:25 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 21 Sep 2011 06:38:25 -0700 Subject: [AccessD] [dba-SQLServer] Oracle 11g EX (was: MySQL) In-Reply-To: References: Message-ID: <46EDBC03793C427B8C5462816B493936@creativesystemdesigns.com> Agreed. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 21, 2011 1:13 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] [dba-SQLServer] Oracle 11g EX (was: MySQL) Hi Jim Yes, as I remember OTN (haven't checked recently) - and contrary to MS, you can download _everything_ to test with no limits and use in development. However, as soon you use the software for whatever other purpose, you have to pay the big money including the fee for your lawyer to check the book-sized license agreement. The XE, however, is free to use in production. /gustav >>> accessd at shaw.ca 20-09-2011 20:01 >>> Gustav: Actually, you can down load Oracles full enterprise version (at least the last time I looked...Oracle version 11i) but it is limited in how many connection and users can have access to it. In addition, if you do call for support you will be directed to a local resource person(s). This system was created so computer science students and small consultant firms could get up to speed in the product. The major difference between Oracle and MS SQL is that in Oracle you can modify and optimize everything. Managing queues, temp tables, transactions, sizes and recovery points. Microsoft has chosen to eliminate or automate most of the fine-tuning part of data management. This is good and it is bad. OOH, a tech can spend years learning the black-art of database control, tuning everything to the nth degree as well as building a very precise set of reports and intergrating various Oracle servers. Rest assured, if a company has a medium and larger site there must be a full-time tech there. Oracle is also very careful on just how many techs are allowed to pass their exams so the rate at which a fully qualified Oracle tech is paid very well. OTOH, a MS SQL site is far more easily setup. A person with a bit of database knowledge can put together a stable SQL site in less than a day. It may not be a fully optimized site but it will work and render the expected results. Some tech can learn as they go and MS is not concerned about whether the person asking for database support is a person that owns a plumbing company or a fully certified tech. Microsoft's exams, though thorough, do not restrict the number of qualified graduates...the more the merrier. The rate a small company will pay a MS SQL qualified person is usually much lower than an Oracle tech with similar qualifications. Much like Microsoft has entrenched itself in new desktop computers and the office application markets, Oracle has tied up most of the high end database market. The other major difference is cost; MS SQL is about a third of the cost of an Oracle suite. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, September 20, 2011 12:25 AM To: accessd at databaseadvisors.com; dba-sqlserver at databaseadvisors.com Subject: Re: [AccessD] [dba-SQLServer] Oracle 11g EX (was: MySQL) Hi Arthur et al Also Oracle sports a free Express version, Oracle 11g XE with these limitations: * Maximum database size is 11 GB * Maximum RAM it will use is 1 GB * Only one instance can be installed on a single computer * Uses only a single CPU Here is a guide for the Windows installation (for people like JC encountering the unknown!): http://www.codeproject.com/KB/database/InstallOracle11gXE.aspx Not that I have used it or intend to do so. The last time I tried (Oracle 8i?) it installed a monster suite of tools and yet you had to deal with manual editing of ora files etc. ... I felt much like JC does now facing the WAMP package. Things may have changed, I know, I'm just not ready to meet the challenge (= have no purpose for it). /gustav -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, September 17, 2011 6:53 PM To: Discussion concerning MS SQL Server Subject: Re: [dba-SQLServer] [AccessD] MySQL There are some nice things about MySQL but on the other hand I definitely do not like where Oracle is going with this puppy since its acquisition of Sun and by inheritance MySQL. I'm still on the fence about these developments, but quite frankly I am leaning against Oracle on all these transmutations of what was originally a simple, straightforward approach. At last recollection, Monty has departed, and with him, I fear, has the guiding vision of this product. Frankly, I am all over the place on where next to go: I look at Mongo and see it exquisite for web-apps but not for OLTP situations. I look at PostGreSQL and think it's got a bunch of things right. I look at Oracle and MS-SQL and think they have some things right as well. I frankly do not have any clue into which basket to toss my next eggs. Arthur -- 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 Sep 21 12:29:21 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 21 Sep 2011 13:29:21 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <00a901cc77fc$086c9720$1945c560$@net> References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <00a901cc77fc$086c9720$1945c560$@net> Message-ID: That part is easy! The more difficult part is translating all my static functions to use the new paradigm, which I definitely recognize as superior. This will take some time and won't be backwards-compatible to A2K and A2K3 and A2K7 and so on, but I shall endeavour to figure this out. A. From fuller.artful at gmail.com Wed Sep 21 12:45:22 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 21 Sep 2011 13:45:22 -0400 Subject: [AccessD] Access "Bloat" - Basic Questions In-Reply-To: References: <4E591854.8090208@colbyconsulting.com> <6BAD4B05F0474F8083137B9C25B1038C@HAL9007> <4E597AE8.6269.28B4FE51@stuart.lexacorp.com.pg> Message-ID: Wow! You made my day, Brad! If not month, and maybe year! That was the funniest and most reminiscent email I've had in decades. Thank you for awaking ugly memories. On Wed, Sep 21, 2011 at 9:27 AM, Brad Marks wrote: > A big "Thank You" to everyone who shared their ideas on this issue. > > I appreciate the assistance. > > I do "sort of" miss the good-old-days when I worked in the mainframe > realm. The only bloat we ever saw was in the invoices from IBM ... and > it was huge :-) > > Thanks again, > Brad > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Tuesday, September 20, 2011 2:27 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access "Bloat" - Basic Questions > > How about writing the data to xml files and deleting the files after the > query has run? Any version of Access from 2002 up will handle that > cleanly > > Charlotte Foust > > On Tue, Sep 20, 2011 at 10:57 AM, Brad Marks > wrote: > > > My background is in the mainframe world where we never had to be > > concerned about bloat. > > > > Now I work in the Microsoft Access world and it appears that I have > had > > my first encounter with significant bloating. > > > > We have an Access 2007 application that obtains data from several > > SQL-Server tables (via ODBC) and from two Excel files. > > > > This application creates a number of reports. One of the reports > needs > > data from 2 SQL-Server tables and 2 Excel files. Because of the > > complexity of the data, we cannot simply use queries to create the > > report, but we have had to resort to an intermediate Access table that > > is updated with VBA code via Record-Set processing. Once the data is > > processed and stored in this intermediate table, a query is used to > pull > > this data from the table for use by the report. > > > > The report in question can be run for any desired date range. If the > > date range is small, we see little increase in the size of the accdb > > file. However, if the date range selected is large (like a full > year's > > worth of data), the accdb file grows from 15 MB to 85MB. I believe > that > > this large increase in size is primarily caused by the Access table > that > > is used for the intermediate processing of the data. > > > > In the mainframe world, we used "temporary work files" for such > > intermediate processing. Is there something similar available in > Access > > 2007? > > > > One idea that I have considered is to use a delete query to clear out > > all of the records in the intermediate table after the report is > > generated and then add a "Compact on close" option to the application. > > > > Again, I am new to the world of Access bloat and would like to better > > understand how others handle this issue. > > > > 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 kismert at gmail.com Wed Sep 21 13:25:07 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Wed, 21 Sep 2011 13:25:07 -0500 Subject: [AccessD] Ambiguous Name In-Reply-To: References: Message-ID: All, Ken Ismert: > ... > The question remains: is there any way to enforce safe global value > modification in VBA, except by employing Gustav's discipline? > Thinking about this further, I have come up with two approaches that could work: 1. Use messaging. In this scenario, no global parameters are kept at all. All objects communicate by sending messages to one another in a standardized way. The sender is always identified. Receivers can then decide who to ignore, and who to listen to. 2. Use a listener 'static class'. Some object requests to be the 'speaker', first-come, first-served. Once accepted, only the speaker can set parameters for the rest. Sample code: Option Explicit ' module MTestListener Private Const ML_ERR_SPEAKER As Long = -2147213504 ' 8000 + vbObjectError Private mlPtr As Long ' ObjPtr(Nothing) = 0 Public Sub ListenToMe(ByVal rSpeaker As Object) If mlPtr = 0 Then ' setting mlPtr does not increment the object's ' reference count, so the object can close normally mlPtr = ObjPtr(rSpeaker) Else Err.Raise ML_ERR_SPEAKER, "MTestListener.ListenToMe", _ "Sorry, listening to Object at " & mlPtr End If End Sub Public Sub IgnoreMe(ByVal rSpeaker As Object) If ObjPtr(rSpeaker) = mlPtr Then mlPtr = 0 End If End Sub Public Sub SetParameter(ByVal rSpeaker As Object, sName As String, vValue As Variant) ' must match speaker, and not be nothing If (ObjPtr(rSpeaker) = mlPtr) And (mlPtr <> 0) Then ' set global parameter sName = vValue Else Err.Raise ML_ERR_SPEAKER, "MTestListener.SetParameter", _ "Sorry, listening to Object at " & mlPtr End If End Sub Public Function GetParameter(sName As String) As Variant ' anybody can get a parameter End Function From kismert at gmail.com Wed Sep 21 13:52:07 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Wed, 21 Sep 2011 13:52:07 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) Message-ID: Mark, Just use a standard module, with private member variables, or functions with static variables. As I explained in an earlier post, you can treat a standard module as a static class in VBA (modules even support properties). If you need initialization, call a private Init function that holds a static, like you suggested. -Ken Mark Simms: > The only problem then is enforcing a SINGLE INSTANCE of that class. > Somehow, the Initialize method must trap the second instance.....perhaps a > STATIC variable set to true ? .... > From kismert at gmail.com Wed Sep 21 14:16:21 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Wed, 21 Sep 2011 14:16:21 -0500 Subject: [AccessD] AccessD Digest, Vol 103, Issue 17 In-Reply-To: References: Message-ID: > > Stuart McLachlan: > > As a general rule, Global's should be set in only one place, but can > read/used anywhere. > I think the interesting question is not where a global is set, but by whom. If it is not simply read-once, how do you ensure the right party gets to set the globals? They should not be used to carry values which can be modified > indiscriminately... > But what if you need to modify globals? What do you do then? It is hard to write a real Access app that doesn't require global parameter passing, which requires changing globals. -Ken From kismert at gmail.com Wed Sep 21 14:26:37 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Wed, 21 Sep 2011 14:26:37 -0500 Subject: [AccessD] SSDs and BE storage Message-ID: > jwcolby: > ... > That is a server environment. You should see my server chug. I do > millions of dollars a month business for my client. Not my share > unfortunately. > ... > That seems to be a fairly cavalier attitude given the value of the data you are handling... I think the only rational approach is expressed by 'M' at the bottom of the 'Debunking SSD lifespan and random write performance concerns' post: 'We plan for the failure' -Ken From fuller.artful at gmail.com Wed Sep 21 14:52:45 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 21 Sep 2011 15:52:45 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: References: Message-ID: I like this! Way cool and way slick. Arthur From jwcolby at colbyconsulting.com Wed Sep 21 15:55:21 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 21 Sep 2011 16:55:21 -0400 Subject: [AccessD] SSDs and BE storage In-Reply-To: References: Message-ID: <4E7A4F39.2060400@colbyconsulting.com> > 'We plan for the failure' LOL, and who says I am not? All I said is that there is no "server environment" but rather around a billion "server environments" all different. Do you buy an 18 wheeler because you might need to move once every 20 years? Could you afford an 18 wheeler even if you wanted to do that? Personally I rent one as necessary. For my server, I have a system with a 16 port Areca raid controller, holding 6 tb of raid 6 volumes with hot spare. These hold most of my data. My SSDs are updated once a month. They are backed up to that raid 6 array immediately after the update. If the SSD does fails I haven't lost anything. But it isn't going to fail. *EVER*, at least not from write wear. "We plan for failure" doesn't mean I have to spend money I don't have for tools I don't need. Read carefully and you will find that this specific author's opinions are not widely held, in fact I would call him borderline nutcase. Not to mention the fact that most of what he wrote was written centuries ago (in the SSD world) and just about do not apply today. I can tell he believes that stuff but I did extensive reading of white papers analyzing the problem and the consensus is that unless you are constantly streaming data to the drive as fast as the SATA port will bear, you are never going to wear out even the consumer grade drives. Instead of reading one ... person's opinion I do my own analysis. Did you know that as sectors start to have read errors the controllers move the sectors and mark them bad? This is true in rotating and SS media. So let's do an analysis (for my client building the new system). 1) With a real data set of perhaps 5 gigs 2) And a 100gb (formatted, available) ssd, if you get 5K writes for any block before you get errors This means you can move the entire 5 gigs 20 times before you can no longer write to the disk, which turns into 100 thousand writes of that entire 5 gigs of data. But if the customer is writing 5 gigs once and then updating perhaps 1 to 2 megs of data a day... This is essentially a write once database. Not quite but you get the picture Let's be brutally honest, this thing is going to last about a jillion years. Well, maybe only a million years. They are going Raid 1 with hot spare, and an intelligent controller that costs more than the SSDs. They are also buying a brand (which I recommended) which uses the 34 micron chips precisely because the new 28 micron chips are reporting all kinds of errors at this point in time. And they already (with their existing server) do a full nightly backup. So I need to tell them that the SSD has to be a thousand dollars a pop SLC drives because...???? > I think the only rational approach is expressed by 'M' at the bottom of the 'Debunking SSD lifespan and random write performance concerns' post: > > 'We plan for the failure' I think the only rational approach is 'Use my own brain'. ;) And to imply that I do not plan for failure is unkind at the very least. I have been doing business for the million a month client for 7 years and have never lost data. I have actually lost disks (two in that time period) but the hot spare dropped in and the controller rebuilt the array automatically. I have moved the array twice (to new servers) and never lost data. Raid 6 for main storage and backups has done me well. Believe me I do not have a cavalier attitude with my client's data. OTOH you seem to have a cavalier attitude about spending other people's money! ;) John W. Colby www.ColbyConsulting.com On 9/21/2011 3:26 PM, Kenneth Ismert wrote: >> jwcolby: >> ... >> That is a server environment. You should see my server chug. I do >> millions of dollars a month business for my client. Not my share >> unfortunately. >> ... >> > > That seems to be a fairly cavalier attitude given the value of the data you > are handling... > > I think the only rational approach is expressed by 'M' at the bottom of the > 'Debunking SSD lifespan and random write performance concerns' post: > > 'We plan for the failure' > > -Ken From jwcolby at colbyconsulting.com Wed Sep 21 15:55:57 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 21 Sep 2011 16:55:57 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: References: Message-ID: <4E7A4F5D.7030100@colbyconsulting.com> Ambiguous names are way cool and slick? John W. Colby www.ColbyConsulting.com On 9/21/2011 3:52 PM, Arthur Fuller wrote: > I like this! Way cool and way slick. > > Arthur From gustav at cactus.dk Wed Sep 21 16:13:02 2011 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 21 Sep 2011 23:13:02 +0200 Subject: [AccessD] Global Vars (was Ambiguous Name) Message-ID: Hi Ken You make it sound as if global variables happen to be changed by magic. They don't, because you - the programmer - decides what (and not who) can set the value and when. Since when have developers lost control of a well-designed application? If nothing can change a global variable (or a static or set a property or call a set method) what should its purpose be? Use a constant in that case. /gustav >>> kismert at gmail.com 21-09-2011 21:16 >>> > > Stuart McLachlan: > > As a general rule, Global's should be set in only one place, but can > read/used anywhere. > I think the interesting question is not where a global is set, but by whom. If it is not simply read-once, how do you ensure the right party gets to set the globals? They should not be used to carry values which can be modified > indiscriminately... > But what if you need to modify globals? What do you do then? It is hard to write a real Access app that doesn't require global parameter passing, which requires changing globals. -Ken From fuller.artful at gmail.com Wed Sep 21 16:31:25 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 21 Sep 2011 17:31:25 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: <4E7A4F5D.7030100@colbyconsulting.com> References: <4E7A4F5D.7030100@colbyconsulting.com> Message-ID: Perhaps I have been spending too much time watching The Wire, which in my opinion is the best series ever made for HBO (it's not TV, it's HBO), but all that said, there is no excuse for ambiguous names. On Wed, Sep 21, 2011 at 4:55 PM, jwcolby wrote: > Ambiguous names are way cool and slick? > > From stuart at lexacorp.com.pg Wed Sep 21 16:56:26 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 22 Sep 2011 07:56:26 +1000 Subject: [AccessD] Ambiguous Name In-Reply-To: <970A63995E4748EEB471C3B1ADE833BE@XPS> References: , <4E79078D.18538.23430621@stuart.lexacorp.com.pg>, <970A63995E4748EEB471C3B1ADE833BE@XPS> Message-ID: <4E7A5D8A.20430.3E1B954@stuart.lexacorp.com.pg> You and I obviously have a different definition of "Global". :-) Changing Private to Public changes everything. If the variable is Public, it has global scope i.e. it is a Global variable. If the variable is Private, it has local scope just the same way in instance variable does inside an object. All you are doing there is using a standard module to replicate part of the functionality of a class object Why not just create a Globals object instead and get full class functionality? -- Stuart On 21 Sep 2011 at 9:06, Jim Dettman wrote: > > Stuart, > > I don't agree. It's a global variable. It's scope has been > limited to > module level yes, but it's still global because more then one > procedure can access it. > > More importantly is the fact that once the module is loaded, the > variable > exists until the app terminates. That is quit different from a local > variable which is created/destroyed when a procedure executes and then > terminates. > > But if it floats your boat, make "private" "public" and nothing has > really > changed in terms of the discussion. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan Sent: Tuesday, September 20, 2011 05:37 PM To: Access > Developers discussion and problem solving Subject: Re: [AccessD] > Ambiguous Name > > In that case, it's NOT Global. It's Local to the module. > > -- > Stuart > On 20 Sep 2011 at 12:41, Jim Dettman wrote: > > > Steve, > > > > I should have said that this code exists in a standard module. > > objcurDB > > has been declared private to limit the scope to the module, but it's > > still a global variable, which could be accessed by any procedure in > > that module. > > > > 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 stuart at lexacorp.com.pg Wed Sep 21 17:18:24 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 22 Sep 2011 08:18:24 +1000 Subject: [AccessD] Ambiguous Name In-Reply-To: References: , Message-ID: <4E7A62B0.17426.3F5D646@stuart.lexacorp.com.pg> Read once, write many variable: Static Function mySafeGlobal(Optional invalue as Variant) as Variant Dim store as Variant If not isempty(store) then mySafeGlobal = store Exit Function End if If not ismissing(invalue) then store = invalue mySafeGlobal = store End if End Function -- Stuart On 21 Sep 2011 at 13:25, Kenneth Ismert wrote: > All, > > Ken Ismert: > > ... > > The question remains: is there any way to enforce safe global value > > modification in VBA, except by employing Gustav's discipline? > > > > Thinking about this further, I have come up with two approaches that > could work: > > 1. Use messaging. In this scenario, no global parameters are kept at > all. All objects communicate by sending messages to one another in a > standardized way. The sender is always identified. Receivers can then > decide who to ignore, and who to listen to. > > 2. Use a listener 'static class'. Some object requests to be the > 'speaker', first-come, first-served. Once accepted, only the speaker > can set parameters for the rest. Sample code: > > Option Explicit > > ' module MTestListener > Private Const ML_ERR_SPEAKER As Long = -2147213504 ' 8000 + > vbObjectError Private mlPtr As Long ' ObjPtr(Nothing) = 0 > > Public Sub ListenToMe(ByVal rSpeaker As Object) > If mlPtr = 0 Then > ' setting mlPtr does not increment the object's > ' reference count, so the object can close normally > mlPtr = ObjPtr(rSpeaker) > Else > Err.Raise ML_ERR_SPEAKER, "MTestListener.ListenToMe", _ > "Sorry, listening to Object at " & mlPtr > End If > End Sub > > Public Sub IgnoreMe(ByVal rSpeaker As Object) > If ObjPtr(rSpeaker) = mlPtr Then > mlPtr = 0 > End If > End Sub > > Public Sub SetParameter(ByVal rSpeaker As Object, sName As String, > vValue As Variant) > ' must match speaker, and not be nothing > If (ObjPtr(rSpeaker) = mlPtr) And (mlPtr <> 0) Then > ' set global parameter sName = vValue > Else > Err.Raise ML_ERR_SPEAKER, "MTestListener.SetParameter", _ > "Sorry, listening to Object at " & mlPtr > End If > End Sub > > Public Function GetParameter(sName As String) As Variant > ' anybody can get a parameter > End Function > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Wed Sep 21 17:21:56 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 22 Sep 2011 08:21:56 +1000 Subject: [AccessD] AccessD Digest, Vol 103, Issue 17 In-Reply-To: References: , Message-ID: <4E7A6384.23339.3F910C6@stuart.lexacorp.com.pg> On the contrary, I very rarely use a Global in an Access application (I do use them frequently in other environments for things like window handles) I do however use static functions a lot in Access. -- Stuart On 21 Sep 2011 at 14:16, Kenneth Ismert wrote: > > But what if you need to modify globals? What do you do then? It is > hard to write a real Access app that doesn't require global parameter > passing, which requires changing globals. > > -Ken > -- > 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 Sep 21 17:24:42 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 22 Sep 2011 08:24:42 +1000 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: Message-ID: <4E7A642A.25822.3FB9975@stuart.lexacorp.com.pg> I do that a LOT. -- Stuart On 21 Sep 2011 at 23:13, Gustav Brock wrote: > > If nothing can change a global variable (or a static or set a property > or call a set method) what should its purpose be? Use a constant in > that case. > From DWUTKA at Marlow.com Wed Sep 21 22:02:07 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Wed, 21 Sep 2011 22:02:07 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> Message-ID: The point of a global variable is to have a VARIABLE value that can be accessed from multiple points. If you want a VALUE available from anywhere, that would be a constant. A variable's value is meant to change. So, even if you wrap your global variables inside of a class, you are still scoping an instance of that class globally, which makes it a global variable. Any variable and any scope can be used poorly. Just throwing my hat into the ring. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, September 20, 2011 7:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Global Vars (was Ambiguous Name) I think that I am going to go with JWC's concept of this. Assuming of course that I have it right, you create a class that houses all the otherwise global variable, and they are protected by Get/Set methods. This appears to me the superior way to go. No way you can touch them. fork with them, without a specific call. No accidents, no side effects. Good for you, JWC. I think you are right on the money here. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From jwcolby at colbyconsulting.com Thu Sep 22 06:06:21 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 22 Sep 2011 07:06:21 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> Message-ID: <4E7B16AD.6030904@colbyconsulting.com> Already too many hats in the ring. ;) John W. Colby www.ColbyConsulting.com On 9/21/2011 11:02 PM, Drew Wutka wrote: > The point of a global variable is to have a VARIABLE value that can be > accessed from multiple points. > > If you want a VALUE available from anywhere, that would be a constant. > A variable's value is meant to change. > > So, even if you wrap your global variables inside of a class, you are > still scoping an instance of that class globally, which makes it a > global variable. > > Any variable and any scope can be used poorly. > > Just throwing my hat into the ring. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Tuesday, September 20, 2011 7:07 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Global Vars (was Ambiguous Name) > > I think that I am going to go with JWC's concept of this. Assuming of > course that I have it right, you create a class that houses all the > otherwise global variable, and they are protected by Get/Set methods. > This appears to me the superior way to go. No way you can touch them. > fork with them, without a specific call. No accidents, no side effects. > Good for you, JWC. I think you are right on the money here. > > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > The information contained in this transmission is intended only for the person or entity > to which it is addressed and may contain II-VI Proprietary and/or II-VI Business > Sensitive material. If you are not the intended recipient, please contact the sender > immediately and destroy the material in its entirety, whether electronic or hard copy. > You are notified that any review, retransmission, copying, disclosure, dissemination, > or other use of, or taking of any action in reliance upon this information by persons > or entities other than the intended recipient is prohibited. > > From DWUTKA at Marlow.com Thu Sep 22 10:32:28 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 22 Sep 2011 10:32:28 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <4E7B16AD.6030904@colbyconsulting.com> References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> Message-ID: Sounds like a global variable is needed to determine how many there are.... ;) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, September 22, 2011 6:06 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Global Vars (was Ambiguous Name) Already too many hats in the ring. ;) John W. Colby www.ColbyConsulting.com On 9/21/2011 11:02 PM, Drew Wutka wrote: > The point of a global variable is to have a VARIABLE value that can be > accessed from multiple points. > > If you want a VALUE available from anywhere, that would be a constant. > A variable's value is meant to change. > > So, even if you wrap your global variables inside of a class, you are > still scoping an instance of that class globally, which makes it a > global variable. > > Any variable and any scope can be used poorly. > > Just throwing my hat into the ring. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur > Fuller > Sent: Tuesday, September 20, 2011 7:07 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Global Vars (was Ambiguous Name) > > I think that I am going to go with JWC's concept of this. Assuming of > course that I have it right, you create a class that houses all the > otherwise global variable, and they are protected by Get/Set methods. > This appears to me the superior way to go. No way you can touch them. > fork with them, without a specific call. No accidents, no side effects. > Good for you, JWC. I think you are right on the money here. > > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com The information contained in > this transmission is intended only for the person or entity to which > it is addressed and may contain II-VI Proprietary and/or II-VI > Business Sensitive material. If you are not the intended recipient, > please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. > You are notified that any review, retransmission, copying, disclosure, > dissemination, or other use of, or taking of any action in reliance > upon this information by persons or entities other than the intended recipient is prohibited. > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From fuller.artful at gmail.com Thu Sep 22 10:55:13 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 22 Sep 2011 11:55:13 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> Message-ID: I used to be the strongest argue-er for static functions, but then Access trumped with with its collection, and now I lean that way. It took a considerable amount of rewriting old apps, but the benefits are IMO abundant. If you have A2K7+ then look at the NorthWind app for evidence of how cool this works. To put it another way, globals are a bad idea, no matter what the scenario, IMO. In the old days, static functions were better. Then came JC's class-approach, which had beauty and class and ease of use, albeit with one downfall -- loading it into any new app is guaranteed to waste a bunch of memory irrelevant to this particular app; but RAM is cheap and the price is OK, but that said, I do choose to occupy the minimal amount of RAM, and that said, I load the library and see which functions/subs are not called and then remove them, so in theory the footprint is smaller. A. From accessd at shaw.ca Thu Sep 22 12:44:14 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 22 Sep 2011 10:44:14 -0700 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> Message-ID: Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim From rockysmolin at bchacc.com Thu Sep 22 13:36:37 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 22 Sep 2011 11:36:37 -0700 Subject: [AccessD] Filtering with International Dates Message-ID: <8123BC58741345EF884BE7F4C21F6423@HAL9007> Dear List: Because I'm old and can't remember (and the archives are down), I was told how to filter with dates so that if a user is using international dates it doesn't matter. The following code: If Nz(Forms!frmPOReport!txtGEPromisedDate) <> "" Then If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " strSQL = strSQL & "fldPOPromisedDate >= #" & Forms!frmPOReport!txtGEPromisedDate & "# " End If If Nz(Forms!frmPOReport!txtLEPromisedDate) <> "" Then If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " strSQL = strSQL & "fldPOPromisedDate <= #" & Forms!frmPOReport!txtLEPromisedDate & "# " strSQL eventually ends up in Me.Filter. Works good in the USA. :) Fails in Nicaragua. :( Was it CDate I was supposed to use? Sorry for the redux. TIA Rocky From dbdoug at gmail.com Thu Sep 22 13:37:52 2011 From: dbdoug at gmail.com (Doug Steele) Date: Thu, 22 Sep 2011 11:37:52 -0700 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> Message-ID: Hi Jim: I've built a couple of ASP.NET apps running off IIS with an Access back end. You definitely don't have to have Access installed. I think when you install .Net you get the drivers you need. Doug On Thu, Sep 22, 2011 at 10:44 AM, Jim Lawrence wrote: > Hi All: > > In the many years, I have worked with MS Access there is on thing I have > never done with it. I have never used MS Access as the DB for an > application > running off an IIS server...any web server for that matter...MS SQL, > Express, Oracle, MySQL etc but never MDB. > > So does MS Access have to be installed on the IIS server and does an > extension have to be added to the server etc.? Can just a set of drivers be > configured...? (If the truth be known I would just love to upsize to any > other DB and be done with it but that is not what the client wants; and the > client is always right.(?)) > > If any one has experience with this process, their knowledgeable tips would > be greatly appreciated. > > MTIA > Jim > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Thu Sep 22 13:38:31 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 22 Sep 2011 14:38:31 -0400 Subject: [AccessD] MySQL is apparently not installed correctly Message-ID: <4E7B80A7.7030904@colbyconsulting.com> 1) The service does not start. 2) the ,err file tells me that Plugin Federated is disabled. 3) The .err file tells me Table 'mysql.plugin' doesn't exist and then it says to run mysql_upgrade to create it. I ran mysql_upgrade and the first time it took off and went. I deleted the error file, rebooted and when it came back up the service is hung on "starting". The .err file tells me the same stuff. Any suggestions? Uninstall / reinstall? -- John W. Colby www.ColbyConsulting.com From rockysmolin at bchacc.com Thu Sep 22 13:47:02 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 22 Sep 2011 11:47:02 -0700 Subject: [AccessD] Filtering with International Dates In-Reply-To: <8123BC58741345EF884BE7F4C21F6423@HAL9007> References: <8123BC58741345EF884BE7F4C21F6423@HAL9007> Message-ID: <0DBE8D67661849AA8444AC0CC5B50013@HAL9007> This seems to work: Format$(varDate, "\#mm\/dd\/yyyy\#") Is that the best solution? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: 22 September 2011 11:37 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Filtering with International Dates Dear List: Because I'm old and can't remember (and the archives are down), I was told how to filter with dates so that if a user is using international dates it doesn't matter. The following code: If Nz(Forms!frmPOReport!txtGEPromisedDate) <> "" Then If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " strSQL = strSQL & "fldPOPromisedDate >= #" & Forms!frmPOReport!txtGEPromisedDate & "# " End If If Nz(Forms!frmPOReport!txtLEPromisedDate) <> "" Then If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " strSQL = strSQL & "fldPOPromisedDate <= #" & Forms!frmPOReport!txtLEPromisedDate & "# " strSQL eventually ends up in Me.Filter. Works good in the USA. :) Fails in Nicaragua. :( Was it CDate I was supposed to use? Sorry for the redux. TIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Thu Sep 22 13:49:37 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 22 Sep 2011 11:49:37 -0700 Subject: [AccessD] Filtering with International Dates In-Reply-To: <8123BC58741345EF884BE7F4C21F6423@HAL9007> References: <8123BC58741345EF884BE7F4C21F6423@HAL9007> Message-ID: Here's what MS suggests: Function MakeUSDate(DateIn As Variant) As String ' Do nothing if the value is not a date. If Not IsDate(DateIn) Then Exit Function ' Convert the date to a U.S. Date format. MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & Year(DateIn) & "#" End Function I would suggest that if you're using SQL Server as an alternative BE you also have a function to return the proper date delimiter. Charlotte Foust On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin wrote: > Dear List: > > Because I'm old and can't remember (and the archives are down), I was told > how to filter with dates so that if a user is using international dates it > doesn't matter. > > The following code: > > If Nz(Forms!frmPOReport!txtGEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate >= #" & > Forms!frmPOReport!txtGEPromisedDate & "# " > End If > > If Nz(Forms!frmPOReport!txtLEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate <= #" & > Forms!frmPOReport!txtLEPromisedDate & "# " > > strSQL eventually ends up in Me.Filter. > > Works good in the USA. :) Fails in Nicaragua. :( > > Was it CDate I was supposed to use? > > Sorry for the redux. > > TIA > > Rocky > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From rockysmolin at bchacc.com Thu Sep 22 14:27:45 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 22 Sep 2011 12:27:45 -0700 Subject: [AccessD] Filtering with International Dates In-Reply-To: References: <8123BC58741345EF884BE7F4C21F6423@HAL9007> Message-ID: Is that better or more reliable or more general than Format$(varDate, "\#mm\/dd\/yyyy\#")? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, September 22, 2011 11:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Here's what MS suggests: Function MakeUSDate(DateIn As Variant) As String ' Do nothing if the value is not a date. If Not IsDate(DateIn) Then Exit Function ' Convert the date to a U.S. Date format. MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & Year(DateIn) & "#" End Function I would suggest that if you're using SQL Server as an alternative BE you also have a function to return the proper date delimiter. Charlotte Foust On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin wrote: > Dear List: > > Because I'm old and can't remember (and the archives are down), I was > told how to filter with dates so that if a user is using international > dates it doesn't matter. > > The following code: > > If Nz(Forms!frmPOReport!txtGEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate >= #" & > Forms!frmPOReport!txtGEPromisedDate & "# " > End If > > If Nz(Forms!frmPOReport!txtLEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate <= #" & > Forms!frmPOReport!txtLEPromisedDate & "# " > > strSQL eventually ends up in Me.Filter. > > Works good in the USA. :) Fails in Nicaragua. :( > > Was it CDate I was supposed to use? > > Sorry for the redux. > > TIA > > 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 DWUTKA at Marlow.com Thu Sep 22 14:25:50 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 22 Sep 2011 14:25:50 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com> Message-ID: Again, globals are not a 'bad idea'. Globals can be misused. I don't think anyone can argue that. But almost anything can be misused. A global variable is merely a specific scope for a variable. You have procedural, modular and global. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, September 22, 2011 10:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Global Vars (was Ambiguous Name) I used to be the strongest argue-er for static functions, but then Access trumped with with its collection, and now I lean that way. It took a considerable amount of rewriting old apps, but the benefits are IMO abundant. If you have A2K7+ then look at the NorthWind app for evidence of how cool this works. To put it another way, globals are a bad idea, no matter what the scenario, IMO. In the old days, static functions were better. Then came JC's class-approach, which had beauty and class and ease of use, albeit with one downfall -- loading it into any new app is guaranteed to waste a bunch of memory irrelevant to this particular app; but RAM is cheap and the price is OK, but that said, I do choose to occupy the minimal amount of RAM, and that said, I load the library and see which functions/subs are not called and then remove them, so in theory the footprint is smaller. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Thu Sep 22 14:29:32 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 22 Sep 2011 14:29:32 -0500 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com> Message-ID: You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From jwcolby at colbyconsulting.com Thu Sep 22 14:54:42 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 22 Sep 2011 15:54:42 -0400 Subject: [AccessD] MySQL is broke now Message-ID: <4E7B9282.5060606@colbyconsulting.com> The service never ran. I did some stuff including modifying my.ini to add federated. Doing that stopped the error log being generated but the service still would not start. I found something that discusses deleting the service (which worked) but the thing that adds the service does not work. My windows paste buffer is not working between my VM and my laptop so the following is just typed in. The line is: mysql --install MySQL --defaults-file="C:\Program Files\MySQL\MySQL Server 5.5\My.Ini" This does in fact add a line to the services but the problem is that the service thinks that MySQLd.exe is in thesame location as that my.ini whereas it is in fact down in a bin under that dir. I.e. the "path to executable" is looking for the MySQLD.exe in the wrong place and thus cannot be started. This is getting annoying. I have been trying various things for hours and just cannot get MySQL to run as a service and now the entry in the service table (or registry?) is corrupted. Sigh. -- John W. Colby www.ColbyConsulting.com From fuller.artful at gmail.com Thu Sep 22 14:59:09 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 22 Sep 2011 15:59:09 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> Message-ID: Much as I wish to pursue this chat, there is something happening on my head. I am bleeding and I don't have a clue why, but it seems that I ought to attend to this. Back when curred! Whaoa, man, there is abundant stuff comin' outa my head. I don't even know what happened. This is is not gott. Will report back when all is fixed. Arthur From steve at datamanagementsolutions.biz Thu Sep 22 16:08:28 2011 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Fri, 23 Sep 2011 09:08:28 +1200 Subject: [AccessD] Filtering with International Dates In-Reply-To: References: <8123BC58741345EF884BE7F4C21F6423@HAL9007> Message-ID: Rocky As a person in a non-US zone, I have always used the CLng function in such circumstances. Works great. strSQL = strSQL & "fldPOPromisedDate <= " & CLng(Forms!frmPOReport!txtLEPromisedDate) Regards Steve -----Original Message----- From: Rocky Smolin Sent: Friday, September 23, 2011 7:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Filtering with International Dates Is that better or more reliable or more general than Format$(varDate, "\#mm\/dd\/yyyy\#")? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, September 22, 2011 11:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Here's what MS suggests: Function MakeUSDate(DateIn As Variant) As String ' Do nothing if the value is not a date. If Not IsDate(DateIn) Then Exit Function ' Convert the date to a U.S. Date format. MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & Year(DateIn) & "#" End Function I would suggest that if you're using SQL Server as an alternative BE you also have a function to return the proper date delimiter. Charlotte Foust On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin wrote: > Dear List: > > Because I'm old and can't remember (and the archives are down), I was > told how to filter with dates so that if a user is using international > dates it doesn't matter. > > The following code: > > If Nz(Forms!frmPOReport!txtGEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate >= #" & > Forms!frmPOReport!txtGEPromisedDate & "# " > End If > > If Nz(Forms!frmPOReport!txtLEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate <= #" & > Forms!frmPOReport!txtLEPromisedDate & "# " > > strSQL eventually ends up in Me.Filter. > > Works good in the USA. :) Fails in Nicaragua. :( > > Was it CDate I was supposed to use? > > Sorry for the redux. > > TIA > > 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 charlotte.foust at gmail.com Thu Sep 22 16:16:20 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 22 Sep 2011 14:16:20 -0700 Subject: [AccessD] Filtering with International Dates In-Reply-To: References: <8123BC58741345EF884BE7F4C21F6423@HAL9007> Message-ID: But a date isn't an integer of any length, so if you have times included in the date field, CLng would give you the wrong result. Charlotte Foust On Thu, Sep 22, 2011 at 2:08 PM, Steve Schapel < steve at datamanagementsolutions.biz> wrote: > Rocky > > As a person in a non-US zone, I have always used the CLng function in such > circumstances. Works great. > > strSQL = strSQL & "fldPOPromisedDate <= " & CLng(Forms!frmPOReport!** > txtLEPromisedDate) > > Regards > Steve > > -----Original Message----- From: Rocky Smolin > Sent: Friday, September 23, 2011 7:27 AM > > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Filtering with International Dates > > Is that better or more reliable or more general than > > Format$(varDate, "\#mm\/dd\/yyyy\#")? > > Rocky > > -----Original Message----- > From: accessd-bounces@**databaseadvisors.com > [mailto:accessd-bounces@**databaseadvisors.com] > On Behalf Of Charlotte Foust > Sent: Thursday, September 22, 2011 11:50 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Filtering with International Dates > > Here's what MS suggests: > > Function MakeUSDate(DateIn As Variant) As String > > ' Do nothing if the value is not a date. > > If Not IsDate(DateIn) Then Exit Function > > ' Convert the date to a U.S. Date format. > > MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & > Year(DateIn) & "#" > > End Function > > I would suggest that if you're using SQL Server as an alternative BE you > also have a function to return the proper date delimiter. > > Charlotte Foust > On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin > wrote: > > Dear List: >> >> Because I'm old and can't remember (and the archives are down), I was >> told how to filter with dates so that if a user is using international >> dates it doesn't matter. >> >> The following code: >> >> If Nz(Forms!frmPOReport!**txtGEPromisedDate) <> "" Then >> If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " >> strSQL = strSQL & "fldPOPromisedDate >= #" & >> Forms!frmPOReport!**txtGEPromisedDate & "# " >> End If >> >> If Nz(Forms!frmPOReport!**txtLEPromisedDate) <> "" Then >> If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " >> strSQL = strSQL & "fldPOPromisedDate <= #" & >> Forms!frmPOReport!**txtLEPromisedDate & "# " >> >> strSQL eventually ends up in Me.Filter. >> >> Works good in the USA. :) Fails in Nicaragua. :( >> >> Was it CDate I was supposed to use? >> >> Sorry for the redux. >> >> TIA >> >> 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 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From steve at datamanagementsolutions.biz Thu Sep 22 16:36:30 2011 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Fri, 23 Sep 2011 09:36:30 +1200 Subject: [AccessD] Filtering with International Dates In-Reply-To: References: <8123BC58741345EF884BE7F4C21F6423@HAL9007> Message-ID: <9FD44C573AD24BE3BA3BC91827E687F3@stevelaptop> That's correct, Chartlotte. If there is a time component, I use CDbl. Regards Steve -----Original Message----- From: Charlotte Foust Sent: Friday, September 23, 2011 9:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates But a date isn't an integer of any length, so if you have times included in the date field, CLng would give you the wrong result. Charlotte Foust On Thu, Sep 22, 2011 at 2:08 PM, Steve Schapel < steve at datamanagementsolutions.biz> wrote: > Rocky > > As a person in a non-US zone, I have always used the CLng function in such > circumstances. Works great. > > strSQL = strSQL & "fldPOPromisedDate <= " & CLng(Forms!frmPOReport!** > txtLEPromisedDate) > > Regards > Steve > > -----Original Message----- From: Rocky Smolin > Sent: Friday, September 23, 2011 7:27 AM > > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Filtering with International Dates > > Is that better or more reliable or more general than > > Format$(varDate, "\#mm\/dd\/yyyy\#")? > > Rocky > > -----Original Message----- > From: > accessd-bounces@**databaseadvisors.com > [mailto:accessd-bounces@**databaseadvisors.com] > On Behalf Of Charlotte Foust > Sent: Thursday, September 22, 2011 11:50 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Filtering with International Dates > > Here's what MS suggests: > > Function MakeUSDate(DateIn As Variant) As String > > ' Do nothing if the value is not a date. > > If Not IsDate(DateIn) Then Exit Function > > ' Convert the date to a U.S. Date format. > > MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & > Year(DateIn) & "#" > > End Function > > I would suggest that if you're using SQL Server as an alternative BE you > also have a function to return the proper date delimiter. > > Charlotte Foust > On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin > wrote: > > Dear List: >> >> Because I'm old and can't remember (and the archives are down), I was >> told how to filter with dates so that if a user is using international >> dates it doesn't matter. >> >> The following code: >> >> If Nz(Forms!frmPOReport!**txtGEPromisedDate) <> "" Then >> If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " >> strSQL = strSQL & "fldPOPromisedDate >= #" & >> Forms!frmPOReport!**txtGEPromisedDate & "# " >> End If >> >> If Nz(Forms!frmPOReport!**txtLEPromisedDate) <> "" Then >> If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " >> strSQL = strSQL & "fldPOPromisedDate <= #" & >> Forms!frmPOReport!**txtLEPromisedDate & "# " >> >> strSQL eventually ends up in Me.Filter. >> >> Works good in the USA. :) Fails in Nicaragua. :( >> >> Was it CDate I was supposed to use? >> >> Sorry for the redux. >> >> TIA >> >> 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 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/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 DWUTKA at Marlow.com Thu Sep 22 16:45:44 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 22 Sep 2011 16:45:44 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com> Message-ID: ACKKKK !!! Let us know when you are ok Arthur!!! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, September 22, 2011 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Global Vars (was Ambiguous Name) Much as I wish to pursue this chat, there is something happening on my head. I am bleeding and I don't have a clue why, but it seems that I ought to attend to this. Back when curred! Whaoa, man, there is abundant stuff comin' outa my head. I don't even know what happened. This is is not gott. Will report back when all is fixed. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From accessd at shaw.ca Thu Sep 22 16:58:41 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 22 Sep 2011 14:58:41 -0700 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> Message-ID: <2EB95DD236DB48CD942FAEFB4A67DDD2@creativesystemdesigns.com> Unfortunately, we are not talking about ASP.Net but rather classic ASP. :-( Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Thursday, September 22, 2011 11:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Hi Jim: I've built a couple of ASP.NET apps running off IIS with an Access back end. You definitely don't have to have Access installed. I think when you install .Net you get the drivers you need. Doug On Thu, Sep 22, 2011 at 10:44 AM, Jim Lawrence wrote: > Hi All: > > In the many years, I have worked with MS Access there is on thing I have > never done with it. I have never used MS Access as the DB for an > application > running off an IIS server...any web server for that matter...MS SQL, > Express, Oracle, MySQL etc but never MDB. > > So does MS Access have to be installed on the IIS server and does an > extension have to be added to the server etc.? Can just a set of drivers be > configured...? (If the truth be known I would just love to upsize to any > other DB and be done with it but that is not what the client wants; and the > client is always right.(?)) > > If any one has experience with this process, their knowledgeable tips would > be greatly appreciated. > > MTIA > 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 accessd at shaw.ca Thu Sep 22 17:00:56 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 22 Sep 2011 15:00:56 -0700 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> Message-ID: <511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> Does that mean Access have to be installed on the IIS server? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Sep 22 17:04:40 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 22 Sep 2011 15:04:40 -0700 Subject: [AccessD] MySQL is broke now In-Reply-To: <4E7B9282.5060606@colbyconsulting.com> References: <4E7B9282.5060606@colbyconsulting.com> Message-ID: <57B14928257044BB86837DCA8EF3102B@creativesystemdesigns.com> Post a message on OT_SQL...Hans will help you. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, September 22, 2011 12:55 PM To: Access Developers discussion and problem solving Subject: [AccessD] MySQL is broke now The service never ran. I did some stuff including modifying my.ini to add federated. Doing that stopped the error log being generated but the service still would not start. I found something that discusses deleting the service (which worked) but the thing that adds the service does not work. My windows paste buffer is not working between my VM and my laptop so the following is just typed in. The line is: mysql --install MySQL --defaults-file="C:\Program Files\MySQL\MySQL Server 5.5\My.Ini" This does in fact add a line to the services but the problem is that the service thinks that MySQLd.exe is in thesame location as that my.ini whereas it is in fact down in a bin under that dir. I.e. the "path to executable" is looking for the MySQLD.exe in the wrong place and thus cannot be started. This is getting annoying. I have been trying various things for hours and just cannot get MySQL to run as a service and now the entry in the service table (or registry?) is corrupted. Sigh. -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Sep 22 17:08:11 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 22 Sep 2011 15:08:11 -0700 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> Message-ID: <2A0245B6D3774330A2B2A64074601440@creativesystemdesigns.com> Wow, I hope you are OK... Post us as soon as you can. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, September 22, 2011 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Global Vars (was Ambiguous Name) Much as I wish to pursue this chat, there is something happening on my head. I am bleeding and I don't have a clue why, but it seems that I ought to attend to this. Back when curred! Whaoa, man, there is abundant stuff comin' outa my head. I don't even know what happened. This is is not gott. Will report back when all is fixed. Arthur From stuart at lexacorp.com.pg Thu Sep 22 17:10:57 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 23 Sep 2011 08:10:57 +1000 Subject: [AccessD] Filtering with International Dates In-Reply-To: References: <8123BC58741345EF884BE7F4C21F6423@HAL9007>, , Message-ID: <4E7BB271.31766.9156315@stuart.lexacorp.com.pg> CLng returns the wrong value if the data contains a time after midday (it rounds the day part up to the next day). I always use strSQL = ...Datevalue('" & txtDate & "').... -- Stuart On 22 Sep 2011 at 14:16, Charlotte Foust wrote: > But a date isn't an integer of any length, so if you have times > included in the date field, CLng would give you the wrong result. > > Charlotte Foust > > On Thu, Sep 22, 2011 at 2:08 PM, Steve Schapel < > steve at datamanagementsolutions.biz> wrote: > > > Rocky > > > > As a person in a non-US zone, I have always used the CLng function > > in such circumstances. Works great. > > > > strSQL = strSQL & "fldPOPromisedDate <= " & > > CLng(Forms!frmPOReport!** txtLEPromisedDate) > > > > Regards > > Steve > > > > -----Original Message----- From: Rocky Smolin > > Sent: Friday, September 23, 2011 7:27 AM > > > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Filtering with International Dates > > > > Is that better or more reliable or more general than > > > > Format$(varDate, "\#mm\/dd\/yyyy\#")? > > > > Rocky > > > > -----Original Message----- > > From: > > accessd-bounces@**databaseadvisors.com > ors.com> > > [mailto:accessd-bounces@**databaseadvisors.com > aseadvisors.com>] On Behalf Of Charlotte Foust Sent: Thursday, > > September 22, 2011 11:50 AM To: Access Developers discussion and > > problem solving Subject: Re: [AccessD] Filtering with International > > Dates > > > > Here's what MS suggests: > > > > Function MakeUSDate(DateIn As Variant) As String > > > > ' Do nothing if the value is not a date. > > > > If Not IsDate(DateIn) Then Exit Function > > > > ' Convert the date to a U.S. Date format. > > > > MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & > > Year(DateIn) & "#" > > > > End Function > > > > I would suggest that if you're using SQL Server as an alternative BE > > you also have a function to return the proper date delimiter. > > > > Charlotte Foust > > On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin > > wrote: > > > > Dear List: > >> > >> Because I'm old and can't remember (and the archives are down), I > >> was told how to filter with dates so that if a user is using > >> international dates it doesn't matter. > >> > >> The following code: > >> > >> If Nz(Forms!frmPOReport!**txtGEPromisedDate) <> "" Then > >> If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > >> strSQL = strSQL & "fldPOPromisedDate >= #" & > >> Forms!frmPOReport!**txtGEPromisedDate & "# " > >> End If > >> > >> If Nz(Forms!frmPOReport!**txtLEPromisedDate) <> "" Then > >> If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > >> strSQL = strSQL & "fldPOPromisedDate <= #" & > >> Forms!frmPOReport!**txtLEPromisedDate & "# " > >> > >> strSQL eventually ends up in Me.Filter. > >> > >> Works good in the USA. :) Fails in Nicaragua. :( > >> > >> Was it CDate I was supposed to use? > >> > >> Sorry for the redux. > >> > >> TIA > >> > >> Rocky > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/**mailman/listinfo/accessd >> aseadvisors.com/mailman/listinfo/accessd> > >> > >> > >> > >> > >> Website: > >> http://www.databaseadvisors.**com > >> > >> > >> > >> > >> > >> -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/accessd > seadvisors.com/mailman/listinfo/accessd> > > > > > > Website: > > http://www.databaseadvisors.**com > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/accessd > seadvisors.com/mailman/listinfo/accessd> > > > > > > Website: > > http://www.databaseadvisors.**com > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/accessd > seadvisors.com/mailman/listinfo/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 ab-mi at post3.tele.dk Thu Sep 22 17:12:29 2011 From: ab-mi at post3.tele.dk (Asger Blond) Date: Fri, 23 Sep 2011 00:12:29 +0200 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com> Message-ID: <85DE820BDE2B4B4E88D3D27F7298E51C@abpc> Yea, too bad - but that's what all of us must expect when entering global wars.. Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Drew Wutka Sendt: 22. september 2011 23:46 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Global Vars (was Ambiguous Name) ACKKKK !!! Let us know when you are ok Arthur!!! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, September 22, 2011 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Global Vars (was Ambiguous Name) Much as I wish to pursue this chat, there is something happening on my head. I am bleeding and I don't have a clue why, but it seems that I ought to attend to this. Back when curred! Whaoa, man, there is abundant stuff comin' outa my head. I don't even know what happened. This is is not gott. Will report back when all is fixed. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kismert at gmail.com Thu Sep 22 17:17:49 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Thu, 22 Sep 2011 17:17:49 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) Message-ID: > Gustav Brock: > You make it sound as if global variables happen > to be changed by magic. They don't, because you - > the programmer - decides what (and not who) can > set the value and when. Yes, a good recap of the 'discipline' argument for using globals. But discipline is much easier to enforce for yourself than to impose on others. When there are multiple programmers on a project, opportunities for confusion multiply. Once discipline breaks down, and the implicit rules for using particular globals get ignored or misunderstood, you are toast. So, my question to you is, are there simple programmatic lines of defense one can use to protect globals against obvious kinds of misuse? I think the answer is yes, and put forth two concepts. Maybe this is just a theoretical question, but I find thinking about it worthwhile. > If nothing can change a global variable ... what > should its purpose be? Use a constant in that case. There are plenty of cases where you want 'read-once' or 'setup-once' globals, that read local machine settings, setup a global object for persistent use, etc. But in the end, I largely agree with you. Globals are only bad when they are misused. But enforcing discipline can be tricky. -Ken From jimdettman at verizon.net Thu Sep 22 17:21:31 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 22 Sep 2011 18:21:31 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com> Message-ID: Head wounds always bleed like there's no tomorrow. I had a nick the size of a pencil eraser once and totally soaked the shirt I was wearing. Let's hope he thought to sit down and get some pressure on it. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 05:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Global Vars (was Ambiguous Name) ACKKKK !!! Let us know when you are ok Arthur!!! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, September 22, 2011 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Global Vars (was Ambiguous Name) Much as I wish to pursue this chat, there is something happening on my head. I am bleeding and I don't have a clue why, but it seems that I ought to attend to this. Back when curred! Whaoa, man, there is abundant stuff comin' outa my head. I don't even know what happened. This is is not gott. Will report back when all is fixed. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Sep 22 17:25:22 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 22 Sep 2011 15:25:22 -0700 Subject: [AccessD] Filtering with International Dates In-Reply-To: References: <8123BC58741345EF884BE7F4C21F6423@HAL9007> Message-ID: <96BC5E0E427B4876AB655C25A90D0C21@HAL9007> Cool. That would seem to be pretty universal then regardless of source format? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Thursday, September 22, 2011 2:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Rocky As a person in a non-US zone, I have always used the CLng function in such circumstances. Works great. strSQL = strSQL & "fldPOPromisedDate <= " & CLng(Forms!frmPOReport!txtLEPromisedDate) Regards Steve -----Original Message----- From: Rocky Smolin Sent: Friday, September 23, 2011 7:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Filtering with International Dates Is that better or more reliable or more general than Format$(varDate, "\#mm\/dd\/yyyy\#")? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, September 22, 2011 11:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Here's what MS suggests: Function MakeUSDate(DateIn As Variant) As String ' Do nothing if the value is not a date. If Not IsDate(DateIn) Then Exit Function ' Convert the date to a U.S. Date format. MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & Year(DateIn) & "#" End Function I would suggest that if you're using SQL Server as an alternative BE you also have a function to return the proper date delimiter. Charlotte Foust On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin wrote: > Dear List: > > Because I'm old and can't remember (and the archives are down), I was > told how to filter with dates so that if a user is using international > dates it doesn't matter. > > The following code: > > If Nz(Forms!frmPOReport!txtGEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate >= #" & > Forms!frmPOReport!txtGEPromisedDate & "# " > End If > > If Nz(Forms!frmPOReport!txtLEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate <= #" & > Forms!frmPOReport!txtLEPromisedDate & "# " > > strSQL eventually ends up in Me.Filter. > > Works good in the USA. :) Fails in Nicaragua. :( > > Was it CDate I was supposed to use? > > Sorry for the redux. > > TIA > > 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kismert at gmail.com Thu Sep 22 17:33:47 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Thu, 22 Sep 2011 17:33:47 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) Message-ID: > Stuart McLachlan: > You and I obviously have a different definition of > "Global". :-) Changing Private to Public changes > everything ... > ... Why not just create a Globals object instead > and get full class functionality? 'Global Variables' includes globally scoped classes or static functions that allow changeable values. This is my critical point: a writable property of a global class can be changed by anyone anywhere at any time -- just like a global variable, which is supposedly 'bad' for the same reason. So, just using global classes or functions doesn't fix the root problem of global variables. > Read once, write many variable: > Static Function mySafeGlobal(Optional invalue as Variant) as Variant > Dim store as Variant > If not isempty(store) then > mySafeGlobal = store > Exit Function > End if > If not ismissing(invalue) then > store = invalue > mySafeGlobal = store > End if > End Function Looking at the code, I assume you mean 'write once, read many'. And a typo: store should be Static, nod Dim'ed, otherwise you can change the value every time it is called. I use functions similar to this all the time. Contributing code is the most valuable way to work through the real issues of this discussion. -Ken From kismert at gmail.com Thu Sep 22 17:40:07 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Thu, 22 Sep 2011 17:40:07 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) Message-ID: > Drew Wutka: > ... > So, even if you wrap your global variables inside of a > class, you are still scoping an instance of that class > globally, which makes it a global variable... My point exactly. The 'globals are bad' camp haven't explained how a code wrapper that lets you change the value makes the global problem go away. And yes, there are common situations in Access where you want changeable global values. The only advantage I see to the wrapper is that you get to set a breakpoint. Little help when it fails in the field. -Ken From DWUTKA at Marlow.com Thu Sep 22 17:39:51 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 22 Sep 2011 17:39:51 -0500 Subject: [AccessD] MS Access with IIS In-Reply-To: <511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com> <511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> Message-ID: Nope.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 5:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Does that mean Access have to be installed on the IIS server? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From steve at datamanagementsolutions.biz Thu Sep 22 17:56:35 2011 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Fri, 23 Sep 2011 10:56:35 +1200 Subject: [AccessD] Filtering with International Dates In-Reply-To: <96BC5E0E427B4876AB655C25A90D0C21@HAL9007> References: <8123BC58741345EF884BE7F4C21F6423@HAL9007> <96BC5E0E427B4876AB655C25A90D0C21@HAL9007> Message-ID: Yes, Rocky, it always works. A proviso I think is that if you are using an unbound textbox to gather your date criteria, and then referring to that textbox in your code (Me.MyTextbox or Forms!MyForm!MyTextbox), the textbox's Format property should be set to a valid date format. Yes, if you need to cater to a time component (in my experience this is very rare in the type of circumstance you described), then you need to make sure you write your code accordingly, but that is also very easy. Regards Steve -----Original Message----- From: Rocky Smolin Sent: Friday, September 23, 2011 10:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Filtering with International Dates Cool. That would seem to be pretty universal then regardless of source format? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Thursday, September 22, 2011 2:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Rocky As a person in a non-US zone, I have always used the CLng function in such circumstances. Works great. strSQL = strSQL & "fldPOPromisedDate <= " & CLng(Forms!frmPOReport!txtLEPromisedDate) Regards Steve -----Original Message----- From: Rocky Smolin Sent: Friday, September 23, 2011 7:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Filtering with International Dates Is that better or more reliable or more general than Format$(varDate, "\#mm\/dd\/yyyy\#")? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, September 22, 2011 11:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Here's what MS suggests: Function MakeUSDate(DateIn As Variant) As String ' Do nothing if the value is not a date. If Not IsDate(DateIn) Then Exit Function ' Convert the date to a U.S. Date format. MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & Year(DateIn) & "#" End Function I would suggest that if you're using SQL Server as an alternative BE you also have a function to return the proper date delimiter. Charlotte Foust On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin wrote: > Dear List: > > Because I'm old and can't remember (and the archives are down), I was > told how to filter with dates so that if a user is using international > dates it doesn't matter. > > The following code: > > If Nz(Forms!frmPOReport!txtGEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate >= #" & > Forms!frmPOReport!txtGEPromisedDate & "# " > End If > > If Nz(Forms!frmPOReport!txtLEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate <= #" & > Forms!frmPOReport!txtLEPromisedDate & "# " > > strSQL eventually ends up in Me.Filter. > > Works good in the USA. :) Fails in Nicaragua. :( > > Was it CDate I was supposed to use? > > Sorry for the redux. > > TIA > > 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Thu Sep 22 18:57:49 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Thu, 22 Sep 2011 18:57:49 -0500 Subject: [AccessD] SSDs and BE storage Message-ID: I'm sorry that you felt my remarks were unkind. You have done your own research, and have taken steps to mitigate the risks by limiting how your SSDs are used. And you are planning for failure with a robust backup scheme using traditional HDDs. Still, my first experience with an SSD out of the box was that the firmware had a critical bug, which required an update that wasn't available, because the maker needed a lot of time to test the revision. It seems likely that the real cause is that the drive, being a consumer level product, didn't have enough capacitance built-in to shut down gracefully during a power outage. Maybe we made a poor choice, but the device was from a dominant player in the industry. Not a confidence builder. Also, some of your own comments don't bolster your overall glowing endorsement. To wit: the SSD's with the 34 micron chips are good but the new 28 micron chips are bad? That sounds like caveat emptor to me. Problems with scaling down and firmware issues sound to me like indicators of a technology that is still not mature enough to be suitable as drop-in replacements for HDDs in a broad range of server applications. And yes, the one source I quoted does sound like a guy fishing for consulting work, but you conveniently neglected to criticize my other reference, who said things more central to my point, and who seems more credible. Certainly, the technology will mature, and adoption rates will climb. Operating systems that optimize for SSDs will become more popular. Right now, for our server installation, I'm content to wait it out. -Ken From accessd at shaw.ca Thu Sep 22 20:19:53 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 22 Sep 2011 18:19:53 -0700 Subject: [AccessD] Open Source Cloud In-Reply-To: <000001cc7949$4180df00$c4829d00$@winhaven.net> References: <015a01cc78ed$0f1246a0$2d36d3e0$@winhaven.net> <000001cc7949$4180df00$c4829d00$@winhaven.net> Message-ID: <8006FA011228414CA042F947B0D1070F@creativesystemdesigns.com> The Open Source Cloud is here and another homerun for the Open Source community. OpenStack Diablo is a Quantum Leap for Open Source Cloud. OpenStack has been criticized by some as "the consortium of people who can't figure out how to compete with Amazon Web Services on their own." Well, they are half-right. http://www.readwriteweb.com/cloud/2011/09/openstack-diablo-is-a-quantum.php Now all those who wanted to dabble and expand their knowledge into the Cloud have a low cost place to start. Here is a perfect place to run a small (or large) set of travelling applications from; imaging, backups, structure data storage, user access control, etc. To download to your (Ubuntu) Linux (virtual) server: http://www.openstack.org/projects/compute/ Jim From charlotte.foust at gmail.com Thu Sep 22 20:25:45 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 22 Sep 2011 18:25:45 -0700 Subject: [AccessD] Filtering with International Dates In-Reply-To: <9FD44C573AD24BE3BA3BC91827E687F3@stevelaptop> References: <8123BC58741345EF884BE7F4C21F6423@HAL9007> <9FD44C573AD24BE3BA3BC91827E687F3@stevelaptop> Message-ID: One thing I learned the hard way is that there is ALWAYS a time component, even if it's midnight. Using it on a consistent basis is a good idea because assumptions can come back to haunt you. Charlotte Foust On Thu, Sep 22, 2011 at 2:36 PM, Steve Schapel < steve at datamanagementsolutions.biz> wrote: > That's correct, Chartlotte. If there is a time component, I use CDbl. > > Regards > Steve > > -----Original Message----- From: Charlotte Foust > Sent: Friday, September 23, 2011 9:16 AM > > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Filtering with International Dates > > But a date isn't an integer of any length, so if you have times included in > the date field, CLng would give you the wrong result. > > Charlotte Foust > > On Thu, Sep 22, 2011 at 2:08 PM, Steve Schapel < > steve at datamanagementsolutions.**biz > > wrote: > > Rocky >> >> As a person in a non-US zone, I have always used the CLng function in such >> circumstances. Works great. >> >> strSQL = strSQL & "fldPOPromisedDate <= " & CLng(Forms!frmPOReport!** >> txtLEPromisedDate) >> >> Regards >> Steve >> >> -----Original Message----- From: Rocky Smolin >> Sent: Friday, September 23, 2011 7:27 AM >> >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Filtering with International Dates >> >> Is that better or more reliable or more general than >> >> Format$(varDate, "\#mm\/dd\/yyyy\#")? >> >> Rocky >> >> -----Original Message----- >> From: accessd-bounces@**databaseadvi**sors.com >> >> >> > >> [mailto:accessd-bounces@**data**baseadvisors.com >> >> >> >] >> >> On Behalf Of Charlotte Foust >> Sent: Thursday, September 22, 2011 11:50 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Filtering with International Dates >> >> Here's what MS suggests: >> >> Function MakeUSDate(DateIn As Variant) As String >> >> ' Do nothing if the value is not a date. >> >> If Not IsDate(DateIn) Then Exit Function >> >> ' Convert the date to a U.S. Date format. >> >> MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & >> Year(DateIn) & "#" >> >> End Function >> >> I would suggest that if you're using SQL Server as an alternative BE you >> also have a function to return the proper date delimiter. >> >> Charlotte Foust >> On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin >> wrote: >> >> Dear List: >> >>> >>> Because I'm old and can't remember (and the archives are down), I was >>> told how to filter with dates so that if a user is using international >>> dates it doesn't matter. >>> >>> The following code: >>> >>> If Nz(Forms!frmPOReport!****txtGEPromisedDate) <> "" Then >>> If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " >>> strSQL = strSQL & "fldPOPromisedDate >= #" & >>> Forms!frmPOReport!****txtGEPromisedDate & "# " >>> End If >>> >>> If Nz(Forms!frmPOReport!****txtLEPromisedDate) <> "" Then >>> If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " >>> strSQL = strSQL & "fldPOPromisedDate <= #" & >>> Forms!frmPOReport!****txtLEPromisedDate & "# " >>> >>> strSQL eventually ends up in Me.Filter. >>> >>> Works good in the USA. :) Fails in Nicaragua. :( >>> >>> Was it CDate I was supposed to use? >>> >>> Sorry for the redux. >>> >>> TIA >>> >>> 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 >> >> > >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/****mailman/listinfo/accessd >> >> >> >> > >> >> >> Website: http://www.databaseadvisors. >> >> ****com >> >> > >> >> >> >> -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From accessd at shaw.ca Thu Sep 22 20:32:19 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 22 Sep 2011 18:32:19 -0700 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> <511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> Message-ID: Well, you have me at a disadvantage as I do not know what you mean? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 3:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Nope.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 5:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Does that mean Access have to be installed on the IIS server? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From steve at datamanagementsolutions.biz Thu Sep 22 20:46:46 2011 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Fri, 23 Sep 2011 13:46:46 +1200 Subject: [AccessD] Filtering with International Dates In-Reply-To: References: <8123BC58741345EF884BE7F4C21F6423@HAL9007><9FD44C573AD24BE3BA3BC91827E687F3@stevelaptop> Message-ID: <6E600A1F79A9453C9AAB7CA6A2529118@stevelaptop> Sorry, Charlotte, on this occasion I have to disagree with you. "Assumptions" doesn't come into it at all. I don't make assumptions about this stuff. I know my applications. I know whether there will be a time component in a Date/Time field, or in a criteria entered in an unbound textbox. No assumption. And if there is or could be a time component, I also know whether and how I need to deal with it. The approach to date criteria that I have mentioned to Rocky here has never come back to haunt me ... and I have used it a lot - hundreds of times. There might be a application development style consideration here. Except in very exceptional circumstances, if there is a time value, I normally have it in a separate field. Very seldom do I have a date and time combined in a single field. So the issue you raise seldom arises for me anyway. Regards Steve -----Original Message----- From: Charlotte Foust Sent: Friday, September 23, 2011 1:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates One thing I learned the hard way is that there is ALWAYS a time component, even if it's midnight. Using it on a consistent basis is a good idea because assumptions can come back to haunt you. Charlotte Foust On Thu, Sep 22, 2011 at 2:36 PM, Steve Schapel < steve at datamanagementsolutions.biz> wrote: > That's correct, Chartlotte. If there is a time component, I use CDbl. > > Regards > Steve > > -----Original Message----- From: Charlotte Foust > Sent: Friday, September 23, 2011 9:16 AM > > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Filtering with International Dates > > But a date isn't an integer of any length, so if you have times included > in > the date field, CLng would give you the wrong result. > > Charlotte Foust > > On Thu, Sep 22, 2011 at 2:08 PM, Steve Schapel < > steve at datamanagementsolutions.**biz > > wrote: > > Rocky >> >> As a person in a non-US zone, I have always used the CLng function in >> such >> circumstances. Works great. >> >> strSQL = strSQL & "fldPOPromisedDate <= " & CLng(Forms!frmPOReport!** >> txtLEPromisedDate) >> >> Regards >> Steve >> >> -----Original Message----- From: Rocky Smolin >> Sent: Friday, September 23, 2011 7:27 AM >> >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Filtering with International Dates >> >> Is that better or more reliable or more general than >> >> Format$(varDate, "\#mm\/dd\/yyyy\#")? >> >> Rocky >> >> -----Original Message----- >> From: >> accessd-bounces@**databaseadvi**sors.com >> >> >> > >> [mailto:accessd-bounces@**data**baseadvisors.com >> >> >> >] >> >> On Behalf Of Charlotte Foust >> Sent: Thursday, September 22, 2011 11:50 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Filtering with International Dates >> >> Here's what MS suggests: >> >> Function MakeUSDate(DateIn As Variant) As String >> >> ' Do nothing if the value is not a date. >> >> If Not IsDate(DateIn) Then Exit Function >> >> ' Convert the date to a U.S. Date format. >> >> MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & >> Year(DateIn) & "#" >> >> End Function >> >> I would suggest that if you're using SQL Server as an alternative BE you >> also have a function to return the proper date delimiter. >> >> Charlotte Foust >> On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin >> wrote: >> >> Dear List: >> >>> >>> Because I'm old and can't remember (and the archives are down), I was >>> told how to filter with dates so that if a user is using international >>> dates it doesn't matter. >>> >>> The following code: >>> >>> If Nz(Forms!frmPOReport!****txtGEPromisedDate) <> "" Then >>> If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " >>> strSQL = strSQL & "fldPOPromisedDate >= #" & >>> Forms!frmPOReport!****txtGEPromisedDate & "# " >>> End If >>> >>> If Nz(Forms!frmPOReport!****txtLEPromisedDate) <> "" Then >>> If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " >>> strSQL = strSQL & "fldPOPromisedDate <= #" & >>> Forms!frmPOReport!****txtLEPromisedDate & "# " >>> >>> strSQL eventually ends up in Me.Filter. >>> >>> Works good in the USA. :) Fails in Nicaragua. :( >>> >>> Was it CDate I was supposed to use? >>> >>> Sorry for the redux. >>> >>> TIA >>> >>> 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 >> >> > >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/****mailman/listinfo/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 jwcolby at colbyconsulting.com Thu Sep 22 21:31:29 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 22 Sep 2011 22:31:29 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: Message-ID: <4E7BEF81.7070607@colbyconsulting.com> > The only advantage I see to the wrapper is that you get to set a breakpoint. A little more help that that. You can add code that logs the change and the time of day, the workstation running the code or whatever you can think of that might help you troubleshoot the issue. You can add code that limits the values that can go into the variable. Perhaps the global is a date and the date should never be before D day, but somehow it is being set to the date of black friday. Perhaps it is a currency and should never be negative. Perhaps it is a long that should only be between 1000 and 10000. Perhaps it is a date that must always be between two other date variables. Properties exist because they allow you to do validations. Today (when you define the global variable) you cannot imagine that you would ever need such a thing, yet in six months you see six very good reasons. Properties can be read-only (from outside of the module) or write only (from outside of the module). Globals are just a variable that anyone can set at any time for any reason. I have lots of "globals" which can be set from inside of the module but only read from outside (through a property). These are "global" in that anything anywhere can read them, but not write them. There are lots of programmers that have thousands of variables that are global, everything in sight. There are others that have a dozen carefully selected. I have a dozen, carefully selected, but I do in fact have a dozen or so. I use a lot of class and module private variables in the header area (global to the class or module). The simple truth is that no variable should have scope beyond what is needed for that variable. Scope exists for a reason. Global would not exist if it were not occasionally necessary. Module and class "global" (private in the header of the module and class) exist because they are needed. They are still global but only to that module or class. If it were good practice to make everything global then having private keywords would be unnecessary. John W. Colby www.ColbyConsulting.com On 9/22/2011 6:40 PM, Kenneth Ismert wrote: >> Drew Wutka: >> ... >> So, even if you wrap your global variables inside of a >> class, you are still scoping an instance of that class >> globally, which makes it a global variable... > > My point exactly. The 'globals are bad' camp haven't explained how a code > wrapper that lets you change the value makes the global problem go away. > > And yes, there are common situations in Access where you want changeable > global values. > > The only advantage I see to the wrapper is that you get to set a breakpoint. > Little help when it fails in the field. > > -Ken From jwcolby at colbyconsulting.com Thu Sep 22 21:51:26 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 22 Sep 2011 22:51:26 -0400 Subject: [AccessD] SSDs and BE storage In-Reply-To: References: Message-ID: <4E7BF42E.1060602@colbyconsulting.com> The truth be known Ken I pretty much agree with the general assessment of SSDs. It is an immature technology, which you do have to study and plan for. It is not a drop in replacement for rotating media. It needs special handling. Like any other technology it has a bathtub curve wherein you are going to have failures in the first 90 days, and if you get past that point... And if you are in a position where you can afford SLC I highly recommend that. SSD is definitely a technology where the die shrink works for density but against reliability. OTOH it works against DRAM as well, yet I don't hear you railing against that. In point of fact we are rapidly getting to the point where die shrink works against most technology reliability. NASA does not send modern electronics into space precisely because high energy particles can cause significant charge displacement as the gates get so small, whereas the older technologies really did not have that issue. Servers use ECC precisely for the same reason, the gates are getting so small that they have to have safeguards against errors that were previously unheard of. So yes, I study the issues, I study the technology, I study the safeguards and I study the requirements in a way that I really don't need to do with rotating media. But I need the benefits enough to make the effort worthwhile. I used to swear by the top player and I used their product and I love the product that I bought from them two years ago. Today I have switched to another player because my old choice is not reliable (due to using 28 nm chips). I believe that long term, they will figure out how to use the 28 nm chips but today I won't use them, and there are players who agree and do not use them (yet). It is my job to know this stuff if I am going to try and use it, to know what I can use it for and what I cannot. John W. Colby www.ColbyConsulting.com On 9/22/2011 7:57 PM, Kenneth Ismert wrote: > I'm sorry that you felt my remarks were unkind. You have done your own > research, and have taken steps to mitigate the risks by limiting how your > SSDs are used. And you are planning for failure with a robust backup scheme > using traditional HDDs. > > Still, my first experience with an SSD out of the box was that the firmware > had a critical bug, which required an update that wasn't available, because > the maker needed a lot of time to test the revision. It seems likely that > the real cause is that the drive, being a consumer level product, didn't > have enough capacitance built-in to shut down gracefully during a power > outage. Maybe we made a poor choice, but the device was from a dominant > player in the industry. Not a confidence builder. > > Also, some of your own comments don't bolster your overall glowing > endorsement. To wit: the SSD's with the 34 micron chips are good but the new > 28 micron chips are bad? That sounds like caveat emptor to me. Problems with > scaling down and firmware issues sound to me like indicators of a technology > that is still not mature enough to be suitable as drop-in replacements for > HDDs in a broad range of server applications. > > And yes, the one source I quoted does sound like a guy fishing for > consulting work, but you conveniently neglected to criticize my other > reference, who said things more central to my point, and who seems more > credible. > > Certainly, the technology will mature, and adoption rates will climb. > Operating systems that optimize for SSDs will become more popular. Right > now, for our server installation, I'm content to wait it out. > > -Ken From rockysmolin at bchacc.com Thu Sep 22 22:17:04 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 22 Sep 2011 20:17:04 -0700 Subject: [AccessD] Filtering with International Dates In-Reply-To: References: <8123BC58741345EF884BE7F4C21F6423@HAL9007><96BC5E0E427B4876AB655C25A90D0C21@HAL9007> Message-ID: <6C72CCBD694243A09AF4AF68C9080368@HAL9007> What happens if you use CDbl on a date string with no time? R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Thursday, September 22, 2011 3:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Yes, Rocky, it always works. A proviso I think is that if you are using an unbound textbox to gather your date criteria, and then referring to that textbox in your code (Me.MyTextbox or Forms!MyForm!MyTextbox), the textbox's Format property should be set to a valid date format. Yes, if you need to cater to a time component (in my experience this is very rare in the type of circumstance you described), then you need to make sure you write your code accordingly, but that is also very easy. Regards Steve -----Original Message----- From: Rocky Smolin Sent: Friday, September 23, 2011 10:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Filtering with International Dates Cool. That would seem to be pretty universal then regardless of source format? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Thursday, September 22, 2011 2:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Rocky As a person in a non-US zone, I have always used the CLng function in such circumstances. Works great. strSQL = strSQL & "fldPOPromisedDate <= " & CLng(Forms!frmPOReport!txtLEPromisedDate) Regards Steve -----Original Message----- From: Rocky Smolin Sent: Friday, September 23, 2011 7:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Filtering with International Dates Is that better or more reliable or more general than Format$(varDate, "\#mm\/dd\/yyyy\#")? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, September 22, 2011 11:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Here's what MS suggests: Function MakeUSDate(DateIn As Variant) As String ' Do nothing if the value is not a date. If Not IsDate(DateIn) Then Exit Function ' Convert the date to a U.S. Date format. MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & Year(DateIn) & "#" End Function I would suggest that if you're using SQL Server as an alternative BE you also have a function to return the proper date delimiter. Charlotte Foust On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin wrote: > Dear List: > > Because I'm old and can't remember (and the archives are down), I was > told how to filter with dates so that if a user is using international > dates it doesn't matter. > > The following code: > > If Nz(Forms!frmPOReport!txtGEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate >= #" & > Forms!frmPOReport!txtGEPromisedDate & "# " > End If > > If Nz(Forms!frmPOReport!txtLEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate <= #" & > Forms!frmPOReport!txtLEPromisedDate & "# " > > strSQL eventually ends up in Me.Filter. > > Works good in the USA. :) Fails in Nicaragua. :( > > Was it CDate I was supposed to use? > > Sorry for the redux. > > TIA > > 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Thu Sep 22 22:35:06 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 22 Sep 2011 23:35:06 -0400 Subject: [AccessD] MySQL is broke now In-Reply-To: <57B14928257044BB86837DCA8EF3102B@creativesystemdesigns.com> References: <4E7B9282.5060606@colbyconsulting.com> <57B14928257044BB86837DCA8EF3102B@creativesystemdesigns.com> Message-ID: <4E7BFE6A.1060006@colbyconsulting.com> Well, I did an uninstall and reinstall and now I am able to connect to the MYSql server from outside of the VM, using the Hamachi IP, root and the password. Unfortunately from inside of the vm I still cannot get WampServer to talk to the server. It still gives me an error message about the username or password being wrong - (using password: No). I set the password in the phpmyadmin init file but no joy. What I have discovered is that when running MySQL as a service, wampserver will not start correctly. If I stop MySQL service, wampserver now starts (though it still cannot connect to MySQL) but it is now green instead of orange. however with Wampserver started MySQL service will not start. quitting wampserver allows the MySQL Service to start again. The bottom line is that I can now get at MySQL from outside of the VM with the service startwd, which I could not do with the service not started. I need access from outside of the vm, so i guess (for now) I just give up on wampserver. Sigh. John W. Colby www.ColbyConsulting.com On 9/22/2011 6:04 PM, Jim Lawrence wrote: > Post a message on OT_SQL...Hans will help you. ;-) > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, September 22, 2011 12:55 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] MySQL is broke now > > The service never ran. I did some stuff including modifying my.ini to add > federated. > > Doing that stopped the error log being generated but the service still would > not start. I found > something that discusses deleting the service (which worked) but the thing > that adds the service > does not work. > > My windows paste buffer is not working between my VM and my laptop so the > following is just typed in. > > The line is: > > mysql --install MySQL --defaults-file="C:\Program Files\MySQL\MySQL Server > 5.5\My.Ini" > > This does in fact add a line to the services but the problem is that the > service thinks that > MySQLd.exe is in thesame location as that my.ini whereas it is in fact down > in a bin under that dir. > > I.e. the "path to executable" is looking for the MySQLD.exe in the wrong > place and thus cannot be > started. > > This is getting annoying. I have been trying various things for hours and > just cannot get MySQL to > run as a service and now the entry in the service table (or registry?) is > corrupted. > > Sigh. > From steve at datamanagementsolutions.biz Fri Sep 23 00:19:10 2011 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Fri, 23 Sep 2011 17:19:10 +1200 Subject: [AccessD] Filtering with International Dates In-Reply-To: <6C72CCBD694243A09AF4AF68C9080368@HAL9007> References: <8123BC58741345EF884BE7F4C21F6423@HAL9007><96BC5E0E427B4876AB655C25A90D0C21@HAL9007> <6C72CCBD694243A09AF4AF68C9080368@HAL9007> Message-ID: <4FE12949B2B744C3B2A4694407272292@stevelaptop> Yes, Rocky, you could use CDbl in all cases, if you wanted a "catchall" >From Immediate Window: ? CLng(Date()) 40809 ? CDbl(Date()) 40809 ? CLng(Now()) 40810 (it's afternoon here - as identified by Stuart) ? CDbl(Now()) 40809.7191203704 Regards Steve -----Original Message----- From: Rocky Smolin Sent: Friday, September 23, 2011 3:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Filtering with International Dates What happens if you use CDbl on a date string with no time? R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Thursday, September 22, 2011 3:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Yes, Rocky, it always works. A proviso I think is that if you are using an unbound textbox to gather your date criteria, and then referring to that textbox in your code (Me.MyTextbox or Forms!MyForm!MyTextbox), the textbox's Format property should be set to a valid date format. Yes, if you need to cater to a time component (in my experience this is very rare in the type of circumstance you described), then you need to make sure you write your code accordingly, but that is also very easy. Regards Steve -----Original Message----- From: Rocky Smolin Sent: Friday, September 23, 2011 10:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Filtering with International Dates Cool. That would seem to be pretty universal then regardless of source format? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Thursday, September 22, 2011 2:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Rocky As a person in a non-US zone, I have always used the CLng function in such circumstances. Works great. strSQL = strSQL & "fldPOPromisedDate <= " & CLng(Forms!frmPOReport!txtLEPromisedDate) Regards Steve -----Original Message----- From: Rocky Smolin Sent: Friday, September 23, 2011 7:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Filtering with International Dates Is that better or more reliable or more general than Format$(varDate, "\#mm\/dd\/yyyy\#")? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, September 22, 2011 11:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Here's what MS suggests: Function MakeUSDate(DateIn As Variant) As String ' Do nothing if the value is not a date. If Not IsDate(DateIn) Then Exit Function ' Convert the date to a U.S. Date format. MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & Year(DateIn) & "#" End Function I would suggest that if you're using SQL Server as an alternative BE you also have a function to return the proper date delimiter. Charlotte Foust On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin wrote: > Dear List: > > Because I'm old and can't remember (and the archives are down), I was > told how to filter with dates so that if a user is using international > dates it doesn't matter. > > The following code: > > If Nz(Forms!frmPOReport!txtGEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate >= #" & > Forms!frmPOReport!txtGEPromisedDate & "# " > End If > > If Nz(Forms!frmPOReport!txtLEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate <= #" & > Forms!frmPOReport!txtLEPromisedDate & "# " > > strSQL eventually ends up in Me.Filter. > > Works good in the USA. :) Fails in Nicaragua. :( > > Was it CDate I was supposed to use? > > Sorry for the redux. > > TIA > > 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 mwp.reid at qub.ac.uk Fri Sep 23 02:24:03 2011 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 23 Sep 2011 08:24:03 +0100 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> <511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> Message-ID: <631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> Jim Put only the mdb file on the web server running IIS and you should be Ok to go. You do not need to install office or Access on the web server for it to work. Martin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: 23 September 2011 02:32 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Well, you have me at a disadvantage as I do not know what you mean? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 3:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Nope.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 5:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Does that mean Access have to be installed on the IIS server? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Sep 23 05:11:26 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 23 Sep 2011 12:11:26 +0200 Subject: [AccessD] Filtering with International Dates Message-ID: Hi Rocky You are a clever man not to be fooled! There really is no reason to convert dates to numerals. If you can use the date value, use it as is, if not - as often when you build SQL strings - convert it to a proper string expression. The proven method is to use Format and the ISO format: Format(somedatetime, "yyyy\/mm\/dd hh\:nn\:ss") For JET SQL this must be wrapped in #..#, for SQL Server it is single quotes '..' You may get away with using the US mm/dd/yyyy format but it will fail for ADO and FindFirst, thus you can just as well make it a habit to use the ISO format which now is the preferred for SQL Server as well. If you need to cut off a time part to obtain the date part only, a safe and the fastest method is Fix: Fix(somedatetime) because it: - works correctly for dates prior to 1899-12-30 - returns data type date - always rounds off - is native to SQL The use of CDbl or CLng is not very useful. CDbl just returns the underlying data type (Double) of data type Date so you should CDate instead, and CLng will round PM time parts incorrectly, and they both fail for a clean string input like "5/3/2005" which CDate does not. If you need to convert strings to date and time, use CDate for time expressions or to include a time part with a date, or DateValue for dates where the time part should be excluded. When to use date value and when a string expression for a date value is quite simple. When a function is used in SQL, it should return a date value; when you build a SQL string it must be a string expression. Thus, as mentioned by Stuart, this will work because CDate and DateValue (and TimeValue) understands a string formatted as the local settings of Windows: "where [datefield] = Datevalue('" & txtDate & "')" as will this: "where [datefield] = #" & Format(DateValue(txtDate), "yyyy\/mm\/dd") & "#" which, as Format - when using a date format - will try to read the value to format as a date, can be reduced to: "where [datefield] = #" & Format(txtDate, "yyyy\/mm\/dd") & "#" /gustav >>> rockysmolin at bchacc.com 23-09-2011 05:17 >>> What happens if you use CDbl on a date string with no time? R From rockysmolin at bchacc.com Fri Sep 23 07:35:36 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 23 Sep 2011 05:35:36 -0700 Subject: [AccessD] Filtering with International Dates In-Reply-To: References: Message-ID: <6EFC52761EBA4B339988DC086520C56C@HAL9007> Gustav: Dang - it's like taking a class. :) I found this on the web as you suggest: Format$(Forms!frmPOReport!txtGEPromisedDate, "\#mm\/dd\/yyyy\#") (Don't know why the $ after Format but it compiles OK) And it seems to work. But I have to comb through my manufacturing app now - which is a very date driven app, lots of reports where I give the user the option to filter by date - and change those occurrences to something which will be as bulletproof as possible. It looks like that's the best approach in your opinion? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, September 23, 2011 3:11 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Filtering with International Dates Hi Rocky You are a clever man not to be fooled! There really is no reason to convert dates to numerals. If you can use the date value, use it as is, if not - as often when you build SQL strings - convert it to a proper string expression. The proven method is to use Format and the ISO format: Format(somedatetime, "yyyy\/mm\/dd hh\:nn\:ss") For JET SQL this must be wrapped in #..#, for SQL Server it is single quotes '..' You may get away with using the US mm/dd/yyyy format but it will fail for ADO and FindFirst, thus you can just as well make it a habit to use the ISO format which now is the preferred for SQL Server as well. If you need to cut off a time part to obtain the date part only, a safe and the fastest method is Fix: Fix(somedatetime) because it: - works correctly for dates prior to 1899-12-30 - returns data type date - always rounds off - is native to SQL The use of CDbl or CLng is not very useful. CDbl just returns the underlying data type (Double) of data type Date so you should CDate instead, and CLng will round PM time parts incorrectly, and they both fail for a clean string input like "5/3/2005" which CDate does not. If you need to convert strings to date and time, use CDate for time expressions or to include a time part with a date, or DateValue for dates where the time part should be excluded. When to use date value and when a string expression for a date value is quite simple. When a function is used in SQL, it should return a date value; when you build a SQL string it must be a string expression. Thus, as mentioned by Stuart, this will work because CDate and DateValue (and TimeValue) understands a string formatted as the local settings of Windows: "where [datefield] = Datevalue('" & txtDate & "')" as will this: "where [datefield] = #" & Format(DateValue(txtDate), "yyyy\/mm\/dd") & "#" which, as Format - when using a date format - will try to read the value to format as a date, can be reduced to: "where [datefield] = #" & Format(txtDate, "yyyy\/mm\/dd") & "#" /gustav >>> rockysmolin at bchacc.com 23-09-2011 05:17 >>> What happens if you use CDbl on a date string with no time? R -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Sep 23 07:59:07 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 23 Sep 2011 14:59:07 +0200 Subject: [AccessD] Filtering with International Dates Message-ID: Hi Rocky Yes, that will work. It will return #09/23/2011# for today. I've never noticed any difference between Format and Format$ (and all the other old BASIC string handling functions with or without a trailing $). SomeFunction$ is claimed to always return a string, but I've never found, say, Trim to return anything else than a string. Maybe it is just to be compatible with old QBasic or similar. /gustav >>> rockysmolin at bchacc.com 23-09-2011 14:35 >>> Gustav: Dang - it's like taking a class. :) I found this on the web as you suggest: Format$(Forms!frmPOReport!txtGEPromisedDate, "\#mm\/dd\/yyyy\#") (Don't know why the $ after Format but it compiles OK) And it seems to work. But I have to comb through my manufacturing app now - which is a very date driven app, lots of reports where I give the user the option to filter by date - and change those occurrences to something which will be as bulletproof as possible. It looks like that's the best approach in your opinion? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, September 23, 2011 3:11 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Filtering with International Dates Hi Rocky You are a clever man not to be fooled! There really is no reason to convert dates to numerals. If you can use the date value, use it as is, if not - as often when you build SQL strings - convert it to a proper string expression. The proven method is to use Format and the ISO format: Format(somedatetime, "yyyy\/mm\/dd hh\:nn\:ss") For JET SQL this must be wrapped in #..#, for SQL Server it is single quotes '..' You may get away with using the US mm/dd/yyyy format but it will fail for ADO and FindFirst, thus you can just as well make it a habit to use the ISO format which now is the preferred for SQL Server as well. If you need to cut off a time part to obtain the date part only, a safe and the fastest method is Fix: Fix(somedatetime) because it: - works correctly for dates prior to 1899-12-30 - returns data type date - always rounds off - is native to SQL The use of CDbl or CLng is not very useful. CDbl just returns the underlying data type (Double) of data type Date so you should CDate instead, and CLng will round PM time parts incorrectly, and they both fail for a clean string input like "5/3/2005" which CDate does not. If you need to convert strings to date and time, use CDate for time expressions or to include a time part with a date, or DateValue for dates where the time part should be excluded. When to use date value and when a string expression for a date value is quite simple. When a function is used in SQL, it should return a date value; when you build a SQL string it must be a string expression. Thus, as mentioned by Stuart, this will work because CDate and DateValue (and TimeValue) understands a string formatted as the local settings of Windows: "where [datefield] = Datevalue('" & txtDate & "')" as will this: "where [datefield] = #" & Format(DateValue(txtDate), "yyyy\/mm\/dd") & "#" which, as Format - when using a date format - will try to read the value to format as a date, can be reduced to: "where [datefield] = #" & Format(txtDate, "yyyy\/mm\/dd") & "#" /gustav >>> rockysmolin at bchacc.com 23-09-2011 05:17 >>> What happens if you use CDbl on a date string with no time? R From accessd at shaw.ca Fri Sep 23 11:08:18 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 23 Sep 2011 09:08:18 -0700 Subject: [AccessD] MS Access with IIS In-Reply-To: <631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> <511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> <631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> Message-ID: Martin: Thanks for that. I am just use to installing a database before being able to use its resources so it does seem strange. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, September 23, 2011 12:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Jim Put only the mdb file on the web server running IIS and you should be Ok to go. You do not need to install office or Access on the web server for it to work. Martin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: 23 September 2011 02:32 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Well, you have me at a disadvantage as I do not know what you mean? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 3:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Nope.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 5:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Does that mean Access have to be installed on the IIS server? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Sep 23 11:55:04 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 23 Sep 2011 12:55:04 -0400 Subject: [AccessD] MySQL: First table migrated (sorta) Message-ID: <4E7CB9E8.7070403@colbyconsulting.com> I used method 2 of this: http://25yearsofprogramming.com/blog/2010/20100718.htm to migrate my first table from Access to MySQL. It created the table structure and moved the data. Very cool. I am not yet even minimally conversant in any MySQL environment that allows me to see / modify the structure in a gui so I am flying blind. I had high hopes for Wampserver but there are a few things to figure out there before I will be able to use that. Anyway, this method did not make the PKID a key. I am not yet able to see the data types, whether it made the PKID an autoincrement, whether it will pick up on the next number and so forth, but the data moved and that all by itself is huge. -- John W. Colby www.ColbyConsulting.com From delam at zyterra.com Fri Sep 23 13:39:21 2011 From: delam at zyterra.com (Debbie) Date: Fri, 23 Sep 2011 13:39:21 -0500 Subject: [AccessD] OT: Excel Question Message-ID: <766DD8D0-7FA9-45BA-8643-1B8D315B08E1@zyterra.com> I have a database pushing data out to an Excel 2007 template. From this data I am creating a variety of graphs that are stored in the template. Everything works fine except the relative scales on 2 of the graphs. They are side by side and the customer is adamant that the top and bottom line up. This seems really easy, but it is not. One graph has a dynamic y axis because the values can vary a lot. When they do vary, the whole chart area will change height just a bit. Is there a way to fix the total chart height, while still allowing the y axis to automatically determine the best tick marks and scaling within that area? Debbie Sent from my iPhone From DWUTKA at Marlow.com Fri Sep 23 14:52:29 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Fri, 23 Sep 2011 14:52:29 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: Message-ID: Ah, but the 'fails in the field' issue is a TOTALLY separate issue. A global variable will ONLY fail in the SAME way that a modular or procedural variable will. Let's see, what are the 'fail' issues with global variables? #1. 'A global variable can be changed from anywhere.... so it could get a bad value'. Really? So let's look at a procedural variable: Sub Main() Dim x as Long X=1+5 X=0 Msgbox 10/x End Sub Holy Division by Zero Batman. We just 'broke' a procedural variable! Darn it, no more using those!!! We could also try to set X="Hello", again, fail. A variable is a representation of something, whether it is an object, or a value. If we do not know how to handle that representation, it isn't a matter of scope, it's a matter of technique. #2. 'Ambiguous Name'.... Ok, this should really be a no brainer....ummmmm Naming Convetions? #3. A hard stop will clear a Global Variable's value...... - Ok, first, this only applies to VBA, not VB or .Net. Stopping the code in those platforms ends the program. -Next, it also clears the values of modular and procedural variables. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Thursday, September 22, 2011 5:40 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Global Vars (was Ambiguous Name) > Drew Wutka: > ... > So, even if you wrap your global variables inside of a class, you are > still scoping an instance of that class globally, which makes it a > global variable... My point exactly. The 'globals are bad' camp haven't explained how a code wrapper that lets you change the value makes the global problem go away. And yes, there are common situations in Access where you want changeable global values. The only advantage I see to the wrapper is that you get to set a breakpoint. Little help when it fails in the field. -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Fri Sep 23 14:55:39 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Fri, 23 Sep 2011 14:55:39 -0500 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com><511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> Message-ID: Accessing an .mdb on a web server (like IIS) is identical to accessing the .mdb from your programming interface itself. For example, if you want to use classic ASP, then you are using VBScript, and VBScript can access an .mdb using ADO. Now, years ago, I believe you had to install ADO separately, but I think since XP, that ADO is included, not 100% positive on that. If you are using .Net, (ie, ASP.Net), then you have the .Net runtimes installed on the server. What platform are you using to program with, and I can point you in a better direction. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 8:32 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Well, you have me at a disadvantage as I do not know what you mean? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 3:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Nope.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 5:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Does that mean Access have to be installed on the IIS server? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Fri Sep 23 15:03:21 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Fri, 23 Sep 2011 15:03:21 -0500 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com><511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com><631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> Message-ID: Oh, LOL, I see where you disconnect is. Ya, after dealing with a server side db, I can see where back stepping to an .mdb would seem foreign. Susan and I co-wrote an article about using an Access .mdb on IIS. If you can deal with the size limit. The lack of triggers and transaction logging. AND most importantly, if you can properly index it, and realize that your tables should be well normalized, because you aren't going to get the same optimization out of a saved query in an .mdb that you are going to get in 'view' in SQL Server, then an .mdb is a pretty formidable database system residing on a web server. Our Intranet here at work is riddled with .mdb's running in the back ground. NEVER corrupt. Never have problems with the databases themselves. In fact, for a while, I was using an .mdb to log the IIS transactions, but that fills up 2 gigs in a heart beat.... only issue was the size, no performance degradation noticeable, and it ran like a champ. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, September 23, 2011 11:08 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Martin: Thanks for that. I am just use to installing a database before being able to use its resources so it does seem strange. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, September 23, 2011 12:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Jim Put only the mdb file on the web server running IIS and you should be Ok to go. You do not need to install office or Access on the web server for it to work. Martin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: 23 September 2011 02:32 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Well, you have me at a disadvantage as I do not know what you mean? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 3:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Nope.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 5:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Does that mean Access have to be installed on the IIS server? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From fuller.artful at gmail.com Fri Sep 23 15:04:50 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 23 Sep 2011 16:04:50 -0400 Subject: [AccessD] MySQL: First table migrated (sorta) In-Reply-To: <4E7CB9E8.7070403@colbyconsulting.com> References: <4E7CB9E8.7070403@colbyconsulting.com> Message-ID: Grab MySQLWorkbench from the MySQL site. If that doesn't suit your fancy, there are alternatives. Just Google MySQL UI. HTH, Arthur From fuller.artful at gmail.com Fri Sep 23 15:08:29 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 23 Sep 2011 16:08:29 -0400 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> <511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> <631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> Message-ID: I keep hearing about corrupted MDBs but in at least a decade of working with Access, this has never happened to me. Now that I've said that, it will probably happen tomorrow, so I'm immediately going to do a huge backup! Arthur From jwcolby at colbyconsulting.com Fri Sep 23 15:16:01 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 23 Sep 2011 16:16:01 -0400 Subject: [AccessD] MySQL: First table migrated (sorta) In-Reply-To: References: <4E7CB9E8.7070403@colbyconsulting.com> Message-ID: <4E7CE901.6090400@colbyconsulting.com> > Grab MySQLWorkbench from the MySQL site. I have this. John W. Colby www.ColbyConsulting.com On 9/23/2011 4:04 PM, Arthur Fuller wrote: > Grab MySQLWorkbench from the MySQL site. If that doesn't suit your fancy, > there are alternatives. Just Google MySQL UI. > > HTH, > Arthur From delam at zyterra.com Fri Sep 23 15:24:26 2011 From: delam at zyterra.com (Debbie) Date: Fri, 23 Sep 2011 15:24:26 -0500 Subject: [AccessD] OT: Excel Question In-Reply-To: <766DD8D0-7FA9-45BA-8643-1B8D315B08E1@zyterra.com> References: <766DD8D0-7FA9-45BA-8643-1B8D315B08E1@zyterra.com> Message-ID: I managed to answer my own question. There is a very inobvious menu to do this and tell it not to resize or move with data changes. Sadly it is the sort of thing that can be demonstrated, but really hard to describe, so I am not sure I can contribute the solution to the archives. Debbie Sent from my iPhone On Sep 23, 2011, at 1:39 PM, Debbie wrote: > I have a database pushing data out to an Excel 2007 template. From > this data I am creating a variety of graphs that are stored in the > template. > > Everything works fine except the relative scales on 2 of the graphs. > They are side by side and the customer is adamant that the top and > bottom line up. This seems really easy, but it is not. One graph has > a dynamic y axis because the values can vary a lot. When they do > vary, the whole chart area will change height just a bit. > > Is there a way to fix the total chart height, while still allowing > the y axis to automatically determine the best tick marks and > scaling within that area? > > Debbie > > Sent from my iPhone > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri Sep 23 15:37:48 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 23 Sep 2011 13:37:48 -0700 Subject: [AccessD] OT: Excel Question In-Reply-To: <766DD8D0-7FA9-45BA-8643-1B8D315B08E1@zyterra.com> References: <766DD8D0-7FA9-45BA-8643-1B8D315B08E1@zyterra.com> Message-ID: <48B855C8E3374DA4A43498380A97156B@HAL9007> Are you asking to fix it from the VBA in the Access mdb? If so, I've been able to automate everything in Excel from Access by recording a macro in Excel to do what I want and then cribbing the Excel code into the Access module. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Debbie Sent: Friday, September 23, 2011 11:39 AM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Excel Question I have a database pushing data out to an Excel 2007 template. From this data I am creating a variety of graphs that are stored in the template. Everything works fine except the relative scales on 2 of the graphs. They are side by side and the customer is adamant that the top and bottom line up. This seems really easy, but it is not. One graph has a dynamic y axis because the values can vary a lot. When they do vary, the whole chart area will change height just a bit. Is there a way to fix the total chart height, while still allowing the y axis to automatically determine the best tick marks and scaling within that area? Debbie Sent from my iPhone -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kismert at gmail.com Fri Sep 23 15:40:36 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Fri, 23 Sep 2011 15:40:36 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) Message-ID: > Drew Wutka: > A global variable will ONLY fail in the SAME way that a modular or > procedural variable will. > ... > #1. 'A global variable can be changed from anywhere.... so it could get > a bad value'. Really? So let's look at a procedural variable: > ... > Holy Division by Zero Batman. We just 'broke' a procedural variable! ... > You're right, but for one TINY difference ... in your procedural example, you can raise an error up the call chain, and immediately finger the bad actor. In all of the global parameter schemes put forth so far, you don't get that. The failure chain is: 1. Good actor sets global. Time goes past... 2. Bad actor changes global to a 'bad' value, which is accepted without error... 3. Other actor uses global -- BAM! BIF! POW! error. But who did the dirty deed? You can't easily tell. This is the crux of the 'globals are bad' arguement. Without knowing WHO made each change, you're stuck with a tedious debugging mess. But again, talking to the 'globals are bad' camp, I say your solutions so far don't solve the problem. How do you propose fixing the problem? -Ken From jwcolby at colbyconsulting.com Fri Sep 23 15:49:59 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 23 Sep 2011 16:49:59 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: Message-ID: <4E7CF0F7.4050501@colbyconsulting.com> >How do you propose fixing the problem? 1) primarily by limiting the number of globals so that there are fewer for bad actors to modify. 2) By wrapping them in property statements so that they can be easily modified to perform checks. 3) By making them a property of the module which needs to set it (if it is only modified by one "thing") and making the property read-only to the rest. There is no magic answer, just a variety of techniques to make the problem smaller and smaller. John W. Colby www.ColbyConsulting.com On 9/23/2011 4:40 PM, Kenneth Ismert wrote: >> Drew Wutka: >> A global variable will ONLY fail in the SAME way that a modular or >> procedural variable will. >> ... >> #1. 'A global variable can be changed from anywhere.... so it could get >> a bad value'. Really? So let's look at a procedural variable: >> ... >> Holy Division by Zero Batman. We just 'broke' a procedural variable! ... >> > > You're right, but for one TINY difference ... in your procedural example, > you can raise an error up the call chain, and immediately finger the bad > actor. > > In all of the global parameter schemes put forth so far, you don't get that. > The failure chain is: > 1. Good actor sets global. Time goes past... > 2. Bad actor changes global to a 'bad' value, which is accepted without > error... > 3. Other actor uses global -- BAM! BIF! POW! error. > > But who did the dirty deed? You can't easily tell. This is the crux of the > 'globals are bad' arguement. > > Without knowing WHO made each change, you're stuck with a tedious debugging > mess. > > But again, talking to the 'globals are bad' camp, I say your solutions so > far don't solve the problem. How do you propose fixing the problem? > > -Ken From delam at zyterra.com Fri Sep 23 15:51:29 2011 From: delam at zyterra.com (Debbie) Date: Fri, 23 Sep 2011 15:51:29 -0500 Subject: [AccessD] OT: Excel Question In-Reply-To: <48B855C8E3374DA4A43498380A97156B@HAL9007> References: <766DD8D0-7FA9-45BA-8643-1B8D315B08E1@zyterra.com> <48B855C8E3374DA4A43498380A97156B@HAL9007> Message-ID: <1E0FC6BB-EFBC-4008-B581-26771FC3115F@zyterra.com> I do that myself all the time. Trouble is I couldn't find how to do it in Excel. Until I found that, there was no macro to record and no code to crib. Debbie Sent from my iPhone On Sep 23, 2011, at 3:37 PM, "Rocky Smolin" wrote: > Are you asking to fix it from the VBA in the Access mdb? If so, I've > been > able to automate everything in Excel from Access by recording a > macro in > Excel to do what I want and then cribbing the Excel code into the > Access > module. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Debbie > Sent: Friday, September 23, 2011 11:39 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] OT: Excel Question > > I have a database pushing data out to an Excel 2007 template. From > this data > I am creating a variety of graphs that are stored in the template. > > Everything works fine except the relative scales on 2 of the graphs. > They are side by side and the customer is adamant that the top and > bottom > line up. This seems really easy, but it is not. One graph has a > dynamic y > axis because the values can vary a lot. When they do vary, the whole > chart > area will change height just a bit. > > Is there a way to fix the total chart height, while still allowing > the y > axis to automatically determine the best tick marks and scaling > within that > area? > > Debbie > > Sent from my iPhone > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Fri Sep 23 15:52:12 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Fri, 23 Sep 2011 15:52:12 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) Message-ID: Good advice. The points I want to emphasize are: * Write privately, read publicly is inherently safer scheme than globals anybody can change * A small number of carefully defined globals are much more managable than the practice of indescriminately using globals by default * Coding for the smallest scope possible, while indisputably good practice, is also a good way to limit the harm abuse of globals can cause -Ken jwcolby: > > The only advantage I see to the wrapper is that you get to set a > breakpoint. > > A little more help that that. You can add code that logs the change and > the time of day, the workstation running the code or whatever you can think > of that might help you troubleshoot the issue. > > You can add code that limits the values that can go into the variable. > Perhaps the global is a date and the date should never be before D day, but > somehow it is being set to the date of black friday. Perhaps it is a > currency and should never be negative. Perhaps it is a long that should > only be between 1000 and 10000. Perhaps it is a date that must always be > between two other date variables. > > Properties exist because they allow you to do validations. Today (when you > define the global variable) you cannot imagine that you would ever need such > a thing, yet in six months you see six very good reasons. > > Properties can be read-only (from outside of the module) or write only > (from outside of the module). Globals are just a variable that anyone can > set at any time for any reason. > > I have lots of "globals" which can be set from inside of the module but > only read from outside (through a property). These are "global" in that > anything anywhere can read them, but not write them. > > There are lots of programmers that have thousands of variables that are > global, everything in sight. There are others that have a dozen carefully > selected. I have a dozen, carefully selected, but I do in fact have a dozen > or so. I use a lot of class and module private variables in the header area > (global to the class or module). > > The simple truth is that no variable should have scope beyond what is > needed for that variable. Scope exists for a reason. Global would not exist > if it were not occasionally necessary. Module and class "global" (private > in the header of the module and class) exist because they are needed. They > are still global but only to that module or class. If it were good practice > to make everything global then having private keywords would be unnecessary. > > John W. Colby > www.ColbyConsulting.com > > From accessd at shaw.ca Fri Sep 23 17:49:45 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 23 Sep 2011 15:49:45 -0700 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> <511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> Message-ID: Drew: Server 2003 Developers edition with IIS version 6, fully tricked out, runs ASP classic as well as a number of databases protocols and Extensions etc. TIA Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Friday, September 23, 2011 12:56 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Accessing an .mdb on a web server (like IIS) is identical to accessing the .mdb from your programming interface itself. For example, if you want to use classic ASP, then you are using VBScript, and VBScript can access an .mdb using ADO. Now, years ago, I believe you had to install ADO separately, but I think since XP, that ADO is included, not 100% positive on that. If you are using .Net, (ie, ASP.Net), then you have the .Net runtimes installed on the server. What platform are you using to program with, and I can point you in a better direction. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 8:32 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Well, you have me at a disadvantage as I do not know what you mean? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 3:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Nope.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 5:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Does that mean Access have to be installed on the IIS server? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 23 18:02:53 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 23 Sep 2011 16:02:53 -0700 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> <511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> <631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> Message-ID: Drew: Unfortunately, I have little wiggle room. This project is a client's long time baby and they require someone to fix up the interface and to just leave the backend alone. He has no budget or concept of web designing and he really wants to help. So he can save money...yeah. :-( I swore I would never get involved with this type of site but he begged and pulled every favour and I relented. No good deed ever goes unpunished. Now I have to get it running on my development server before proceeding...and I would like to know what I am facing before the clock starts running...or in this case walking. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Friday, September 23, 2011 1:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Oh, LOL, I see where you disconnect is. Ya, after dealing with a server side db, I can see where back stepping to an .mdb would seem foreign. Susan and I co-wrote an article about using an Access .mdb on IIS. If you can deal with the size limit. The lack of triggers and transaction logging. AND most importantly, if you can properly index it, and realize that your tables should be well normalized, because you aren't going to get the same optimization out of a saved query in an .mdb that you are going to get in 'view' in SQL Server, then an .mdb is a pretty formidable database system residing on a web server. Our Intranet here at work is riddled with .mdb's running in the back ground. NEVER corrupt. Never have problems with the databases themselves. In fact, for a while, I was using an .mdb to log the IIS transactions, but that fills up 2 gigs in a heart beat.... only issue was the size, no performance degradation noticeable, and it ran like a champ. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, September 23, 2011 11:08 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Martin: Thanks for that. I am just use to installing a database before being able to use its resources so it does seem strange. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, September 23, 2011 12:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Jim Put only the mdb file on the web server running IIS and you should be Ok to go. You do not need to install office or Access on the web server for it to work. Martin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: 23 September 2011 02:32 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Well, you have me at a disadvantage as I do not know what you mean? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 3:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Nope.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 5:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Does that mean Access have to be installed on the IIS server? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Sat Sep 24 06:28:02 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 24 Sep 2011 07:28:02 -0400 Subject: [AccessD] SSDs and BE storage In-Reply-To: <4E7BF42E.1060602@colbyconsulting.com> References: <4E7BF42E.1060602@colbyconsulting.com> Message-ID: <000001cc7aad$05d94e00$118bea00$@net> I just saw this on Amazon.com - Seagate is making a Momentus hard drive and they are branding it as a "hybrid" - somewhere in between an SSD and a standard spinning platter hard drive. Reviews are very good....and the price is right : $100 for 500 gigs. http://www.amazon.com/Seagate-Momentus-7200RPM-Hybrid-ST95005620AS-Bare/dp/B 003NSBF32/ref=sr_1_1?s=electronics&ie=UTF8&qid=1316863239&sr=1-1 From shamil at smsconsulting.spb.ru Sat Sep 24 07:04:51 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 24 Sep 2011 16:04:51 +0400 Subject: [AccessD] OT: OpenXML SDK 2.0, MS SharePoint Word & Excel Automation Services etc. Message-ID: <92C501A9AFDE4B50B0117108E43F1BBF@nant> Hi All -- I wonder does anybody here uses subj? Here are some useful links: Open XML SDK + Word Automation Services Presentation at PDC (if you'll watch this presentation don't miss the info on Open XML SDK tools presented approximately in the middle of this presentation - it's rather impressive): http://blogs.msdn.com/b/brian_jones/archive/2009/11/23/open-xml-sdk-word-aut omation-services-presentation-at-pdc.aspx Folks asking MS to not bind Word Automation services to MS SharePoint: http://social.msdn.microsoft.com/Forums/en-US/oxmlsdk/thread/f0f09c56-fb41-4 43c-909d-ee467fec7d12 My question: do you know if MS Word Automation Services can be hosted together with MS SharePoint hosting? http://mosshosting.asphostportal.com/?p=252 FYI: Rather pricey alternative solution for "Automation-free" MS Word, Excel etc. documents creating and manipulation - third-party .NET class library: "ASPOSE.Total for .NET" http://www.aspose.com/categories/.net-components/aspose.total-for-.net/defau lt.aspx Thank you. -- Shamil From jwcolby at colbyconsulting.com Sat Sep 24 07:16:09 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Sep 2011 08:16:09 -0400 Subject: [AccessD] SSDs and BE storage In-Reply-To: <000001cc7aad$05d94e00$118bea00$@net> References: <4E7BF42E.1060602@colbyconsulting.com> <000001cc7aad$05d94e00$118bea00$@net> Message-ID: <4E7DCA09.8020908@colbyconsulting.com> It is puzzling that they limited it to 4 gb of ssd. Giving it 16 or 32 gigs would have really opened up what it could cache to the point of having most of what my laptop uses on a daily basis. http://www.overclockersclub.com/reviews/seagate_momentus_xt_500gb/ The review likes it but it clearly is not an ssd killer. Still I think I am going to give it a whirl for my laptop. I have been waiting for the big (220g) ssds to drop to something I am willing to spend on my laptop and they simply are not doing so. John W. Colby www.ColbyConsulting.com On 9/24/2011 7:28 AM, Mark Simms wrote: > http://www.amazon.com/Seagate-Momentus-7200RPM-Hybrid-ST95005620AS-Bare/dp/B > 003NSBF32/ref=sr_1_1?s=electronics&ie=UTF8&qid=1316863239&sr=1-1 From marksimms at verizon.net Sat Sep 24 10:36:55 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 24 Sep 2011 11:36:55 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: Message-ID: <006201cc7acf$cad7eff0$6087cfd0$@net> > 2. Bad actor changes global to a 'bad' value, which is accepted without > error... This does not happen if you use a Property with some validation in the Let or Set. MZTOOLZ has a global-to-property converter - probably for this very reason. > 3. Other actor uses global -- BAM! BIF! POW! error. > > But who did the dirty deed? You can't easily tell. This is the crux of > the 'globals are bad' arguement. > Without knowing WHO made each change, you're stuck with a tedious > debugging mess. > VBA "Find" is your friend here....however, that is worthless if you've got 10,000 lines of code and 40 places where the global is being referenced. However, On the other hand, Property is no help in this one either....UNLESS you are smart enough to code a property PARAMETER which indicates the Caller source proc or function name. Then you can quickly trace within the Property code definition each caller to determine where the problem originated. Once discovered you can hopefully add additional validation code to insure that condition never occurs again. From marksimms at verizon.net Sat Sep 24 10:39:48 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 24 Sep 2011 11:39:48 -0400 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> <511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> <631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> Message-ID: <006301cc7ad0$319fe350$94dfa9f0$@net> > The lack of triggers and transaction logging These are now "in" the 2010 ACCDB format and run-time. From marksimms at verizon.net Sat Sep 24 10:43:54 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 24 Sep 2011 11:43:54 -0400 Subject: [AccessD] SSDs and BE storage In-Reply-To: <4E7DCA09.8020908@colbyconsulting.com> References: <4E7BF42E.1060602@colbyconsulting.com> <000001cc7aad$05d94e00$118bea00$@net> <4E7DCA09.8020908@colbyconsulting.com> Message-ID: <006401cc7ad0$c4395660$4cac0320$@net> Hybrid is at 20 cents per gig....pure SSD is nearly $2 per gig !! 10:1 ratio.. That being said, demand for SSD is far outstripping the supply IMHO. Therefore SSD prices are likely not to drop in the near future. > Still I think I am going to give it a whirl for my laptop. I have been > waiting for the big (220g) > ssds to drop to something I am willing to spend on my laptop and they > simply are not doing so. From john at winhaven.net Fri Sep 23 11:05:52 2011 From: john at winhaven.net (John Bartow) Date: Fri, 23 Sep 2011 11:05:52 -0500 Subject: [AccessD] SSDs and BE storage In-Reply-To: <4E7DCA09.8020908@colbyconsulting.com> References: <4E7BF42E.1060602@colbyconsulting.com> <000001cc7aad$05d94e00$118bea00$@net> <4E7DCA09.8020908@colbyconsulting.com> Message-ID: <019001cc7a0a$ab1c6c10$01554430$@winhaven.net> Something I think I would do on ssds would be to turn off system restore (VSS) for that drive. If only storing data then system restore serves no purpose to begin with. It would reduce disk space usage, write overhead and save all of those read/write count limits on that particular area of the drive. From DWUTKA at Marlow.com Sat Sep 24 11:08:50 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Sat, 24 Sep 2011 11:08:50 -0500 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com><511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com><631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> Message-ID: I haven't seen one in a while, but have certainly seen my share. Almost always it is due to network issues. I wrote a VB 6 program that was a multithreaded app that would corrupt the .mdb it was using, but only a 97 .mdb, 2000 or later, no corruption. (it wrote, constantly, to the same .mdb, from each thread....) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, September 23, 2011 3:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS I keep hearing about corrupted MDBs but in at least a decade of working with Access, this has never happened to me. Now that I've said that, it will probably happen tomorrow, so I'm immediately going to do a huge backup! Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Sat Sep 24 11:14:05 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Sat, 24 Sep 2011 11:14:05 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: Message-ID: So what about a string of functions that you feed a variable, which are byref for their arguments? You would still be 'tracking down' the culprit. I really don't see how a global is that much different in trouble shooting. I completely agree that a global class makes things much easier, it is also cleaner. You can group the values you want into a class, which simply makes more sense too. If you have a dozen global variables, used to hold system settings, why not make a SystemSettings class, easier and more logically combined. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Friday, September 23, 2011 3:41 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Global Vars (was Ambiguous Name) > Drew Wutka: > A global variable will ONLY fail in the SAME way that a modular or > procedural variable will. > ... > #1. 'A global variable can be changed from anywhere.... so it could > get a bad value'. Really? So let's look at a procedural variable: > ... > Holy Division by Zero Batman. We just 'broke' a procedural variable! ... > You're right, but for one TINY difference ... in your procedural example, you can raise an error up the call chain, and immediately finger the bad actor. In all of the global parameter schemes put forth so far, you don't get that. The failure chain is: 1. Good actor sets global. Time goes past... 2. Bad actor changes global to a 'bad' value, which is accepted without error... 3. Other actor uses global -- BAM! BIF! POW! error. But who did the dirty deed? You can't easily tell. This is the crux of the 'globals are bad' arguement. Without knowing WHO made each change, you're stuck with a tedious debugging mess. But again, talking to the 'globals are bad' camp, I say your solutions so far don't solve the problem. How do you propose fixing the problem? -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Sat Sep 24 11:17:25 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Sat, 24 Sep 2011 11:17:25 -0500 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com><511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> Message-ID: Easy Peasy. You are just going to use ADO. Would you like a utility I built a while back, that builds 'data classes' in asp classic? I built it in VB6, you point it to the .mdb, and it creates a data class for a table (or query) along with a 'group' class for the individual data class. Email me off list if you want it. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, September 23, 2011 5:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Drew: Server 2003 Developers edition with IIS version 6, fully tricked out, runs ASP classic as well as a number of databases protocols and Extensions etc. TIA Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Friday, September 23, 2011 12:56 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Accessing an .mdb on a web server (like IIS) is identical to accessing the .mdb from your programming interface itself. For example, if you want to use classic ASP, then you are using VBScript, and VBScript can access an .mdb using ADO. Now, years ago, I believe you had to install ADO separately, but I think since XP, that ADO is included, not 100% positive on that. If you are using .Net, (ie, ASP.Net), then you have the .Net runtimes installed on the server. What platform are you using to program with, and I can point you in a better direction. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 8:32 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Well, you have me at a disadvantage as I do not know what you mean? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 3:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Nope.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 5:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Does that mean Access have to be installed on the IIS server? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Sat Sep 24 11:18:36 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Sat, 24 Sep 2011 11:18:36 -0500 Subject: [AccessD] MS Access with IIS In-Reply-To: <006301cc7ad0$319fe350$94dfa9f0$@net> References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com><511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com><631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> <006301cc7ad0$319fe350$94dfa9f0$@net> Message-ID: Interesting, did not know that, of course, I don't do much with Access nowadays. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Saturday, September 24, 2011 10:40 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS > The lack of triggers and transaction logging These are now "in" the 2010 ACCDB format and run-time. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From jwcolby at colbyconsulting.com Sat Sep 24 14:10:42 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Sep 2011 15:10:42 -0400 Subject: [AccessD] interesting ssd SQL Server testing Message-ID: <4E7E2B32.60008@colbyconsulting.com> http://sqlblog.com/blogs/joe_chang/archive/2011/09/17/consumer-grade-ssds-with-sql-server.aspx -- John W. Colby www.ColbyConsulting.com From stuart at lexacorp.com.pg Sat Sep 24 15:27:36 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 25 Sep 2011 06:27:36 +1000 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <006201cc7acf$cad7eff0$6087cfd0$@net> References: , <006201cc7acf$cad7eff0$6087cfd0$@net> Message-ID: <4E7E3D38.24460.13038105@stuart.lexacorp.com.pg> On 24 Sep 2011 at 11:36, Mark Simms wrote: > VBA "Find" is your friend here....however, that is worthless if you've > got 10,000 lines of code and 40 places where the global is being > referenced. > Correction: "where the global is being set"! i.e. Find: " g_myGlobal = " -- Stuart From marksimms at verizon.net Sat Sep 24 15:41:57 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 24 Sep 2011 16:41:57 -0400 Subject: [AccessD] interesting ssd SQL Server testing In-Reply-To: <4E7E2B32.60008@colbyconsulting.com> References: <4E7E2B32.60008@colbyconsulting.com> Message-ID: <001c01cc7afa$675024e0$35f06ea0$@net> The only valid comparison I saw was the 1 hour to 20 minutes.....very impressive. So how is that scored ? A 67% improvement ? or wait, should that be a 300% increase in speed ? > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Saturday, September 24, 2011 3:11 PM > To: Access Developers discussion and problem solving; VBA; Sqlserver- > Dba > Subject: [AccessD] interesting ssd SQL Server testing > > > http://sqlblog.com/blogs/joe_chang/archive/2011/09/17/consumer-grade- > ssds-with-sql-server.aspx > > -- > John W. Colby > www.ColbyConsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sat Sep 24 15:51:30 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 25 Sep 2011 06:51:30 +1000 Subject: [AccessD] interesting ssd SQL Server testing In-Reply-To: <001c01cc7afa$675024e0$35f06ea0$@net> References: <4E7E2B32.60008@colbyconsulting.com>, <001c01cc7afa$675024e0$35f06ea0$@net> Message-ID: <4E7E42D2.31017.1319652C@stuart.lexacorp.com.pg> Possibly a 67% reduction in time? But for a marketing, 300% increase in speed sounds much better, -- Stuart On 24 Sep 2011 at 16:41, Mark Simms wrote: > The only valid comparison I saw was the 1 hour to 20 minutes.....very > impressive. So how is that scored ? A 67% improvement ? or wait, > should that be a 300% increase in speed ? > From jwcolby at colbyconsulting.com Sat Sep 24 17:29:40 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Sep 2011 18:29:40 -0400 Subject: [AccessD] interesting ssd SQL Server testing In-Reply-To: <001c01cc7afa$675024e0$35f06ea0$@net> References: <4E7E2B32.60008@colbyconsulting.com> <001c01cc7afa$675024e0$35f06ea0$@net> Message-ID: <4E7E59D4.3030609@colbyconsulting.com> I found much of it rather confusing. Too little specifics re the configurations. John W. Colby www.ColbyConsulting.com On 9/24/2011 4:41 PM, Mark Simms wrote: > The only valid comparison I saw was the 1 hour to 20 minutes.....very > impressive. > So how is that scored ? A 67% improvement ? or wait, should that be a 300% > increase in speed ? > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd- >> bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Saturday, September 24, 2011 3:11 PM >> To: Access Developers discussion and problem solving; VBA; Sqlserver- >> Dba >> Subject: [AccessD] interesting ssd SQL Server testing >> >> >> http://sqlblog.com/blogs/joe_chang/archive/2011/09/17/consumer-grade- >> ssds-with-sql-server.aspx >> >> -- >> John W. Colby >> www.ColbyConsulting.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 Sep 25 19:50:14 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 26 Sep 2011 10:50:14 +1000 Subject: [AccessD] OT: Excel Question In-Reply-To: <1E0FC6BB-EFBC-4008-B581-26771FC3115F@zyterra.com> References: <766DD8D0-7FA9-45BA-8643-1B8D315B08E1@zyterra.com> <48B855C8E3374DA4A43498380A97156B@HAL9007> <1E0FC6BB-EFBC-4008-B581-26771FC3115F@zyterra.com> Message-ID: <002001cc7be6$40f6c370$c2e44a50$@com.au> Debbie, If you are using XL2007, MS broke a lot of the macro recording functionality for charting (and a few other areas) and not much is captured by the recorder at all. In XL2010 it is meant to be fixed again. Indeed Charting functionaly in XL2007 is less than stellar. It commonly behaves like it is not fully operational, which is pretty accurate seeing it wasn't when MS pushed XL2007 onto the world. Of course you can fix most of these charting issues by upgrading to XL2010 - great business plan really ;) You can also have Access VBA call and run an code procedure in Excel from Access. I use this a lot. Have the XL code in the XL template and just call it to run from Access. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Debbie Sent: Saturday, 24 September 2011 6:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Excel Question I do that myself all the time. Trouble is I couldn't find how to do it in Excel. Until I found that, there was no macro to record and no code to crib. Debbie Sent from my iPhone On Sep 23, 2011, at 3:37 PM, "Rocky Smolin" wrote: > Are you asking to fix it from the VBA in the Access mdb? If so, I've > been > able to automate everything in Excel from Access by recording a > macro in > Excel to do what I want and then cribbing the Excel code into the > Access > module. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Debbie > Sent: Friday, September 23, 2011 11:39 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] OT: Excel Question > > I have a database pushing data out to an Excel 2007 template. From > this data > I am creating a variety of graphs that are stored in the template. > > Everything works fine except the relative scales on 2 of the graphs. > They are side by side and the customer is adamant that the top and > bottom > line up. This seems really easy, but it is not. One graph has a > dynamic y > axis because the values can vary a lot. When they do vary, the whole > chart > area will change height just a bit. > > Is there a way to fix the total chart height, while still allowing > the y > axis to automatically determine the best tick marks and scaling > within that > area? > > Debbie > > Sent from my iPhone > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 25 19:54:06 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 26 Sep 2011 10:54:06 +1000 Subject: [AccessD] Filtering with International Dates In-Reply-To: References: Message-ID: <002101cc7be6$cb7bbb40$627331c0$@com.au> Yeah, that was my understanding of it. The "$" is short hand for String. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, 23 September 2011 10:59 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Filtering with International Dates Hi Rocky Yes, that will work. It will return #09/23/2011# for today. I've never noticed any difference between Format and Format$ (and all the other old BASIC string handling functions with or without a trailing $). SomeFunction$ is claimed to always return a string, but I've never found, say, Trim to return anything else than a string. Maybe it is just to be compatible with old QBasic or similar. /gustav >>> rockysmolin at bchacc.com 23-09-2011 14:35 >>> Gustav: Dang - it's like taking a class. :) I found this on the web as you suggest: Format$(Forms!frmPOReport!txtGEPromisedDate, "\#mm\/dd\/yyyy\#") (Don't know why the $ after Format but it compiles OK) And it seems to work. But I have to comb through my manufacturing app now - which is a very date driven app, lots of reports where I give the user the option to filter by date - and change those occurrences to something which will be as bulletproof as possible. It looks like that's the best approach in your opinion? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, September 23, 2011 3:11 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Filtering with International Dates Hi Rocky You are a clever man not to be fooled! There really is no reason to convert dates to numerals. If you can use the date value, use it as is, if not - as often when you build SQL strings - convert it to a proper string expression. The proven method is to use Format and the ISO format: Format(somedatetime, "yyyy\/mm\/dd hh\:nn\:ss") For JET SQL this must be wrapped in #..#, for SQL Server it is single quotes '..' You may get away with using the US mm/dd/yyyy format but it will fail for ADO and FindFirst, thus you can just as well make it a habit to use the ISO format which now is the preferred for SQL Server as well. If you need to cut off a time part to obtain the date part only, a safe and the fastest method is Fix: Fix(somedatetime) because it: - works correctly for dates prior to 1899-12-30 - returns data type date - always rounds off - is native to SQL The use of CDbl or CLng is not very useful. CDbl just returns the underlying data type (Double) of data type Date so you should CDate instead, and CLng will round PM time parts incorrectly, and they both fail for a clean string input like "5/3/2005" which CDate does not. If you need to convert strings to date and time, use CDate for time expressions or to include a time part with a date, or DateValue for dates where the time part should be excluded. When to use date value and when a string expression for a date value is quite simple. When a function is used in SQL, it should return a date value; when you build a SQL string it must be a string expression. Thus, as mentioned by Stuart, this will work because CDate and DateValue (and TimeValue) understands a string formatted as the local settings of Windows: "where [datefield] = Datevalue('" & txtDate & "')" as will this: "where [datefield] = #" & Format(DateValue(txtDate), "yyyy\/mm\/dd") & "#" which, as Format - when using a date format - will try to read the value to format as a date, can be reduced to: "where [datefield] = #" & Format(txtDate, "yyyy\/mm\/dd") & "#" /gustav >>> rockysmolin at bchacc.com 23-09-2011 05:17 >>> What happens if you use CDbl on a date string with no time? R -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sun Sep 25 20:14:27 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 25 Sep 2011 18:14:27 -0700 Subject: [AccessD] Filtering subform from parent form Message-ID: <28D458219FE243A29B0ACA165C8408B6@HAL9007> Dear List: I'm trying to set the filter of a subform from parameters on the main form. The first line is Me.subfrmAccountsReceivable.Form.Filter = "" But it wasn't working - so I put: MsgBox Me.subfrmAccountsReceivable.Form.Filter right after the first line and it prints "False" After that first line there's code which I've written a dozen times to accumulate the filtering criteria (in this case an account number and a >= and <= date range) but always for the parent form - never for a sub form. What am I doing wrong? (Besides not drinking some Scotch and making dinner at 6:15 on Sunday night.) MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com From fuller.artful at gmail.com Sun Sep 25 20:23:51 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 25 Sep 2011 21:23:51 -0400 Subject: [AccessD] Filtering subform from parent form In-Reply-To: <28D458219FE243A29B0ACA165C8408B6@HAL9007> References: <28D458219FE243A29B0ACA165C8408B6@HAL9007> Message-ID: I just googled "filter on an Access subform" and I suspected, got led immediately to Allen Browne's site (and others). There are several hits. I'd try Allen's first. IIRC A.D. Tejpal's written something on this. I haven't had a need for this particular capability but google as I did and you should get your answer. HTH, Arthur On Sun, Sep 25, 2011 at 9:14 PM, Rocky Smolin wrote: > Dear List: > > I'm trying to set the filter of a subform from parameters on the main form. > The first line is > > Me.subfrmAccountsReceivable.Form.Filter = "" > > But it wasn't working - so I put: > > MsgBox Me.subfrmAccountsReceivable.Form.Filter > > right after the first line and it prints "False" > > > After that first line there's code which I've written a dozen times to > accumulate the filtering criteria (in this case an account number and a >= > and <= date range) but always for the parent form - never for a sub form. > > What am I doing wrong? (Besides not drinking some Scotch and making dinner > at 6:15 on Sunday night.) > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > www.e-z-mrp.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 Sun Sep 25 20:35:53 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 25 Sep 2011 21:35:53 -0400 Subject: [AccessD] Filtering subform from parent form In-Reply-To: References: <28D458219FE243A29B0ACA165C8408B6@HAL9007> Message-ID: I just checked the first posting and there's a reply from Allen himself: > With Me.Child0.Form > .Filter = "ExternalEvents Is Not Null" > .FilterOn = True > End With His Filter above was specific to the question he was asked, of course. He's assuming that your filter command button is on the main form, which seems logical enough, but it may mean that you cannot use the built-in Filter-By-Form thing, and instead may have to create your own dialog for this situation. If it's always the same fields, then that shouldn't be a problem. Another approach: you could open a dialog based on the subform's record source, then filter it by form, then grab the Filter property, close the dialog and plug the filter into the above code, which would live in the parent form. Arthur P.S. Interesting exercise. I think build a little toy program and see if I can make it work. On Sun, Sep 25, 2011 at 9:23 PM, Arthur Fuller wrote: > I just googled "filter on an Access subform" and I suspected, got led > immediately to Allen Browne's site (and others). There are several hits. I'd > try Allen's first. IIRC A.D. Tejpal's written something on this. I haven't > had a need for this particular capability but google as I did and you should > get your answer. > > HTH, > Arthur > > > On Sun, Sep 25, 2011 at 9:14 PM, Rocky Smolin wrote: > >> Dear List: >> >> I'm trying to set the filter of a subform from parameters on the main >> form. >> The first line is >> >> Me.subfrmAccountsReceivable.Form.Filter = "" >> >> But it wasn't working - so I put: >> >> MsgBox Me.subfrmAccountsReceivable.Form.Filter >> >> right after the first line and it prints "False" >> >> >> After that first line there's code which I've written a dozen times to >> accumulate the filtering criteria (in this case an account number and a >= >> and <= date range) but always for the parent form - never for a sub form. >> >> What am I doing wrong? (Besides not drinking some Scotch and making dinner >> at 6:15 on Sunday night.) >> >> MTIA >> >> Rocky Smolin >> Beach Access Software >> 858-259-4334 >> www.bchacc.com >> www.e-z-mrp.com >> >> >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > From stuart at lexacorp.com.pg Sun Sep 25 20:41:17 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 26 Sep 2011 11:41:17 +1000 Subject: [AccessD] Filtering with International Dates In-Reply-To: <002101cc7be6$cb7bbb40$627331c0$@com.au> References: , <002101cc7be6$cb7bbb40$627331c0$@com.au> Message-ID: <4E7FD83D.3449.19491308@stuart.lexacorp.com.pg> Format returns a Variant of type String. Format$ returns an actual string. Similarly with Left,Right,Mid,Trim etc Theoretically, using the native types rather than variants should be more efficient. Wait a minute.... Yep - that's true in practice as well: Option Compare Database Option Explicit Const gc_testcases As Long = 10000000 Function TestVar() As String Dim str As String Dim strResult As String Dim t As Single Dim x As Long t = Timer For x = 1 To gc_testcases str = Left("abcdef", 3) Next t = Timer - t strResult = "Variant form took " & t & " seconds" & vbCrLf t = Timer For x = 1 To gc_testcases str = Left$("abcdef", 3) Next t = Timer - t TestVar = strResult & "String form took " & t & " seconds" End Function The Variant form consistently takes 2.5 times as long as the String version. -- Stuart On 26 Sep 2011 at 10:54, Darryl Collins wrote: > Yeah, that was my understanding of it. The "$" is short hand for > String. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > Brock Sent: Friday, 23 September 2011 10:59 PM To: > accessd at databaseadvisors.com Subject: Re: [AccessD] Filtering with > International Dates > > Hi Rocky > > Yes, that will work. It will return #09/23/2011# for today. > > I've never noticed any difference between Format and Format$ (and all > the other old BASIC string handling functions with or without a > trailing $). SomeFunction$ is claimed to always return a string, but > I've never found, say, Trim to return anything else than a string. > Maybe it is just to be compatible with old QBasic or similar. > > /gustav > > > >>> rockysmolin at bchacc.com 23-09-2011 14:35 >>> > Gustav: > > Dang - it's like taking a class. :) > > I found this on the web as you suggest: > > Format$(Forms!frmPOReport!txtGEPromisedDate, "\#mm\/dd\/yyyy\#") > > (Don't know why the $ after Format but it compiles OK) > > And it seems to work. But I have to comb through my manufacturing app > now - which is a very date driven app, lots of reports where I give > the user the option to filter by date - and change those occurrences > to something which will be as bulletproof as possible. > > It looks like that's the best approach in your opinion? > > Rocky > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > Brock Sent: Friday, September 23, 2011 3:11 AM To: > accessd at databaseadvisors.com Subject: Re: [AccessD] Filtering with > International Dates > > Hi Rocky > > You are a clever man not to be fooled! > > There really is no reason to convert dates to numerals. If you can use > the date value, use it as is, if not - as often when you build SQL > strings - convert it to a proper string expression. The proven method > is to use Format and the ISO format: > > Format(somedatetime, "yyyy\/mm\/dd hh\:nn\:ss") For JET SQL this must > be wrapped in #..#, for SQL Server it is single quotes '..' You may > get away with using the US mm/dd/yyyy format but it will fail for ADO > and FindFirst, thus you can just as well make it a habit to use the > ISO format which now is the preferred for SQL Server as well. > > If you need to cut off a time part to obtain the date part only, a > safe and the fastest method is Fix: > > Fix(somedatetime) > > because it: > > - works correctly for dates prior to 1899-12-30 > - returns data type date > - always rounds off > - is native to SQL > > The use of CDbl or CLng is not very useful. CDbl just returns the > underlying data type (Double) of data type Date so you should CDate > instead, and CLng will round PM time parts incorrectly, and they both > fail for a clean string input like "5/3/2005" which CDate does not. If > you need to convert strings to date and time, use CDate for time > expressions or to include a time part with a date, or DateValue for > dates where the time part should be excluded. > > When to use date value and when a string expression for a date value > is quite simple. When a function is used in SQL, it should return a > date value; when you build a SQL string it must be a string > expression. Thus, as mentioned by Stuart, this will work because CDate > and DateValue (and TimeValue) understands a string formatted as the > local settings of Windows: > > "where [datefield] = Datevalue('" & txtDate & "')" > > as will this: > > "where [datefield] = #" & Format(DateValue(txtDate), "yyyy\/mm\/dd") > & "#" > > which, as Format - when using a date format - will try to read the > value to format as a date, can be reduced to: > > "where [datefield] = #" & Format(txtDate, "yyyy\/mm\/dd") & "#" > > /gustav > > > >>> rockysmolin at bchacc.com 23-09-2011 05:17 >>> > What happens if you use CDbl on a date string with no time? > > 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 rockysmolin at bchacc.com Sun Sep 25 23:10:08 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 25 Sep 2011 21:10:08 -0700 Subject: [AccessD] Filtering subform from parent form In-Reply-To: References: <28D458219FE243A29B0ACA165C8408B6@HAL9007> Message-ID: I'm sure that will work if I move the filter code and the text boxes to the sub form. I do this a lot but always have the parameters in text boxes on the main form filtering the main form. I'll check the Google as you suggest though R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Sunday, September 25, 2011 6:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering subform from parent form I just checked the first posting and there's a reply from Allen himself: > With Me.Child0.Form > .Filter = "ExternalEvents Is Not Null" > .FilterOn = True > End With His Filter above was specific to the question he was asked, of course. He's assuming that your filter command button is on the main form, which seems logical enough, but it may mean that you cannot use the built-in Filter-By-Form thing, and instead may have to create your own dialog for this situation. If it's always the same fields, then that shouldn't be a problem. Another approach: you could open a dialog based on the subform's record source, then filter it by form, then grab the Filter property, close the dialog and plug the filter into the above code, which would live in the parent form. Arthur P.S. Interesting exercise. I think build a little toy program and see if I can make it work. On Sun, Sep 25, 2011 at 9:23 PM, Arthur Fuller wrote: > I just googled "filter on an Access subform" and I suspected, got led > immediately to Allen Browne's site (and others). There are several > hits. I'd try Allen's first. IIRC A.D. Tejpal's written something on > this. I haven't had a need for this particular capability but google > as I did and you should get your answer. > > HTH, > Arthur > > > On Sun, Sep 25, 2011 at 9:14 PM, Rocky Smolin wrote: > >> Dear List: >> >> I'm trying to set the filter of a subform from parameters on the main >> form. >> The first line is >> >> Me.subfrmAccountsReceivable.Form.Filter = "" >> >> But it wasn't working - so I put: >> >> MsgBox Me.subfrmAccountsReceivable.Form.Filter >> >> right after the first line and it prints "False" >> >> >> After that first line there's code which I've written a dozen times >> to accumulate the filtering criteria (in this case an account number >> and a >= and <= date range) but always for the parent form - never for a sub form. >> >> What am I doing wrong? (Besides not drinking some Scotch and making >> dinner at 6:15 on Sunday night.) >> >> MTIA >> >> Rocky Smolin >> Beach Access Software >> 858-259-4334 >> www.bchacc.com www.e-z-mrp.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 Sun Sep 25 23:12:42 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 25 Sep 2011 21:12:42 -0700 Subject: [AccessD] Filtering subform from parent form In-Reply-To: References: <28D458219FE243A29B0ACA165C8408B6@HAL9007> Message-ID: <66C472AAB8E64F1E8CE99B8C09B2B6F9@HAL9007> The first thing I see is a suggestion to build a SQL statement with the filtering parameters in the WHERE clause. I suppose I could try that as a workaround. Annoying that the .Filter doesn't seem to work as it should, though. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Sunday, September 25, 2011 6:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering subform from parent form I just checked the first posting and there's a reply from Allen himself: > With Me.Child0.Form > .Filter = "ExternalEvents Is Not Null" > .FilterOn = True > End With His Filter above was specific to the question he was asked, of course. He's assuming that your filter command button is on the main form, which seems logical enough, but it may mean that you cannot use the built-in Filter-By-Form thing, and instead may have to create your own dialog for this situation. If it's always the same fields, then that shouldn't be a problem. Another approach: you could open a dialog based on the subform's record source, then filter it by form, then grab the Filter property, close the dialog and plug the filter into the above code, which would live in the parent form. Arthur P.S. Interesting exercise. I think build a little toy program and see if I can make it work. On Sun, Sep 25, 2011 at 9:23 PM, Arthur Fuller wrote: > I just googled "filter on an Access subform" and I suspected, got led > immediately to Allen Browne's site (and others). There are several > hits. I'd try Allen's first. IIRC A.D. Tejpal's written something on > this. I haven't had a need for this particular capability but google > as I did and you should get your answer. > > HTH, > Arthur > > > On Sun, Sep 25, 2011 at 9:14 PM, Rocky Smolin wrote: > >> Dear List: >> >> I'm trying to set the filter of a subform from parameters on the main >> form. >> The first line is >> >> Me.subfrmAccountsReceivable.Form.Filter = "" >> >> But it wasn't working - so I put: >> >> MsgBox Me.subfrmAccountsReceivable.Form.Filter >> >> right after the first line and it prints "False" >> >> >> After that first line there's code which I've written a dozen times >> to accumulate the filtering criteria (in this case an account number >> and a >= and <= date range) but always for the parent form - never for a sub form. >> >> What am I doing wrong? (Besides not drinking some Scotch and making >> dinner at 6:15 on Sunday night.) >> >> MTIA >> >> Rocky Smolin >> Beach Access Software >> 858-259-4334 >> www.bchacc.com www.e-z-mrp.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 Sep 26 01:11:13 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 26 Sep 2011 08:11:13 +0200 Subject: [AccessD] Format or Format$ (was: Filtering with International Dates) Message-ID: Hi Stuart Well, thanks! That's the first time ever I heard and got demonstrated a decent explanation on this$. /gustav >>> stuart at lexacorp.com.pg 26-09-2011 03:41 >>> Format returns a Variant of type String. Format$ returns an actual string. Similarly with Left,Right,Mid,Trim etc Theoretically, using the native types rather than variants should be more efficient. Wait a minute.... Yep - that's true in practice as well: Option Compare Database Option Explicit Const gc_testcases As Long = 10000000 Function TestVar() As String Dim str As String Dim strResult As String Dim t As Single Dim x As Long t = Timer For x = 1 To gc_testcases str = Left("abcdef", 3) Next t = Timer - t strResult = "Variant form took " & t & " seconds" & vbCrLf t = Timer For x = 1 To gc_testcases str = Left$("abcdef", 3) Next t = Timer - t TestVar = strResult & "String form took " & t & " seconds" End Function The Variant form consistently takes 2.5 times as long as the String version. -- Stuart On 26 Sep 2011 at 10:54, Darryl Collins wrote: > Yeah, that was my understanding of it. The "$" is short hand for > String. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > Brock Sent: Friday, 23 September 2011 10:59 PM To: > accessd at databaseadvisors.com Subject: Re: [AccessD] Filtering with > International Dates > > Hi Rocky > > Yes, that will work. It will return #09/23/2011# for today. > > I've never noticed any difference between Format and Format$ (and all > the other old BASIC string handling functions with or without a > trailing $). SomeFunction$ is claimed to always return a string, but > I've never found, say, Trim to return anything else than a string. > Maybe it is just to be compatible with old QBasic or similar. > > /gustav From fuller.artful at gmail.com Mon Sep 26 03:41:20 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 26 Sep 2011 04:41:20 -0400 Subject: [AccessD] Filtering subform from parent form In-Reply-To: <66C472AAB8E64F1E8CE99B8C09B2B6F9@HAL9007> References: <28D458219FE243A29B0ACA165C8408B6@HAL9007> <66C472AAB8E64F1E8CE99B8C09B2B6F9@HAL9007> Message-ID: I tried Allen's example on that search page and it won't run Access 2007. Access says: The expression After Update you entered as the event property setting produced the following error: Object or class does not support the set of events. I'm baffled. I even added a MsgBox at the start of the code and Access doesn't even there. Private Sub cboShowSup_AfterUpdate() MsgBox "Here." Dim strSQL As String If IsNull(Me.cboShowSup) Then ' If the combo is Null, use the whole table as the RecordSource. Me.RecordSource = "tblProduct" Else strSQL = "SELECT DISTINCTROW tblProduct.* FROM tblProduct " & _ "INNER JOIN tblProductSupplier ON " & _ "tblProduct.ProductID = tblProductSupplier.ProductID " & _ "WHERE tblProductSupplier.SupplierID = " & Me.cboShowSup & ";" Me.RecordSource = strSQL End If End Sub This doesn't make sense at all to me. If I had an earlier or later version of Access aboard, I'd try the example there, but I don't. Arthur On Mon, Sep 26, 2011 at 12:12 AM, Rocky Smolin wrote: > The first thing I see is a suggestion to build a SQL statement with the > filtering parameters in the WHERE clause. I suppose I could try that as a > workaround. Annoying that the .Filter doesn't seem to work as it should, > though. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Sunday, September 25, 2011 6:36 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Filtering subform from parent form > > I just checked the first posting and there's a reply from Allen himself: > > > With Me.Child0.Form > > .Filter = "ExternalEvents Is Not Null" > > .FilterOn = True > > End With > > His Filter above was specific to the question he was asked, of course. He's > assuming that your filter command button is on the main form, which seems > logical enough, but it may mean that you cannot use the built-in > Filter-By-Form thing, and instead may have to create your own dialog for > this situation. If it's always the same fields, then that shouldn't be a > problem. > > Another approach: you could open a dialog based on the subform's record > source, then filter it by form, then grab the Filter property, close the > dialog and plug the filter into the above code, which would live in the > parent form. > > Arthur > > P.S. > Interesting exercise. I think build a little toy program and see if I can > make it work. > > On Sun, Sep 25, 2011 at 9:23 PM, Arthur Fuller > wrote: > > > I just googled "filter on an Access subform" and I suspected, got led > > immediately to Allen Browne's site (and others). There are several > > hits. I'd try Allen's first. IIRC A.D. Tejpal's written something on > > this. I haven't had a need for this particular capability but google > > as I did and you should get your answer. > > > > HTH, > > Arthur > > > > > > On Sun, Sep 25, 2011 at 9:14 PM, Rocky Smolin > wrote: > > > >> Dear List: > >> > >> I'm trying to set the filter of a subform from parameters on the main > >> form. > >> The first line is > >> > >> Me.subfrmAccountsReceivable.Form.Filter = "" > >> > >> But it wasn't working - so I put: > >> > >> MsgBox Me.subfrmAccountsReceivable.Form.Filter > >> > >> right after the first line and it prints "False" > >> > >> > >> After that first line there's code which I've written a dozen times > >> to accumulate the filtering criteria (in this case an account number > >> and a >= and <= date range) but always for the parent form - never for a > sub form. > >> > >> What am I doing wrong? (Besides not drinking some Scotch and making > >> dinner at 6:15 on Sunday night.) > >> > >> MTIA > >> > >> Rocky Smolin > >> Beach Access Software > >> 858-259-4334 > >> www.bchacc.com www.e-z-mrp.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 jwcolby at colbyconsulting.com Mon Sep 26 07:02:29 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 26 Sep 2011 08:02:29 -0400 Subject: [AccessD] SSDs and BE storage In-Reply-To: <000001cc7aad$05d94e00$118bea00$@net> References: <4E7BF42E.1060602@colbyconsulting.com> <000001cc7aad$05d94e00$118bea00$@net> Message-ID: <4E8069D5.8060705@colbyconsulting.com> Mark, I decided to try these for my 3 year old dell laptops. Clean install of Windows 7 and these, to see if I can get another couple of years out of these machines. John W. Colby www.ColbyConsulting.com On 9/24/2011 7:28 AM, Mark Simms wrote: > I just saw this on Amazon.com - Seagate is making a Momentus hard drive and > they are branding it as a "hybrid" - somewhere in between an SSD and a > standard spinning platter hard drive. > Reviews are very good....and the price is right : $100 for 500 gigs. > http://www.amazon.com/Seagate-Momentus-7200RPM-Hybrid-ST95005620AS-Bare/dp/B > 003NSBF32/ref=sr_1_1?s=electronics&ie=UTF8&qid=1316863239&sr=1-1 > > > From jimdettman at verizon.net Mon Sep 26 07:07:30 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 26 Sep 2011 08:07:30 -0400 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com><511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com><631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> <006301cc7ad0$319fe350$94dfa9f0$@net> Message-ID: Drew, Don't get excited; triggers are not available at engine level. They are only available through the UI and Macro's. And I'm not sure what Mark is referring to as transaction logging, but there is none that I'm aware of. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Saturday, September 24, 2011 12:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Interesting, did not know that, of course, I don't do much with Access nowadays. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Saturday, September 24, 2011 10:40 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS > The lack of triggers and transaction logging These are now "in" the 2010 ACCDB format and run-time. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at Marlow.com Mon Sep 26 10:02:08 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 26 Sep 2011 10:02:08 -0500 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com><511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com><631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk><006301cc7ad0$319fe350$94dfa9f0$@net> Message-ID: Oh, ok. Got me excited a bit! ;) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, September 26, 2011 7:08 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Drew, Don't get excited; triggers are not available at engine level. They are only available through the UI and Macro's. And I'm not sure what Mark is referring to as transaction logging, but there is none that I'm aware of. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Saturday, September 24, 2011 12:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Interesting, did not know that, of course, I don't do much with Access nowadays. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Saturday, September 24, 2011 10:40 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS > The lack of triggers and transaction logging These are now "in" the 2010 ACCDB format and run-time. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From marksimms at verizon.net Mon Sep 26 10:04:39 2011 From: marksimms at verizon.net (Mark Simms) Date: Mon, 26 Sep 2011 11:04:39 -0400 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com><511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com><631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> <006301cc7ad0$319fe350$94dfa9f0$@net> Message-ID: <008d01cc7c5d$9d5ea4d0$d81bee70$@net> Re: "I'm not sure what Mark is referring to as transaction logging,but there is none that I'm aware of.." http://www.databasedev.co.uk/whats_new_in_microsoft_access_2010.html Granted, it's not the best of implementations as this feature is only enabled using the macro facility....VBA not supported. And, by the way, that gives you insight into how MSFT is really moving away from VBA. From jimdettman at verizon.net Mon Sep 26 12:31:08 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 26 Sep 2011 13:31:08 -0400 Subject: [AccessD] MS Access with IIS In-Reply-To: <008d01cc7c5d$9d5ea4d0$d81bee70$@net> References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com><511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com><631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> <006301cc7ad0$319fe350$94dfa9f0$@net> <008d01cc7c5d$9d5ea4d0$d81bee70$@net> Message-ID: <50856C486D244A58B36B73F9D617A8B1@XPS> I wasn't even aware that feature was in there, but it's hardly what one would call transaction logging. And again, as you said, it's through macro's (and hence the UI and not at engine level). Big yawn as far as I'm concerned. I've had a system log table since day one working with Access. >From my viewpoint, it's just one more feature that doesn't need to be there. <> And anybody that thinks their not is crazy, but it will be a very long time in coming. The big reason at present for the push to macros is the ability to run Access apps with SharePoint. And if you've seen where Win8 is heading and Metro apps, your not going to find VBA in there at all. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Monday, September 26, 2011 11:05 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Re: "I'm not sure what Mark is referring to as transaction logging,but there is none that I'm aware of.." http://www.databasedev.co.uk/whats_new_in_microsoft_access_2010.html Granted, it's not the best of implementations as this feature is only enabled using the macro facility....VBA not supported. And, by the way, that gives you insight into how MSFT is really moving away from VBA. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Mon Sep 26 14:01:08 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 26 Sep 2011 14:01:08 -0500 Subject: [AccessD] Query not returning any records Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0765B@houex1.kindermorgan.com> When I run the following query I get the results listed below SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, dbo_WellTests.TestDate FROM dbo_WellTests GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, dbo_WellTests.TestDate HAVING (((dbo_WellTests.Well_Name)="109-2")); Well_API_14 Well_Name TestDate 42415034120000 109-2 6/7/2011 42415034120000 109-2 6/8/2011 42415034120000 109-2 8/7/2011 42415034120000 109-2 8/28/2011 42415034120000 109-2 9/1/2011 42415034120000 109-2 9/5/2011 However when I run the following query I get no records returned. The table dbo_Welltests is an SQL Server table if that matters. SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, Max(dbo_WellTests.TestDate) AS MaxOfTestDate FROM dbo_WellTests GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name HAVING (((dbo_WellTests.Well_Name)="109-2") AND ((Max(dbo_WellTests.TestDate))<#9/1/2011#)); Thanks. 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 bheid at sc.rr.com Mon Sep 26 14:09:06 2011 From: bheid at sc.rr.com (Bobby Heid) Date: Mon, 26 Sep 2011 15:09:06 -0400 Subject: [AccessD] Query not returning any records In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0765B@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0765B@houex1.kindermorgan.com> Message-ID: <005701cc7c7f$c36cccc0$4a466640$@sc.rr.com> Chester, Well, right off the bat, you have Max(dbo_WellTests.TestDate) <#9/1/2011# and the maximum date in your list is 9/1/2011. So max(9/1/2011) is not less than 9/1/2011. So you get no records. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, September 26, 2011 3:01 PM To: Access Developers discussion and problem solving Subject: [AccessD] Query not returning any records When I run the following query I get the results listed below SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, dbo_WellTests.TestDate FROM dbo_WellTests GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, dbo_WellTests.TestDate HAVING (((dbo_WellTests.Well_Name)="109-2")); Well_API_14 Well_Name TestDate 42415034120000 109-2 6/7/2011 42415034120000 109-2 6/8/2011 42415034120000 109-2 8/7/2011 42415034120000 109-2 8/28/2011 42415034120000 109-2 9/1/2011 42415034120000 109-2 9/5/2011 However when I run the following query I get no records returned. The table dbo_Welltests is an SQL Server table if that matters. SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, Max(dbo_WellTests.TestDate) AS MaxOfTestDate FROM dbo_WellTests GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name HAVING (((dbo_WellTests.Well_Name)="109-2") AND ((Max(dbo_WellTests.TestDate))<#9/1/2011#)); Thanks. 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 davidmcafee at gmail.com Mon Sep 26 14:10:29 2011 From: davidmcafee at gmail.com (David McAfee) Date: Mon, 26 Sep 2011 12:10:29 -0700 Subject: [AccessD] Query not returning any records In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0765B@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0765B@houex1.kindermorgan.com> Message-ID: Does this work? HAVING ((dbo_WellTests.Well_Name="109-2") AND (dbo_WellTests.TestDate<#9/1/2011#)); On Mon, Sep 26, 2011 at 12:01 PM, Kaup, Chester < Chester_Kaup at kindermorgan.com> wrote: > When I run the following query I get the results listed below > > SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, > dbo_WellTests.TestDate > FROM dbo_WellTests > GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, > dbo_WellTests.TestDate > HAVING (((dbo_WellTests.Well_Name)="109-2")); > > Well_API_14 Well_Name TestDate > 42415034120000 109-2 6/7/2011 > 42415034120000 109-2 6/8/2011 > 42415034120000 109-2 8/7/2011 > 42415034120000 109-2 8/28/2011 > 42415034120000 109-2 9/1/2011 > 42415034120000 109-2 9/5/2011 > > However when I run the following query I get no records returned. The table > dbo_Welltests is an SQL Server table if that matters. > > SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, > Max(dbo_WellTests.TestDate) AS MaxOfTestDate > FROM dbo_WellTests > GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name > HAVING (((dbo_WellTests.Well_Name)="109-2") AND > ((Max(dbo_WellTests.TestDate))<#9/1/2011#)); > > Thanks. > > > 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 Mon Sep 26 14:19:29 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 26 Sep 2011 14:19:29 -0500 Subject: [AccessD] Query not returning any records In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0765B@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C1986D07669@houex1.kindermorgan.com> Yes it does return records. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Monday, September 26, 2011 2:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query not returning any records Does this work? HAVING ((dbo_WellTests.Well_Name="109-2") AND (dbo_WellTests.TestDate<#9/1/2011#)); On Mon, Sep 26, 2011 at 12:01 PM, Kaup, Chester < Chester_Kaup at kindermorgan.com> wrote: > When I run the following query I get the results listed below > > SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, > dbo_WellTests.TestDate > FROM dbo_WellTests > GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, > dbo_WellTests.TestDate > HAVING (((dbo_WellTests.Well_Name)="109-2")); > > Well_API_14 Well_Name TestDate > 42415034120000 109-2 6/7/2011 > 42415034120000 109-2 6/8/2011 > 42415034120000 109-2 8/7/2011 > 42415034120000 109-2 8/28/2011 > 42415034120000 109-2 9/1/2011 > 42415034120000 109-2 9/5/2011 > > However when I run the following query I get no records returned. The table > dbo_Welltests is an SQL Server table if that matters. > > SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, > Max(dbo_WellTests.TestDate) AS MaxOfTestDate > FROM dbo_WellTests > GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name > HAVING (((dbo_WellTests.Well_Name)="109-2") AND > ((Max(dbo_WellTests.TestDate))<#9/1/2011#)); > > Thanks. > > > 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 Chester_Kaup at kindermorgan.com Mon Sep 26 14:22:04 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 26 Sep 2011 14:22:04 -0500 Subject: [AccessD] Query not returning any records In-Reply-To: <005701cc7c7f$c36cccc0$4a466640$@sc.rr.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0765B@houex1.kindermorgan.com> <005701cc7c7f$c36cccc0$4a466640$@sc.rr.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0766A@houex1.kindermorgan.com> Maybe I need some different syntax. I want the last record before 9/1/2011 i.e. the record dated 8/28/2011. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Monday, September 26, 2011 2:09 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query not returning any records Chester, Well, right off the bat, you have Max(dbo_WellTests.TestDate) <#9/1/2011# and the maximum date in your list is 9/1/2011. So max(9/1/2011) is not less than 9/1/2011. So you get no records. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, September 26, 2011 3:01 PM To: Access Developers discussion and problem solving Subject: [AccessD] Query not returning any records When I run the following query I get the results listed below SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, dbo_WellTests.TestDate FROM dbo_WellTests GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, dbo_WellTests.TestDate HAVING (((dbo_WellTests.Well_Name)="109-2")); Well_API_14 Well_Name TestDate 42415034120000 109-2 6/7/2011 42415034120000 109-2 6/8/2011 42415034120000 109-2 8/7/2011 42415034120000 109-2 8/28/2011 42415034120000 109-2 9/1/2011 42415034120000 109-2 9/5/2011 However when I run the following query I get no records returned. The table dbo_Welltests is an SQL Server table if that matters. SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, Max(dbo_WellTests.TestDate) AS MaxOfTestDate FROM dbo_WellTests GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name HAVING (((dbo_WellTests.Well_Name)="109-2") AND ((Max(dbo_WellTests.TestDate))<#9/1/2011#)); Thanks. 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 davidmcafee at gmail.com Mon Sep 26 14:53:20 2011 From: davidmcafee at gmail.com (David McAfee) Date: Mon, 26 Sep 2011 12:53:20 -0700 Subject: [AccessD] Query not returning any records In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0766A@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0765B@houex1.kindermorgan.com> <005701cc7c7f$c36cccc0$4a466640$@sc.rr.com> <0B2BF8524B73A248A2F1B81BA751ED3C1986D0766A@houex1.kindermorgan.com> Message-ID: SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, Max(dbo_WellTests.TestDate) AS MaxOfTestDate FROM dbo_WellTests WHERE dbo_WellTests.Well_Name="109-2" AND dbo_WellTests.TestDate<#9/1/2011# GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name On Mon, Sep 26, 2011 at 12:22 PM, Kaup, Chester < Chester_Kaup at kindermorgan.com> wrote: > Maybe I need some different syntax. I want the last record before 9/1/2011 > i.e. the record dated 8/28/2011. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid > Sent: Monday, September 26, 2011 2:09 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Query not returning any records > > Chester, > > Well, right off the bat, you have Max(dbo_WellTests.TestDate) <#9/1/2011# > and the maximum date in your list is 9/1/2011. So max(9/1/2011) is not > less > than 9/1/2011. So you get no records. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester > Sent: Monday, September 26, 2011 3:01 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Query not returning any records > > When I run the following query I get the results listed below > > SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, > dbo_WellTests.TestDate FROM dbo_WellTests GROUP BY > dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, dbo_WellTests.TestDate > HAVING (((dbo_WellTests.Well_Name)="109-2")); > > Well_API_14 Well_Name TestDate > 42415034120000 109-2 6/7/2011 > 42415034120000 109-2 6/8/2011 > 42415034120000 109-2 8/7/2011 > 42415034120000 109-2 8/28/2011 > 42415034120000 109-2 9/1/2011 > 42415034120000 109-2 9/5/2011 > > However when I run the following query I get no records returned. The table > dbo_Welltests is an SQL Server table if that matters. > > SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, > Max(dbo_WellTests.TestDate) AS MaxOfTestDate FROM dbo_WellTests GROUP BY > dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name HAVING > (((dbo_WellTests.Well_Name)="109-2") AND > ((Max(dbo_WellTests.TestDate))<#9/1/2011#)); > > Thanks. > > > 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 Chester_Kaup at kindermorgan.com Mon Sep 26 15:04:22 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 26 Sep 2011 15:04:22 -0500 Subject: [AccessD] Query not returning any records In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0765B@houex1.kindermorgan.com> <005701cc7c7f$c36cccc0$4a466640$@sc.rr.com> <0B2BF8524B73A248A2F1B81BA751ED3C1986D0766A@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C1986D07688@houex1.kindermorgan.com> Thanks! That works. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Monday, September 26, 2011 2:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query not returning any records SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, Max(dbo_WellTests.TestDate) AS MaxOfTestDate FROM dbo_WellTests WHERE dbo_WellTests.Well_Name="109-2" AND dbo_WellTests.TestDate<#9/1/2011# GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name On Mon, Sep 26, 2011 at 12:22 PM, Kaup, Chester < Chester_Kaup at kindermorgan.com> wrote: > Maybe I need some different syntax. I want the last record before 9/1/2011 > i.e. the record dated 8/28/2011. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid > Sent: Monday, September 26, 2011 2:09 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Query not returning any records > > Chester, > > Well, right off the bat, you have Max(dbo_WellTests.TestDate) <#9/1/2011# > and the maximum date in your list is 9/1/2011. So max(9/1/2011) is not > less > than 9/1/2011. So you get no records. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester > Sent: Monday, September 26, 2011 3:01 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Query not returning any records > > When I run the following query I get the results listed below > > SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, > dbo_WellTests.TestDate FROM dbo_WellTests GROUP BY > dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, dbo_WellTests.TestDate > HAVING (((dbo_WellTests.Well_Name)="109-2")); > > Well_API_14 Well_Name TestDate > 42415034120000 109-2 6/7/2011 > 42415034120000 109-2 6/8/2011 > 42415034120000 109-2 8/7/2011 > 42415034120000 109-2 8/28/2011 > 42415034120000 109-2 9/1/2011 > 42415034120000 109-2 9/5/2011 > > However when I run the following query I get no records returned. The table > dbo_Welltests is an SQL Server table if that matters. > > SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, > Max(dbo_WellTests.TestDate) AS MaxOfTestDate FROM dbo_WellTests GROUP BY > dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name HAVING > (((dbo_WellTests.Well_Name)="109-2") AND > ((Max(dbo_WellTests.TestDate))<#9/1/2011#)); > > Thanks. > > > 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 fuller.artful at gmail.com Mon Sep 26 20:30:56 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 26 Sep 2011 21:30:56 -0400 Subject: [AccessD] SSDs Message-ID: This from slashdot: *"Although they haven't been big hits with enthusiasts, Samsung's solid state drives have been successful due to strong relationships with a number of OEMs, including Apple. With the release of their new SSD 830 Series Solid State Drives, however, Samsung appears ready to make inroads with enthusiasts as well. The SSD 830 tested here is 256GB model, with eight 32GB Samsung NAND flash memory chips, 256MB of Samsung DDR2 SDRAM cache memory, and a new Samsung SSD Controller. The Samsung controller features a 3-ARM core design with support for SATA III 6Gb/s interface speeds. Performance-wise, the Samsung SSD 830 Series drive offered the best Read performanceof the group that was tested, even versus the latest SandForce-based SSDs, though the SSD 830 couldn't quite catch SandForce in writes."* Arthur From jwcolby at colbyconsulting.com Tue Sep 27 06:52:54 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Sep 2011 07:52:54 -0400 Subject: [AccessD] Calculating mileage Message-ID: <4E81B916.70601@colbyconsulting.com> Before tax time I need to add a module to my inmate checkout to calculate mileage for all legs of a trip with the inmates. The database contains records of where we go - the midpoints points - with addresses, but the database does not have my start / end point (home). 1) Home to prison 2) Prison to first destination in the db 3) First destination to second destination (if any) 4) Second destination to third destination (if any) 5) Last destination to prison 6) Prison to home I thought I would try to use Microsoft Streets and trips to do the mapping, though I am open to using Google Maps if there is a programming interface available to the VBA language. I could of course manually enter the trips into Streets and trips, get the mileage and build a table of all the "legs" that I have ever done but that is error prone and forces me to do the whole thing manually. Also this is in use by other people so it would be nice to build a module that would also calculate their legs, which I certainly do not want to do myself manually. If for tax purposes I just assume that we always start from home and end at home I could use something like Streets and trips (which I have) to calculate all of these legs for each trip and place them in a table. At tax time I then have a mileage log for the IRS. I have never used Streets and Trips for this purpose. I do know that it has an API and VBA available for it. If anyone uses it for this purpose and has a library (or a function) written to do this that they would share that would be great. Or a web or help resource for this. Thanks, -- John W. Colby www.ColbyConsulting.com From stuart at lexacorp.com.pg Tue Sep 27 07:16:52 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 27 Sep 2011 22:16:52 +1000 Subject: [AccessD] Calculating mileage In-Reply-To: <4E81B916.70601@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com> Message-ID: <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> Seems very complicate when you can just record the start/finish mileage readings of the car for each trip. And that would probably be more acceptable as a record by the IRS rather than a notional mileage based on maps. -- Stuart On 27 Sep 2011 at 7:52, jwcolby wrote: > Before tax time I need to add a module to my inmate checkout to > calculate mileage for all legs of a trip with the inmates. The > database contains records of where we go - the midpoints points - with > addresses, but the database does not have my start / end point (home). > > 1) Home to prison > 2) Prison to first destination in the db > 3) First destination to second destination (if any) > 4) Second destination to third destination (if any) > 5) Last destination to prison > 6) Prison to home > > I thought I would try to use Microsoft Streets and trips to do the > mapping, though I am open to using Google Maps if there is a > programming interface available to the VBA language. > > I could of course manually enter the trips into Streets and trips, get > the mileage and build a table of all the "legs" that I have ever done > but that is error prone and forces me to do the whole thing manually. > Also this is in use by other people so it would be nice to build a > module that would also calculate their legs, which I certainly do not > want to do myself manually. > > If for tax purposes I just assume that we always start from home and > end at home I could use something like Streets and trips (which I > have) to calculate all of these legs for each trip and place them in a > table. At tax time I then have a mileage log for the IRS. > > I have never used Streets and Trips for this purpose. I do know that > it has an API and VBA available for it. If anyone uses it for this > purpose and has a library (or a function) written to do this that they > would share that would be great. Or a web or help resource for this. > > Thanks, > > -- > John W. Colby > www.ColbyConsulting.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 Sep 27 07:49:53 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Sep 2011 08:49:53 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> References: <4E81B916.70601@colbyconsulting.com> <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> Message-ID: <4E81C671.7030707@colbyconsulting.com> > Seems very complicate when you can just record the start/finish mileage readings of the car for each trip. Yes but I keep forgetting to enter the start / stop readings. A program, once created, just works on whatever data is there. Since I have to file paperwork for the checkout process, and since those records are permanently stored in my database, I always have a record of what I did. It doesn't seem "very complicated" though it could become so I suppose. The database has my home address, that is the start / stop point. The database has the prison camp address, that is the endpoint of the first leg and the start point of the last leg. 1) Calc home to prison 2) Calc prison to first stop 3) Calc first stop to second stop 4) Calc second stop to third stop 5) Calc third stop to prison 6) Calc prison to home Each becomes a record in a table with the pass request ID as the FK that ties them into a single "trip". Any pass request IDs not in the trip table need to be calculated. Report. AFAICT the IRS is not going to dispute the figures. There are logs (a file) at the prison that proves I did in fact checked the guys out, and by law I am supposed to take them where I say I am taking them. They actually do occasional checks where they send officers out to see that you are where you say you are going to be. John W. Colby www.ColbyConsulting.com On 9/27/2011 8:16 AM, Stuart McLachlan wrote: > Seems very complicate when you can just record the start/finish mileage readings of the car > for each trip. And that would probably be more acceptable as a record by the IRS rather than > a notional mileage based on maps. > From rockysmolin at bchacc.com Tue Sep 27 08:08:29 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 27 Sep 2011 06:08:29 -0700 Subject: [AccessD] Calculating mileage In-Reply-To: <4E81C671.7030707@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com><4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> Message-ID: Is there a way for your app to send start and end points to MapQuest or GoogleMaps and have them return the mileage? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 27, 2011 5:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calculating mileage > Seems very complicate when you can just record the start/finish mileage readings of the car for each trip. Yes but I keep forgetting to enter the start / stop readings. A program, once created, just works on whatever data is there. Since I have to file paperwork for the checkout process, and since those records are permanently stored in my database, I always have a record of what I did. It doesn't seem "very complicated" though it could become so I suppose. The database has my home address, that is the start / stop point. The database has the prison camp address, that is the endpoint of the first leg and the start point of the last leg. 1) Calc home to prison 2) Calc prison to first stop 3) Calc first stop to second stop 4) Calc second stop to third stop 5) Calc third stop to prison 6) Calc prison to home Each becomes a record in a table with the pass request ID as the FK that ties them into a single "trip". Any pass request IDs not in the trip table need to be calculated. Report. AFAICT the IRS is not going to dispute the figures. There are logs (a file) at the prison that proves I did in fact checked the guys out, and by law I am supposed to take them where I say I am taking them. They actually do occasional checks where they send officers out to see that you are where you say you are going to be. John W. Colby www.ColbyConsulting.com On 9/27/2011 8:16 AM, Stuart McLachlan wrote: > Seems very complicate when you can just record the start/finish > mileage readings of the car for each trip. And that would probably be > more acceptable as a record by the IRS rather than a notional mileage based on maps. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Sep 27 10:16:43 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Sep 2011 11:16:43 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: References: <4E81B916.70601@colbyconsulting.com><4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> Message-ID: <4E81E8DB.2070508@colbyconsulting.com> I don't know about mapquest or googlemaps. I am looking at doing this with vba and MapPoint which is Microsoft's software that I already own. It looks like it is going to be pretty easy to do it. I will be building a table which processes each Pass Request and stores the computed values in a TripMileage table. If I do this on my server then it will be calculated for every user of the database and I can just build a report in the application we use for the pass paperwork, to display the data for each volunteer. John W. Colby www.ColbyConsulting.com On 9/27/2011 9:08 AM, Rocky Smolin wrote: > Is there a way for your app to send start and end points to MapQuest or > GoogleMaps and have them return the mileage? > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, September 27, 2011 5:50 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Calculating mileage > > > Seems very complicate when you can just record the start/finish mileage > readings of the car for each trip. > > Yes but I keep forgetting to enter the start / stop readings. > > A program, once created, just works on whatever data is there. Since I have > to file paperwork for the checkout process, and since those records are > permanently stored in my database, I always have a record of what I did. > > It doesn't seem "very complicated" though it could become so I suppose. The > database has my home address, that is the start / stop point. The database > has the prison camp address, that is the endpoint of the first leg and the > start point of the last leg. > > 1) Calc home to prison > 2) Calc prison to first stop > 3) Calc first stop to second stop > 4) Calc second stop to third stop > 5) Calc third stop to prison > 6) Calc prison to home > > Each becomes a record in a table with the pass request ID as the FK that > ties them into a single "trip". Any pass request IDs not in the trip table > need to be calculated. > > Report. > > AFAICT the IRS is not going to dispute the figures. There are logs (a file) > at the prison that proves I did in fact checked the guys out, and by law I > am supposed to take them where I say I am taking them. They actually do > occasional checks where they send officers out to see that you are where you > say you are going to be. > > John W. Colby > www.ColbyConsulting.com > > On 9/27/2011 8:16 AM, Stuart McLachlan wrote: >> Seems very complicate when you can just record the start/finish >> mileage readings of the car for each trip. And that would probably be >> more acceptable as a record by the IRS rather than a notional mileage > based on maps. >> > -- > 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 Sep 27 12:32:40 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Tue, 27 Sep 2011 10:32:40 -0700 Subject: [AccessD] Calculating mileage In-Reply-To: <4E81E8DB.2070508@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com> <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> <4E81E8DB.2070508@colbyconsulting.com> Message-ID: John, You have a smartphone, right? There's an android app called Mileage Tracker, from Frank Android Software, that lets you do this on you smartphone and export a mileage report to CSV format that can be opened in Excel or whatever. I use it for hospice volunteer and business uses. Charlotte Foust On Tue, Sep 27, 2011 at 8:16 AM, jwcolby wrote: > I don't know about mapquest or googlemaps. I am looking at doing this with > vba and MapPoint which is Microsoft's software that I already own. It looks > like it is going to be pretty easy to do it. I will be building a table > which processes each Pass Request and stores the computed values in a > TripMileage table. If I do this on my server then it will be calculated for > every user of the database and I can just build a report in the application > we use for the pass paperwork, to display the data for each volunteer. > > John W. Colby > www.ColbyConsulting.com > > > > On 9/27/2011 9:08 AM, Rocky Smolin wrote: > >> Is there a way for your app to send start and end points to MapQuest or >> GoogleMaps and have them return the mileage? >> >> Rocky >> >> >> -----Original Message----- >> From: accessd-bounces@**databaseadvisors.com >> [mailto:accessd-bounces@**databaseadvisors.com] >> On Behalf Of jwcolby >> Sent: Tuesday, September 27, 2011 5:50 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Calculating mileage >> >> > Seems very complicate when you can just record the start/finish >> mileage >> readings of the car for each trip. >> >> Yes but I keep forgetting to enter the start / stop readings. >> >> A program, once created, just works on whatever data is there. Since I >> have >> to file paperwork for the checkout process, and since those records are >> permanently stored in my database, I always have a record of what I did. >> >> It doesn't seem "very complicated" though it could become so I suppose. >> The >> database has my home address, that is the start / stop point. The >> database >> has the prison camp address, that is the endpoint of the first leg and the >> start point of the last leg. >> >> 1) Calc home to prison >> 2) Calc prison to first stop >> 3) Calc first stop to second stop >> 4) Calc second stop to third stop >> 5) Calc third stop to prison >> 6) Calc prison to home >> >> Each becomes a record in a table with the pass request ID as the FK that >> ties them into a single "trip". Any pass request IDs not in the trip >> table >> need to be calculated. >> >> Report. >> >> AFAICT the IRS is not going to dispute the figures. There are logs (a >> file) >> at the prison that proves I did in fact checked the guys out, and by law I >> am supposed to take them where I say I am taking them. They actually do >> occasional checks where they send officers out to see that you are where >> you >> say you are going to be. >> >> John W. Colby >> www.ColbyConsulting.com >> >> >> >> On 9/27/2011 8:16 AM, Stuart McLachlan wrote: >> >>> Seems very complicate when you can just record the start/finish >>> mileage readings of the car for each trip. And that would probably be >>> more acceptable as a record by the IRS rather than a notional mileage >>> >> based on maps. >> >>> >>> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/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 Sep 27 12:55:58 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Sep 2011 13:55:58 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: References: <4E81B916.70601@colbyconsulting.com> <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> <4E81E8DB.2070508@colbyconsulting.com> Message-ID: <4E820E2E.4060402@colbyconsulting.com> And I downloaded one but I forget to open it and do it. So I was trying to back fill it, which is a PITA. Then I said... "this is stupid". My database has records for every time I take guys out... Whether or not I remember to track it in a cell phone app or in a notebook, if I don't do it in my database I cannot check the guys out. Ergo, let the computer do it. I truly did not consider this a major development effort and once done it does it for me or for 200 different people using the database. Not that I have 250 people, but I do have three so far. So three (or 150) people trying to remember to track their mileage or my program doing it automatically behind the scenes... If you were a user which would you prefer? I am a user and my manually tracking my mileage has been a disaster. John W. Colby www.ColbyConsulting.com On 9/27/2011 1:32 PM, Charlotte Foust wrote: > John, > > You have a smartphone, right? There's an android app called Mileage > Tracker, from Frank Android Software, that lets you do this on you > smartphone and export a mileage report to CSV format that can be opened in > Excel or whatever. I use it for hospice volunteer and business uses. > > Charlotte Foust From jwcolby at colbyconsulting.com Tue Sep 27 12:59:24 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Sep 2011 13:59:24 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: References: <4E81B916.70601@colbyconsulting.com> <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> <4E81E8DB.2070508@colbyconsulting.com> Message-ID: <4E820EFC.1070903@colbyconsulting.com> Charlotte, I also have to say that it never occurred to me that on a programming group, a request for a vba function would be answered by "do it manually". ;) Disappointed I am. John W. Colby www.ColbyConsulting.com On 9/27/2011 1:32 PM, Charlotte Foust wrote: > John, > > You have a smartphone, right? There's an android app called Mileage > Tracker, from Frank Android Software, that lets you do this on you > smartphone and export a mileage report to CSV format that can be opened in > Excel or whatever. I use it for hospice volunteer and business uses. > > Charlotte Foust From rockysmolin at bchacc.com Tue Sep 27 13:46:47 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 27 Sep 2011 11:46:47 -0700 Subject: [AccessD] Calculating mileage In-Reply-To: <4E820EFC.1070903@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com> <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> <4E81E8DB.2070508@colbyconsulting.com> <4E820EFC.1070903@colbyconsulting.com> Message-ID: The system is the solution not the software. I still keep the corporate records in pencil on a 13 column green sheet because it's effective, easy to add/change/delete, never have to worry about backups, etc. I could move to QuickBooks and spent 3x the time keeping the records. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 27, 2011 10:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calculating mileage Charlotte, I also have to say that it never occurred to me that on a programming group, a request for a vba function would be answered by "do it manually". ;) Disappointed I am. John W. Colby www.ColbyConsulting.com On 9/27/2011 1:32 PM, Charlotte Foust wrote: > John, > > You have a smartphone, right? There's an android app called Mileage > Tracker, from Frank Android Software, that lets you do this on you > smartphone and export a mileage report to CSV format that can be > opened in Excel or whatever. I use it for hospice volunteer and business uses. > > Charlotte Foust -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From steve at goodhall.info Tue Sep 27 13:57:09 2011 From: steve at goodhall.info (Steve Goodhall) Date: Tue, 27 Sep 2011 14:57:09 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: References: <4E81B916.70601@colbyconsulting.com> <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> <4E81E8DB.2070508@colbyconsulting.com> <4E820EFC.1070903@colbyconsulting.com> Message-ID: A couple of questions : What do you do if the dog eats your ledger? Shouldn't you use a quill and inkwell to prevent alteration of the records? Steve Goodhall, MSCS, PMP Sent from my Verizon Wireless Phone -----Original message----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 27, 2011 18:49:18 GMT+00:00 Subject: Re: [AccessD] Calculating mileage The system is the solution not the software. I still keep the corporate records in pencil on a 13 column green sheet because it's effective, easy to add/change/delete, never have to worry about backups, etc. I could move to QuickBooks and spent 3x the time keeping the records. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 27, 2011 10:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calculating mileage Charlotte, I also have to say that it never occurred to me that on a programming group, a request for a vba function would be answered by "do it manually". ;) Disappointed I am. John W. Colby www.ColbyConsulting.com On 9/27/2011 1:32 PM, Charlotte Foust wrote: > John, > > You have a smartphone, right? There's an android app called Mileage > Tracker, from Frank Android Software, that lets you do this on you > smartphone and export a mileage report to CSV format that can be > opened in Excel or whatever. I use it for hospice volunteer and business uses. > > Charlotte Foust -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue Sep 27 14:14:58 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 27 Sep 2011 12:14:58 -0700 Subject: [AccessD] Calculating mileage In-Reply-To: References: <4E81B916.70601@colbyconsulting.com> <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> <4E81E8DB.2070508@colbyconsulting.com> <4E820EFC.1070903@colbyconsulting.com> Message-ID: 1) the dog knows if she ever wants to eat again... 2) how can I alter the books on the fly if they're in ink? I'm keeping the green eyeshade and the high stool, however. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 27, 2011 11:57 AM To: Access Developers discussion and problemsolving Subject: Re: [AccessD] Calculating mileage A couple of questions : What do you do if the dog eats your ledger? Shouldn't you use a quill and inkwell to prevent alteration of the records? Steve Goodhall, MSCS, PMP Sent from my Verizon Wireless Phone -----Original message----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 27, 2011 18:49:18 GMT+00:00 Subject: Re: [AccessD] Calculating mileage The system is the solution not the software. I still keep the corporate records in pencil on a 13 column green sheet because it's effective, easy to add/change/delete, never have to worry about backups, etc. I could move to QuickBooks and spent 3x the time keeping the records. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 27, 2011 10:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calculating mileage Charlotte, I also have to say that it never occurred to me that on a programming group, a request for a vba function would be answered by "do it manually". ;) Disappointed I am. John W. Colby www.ColbyConsulting.com On 9/27/2011 1:32 PM, Charlotte Foust wrote: > John, > > You have a smartphone, right? There's an android app called Mileage > Tracker, from Frank Android Software, that lets you do this on you > smartphone and export a mileage report to CSV format that can be > opened in Excel or whatever. I use it for hospice volunteer and > business uses. > > Charlotte Foust -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Sep 27 14:21:22 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Tue, 27 Sep 2011 12:21:22 -0700 Subject: [AccessD] Calculating mileage In-Reply-To: <4E820EFC.1070903@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com> <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> <4E81E8DB.2070508@colbyconsulting.com> <4E820EFC.1070903@colbyconsulting.com> Message-ID: Too bad, it is. :-> I fail to see how putting your mileage in is doing it manually. Unless you have a sensor in you automobile, you're putting something in somewhere. Charlotte Foust On Tue, Sep 27, 2011 at 10:59 AM, jwcolby wrote: > Charlotte, > > I also have to say that it never occurred to me that on a programming > group, a request for a vba function would be answered by "do it manually". > > ;) > > Disappointed I am. > > > John W. Colby > www.ColbyConsulting.com > > > > On 9/27/2011 1:32 PM, Charlotte Foust wrote: > >> John, >> >> You have a smartphone, right? There's an android app called Mileage >> Tracker, from Frank Android Software, that lets you do this on you >> smartphone and export a mileage report to CSV format that can be opened in >> Excel or whatever. I use it for hospice volunteer and business uses. >> >> 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 Tue Sep 27 14:51:06 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Sep 2011 15:51:06 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: References: <4E81B916.70601@colbyconsulting.com> <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> <4E81E8DB.2070508@colbyconsulting.com> <4E820EFC.1070903@colbyconsulting.com> Message-ID: <4E82292A.3000909@colbyconsulting.com> > I fail to see how putting your mileage in is doing it manually. It absolutely is doing it manually. I have to remember to take my phone (I have actually left it behind occasionally). I have to manually open the program and enter the odometer reading. I have to remember to enter it again when I get home. I have to manually pull it out of the phone into a spreadsheet, and then I have to design calculations to... All pretty much manual. >Unless you have a sensor in you automobile, you're putting something in somewhere. As I explained in the previous emails, there is a database where I build pass requests for checking inmates out of prison. The paperwork (the reason for the databases' existence) requires actual lines on a paper saying that I am taking inmate XYZ to this physical location (with street address) from date time ABC to (same) date (different) time DEF. So in order to check anyone out I have to fill out this paperwork which I do in a database, print out and fax to the prison. These database records record the physical locations (addresses), thus my original question about how to get the mileage from address X to address Y. I have a table with literally hundreds of records about picking guys up at the prison, taking them to a meeting at some address, then to eat at some other address. What is missing (but is easy to create programmatically) is my house to the prison and the prison back to my house. My vision is a small process that is run on my server which every day scans the pass request table for records not yet processed, and builds these mileage records in a mileage table. If this runs daily, then any database user (volunteer) can just run a report to display his mileage for a time period - last week, month or year. The report can list the trips and segments as a log for IRS documentation and multiply by 55c / mile (or whatever the current rate is) for entering into the correct tax form. For the average Joe (me) who does not employ a book keeper this seems infinitely preferable to any alternative I can think of. John W. Colby www.ColbyConsulting.com On 9/27/2011 3:21 PM, Charlotte Foust wrote: > Too bad, it is. :-> > > I fail to see how putting your mileage in is doing it manually. Unless > you have a sensor in you automobile, you're putting something in somewhere. > > Charlotte Foust > > On Tue, Sep 27, 2011 at 10:59 AM, jwcolbywrote: > >> Charlotte, >> >> I also have to say that it never occurred to me that on a programming >> group, a request for a vba function would be answered by "do it manually". >> >> ;) >> >> Disappointed I am. >> >> >> John W. Colby >> www.ColbyConsulting.com >> >> >> >> On 9/27/2011 1:32 PM, Charlotte Foust wrote: >> >>> John, >>> >>> You have a smartphone, right? There's an android app called Mileage >>> Tracker, from Frank Android Software, that lets you do this on you >>> smartphone and export a mileage report to CSV format that can be opened in >>> Excel or whatever. I use it for hospice volunteer and business uses. >>> >>> Charlotte Foust >>> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> >> >> Website: http://www.databaseadvisors.**com >> >> >> From darryl at whittleconsulting.com.au Tue Sep 27 18:17:40 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 28 Sep 2011 09:17:40 +1000 Subject: [AccessD] Calculating mileage In-Reply-To: <4E81B916.70601@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com> Message-ID: <000701cc7d6b$a78c1550$f6a43ff0$@com.au> I would have thought a standard GPS unit would do this for you pretty much automatically, although I have bugger all experience in this area. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, 27 September 2011 9:53 PM To: Access Developers discussion and problem solving Subject: [AccessD] Calculating mileage Before tax time I need to add a module to my inmate checkout to calculate mileage for all legs of a trip with the inmates. The database contains records of where we go - the midpoints points - with addresses, but the database does not have my start / end point (home). 1) Home to prison 2) Prison to first destination in the db 3) First destination to second destination (if any) 4) Second destination to third destination (if any) 5) Last destination to prison 6) Prison to home I thought I would try to use Microsoft Streets and trips to do the mapping, though I am open to using Google Maps if there is a programming interface available to the VBA language. I could of course manually enter the trips into Streets and trips, get the mileage and build a table of all the "legs" that I have ever done but that is error prone and forces me to do the whole thing manually. Also this is in use by other people so it would be nice to build a module that would also calculate their legs, which I certainly do not want to do myself manually. If for tax purposes I just assume that we always start from home and end at home I could use something like Streets and trips (which I have) to calculate all of these legs for each trip and place them in a table. At tax time I then have a mileage log for the IRS. I have never used Streets and Trips for this purpose. I do know that it has an API and VBA available for it. If anyone uses it for this purpose and has a library (or a function) written to do this that they would share that would be great. Or a web or help resource for this. Thanks, -- John W. Colby www.ColbyConsulting.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 Sep 27 21:35:31 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Sep 2011 22:35:31 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: <000701cc7d6b$a78c1550$f6a43ff0$@com.au> References: <4E81B916.70601@colbyconsulting.com> <000701cc7d6b$a78c1550$f6a43ff0$@com.au> Message-ID: <4E8287F3.2000201@colbyconsulting.com> > I would have thought a standard GPS unit would do this for you pretty much automatically Do what for me? A gps gets you from one place to another. I need code to calculate mileage between two points. I have a database of trips I have taken, hundreds of existing records. I need to calculate the mileage of those trips so that I can apply for a tax refund. Maybe I am missing something here. How is a a gps or a smart phone or a paper log going to help me get mileage calculations for existing and future data records in a database? John W. Colby www.ColbyConsulting.com On 9/27/2011 7:17 PM, Darryl Collins wrote: > I would have thought a standard GPS unit would do this for you pretty much > automatically, although I have bugger all experience in this area. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, 27 September 2011 9:53 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Calculating mileage > > Before tax time I need to add a module to my inmate checkout to calculate > mileage for all legs of a > trip with the inmates. The database contains records of where we go - the > midpoints points - with > addresses, but the database does not have my start / end point (home). > > 1) Home to prison > 2) Prison to first destination in the db > 3) First destination to second destination (if any) > 4) Second destination to third destination (if any) > 5) Last destination to prison > 6) Prison to home > > I thought I would try to use Microsoft Streets and trips to do the mapping, > though I am open to > using Google Maps if there is a programming interface available to the VBA > language. > > I could of course manually enter the trips into Streets and trips, get the > mileage and build a table > of all the "legs" that I have ever done but that is error prone and forces > me to do the whole thing > manually. Also this is in use by other people so it would be nice to build > a module that would also > calculate their legs, which I certainly do not want to do myself manually. > > If for tax purposes I just assume that we always start from home and end at > home I could use > something like Streets and trips (which I have) to calculate all of these > legs for each trip and > place them in a table. At tax time I then have a mileage log for the IRS. > > I have never used Streets and Trips for this purpose. I do know that it has > an API and VBA > available for it. If anyone uses it for this purpose and has a library (or > a function) written to > do this that they would share that would be great. Or a web or help > resource for this. > > Thanks, > From vbacreations at gmail.com Tue Sep 27 22:10:32 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Tue, 27 Sep 2011 23:10:32 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: References: <4E81B916.70601@colbyconsulting.com> <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> <4E81E8DB.2070508@colbyconsulting.com> <4E820EFC.1070903@colbyconsulting.com> Message-ID: <006201cc7d8c$2fab2320$8f016960$@gmail.com> It is only manually if there is a clutch. Paddle shifters don't count. :<) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, September 27, 2011 3:21 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calculating mileage Too bad, it is. :-> I fail to see how putting your mileage in is doing it manually. Unless you have a sensor in you automobile, you're putting something in somewhere. Charlotte Foust On Tue, Sep 27, 2011 at 10:59 AM, jwcolby wrote: > Charlotte, > > I also have to say that it never occurred to me that on a programming > group, a request for a vba function would be answered by "do it manually". > > ;) > > Disappointed I am. > > > John W. Colby > www.ColbyConsulting.com > > > > On 9/27/2011 1:32 PM, Charlotte Foust wrote: > >> John, >> >> You have a smartphone, right? There's an android app called Mileage >> Tracker, from Frank Android Software, that lets you do this on you >> smartphone and export a mileage report to CSV format that can be opened in >> Excel or whatever. I use it for hospice volunteer and business uses. >> >> Charlotte Foust >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/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 Sep 27 22:31:44 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 28 Sep 2011 13:31:44 +1000 Subject: [AccessD] Calculating mileage In-Reply-To: <4E8287F3.2000201@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com> <000701cc7d6b$a78c1550$f6a43ff0$@com.au> <4E8287F3.2000201@colbyconsulting.com> Message-ID: <002201cc7d8f$25cae130$7160a390$@com.au> Can't add much value to your historical data issue John, but for your future records, well I guess it depends on how much effort and money you want to put into this. There are 'turnkey' solutions already out there for exactly this sort of reporting. These folks will report on miles / kilometres travelled and way much more for about $40 a month. <> It actually looks like a bit of over engineering for what you are after, but the concept is exactly what I am talking about. Let the GPS record the mileage for you and just download it to you PC. You might find the service above is worth the $40 per month for your needs. Dunno. Anyway, that seems a lot easier than stuffing around with tracking online maps etc Although the cheapest and best solution I would have thought was the one already suggested. Use a smart phone app, or better still, an old fashion paper log book. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, 28 September 2011 12:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calculating mileage > I would have thought a standard GPS unit would do this for you pretty much automatically Do what for me? A gps gets you from one place to another. I need code to calculate mileage between two points. I have a database of trips I have taken, hundreds of existing records. I need to calculate the mileage of those trips so that I can apply for a tax refund. Maybe I am missing something here. How is a a gps or a smart phone or a paper log going to help me get mileage calculations for existing and future data records in a database? John W. Colby www.ColbyConsulting.com On 9/27/2011 7:17 PM, Darryl Collins wrote: > I would have thought a standard GPS unit would do this for you pretty much > automatically, although I have bugger all experience in this area. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, 27 September 2011 9:53 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Calculating mileage > > Before tax time I need to add a module to my inmate checkout to calculate > mileage for all legs of a > trip with the inmates. The database contains records of where we go - the > midpoints points - with > addresses, but the database does not have my start / end point (home). > > 1) Home to prison > 2) Prison to first destination in the db > 3) First destination to second destination (if any) > 4) Second destination to third destination (if any) > 5) Last destination to prison > 6) Prison to home > > I thought I would try to use Microsoft Streets and trips to do the mapping, > though I am open to > using Google Maps if there is a programming interface available to the VBA > language. > > I could of course manually enter the trips into Streets and trips, get the > mileage and build a table > of all the "legs" that I have ever done but that is error prone and forces > me to do the whole thing > manually. Also this is in use by other people so it would be nice to build > a module that would also > calculate their legs, which I certainly do not want to do myself manually. > > If for tax purposes I just assume that we always start from home and end at > home I could use > something like Streets and trips (which I have) to calculate all of these > legs for each trip and > place them in a table. At tax time I then have a mileage log for the IRS. > > I have never used Streets and Trips for this purpose. I do know that it has > an API and VBA > available for it. If anyone uses it for this purpose and has a library (or > a function) written to > do this that they would share that would be great. Or a web or help > resource for this. > > Thanks, > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Sep 28 06:08:03 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 28 Sep 2011 07:08:03 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: <002201cc7d8f$25cae130$7160a390$@com.au> References: <4E81B916.70601@colbyconsulting.com> <000701cc7d6b$a78c1550$f6a43ff0$@com.au> <4E8287F3.2000201@colbyconsulting.com> <002201cc7d8f$25cae130$7160a390$@com.au> Message-ID: <4E830013.2020403@colbyconsulting.com> But... I have database records already in a database. This is not about defining a solution for data that does not exist and I would otherwise have to enter. This is about defining a solution for data that I (and any other user) must enter into the database to use the inmate pass program. *It is already in the database* This is about building a small program to do these calculations about data that has and *is going to* accumulate in the course of doing business. It appears that I am not able to get across to this list the fact that the records already exist in a database. Forget that I am driving. *Just please forget that fact.* I never said anything about actually driving these miles, being in a car or anything else related to automobiles. Now... I have records in a database which have addresses in them. I need to calculate driving distances between those addresses. Pleeeeeeaaaaaaase, I do not want nor do I need anything related to logging miles driven in a car. I need a function which takes two addresses and hands back miles between those points, actual miles that would be driven. BUT I AM NOT DRIVING THOSE MILES. The records are somehow just magically (poof) appearing in a table! John W. Colby www.ColbyConsulting.com On 9/27/2011 11:31 PM, Darryl Collins wrote: > Can't add much value to your historical data issue John, but for your future > records, well I guess it depends on how much effort and money you want to > put into this. > > There are 'turnkey' solutions already out there for exactly this sort of > reporting. These folks will report on miles / kilometres travelled and way > much more for about $40 a month. > > <> > > It actually looks like a bit of over engineering for what you are after, but > the concept is exactly what I am talking about. Let the GPS record the > mileage for you and just download it to you PC. You might find the service > above is worth the $40 per month for your needs. Dunno. Anyway, that seems > a lot easier than stuffing around with tracking online maps etc > > Although the cheapest and best solution I would have thought was the one > already suggested. Use a smart phone app, or better still, an old fashion > paper log book. > > Cheers > Darryl > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Wednesday, 28 September 2011 12:36 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Calculating mileage > > > I would have thought a standard GPS unit would do this for you pretty > much automatically > > Do what for me? A gps gets you from one place to another. I need code to > calculate mileage between > two points. > > I have a database of trips I have taken, hundreds of existing records. I > need to calculate the > mileage of those trips so that I can apply for a tax refund. > > Maybe I am missing something here. How is a a gps or a smart phone or a > paper log going to help me > get mileage calculations for existing and future data records in a database? > > John W. Colby > www.ColbyConsulting.com > > On 9/27/2011 7:17 PM, Darryl Collins wrote: >> I would have thought a standard GPS unit would do this for you pretty much >> automatically, although I have bugger all experience in this area. >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Tuesday, 27 September 2011 9:53 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Calculating mileage >> >> Before tax time I need to add a module to my inmate checkout to calculate >> mileage for all legs of a >> trip with the inmates. The database contains records of where we go - the >> midpoints points - with >> addresses, but the database does not have my start / end point (home). >> >> 1) Home to prison >> 2) Prison to first destination in the db >> 3) First destination to second destination (if any) >> 4) Second destination to third destination (if any) >> 5) Last destination to prison >> 6) Prison to home >> >> I thought I would try to use Microsoft Streets and trips to do the > mapping, >> though I am open to >> using Google Maps if there is a programming interface available to the VBA >> language. >> >> I could of course manually enter the trips into Streets and trips, get the >> mileage and build a table >> of all the "legs" that I have ever done but that is error prone and forces >> me to do the whole thing >> manually. Also this is in use by other people so it would be nice to > build >> a module that would also >> calculate their legs, which I certainly do not want to do myself manually. >> >> If for tax purposes I just assume that we always start from home and end > at >> home I could use >> something like Streets and trips (which I have) to calculate all of these >> legs for each trip and >> place them in a table. At tax time I then have a mileage log for the IRS. >> >> I have never used Streets and Trips for this purpose. I do know that it > has >> an API and VBA >> available for it. If anyone uses it for this purpose and has a library > (or >> a function) written to >> do this that they would share that would be great. Or a web or help >> resource for this. >> >> Thanks, >> From mwp.reid at qub.ac.uk Wed Sep 28 06:13:05 2011 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 28 Sep 2011 12:13:05 +0100 Subject: [AccessD] Calculating mileage In-Reply-To: <4E830013.2020403@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com> <000701cc7d6b$a78c1550$f6a43ff0$@com.au> <4E8287F3.2000201@colbyconsulting.com> <002201cc7d8f$25cae130$7160a390$@com.au> <4E830013.2020403@colbyconsulting.com> Message-ID: <631CF83223105545BF43EFB52CB082956A300542A6@EX2K7-VIRT-2.ads.qub.ac.uk> John Just out of interest how do you work out the route to get the mileage? (I understand what you are doing by the way). I was thinking that they only may pay for the shortest route between A and B and C Martin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 28 September 2011 12:08 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calculating mileage But... I have database records already in a database. This is not about defining a solution for data that does not exist and I would otherwise have to enter. This is about defining a solution for data that I (and any other user) must enter into the database to use the inmate pass program. *It is already in the database* This is about building a small program to do these calculations about data that has and *is going to* accumulate in the course of doing business. It appears that I am not able to get across to this list the fact that the records already exist in a database. Forget that I am driving. *Just please forget that fact.* I never said anything about actually driving these miles, being in a car or anything else related to automobiles. Now... I have records in a database which have addresses in them. I need to calculate driving distances between those addresses. Pleeeeeeaaaaaaase, I do not want nor do I need anything related to logging miles driven in a car. I need a function which takes two addresses and hands back miles between those points, actual miles that would be driven. BUT I AM NOT DRIVING THOSE MILES. The records are somehow just magically (poof) appearing in a table! From jwcolby at colbyconsulting.com Wed Sep 28 06:47:00 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 28 Sep 2011 07:47:00 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: <631CF83223105545BF43EFB52CB082956A300542A6@EX2K7-VIRT-2.ads.qub.ac.uk> References: <4E81B916.70601@colbyconsulting.com> <000701cc7d6b$a78c1550$f6a43ff0$@com.au> <4E8287F3.2000201@colbyconsulting.com> <002201cc7d8f$25cae130$7160a390$@com.au> <4E830013.2020403@colbyconsulting.com> <631CF83223105545BF43EFB52CB082956A300542A6@EX2K7-VIRT-2.ads.qub.ac.uk> Message-ID: <4E830934.7010806@colbyconsulting.com> > Just out of interest how do you work out the route to get the mileage? I *thought* that was the precise question I asked in the first email of this thread. How *do* I do that? My thought was to use a mapping program such as MapPoint. MapPoint has VBA behind it and it has an API. AFAICT MapPoint and other such programs already pretty much calculate shortest distance. That is actually good enough and in fact what I want. I pretty much don't care, not do I have any clue what actual route was driven. If the user wanted to take the inmate on a tour of another city while driving them from point a to point be, that is not my concern. What I actually need is "what would a map program say was the route and what was that distance". If I don't have an actual log (and I don't!!! and I CAN'T!!!) then this is what the IRS will want for documentation. John W. Colby www.ColbyConsulting.com On 9/28/2011 7:13 AM, Martin Reid wrote: > John > > Just out of interest how do you work out the route to get the mileage? (I understand what you are doing by the way). I was thinking that they only may pay for the shortest route between A and B and C > > Martin > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 28 September 2011 12:08 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Calculating mileage > > But... I have database records already in a database. This is not about defining a solution for data that does not exist and I would otherwise have to enter. This is about defining a solution for data that I (and any other user) must enter into the database to use the inmate pass program. > > *It is already in the database* > > This is about building a small program to do these calculations about data that has and *is going > to* accumulate in the course of doing business. > > It appears that I am not able to get across to this list the fact that the records already exist in a database. > > Forget that I am driving. *Just please forget that fact.* I never said anything about actually > driving these miles, being in a car or anything else related to automobiles. > > Now... > > I have records in a database which have addresses in them. I need to calculate driving distances between those addresses. > > Pleeeeeeaaaaaaase, I do not want nor do I need anything related to logging miles driven in a car. > > I need a function which takes two addresses and hands back miles between those points, actual miles that would be driven. > > BUT I AM NOT DRIVING THOSE MILES. The records are somehow just magically (poof) appearing in a table! > From stuart at lexacorp.com.pg Wed Sep 28 06:58:18 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 28 Sep 2011 21:58:18 +1000 Subject: [AccessD] Calculating mileage In-Reply-To: <4E830013.2020403@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com>, <002201cc7d8f$25cae130$7160a390$@com.au>, <4E830013.2020403@colbyconsulting.com> Message-ID: <4E830BDA.13417.25CA9EA5@stuart.lexacorp.com.pg> You could possible build a website scaper function to use this: http://www.randmcnally.com/mileage-calculator.do On 28 Sep 2011 at 7:08, jwcolby wrote: > But... I have database records already in a database. This is not > about defining a solution for data that does not exist and I would > otherwise have to enter. This is about defining a solution for data > that I (and any other user) must enter into the database to use the > inmate pass program. > > *It is already in the database* > > This is about building a small program to do these calculations about > data that has and *is going to* accumulate in the course of doing > business. > > It appears that I am not able to get across to this list the fact that > the records already exist in a database. > > Forget that I am driving. *Just please forget that fact.* I never > said anything about actually driving these miles, being in a car or > anything else related to automobiles. > > Now... > > I have records in a database which have addresses in them. I need to > calculate driving distances between those addresses. > > Pleeeeeeaaaaaaase, I do not want nor do I need anything related to > logging miles driven in a car. > > I need a function which takes two addresses and hands back miles > between those points, actual miles that would be driven. > > BUT I AM NOT DRIVING THOSE MILES. The records are somehow just > magically (poof) appearing in a table! > > John W. Colby > www.ColbyConsulting.com > > On 9/27/2011 11:31 PM, Darryl Collins wrote: > > Can't add much value to your historical data issue John, but for > > your future records, well I guess it depends on how much effort and > > money you want to put into this. > > > > There are 'turnkey' solutions already out there for exactly this > > sort of reporting. These folks will report on miles / kilometres > > travelled and way much more for about $40 a month. > > > > <> > > > > It actually looks like a bit of over engineering for what you are > > after, but the concept is exactly what I am talking about. Let the > > GPS record the mileage for you and just download it to you PC. You > > might find the service above is worth the $40 per month for your > > needs. Dunno. Anyway, that seems a lot easier than stuffing around > > with tracking online maps etc > > > > Although the cheapest and best solution I would have thought was the > > one already suggested. Use a smart phone app, or better still, an > > old fashion paper log book. > > > > Cheers > > Darryl > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > > Sent: Wednesday, 28 September 2011 12:36 PM To: Access Developers > > discussion and problem solving Subject: Re: [AccessD] Calculating > > mileage > > > > > I would have thought a standard GPS unit would do this for you > > > pretty > > much automatically > > > > Do what for me? A gps gets you from one place to another. I need > > code to calculate mileage between two points. > > > > I have a database of trips I have taken, hundreds of existing > > records. I need to calculate the mileage of those trips so that I > > can apply for a tax refund. > > > > Maybe I am missing something here. How is a a gps or a smart phone > > or a paper log going to help me get mileage calculations for > > existing and future data records in a database? > > > > John W. Colby > > www.ColbyConsulting.com > > > > On 9/27/2011 7:17 PM, Darryl Collins wrote: > >> I would have thought a standard GPS unit would do this for you > >> pretty much automatically, although I have bugger all experience in > >> this area. > >> > >> > >> > >> -----Original Message----- > >> From: accessd-bounces at databaseadvisors.com > >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > >> Sent: Tuesday, 27 September 2011 9:53 PM To: Access Developers > >> discussion and problem solving Subject: [AccessD] Calculating > >> mileage > >> > >> Before tax time I need to add a module to my inmate checkout to > >> calculate mileage for all legs of a trip with the inmates. The > >> database contains records of where we go - the midpoints points - > >> with addresses, but the database does not have my start / end point > >> (home). > >> > >> 1) Home to prison > >> 2) Prison to first destination in the db > >> 3) First destination to second destination (if any) > >> 4) Second destination to third destination (if any) > >> 5) Last destination to prison > >> 6) Prison to home > >> > >> I thought I would try to use Microsoft Streets and trips to do the > > mapping, > >> though I am open to > >> using Google Maps if there is a programming interface available to > >> the VBA language. > >> > >> I could of course manually enter the trips into Streets and trips, > >> get the mileage and build a table of all the "legs" that I have > >> ever done but that is error prone and forces me to do the whole > >> thing manually. Also this is in use by other people so it would be > >> nice to > > build > >> a module that would also > >> calculate their legs, which I certainly do not want to do myself > >> manually. > >> > >> If for tax purposes I just assume that we always start from home > >> and end > > at > >> home I could use > >> something like Streets and trips (which I have) to calculate all of > >> these legs for each trip and place them in a table. At tax time I > >> then have a mileage log for the IRS. > >> > >> I have never used Streets and Trips for this purpose. I do know > >> that it > > has > >> an API and VBA > >> available for it. If anyone uses it for this purpose and has a > >> library > > (or > >> a function) written to > >> do this that they would share that would be great. Or a web or > >> help resource for this. > >> > >> Thanks, > >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From paul.hartland at googlemail.com Wed Sep 28 06:58:50 2011 From: paul.hartland at googlemail.com (Paul Hartland) Date: Wed, 28 Sep 2011 12:58:50 +0100 Subject: [AccessD] Calculating mileage In-Reply-To: <4E830934.7010806@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com> <000701cc7d6b$a78c1550$f6a43ff0$@com.au> <4E8287F3.2000201@colbyconsulting.com> <002201cc7d8f$25cae130$7160a390$@com.au> <4E830013.2020403@colbyconsulting.com> <631CF83223105545BF43EFB52CB082956A300542A6@EX2K7-VIRT-2.ads.qub.ac.uk> <4E830934.7010806@colbyconsulting.com> Message-ID: John, I have previously used MapPoint to do this using VB6, I had a matrix table of postcode sectors and calculated the shortest driving distance using that. However took quite a while as there were a few hundred thousand, and couldn't get the code to calculate any quicker than about 2 seconds per record. However our old web developer (since left the company), wrote a PHP page that interfaced with Google and this was much quicker, however I do not know how he referenced Google etc. Paul On 28 September 2011 12:47, jwcolby wrote: > > Just out of interest how do you work out the route to get the mileage? > > I *thought* that was the precise question I asked in the first email of > this thread. How *do* I do that? > > My thought was to use a mapping program such as MapPoint. MapPoint has VBA > behind it and it has an API. > > AFAICT MapPoint and other such programs already pretty much calculate > shortest distance. That is actually good enough and in fact what I want. I > pretty much don't care, not do I have any clue what actual route was driven. > If the user wanted to take the inmate on a tour of another city while > driving them from point a to point be, that is not my concern. What I > actually need is "what would a map program say was the route and what was > that distance". > > If I don't have an actual log (and I don't!!! and I CAN'T!!!) then this is > what the IRS will want for documentation. > > John W. Colby > www.ColbyConsulting.com > > On 9/28/2011 7:13 AM, Martin Reid wrote: > >> John >> >> Just out of interest how do you work out the route to get the mileage? (I >> understand what you are doing by the way). I was thinking that they only may >> pay for the shortest route between A and B and C >> >> Martin >> >> >> >> -----Original Message----- >> From: accessd-bounces@**databaseadvisors.com[mailto: >> accessd-bounces@**databaseadvisors.com] >> On Behalf Of jwcolby >> Sent: 28 September 2011 12:08 >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Calculating mileage >> >> But... I have database records already in a database. This is not about >> defining a solution for data that does not exist and I would otherwise have >> to enter. This is about defining a solution for data that I (and any other >> user) must enter into the database to use the inmate pass program. >> >> *It is already in the database* >> >> This is about building a small program to do these calculations about data >> that has and *is going >> to* accumulate in the course of doing business. >> >> It appears that I am not able to get across to this list the fact that the >> records already exist in a database. >> >> Forget that I am driving. *Just please forget that fact.* I never said >> anything about actually >> driving these miles, being in a car or anything else related to >> automobiles. >> >> Now... >> >> I have records in a database which have addresses in them. I need to >> calculate driving distances between those addresses. >> >> Pleeeeeeaaaaaaase, I do not want nor do I need anything related to logging >> miles driven in a car. >> >> I need a function which takes two addresses and hands back miles between >> those points, actual miles that would be driven. >> >> BUT I AM NOT DRIVING THOSE MILES. The records are somehow just magically >> (poof) appearing in a table! >> >> -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > -- Paul Hartland paul.hartland at googlemail.com From jimdettman at verizon.net Wed Sep 28 07:38:35 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 28 Sep 2011 08:38:35 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: <4E81B916.70601@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com> Message-ID: <53BF52EE670C49BD9C9DA549E56D5CC0@XPS> John, Check out the following two links: http://rdsrc.us/7mwAve This has a solution from Helen Feddema, which places a Google Map in a web browser control and allow you to get the route and mileage between zips. This is not exactly what you want, but it shows you the basic technique of formatting a URL for Google Maps. http://rdsrc.us/XqHekz This second one is a lot closer to what you want, but it was done in an Excel spreadsheet. Still VBA code though and you should be able to drop it into Access except for the cell references. Scroll to the bottom and about four comments back. Look for the one from Patrick with the download web-Google-maps-distances-10-2-.xls. He notes that this is for distance between zips, but that an address in the to/from column would work as well, so that should suite your purposes. There may be a solution that's dead on, but I don't have the time to search at the moment. Between the two above, you should be able to figure it out fast enough. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 27, 2011 07:53 AM To: Access Developers discussion and problem solving Subject: [AccessD] Calculating mileage Before tax time I need to add a module to my inmate checkout to calculate mileage for all legs of a trip with the inmates. The database contains records of where we go - the midpoints points - with addresses, but the database does not have my start / end point (home). 1) Home to prison 2) Prison to first destination in the db 3) First destination to second destination (if any) 4) Second destination to third destination (if any) 5) Last destination to prison 6) Prison to home I thought I would try to use Microsoft Streets and trips to do the mapping, though I am open to using Google Maps if there is a programming interface available to the VBA language. I could of course manually enter the trips into Streets and trips, get the mileage and build a table of all the "legs" that I have ever done but that is error prone and forces me to do the whole thing manually. Also this is in use by other people so it would be nice to build a module that would also calculate their legs, which I certainly do not want to do myself manually. If for tax purposes I just assume that we always start from home and end at home I could use something like Streets and trips (which I have) to calculate all of these legs for each trip and place them in a table. At tax time I then have a mileage log for the IRS. I have never used Streets and Trips for this purpose. I do know that it has an API and VBA available for it. If anyone uses it for this purpose and has a library (or a function) written to do this that they would share that would be great. Or a web or help resource for this. Thanks, -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Wed Sep 28 08:37:57 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Wed, 28 Sep 2011 09:37:57 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: <53BF52EE670C49BD9C9DA549E56D5CC0@XPS> References: <4E81B916.70601@colbyconsulting.com> <53BF52EE670C49BD9C9DA549E56D5CC0@XPS> Message-ID: <000e01cc7de3$d610dfa0$82329ee0$@gmail.com> I would contact a company like Transfinder.com and ask them how they do it. They plan bus routes. I know they use a lot of stuff besides shortest possible route, but I am sure that is their starting point. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, September 28, 2011 8:39 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Calculating mileage John, Check out the following two links: http://rdsrc.us/7mwAve This has a solution from Helen Feddema, which places a Google Map in a web browser control and allow you to get the route and mileage between zips. This is not exactly what you want, but it shows you the basic technique of formatting a URL for Google Maps. http://rdsrc.us/XqHekz This second one is a lot closer to what you want, but it was done in an Excel spreadsheet. Still VBA code though and you should be able to drop it into Access except for the cell references. Scroll to the bottom and about four comments back. Look for the one from Patrick with the download web-Google-maps-distances-10-2-.xls. He notes that this is for distance between zips, but that an address in the to/from column would work as well, so that should suite your purposes. There may be a solution that's dead on, but I don't have the time to search at the moment. Between the two above, you should be able to figure it out fast enough. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 27, 2011 07:53 AM To: Access Developers discussion and problem solving Subject: [AccessD] Calculating mileage Before tax time I need to add a module to my inmate checkout to calculate mileage for all legs of a trip with the inmates. The database contains records of where we go - the midpoints points - with addresses, but the database does not have my start / end point (home). 1) Home to prison 2) Prison to first destination in the db 3) First destination to second destination (if any) 4) Second destination to third destination (if any) 5) Last destination to prison 6) Prison to home I thought I would try to use Microsoft Streets and trips to do the mapping, though I am open to using Google Maps if there is a programming interface available to the VBA language. I could of course manually enter the trips into Streets and trips, get the mileage and build a table of all the "legs" that I have ever done but that is error prone and forces me to do the whole thing manually. Also this is in use by other people so it would be nice to build a module that would also calculate their legs, which I certainly do not want to do myself manually. If for tax purposes I just assume that we always start from home and end at home I could use something like Streets and trips (which I have) to calculate all of these legs for each trip and place them in a table. At tax time I then have a mileage log for the IRS. I have never used Streets and Trips for this purpose. I do know that it has an API and VBA available for it. If anyone uses it for this purpose and has a library (or a function) written to do this that they would share that would be great. Or a web or help resource for this. Thanks, -- John W. Colby www.ColbyConsulting.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 Wed Sep 28 08:42:27 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 28 Sep 2011 09:42:27 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: <53BF52EE670C49BD9C9DA549E56D5CC0@XPS> References: <4E81B916.70601@colbyconsulting.com> <53BF52EE670C49BD9C9DA549E56D5CC0@XPS> Message-ID: <4E832443.6000300@colbyconsulting.com> Thanks Jim. John W. Colby www.ColbyConsulting.com On 9/28/2011 8:38 AM, Jim Dettman wrote: > John, > > Check out the following two links: > > http://rdsrc.us/7mwAve > > This has a solution from Helen Feddema, which places a Google Map in a web > browser control and allow you to get the route and mileage between zips. > This is not exactly what you want, but it shows you the basic technique of > formatting a URL for Google Maps. > > http://rdsrc.us/XqHekz > > This second one is a lot closer to what you want, but it was done in an > Excel spreadsheet. Still VBA code though and you should be able to drop it > into Access except for the cell references. Scroll to the bottom and about > four comments back. Look for the one from Patrick with the download > web-Google-maps-distances-10-2-.xls. > > He notes that this is for distance between zips, but that an address in > the to/from column would work as well, so that should suite your purposes. > > There may be a solution that's dead on, but I don't have the time to > search at the moment. Between the two above, you should be able to figure > it out fast enough. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, September 27, 2011 07:53 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Calculating mileage > > Before tax time I need to add a module to my inmate checkout to calculate > mileage for all legs of a > trip with the inmates. The database contains records of where we go - the > midpoints points - with > addresses, but the database does not have my start / end point (home). > > 1) Home to prison > 2) Prison to first destination in the db > 3) First destination to second destination (if any) > 4) Second destination to third destination (if any) > 5) Last destination to prison > 6) Prison to home > > I thought I would try to use Microsoft Streets and trips to do the mapping, > though I am open to > using Google Maps if there is a programming interface available to the VBA > language. > > I could of course manually enter the trips into Streets and trips, get the > mileage and build a table > of all the "legs" that I have ever done but that is error prone and forces > me to do the whole thing > manually. Also this is in use by other people so it would be nice to build > a module that would also > calculate their legs, which I certainly do not want to do myself manually. > > If for tax purposes I just assume that we always start from home and end at > home I could use > something like Streets and trips (which I have) to calculate all of these > legs for each trip and > place them in a table. At tax time I then have a mileage log for the IRS. > > I have never used Streets and Trips for this purpose. I do know that it has > an API and VBA > available for it. If anyone uses it for this purpose and has a library (or > a function) written to > do this that they would share that would be great. Or a web or help > resource for this. > > Thanks, > From rockysmolin at bchacc.com Fri Sep 30 08:25:04 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 30 Sep 2011 06:25:04 -0700 Subject: [AccessD] OT Friday - Calculus Problem Message-ID: Dear Lists: My son has a calc test today and has a problem he doesn't understand. I can't help him with it. Anyone remember how to do this? Position function is s(t) = -4.9t**2 +200 which gives the height in meters of an object that is falling from a height of 200 meters. The velocity at time t = as seconds is given by: lim(t-->a) = ((s(a)-s(t)) / (a-t) FInd the velocity of the object when t=4. The answer in -39.2 m/sec. How is that derived? MTIA Rocky From dbdoug at gmail.com Fri Sep 30 11:28:59 2011 From: dbdoug at gmail.com (Doug Steele) Date: Fri, 30 Sep 2011 09:28:59 -0700 Subject: [AccessD] OT Friday - Calculus Problem In-Reply-To: References: Message-ID: I can do it but I can't explain it well :) if the position function is s(t) = -4.9t**2 + 200 then the function for the change of position in time (the velocity) is the derivative of the first function (notice the apostrophe after the s). s'(t) = -4.9 * 2 * t solving for t= 4 gives you -39.2 Funny what you remember from high school! Yes, I took calculus in high school. Newtonian calculus, at that, so I found university calculus a total mind fzck. Doug On Fri, Sep 30, 2011 at 6:25 AM, Rocky Smolin wrote: > Dear Lists: > > My son has a calc test today and has a problem he doesn't understand. I > can't help him with it. Anyone remember how to do this? > > Position function is s(t) = -4.9t**2 +200 > > which gives the height in meters of an object that is falling from a height > of 200 meters. The velocity at time t = as seconds is given by: > > lim(t-->a) = ((s(a)-s(t)) / (a-t) > > FInd the velocity of the object when t=4. The answer in -39.2 m/sec. How > is > that derived? > > MTIA > > Rocky > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Fri Sep 30 11:46:21 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 30 Sep 2011 09:46:21 -0700 Subject: [AccessD] OT Friday - Calculus Problem In-Reply-To: References: Message-ID: <3852DFA8DBFC4E298275BB740F9B70DF@HAL9007> Thanks Doug. I'll forward to him at school, maybe he'll get it off his phone. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Friday, September 30, 2011 9:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Friday - Calculus Problem I can do it but I can't explain it well :) if the position function is s(t) = -4.9t**2 + 200 then the function for the change of position in time (the velocity) is the derivative of the first function (notice the apostrophe after the s). s'(t) = -4.9 * 2 * t solving for t= 4 gives you -39.2 Funny what you remember from high school! Yes, I took calculus in high school. Newtonian calculus, at that, so I found university calculus a total mind fzck. Doug On Fri, Sep 30, 2011 at 6:25 AM, Rocky Smolin wrote: > Dear Lists: > > My son has a calc test today and has a problem he doesn't understand. > I can't help him with it. Anyone remember how to do this? > > Position function is s(t) = -4.9t**2 +200 > > which gives the height in meters of an object that is falling from a > height of 200 meters. The velocity at time t = as seconds is given by: > > lim(t-->a) = ((s(a)-s(t)) / (a-t) > > FInd the velocity of the object when t=4. The answer in -39.2 m/sec. > How is that derived? > > MTIA > > Rocky > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Sep 30 16:58:31 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 30 Sep 2011 17:58:31 -0400 Subject: [AccessD] Geek to Live: Secure your saved passwords in Firefox Message-ID: <4E863B87.4080302@colbyconsulting.com> http://lifehacker.com/154099/geek-to-live--secure-your-saved-passwords-in-firefox jwcolby From fuller.artful at gmail.com Fri Sep 30 20:14:53 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 30 Sep 2011 21:14:53 -0400 Subject: [AccessD] OT Friday - Calculus Problem In-Reply-To: References: Message-ID: I am just about to turn 64yo, and suddenly all this stuff is interesting to me. Perhaps this might be characterized as some new disease, in which case I might be able to bill the government for treatments, or at least some academic attention LOL. I follow your thread and approve same. On Fri, Sep 30, 2011 at 12:28 PM, Doug Steele wrote: > I can do it but I can't explain it well :) > > if the position function is s(t) = -4.9t**2 + 200 > > then the function for the change of position in time (the velocity) is the > derivative of the first function (notice the apostrophe after the s). > > s'(t) = -4.9 * 2 * t > > solving for t= 4 gives you -39.2 > > From fuller.artful at gmail.com Thu Sep 1 03:52:17 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 1 Sep 2011 04:52:17 -0400 Subject: [AccessD] FYI In-Reply-To: <4FBD11DE4F9D49A6B237BC4F059C1660@HAL9007> References: <4FBD11DE4F9D49A6B237BC4F059C1660@HAL9007> Message-ID: Thanks for this, Rocky. I wondered where it went. Arthur From jwcolby at colbyconsulting.com Thu Sep 1 09:25:03 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 01 Sep 2011 10:25:03 -0400 Subject: [AccessD] Hiding objects programmatically Message-ID: <4E5F95BF.4060103@colbyconsulting.com> For production databases I like to hide all the objects in the design window by setting the property to hidden. In the properties window (Tools / options / View) I then uncheck Hidden Objects and System Objects. This just adds another level of obsfucation to the database for the average user. I did this and everything was copacetic. And then... I run one (several actually) of my databases under 2007 runtime and this database was giving me that crash I discussed awhile back. I ended up having to import everything into a new database and in doing so the hidden attribute of everything was set to visible. I don't have any code to set that property true / false for every object so I thought I'd ask before I go write one. So, does anyone have code to set the Hidden property of the database objects (tables, forms etc)? -- John W. Colby www.ColbyConsulting.com From dhb at flsi.com Thu Sep 1 10:28:49 2011 From: dhb at flsi.com (Darrell Burns) Date: Thu, 1 Sep 2011 08:28:49 -0700 Subject: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address In-Reply-To: <000001cc6845$7eebb370$7cc31a50$@gmail.com> References: <01f201cc6759$65ab09c0$31011d40$@flsi.com> <4E5D5C94.24414.39EA6EB@stuart.lexacorp.com.pg> <005f01cc6762$3855ba20$a9012e60$@gmail.com> <01f901cc677f$0366ad70$0a340850$@flsi.com> <023801cc6805$c06b89a0$41429ce0$@flsi.com> <000101cc680f$a84c42b0$f8e4c810$@gmail.com> <024b01cc6822$e6b7e550$b427aff0$@flsi.com> <000001cc6845$7eebb370$7cc31a50$@gmail.com> Message-ID: <028701cc68bb$d949b080$8bdd1180$@flsi.com> Sorry -- default account, not folder. I have 4 eMail accounts set up in Outlook, and one is set as the default account. That's what I'm trying to identify. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, August 31, 2011 6:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Here is a way to set a reference to the default mail folder: Set MyFolder = myNameSpace.GetDefaultFolder(olFolderInbox) ' olFolderInbox = 6 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns Sent: Wednesday, August 31, 2011 5:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Thanx, Bill. I was able to get a list of my accounts. Do you know what the property is for the Default account? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, August 31, 2011 11:56 AM To: 'Access Developers discussion and problem solving' Subject: [Spam]8.51 Re: [AccessD] [Spam]8.51 Re: Get sender's eMail address This works from Access with a reference to Outlook only... Note I have a pst folder called GMAIL and I am searching Inbox... change to suit. Dim myOlApp As Object Dim myNameSpace As Object Dim myfolders As Object Dim MyFolder As Object Dim myfolder2 As Object Dim item As Object Dim n As Long Set myOlApp = CreateObject("Outlook.Application") Set myNameSpace = myOlApp.GetNamespace("MAPI") Set myfolders = myNameSpace.Folders n = 1 Do Until UCase(myfolders.item(n).Name) = "GMAIL" n = n + 1 Loop Set MyFolder = myfolders.item(n) Set myfolder2 = MyFolder.Folders("Inbox") For Each item In myfolder2.Items If item.Class = 43 Then Debug.Print item.SenderEmailAddress End If Next item End Sub -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dhb at flsi.com Thu Sep 1 10:36:13 2011 From: dhb at flsi.com (Darrell Burns) Date: Thu, 1 Sep 2011 08:36:13 -0700 Subject: [AccessD] Access2010 Runtime problem In-Reply-To: <024701cc6819$ada82210$08f86630$@flsi.com> References: <024701cc6819$ada82210$08f86630$@flsi.com> Message-ID: <028801cc68bc$e267b710$a7372530$@flsi.com> FWIW, I discovered that the remedy to the read-only constraint is to make the runtime folder shareable. This makes no sense, of course, because now I have to set the share status on the installation folder on every workstation before I distribute the package. If anybody knows a way around this, I'd love to hear it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns Sent: Wednesday, August 31, 2011 1:08 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access2010 Runtime problem I have an app that's been developed in A2010 on my Windows7 machine running Office2010 32bit. Autoexec runs a proc called "AddTrustedLocation" (which I picked up from UtterAccess) that inserts registry settings to add the app's current database as a trusted location. I created a runtime with the Package Wizard, tested it on the same development box and everything works fine...the registry settings are properly updated and the app opens into the Switchboard. But when I install the runtime on a different Windows7 machine (also with Office 2010) it crashes on opening. I confirmed that the folder is trusted via the registry settings. So I disabled the Autoexec and all the Switchboard startup procedures. At least the app opens the Switchboard, but now I get a "This database has been opened read-only" message. I suspect that this is why it was crashing before I disabled everything. This is a front-end to a SQLServer database but I do have a few local tables I use for temporary storage, so read-only is a show-stopper. The folder it's in has full privileges. I confirmed this by copying in the accdb version, and it works just fine. What would be the cause (and remedy) for this condition? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Thu Sep 1 11:53:12 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 1 Sep 2011 09:53:12 -0700 Subject: [AccessD] Access2010 Runtime problem In-Reply-To: <028801cc68bc$e267b710$a7372530$@flsi.com> References: <024701cc6819$ada82210$08f86630$@flsi.com> <028801cc68bc$e267b710$a7372530$@flsi.com> Message-ID: It's details like that that make pro shops use packagers like Wise or InstallShield, which can be scripted to handle those situations when the runtime installs. Charlotte Foust On Thu, Sep 1, 2011 at 8:36 AM, Darrell Burns wrote: > FWIW, I discovered that the remedy to the read-only constraint is to make > the runtime folder shareable. This makes no sense, of course, because now I > have to set the share status on the installation folder on every > workstation > before I distribute the package. If anybody knows a way around this, I'd > love to hear it. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns > Sent: Wednesday, August 31, 2011 1:08 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Access2010 Runtime problem > > I have an app that's been developed in A2010 on my Windows7 machine running > Office2010 32bit. Autoexec runs a proc called "AddTrustedLocation" (which I > picked up from UtterAccess) that inserts registry settings to add the app's > current database as a trusted location. I created a runtime with the > Package > Wizard, tested it on the same development box and everything works > fine...the registry settings are properly updated and the app opens into > the > Switchboard. But when I install the runtime on a different Windows7 machine > (also with Office 2010) it crashes on opening. I confirmed that the folder > is trusted via the registry settings. > > So I disabled the Autoexec and all the Switchboard startup procedures. At > least the app opens the Switchboard, but now I get a "This database has > been > opened read-only" message. I suspect that this is why it was crashing > before > I disabled everything. This is a front-end to a SQLServer database but I do > have a few local tables I use for temporary storage, so read-only is a > show-stopper. The folder it's in has full privileges. I confirmed this by > copying in the accdb version, and it works just fine. What would be the > cause (and remedy) for this condition? > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Thu Sep 1 11:55:47 2011 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Thu, 1 Sep 2011 12:55:47 -0400 Subject: [AccessD] Hiding objects programmatically In-Reply-To: <4E5F95BF.4060103@colbyconsulting.com> References: <4E5F95BF.4060103@colbyconsulting.com> Message-ID: Heads Up John, I don't know if this bug has been fixed but check this out... http://access.mvps.org/access/bugs/bugs0036.htm Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, September 01, 2011 10:25 AM To: Access Developers discussion and problem solving Subject: [AccessD] Hiding objects programmatically For production databases I like to hide all the objects in the design window by setting the property to hidden. In the properties window (Tools / options / View) I then uncheck Hidden Objects and System Objects. This just adds another level of obsfucation to the database for the average user. I did this and everything was copacetic. And then... I run one (several actually) of my databases under 2007 runtime and this database was giving me that crash I discussed awhile back. I ended up having to import everything into a new database and in doing so the hidden attribute of everything was set to visible. I don't have any code to set that property true / false for every object so I thought I'd ask before I go write one. So, does anyone have code to set the Hidden property of the database objects (tables, forms etc)? -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Thu Sep 1 12:01:23 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 1 Sep 2011 10:01:23 -0700 Subject: [AccessD] Hiding objects programmatically In-Reply-To: References: <4E5F95BF.4060103@colbyconsulting.com> Message-ID: As I recall, the dbHiddenObject flag was used internally when you "deleted" a table. I got bitten by this back in A2k, IIRC. Charlotte Foust On Thu, Sep 1, 2011 at 9:55 AM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > Heads Up John, > > I don't know if this bug has been fixed but check this out... > > http://access.mvps.org/access/bugs/bugs0036.htm > > > > Lambert > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, September 01, 2011 10:25 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Hiding objects programmatically > > For production databases I like to hide all the objects in the design > window by setting the property to hidden. In the properties window (Tools / > options / View) I then uncheck Hidden Objects and System Objects. This just > adds another level of obsfucation to the database for the average user. > > I did this and everything was copacetic. And then... I run one (several > actually) of my databases under 2007 runtime and this database was giving me > that crash I discussed awhile back. I ended up having to import everything > into a new database and in doing so the hidden attribute of everything was > set to visible. > > I don't have any code to set that property true / false for every object so > I thought I'd ask before I go write one. > > So, does anyone have code to set the Hidden property of the database > objects (tables, forms etc)? > > -- > John W. Colby > www.ColbyConsulting.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 Thu Sep 1 12:09:59 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 01 Sep 2011 13:09:59 -0400 Subject: [AccessD] Hiding objects programmatically In-Reply-To: References: <4E5F95BF.4060103@colbyconsulting.com> Message-ID: <4E5FBC67.5010506@colbyconsulting.com> Wow, thanks for the warning. I vaguely remember this but never really used the hidden property before. I guess I will set by hand. Do we think this only apples to tables or every database object? John W. Colby www.ColbyConsulting.com On 9/1/2011 12:55 PM, Heenan, Lambert wrote: > Heads Up John, > > I don't know if this bug has been fixed but check this out... > > http://access.mvps.org/access/bugs/bugs0036.htm > > Lambert > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, September 01, 2011 10:25 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Hiding objects programmatically > > For production databases I like to hide all the objects in the design window by setting the property to hidden. In the properties window (Tools / options / View) I then uncheck Hidden Objects and System Objects. This just adds another level of obsfucation to the database for the average user. > > I did this and everything was copacetic. And then... I run one (several actually) of my databases under 2007 runtime and this database was giving me that crash I discussed awhile back. I ended up having to import everything into a new database and in doing so the hidden attribute of everything was set to visible. > > I don't have any code to set that property true / false for every object so I thought I'd ask before I go write one. > > So, does anyone have code to set the Hidden property of the database objects (tables, forms etc)? > > -- > John W. Colby > www.ColbyConsulting.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 Sep 1 12:26:05 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Thu, 1 Sep 2011 13:26:05 -0400 Subject: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address In-Reply-To: <028701cc68bb$d949b080$8bdd1180$@flsi.com> References: <01f201cc6759$65ab09c0$31011d40$@flsi.com> <4E5D5C94.24414.39EA6EB@stuart.lexacorp.com.pg> <005f01cc6762$3855ba20$a9012e60$@gmail.com> <01f901cc677f$0366ad70$0a340850$@flsi.com> <023801cc6805$c06b89a0$41429ce0$@flsi.com> <000101cc680f$a84c42b0$f8e4c810$@gmail.com> <024b01cc6822$e6b7e550$b427aff0$@flsi.com> <000001cc6845$7eebb370$7cc31a50$@gmail.com> <028701cc68bb$d949b080$8bdd1180$@flsi.com> Message-ID: <001b01cc68cc$3c5b1140$b51133c0$@gmail.com> Not sure it can be done without Redemption because there just is nothing exposed through the Outlook library that lets you examine the Session object that carefully. All accounts are in the Accounts collection but there is nothing about any of those objects which tells you it is the default, and nothing about the Session object itself which indicates what account will be used by default to send a message. At least insofar as I have been able to discover through the Locals window. Good luck in the quest and let us know if you get farther, I would like to know. FYI ... this is drifting far away from getting the Sender's e-mail address ... was that resolved to your satisfaction? Bill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns Sent: Thursday, September 01, 2011 11:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Sorry -- default account, not folder. I have 4 eMail accounts set up in Outlook, and one is set as the default account. That's what I'm trying to identify. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, August 31, 2011 6:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Here is a way to set a reference to the default mail folder: Set MyFolder = myNameSpace.GetDefaultFolder(olFolderInbox) ' olFolderInbox = 6 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns Sent: Wednesday, August 31, 2011 5:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Thanx, Bill. I was able to get a list of my accounts. Do you know what the property is for the Default account? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, August 31, 2011 11:56 AM To: 'Access Developers discussion and problem solving' Subject: [Spam]8.51 Re: [AccessD] [Spam]8.51 Re: Get sender's eMail address This works from Access with a reference to Outlook only... Note I have a pst folder called GMAIL and I am searching Inbox... change to suit. Dim myOlApp As Object Dim myNameSpace As Object Dim myfolders As Object Dim MyFolder As Object Dim myfolder2 As Object Dim item As Object Dim n As Long Set myOlApp = CreateObject("Outlook.Application") Set myNameSpace = myOlApp.GetNamespace("MAPI") Set myfolders = myNameSpace.Folders n = 1 Do Until UCase(myfolders.item(n).Name) = "GMAIL" n = n + 1 Loop Set MyFolder = myfolders.item(n) Set myfolder2 = MyFolder.Folders("Inbox") For Each item In myfolder2.Items If item.Class = 43 Then Debug.Print item.SenderEmailAddress End If Next item End Sub -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Thu Sep 1 12:45:37 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Thu, 1 Sep 2011 13:45:37 -0400 Subject: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address References: <01f201cc6759$65ab09c0$31011d40$@flsi.com> <4E5D5C94.24414.39EA6EB@stuart.lexacorp.com.pg> <005f01cc6762$3855ba20$a9012e60$@gmail.com> <01f901cc677f$0366ad70$0a340850$@flsi.com> <023801cc6805$c06b89a0$41429ce0$@flsi.com> <000101cc680f$a84c42b0$f8e4c810$@gmail.com> <024b01cc6822$e6b7e550$b427aff0$@flsi.com> <000001cc6845$7eebb370$7cc31a50$@gmail.com> <028701cc68bb$d949b080$8bdd1180$@flsi.com> Message-ID: <001c01cc68ce$f6c885b0$e4599110$@gmail.com> Ahhh. Found something. Debug.Print olApp.Session.CurrentUser.Address shows the e-mail address that is used by default for a new message. -----Original Message----- From: William Benson (VBACreations.Com) [mailto:vbacreations at gmail.com] Sent: Thursday, September 01, 2011 1:26 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Not sure it can be done without Redemption because there just is nothing exposed through the Outlook library that lets you examine the Session object that carefully. All accounts are in the Accounts collection but there is nothing about any of those objects which tells you it is the default, and nothing about the Session object itself which indicates what account will be used by default to send a message. At least insofar as I have been able to discover through the Locals window. Good luck in the quest and let us know if you get farther, I would like to know. FYI ... this is drifting far away from getting the Sender's e-mail address ... was that resolved to your satisfaction? Bill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns Sent: Thursday, September 01, 2011 11:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Sorry -- default account, not folder. I have 4 eMail accounts set up in Outlook, and one is set as the default account. That's what I'm trying to identify. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, August 31, 2011 6:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Here is a way to set a reference to the default mail folder: Set MyFolder = myNameSpace.GetDefaultFolder(olFolderInbox) ' olFolderInbox = 6 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns Sent: Wednesday, August 31, 2011 5:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Thanx, Bill. I was able to get a list of my accounts. Do you know what the property is for the Default account? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, August 31, 2011 11:56 AM To: 'Access Developers discussion and problem solving' Subject: [Spam]8.51 Re: [AccessD] [Spam]8.51 Re: Get sender's eMail address This works from Access with a reference to Outlook only... Note I have a pst folder called GMAIL and I am searching Inbox... change to suit. Dim myOlApp As Object Dim myNameSpace As Object Dim myfolders As Object Dim MyFolder As Object Dim myfolder2 As Object Dim item As Object Dim n As Long Set myOlApp = CreateObject("Outlook.Application") Set myNameSpace = myOlApp.GetNamespace("MAPI") Set myfolders = myNameSpace.Folders n = 1 Do Until UCase(myfolders.item(n).Name) = "GMAIL" n = n + 1 Loop Set MyFolder = myfolders.item(n) Set myfolder2 = MyFolder.Folders("Inbox") For Each item In myfolder2.Items If item.Class = 43 Then Debug.Print item.SenderEmailAddress End If Next item End Sub -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BradM at blackforestltd.com Thu Sep 1 13:10:56 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Thu, 1 Sep 2011 13:10:56 -0500 Subject: [AccessD] Obtaining Outlook data from Access (in an Outlook mailbox that is not the default) References: <01f201cc6759$65ab09c0$31011d40$@flsi.com> <4E5D5C94.24414.39EA6EB@stuart.lexacorp.com.pg> <005f01cc6762$3855ba20$a9012e60$@gmail.com> <01f901cc677f$0366ad70$0a340850$@flsi.com> <023801cc6805$c06b89a0$41429ce0$@flsi.com> <000101cc680f$a84c42b0$f8e4c810$@gmail.com> <024b01cc6822$e6b7e550$b427aff0$@flsi.com> <000001cc6845$7eebb370$7cc31a50$@gmail.com><028701cc68bb$d949b080$8bdd1180$@flsi.com> <001c01cc68ce$f6c885b0$e4599110$@gmail.com> Message-ID: I have been experimenting with using the Access "Link Exchange/Outlook Wizard" to link to Outlook folders in my mailbox. This works nicely. Now I need to link to a folder in a different mailbox that has been set up for replies to a mass Email that was sent out. (I have the Outlook Account Name and Password) Is this possible with VBA code? An example would be most appreciated. Thanks, Brad From dhb at flsi.com Thu Sep 1 14:37:48 2011 From: dhb at flsi.com (Darrell Burns) Date: Thu, 1 Sep 2011 12:37:48 -0700 Subject: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address In-Reply-To: <001c01cc68ce$f6c885b0$e4599110$@gmail.com> References: <01f201cc6759$65ab09c0$31011d40$@flsi.com> <4E5D5C94.24414.39EA6EB@stuart.lexacorp.com.pg> <005f01cc6762$3855ba20$a9012e60$@gmail.com> <01f901cc677f$0366ad70$0a340850$@flsi.com> <023801cc6805$c06b89a0$41429ce0$@flsi.com> <000101cc680f$a84c42b0$f8e4c810$@gmail.com> <024b01cc6822$e6b7e550$b427aff0$@flsi.com> <000001cc6845$7eebb370$7cc31a50$@gmail.com> <028701cc68bb$d949b080$8bdd1180$@flsi.com> <001c01cc68ce$f6c885b0$e4599110$@gmail.com> Message-ID: <029801cc68de$a2bac7c0$e8305740$@flsi.com> Excellent, Bill. I really appreciate your persistence on this. Thanx! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Thursday, September 01, 2011 10:46 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Ahhh. Found something. Debug.Print olApp.Session.CurrentUser.Address shows the e-mail address that is used by default for a new message. -----Original Message----- From: William Benson (VBACreations.Com) [mailto:vbacreations at gmail.com] Sent: Thursday, September 01, 2011 1:26 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Not sure it can be done without Redemption because there just is nothing exposed through the Outlook library that lets you examine the Session object that carefully. All accounts are in the Accounts collection but there is nothing about any of those objects which tells you it is the default, and nothing about the Session object itself which indicates what account will be used by default to send a message. At least insofar as I have been able to discover through the Locals window. Good luck in the quest and let us know if you get farther, I would like to know. FYI ... this is drifting far away from getting the Sender's e-mail address ... was that resolved to your satisfaction? Bill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns Sent: Thursday, September 01, 2011 11:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Sorry -- default account, not folder. I have 4 eMail accounts set up in Outlook, and one is set as the default account. That's what I'm trying to identify. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, August 31, 2011 6:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Here is a way to set a reference to the default mail folder: Set MyFolder = myNameSpace.GetDefaultFolder(olFolderInbox) ' olFolderInbox = 6 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns Sent: Wednesday, August 31, 2011 5:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address Thanx, Bill. I was able to get a list of my accounts. Do you know what the property is for the Default account? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, August 31, 2011 11:56 AM To: 'Access Developers discussion and problem solving' Subject: [Spam]8.51 Re: [AccessD] [Spam]8.51 Re: Get sender's eMail address This works from Access with a reference to Outlook only... Note I have a pst folder called GMAIL and I am searching Inbox... change to suit. Dim myOlApp As Object Dim myNameSpace As Object Dim myfolders As Object Dim MyFolder As Object Dim myfolder2 As Object Dim item As Object Dim n As Long Set myOlApp = CreateObject("Outlook.Application") Set myNameSpace = myOlApp.GetNamespace("MAPI") Set myfolders = myNameSpace.Folders n = 1 Do Until UCase(myfolders.item(n).Name) = "GMAIL" n = n + 1 Loop Set MyFolder = myfolders.item(n) Set myfolder2 = MyFolder.Folders("Inbox") For Each item In myfolder2.Items If item.Class = 43 Then Debug.Print item.SenderEmailAddress End If Next item End Sub -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 iggy at nanaimo.ark.com Thu Sep 1 14:39:21 2011 From: iggy at nanaimo.ark.com (Tony Septav) Date: Thu, 1 Sep 2011 12:39:21 -0700 Subject: [AccessD] :) In-Reply-To: <9E95C48974A94C5D80EFB3444668BD61@HAL9007> References: <3D568192E72C468FB4DD4A4693553C54@SusanHarkins>, <4E5CCF00.7000101@colbyconsulting.com>, <4E5D4E1B.21029.3661FC1@stuart.lexacorp.com.pg> <9E95C48974A94C5D80EFB3444668BD61@HAL9007> Message-ID: Hey All CPU you, no CPU you! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, August 30, 2011 2:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] :) With that obsolete floppy you're sporting? I don't think so... R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: August 30, 2011 1:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] :) Can my Front End access you back End? -- Stuart On 30 Aug 2011 at 7:58, Dean Davids wrote: > Actually, that one may work. > > > Dean S. Davids > www.cmbscorp.com > 954-868-4421 > > On Aug 30, 2011, at 7:52 AM, jwcolby > wrote: > > > I think the very worst Access pickup line might well be > > > > 1) I love your back end! > > > > John W. Colby > > www.ColbyConsulting.com > > > > On 8/29/2011 2:04 PM, Susan Harkins wrote: > >> Top 10 Worst Access Pick-Up Lines > >> > >> To commemorate the one year anniversary of the Access Junkie Top 10 > >> List, here's another list to help you get through a tough workday. > >> In addition, since it is the weekend, these should come in handy as > >> you're out on the town. Most of these can be used with either > >> gender, but some are obviously gender specific. > >> > >> A word of caution here! These pick-up lines will probably work on > >> only the MOST intelligent of prospective mates. Most of the time, > >> however, you will be met with mixed results. By "mixed" I mean you > >> will most likely have a mixed drink tossed in your face!! > >> > >> So here you go: Top 10 Worst Access Pick-Up Lines: > >> > >> 10. Compile here often? > >> > >> 9. What's your sign? DAO or ADO? > >> > >> 8. WOW! You just put a Breakpoint right on my heart! > >> > >> 7. I would love to hear you talk SQL to me. > >> > >> 6. Want to go back to my place and Debug a few hundred lines of > >> code? > >> > >> 5. Hi there, I don't think we've been properly Dimmed. > >> > >> 4. Is that an Add-In in your pocket or are you just happy to see > >> me? > >> > >> 3. You show me your References and I'll show you mine! > >> > >> 2. Would you like to go out back and play in Sandbox mode? > >> . > >> . > >> . > >> . > >> . > >> . > >> And the number one worst Access Pick-Up Line: > >> > >> 1. What are the chances of you and I getting to Third Normal Form? > >> (splash) > >> > >> > >> > >> >> kuplines> > >> > >> Can't believe I've never seen this before. :) > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 ----- No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1392 / Virus Database: 1520/3869 - Release Date: 08/31/11 From vbacreations at gmail.com Thu Sep 1 15:29:43 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 1 Sep 2011 16:29:43 -0400 Subject: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail address In-Reply-To: <029801cc68de$a2bac7c0$e8305740$@flsi.com> References: <01f201cc6759$65ab09c0$31011d40$@flsi.com> <4E5D5C94.24414.39EA6EB@stuart.lexacorp.com.pg> <005f01cc6762$3855ba20$a9012e60$@gmail.com> <01f901cc677f$0366ad70$0a340850$@flsi.com> <023801cc6805$c06b89a0$41429ce0$@flsi.com> <000101cc680f$a84c42b0$f8e4c810$@gmail.com> <024b01cc6822$e6b7e550$b427aff0$@flsi.com> <000001cc6845$7eebb370$7cc31a50$@gmail.com> <028701cc68bb$d949b080$8bdd1180$@flsi.com> <001c01cc68ce$f6c885b0$e4599110$@gmail.com> <029801cc68de$a2bac7c0$e8305740$@flsi.com> Message-ID: Happy to help when I can. This List been my salvation so many times. On Sep 1, 2011 3:38 PM, "Darrell Burns" wrote: > Excellent, Bill. I really appreciate your persistence on this. > Thanx! > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > (VBACreations.Com) > Sent: Thursday, September 01, 2011 10:46 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail > address > > Ahhh. Found something. > > Debug.Print olApp.Session.CurrentUser.Address shows > > the e-mail address that is used by default for a new message. > > > > -----Original Message----- > From: William Benson (VBACreations.Com) [mailto:vbacreations at gmail.com] > Sent: Thursday, September 01, 2011 1:26 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail > address > > Not sure it can be done without Redemption because there just is nothing > exposed through the Outlook library that lets you examine the Session object > that carefully. All accounts are in the Accounts collection but there is > nothing about any of those objects which tells you it is the default, and > nothing about the Session object itself which indicates what account will be > used by default to send a message. > > At least insofar as I have been able to discover through the Locals window. > > Good luck in the quest and let us know if you get farther, I would like to > know. > > FYI ... this is drifting far away from getting the Sender's e-mail address > ... was that resolved to your satisfaction? > Bill > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns > Sent: Thursday, September 01, 2011 11:29 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail > address > > Sorry -- default account, not folder. I have 4 eMail accounts set up in > Outlook, and one is set as the default account. That's what I'm trying to > identify. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > (VBACreations.Com) > Sent: Wednesday, August 31, 2011 6:22 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail > address > > Here is a way to set a reference to the default mail folder: > > Set MyFolder = myNameSpace.GetDefaultFolder(olFolderInbox) ' olFolderInbox > = 6 > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darrell Burns > Sent: Wednesday, August 31, 2011 5:14 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] [Spam]8.51 Re: [Spam]8.51 Re: Get sender's eMail > address > > Thanx, Bill. I was able to get a list of my accounts. Do you know what the > property is for the Default account? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > (VBACreations.Com) > Sent: Wednesday, August 31, 2011 11:56 AM > To: 'Access Developers discussion and problem solving' > Subject: [Spam]8.51 Re: [AccessD] [Spam]8.51 Re: Get sender's eMail address > > This works from Access with a reference to Outlook only... Note I have a pst > folder called GMAIL and I am searching Inbox... change to suit. > > > Dim myOlApp As Object > Dim myNameSpace As Object > Dim myfolders As Object > Dim MyFolder As Object > Dim myfolder2 As Object > Dim item As Object > > Dim n As Long > > > Set myOlApp = CreateObject("Outlook.Application") > Set myNameSpace = myOlApp.GetNamespace("MAPI") Set myfolders = > myNameSpace.Folders > > n = 1 > Do Until UCase(myfolders.item(n).Name) = "GMAIL" > n = n + 1 > Loop > > Set MyFolder = myfolders.item(n) > Set myfolder2 = MyFolder.Folders("Inbox") > > For Each item In myfolder2.Items > If item.Class = 43 Then > Debug.Print item.SenderEmailAddress > End If > Next item > > > End Sub > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Thu Sep 1 22:22:45 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 1 Sep 2011 23:22:45 -0400 Subject: [AccessD] :) In-Reply-To: References: <3D568192E72C468FB4DD4A4693553C54@SusanHarkins> <4E5CCF00.7000101@colbyconsulting.com> <4E5D4E1B.21029.3661FC1@stuart.lexacorp.com.pg> <9E95C48974A94C5D80EFB3444668BD61@HAL9007> Message-ID: I don't get it On Sep 1, 2011 3:40 PM, "Tony Septav" wrote: > Hey All > CPU you, no CPU you! > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Tuesday, August 30, 2011 2:02 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] :) > > With that obsolete floppy you're sporting? I don't think so... > > > R > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: August 30, 2011 1:55 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] :) > > Can my Front End access you back End? > > -- > Stuart > > On 30 Aug 2011 at 7:58, Dean Davids wrote: > >> Actually, that one may work. >> >> >> Dean S. Davids >> www.cmbscorp.com >> 954-868-4421 >> >> On Aug 30, 2011, at 7:52 AM, jwcolby >> wrote: >> >> > I think the very worst Access pickup line might well be >> > >> > 1) I love your back end! >> > >> > John W. Colby >> > www.ColbyConsulting.com >> > >> > On 8/29/2011 2:04 PM, Susan Harkins wrote: >> >> Top 10 Worst Access Pick-Up Lines >> >> >> >> To commemorate the one year anniversary of the Access Junkie Top 10 >> >> List, here's another list to help you get through a tough workday. >> >> In addition, since it is the weekend, these should come in handy as >> >> you're out on the town. Most of these can be used with either >> >> gender, but some are obviously gender specific. >> >> >> >> A word of caution here! These pick-up lines will probably work on >> >> only the MOST intelligent of prospective mates. Most of the time, >> >> however, you will be met with mixed results. By "mixed" I mean you >> >> will most likely have a mixed drink tossed in your face!! >> >> >> >> So here you go: Top 10 Worst Access Pick-Up Lines: >> >> >> >> 10. Compile here often? >> >> >> >> 9. What's your sign? DAO or ADO? >> >> >> >> 8. WOW! You just put a Breakpoint right on my heart! >> >> >> >> 7. I would love to hear you talk SQL to me. >> >> >> >> 6. Want to go back to my place and Debug a few hundred lines of >> >> code? >> >> >> >> 5. Hi there, I don't think we've been properly Dimmed. >> >> >> >> 4. Is that an Add-In in your pocket or are you just happy to see >> >> me? >> >> >> >> 3. You show me your References and I'll show you mine! >> >> >> >> 2. Would you like to go out back and play in Sandbox mode? >> >> . >> >> . >> >> . >> >> . >> >> . >> >> . >> >> And the number one worst Access Pick-Up Line: >> >> >> >> 1. What are the chances of you and I getting to Third Normal Form? >> >> (splash) >> >> >> >> >> >> >> >> > >> kuplines> >> >> >> >> Can't believe I've never seen this before. :) >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/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 > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 10.0.1392 / Virus Database: 1520/3869 - Release Date: 08/31/11 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From dnod at aol.com Thu Sep 1 22:29:10 2011 From: dnod at aol.com (Dean Davids) Date: Thu, 1 Sep 2011 23:29:10 -0400 Subject: [AccessD] :) In-Reply-To: References: <3D568192E72C468FB4DD4A4693553C54@SusanHarkins> <4E5CCF00.7000101@colbyconsulting.com> <4E5D4E1B.21029.3661FC1@stuart.lexacorp.com.pg> <9E95C48974A94C5D80EFB3444668BD61@HAL9007> Message-ID: <9F5A6DED-6FE5-4528-9ABB-350F32372559@aol.com> Not if I CPU first! Dean S. Davids www.cmbscorp.com 954-868-4421 On Sep 1, 2011, at 11:22 PM, William Benson wrote: > I don't get it > On Sep 1, 2011 3:40 PM, "Tony Septav" wrote: >> Hey All >> CPU you, no CPU you! >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin >> Sent: Tuesday, August 30, 2011 2:02 PM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] :) >> >> With that obsolete floppy you're sporting? I don't think so... >> >> >> R >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan >> Sent: August 30, 2011 1:55 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] :) >> >> Can my Front End access you back End? >> >> -- >> Stuart >> >> On 30 Aug 2011 at 7:58, Dean Davids wrote: >> >>> Actually, that one may work. >>> >>> >>> Dean S. Davids >>> www.cmbscorp.com >>> 954-868-4421 >>> >>> On Aug 30, 2011, at 7:52 AM, jwcolby >>> wrote: >>> >>>> I think the very worst Access pickup line might well be >>>> >>>> 1) I love your back end! >>>> >>>> John W. Colby >>>> www.ColbyConsulting.com >>>> >>>> On 8/29/2011 2:04 PM, Susan Harkins wrote: >>>>> Top 10 Worst Access Pick-Up Lines >>>>> >>>>> To commemorate the one year anniversary of the Access Junkie Top 10 >>>>> List, here's another list to help you get through a tough workday. >>>>> In addition, since it is the weekend, these should come in handy as >>>>> you're out on the town. Most of these can be used with either >>>>> gender, but some are obviously gender specific. >>>>> >>>>> A word of caution here! These pick-up lines will probably work on >>>>> only the MOST intelligent of prospective mates. Most of the time, >>>>> however, you will be met with mixed results. By "mixed" I mean you >>>>> will most likely have a mixed drink tossed in your face!! >>>>> >>>>> So here you go: Top 10 Worst Access Pick-Up Lines: >>>>> >>>>> 10. Compile here often? >>>>> >>>>> 9. What's your sign? DAO or ADO? >>>>> >>>>> 8. WOW! You just put a Breakpoint right on my heart! >>>>> >>>>> 7. I would love to hear you talk SQL to me. >>>>> >>>>> 6. Want to go back to my place and Debug a few hundred lines of >>>>> code? >>>>> >>>>> 5. Hi there, I don't think we've been properly Dimmed. >>>>> >>>>> 4. Is that an Add-In in your pocket or are you just happy to see >>>>> me? >>>>> >>>>> 3. You show me your References and I'll show you mine! >>>>> >>>>> 2. Would you like to go out back and play in Sandbox mode? >>>>> . >>>>> . >>>>> . >>>>> . >>>>> . >>>>> . >>>>> And the number one worst Access Pick-Up Line: >>>>> >>>>> 1. What are the chances of you and I getting to Third Normal Form? >>>>> (splash) >>>>> >>>>> >>>>> >>>>> >>>> kuplines> >>>>> >>>>> Can't believe I've never seen this before. :) >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/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 >> ----- >> No virus found in this message. >> Checked by AVG - www.avg.com >> Version: 10.0.1392 / Virus Database: 1520/3869 - Release Date: 08/31/11 >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Thu Sep 1 23:19:41 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 1 Sep 2011 21:19:41 -0700 Subject: [AccessD] Hiding objects programmatically In-Reply-To: <4E5FBC67.5010506@colbyconsulting.com> References: <4E5F95BF.4060103@colbyconsulting.com> <4E5FBC67.5010506@colbyconsulting.com> Message-ID: I don't recall, but I would assume so. Charlotte Foust On Thu, Sep 1, 2011 at 10:09 AM, jwcolby wrote: > Wow, thanks for the warning. I vaguely remember this but never really used > the hidden property before. > > I guess I will set by hand. Do we think this only apples to tables or > every database object? > > > John W. Colby > www.ColbyConsulting.com > > > > On 9/1/2011 12:55 PM, Heenan, Lambert wrote: > >> Heads Up John, >> >> I don't know if this bug has been fixed but check this out... >> >> http://access.mvps.org/access/**bugs/bugs0036.htm >> >> >> >> Lambert >> >> >> -----Original Message----- >> From: accessd-bounces@**databaseadvisors.com[mailto: >> accessd-bounces@**databaseadvisors.com] >> On Behalf Of jwcolby >> Sent: Thursday, September 01, 2011 10:25 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Hiding objects programmatically >> >> For production databases I like to hide all the objects in the design >> window by setting the property to hidden. In the properties window (Tools / >> options / View) I then uncheck Hidden Objects and System Objects. This just >> adds another level of obsfucation to the database for the average user. >> >> I did this and everything was copacetic. And then... I run one (several >> actually) of my databases under 2007 runtime and this database was giving me >> that crash I discussed awhile back. I ended up having to import everything >> into a new database and in doing so the hidden attribute of everything was >> set to visible. >> >> I don't have any code to set that property true / false for every object >> so I thought I'd ask before I go write one. >> >> So, does anyone have code to set the Hidden property of the database >> objects (tables, forms etc)? >> >> -- >> John W. Colby >> www.ColbyConsulting.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 Fri Sep 2 11:33:01 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 09:33:01 -0700 Subject: [AccessD] freelancing job sites In-Reply-To: References: Message-ID: Ha ha, I think you have about covered it. Very good article. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, August 22, 2011 6:25 AM To: Access Developers discussion and problem solving Subject: [AccessD] freelancing job sites This one ruffled a few feathers -- someone told me I give contractors a bad name and that I should retire. :) Guess that means it was good. :) After writing the above article, a reader asked me to recommend my favorite freelancing/contracting job sites. Well, that might turn into a good article -- so let's see what happens. At the very least, we'll compile a great list for ourselves. :) Dice.com seems to be the biggest one -- what do you guys think of it? Thanks! Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 2 11:50:47 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 09:50:47 -0700 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: <4E52BED3.9080600@colbyconsulting.com> References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> Message-ID: I have six clients that I have been supporting for over 15 years...the oldest one is 24 years. There is not a system that cannot be improved and I never mention, to any of them, how much they have paid me in total. When cost is discussed, we talk about our dealings as an extended insurance policy and everyone seems happy. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, August 22, 2011 1:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites (OT Reply) 9 years and 240K later one of my clients is still adding to the system I write for them (in Access). I started in July 2002. We are about to migrate the data to SQL Server. John W. Colby www.ColbyConsulting.com On 8/22/2011 3:51 PM, Mark Simms wrote: >> Lately, my 'salesman' has been taking my time/money quotes, and not >> adjusting them properly. When I say 2 weeks, he should be telling his >> customer 4 weeks, instead, he tells them 1 week, and hounds me. > > Sorry, I've got to "top" that one. > A couple of years ago I was hired to enhance a system that basically was a > custom-made CRM for a very specialized business. > There were no off-the-shelf packages, so their in-house developer wrote it > over a period of 3 years. > It was built using VB6, Access 97, and a bunch of 3rd party controls. > They lost the licenses and the developer, so I gave them the option of > building out additional functionality via Access 97. > It was to provide a new source of revenue for them. 6-8 weeks later it was > done. > > Management then decided they wanted to rewrite the whole system....I gave > them a proposal in Access 2007 for $80,000 and 8 months time which they > rejected. Instead, they signed a development company to do it in dot-net/SQL > Server. I was disappointed, I thought I had given them a "bargain". Their > volume did not dictate a need for a heavy-duty database. > > Two years and $250,000 later, the dot-net system is still nowhere near > completed. > > Lesson: in IT freelancing, it's so easy to get burned. > > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 2 12:12:57 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 10:12:57 -0700 Subject: [AccessD] freelancing job sites In-Reply-To: <35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net> <35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> Message-ID: <8C2AEC85399344049C37CCE2430D9D79@creativesystemdesigns.com> Hi Susan: Unless I am missing something, for the most part everyone is in complete agreement with your assumptions. If there is "hateful feedback", I did not find it. Maybe you are being too sensitive? Give us some examples. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, August 23, 2011 9:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites I've never had an article illicit such hateful feedback before. Mostly, people are generous when they disagree, but a couple of them want my head on a platter, and I don't really understand why -- there's really no attack in the article, so I'm truly surprised at some of the hateful responses. I mean, it's not like I said, "You're a crappy developer if you use bound forms" or something. :) Susan H. > Spot on Susan! > >> > out-freelancing/2685?tag=content;blog-list-river> > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Fri Sep 2 12:29:24 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 13:29:24 -0400 Subject: [AccessD] freelancing job sites References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net><35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> <8C2AEC85399344049C37CCE2430D9D79@creativesystemdesigns.com> Message-ID: <63AE84781A4D4D06831092CAE59A695A@SusanHarkins> I'm not being sensitive because they don't bother me. I find them odd and I'd prefer not to get them, but I'm not upset about it. I don't think telling me that I give freelancers a bad name and that I should retire is constructive criticism. There was another that was even worst -- suggested TR not use me as a contributor anymore. Too sensitive? I don't think so. I didn't write anything that should've illicited that kind of ire from anyone. Some people are just too crumpy to interact with other people in a reasonable manner. Like I said, most people had some interesting stories to tell and even those that disagreed with me did so in a reasonable manner. The flip side's coming out soon and after that I've got one that lists the reasons I don't miss Office 2003 -- they'll fry me up for supper after reading that one. :) Susan H. > Hi Susan: > > Unless I am missing something, for the most part everyone is in complete > agreement with your assumptions. If there is "hateful feedback", I did not > find it. > > Maybe you are being too sensitive? Give us some examples. ;-) > From accessd at shaw.ca Fri Sep 2 12:33:00 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 10:33:00 -0700 Subject: [AccessD] freelancing job sites In-Reply-To: <78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net> <35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> <013c01cc6261$e4237320$ac6a5960$@net> <78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> Message-ID: Hi Susan: You are obviously not hosting a political blog if you find some of those comments "hateful". ;-) If you are over 50, the chances of you getting a full-time gig in the IT field is almost zero... (Have you heard of any 35 year old quarter-backs?) OTOH you are always being called to fix some programming disaster as the young guys tend to be too fast and not as methodical in code-crawling. I noticed that you said, when working an IT guy has the options of working from dusk-to-dawn or dawn-to-dusk; you forgot the other option of around-the-clock. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, August 24, 2011 9:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites Mostly, there have been a lot of really positive and constructive comments -- it's been a good discussion. Only a few were obnoxious, I just wasn't expecting them. 2.) Man, it's the truth. No way to sugar-coat it. If you're over 50 and looking for work, you're in a world of hurt. If you're over 50 and been freelancing for the last few years, you're toast. I know, there are exceptions to every rule, but I think in general, it would be hard for me to find traditional employment now. 3.) If you're not working, you're not making money. It's all the self-discipline I need. :) Susan H. > Susan - I didn't see many really hateful responses. > I was simply amazed at the NUMBER of responses....wow ! > > 3 big take-aways for me were: > 1) agencies behavior > 2) impact of age on employment by large corps > 3) self discipline requirement -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 2 12:35:21 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 10:35:21 -0700 Subject: [AccessD] Sending email from Access In-Reply-To: References: <000101cc61d1$659f2750$30dd75f0$@flsi.com> Message-ID: <45A6917C3BBE4A38B729B1CCF49306A4@creativesystemdesigns.com> I have found BLAT so reliable that when it fails, I start checking the ISP code. In other words, if the app fails, get a new computer. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Wednesday, August 24, 2011 10:33 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sending email from Access hahaha Another vote for Blat. On Tue, Aug 23, 2011 at 6:02 PM, Arthur Fuller wrote: > I use Redemption, but that could be because I'm a serious Bob Marley fan, > not that he had anything to do with it, but I love "Redemption Song" and > their code seems to work just fine. > > A. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Fri Sep 2 12:46:44 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 13:46:44 -0400 Subject: [AccessD] freelancing job sites References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net><35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins><013c01cc6261$e4237320$ac6a5960$@net><78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> Message-ID: <8CC6AE5727664443AF54311595CA9AA2@SusanHarkins> > You are obviously not hosting a political blog if you find some of those > comments "hateful". ;-) ========They're hateful and there's really no room for them in the conversation, but I know that some people are that miserable in their lives. > > I noticed that you said, when working an IT guy has the options of working > from dusk-to-dawn or dawn-to-dusk; you forgot the other option of > around-the-clock. =========Damn! I wish I'd thought of that. :) Susan H. From jm.hwsn at gmail.com Fri Sep 2 13:11:01 2011 From: jm.hwsn at gmail.com (jm.hwsn) Date: Fri, 2 Sep 2011 13:11:01 -0500 Subject: [AccessD] freelancing job sites In-Reply-To: References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net><35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins><013c01cc6261$e4237320$ac6a5960$@net><78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> Message-ID: ---- If you are over 50, the chances of you getting a full-time gig in the IT field is almost zero... (Have you heard of any 35 year old quarter-backs?) ---- Me! I'm 62. I'm working full-time in Access 2007 only. Been on the same gig for over 2 years... and they just renewed my contract for another year. I feel, I owe it all to this list. I am a "lurker" most of the time, but I read almost everything that this list publishes. I've learned a lot over the several years that I have been a member. It's been so long I don't remember when I joined. It's like family. Thanks everyone. Jim -----Original Message----- From: Jim Lawrence Sent: Friday, September 02, 2011 12:33 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] freelancing job sites Hi Susan: You are obviously not hosting a political blog if you find some of those comments "hateful". ;-) If you are over 50, the chances of you getting a full-time gig in the IT field is almost zero... (Have you heard of any 35 year old quarter-backs?) OTOH you are always being called to fix some programming disaster as the young guys tend to be too fast and not as methodical in code-crawling. I noticed that you said, when working an IT guy has the options of working from dusk-to-dawn or dawn-to-dusk; you forgot the other option of around-the-clock. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, August 24, 2011 9:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites Mostly, there have been a lot of really positive and constructive comments -- it's been a good discussion. Only a few were obnoxious, I just wasn't expecting them. 2.) Man, it's the truth. No way to sugar-coat it. If you're over 50 and looking for work, you're in a world of hurt. If you're over 50 and been freelancing for the last few years, you're toast. I know, there are exceptions to every rule, but I think in general, it would be hard for me to find traditional employment now. 3.) If you're not working, you're not making money. It's all the self-discipline I need. :) Susan H. > Susan - I didn't see many really hateful responses. > I was simply amazed at the NUMBER of responses....wow ! > > 3 big take-aways for me were: > 1) agencies behavior > 2) impact of age on employment by large corps > 3) self discipline requirement -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 shamil at smsconsulting.spb.ru Fri Sep 2 13:21:39 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 2 Sep 2011 22:21:39 +0400 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: References: <00d901cc6104$e48b4e40$ada1eac0$@net><4E52BED3.9080600@colbyconsulting.com> Message-ID: <2BB94FDF62ED42B194C1CC6F12061C3D@nant> Hi Jim -- I guess your clients do have got developed strong business thanks to your good software development work for them - that seems to be the key point for a freelancing carrier success. Although there exist so many "prospect customers" who are trying to "save a penny" by burning out freelancers. Therefore additionally to 'must have' constant mastering of software development skills and learning by doing the new technologies every freelancer should also master the art of selecting (and nurturing/cultivating) "good" customers and ignoring the "bad" ones... Thank you. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: 2 ???????? 2011 ?. 20:51 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] freelancing job sites (OT Reply) I have six clients that I have been supporting for over 15 years...the oldest one is 24 years. There is not a system that cannot be improved and I never mention, to any of them, how much they have paid me in total. When cost is discussed, we talk about our dealings as an extended insurance policy and everyone seems happy. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, August 22, 2011 1:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites (OT Reply) 9 years and 240K later one of my clients is still adding to the system I write for them (in Access). I started in July 2002. We are about to migrate the data to SQL Server. John W. Colby www.ColbyConsulting.com On 8/22/2011 3:51 PM, Mark Simms wrote: >> Lately, my 'salesman' has been taking my time/money quotes, and not >> adjusting them properly. When I say 2 weeks, he should be telling >> his customer 4 weeks, instead, he tells them 1 week, and hounds me. > > Sorry, I've got to "top" that one. > A couple of years ago I was hired to enhance a system that basically > was a custom-made CRM for a very specialized business. > There were no off-the-shelf packages, so their in-house developer > wrote it over a period of 3 years. > It was built using VB6, Access 97, and a bunch of 3rd party controls. > They lost the licenses and the developer, so I gave them the option of > building out additional functionality via Access 97. > It was to provide a new source of revenue for them. 6-8 weeks later it > was done. > > Management then decided they wanted to rewrite the whole system....I > gave them a proposal in Access 2007 for $80,000 and 8 months time > which they rejected. Instead, they signed a development company to do > it in dot-net/SQL > Server. I was disappointed, I thought I had given them a "bargain". > Their volume did not dictate a need for a heavy-duty database. > > Two years and $250,000 later, the dot-net system is still nowhere near > completed. > > Lesson: in IT freelancing, it's so easy to get burned. > > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Sep 2 13:33:28 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 14:33:28 -0400 Subject: [AccessD] freelancing job sites (OT Reply) References: <00d901cc6104$e48b4e40$ada1eac0$@net><4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> Message-ID: <62F88463B3514BCFAC753FB624FDD05A@SusanHarkins> Since you brought that up... Nice to hear from you Shamil!! Susan H. > Therefore additionally to 'must have' constant mastering of software > development skills and learning by doing the new technologies every > freelancer should also master the art of selecting (and > nurturing/cultivating) "good" customers and ignoring the "bad" ones... > > Thank you. From ssharkins at gmail.com Fri Sep 2 13:31:45 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 14:31:45 -0400 Subject: [AccessD] freelancing job sites References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net><35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins><013c01cc6261$e4237320$ac6a5960$@net><78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> Message-ID: <33489E6DBF734353B20E14B94CCC3446@SusanHarkins> That's great news for you and encouraging news for some of us! ;) Susan H. > ---- > If you are over 50, the chances of you getting a full-time gig in the IT > field is almost zero... (Have you heard of any 35 year old quarter-backs?) > ---- > Me! > I'm 62. I'm working full-time in Access 2007 only. > Been on the same gig for over 2 years... and they just renewed my contract > for another year. > I feel, I owe it all to this list. > I am a "lurker" most of the time, but I read almost everything that this > list publishes. > I've learned a lot over the several years that I have been a member. > It's been so long I don't remember when I joined. > It's like family. > Thanks everyone. > Jim From accessd at shaw.ca Fri Sep 2 13:51:55 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 11:51:55 -0700 Subject: [AccessD] Freelancing In-Reply-To: References: Message-ID: There are a number of areas, which look very interesting in which to spend new time. The problem is finding the time. First; You will never make many money building one-off products for a client. Building and marketing a product multiple times is much more cost effective. Second; everything is going web-based, especially if you live and work in any major urban centers. So it is time to learn everything you can about HTML5, CSS3 and JavaScript > JQuery, JASON etc. There is so much free code, information and inexpensive services out on the web that it can be amazing how fast an application can be hacked together, with little knowledge. Third; converting apps to display and run on SmartPhones is a great idea. There are a host of free or cheap application that will allow you to do that. In addition, there are a number of great frameworks out there that can fit anyone's needs. (They will of course have to be hacked for any complex or specific designs...I like VS ASP.Net for building boilerplate code). Fourth; databases can no longer be just SQL types. The new map-reduce or NOSQL databases are quickly replacing systems where over a 10 million pieces of data that require routine searching. Most of these new databases are free or very inexpensive. Fifth; backend server technology is also changing as well as the DBs. Checkout NODE.js...it is incredibly fast and this allows you to leverage your JavaScript skills. Sixth; hosting your or having your client's hosting their own databases may not be a good idea as cloud hosting is coming into its own. There are deals like one TB of data for $8.00 a month, including full backups. If you are up to it you can build, you own Cloud, as drives are very cheap now. (Example: 2TB = $89 for an external drive...I just pull them apart and stuff the drive into the server. There are lots of opportunities out there for programmers, even old codgers like myself, but the learning curve is real steep though not expensive...this is something to do for guys that say they have retired. ;-) Seventh; I would recommend do not try to do it all on your own. One fool working alone is only a third as effective as two such individuals are. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav Sent: Friday, August 26, 2011 12:26 PM To: 'accessd-bounces at databaseadvisors.com' Subject: [AccessD] Freelancing Hey Susan Your article was an eye opener. I have been producing database applications for over 20 years. No ego being inferred but I figure I have produced quality products that are 99.9% bullet proof (many are still in use today). But I feel I am going the way of the dinosaur. Since the 2008 recession I have found that most companies no longer want to spend money to save money (no matter want you do to try and convince them of such). To be honest, on my end, the market is drying up. I am kind of looking at leaving ACCESS and starting to develop customized iPad/iPod (whatever) "Apps" for clients. If that doesn't work then I will be buying a "Weenie" wagon and hanging out at the beach. Not a boo hoo scenario, just reality. -- 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 Sep 2 13:55:06 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 2 Sep 2011 14:55:06 -0400 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: <2BB94FDF62ED42B194C1CC6F12061C3D@nant> References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> Message-ID: A critical skill in the freelancing world is learning how to fire customers. The moment they become a PITA is the time to fire them. This includes outrageous demands (can't you just make it do this too, for free?) to late payments to aggravating meetings. Call me a curmudgeon but I don't have enough time left on this planet to deal with such crap. The first moment I see a bad sign, I fire the client. A. From fuller.artful at gmail.com Fri Sep 2 14:14:18 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 2 Sep 2011 15:14:18 -0400 Subject: [AccessD] Freelancing In-Reply-To: References: Message-ID: I definitely hear you on the NoSQL front, and wish I had enough money to buy a few more GBs of RAM to make my elementary tests more real-world, but I don't, so I can't. The technology remains fascinating, and it makes a ton more sense than hard disks. On your first point (You will never make money building one-offs), I also agree completely. In Canada, the established law is that subject to a written contract specifying that the ownership of the code goes to the developer, in which case should you devise, for example, an app for veterinarions, then the code belongs to you, and not to the vet who constracted you to write it; hence you are free to turn it into a mass-market app (well, that assumes that vets are a mass-market, but you get the point). Such an app, in terms of development cost and potential returns, is vastly smaller than, say, eHealth (that's a Canadian term, and is vaguely equivalent to Medicaid or whatever they call it in USA); basically it means that every medical item on your list is stored in a massive db, including all your X-rays, CT-scans, MRIs, previous phyisicians, etc., and that it is all obtainable by both your current physician and also the Department of Health (that would be provincial not federal; there is no federal Department of Health in Canada; but that in turn causes needless complications: a very popular thing to do in Canada is move from Newfoundland to Alberta, where jobs in the oil industry abound, and transferring your medical records from one province to another is non-trivial. It can be done, but it take time. Since I am not a citizen of the USA and haven't bothered to explore the legalities lurking therein, I have only the Canadian model from which to work. Here, the client must specifically include a clause claiming ownership of the code; failure to do that means that the code belongs to the developer, who may freely sell it numerous times; but to be fair, if it were a hair-salon app, it would be a tad rude to sell it to the hair-salon across the street -- still legal, but rude. I think there are at least a couple of USA lawyers who visit this list, and I would be most interested in their perspective. TIA, Arthur On Fri, Sep 2, 2011 at 2:51 PM, Jim Lawrence wrote: > There are a number of areas, which look very interesting in which to spend > new time. The problem is finding the time. > > First; You will never make many money building one-off products for a > client. Building and marketing a product multiple times is much more cost > effective. > > Second; everything is going web-based, especially if you live and work in > any major urban centers. So it is time to learn everything you can about > HTML5, CSS3 and JavaScript > JQuery, JASON etc. There is so much free code, > information and inexpensive services out on the web that it can be amazing > how fast an application can be hacked together, with little knowledge. > > Third; converting apps to display and run on SmartPhones is a great idea. > There are a host of free or cheap application that will allow you to do > that. In addition, there are a number of great frameworks out there that > can > fit anyone's needs. (They will of course have to be hacked for any complex > or specific designs...I like VS ASP.Net for building boilerplate code). > > Fourth; databases can no longer be just SQL types. The new map-reduce or > NOSQL databases are quickly replacing systems where over a 10 million > pieces > of data that require routine searching. Most of these new databases are > free > or very inexpensive. > > Fifth; backend server technology is also changing as well as the DBs. > Checkout NODE.js...it is incredibly fast and this allows you to leverage > your JavaScript skills. > > Sixth; hosting your or having your client's hosting their own databases may > not be a good idea as cloud hosting is coming into its own. There are deals > like one TB of data for $8.00 a month, including full backups. If you are > up > to it you can build, you own Cloud, as drives are very cheap now. (Example: > 2TB = $89 for an external drive...I just pull them apart and stuff the > drive > into the server. > > There are lots of opportunities out there for programmers, even old codgers > like myself, but the learning curve is real steep though not > expensive...this is something to do for guys that say they have retired. > ;-) > > Seventh; I would recommend do not try to do it all on your own. One fool > working alone is only a third as effective as two such individuals are. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav > Sent: Friday, August 26, 2011 12:26 PM > To: 'accessd-bounces at databaseadvisors.com' > Subject: [AccessD] Freelancing > > Hey Susan > Your article was an eye opener. > I have been producing database applications for over 20 years. No ego being > inferred but I figure I have produced quality products that are 99.9% > bullet proof (many are still in use today). But I feel I am going the way > of > the dinosaur. Since the 2008 recession I have found that most companies no > longer want to spend money to save money (no matter want you do to try and > convince them of such). To be honest, on my end, the market is drying up. I > am kind of looking at leaving ACCESS and starting to develop customized > iPad/iPod (whatever) "Apps" for clients. If that doesn't work then I will > be > buying a "Weenie" wagon and hanging out at the beach. Not a boo hoo > scenario, just reality. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Fri Sep 2 14:17:06 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 12:17:06 -0700 Subject: [AccessD] User interface In-Reply-To: References: <4E591854.8090208@colbyconsulting.com> <6BAD4B05F0474F8083137B9C25B1038C@HAL9007> <4E597AE8.6269.28B4FE51@stuart.lexacorp.com.pg> Message-ID: <995A599CDD874FC9B8BA4966502999A2@creativesystemdesigns.com> Hi Arthur: I went to a very interesting talk about a year ago to do with the physiology behind the UI. The company that was doing the presentation made their living by redesigning UI for product development companies. One of their main claims to fame was that they worked with Apple and Google, in design work. There were so many components of UIs, that they covered, that most of the little things were forgotten. The main points I remember was: 1. Keep it lean...less is more. 2. A pretty and very clean design is as important or maybe more important than the actual application. (Spending half an hour on rounded curves and shadows may be you best time investment.) 3. Use graphics...people do not read. 4. When using text, the less text the better and font choice and weight and giving emphasis to key points or words is best. When I am deciding on an interface, checking out an Apple or Google app is a good way to refresh memory. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, August 27, 2011 5:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] User interface So, given that there are only three of us so far on this thread, I seem to be the odd man out on letting the themes define the colors. That's ok. But I confess that I am not a big fan of letting software developers (e.g. Google et. al.) define my color schemes. I would far prefer this be done on a global scale so that all apps are painted with the color-scheme I chose in WIndows itself, not the particular app. But that's just me. A. On Sat, Aug 27, 2011 at 7:54 PM, Rocky Smolin wrote: > I'm a fan of the one-form-at-a-time approach for the app I distribute as a > run time. It's complex enough without the users getting lost between > windows. I make them go back up the menu tree and down again to the form > they want. I have occasional buttons for lateral moves but not many. > > R > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 2 14:22:42 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 12:22:42 -0700 Subject: [AccessD] User Interface In-Reply-To: <000001cc66a1$04903830$0db0a890$@com.au> References: <000a01cc65dc$abb30b30$03192190$@com.au> <001701cc664e$2381e7a0$6a85b6e0$@gmail.com> <000001cc66a1$04903830$0db0a890$@com.au> Message-ID: Users rule. They are always right even when they are wrong. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Monday, August 29, 2011 4:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] User Interface Yes, absolutely! In fact I get annoyed with fellow developers who think user feedback and concerns are a pain. To me their feedback is usually pure gold. Keep them happy and content and you'll keep your job for a long time. I am a big fan of not letting option be available until they are ready to work flawlessly. Why on earth show them an active print button if it is going to fail on print because they are missing some information. For really unskilled users I normally have even made up little tick lists that show where they are in the process and what else they need to complete to finish the task. Yes, it takes a lot more time to put this sort of thing together but it pays very big dividends, especially when you have hundreds of users all over the country and there is no way you can give them all your personal assistance. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, 30 August 2011 1:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] User Interface Here here for the "No False Moves" strategy. The most important thing, IMO, is to make the user feel both powerful and elegant: nothing that should not happen should be permitted to happen. I know from experience that this is a PITA to deliver, but it inevitably is correct: foreclose the options that should not be available in the given context. A silly example, but I hope meaningful -- unless a given OrderID has been selected, then dis-allow the printing of an Invoice. The point here is ultimately, "Make the user feel graceful"; not merely competent, although that is Step One, but Graceful (that is Step Two). I have followed this strategy for about 20 years and it invariably has worked in my favour. In fact, I have learned some things from the users of my apps which I didn't even consider, because I don't actually use my deliverables, but just test them and then deploy them; the people who use them use them frequently, and are quicker than I to detect annoyances. I do listen to them, and I try to deliver smoother avenues on next deployment. I'm not claiming any expertise in this area. My rule of thumb is, Shut Up and Listen. I don't often run the systems I deliver, especially all day long; so I trust my customer-base to tell me what is a PITA and what is nice; then I go back to the drawing board and try to design the PITA out. Sometimes this strategy doesn't work, but most of the time it does. Users Rule; it's not about Referential Integrity or Validation Rules etc., it's about the user-experience, and about getting from Here to There in the fewest possible clicks and keystrokes. That's my design goal, anyway. I don't want the user (God, I hate that word, it reminds me of drug-dealers!) to have the simplest possible path toward creating a new Customer with its ancillary tables, or to update an existing Customer and her Locations, and her Location_Projects. I want all the background stuff to be invisible to the current Customer. This should all happen under smoke-and-mirrors, and then once the scaffold has been laid, everything else should happen automagically On Mon, Aug 29, 2011 at 9:18 AM, William Benson (VBACreations.Com) < vbacreations at gmail.com> wrote: > I think you all write applications for many more users than I do. I have > not > written anything for more than about 3 users at a time and basically they > are easily trained. The most important things have been to get work done in > the fewest number of steps. And no "false moves". On one app I built lately > there are several buttons down the right hand side of each of the main > forms. I can put anything I want in their captions then handle all button > clicks through a test of screen.activeform.name, > screen.activeform.ActiveControl.Name. I ALWAYS use captions, never images, > for just that reason. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins > Sent: Sunday, August 28, 2011 7:46 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] User Interface > > Hah, that is pretty much what I wanted to say, but as usual, waffled off > topic a fair bit... > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav > Sent: Monday, 29 August 2011 12:36 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] User Interface > > Hey John > In designing a user interface I always try to keep it clean, simple and > intuitive. Always keeping in mind that you are programming/designing not > for > the 99.9% but the .1% of the users ( a friend of mine used to laugh at this > "You spent a lot of time trying to solve the .1% problem", that was until > he > worked with me on a project). > > I am always trying to keep in mind when designing, the lowest common > denominator ,my theoretical "computer illiterate user". Meaning I control > what a user can and cannot do. I am always trying to second guess the user > and trying to shut any backdoors they may sneak into and open. > > I like to use single simple forms/single tab forms > There is no HELP (the form should visually flow/display to the user what > and > how things need to be done) > There are no menus. > The information intuitively flows from top to bottom > Where applicable some information may be highlighted in coloured boxes. I > use colour sparingly as it can tend to make the form look goofy or too > busy. > The forms contain all the things, buttons, my navigation bars (when > needed), > list boxes, pop ups, etc. necessary to let the user carry out the > activities > the form is designed to perform. > Where necesary the form may contain my own (not Access) message boxes > intrusive - ".....Sorry cannot do that..." and nonintrusive - ".... Are you > sure? Continue Y/N?" > > As most of you have probably done, I will design what I thought was a > pretty cool form, but a week later when I go back to continue my testing, > the form just doesn't seem to flow the way it should (not intuitive). So I > tear apart and rebuild it and start again. > > Nothing new here, just my 2 cents worth. > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 shamil at smsconsulting.spb.ru Fri Sep 2 14:23:01 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 2 Sep 2011 23:23:01 +0400 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: <62F88463B3514BCFAC753FB624FDD05A@SusanHarkins> References: <00d901cc6104$e48b4e40$ada1eac0$@net><4E52BED3.9080600@colbyconsulting.com><2BB94FDF62ED42B194C1CC6F12061C3D@nant> <62F88463B3514BCFAC753FB624FDD05A@SusanHarkins> Message-ID: <2945C176827A4F7EAAFB339176853DB0@nant> Hi Susan -- Thank you for your pointing out on that your article. It looks like we have a bit of telepathy here :) Why just "Five tips for weeding out potentially bad clients" not "Ten tips..." as usual? Let's try to add some more tips? #6. Ask prospect customer to write a short spec on what they wanted you to do for them - if they will tell you they do not have time - say them good buy... ... Thank you for your kind words, Susan - it's always nice to hear from you - and I do read most of your TechRep articles as I'm subscribed on TechRep announcements for a long time... Thank you. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: 2 ???????? 2011 ?. 22:33 To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites (OT Reply) Since you brought that up... Nice to hear from you Shamil!! Susan H. > Therefore additionally to 'must have' constant mastering of software > development skills and learning by doing the new technologies every > freelancer should also master the art of selecting (and > nurturing/cultivating) "good" customers and ignoring the "bad" ones... > > Thank you. -- 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 Sep 2 14:21:41 2011 From: df.waters at comcast.net (Dan Waters) Date: Fri, 2 Sep 2011 14:21:41 -0500 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> Message-ID: <003f01cc69a5$8bf4d360$a3de7a20$@comcast.net> Since I charge user license fees (in place of Maintenance fees) I don't fire clients. I change the parameters of how I'll work with them, but I don't threaten to leave. For example, at one meeting a DBA 'took over' the meeting, hadn't read the material I had sent out to begin with, and wasted an hour of 6 people's time. Not to mention two hours driving for me. I sent my contacts an email stating that I would not work with or meet with that person again, and they never asked me to. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, September 02, 2011 1:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites (OT Reply) A critical skill in the freelancing world is learning how to fire customers. The moment they become a PITA is the time to fire them. This includes outrageous demands (can't you just make it do this too, for free?) to late payments to aggravating meetings. Call me a curmudgeon but I don't have enough time left on this planet to deal with such crap. The first moment I see a bad sign, I fire the client. A. -- 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 Sep 2 14:24:04 2011 From: df.waters at comcast.net (Dan Waters) Date: Fri, 2 Sep 2011 14:24:04 -0500 Subject: [AccessD] User Interface In-Reply-To: References: <000a01cc65dc$abb30b30$03192190$@com.au> <001701cc664e$2381e7a0$6a85b6e0$@gmail.com> <000001cc66a1$04903830$0db0a890$@com.au> Message-ID: <004001cc69a5$e0fa1d70$a2ee5850$@comcast.net> Yes - they know they're right. It's my job to ask enough questions to discover what they really need, and then later show them that they were right! ;-) Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, September 02, 2011 2:23 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] User Interface Users rule. They are always right even when they are wrong. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Monday, August 29, 2011 4:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] User Interface Yes, absolutely! In fact I get annoyed with fellow developers who think user feedback and concerns are a pain. To me their feedback is usually pure gold. Keep them happy and content and you'll keep your job for a long time. I am a big fan of not letting option be available until they are ready to work flawlessly. Why on earth show them an active print button if it is going to fail on print because they are missing some information. For really unskilled users I normally have even made up little tick lists that show where they are in the process and what else they need to complete to finish the task. Yes, it takes a lot more time to put this sort of thing together but it pays very big dividends, especially when you have hundreds of users all over the country and there is no way you can give them all your personal assistance. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, 30 August 2011 1:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] User Interface Here here for the "No False Moves" strategy. The most important thing, IMO, is to make the user feel both powerful and elegant: nothing that should not happen should be permitted to happen. I know from experience that this is a PITA to deliver, but it inevitably is correct: foreclose the options that should not be available in the given context. A silly example, but I hope meaningful -- unless a given OrderID has been selected, then dis-allow the printing of an Invoice. The point here is ultimately, "Make the user feel graceful"; not merely competent, although that is Step One, but Graceful (that is Step Two). I have followed this strategy for about 20 years and it invariably has worked in my favour. In fact, I have learned some things from the users of my apps which I didn't even consider, because I don't actually use my deliverables, but just test them and then deploy them; the people who use them use them frequently, and are quicker than I to detect annoyances. I do listen to them, and I try to deliver smoother avenues on next deployment. I'm not claiming any expertise in this area. My rule of thumb is, Shut Up and Listen. I don't often run the systems I deliver, especially all day long; so I trust my customer-base to tell me what is a PITA and what is nice; then I go back to the drawing board and try to design the PITA out. Sometimes this strategy doesn't work, but most of the time it does. Users Rule; it's not about Referential Integrity or Validation Rules etc., it's about the user-experience, and about getting from Here to There in the fewest possible clicks and keystrokes. That's my design goal, anyway. I don't want the user (God, I hate that word, it reminds me of drug-dealers!) to have the simplest possible path toward creating a new Customer with its ancillary tables, or to update an existing Customer and her Locations, and her Location_Projects. I want all the background stuff to be invisible to the current Customer. This should all happen under smoke-and-mirrors, and then once the scaffold has been laid, everything else should happen automagically On Mon, Aug 29, 2011 at 9:18 AM, William Benson (VBACreations.Com) < vbacreations at gmail.com> wrote: > I think you all write applications for many more users than I do. I > have not written anything for more than about 3 users at a time and > basically they are easily trained. The most important things have been > to get work done in > the fewest number of steps. And no "false moves". On one app I built lately > there are several buttons down the right hand side of each of the main > forms. I can put anything I want in their captions then handle all > button clicks through a test of screen.activeform.name, > screen.activeform.ActiveControl.Name. I ALWAYS use captions, never > images, for just that reason. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl > Collins > Sent: Sunday, August 28, 2011 7:46 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] User Interface > > Hah, that is pretty much what I wanted to say, but as usual, waffled > off topic a fair bit... > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav > Sent: Monday, 29 August 2011 12:36 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] User Interface > > Hey John > In designing a user interface I always try to keep it clean, simple > and intuitive. Always keeping in mind that you are > programming/designing not for the 99.9% but the .1% of the users ( a > friend of mine used to laugh at this > "You spent a lot of time trying to solve the .1% problem", that was > until he worked with me on a project). > > I am always trying to keep in mind when designing, the lowest common > denominator ,my theoretical "computer illiterate user". Meaning I > control what a user can and cannot do. I am always trying to second > guess the user and trying to shut any backdoors they may sneak into and open. > > I like to use single simple forms/single tab forms There is no HELP > (the form should visually flow/display to the user what and how things > need to be done) There are no menus. > The information intuitively flows from top to bottom Where applicable > some information may be highlighted in coloured boxes. I use colour > sparingly as it can tend to make the form look goofy or too busy. > The forms contain all the things, buttons, my navigation bars (when > needed), list boxes, pop ups, etc. necessary to let the user carry out > the activities the form is designed to perform. > Where necesary the form may contain my own (not Access) message boxes > intrusive - ".....Sorry cannot do that..." and nonintrusive - ".... > Are you > sure? Continue Y/N?" > > As most of you have probably done, I will design what I thought was a > pretty cool form, but a week later when I go back to continue my > testing, the form just doesn't seem to flow the way it should (not > intuitive). So I tear apart and rebuild it and start again. > > Nothing new here, just my 2 cents worth. > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 fuller.artful at gmail.com Fri Sep 2 14:28:01 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 2 Sep 2011 15:28:01 -0400 Subject: [AccessD] User interface In-Reply-To: <995A599CDD874FC9B8BA4966502999A2@creativesystemdesigns.com> References: <4E591854.8090208@colbyconsulting.com> <6BAD4B05F0474F8083137B9C25B1038C@HAL9007> <4E597AE8.6269.28B4FE51@stuart.lexacorp.com.pg> <995A599CDD874FC9B8BA4966502999A2@creativesystemdesigns.com> Message-ID: I think of Google as the UI par excellence. Lean and clean and decidedly not noisy. I admire their design sense immensely. A. From fuller.artful at gmail.com Fri Sep 2 14:29:19 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 2 Sep 2011 15:29:19 -0400 Subject: [AccessD] User Interface In-Reply-To: References: <000a01cc65dc$abb30b30$03192190$@com.au> <001701cc664e$2381e7a0$6a85b6e0$@gmail.com> <000001cc66a1$04903830$0db0a890$@com.au> Message-ID: Those are the watchwords: users rule. On Fri, Sep 2, 2011 at 3:22 PM, Jim Lawrence wrote: > Users rule. They are always right even when they are wrong. ;-) > > Jim > From ssharkins at gmail.com Fri Sep 2 14:33:31 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 15:33:31 -0400 Subject: [AccessD] Freelancing References: Message-ID: How do you guys feel about SmallSQL? Susan H. >I definitely hear you on the NoSQL front, and wish I had enough money to >buy > a few more GBs of RAM to make my elementary tests more real-world, but I > don't, so I can't. The technology remains fascinating, and it makes a ton > more sense than hard disks. > From ssharkins at gmail.com Fri Sep 2 14:35:05 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 15:35:05 -0400 Subject: [AccessD] freelancing job sites (OT Reply) References: <00d901cc6104$e48b4e40$ada1eac0$@net><4E52BED3.9080600@colbyconsulting.com><2BB94FDF62ED42B194C1CC6F12061C3D@nant><62F88463B3514BCFAC753FB624FDD05A@SusanHarkins> <2945C176827A4F7EAAFB339176853DB0@nant> Message-ID: <8F06E942435D4994AC536AF787B0FE57@SusanHarkins> If I can't come up with 10, I weddle it down to the best 5 I can come up with. :) Susan H. > Hi Susan -- > > Thank you for your pointing out on that your article. > It looks like we have a bit of telepathy here :) > > Why just "Five tips for weeding out potentially bad clients" not "Ten > tips..." as usual? > > Let's try to add some more tips? > > #6. Ask prospect customer to write a short spec on what they wanted you to > do for them - if they will tell you they do not have time - say them good > buy... > > ... > > Thank you for your kind words, Susan - it's always nice to hear from you - > and I do read most of your TechRep articles as I'm subscribed on TechRep > announcements for a long time... > > Thank you. > > -- > Shamil > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: 2 ???????? 2011 ?. 22:33 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] freelancing job sites (OT Reply) > > Since you brought that up... > > ially-bad-clients/1011?tag=content;blog-list-river> > > Nice to hear from you Shamil!! > > Susan H. > >> Therefore additionally to 'must have' constant mastering of software >> development skills and learning by doing the new technologies every >> freelancer should also master the art of selecting (and >> nurturing/cultivating) "good" customers and ignoring the "bad" ones... >> >> Thank you. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 2 14:39:58 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 12:39:58 -0700 Subject: [AccessD] Print graphics file from Access In-Reply-To: References: Message-ID: <72D8D5AB6C0B4B88977336DE35B0B41E@creativesystemdesigns.com> Have you tried save the image as a GIF or PNG type file with transparency? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Tuesday, August 30, 2011 9:08 AM To: Access Developers discussion and problem solving Subject: [AccessD] Print graphics file from Access Hello All: I have an A2003 invoicing database; when it prints an invoice, it prints a signature which has been captured by another app. The signature is in a .jpg file. This worked fine until recently, when we changed the signature capture app. It turns out that the new app is creating a transparent .jpg, and the old one created one with a white background. Access won't print the transparent .jpg. If I open a signature file in Paint, then re-save it, Paint converts the transparent background to white and Access is happy. But my client isn't happy at the idea of doing this by hand for every invoice he prints! Does anyone know of a way that I can automatically convert a transparent jpg to white background in code, or have any other ideas to make this work? Thanks, 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 Sep 2 14:55:26 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 12:55:26 -0700 Subject: [AccessD] freelancing job sites In-Reply-To: <63AE84781A4D4D06831092CAE59A695A@SusanHarkins> References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net> <35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> <8C2AEC85399344049C37CCE2430D9D79@creativesystemdesigns.com> <63AE84781A4D4D06831092CAE59A695A@SusanHarkins> Message-ID: <731C2D1762BB47A7B995DF7EB26128BE@creativesystemdesigns.com> Ha ha ha... I guess some Freelancers do not like to hear the facts...too bad. OTOH, the more controversy you stir up the better for business. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, September 02, 2011 10:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites I'm not being sensitive because they don't bother me. I find them odd and I'd prefer not to get them, but I'm not upset about it. I don't think telling me that I give freelancers a bad name and that I should retire is constructive criticism. There was another that was even worst -- suggested TR not use me as a contributor anymore. Too sensitive? I don't think so. I didn't write anything that should've illicited that kind of ire from anyone. Some people are just too crumpy to interact with other people in a reasonable manner. Like I said, most people had some interesting stories to tell and even those that disagreed with me did so in a reasonable manner. The flip side's coming out soon and after that I've got one that lists the reasons I don't miss Office 2003 -- they'll fry me up for supper after reading that one. :) Susan H. > Hi Susan: > > Unless I am missing something, for the most part everyone is in complete > agreement with your assumptions. If there is "hateful feedback", I did not > find it. > > Maybe you are being too sensitive? Give us some examples. ;-) > -- 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 Sep 2 15:03:07 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 2 Sep 2011 16:03:07 -0400 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: <8F06E942435D4994AC536AF787B0FE57@SusanHarkins> References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> <62F88463B3514BCFAC753FB624FDD05A@SusanHarkins> <2945C176827A4F7EAAFB339176853DB0@nant> <8F06E942435D4994AC536AF787B0FE57@SusanHarkins> Message-ID: I guess that my stance on this is that I value time more than money. There are so many books to read, so many new apps to learn, so much music to appreciate. You want to tackle say Shostakovitch or Beethoven or Bach, there goes several hundred hours each. And then you still have Brahms, Stravinsky and Bartok to go, and that's only the beginning of your education in classic music, let alone quantum physics etc. A. On Fri, Sep 2, 2011 at 3:35 PM, Susan Harkins wrote: > If I can't come up with 10, I weddle it down to the best 5 I can come up > with. :) > > Susan H. > > From stuart at lexacorp.com.pg Fri Sep 2 15:03:38 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 03 Sep 2011 06:03:38 +1000 Subject: [AccessD] Freelancing In-Reply-To: References: , Message-ID: <4E61369A.11630.12AA561C@stuart.lexacorp.com.pg> All I know is that it is a desktop based, single user Java DBMS which uses JDBC. Since I don't do Java, I've never looked any further. I'd rather stick with SQLite - it does the same thing with a single native code DLL which can be incorporated into any development environment. -- Stuart On 2 Sep 2011 at 15:33, Susan Harkins wrote: > How do you guys feel about SmallSQL? > > Susan H. > > > >I definitely hear you on the NoSQL front, and wish I had enough money > >to buy > > a few more GBs of RAM to make my elementary tests more real-world, > > but I don't, so I can't. The technology remains fascinating, and it > > makes a ton more sense than hard disks. > > > > -- > 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 Sep 2 15:04:35 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 2 Sep 2011 16:04:35 -0400 Subject: [AccessD] User Interface In-Reply-To: <004001cc69a5$e0fa1d70$a2ee5850$@comcast.net> References: <000a01cc65dc$abb30b30$03192190$@com.au> <001701cc664e$2381e7a0$6a85b6e0$@gmail.com> <000001cc66a1$04903830$0db0a890$@com.au> <004001cc69a5$e0fa1d70$a2ee5850$@comcast.net> Message-ID: Reminds me of the Clipper mantra: ask them what they want, then deliver what they need. A. On Fri, Sep 2, 2011 at 3:24 PM, Dan Waters wrote: > Yes - they know they're right. It's my job to ask enough questions to > discover what they really need, and then later show them that they were > right! ;-) > > Dan > From dbdoug at gmail.com Fri Sep 2 15:08:37 2011 From: dbdoug at gmail.com (Doug Steele) Date: Fri, 2 Sep 2011 13:08:37 -0700 Subject: [AccessD] Print graphics file from Access In-Reply-To: <72D8D5AB6C0B4B88977336DE35B0B41E@creativesystemdesigns.com> References: <72D8D5AB6C0B4B88977336DE35B0B41E@creativesystemdesigns.com> Message-ID: The API for the signature capture software doesn't give any options about output types. But it turned out that the .Net System.Drawing namespace had the answer. I was able to find some sample code on the web which led me to a solution which we've implemented: (C# code in the capture app, error handling code removed): // get signature as default (png format) System.Drawing.Bitmap BM = ctlSignature.SaveSignature(""); // save as jpg BM.Save(Server.MapPath("~/sigs/" + SessionVars.EditWONum.ToString() + "sign.jpg"), System.Drawing.Imaging.ImageFormat.Jpeg); Approximately 8 hours of research, mostly off on a wild goose chase, led to a solution consisting of two lines of code :) Doug On Fri, Sep 2, 2011 at 12:39 PM, Jim Lawrence wrote: > Have you tried save the image as a GIF or PNG type file with transparency? > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele > Sent: Tuesday, August 30, 2011 9:08 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Print graphics file from Access > > Hello All: > > I have an A2003 invoicing database; when it prints an invoice, it prints a > signature which has been captured by another app. The signature is in a > .jpg file. > > This worked fine until recently, when we changed the signature capture app. > It turns out that the new app is creating a transparent .jpg, and the old > one created one with a white background. Access won't print the > transparent > .jpg. If I open a signature file in Paint, then re-save it, Paint converts > the transparent background to white and Access is happy. But my client > isn't happy at the idea of doing this by hand for every invoice he prints! > > Does anyone know of a way that I can automatically convert a transparent > jpg > to white background in code, or have any other ideas to make this work? > > 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 fuller.artful at gmail.com Fri Sep 2 15:09:50 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 2 Sep 2011 16:09:50 -0400 Subject: [AccessD] Freelancing In-Reply-To: References: Message-ID: I've never tried it but just downloaded it and about to install it. A. On Fri, Sep 2, 2011 at 3:33 PM, Susan Harkins wrote: > How do you guys feel about SmallSQL? > > Susan H. > From BradM at blackforestltd.com Fri Sep 2 15:15:22 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Fri, 2 Sep 2011 15:15:22 -0500 Subject: [AccessD] Pulling Data from Outlook into Access References: <000a01cc65dc$abb30b30$03192190$@com.au><001701cc664e$2381e7a0$6a85b6e0$@gmail.com><000001cc66a1$04903830$0db0a890$@com.au><004001cc69a5$e0fa1d70$a2ee5850$@comcast.net> Message-ID: All, Below is a small Sub that pulls data from Outlook into Access. This works fine to pull data from my Outlook Mailbox. I now need to pull data that resides in a different Outlook Mailbox. I have the Mailbox name and password. Is this possible? Thanks, Brad ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Sub Outlook_Test() Dim myOlApp As Outlook.Application Dim myNameSpace As Object Dim myFolders As Object Dim myFolder As Object Dim mySubFolder As Object Dim Item As Object Set myOlApp = CreateObject("Outlook.Application") Set myNameSpace = myOlApp.GetNamespace("MAPI") Set myFolders = myNameSpace.Folders Set myFolder = myFolders.Item(1) Set mySubFolder = myFolder.Folders("Inbox") For Each Item In mySubFolder.Items MsgBox Item.Subject & vbLf & Item.Body Next Item End Sub ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From accessd at shaw.ca Fri Sep 2 15:43:27 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 13:43:27 -0700 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: <2BB94FDF62ED42B194C1CC6F12061C3D@nant> References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> Message-ID: <8D44FC3DF663451D800CEAEDA46ED092@creativesystemdesigns.com> Hi Shamil: With my old time clients any new technology has to be careful implemented...they do not like new especially if it looks too different. The slow refinement method works best. ;-) I have been quietly moving my clients to the web/SQL and as long as I have been able to emulate the old forms in design, layout and features they are very happy. Most new younger client's want instant gratification, absolute perfection and it all done very cheap. The choices are; Good, Fast and cheap; pick any two. I like to modularize applications so a project can be allowed to evolve over a length of time with lots of user assistance. A long-term 'insurance and incremental development' policy is the goal of course. I try to never 're-invent the wheel'. I use existing apps and technology as long as it makes my job easier and moves the project ahead. Some clients are 'early adopters', they really like any technology that is new and shiny, and they tend to be the ones willing and capable of paying for the learning curve. The only thing is that, I may end up supporting a technology that fades fast. MS Silverlight comes to mind as it has been superseded by the industry standards of HTML5 as even Adobe is abandoning their Flash product in favour of the standard: www.adobe.com/EdgePreview (HTML5/CSS3 web builder) I agree that it is good to know when to divorce a customer or never become acquainted. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, September 02, 2011 11:22 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] freelancing job sites (OT Reply) Hi Jim -- I guess your clients do have got developed strong business thanks to your good software development work for them - that seems to be the key point for a freelancing carrier success. Although there exist so many "prospect customers" who are trying to "save a penny" by burning out freelancers. Therefore additionally to 'must have' constant mastering of software development skills and learning by doing the new technologies every freelancer should also master the art of selecting (and nurturing/cultivating) "good" customers and ignoring the "bad" ones... Thank you. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: 2 ???????? 2011 ?. 20:51 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] freelancing job sites (OT Reply) I have six clients that I have been supporting for over 15 years...the oldest one is 24 years. There is not a system that cannot be improved and I never mention, to any of them, how much they have paid me in total. When cost is discussed, we talk about our dealings as an extended insurance policy and everyone seems happy. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, August 22, 2011 1:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites (OT Reply) 9 years and 240K later one of my clients is still adding to the system I write for them (in Access). I started in July 2002. We are about to migrate the data to SQL Server. John W. Colby www.ColbyConsulting.com On 8/22/2011 3:51 PM, Mark Simms wrote: >> Lately, my 'salesman' has been taking my time/money quotes, and not >> adjusting them properly. When I say 2 weeks, he should be telling >> his customer 4 weeks, instead, he tells them 1 week, and hounds me. > > Sorry, I've got to "top" that one. > A couple of years ago I was hired to enhance a system that basically > was a custom-made CRM for a very specialized business. > There were no off-the-shelf packages, so their in-house developer > wrote it over a period of 3 years. > It was built using VB6, Access 97, and a bunch of 3rd party controls. > They lost the licenses and the developer, so I gave them the option of > building out additional functionality via Access 97. > It was to provide a new source of revenue for them. 6-8 weeks later it > was done. > > Management then decided they wanted to rewrite the whole system....I > gave them a proposal in Access 2007 for $80,000 and 8 months time > which they rejected. Instead, they signed a development company to do > it in dot-net/SQL > Server. I was disappointed, I thought I had given them a "bargain". > Their volume did not dictate a need for a heavy-duty database. > > Two years and $250,000 later, the dot-net system is still nowhere near > completed. > > Lesson: in IT freelancing, it's so easy to get burned. > > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Fri Sep 2 15:45:55 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 13:45:55 -0700 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: <62F88463B3514BCFAC753FB624FDD05A@SusanHarkins> References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> <62F88463B3514BCFAC753FB624FDD05A@SusanHarkins> Message-ID: My goodness you are such a complete source of information. You should have a "Ask Susan" blog. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, September 02, 2011 11:33 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites (OT Reply) Since you brought that up... Nice to hear from you Shamil!! Susan H. > Therefore additionally to 'must have' constant mastering of software > development skills and learning by doing the new technologies every > freelancer should also master the art of selecting (and > nurturing/cultivating) "good" customers and ignoring the "bad" ones... > > Thank you. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 2 15:47:09 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 13:47:09 -0700 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> Message-ID: <88234EDB76E044DA882E31214D603FA3@creativesystemdesigns.com> Well spoken. :-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, September 02, 2011 11:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites (OT Reply) A critical skill in the freelancing world is learning how to fire customers. The moment they become a PITA is the time to fire them. This includes outrageous demands (can't you just make it do this too, for free?) to late payments to aggravating meetings. Call me a curmudgeon but I don't have enough time left on this planet to deal with such crap. The first moment I see a bad sign, I fire the client. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Fri Sep 2 15:50:56 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 16:50:56 -0400 Subject: [AccessD] freelancing job sites (OT Reply) References: <00d901cc6104$e48b4e40$ada1eac0$@net><4E52BED3.9080600@colbyconsulting.com><2BB94FDF62ED42B194C1CC6F12061C3D@nant><62F88463B3514BCFAC753FB624FDD05A@SusanHarkins> Message-ID: <7AFD83CBFEE14C14A8B4D1B11D47136D@SusanHarkins> I'm afraid I would get stumped too often to maintain my reputation. :) Susan H. > My goodness you are such a complete source of information. You should have > a > "Ask Susan" blog. ;-) > > Jim > > Since you brought that up... > > ially-bad-clients/1011?tag=content;blog-list-river> > > Nice to hear from you Shamil!! > > Susan H. > >> Therefore additionally to 'must have' constant mastering of software >> development skills and learning by doing the new technologies every >> freelancer should also master the art of selecting (and >> nurturing/cultivating) "good" customers and ignoring the "bad" ones... >> >> Thank you. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 2 15:54:04 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 13:54:04 -0700 Subject: [AccessD] Freelancing In-Reply-To: References: Message-ID: I think you could make a good case anywhere in North America as code is more an art form than a technology...and art is protected in both countries. The "John Fogerty" act/law/precedence comes to mind. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, September 02, 2011 12:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Freelancing I definitely hear you on the NoSQL front, and wish I had enough money to buy a few more GBs of RAM to make my elementary tests more real-world, but I don't, so I can't. The technology remains fascinating, and it makes a ton more sense than hard disks. On your first point (You will never make money building one-offs), I also agree completely. In Canada, the established law is that subject to a written contract specifying that the ownership of the code goes to the developer, in which case should you devise, for example, an app for veterinarions, then the code belongs to you, and not to the vet who constracted you to write it; hence you are free to turn it into a mass-market app (well, that assumes that vets are a mass-market, but you get the point). Such an app, in terms of development cost and potential returns, is vastly smaller than, say, eHealth (that's a Canadian term, and is vaguely equivalent to Medicaid or whatever they call it in USA); basically it means that every medical item on your list is stored in a massive db, including all your X-rays, CT-scans, MRIs, previous phyisicians, etc., and that it is all obtainable by both your current physician and also the Department of Health (that would be provincial not federal; there is no federal Department of Health in Canada; but that in turn causes needless complications: a very popular thing to do in Canada is move from Newfoundland to Alberta, where jobs in the oil industry abound, and transferring your medical records from one province to another is non-trivial. It can be done, but it take time. Since I am not a citizen of the USA and haven't bothered to explore the legalities lurking therein, I have only the Canadian model from which to work. Here, the client must specifically include a clause claiming ownership of the code; failure to do that means that the code belongs to the developer, who may freely sell it numerous times; but to be fair, if it were a hair-salon app, it would be a tad rude to sell it to the hair-salon across the street -- still legal, but rude. I think there are at least a couple of USA lawyers who visit this list, and I would be most interested in their perspective. TIA, Arthur On Fri, Sep 2, 2011 at 2:51 PM, Jim Lawrence wrote: > There are a number of areas, which look very interesting in which to spend > new time. The problem is finding the time. > > First; You will never make many money building one-off products for a > client. Building and marketing a product multiple times is much more cost > effective. > > Second; everything is going web-based, especially if you live and work in > any major urban centers. So it is time to learn everything you can about > HTML5, CSS3 and JavaScript > JQuery, JASON etc. There is so much free code, > information and inexpensive services out on the web that it can be amazing > how fast an application can be hacked together, with little knowledge. > > Third; converting apps to display and run on SmartPhones is a great idea. > There are a host of free or cheap application that will allow you to do > that. In addition, there are a number of great frameworks out there that > can > fit anyone's needs. (They will of course have to be hacked for any complex > or specific designs...I like VS ASP.Net for building boilerplate code). > > Fourth; databases can no longer be just SQL types. The new map-reduce or > NOSQL databases are quickly replacing systems where over a 10 million > pieces > of data that require routine searching. Most of these new databases are > free > or very inexpensive. > > Fifth; backend server technology is also changing as well as the DBs. > Checkout NODE.js...it is incredibly fast and this allows you to leverage > your JavaScript skills. > > Sixth; hosting your or having your client's hosting their own databases may > not be a good idea as cloud hosting is coming into its own. There are deals > like one TB of data for $8.00 a month, including full backups. If you are > up > to it you can build, you own Cloud, as drives are very cheap now. (Example: > 2TB = $89 for an external drive...I just pull them apart and stuff the > drive > into the server. > > There are lots of opportunities out there for programmers, even old codgers > like myself, but the learning curve is real steep though not > expensive...this is something to do for guys that say they have retired. > ;-) > > Seventh; I would recommend do not try to do it all on your own. One fool > working alone is only a third as effective as two such individuals are. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav > Sent: Friday, August 26, 2011 12:26 PM > To: 'accessd-bounces at databaseadvisors.com' > Subject: [AccessD] Freelancing > > Hey Susan > Your article was an eye opener. > I have been producing database applications for over 20 years. No ego being > inferred but I figure I have produced quality products that are 99.9% > bullet proof (many are still in use today). But I feel I am going the way > of > the dinosaur. Since the 2008 recession I have found that most companies no > longer want to spend money to save money (no matter want you do to try and > convince them of such). To be honest, on my end, the market is drying up. I > am kind of looking at leaving ACCESS and starting to develop customized > iPad/iPod (whatever) "Apps" for clients. If that doesn't work then I will > be > buying a "Weenie" wagon and hanging out at the beach. Not a boo hoo > scenario, just reality. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Fri Sep 2 15:56:00 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 13:56:00 -0700 Subject: [AccessD] User Interface In-Reply-To: <004001cc69a5$e0fa1d70$a2ee5850$@comcast.net> References: <000a01cc65dc$abb30b30$03192190$@com.au> <001701cc664e$2381e7a0$6a85b6e0$@gmail.com> <000001cc66a1$04903830$0db0a890$@com.au> <004001cc69a5$e0fa1d70$a2ee5850$@comcast.net> Message-ID: <92B15C80720D41EC93F809509C5BEB81@creativesystemdesigns.com> Good policy. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, September 02, 2011 12:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] User Interface Yes - they know they're right. It's my job to ask enough questions to discover what they really need, and then later show them that they were right! ;-) Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, September 02, 2011 2:23 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] User Interface Users rule. They are always right even when they are wrong. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Monday, August 29, 2011 4:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] User Interface Yes, absolutely! In fact I get annoyed with fellow developers who think user feedback and concerns are a pain. To me their feedback is usually pure gold. Keep them happy and content and you'll keep your job for a long time. I am a big fan of not letting option be available until they are ready to work flawlessly. Why on earth show them an active print button if it is going to fail on print because they are missing some information. For really unskilled users I normally have even made up little tick lists that show where they are in the process and what else they need to complete to finish the task. Yes, it takes a lot more time to put this sort of thing together but it pays very big dividends, especially when you have hundreds of users all over the country and there is no way you can give them all your personal assistance. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, 30 August 2011 1:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] User Interface Here here for the "No False Moves" strategy. The most important thing, IMO, is to make the user feel both powerful and elegant: nothing that should not happen should be permitted to happen. I know from experience that this is a PITA to deliver, but it inevitably is correct: foreclose the options that should not be available in the given context. A silly example, but I hope meaningful -- unless a given OrderID has been selected, then dis-allow the printing of an Invoice. The point here is ultimately, "Make the user feel graceful"; not merely competent, although that is Step One, but Graceful (that is Step Two). I have followed this strategy for about 20 years and it invariably has worked in my favour. In fact, I have learned some things from the users of my apps which I didn't even consider, because I don't actually use my deliverables, but just test them and then deploy them; the people who use them use them frequently, and are quicker than I to detect annoyances. I do listen to them, and I try to deliver smoother avenues on next deployment. I'm not claiming any expertise in this area. My rule of thumb is, Shut Up and Listen. I don't often run the systems I deliver, especially all day long; so I trust my customer-base to tell me what is a PITA and what is nice; then I go back to the drawing board and try to design the PITA out. Sometimes this strategy doesn't work, but most of the time it does. Users Rule; it's not about Referential Integrity or Validation Rules etc., it's about the user-experience, and about getting from Here to There in the fewest possible clicks and keystrokes. That's my design goal, anyway. I don't want the user (God, I hate that word, it reminds me of drug-dealers!) to have the simplest possible path toward creating a new Customer with its ancillary tables, or to update an existing Customer and her Locations, and her Location_Projects. I want all the background stuff to be invisible to the current Customer. This should all happen under smoke-and-mirrors, and then once the scaffold has been laid, everything else should happen automagically On Mon, Aug 29, 2011 at 9:18 AM, William Benson (VBACreations.Com) < vbacreations at gmail.com> wrote: > I think you all write applications for many more users than I do. I > have not written anything for more than about 3 users at a time and > basically they are easily trained. The most important things have been > to get work done in > the fewest number of steps. And no "false moves". On one app I built lately > there are several buttons down the right hand side of each of the main > forms. I can put anything I want in their captions then handle all > button clicks through a test of screen.activeform.name, > screen.activeform.ActiveControl.Name. I ALWAYS use captions, never > images, for just that reason. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl > Collins > Sent: Sunday, August 28, 2011 7:46 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] User Interface > > Hah, that is pretty much what I wanted to say, but as usual, waffled > off topic a fair bit... > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav > Sent: Monday, 29 August 2011 12:36 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] User Interface > > Hey John > In designing a user interface I always try to keep it clean, simple > and intuitive. Always keeping in mind that you are > programming/designing not for the 99.9% but the .1% of the users ( a > friend of mine used to laugh at this > "You spent a lot of time trying to solve the .1% problem", that was > until he worked with me on a project). > > I am always trying to keep in mind when designing, the lowest common > denominator ,my theoretical "computer illiterate user". Meaning I > control what a user can and cannot do. I am always trying to second > guess the user and trying to shut any backdoors they may sneak into and open. > > I like to use single simple forms/single tab forms There is no HELP > (the form should visually flow/display to the user what and how things > need to be done) There are no menus. > The information intuitively flows from top to bottom Where applicable > some information may be highlighted in coloured boxes. I use colour > sparingly as it can tend to make the form look goofy or too busy. > The forms contain all the things, buttons, my navigation bars (when > needed), list boxes, pop ups, etc. necessary to let the user carry out > the activities the form is designed to perform. > Where necesary the form may contain my own (not Access) message boxes > intrusive - ".....Sorry cannot do that..." and nonintrusive - ".... > Are you > sure? Continue Y/N?" > > As most of you have probably done, I will design what I thought was a > pretty cool form, but a week later when I go back to continue my > testing, the form just doesn't seem to flow the way it should (not > intuitive). So I tear apart and rebuild it and start again. > > Nothing new here, just my 2 cents worth. > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Fri Sep 2 15:59:16 2011 From: marksimms at verizon.net (Mark Simms) Date: Fri, 02 Sep 2011 16:59:16 -0400 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome In-Reply-To: References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net><35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins><013c01cc6261$e4237320$ac6a5960$@net><78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> Message-ID: <013f01cc69b3$2dc3c950$894b5bf0$@net> Re: "Been on the same gig for over 2 years..." That's hugely unusual these days. Most large corps have "rules" in place that disallow temp employment past 12 or 18 months. You should be so grateful for this long, long gig....and I am sure any agency that has represented you has given you at least an "atta boy". In the past 3 years I've only been able to get "stinkers".....short term, high pressure, low pay deals. It does appear as if the Indian companies have garnished all of the "Sweet deals". Every 3 months I am re-interviewing by phone and in person, re-profiling my background, updating references, updating resumes, etc. I call this the Sisyphus syndrome: "Camus outlines the legend of Sisyphus who defied the gods and put Death in chains so that no human needed to die. When Death was eventually liberated and it came time for Sisyphus himself to die, he concocted a deceit which let him escape from the underworld. Finally captured, the gods decided on his punishment: for all eternity, he would have to push a rock up a mountain; on the top, the rock rolls down again and Sisyphus has to start over. Camus sees Sisyphus as the absurd hero who lives life to the fullest, hates death and is condemned to a meaningless task." "Camus presents Sisyphus's ceaseless and pointless toil as a metaphor for modern lives spent working at futile jobs in factories and offices. The workman of today works every day in his life at the same tasks, and this fate is no less absurd. But it is tragic only at the rare moments when it becomes conscious." From accessd at shaw.ca Fri Sep 2 16:04:32 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 14:04:32 -0700 Subject: [AccessD] Freelancing In-Reply-To: References: Message-ID: <591283956F204426BE1F3A86038EF3C5@creativesystemdesigns.com> Well, it has a small footprint, limited features, runs on Windows and Linux and is totally written in Java (some computer science major's thesis project). I have only had a very limited information on the product and have heard of no one playing with it; even my most geeky friends. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, September 02, 2011 12:34 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Freelancing How do you guys feel about SmallSQL? Susan H. >I definitely hear you on the NoSQL front, and wish I had enough money to >buy > a few more GBs of RAM to make my elementary tests more real-world, but I > don't, so I can't. The technology remains fascinating, and it makes a ton > more sense than hard disks. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Fri Sep 2 16:06:40 2011 From: marksimms at verizon.net (Mark Simms) Date: Fri, 02 Sep 2011 17:06:40 -0400 Subject: [AccessD] Freelancing-one off In-Reply-To: References: Message-ID: <014001cc69b4$36369bc0$a2a3d340$@net> > First; You will never make many money building one-off products for a > client. Building and marketing a product multiple times is much more > cost effective. Yet this is what has been required of me in all of my "stinkers". I once created an add-in type of product (over 12 years ago) and it was somewhat of a failure until I had one huge, multilicense sale that brought in a huge amount of revenue. Suddenly, it was successful ! This is very similar to what had happened with Richard Branson when he started Virgin Records.... It was failing and then he signed Phil Collins and Boy George.....and in the end, he sold the company for 1 billion !!! From accessd at shaw.ca Fri Sep 2 16:07:42 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 14:07:42 -0700 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: <7AFD83CBFEE14C14A8B4D1B11D47136D@SusanHarkins> References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> <62F88463B3514BCFAC753FB624FDD05A@SusanHarkins> <7AFD83CBFEE14C14A8B4D1B11D47136D@SusanHarkins> Message-ID: <02560AC64F9741DEA3D09DE4D5C4C6D4@creativesystemdesigns.com> There is always your extended staff on the DBA forums. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, September 02, 2011 1:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites (OT Reply) I'm afraid I would get stumped too often to maintain my reputation. :) Susan H. > My goodness you are such a complete source of information. You should have > a > "Ask Susan" blog. ;-) > > Jim > > Since you brought that up... > > ially-bad-clients/1011?tag=content;blog-list-river> > > Nice to hear from you Shamil!! > > Susan H. > >> Therefore additionally to 'must have' constant mastering of software >> development skills and learning by doing the new technologies every >> freelancer should also master the art of selecting (and >> nurturing/cultivating) "good" customers and ignoring the "bad" ones... >> >> Thank you. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Fri Sep 2 16:08:06 2011 From: marksimms at verizon.net (Mark Simms) Date: Fri, 02 Sep 2011 17:08:06 -0400 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> Message-ID: <014101cc69b4$69a67c50$3cf374f0$@net> Wise beyond belief. > A critical skill in the freelancing world is learning how to fire > customers. > The moment they become a PITA is the time to fire them. This includes > outrageous demands (can't you just make it do this too, for free?) From ssharkins at gmail.com Fri Sep 2 16:12:14 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 17:12:14 -0400 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net><35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins><013c01cc6261$e4237320$ac6a5960$@net><78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> <013f01cc69b3$2dc3c950$894b5bf0$@net> Message-ID: <3F99AAEAA574487A8F3A75D63D35F01A@SusanHarkins> That's been forced by the feds. I just went through a long and rather intimidating "qualifying" process for one of my clients -- at the time I only had 2 and the majority of my time/income was with them. That was a problem for them because they don't want the feds denying my contractor status. Ugly business... I wish the feds would stay out of my business. :( I was just furious, but it was necessary. It use to be so easy. :( In the end, it wasn't a problem, but it was uncomfortable for me. They asked questions that were none of their business and I didn't answer. It all worked out, but geez Louise. :( Susan H. > Re: "Been on the same gig for over 2 years..." > > That's hugely unusual these days. Most large corps have "rules" in place > that disallow temp employment past 12 or 18 months. > From ssharkins at gmail.com Fri Sep 2 16:15:33 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 17:15:33 -0400 Subject: [AccessD] Freelancing References: <591283956F204426BE1F3A86038EF3C5@creativesystemdesigns.com> Message-ID: <86C16B2C7EE948FB942A29A5E0E78978@SusanHarkins> I'm more interested in SQLLite really and would love to learn it. Anyone using it to create mobile apps? It's the topic of the day right now. Susan H. > Well, it has a small footprint, limited features, runs on Windows and > Linux > and is totally written in Java (some computer science major's thesis > project). I have only had a very limited information on the product and > have > heard of no one playing with it; even my most geeky friends. > > Jim > > How do you guys feel about SmallSQL? > > Susan H. > > >>I definitely hear you on the NoSQL front, and wish I had enough money to >>buy >> a few more GBs of RAM to make my elementary tests more real-world, but I >> don't, so I can't. The technology remains fascinating, and it makes a ton >> more sense than hard disks. From ssharkins at gmail.com Fri Sep 2 16:17:01 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 17:17:01 -0400 Subject: [AccessD] freelancing job sites (OT Reply) References: <00d901cc6104$e48b4e40$ada1eac0$@net><4E52BED3.9080600@colbyconsulting.com><2BB94FDF62ED42B194C1CC6F12061C3D@nant><62F88463B3514BCFAC753FB624FDD05A@SusanHarkins><7AFD83CBFEE14C14A8B4D1B11D47136D@SusanHarkins> <02560AC64F9741DEA3D09DE4D5C4C6D4@creativesystemdesigns.com> Message-ID: Well, I do often ask for help, don't I? ;) The honest truth is this: I often have a hard time understanding exactly what the problem is. I'm seldom sure if it's because I have no experience with the topic or if they just don't know how to ask questions. I think it's a mixture of both. :) Susan H. > There is always your extended staff on the DBA forums. ;-) > > Jim > > > I'm afraid I would get stumped too often to maintain my reputation. :) > > Susan H. > > >> My goodness you are such a complete source of information. You should >> have > >> a >> "Ask Susan" blog. ;-) >> >> Jim >> >> Since you brought that up... >> >> > > ially-bad-clients/1011?tag=content;blog-list-river> >> >> Nice to hear from you Shamil!! >> >> Susan H. >> >>> Therefore additionally to 'must have' constant mastering of software >>> development skills and learning by doing the new technologies every >>> freelancer should also master the art of selecting (and >>> nurturing/cultivating) "good" customers and ignoring the "bad" ones... >>> >>> Thank you. >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/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 Fri Sep 2 16:15:13 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 14:15:13 -0700 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome In-Reply-To: <013f01cc69b3$2dc3c950$894b5bf0$@net> References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net> <35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> <013c01cc6261$e4237320$ac6a5960$@net> <78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> <013f01cc69b3$2dc3c950$894b5bf0$@net> Message-ID: My goodness that observation is even negative for me. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Friday, September 02, 2011 1:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] freelancing job sites-Sisyphus Syndrome Re: "Been on the same gig for over 2 years..." That's hugely unusual these days. Most large corps have "rules" in place that disallow temp employment past 12 or 18 months. You should be so grateful for this long, long gig....and I am sure any agency that has represented you has given you at least an "atta boy". In the past 3 years I've only been able to get "stinkers".....short term, high pressure, low pay deals. It does appear as if the Indian companies have garnished all of the "Sweet deals". Every 3 months I am re-interviewing by phone and in person, re-profiling my background, updating references, updating resumes, etc. I call this the Sisyphus syndrome: "Camus outlines the legend of Sisyphus who defied the gods and put Death in chains so that no human needed to die. When Death was eventually liberated and it came time for Sisyphus himself to die, he concocted a deceit which let him escape from the underworld. Finally captured, the gods decided on his punishment: for all eternity, he would have to push a rock up a mountain; on the top, the rock rolls down again and Sisyphus has to start over. Camus sees Sisyphus as the absurd hero who lives life to the fullest, hates death and is condemned to a meaningless task." "Camus presents Sisyphus's ceaseless and pointless toil as a metaphor for modern lives spent working at futile jobs in factories and offices. The workman of today works every day in his life at the same tasks, and this fate is no less absurd. But it is tragic only at the rare moments when it becomes conscious." -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 2 16:19:57 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 14:19:57 -0700 Subject: [AccessD] Freelancing-one off In-Reply-To: <014001cc69b4$36369bc0$a2a3d340$@net> References: <014001cc69b4$36369bc0$a2a3d340$@net> Message-ID: <374770BA6B3B4C938F3CDC903991CA04@creativesystemdesigns.com> Definitely. We can never tell what is going to be the next break through product. ;-) I had one excellent seller a few years ago...unfortunately, that market dried up. I have been working on another such product and who know?! Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Friday, September 02, 2011 2:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Freelancing-one off > First; You will never make many money building one-off products for a > client. Building and marketing a product multiple times is much more > cost effective. Yet this is what has been required of me in all of my "stinkers". I once created an add-in type of product (over 12 years ago) and it was somewhat of a failure until I had one huge, multilicense sale that brought in a huge amount of revenue. Suddenly, it was successful ! This is very similar to what had happened with Richard Branson when he started Virgin Records.... It was failing and then he signed Phil Collins and Boy George.....and in the end, he sold the company for 1 billion !!! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 2 16:26:15 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 14:26:15 -0700 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome In-Reply-To: <3F99AAEAA574487A8F3A75D63D35F01A@SusanHarkins> References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net> <35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> <013c01cc6261$e4237320$ac6a5960$@net> <78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> <013f01cc69b3$2dc3c950$894b5bf0$@net> <3F99AAEAA574487A8F3A75D63D35F01A@SusanHarkins> Message-ID: We have been having the same issues around here for years. The government wants to make sure that you are not working as a full-time employee for someone but only registering as a contractor. That method of circumnavigating taxes became common until the government stepped in. It is death and taxes...your death, their taxes. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, September 02, 2011 2:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites-Sisyphus Syndrome That's been forced by the feds. I just went through a long and rather intimidating "qualifying" process for one of my clients -- at the time I only had 2 and the majority of my time/income was with them. That was a problem for them because they don't want the feds denying my contractor status. Ugly business... I wish the feds would stay out of my business. :( I was just furious, but it was necessary. It use to be so easy. :( In the end, it wasn't a problem, but it was uncomfortable for me. They asked questions that were none of their business and I didn't answer. It all worked out, but geez Louise. :( Susan H. > Re: "Been on the same gig for over 2 years..." > > That's hugely unusual these days. Most large corps have "rules" in place > that disallow temp employment past 12 or 18 months. > -- 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 Sep 2 16:27:49 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 2 Sep 2011 17:27:49 -0400 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> <62F88463B3514BCFAC753FB624FDD05A@SusanHarkins> <7AFD83CBFEE14C14A8B4D1B11D47136D@SusanHarkins> <02560AC64F9741DEA3D09DE4D5C4C6D4@creativesystemdesigns.com> Message-ID: As Homer Simpson (I think) said, there are no stupid questions, just stupid users :) A. On Fri, Sep 2, 2011 at 5:17 PM, Susan Harkins wrote: > Well, I do often ask for help, don't I? ;) > > The honest truth is this: I often have a hard time understanding exactly > what the problem is. I'm seldom sure if it's because I have no experience > with the topic or if they just don't know how to ask questions. I think it's > a mixture of both. :) > > Susan H. > From vbacreations at gmail.com Fri Sep 2 16:33:05 2011 From: vbacreations at gmail.com (William Benson) Date: Fri, 2 Sep 2011 17:33:05 -0400 Subject: [AccessD] Freelancing-one off In-Reply-To: <014001cc69b4$36369bc0$a2a3d340$@net> References: <014001cc69b4$36369bc0$a2a3d340$@net> Message-ID: I have a product now that is one of those one hit wonders (excel adding). It's just difficult to decide whether to sell it to individuals or Microsoft. If the latter then I have to invest in protective patents which may not be possible. Well I can dream ... On Sep 2, 2011 5:07 PM, "Mark Simms" wrote: >> First; You will never make many money building one-off products for a >> client. Building and marketing a product multiple times is much more >> cost effective. > > Yet this is what has been required of me in all of my "stinkers". > > I once created an add-in type of product (over 12 years ago) and it was > somewhat of a failure > until I had one huge, multilicense sale that brought in a huge amount of > revenue. Suddenly, it was successful ! > This is very similar to what had happened with Richard Branson when he > started Virgin Records.... > It was failing and then he signed Phil Collins and Boy George.....and in the > end, he sold the company for > 1 billion !!! > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From ssharkins at gmail.com Fri Sep 2 16:36:59 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 17:36:59 -0400 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net><35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins><013c01cc6261$e4237320$ac6a5960$@net><78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins><013f01cc69b3$2dc3c950$894b5bf0$@net><3F99AAEAA574487A8F3A75D63D35F01A@SusanHarkins> Message-ID: <0682C918B7F843E5BDF101A3CCAF475A@SusanHarkins> > We have been having the same issues around here for years. The government > wants to make sure that you are not working as a full-time employee for > someone but only registering as a contractor. > > That method of circumnavigating taxes became common until the government > stepped in. It is death and taxes...your death, their taxes. =======Circumvent crap... I pay more taxes as a contractor than I would as a traditional employee. Susan H. From accessd at shaw.ca Fri Sep 2 16:51:25 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 14:51:25 -0700 Subject: [AccessD] Freelancing In-Reply-To: <86C16B2C7EE948FB942A29A5E0E78978@SusanHarkins> References: <591283956F204426BE1F3A86038EF3C5@creativesystemdesigns.com> <86C16B2C7EE948FB942A29A5E0E78978@SusanHarkins> Message-ID: <144225DA5D5B4F6BB5CEC2B89B416ABD@creativesystemdesigns.com> Here are two free and cheap applications for building great little mobile apps: phonegap (http://www.phonegap.com/start/) and sencha touch (http://www.sencha.com/products/touch/)...check them out...intuitive and a full GUI. Phonegap definitely supports HTML5 local storage and treats it in a database using sqlite. Check the following examples out: http://docs.phonegap.com/phonegap_storage_storage.md.html If you need to access external data use Ajax/rest for communication and push for inbound notifications. My brilliance, on the subject is due to the fact that my son-in-law is working on app phone projects as we speak...so I can take none of the credit. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, September 02, 2011 2:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Freelancing I'm more interested in SQLLite really and would love to learn it. Anyone using it to create mobile apps? It's the topic of the day right now. Susan H. > Well, it has a small footprint, limited features, runs on Windows and > Linux > and is totally written in Java (some computer science major's thesis > project). I have only had a very limited information on the product and > have > heard of no one playing with it; even my most geeky friends. > > Jim > > How do you guys feel about SmallSQL? > > Susan H. > > >>I definitely hear you on the NoSQL front, and wish I had enough money to >>buy >> a few more GBs of RAM to make my elementary tests more real-world, but I >> don't, so I can't. The technology remains fascinating, and it makes a ton >> more sense than hard disks. -- 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 Sep 2 16:55:19 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 03 Sep 2011 07:55:19 +1000 Subject: [AccessD] Freelancing In-Reply-To: <86C16B2C7EE948FB942A29A5E0E78978@SusanHarkins> References: , <86C16B2C7EE948FB942A29A5E0E78978@SusanHarkins> Message-ID: <4E6150C7.2713.131095EC@stuart.lexacorp.com.pg> I don't use it for mobile apps, but it is very easy to use with PowerBasic. A nice Firefox plugin for managing SQLite databases: http://code.google.com/p/sqlite-manager/ -- Stuart On 2 Sep 2011 at 17:15, Susan Harkins wrote: > I'm more interested in SQLLite really and would love to learn it. > Anyone using it to create mobile apps? It's the topic of the day right > now. > > Susan H. > > > > Well, it has a small footprint, limited features, runs on Windows > > and Linux and is totally written in Java (some computer science > > major's thesis project). I have only had a very limited information > > on the product and have heard of no one playing with it; even my > > most geeky friends. > > > > Jim > > > > How do you guys feel about SmallSQL? > > > > Susan H. > > > > > >>I definitely hear you on the NoSQL front, and wish I had enough > >>money to buy > >> a few more GBs of RAM to make my elementary tests more real-world, > >> but I don't, so I can't. The technology remains fascinating, and it > >> makes a ton more sense than hard disks. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Fri Sep 2 17:10:44 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 15:10:44 -0700 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome In-Reply-To: <0682C918B7F843E5BDF101A3CCAF475A@SusanHarkins> References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net> <35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> <013c01cc6261$e4237320$ac6a5960$@net> <78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> <013f01cc69b3$2dc3c950$894b5bf0$@net> <3F99AAEAA574487A8F3A75D63D35F01A@SusanHarkins> <0682C918B7F843E5BDF101A3CCAF475A@SusanHarkins> Message-ID: <20219FED288E4CBB9E227495FBFFE83E@creativesystemdesigns.com> The government officials in your region must be a bunch of thieves. As a contractor one of my main benefits is, I can write off virtually everything as a business expense right off the taxable income. Clothes (bunny slippers with pink eyes and ears), computer products, some lunches, car expenses, training courses, internet connectivity, cell and phone charges and even one fifth of the house maintenance and associated utilities. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, September 02, 2011 2:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites-Sisyphus Syndrome > We have been having the same issues around here for years. The government > wants to make sure that you are not working as a full-time employee for > someone but only registering as a contractor. > > That method of circumnavigating taxes became common until the government > stepped in. It is death and taxes...your death, their taxes. =======Circumvent crap... I pay more taxes as a contractor than I would as a traditional employee. 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 Fri Sep 2 17:21:37 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Sep 2011 18:21:37 -0400 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net><35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins><013c01cc6261$e4237320$ac6a5960$@net><78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins><013f01cc69b3$2dc3c950$894b5bf0$@net><3F99AAEAA574487A8F3A75D63D35F01A@SusanHarkins><0682C918B7F843E5BDF101A3CCAF475A@SusanHarkins> <20219FED288E4CBB9E227495FBFFE83E@creativesystemdesigns.com> Message-ID: <12858A421D24419D865827E3B2170999@SusanHarkins> I can deduct business-related costs. The house deduction is limited the amount of space I actually use... um... it's all in one room, but it's better than nothing. I do take the deduction, but in the end, none of it saves me very much, but I'll take what I can get. Susan H. > The government officials in your region must be a bunch of thieves. > > As a contractor one of my main benefits is, I can write off virtually > everything as a business expense right off the taxable income. Clothes > (bunny slippers with pink eyes and ears), computer products, some lunches, > car expenses, training courses, internet connectivity, cell and phone > charges and even one fifth of the house maintenance and associated > utilities. From shamil at smsconsulting.spb.ru Fri Sep 2 17:26:20 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 3 Sep 2011 02:26:20 +0400 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: <8D44FC3DF663451D800CEAEDA46ED092@creativesystemdesigns.com> References: <00d901cc6104$e48b4e40$ada1eac0$@net><4E52BED3.9080600@colbyconsulting.com><2BB94FDF62ED42B194C1CC6F12061C3D@nant> <8D44FC3DF663451D800CEAEDA46ED092@creativesystemdesigns.com> Message-ID: <8DB3E9E8C98F46ECB1BB2B6DD7D6EB98@nant> Hi Jim -- <<< Most new younger client's want instant gratification, absolute perfection and it all done very cheap he choices are; Good, Fast and cheap; pick any two >>> I suppose it will never work well that way for custom software development - "there is no free cheese..." And there will always be demand for custom software development not just customizing "off-the-shelf" solutions. Yes, HTML5/CSS3 + JavaScript are in my "mastering" list... Thank you. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: 3 ???????? 2011 ?. 0:43 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] freelancing job sites (OT Reply) Hi Shamil: With my old time clients any new technology has to be careful implemented...they do not like new especially if it looks too different. The slow refinement method works best. ;-) I have been quietly moving my clients to the web/SQL and as long as I have been able to emulate the old forms in design, layout and features they are very happy. Most new younger client's want instant gratification, absolute perfection and it all done very cheap. The choices are; Good, Fast and cheap; pick any two. I like to modularize applications so a project can be allowed to evolve over a length of time with lots of user assistance. A long-term 'insurance and incremental development' policy is the goal of course. I try to never 're-invent the wheel'. I use existing apps and technology as long as it makes my job easier and moves the project ahead. Some clients are 'early adopters', they really like any technology that is new and shiny, and they tend to be the ones willing and capable of paying for the learning curve. The only thing is that, I may end up supporting a technology that fades fast. MS Silverlight comes to mind as it has been superseded by the industry standards of HTML5 as even Adobe is abandoning their Flash product in favour of the standard: www.adobe.com/EdgePreview (HTML5/CSS3 web builder) I agree that it is good to know when to divorce a customer or never become acquainted. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, September 02, 2011 11:22 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] freelancing job sites (OT Reply) Hi Jim -- I guess your clients do have got developed strong business thanks to your good software development work for them - that seems to be the key point for a freelancing carrier success. Although there exist so many "prospect customers" who are trying to "save a penny" by burning out freelancers. Therefore additionally to 'must have' constant mastering of software development skills and learning by doing the new technologies every freelancer should also master the art of selecting (and nurturing/cultivating) "good" customers and ignoring the "bad" ones... Thank you. -- Shamil From accessd at shaw.ca Fri Sep 2 18:06:36 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 2 Sep 2011 16:06:36 -0700 Subject: [AccessD] Freelancing In-Reply-To: <86C16B2C7EE948FB942A29A5E0E78978@SusanHarkins> References: <591283956F204426BE1F3A86038EF3C5@creativesystemdesigns.com> <86C16B2C7EE948FB942A29A5E0E78978@SusanHarkins> Message-ID: PS There is even a JQuery product coming out soon but the current beta version is not ready for prime time. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, September 02, 2011 2:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Freelancing I'm more interested in SQLLite really and would love to learn it. Anyone using it to create mobile apps? It's the topic of the day right now. Susan H. > Well, it has a small footprint, limited features, runs on Windows and > Linux > and is totally written in Java (some computer science major's thesis > project). I have only had a very limited information on the product and > have > heard of no one playing with it; even my most geeky friends. > > Jim > > How do you guys feel about SmallSQL? > > Susan H. > > >>I definitely hear you on the NoSQL front, and wish I had enough money to >>buy >> a few more GBs of RAM to make my elementary tests more real-world, but I >> don't, so I can't. The technology remains fascinating, and it makes a ton >> more sense than hard disks. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Sat Sep 3 09:16:40 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 03 Sep 2011 10:16:40 -0400 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome In-Reply-To: References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net> <35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> <013c01cc6261$e4237320$ac6a5960$@net> <78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> <013f01cc69b3$2dc3c950$894b5bf0$@net> <3F99AAEAA574487A8F3A75D63D35F01A@SusanHarkins> Message-ID: <000501cc6a44$1a0ad660$4e208320$@net> > We have been having the same issues around here for years. The > government > wants to make sure that you are not working as a full-time employee for > someone but only registering as a contractor. What this "rule" did was to give complete and utter control to the AGENCIES that one is now forced to go thru unless you can afford a marketing department to go "direct". Agencies continue to flourish....now that's a great business to be in. They've been successful despite the Indianization of the IT consulting business in the USA. Most of them have at least a 50% of their billable consultants as foreigners....I garnished this from my last Fortune 500 companies Activedirectory which listed all contractors and agencies. Lastly, many large companies treat their favored agency reps like "rock stars" as if THEY really make a big contribution to that company when in fact, it's the CONSULTANT who makes the contribution, but never sees the accolades. At my last gig, I never saw my agent....in fact he didn't spend any effort at all getting to know me or anything. For 6 months effort, his agency pulled in about $20,000.......barely having to raise a finger. From marksimms at verizon.net Sat Sep 3 09:23:14 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 03 Sep 2011 10:23:14 -0400 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome In-Reply-To: <0682C918B7F843E5BDF101A3CCAF475A@SusanHarkins> References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net><35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins><013c01cc6261$e4237320$ac6a5960$@net><78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins><013f01cc69b3$2dc3c950$894b5bf0$@net><3F99AAEAA574487A8F3A75D63D35F01A@SusanHarkins> <0682C918B7F843E5BDF101A3CCAF475A@SusanHarkins> Message-ID: <004a01cc6a45$053133a0$0f939ae0$@net> > =======Circumvent crap... I pay more taxes as a contractor than I would > as a > traditional employee. Exactly. Self employment tax IS terrible. This is a perfect example of the government taking action via legislation and not considering all of the consequences....and even worse, never making any amendments to that terrible law after-the-fact. This could partially explain our country's dire condition right now. From marksimms at verizon.net Sat Sep 3 09:26:11 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 03 Sep 2011 10:26:11 -0400 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome In-Reply-To: <20219FED288E4CBB9E227495FBFFE83E@creativesystemdesigns.com> References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net> <35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> <013c01cc6261$e4237320$ac6a5960$@net> <78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> <013f01cc69b3$2dc3c950$894b5bf0$@net> <3F99AAEAA574487A8F3A75D63D35F01A@SusanHarkins> <0682C918B7F843E5BDF101A3CCAF475A@SusanHarkins> <20219FED288E4CBB9E227495FBFFE83E@creativesystemdesigns.com> Message-ID: <004b01cc6a45$6e51e410$4af5ac30$@net> > As a contractor one of my main benefits is, I can write off virtually > everything as a business expense right off the taxable income. Clothes > (bunny slippers with pink eyes and ears), computer products, some > lunches, car expenses, training courses, internet connectivity, cell and phone > charges and even one fifth of the house maintenance and associated > utilities. Yes Jim, this does help.... but the real thieves are the AGENCIES.....whom I have to effectively write a check to for nearly 30% of the client billables. Strangely, there are no "discount" agencies....I wonder why ? From accessd at shaw.ca Sat Sep 3 12:01:12 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 3 Sep 2011 10:01:12 -0700 Subject: [AccessD] freelancing job sites-Sisyphus Syndrome In-Reply-To: <004b01cc6a45$6e51e410$4af5ac30$@net> References: <01d601cc61ae$3ca9da70$b5fd8f50$@winhaven.net> <35E0BCF85FE34F528C5D0DB9ADB1B266@SusanHarkins> <013c01cc6261$e4237320$ac6a5960$@net> <78AC871B016F4D5A8FE25E7B641A264F@SusanHarkins> <013f01cc69b3$2dc3c950$894b5bf0$@net> <3F99AAEAA574487A8F3A75D63D35F01A@SusanHarkins> <0682C918B7F843E5BDF101A3CCAF475A@SusanHarkins> <20219FED288E4CBB9E227495FBFFE83E@creativesystemdesigns.com> <004b01cc6a45$6e51e410$4af5ac30$@net> Message-ID: <1A9165FE2CA147ACBF4D3C4D2BCA8BF8@creativesystemdesigns.com> Hi Mark: " Strangely, there are no "discount" agencies....I wonder why ? " Can you say m-o-n-o-p-o-l-y? A lot of the problem is because there is not a group that stands for the actual IT workers. There is no union, association, agency or guild that works for the people that actually do the work. All lawyers, doctors and architects belong to an association even most restaurant workers. Even Ronald Regan was the president of the actor's guild before the white house. If the IT worker is going to stubbornly hold on to their "individual" status there will always be many people willing to play one off against the other and in the end few if any IT person will make any money. The question is why should a person get a university degree only to be paid the same as the senior fry-guy at McDonalds? Enough said on this subject as we have an OT list for such philosophizing. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Saturday, September 03, 2011 7:26 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] freelancing job sites-Sisyphus Syndrome > As a contractor one of my main benefits is, I can write off virtually > everything as a business expense right off the taxable income. Clothes > (bunny slippers with pink eyes and ears), computer products, some > lunches, car expenses, training courses, internet connectivity, cell and phone > charges and even one fifth of the house maintenance and associated > utilities. Yes Jim, this does help.... but the real thieves are the AGENCIES.....whom I have to effectively write a check to for nearly 30% of the client billables. Strangely, there are no "discount" agencies....I wonder why ? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Sep 3 12:09:12 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 03 Sep 2011 13:09:12 -0400 Subject: [AccessD] Passing ParamArrays down the line Message-ID: <4E625F38.1060601@colbyconsulting.com> I use param arrays to allow me to pass in things like group ids that a user might belong to. The following fails: Function mPLSUserInGroup(ParamArray Grps() As Variant) As Boolean mPLSUserInGroup = cPLS.cCurrUser.pUserInGrp(Grps) End Function However the following works: Function mPLSUserInGroup(ParamArray Grps() As Variant) As Boolean Dim lGrps() As Variant lGrps = Grps mPLSUserInGroup = cPLS.cCurrUser.pUserInGrp(lGrps) End Function Thus in order to push a paramarray into another function we just need to dim an array, set it equal to the paramarray and then push that array on down. Pretty strange that a ParamArray cannot be directly passed along. -- John W. Colby www.ColbyConsulting.com From tinanfields at torchlake.com Sat Sep 3 17:36:53 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 03 Sep 2011 18:36:53 -0400 Subject: [AccessD] Combo retains last selection Message-ID: <4E62AC05.60505@torchlake.com> Hi, I have a form with an unbound combo-box, that I use for opening a form to the record associated with the selection I made in the combo-box. Okay, that works fine. But, when I come back to the form, the last selection still appears in the text box of the combo. I would like it to be blank as it was when I first opened the form. What do I need to do? Thanks, T -- Tina Norris Fields tinanfields at torchlake.com 231-322-2787 From stuart at lexacorp.com.pg Sat Sep 3 17:52:45 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 04 Sep 2011 08:52:45 +1000 Subject: [AccessD] Combo retains last selection In-Reply-To: <4E62AC05.60505@torchlake.com> References: <4E62AC05.60505@torchlake.com> Message-ID: <4E62AFBD.13378.186B8D02@stuart.lexacorp.com.pg> Set cboSelector = Null at an appropriate place (in the event that opens the form after getting the combo's value?" -- Stuart On 3 Sep 2011 at 18:36, Tina Norris Fields wrote: > Hi, > > I have a form with an unbound combo-box, that I use for opening a form > to the record associated with the selection I made in the combo-box. > Okay, that works fine. But, when I come back to the form, the last > selection still appears in the text box of the combo. I would like it > to be blank as it was when I first opened the form. What do I need to > do? > > Thanks, > T > > -- > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > -- > 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 Sep 3 17:54:07 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 3 Sep 2011 18:54:07 -0400 Subject: [AccessD] Combo retains last selection In-Reply-To: <4E62AC05.60505@torchlake.com> References: <4E62AC05.60505@torchlake.com> Message-ID: Set its value to null when you return to (activate) the form. On Sat, Sep 3, 2011 at 6:36 PM, Tina Norris Fields < tinanfields at torchlake.com> wrote: > Hi, > > I have a form with an unbound combo-box, that I use for opening a form to > the record associated with the selection I made in the combo-box. Okay, > that works fine. But, when I come back to the form, the last selection > still appears in the text box of the combo. I would like it to be blank as > it was when I first opened the form. What do I need to do? > > Thanks, > T > > -- > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > From tinanfields at torchlake.com Sat Sep 3 18:54:40 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 03 Sep 2011 19:54:40 -0400 Subject: [AccessD] Combo retains last selection In-Reply-To: References: <4E62AC05.60505@torchlake.com> Message-ID: <4E62BE40.60601@torchlake.com> Arthur, Stuart, Of course! Thank you for waking up my brain! T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 9/3/2011 6:54 PM, Arthur Fuller wrote: > Set its value to null when you return to (activate) the form. > > On Sat, Sep 3, 2011 at 6:36 PM, Tina Norris Fields< > tinanfields at torchlake.com> wrote: > >> Hi, >> >> I have a form with an unbound combo-box, that I use for opening a form to >> the record associated with the selection I made in the combo-box. Okay, >> that works fine. But, when I come back to the form, the last selection >> still appears in the text box of the combo. I would like it to be blank as >> it was when I first opened the form. What do I need to do? >> >> Thanks, >> T >> >> -- >> Tina Norris Fields >> tinanfields at torchlake.com >> 231-322-2787 >> >> -- >> 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 Sep 3 23:06:38 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sat, 3 Sep 2011 21:06:38 -0700 Subject: [AccessD] Passing ParamArrays down the line In-Reply-To: <4E625F38.1060601@colbyconsulting.com> References: <4E625F38.1060601@colbyconsulting.com> Message-ID: It's been that way as long as there have been paramarrays, John. It may be odd, but it's familiar odd. Charlotte Foust Charlotte On Sep 3, 2011 10:10 AM, "jwcolby" wrote: > I use param arrays to allow me to pass in things like group ids that a user might belong to. The > following fails: > > Function mPLSUserInGroup(ParamArray Grps() As Variant) As Boolean > mPLSUserInGroup = cPLS.cCurrUser.pUserInGrp(Grps) > End Function > > However the following works: > > Function mPLSUserInGroup(ParamArray Grps() As Variant) As Boolean > Dim lGrps() As Variant > lGrps = Grps > mPLSUserInGroup = cPLS.cCurrUser.pUserInGrp(lGrps) > End Function > > Thus in order to push a paramarray into another function we just need to dim an array, set it equal > to the paramarray and then push that array on down. > > Pretty strange that a ParamArray cannot be directly passed along. > > -- > John W. Colby > www.ColbyConsulting.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 Sep 4 08:51:25 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 04 Sep 2011 15:51:25 +0200 Subject: [AccessD] User interface Message-ID: Hi Arthur and Jim Really? I find GMail to represent an horror example of bad (or lacking) design - with a mess of colours, buttons and pop-ups everywhere, yellow and green bars, boring fonts. No style. Contrary to this, the redesigned live.com (hotmail etc.) is a good example on how very similar pages can appear much lighter and neater by use of a simple tricks like careful colouring and shading, stylish fonts, and just a few frames (with right-angled corners; round corners should be forbidden by law!). Currently Microsoft is way ahead of anyone else regarding design with Windows Phone 7 and now Windows 8 as the stellar examples of the Metro project. Even the ribbon has proved right for me as I'm now able to use PowerPoint which I previously stayed off. Now it is even fun! That tells it all. The interesting and encouraging part is, that this is the result of hard work by several teams of very skilled and brave persons, not just some fancy ideas. They are being bashed from many sides which - could one believe - want Windows 3.11 and Word 2.0 back. MS management deserves credit for having promoted design to have top priority. /gustav >>> fuller.artful at gmail.com 02-09-2011 21:28:01 >>> I think of Google as the UI par excellence. Lean and clean and decidedly not noisy. I admire their design sense immensely. A. From charlotte.foust at gmail.com Sun Sep 4 13:29:14 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sun, 4 Sep 2011 11:29:14 -0700 Subject: [AccessD] User interface In-Reply-To: References: Message-ID: I have to say that I agree about Google's interfaces. I always use the simplest one they offer, but I don't really like any of them. That said, I'm not thrilled with the live.com either, although it's far easier to retrieve other email accounts from it than from Google. Charlotte Foust On Sun, Sep 4, 2011 at 6:51 AM, Gustav Brock wrote: > Hi Arthur and Jim > > Really? I find GMail to represent an horror example of bad (or lacking) > design - with a mess of colours, buttons and pop-ups everywhere, yellow and > green bars, boring fonts. No style. > Contrary to this, the redesigned live.com > > (hotmail etc.) is a good example on how very similar pages can appear much > lighter and neater by use of a simple tricks like careful colouring and > shading, stylish fonts, and just a few frames (with right-angled corners; > round corners should be forbidden by law!). > > Currently Microsoft is way ahead of anyone else regarding design with > Windows Phone 7 and now Windows 8 as the stellar examples of the Metro > project. Even the ribbon has proved right for me as I'm now able to use > PowerPoint which I previously stayed off. Now it is even fun! That tells it > all. > > The interesting and encouraging part is, that this is the result of hard > work by several teams of very skilled and brave persons, not just some fancy > ideas. They are being bashed from many sides which - could one believe - > want Windows 3.11 and Word 2.0 back. MS management deserves credit for > having promoted design to have top priority. > > /gustav > > > >>> fuller.artful at gmail.com 02-09-2011 21:28:01 >>> > I think of Google as the UI par excellence. Lean and clean and decidedly > not noisy. I admire their design sense immensely. > > A. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From accessd at shaw.ca Sun Sep 4 13:47:03 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 4 Sep 2011 11:47:03 -0700 Subject: [AccessD] User interface In-Reply-To: References: Message-ID: <0E04E1A006F743CD9CB3F2880659B2F7@creativesystemdesigns.com> I like the Windows Small phone design. It is a lot cleaner that I would have suspected. I am also am very familiar with the Windows so I would hardly be a person to be predisposed to make an objective or negative opinion. OTOH, design and layout of an application is as important as the design and development of the code. The average user just does not care what is under-the-hood. Pretty is always most important...think no further than our obsession with models. Most of my work is with web sites and there are always very basic rules...like everything must read from top-left to bottom-right. (European standard) Most sites work with the two or three-column design...all have headers and footers. After that, there are many more abstract and fresh layouts. When surfing, everyone knows when they have landed on a corporate or a geek or a store or an application site. It is all about the layout. Companies like MS, Apple, Google and even Linux have spent as much money on their product UI designs as on the coding. In the Linux world there are two schools of design, the Gnome (apple like) and KDE (windows like) interfaces. In recent years a great deal of study has gone into just how people logically (intuitively) think. The Apple type layouts assume people think in specific logical patterns and clutter just confuses. Less is best. Single forms but more effort is placed on transitions, showing depth and graphics. Windows type layouts have everything of an application shown...if there are 50 choices there are 50 buttons. There are no transitions as a feature is either off or on, there are no rounded curves and there are no shadows. Everything runs from a single desktop. It is so personal as to which interface is more intuitional but the current trends are towards the "Apple/Gnome" like interfaces...of course that trend or fashion could change. For me, it is what ever the user wants. Right now Gnome UI is running two to one, in popularity and finally the new Windows phone interface is very lean, similar but different (more block layout) to the Gnome uncluttered interface. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, September 04, 2011 6:51 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] User interface Hi Arthur and Jim Really? I find GMail to represent an horror example of bad (or lacking) design - with a mess of colours, buttons and pop-ups everywhere, yellow and green bars, boring fonts. No style. Contrary to this, the redesigned live.com (hotmail etc.) is a good example on how very similar pages can appear much lighter and neater by use of a simple tricks like careful colouring and shading, stylish fonts, and just a few frames (with right-angled corners; round corners should be forbidden by law!). Currently Microsoft is way ahead of anyone else regarding design with Windows Phone 7 and now Windows 8 as the stellar examples of the Metro project. Even the ribbon has proved right for me as I'm now able to use PowerPoint which I previously stayed off. Now it is even fun! That tells it all. The interesting and encouraging part is, that this is the result of hard work by several teams of very skilled and brave persons, not just some fancy ideas. They are being bashed from many sides which - could one believe - want Windows 3.11 and Word 2.0 back. MS management deserves credit for having promoted design to have top priority. /gustav >>> fuller.artful at gmail.com 02-09-2011 21:28:01 >>> I think of Google as the UI par excellence. Lean and clean and decidedly not noisy. I admire their design sense immensely. 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 Sep 4 14:03:16 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sun, 4 Sep 2011 12:03:16 -0700 Subject: [AccessD] User interface In-Reply-To: <0E04E1A006F743CD9CB3F2880659B2F7@creativesystemdesigns.com> References: <0E04E1A006F743CD9CB3F2880659B2F7@creativesystemdesigns.com> Message-ID: I've always hated the apple UI. It was never intuitive to me, so I'm in the minority who prefers the alternative, whether on the PC or on a phone. As far as pretty being important, I think elegant is ahead of that, or maybe we're using different words for the same thing. I don't want to be awestruck by the beauty of the UI, merely at home with it and comfortable finding what I need without being offended by the look (think, some of the Windows themes!). The traditional Windows UI didn't focus on rounded corners, but they're everywhere in the last few versions of Visual Studio and Windows, and in fact, the messageboxes, various window edges, and so forth have had rounded corners for a long time. Charlotte Foust On Sun, Sep 4, 2011 at 11:47 AM, Jim Lawrence wrote: > I like the Windows Small phone design. It is a lot cleaner that I would > have > suspected. I am also am very familiar with the Windows so I would hardly be > a person to be predisposed to make an objective or negative opinion. > > OTOH, design and layout of an application is as important as the design and > development of the code. The average user just does not care what is > under-the-hood. Pretty is always most important...think no further than our > obsession with models. > > Most of my work is with web sites and there are always very basic > rules...like everything must read from top-left to bottom-right. (European > standard) Most sites work with the two or three-column design...all have > headers and footers. After that, there are many more abstract and fresh > layouts. > > When surfing, everyone knows when they have landed on a corporate or a geek > or a store or an application site. It is all about the layout. > > Companies like MS, Apple, Google and even Linux have spent as much money on > their product UI designs as on the coding. In the Linux world there are two > schools of design, the Gnome (apple like) and KDE (windows like) > interfaces. > In recent years a great deal of study has gone into just how people > logically (intuitively) think. > > The Apple type layouts assume people think in specific logical patterns and > clutter just confuses. Less is best. Single forms but more effort is placed > on transitions, showing depth and graphics. > > Windows type layouts have everything of an application shown...if there are > 50 choices there are 50 buttons. There are no transitions as a feature is > either off or on, there are no rounded curves and there are no shadows. > Everything runs from a single desktop. > > It is so personal as to which interface is more intuitional but the current > trends are towards the "Apple/Gnome" like interfaces...of course that trend > or fashion could change. > > For me, it is what ever the user wants. Right now Gnome UI is running two > to > one, in popularity and finally the new Windows phone interface is very > lean, > similar but different (more block layout) to the Gnome uncluttered > interface. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Sunday, September 04, 2011 6:51 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] User interface > > Hi Arthur and Jim > > Really? I find GMail to represent an horror example of bad (or lacking) > design - with a mess of colours, buttons and pop-ups everywhere, yellow and > green bars, boring fonts. No style. > Contrary to this, the redesigned live.com > > (hotmail etc.) is a good example > on how very similar pages can appear much lighter and neater by use of a > simple tricks like careful colouring and shading, stylish fonts, and just a > few frames (with right-angled corners; round corners should be forbidden by > law!). > > Currently Microsoft is way ahead of anyone else regarding design with > Windows Phone 7 and now Windows 8 as the stellar examples of the Metro > project. Even the ribbon has proved right for me as I'm now able to use > PowerPoint which I previously stayed off. Now it is even fun! That tells it > all. > > The interesting and encouraging part is, that this is the result of hard > work by several teams of very skilled and brave persons, not just some > fancy > ideas. They are being bashed from many sides which - could one believe - > want Windows 3.11 and Word 2.0 back. MS management deserves credit for > having promoted design to have top priority. > > /gustav > > > >>> fuller.artful at gmail.com 02-09-2011 21:28:01 >>> > I think of Google as the UI par excellence. Lean and clean and decidedly > not > noisy. I admire their design sense immensely. > > A. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From accessd at shaw.ca Sun Sep 4 15:44:53 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 4 Sep 2011 13:44:53 -0700 Subject: [AccessD] User interface In-Reply-To: References: <0E04E1A006F743CD9CB3F2880659B2F7@creativesystemdesigns.com> Message-ID: The new Windows has embraced "pretty"...semi-transparent rounded window thick borders are even a little over the top for me...but maybe my age is showing. The kids, those under 40, just love this stuff and that love is making Apple the riches company on the planet. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Sunday, September 04, 2011 12:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] User interface I've always hated the apple UI. It was never intuitive to me, so I'm in the minority who prefers the alternative, whether on the PC or on a phone. As far as pretty being important, I think elegant is ahead of that, or maybe we're using different words for the same thing. I don't want to be awestruck by the beauty of the UI, merely at home with it and comfortable finding what I need without being offended by the look (think, some of the Windows themes!). The traditional Windows UI didn't focus on rounded corners, but they're everywhere in the last few versions of Visual Studio and Windows, and in fact, the messageboxes, various window edges, and so forth have had rounded corners for a long time. Charlotte Foust On Sun, Sep 4, 2011 at 11:47 AM, Jim Lawrence wrote: > I like the Windows Small phone design. It is a lot cleaner that I would > have > suspected. I am also am very familiar with the Windows so I would hardly be > a person to be predisposed to make an objective or negative opinion. > > OTOH, design and layout of an application is as important as the design and > development of the code. The average user just does not care what is > under-the-hood. Pretty is always most important...think no further than our > obsession with models. > > Most of my work is with web sites and there are always very basic > rules...like everything must read from top-left to bottom-right. (European > standard) Most sites work with the two or three-column design...all have > headers and footers. After that, there are many more abstract and fresh > layouts. > > When surfing, everyone knows when they have landed on a corporate or a geek > or a store or an application site. It is all about the layout. > > Companies like MS, Apple, Google and even Linux have spent as much money on > their product UI designs as on the coding. In the Linux world there are two > schools of design, the Gnome (apple like) and KDE (windows like) > interfaces. > In recent years a great deal of study has gone into just how people > logically (intuitively) think. > > The Apple type layouts assume people think in specific logical patterns and > clutter just confuses. Less is best. Single forms but more effort is placed > on transitions, showing depth and graphics. > > Windows type layouts have everything of an application shown...if there are > 50 choices there are 50 buttons. There are no transitions as a feature is > either off or on, there are no rounded curves and there are no shadows. > Everything runs from a single desktop. > > It is so personal as to which interface is more intuitional but the current > trends are towards the "Apple/Gnome" like interfaces...of course that trend > or fashion could change. > > For me, it is what ever the user wants. Right now Gnome UI is running two > to > one, in popularity and finally the new Windows phone interface is very > lean, > similar but different (more block layout) to the Gnome uncluttered > interface. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Sunday, September 04, 2011 6:51 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] User interface > > Hi Arthur and Jim > > Really? I find GMail to represent an horror example of bad (or lacking) > design - with a mess of colours, buttons and pop-ups everywhere, yellow and > green bars, boring fonts. No style. > Contrary to this, the redesigned live.com > > (hotmail etc.) is a good example > on how very similar pages can appear much lighter and neater by use of a > simple tricks like careful colouring and shading, stylish fonts, and just a > few frames (with right-angled corners; round corners should be forbidden by > law!). > > Currently Microsoft is way ahead of anyone else regarding design with > Windows Phone 7 and now Windows 8 as the stellar examples of the Metro > project. Even the ribbon has proved right for me as I'm now able to use > PowerPoint which I previously stayed off. Now it is even fun! That tells it > all. > > The interesting and encouraging part is, that this is the result of hard > work by several teams of very skilled and brave persons, not just some > fancy > ideas. They are being bashed from many sides which - could one believe - > want Windows 3.11 and Word 2.0 back. MS management deserves credit for > having promoted design to have top priority. > > /gustav > > > >>> fuller.artful at gmail.com 02-09-2011 21:28:01 >>> > I think of Google as the UI par excellence. Lean and clean and decidedly > not > noisy. I admire their design sense immensely. > > A. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sun Sep 4 17:37:21 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 04 Sep 2011 18:37:21 -0400 Subject: [AccessD] Passing ParamArrays down the line In-Reply-To: References: <4E625F38.1060601@colbyconsulting.com> Message-ID: <4E63FDA1.5080805@colbyconsulting.com> It is familiar but I never knew how to pass them along. Suddenly it occurred to me... John W. Colby www.ColbyConsulting.com On 9/4/2011 12:06 AM, Charlotte Foust wrote: > It's been that way as long as there have been paramarrays, John. It may be > odd, but it's familiar odd. > > Charlotte Foust > > Charlotte > On Sep 3, 2011 10:10 AM, "jwcolby" wrote: >> I use param arrays to allow me to pass in things like group ids that a > user might belong to. The >> following fails: >> >> Function mPLSUserInGroup(ParamArray Grps() As Variant) As Boolean >> mPLSUserInGroup = cPLS.cCurrUser.pUserInGrp(Grps) >> End Function >> >> However the following works: >> >> Function mPLSUserInGroup(ParamArray Grps() As Variant) As Boolean >> Dim lGrps() As Variant >> lGrps = Grps >> mPLSUserInGroup = cPLS.cCurrUser.pUserInGrp(lGrps) >> End Function >> >> Thus in order to push a paramarray into another function we just need to > dim an array, set it equal >> to the paramarray and then push that array on down. >> >> Pretty strange that a ParamArray cannot be directly passed along. >> >> -- >> John W. Colby >> www.ColbyConsulting.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 Sep 4 18:39:46 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 5 Sep 2011 09:39:46 +1000 Subject: [AccessD] Freelancing-one off In-Reply-To: <20110903070956.Tx9u1h01u0xgD8Z01x9vx2@bne3-0001mz.server-mail.com> References: <20110903070956.Tx9u1h01u0xgD8Z01x9vx2@bne3-0001mz.server-mail.com> Message-ID: <000501cc6b5b$ee74f4e0$cb5edea0$@com.au> Tubular Bells was what really got Virgin Music out of the basement and on the map... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Saturday, 3 September 2011 7:07 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Freelancing-one off > First; You will never make many money building one-off products for a > client. Building and marketing a product multiple times is much more > cost effective. Yet this is what has been required of me in all of my "stinkers". I once created an add-in type of product (over 12 years ago) and it was somewhat of a failure until I had one huge, multilicense sale that brought in a huge amount of revenue. Suddenly, it was successful ! This is very similar to what had happened with Richard Branson when he started Virgin Records.... It was failing and then he signed Phil Collins and Boy George.....and in the end, he sold the company for 1 billion !!! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Mon Sep 5 09:27:40 2011 From: marksimms at verizon.net (Mark Simms) Date: Mon, 05 Sep 2011 10:27:40 -0400 Subject: [AccessD] Freelancing-one off In-Reply-To: <000501cc6b5b$ee74f4e0$cb5edea0$@com.au> References: <20110903070956.Tx9u1h01u0xgD8Z01x9vx2@bne3-0001mz.server-mail.com> <000501cc6b5b$ee74f4e0$cb5edea0$@com.au> Message-ID: <004901cc6bd7$f80b90f0$e822b2d0$@net> I think you are right.... http://en.wikipedia.org/wiki/Virgin_Records > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Darryl Collins > Sent: Sunday, September 04, 2011 7:40 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Freelancing-one off > > Tubular Bells was what really got Virgin Music out of the basement and > on > the map... > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Saturday, 3 September 2011 7:07 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Freelancing-one off > > > First; You will never make many money building one-off products for a > > client. Building and marketing a product multiple times is much more > > cost effective. > > Yet this is what has been required of me in all of my "stinkers". > > I once created an add-in type of product (over 12 years ago) and it was > somewhat of a failure > until I had one huge, multilicense sale that brought in a huge amount > of > revenue. Suddenly, it was successful ! > This is very similar to what had happened with Richard Branson when he > started Virgin Records.... > It was failing and then he signed Phil Collins and Boy George.....and > in the > end, he sold the company for > 1 billion !!! > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 5 10:56:55 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 05 Sep 2011 11:56:55 -0400 Subject: [AccessD] freelancing job sites (OT Reply) In-Reply-To: <003f01cc69a5$8bf4d360$a3de7a20$@comcast.net> References: <00d901cc6104$e48b4e40$ada1eac0$@net> <4E52BED3.9080600@colbyconsulting.com> <2BB94FDF62ED42B194C1CC6F12061C3D@nant> <003f01cc69a5$8bf4d360$a3de7a20$@comcast.net> Message-ID: <69E2F4283C704DEAAA23A2729C8FA20D@XPS> I take a slightly different attitude; you wasted my time and if that's what you want to do fine, you get a bill either way. When you bill by the hour, it's amazing how little time gets wasted. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, September 02, 2011 03:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] freelancing job sites (OT Reply) Since I charge user license fees (in place of Maintenance fees) I don't fire clients. I change the parameters of how I'll work with them, but I don't threaten to leave. For example, at one meeting a DBA 'took over' the meeting, hadn't read the material I had sent out to begin with, and wasted an hour of 6 people's time. Not to mention two hours driving for me. I sent my contacts an email stating that I would not work with or meet with that person again, and they never asked me to. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, September 02, 2011 1:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] freelancing job sites (OT Reply) A critical skill in the freelancing world is learning how to fire customers. The moment they become a PITA is the time to fire them. This includes outrageous demands (can't you just make it do this too, for free?) to late payments to aggravating meetings. Call me a curmudgeon but I don't have enough time left on this planet to deal with such crap. The first moment I see a bad sign, I fire the client. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dbdoug at gmail.com Mon Sep 5 11:19:30 2011 From: dbdoug at gmail.com (Doug Steele) Date: Mon, 5 Sep 2011 09:19:30 -0700 Subject: [AccessD] Access date problem Message-ID: Hello All: I have some code which depends on the weekday number. On all computers except for one of my client's, it runs OK. The computers are a mixed bag of Access 2003, 2010 and Windows 7 and Vista. On the 'bad' computer, everything is off by one day. Debugging on this computer gives '7' as the result of Weekday("9/4/2011") - a Sunday. According to Access help, the default for Sunday is 1. I've checked the Windows 7 Regional and Language settings on this computer and 'Sunday' is set as the first day of the week. So Access and Windows are different. I can't find a setting in Access to change this, and nothing on the Web. But it must be some kind of configuration setup - does anyone have a suggestion? Thanks, Doug From jwcolby at colbyconsulting.com Mon Sep 5 12:30:01 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 05 Sep 2011 13:30:01 -0400 Subject: [AccessD] SQL Server compression Message-ID: <4E650719.7020301@colbyconsulting.com> The other day I populated the second socket of my (AMD) server with another 8 core chip. With cores to spare I decided to give compression a whirl. I am finding a lot of stuff out there now saying that it reduces the I/O a ton and that if you are not cpu limited then it makes the database faster because more stuff fits into memory. Basically the objective is to get as much of the stuff that is being actively used to stay resident in memory. One immediate benefit is that it cuts the total size of my databases on disk roughly in half. This is a good thing because I keep the major players on SSD which is expensive. Keeping them compressed means that I have more room on the SSD. When I got into this business in October 2004 I had servers with AMD single core 3.8 ghz and 4 gigs or RAM running x32 windows and sql server. I was trying to run count queries on 100 gb databases and while it worked, it was... not fast. I would run counts that took a half hour. Through knowledge acquired on these lists I rebuilt my database tables, learned indexing, and made the databases much more efficient. Seven years later I have 16 cores and 32 gigs RAM running X64 windows and SQL server. A year ago I bought 32 gigs of DDR3 1300 registered ECC ram for $1000. Today I ordered another 32 gigs for $400. It is incredible to me that using brute force and ignorance, I can now keep multiple largish databases entirely in memory. While I have no benchmarks recorded to compare yesteryear to today, I am doing things in minutes or even seconds that would have taken me a half hour or even hours seven years ago. These are exciting times. BTW I found something called GeekBench which I ran on my machine. It is the only thing I have found that is a reasonable cost ($13) to give me numbers to compare to others. My Geekbench number is ~13,500, and it pointed out to me that I am currently running the server with 1/2 of the memory "bandwidth" I could be getting (the biggest reason I am adding more). I had 4 DIMMS and a single processor. The processor has a 4 port memory controller. When I added the new processor I redistributed the memory so that each chip had 1/2 of the memory (2 dimms) but in doing so I "crippled" the memory controller. The price of memory is dropping like a rock so now seems like a good time to top up. It will be interesting to see what filling out the memory controller does to the numbers. I "retired" my previous server to be my VM server, and it just occurred to me that I can run Geekbench on that to get a comparison of my previous server against my current server. My previous server is an AMD quad core with 16 gigs of RAM and the geekbench on that is 7469. -- John W. Colby www.ColbyConsulting.com From charlotte.foust at gmail.com Mon Sep 5 13:35:00 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 5 Sep 2011 11:35:00 -0700 Subject: [AccessD] Access date problem In-Reply-To: References: Message-ID: It's set in vba using the Weekday function and specifying the optional firstdayofweek argument. If you just modify your code to include vbSunday, you should get the desired result. Have you tried that? Charlotte Foust On Mon, Sep 5, 2011 at 9:19 AM, Doug Steele wrote: > Hello All: > > I have some code which depends on the weekday number. On all computers > except for one of my client's, it runs OK. The computers are a mixed bag > of > Access 2003, 2010 and Windows 7 and Vista. > > On the 'bad' computer, everything is off by one day. Debugging on this > computer gives '7' as the result of Weekday("9/4/2011") - a Sunday. > According to Access help, the default for Sunday is 1. I've checked the > Windows 7 Regional and Language settings on this computer and 'Sunday' is > set as the first day of the week. So Access and Windows are different. > > I can't find a setting in Access to change this, and nothing on the Web. > But it must be some kind of configuration setup - does anyone have a > suggestion? > > Thanks, > Doug > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From stephen at bondsoftware.co.nz Mon Sep 5 14:54:46 2011 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Tue, 06 Sep 2011 07:54:46 +1200 Subject: [AccessD] SQL Server advice Message-ID: After mucking around on the fringes for too long I am ready to make a more committed leap into SQL Server. I can foresee a customer needing to upgrade their Access back end within the next six months to a year and want to get 'expertly' ahead . I have a fully licenced 2000 Standard edition (acquired with an Action Pack in the days when MS New Zealand charged a one-time fee for Action Packs) on a 10-year-old WinXP box (?GB) and I am comfortable with this at the 'play' level. On a year-old Windows 7 box with 4GB, my question concerns which tool to use, the above ... or SQL Server 2008 R2 Express? The downsides that I can see of Express 2008 would be (a) another learning curve (b) the nagging feeling that I remember something about these less-than-complete SQL Server implementations that is not good - like inability to do important development stuff that is available in the full-blown models. This, iirc, was true for one of MS's implementations, long ago. The upside is that I make the enormous leap into another century. But wait, there's got to be more (to both -ve and +ve). Any feedback gratefully received. Stephen Bond PS - I'm a bit like Arthur (same age and increasingly pursuing other interests), so we're not talking long-term large commitments here (financial or long learning curve). From jwcolby at colbyconsulting.com Mon Sep 5 15:30:58 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 05 Sep 2011 16:30:58 -0400 Subject: [AccessD] SQL Server advice In-Reply-To: References: Message-ID: <4E653182.9030905@colbyconsulting.com> Stephen, > I have a fully licensed 2000 Standard edition (acquired with an Action Pack in the days when MS New Zealand charged a one-time fee for Action Packs) on a 10-year-old WinXP box (?GB) Way under powered. It will run (barely) but you won't be happy. SQL Server of any kind is a somewhat major learning curve. You can just set up and go but then... The express version is quite powerful for what it is but it has major limitations such as a single core and a gig of ram. I have discovered that if you are hitting the limits of Access then you may already be at the limits of express. It will be fine for getting in the water so to speak but it is missing stuff. I thought I was going to use it for a client of mine but when I looked closely it just wasn't powerful enough. OTOH my client has nursed his access system way beyond reason and now has 25 users and around 4-5 gigs of data. We are now looking at a pretty expensive upgrade to full on SQL Server. Once you do a new server (hardware) with 25 seats on the OS and 25 seats on SQL Server you are looking at > $10K, and probably closer to $15K. That said, you then have power to take you through the next 5-10 years. > PS - I'm a bit like Arthur (same age and increasingly pursuing other interests), so we're not talking long-term large commitments here (financial or long learning curve). Uhh... this just means that you only have 20 years of work life left right? ;) John W. Colby www.ColbyConsulting.com On 9/5/2011 3:54 PM, Stephen Bond wrote: > After mucking around on the fringes for too long I am ready to make a more committed leap into SQL Server. I can foresee a customer needing to upgrade their Access back end within the next six months to a year and want to get 'expertly' ahead. > I have a fully licenced 2000 Standard edition (acquired with an Action Pack in the days when MS New Zealand charged a one-time fee for Action Packs) on a 10-year-old WinXP box (?GB) and I am comfortable with this at the 'play' level. > > On a year-old Windows 7 box with 4GB, my question concerns which tool to use, the above ... or SQL Server 2008 R2 Express? The downsides that I can see of Express 2008 would be (a) another learning curve (b) the nagging feeling that I remember something about these less-than-complete SQL Server implementations that is not good - like inability to do important development stuff that is available in the full-blown models. This, iirc, was true for one of MS's implementations, long ago. The upside is that I make the enormous leap into another century. But wait, there's got to be more (to both -ve and +ve). > > Any feedback gratefully received. > > Stephen Bond > > PS - I'm a bit like Arthur (same age and increasingly pursuing other interests), so we're not talking long-term large commitments here (financial or long learning curve). > From dbdoug at gmail.com Mon Sep 5 16:12:37 2011 From: dbdoug at gmail.com (Doug Steele) Date: Mon, 5 Sep 2011 14:12:37 -0700 Subject: [AccessD] Access date problem In-Reply-To: References: Message-ID: Hi Charlotte: Changing all instances of the Weekday function to include vbSunday as the second parameter did fix the problem. I'm still curious, however, why one computer in particular would have vbMonday set as the first day of the week contrary to the Access documentation. Doug On Mon, Sep 5, 2011 at 11:35 AM, Charlotte Foust wrote: > It's set in vba using the Weekday function and specifying the optional > firstdayofweek argument. If you just modify your code to include vbSunday, > you should get the desired result. Have you tried that? > > Charlotte Foust > > On Mon, Sep 5, 2011 at 9:19 AM, Doug Steele wrote: > > > Hello All: > > > > I have some code which depends on the weekday number. On all computers > > except for one of my client's, it runs OK. The computers are a mixed bag > > of > > Access 2003, 2010 and Windows 7 and Vista. > > > > On the 'bad' computer, everything is off by one day. Debugging on this > > computer gives '7' as the result of Weekday("9/4/2011") - a Sunday. > > According to Access help, the default for Sunday is 1. I've checked the > > Windows 7 Regional and Language settings on this computer and 'Sunday' is > > set as the first day of the week. So Access and Windows are different. > > > > I can't find a setting in Access to change this, and nothing on the Web. > > But it must be some kind of configuration setup - does anyone have a > > suggestion? > > > > 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 charlotte.foust at gmail.com Mon Sep 5 16:25:48 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 5 Sep 2011 14:25:48 -0700 Subject: [AccessD] Access date problem In-Reply-To: References: Message-ID: Haven't a clue, but you might want to check the time settings on that machine to see if the timestamps are off by 12 hours. Charlotte Foust On Mon, Sep 5, 2011 at 2:12 PM, Doug Steele wrote: > Hi Charlotte: > Changing all instances of the Weekday function to include vbSunday as the > second parameter did fix the problem. I'm still curious, however, why one > computer in particular would have vbMonday set as the first day of the week > contrary to the Access documentation. > > Doug > > > On Mon, Sep 5, 2011 at 11:35 AM, Charlotte Foust > wrote: > > > It's set in vba using the Weekday function and specifying the optional > > firstdayofweek argument. If you just modify your code to include > vbSunday, > > you should get the desired result. Have you tried that? > > > > Charlotte Foust > > > > On Mon, Sep 5, 2011 at 9:19 AM, Doug Steele wrote: > > > > > Hello All: > > > > > > I have some code which depends on the weekday number. On all computers > > > except for one of my client's, it runs OK. The computers are a mixed > bag > > > of > > > Access 2003, 2010 and Windows 7 and Vista. > > > > > > On the 'bad' computer, everything is off by one day. Debugging on this > > > computer gives '7' as the result of Weekday("9/4/2011") - a Sunday. > > > According to Access help, the default for Sunday is 1. I've checked > the > > > Windows 7 Regional and Language settings on this computer and 'Sunday' > is > > > set as the first day of the week. So Access and Windows are different. > > > > > > I can't find a setting in Access to change this, and nothing on the > Web. > > > But it must be some kind of configuration setup - does anyone have a > > > suggestion? > > > > > > 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 > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From ssharkins at gmail.com Mon Sep 5 18:00:57 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 5 Sep 2011 19:00:57 -0400 Subject: [AccessD] SQL Server advice References: Message-ID: <85D3AD6237B74727A3876A613CB2476F@SusanHarkins> On a year-old Windows 7 box with 4GB, my question concerns which tool to use, the above ... or SQL Server 2008 R2 Express? The downsides that I can see of Express 2008 would be (a) another learning curve (b) the nagging feeling that I remember something about these less-than-complete SQL Server implementations that is not good - like inability to do important development stuff that is available in the full-blown models. This, iirc, was true for one of MS's implementations, long ago. The upside is that I make the enormous leap into another century. But wait, there's got to be more (to both -ve and +ve). Any feedback gratefully received. =======I'd go with the more recent version of Express -- if you're already familiar with SQL Server, it won't be significant. Susan H. From stephen at bondsoftware.co.nz Tue Sep 6 00:42:03 2011 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Tue, 06 Sep 2011 17:42:03 +1200 Subject: [AccessD] SQL Server advice In-Reply-To: <63403747290942CF848F636F67DF3A1A@BondSoftware.local> References: <63403747290942CF848F636F67DF3A1A@BondSoftware.local> Message-ID: So, John, would the following scenario still fly? ... as far as getting out of the shallow end, I could install the 2000 version on my Win7 box. No cost so far. I have a good beginner's knowledge of 2000 from much 'playing around' and lots of documentation on hand including the MS training curriculum and a good SP textbook. Use this to do serious work converting the customer's queries to SPs, getting me up to speed for the day the several gigs of data (and growing each month - it is a milk production system feeding into genetic analysis) needs the customer to buy a bigger engine to process. At which point I get serious, upgrade myself to Express or bigger, and the customer to whatever he can afford .......... And I forget the WinXP box, 2000 is on it, but never used for anything in anger, just a little toybox for me to play like I knew what I was doing. Or am I totally wasting my time with 2000 on any computer? And I amend the PS ... long learning curve is OK (I've got 20 years right?), but big financial outlay not. Stephen Bond -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, 6 September 2011 8:46 a.m. To: Stephen Subject: Re: [AccessD] SQL Server advice Stephen, > I have a fully licensed 2000 Standard edition (acquired with an Action Pack in the days when MS New Zealand charged a one-time fee for Action Packs) on a 10-year-old WinXP box (?GB) Way under powered. It will run (barely) but you won't be happy. SQL Server of any kind is a somewhat major learning curve. You can just set up and go but then... The express version is quite powerful for what it is but it has major limitations such as a single core and a gig of ram. I have discovered that if you are hitting the limits of Access then you may already be at the limits of express. It will be fine for getting in the water so to speak but it is missing stuff. I thought I was going to use it for a client of mine but when I looked closely it just wasn't powerful enough. OTOH my client has nursed his access system way beyond reason and now has 25 users and around 4-5 gigs of data. We are now looking at a pretty expensive upgrade to full on SQL Server. Once you do a new server (hardware) with 25 seats on the OS and 25 seats on SQL Server you are looking at > $10K, and probably closer to $15K. That said, you then have power to take you through the next 5-10 years. > PS - I'm a bit like Arthur (same age and increasingly pursuing other interests), so we're not talking long-term large commitments here (financial or long learning curve). Uhh... this just means that you only have 20 years of work life left right? ;) John W. Colby www.ColbyConsulting.com On 9/5/2011 3:54 PM, Stephen Bond wrote: > After mucking around on the fringes for too long I am ready to make a more committed leap into SQL Server. I can foresee a customer needing to upgrade their Access back end within the next six months to a year and want to get 'expertly' ahead. > I have a fully licenced 2000 Standard edition (acquired with an Action Pack in the days when MS New Zealand charged a one-time fee for Action Packs) on a 10-year-old WinXP box (?GB) and I am comfortable with this at the 'play' level. > > On a year-old Windows 7 box with 4GB, my question concerns which tool to use, the above ... or SQL Server 2008 R2 Express? The downsides that I can see of Express 2008 would be (a) another learning curve (b) the nagging feeling that I remember something about these less-than-complete SQL Server implementations that is not good - like inability to do important development stuff that is available in the full-blown models. This, iirc, was true for one of MS's implementations, long ago. The upside is that I make the enormous leap into another century. But wait, there's got to be more (to both -ve and +ve). > > Any feedback gratefully received. > > Stephen Bond > > PS - I'm a bit like Arthur (same age and increasingly pursuing other interests), so we're not talking long-term large commitments here (financial or long learning curve). > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Sep 6 01:17:23 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 06 Sep 2011 08:17:23 +0200 Subject: [AccessD] Access date problem Message-ID: Hi Doug Weekday("9/4/2011") and Weekday(#9/4/2011#) is not the same thing so if that computer doesn't use the "reverse" US date format (mm/dd/yyyy) your expression will read as 2011-04-09. Always use data type date/time for dates in VB(A). /gustav >>> dbdoug at gmail.com 05-09-2011 18:19 >>> Hello All: I have some code which depends on the weekday number. On all computers except for one of my client's, it runs OK. The computers are a mixed bag of Access 2003, 2010 and Windows 7 and Vista. On the 'bad' computer, everything is off by one day. Debugging on this computer gives '7' as the result of Weekday("9/4/2011") - a Sunday. According to Access help, the default for Sunday is 1. I've checked the Windows 7 Regional and Language settings on this computer and 'Sunday' is set as the first day of the week. So Access and Windows are different. I can't find a setting in Access to change this, and nothing on the Web. But it must be some kind of configuration setup - does anyone have a suggestion? Thanks, Doug From fuller.artful at gmail.com Tue Sep 6 05:26:10 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 6 Sep 2011 06:26:10 -0400 Subject: [AccessD] SQL Server advice In-Reply-To: References: <63403747290942CF848F636F67DF3A1A@BondSoftware.local> Message-ID: You would be totally wasting your time with SQL 2000. Why begin your learning 2 versions behind? And within 6 months, you'd be 3 versions behind (Denali will be released by then). Since you have a six-month window, my advice would be to install SQL 2008 Express on a Windows 7 box with about 4 gigs of RAM. For diving into SQL Server, this would be a sufficient learning machine. As JC wrote, you won't get all the benefits of a serious machine, but it's not for you anyway, it's for the client to decide whether to pick up that cost. Everything you learn on Express is directly applicable to upscale versions. Granted, there are a few things you won't be able to learn (clustered dbs, for example), but if you make it through the major stuff (Management Studio, T-SQL, views, stored procedures, User Defined Functions, Reporting Services and Analysis Services), what remains to learn won't take long. Arthur From jwcolby at colbyconsulting.com Tue Sep 6 05:29:03 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 06 Sep 2011 06:29:03 -0400 Subject: [AccessD] SQL Server advice In-Reply-To: References: <63403747290942CF848F636F67DF3A1A@BondSoftware.local> Message-ID: <4E65F5EF.80202@colbyconsulting.com> That'll work. SQL Server 2003 is missing some tsql syntax that was added later but if you don't need that then you will not miss it. John W. Colby www.ColbyConsulting.com On 9/6/2011 1:42 AM, Stephen Bond wrote: > So, John, would the following scenario still fly? ... as far as getting out of the shallow end, I could install the 2000 version on my Win7 box. No cost so far. I have a good beginner's knowledge of 2000 from much 'playing around' and lots of documentation on hand including the MS training curriculum and a good SP textbook. Use this to do serious work converting the customer's queries to SPs, getting me up to speed for the day the several gigs of data (and growing each month - it is a milk production system feeding into genetic analysis) needs the customer to buy a bigger engine to process. At which point I get serious, upgrade myself to Express or bigger, and the customer to whatever he can afford .......... > > And I forget the WinXP box, 2000 is on it, but never used for anything in anger, just a little toybox for me to play like I knew what I was doing. > > Or am I totally wasting my time with 2000 on any computer? > > And I amend the PS ... long learning curve is OK (I've got 20 years right?), but big financial outlay not. > > Stephen Bond > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, 6 September 2011 8:46 a.m. > To: Stephen > Subject: Re: [AccessD] SQL Server advice > > Stephen, > > > I have a fully licensed 2000 Standard edition (acquired with an Action Pack in the days when MS > New Zealand charged a one-time fee for Action Packs) on a 10-year-old WinXP box (?GB) > > Way under powered. It will run (barely) but you won't be happy. > > SQL Server of any kind is a somewhat major learning curve. You can just set up and go but then... > > The express version is quite powerful for what it is but it has major limitations such as a single > core and a gig of ram. I have discovered that if you are hitting the limits of Access then you may > already be at the limits of express. It will be fine for getting in the water so to speak but it is > missing stuff. > > I thought I was going to use it for a client of mine but when I looked closely it just wasn't > powerful enough. OTOH my client has nursed his access system way beyond reason and now has 25 users > and around 4-5 gigs of data. We are now looking at a pretty expensive upgrade to full on SQL > Server. Once you do a new server (hardware) with 25 seats on the OS and 25 seats on SQL Server you > are looking at> $10K, and probably closer to $15K. That said, you then have power to take you > through the next 5-10 years. > > > PS - I'm a bit like Arthur (same age and increasingly pursuing other interests), so we're not > talking long-term large commitments here (financial or long learning curve). > > Uhh... this just means that you only have 20 years of work life left right? ;) > > John W. Colby > www.ColbyConsulting.com > > On 9/5/2011 3:54 PM, Stephen Bond wrote: >> After mucking around on the fringes for too long I am ready to make a more committed leap into SQL Server. I can foresee a customer needing to upgrade their Access back end within the next six months to a year and want to get 'expertly' ahead. >> I have a fully licenced 2000 Standard edition (acquired with an Action Pack in the days when MS New Zealand charged a one-time fee for Action Packs) on a 10-year-old WinXP box (?GB) and I am comfortable with this at the 'play' level. >> >> On a year-old Windows 7 box with 4GB, my question concerns which tool to use, the above ... or SQL Server 2008 R2 Express? The downsides that I can see of Express 2008 would be (a) another learning curve (b) the nagging feeling that I remember something about these less-than-complete SQL Server implementations that is not good - like inability to do important development stuff that is available in the full-blown models. This, iirc, was true for one of MS's implementations, long ago. The upside is that I make the enormous leap into another century. But wait, there's got to be more (to both -ve and +ve). >> >> Any feedback gratefully received. >> >> Stephen Bond >> >> PS - I'm a bit like Arthur (same age and increasingly pursuing other interests), so we're not talking long-term large commitments here (financial or long learning curve). >> From jwcolby at colbyconsulting.com Tue Sep 6 05:53:18 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 06 Sep 2011 06:53:18 -0400 Subject: [AccessD] SQL Server advice In-Reply-To: <4E65F5EF.80202@colbyconsulting.com> References: <63403747290942CF848F636F67DF3A1A@BondSoftware.local> <4E65F5EF.80202@colbyconsulting.com> Message-ID: <4E65FB9E.8020909@colbyconsulting.com> >Server 2003 is missing some tsql syntax I meant to say TSQL 2000 I do agree with Arthur however, you would be well served to just go with 2008. 2000 is very old. John W. Colby www.ColbyConsulting.com On 9/6/2011 6:29 AM, jwcolby wrote: > That'll work. SQL Server 2003 is missing some tsql syntax that was added later but if you don't need > that then you will not miss it. > > John W. Colby > www.ColbyConsulting.com > > On 9/6/2011 1:42 AM, Stephen Bond wrote: >> So, John, would the following scenario still fly? ... as far as getting out of the shallow end, I >> could install the 2000 version on my Win7 box. No cost so far. I have a good beginner's knowledge >> of 2000 from much 'playing around' and lots of documentation on hand including the MS training >> curriculum and a good SP textbook. Use this to do serious work converting the customer's queries >> to SPs, getting me up to speed for the day the several gigs of data (and growing each month - it >> is a milk production system feeding into genetic analysis) needs the customer to buy a bigger >> engine to process. At which point I get serious, upgrade myself to Express or bigger, and the >> customer to whatever he can afford .......... >> >> And I forget the WinXP box, 2000 is on it, but never used for anything in anger, just a little >> toybox for me to play like I knew what I was doing. >> >> Or am I totally wasting my time with 2000 on any computer? >> >> And I amend the PS ... long learning curve is OK (I've got 20 years right?), but big financial >> outlay not. >> >> Stephen Bond >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf >> Of jwcolby >> Sent: Tuesday, 6 September 2011 8:46 a.m. >> To: Stephen >> Subject: Re: [AccessD] SQL Server advice >> >> Stephen, >> >> > I have a fully licensed 2000 Standard edition (acquired with an Action Pack in the days when MS >> New Zealand charged a one-time fee for Action Packs) on a 10-year-old WinXP box (?GB) >> >> Way under powered. It will run (barely) but you won't be happy. >> >> SQL Server of any kind is a somewhat major learning curve. You can just set up and go but then... >> >> The express version is quite powerful for what it is but it has major limitations such as a single >> core and a gig of ram. I have discovered that if you are hitting the limits of Access then you may >> already be at the limits of express. It will be fine for getting in the water so to speak but it is >> missing stuff. >> >> I thought I was going to use it for a client of mine but when I looked closely it just wasn't >> powerful enough. OTOH my client has nursed his access system way beyond reason and now has 25 users >> and around 4-5 gigs of data. We are now looking at a pretty expensive upgrade to full on SQL >> Server. Once you do a new server (hardware) with 25 seats on the OS and 25 seats on SQL Server you >> are looking at> $10K, and probably closer to $15K. That said, you then have power to take you >> through the next 5-10 years. >> >> > PS - I'm a bit like Arthur (same age and increasingly pursuing other interests), so we're not >> talking long-term large commitments here (financial or long learning curve). >> >> Uhh... this just means that you only have 20 years of work life left right? ;) >> >> John W. Colby >> www.ColbyConsulting.com >> >> On 9/5/2011 3:54 PM, Stephen Bond wrote: >>> After mucking around on the fringes for too long I am ready to make a more committed leap into >>> SQL Server. I can foresee a customer needing to upgrade their Access back end within the next six >>> months to a year and want to get 'expertly' ahead. >>> I have a fully licenced 2000 Standard edition (acquired with an Action Pack in the days when MS >>> New Zealand charged a one-time fee for Action Packs) on a 10-year-old WinXP box (?GB) and I am >>> comfortable with this at the 'play' level. >>> >>> On a year-old Windows 7 box with 4GB, my question concerns which tool to use, the above ... or >>> SQL Server 2008 R2 Express? The downsides that I can see of Express 2008 would be (a) another >>> learning curve (b) the nagging feeling that I remember something about these less-than-complete >>> SQL Server implementations that is not good - like inability to do important development stuff >>> that is available in the full-blown models. This, iirc, was true for one of MS's implementations, >>> long ago. The upside is that I make the enormous leap into another century. But wait, there's got >>> to be more (to both -ve and +ve). >>> >>> Any feedback gratefully received. >>> >>> Stephen Bond >>> >>> PS - I'm a bit like Arthur (same age and increasingly pursuing other interests), so we're not >>> talking long-term large commitments here (financial or long learning curve). >>> From jwcolby at colbyconsulting.com Tue Sep 6 12:12:44 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 06 Sep 2011 13:12:44 -0400 Subject: [AccessD] Google and you Message-ID: <4E66548C.6090400@colbyconsulting.com> http://www.linkedin.com/news?actionBar=&articleID=751340935&ids=0Rd30Qd3oNdjsIcPASdzgRcjkTb3kPej0QcP4RdOMMe3oPe34PdjsIdPwTd3sVczkT&aag=true&freq=weekly&trk=eml-tod-b-ttle-4&ut=3APSkFFU2qw4U1 -- John W. Colby www.ColbyConsulting.com From marksimms at verizon.net Tue Sep 6 12:32:29 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 06 Sep 2011 13:32:29 -0400 Subject: [AccessD] SQL Server advice In-Reply-To: <4E65FB9E.8020909@colbyconsulting.com> References: <63403747290942CF848F636F67DF3A1A@BondSoftware.local> <4E65F5EF.80202@colbyconsulting.com> <4E65FB9E.8020909@colbyconsulting.com> Message-ID: <000001cc6cba$f4881e60$dd985b20$@net> > > I do agree with Arthur however, you would be well served to just go > with 2008. 2000 is very old. > That being said....I was at one shop....and they were paranoid to upgrade even to 2005 because of potential performance degradation. IOW: that ancient release was kind of lean-and-mean for the hardware they were running. With hardware so cheap today...no excuse not to "move up". From jwcolby at colbyconsulting.com Tue Sep 6 13:23:25 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 06 Sep 2011 14:23:25 -0400 Subject: [AccessD] SQL Server advice In-Reply-To: <000001cc6cba$f4881e60$dd985b20$@net> References: <63403747290942CF848F636F67DF3A1A@BondSoftware.local> <4E65F5EF.80202@colbyconsulting.com> <4E65FB9E.8020909@colbyconsulting.com> <000001cc6cba$f4881e60$dd985b20$@net> Message-ID: <4E66651D.1010503@colbyconsulting.com> LOL, that ancient release is lean and mean. It was designed to run on the platform of the day which was 32 bit, slow processors and 4 gigs of ram max. An interesting history lesson. http://blogs.msdn.com/b/euanga/archive/2006/01/19/514479.aspx We now have 64 bit processors, OSes and SQL Server. > With hardware so cheap today...no excuse not to "move up". Which I am in complete agreement. I am a 1.36 man show, and yet I have a rockin system. I am a developer and as such have access to the action pack which in this specific area is an enormous plus. Still, I do mostly have to buy my own hardware. My strategy was simply to build something and use it, then upgrade and keep the old parts, using them on other systems. At this point I have a dual socket motherboard, dual processors (16 total cores) and 64 gigs of ram. Just that part costs (today) about $1800. While that isn't chump change, plenty of rich kids spend that on their super duper Intel processor and a video card for gaming. My server supports SQL Server in a style that helps the work get done quickly. My client has 25 people in the database, they pay probably 40K or more a *month* in salary for those users. From my perspective it is insane to quibble about a one time cost of $20K (good for at least 5 years) to buy a power server to run the data side of that business. 4K a year to support 25 employees costing you a half million a year in salary is a pretty darned good deal. I actually spend about 4K a year just to support my 1.36 person company, and I consider that a good deal. John W. Colby www.ColbyConsulting.com On 9/6/2011 1:32 PM, Mark Simms wrote: >> >> I do agree with Arthur however, you would be well served to just go >> with 2008. 2000 is very old. >> > That being said....I was at one shop....and they were paranoid to upgrade > even to 2005 because of potential performance degradation. > IOW: that ancient release was kind of lean-and-mean for the hardware they > were running. > With hardware so cheap today...no excuse not to "move up". > > > From john at winhaven.net Tue Sep 6 13:25:43 2011 From: john at winhaven.net (John Bartow) Date: Tue, 6 Sep 2011 13:25:43 -0500 Subject: [AccessD] Google and you In-Reply-To: <4E66548C.6090400@colbyconsulting.com> References: <4E66548C.6090400@colbyconsulting.com> Message-ID: <030a01cc6cc2$63cb39e0$2b61ada0$@winhaven.net> Welcome to the "cloud". -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 06, 2011 12:13 PM To: Access Developers discussion and problem solving Subject: [AccessD] Google and you http://www.linkedin.com/news?actionBar=&articleID=751340935&ids=0Rd30Qd3oNdj sIcPASdzgRcjkTb3kPej0QcP4RdOMMe3oPe34PdjsIdPwTd3sVczkT&aag=true&freq=weekly& trk=eml-tod-b-ttle-4&ut=3APSkFFU2qw4U1 -- John W. Colby www.ColbyConsulting.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 Sep 6 13:58:24 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 6 Sep 2011 11:58:24 -0700 Subject: [AccessD] SQL Server advice In-Reply-To: References: Message-ID: <7DA414D02EB544E08C55B1A904F85CEC@creativesystemdesigns.com> Hi Steve: To really get up to speed fast sell a project or make one of your own. Your current computers are limited, the MS SQL is out of date and you need a new server2008. Cost; are you can buy some MS SQL/Server 2008 as well as hardware off EBay. A friend bought a older noisy server off EBay, 8GB RAM, built in RAID with 7 350GB HD, for about $350.00...It has been running fine for a year so it was a good deal. If you want the latest MS software, it will cost about $1200 minimum and $2000 for the premium TechNet addition. The minimum version has all the Servers, Office products and MS SQL versions. The premium edition also includes all the development packages. (VS/VS Lightswitch etc.) If the budget is limited, there are free express versions of MS SQL and VS. They do not have all the bell-and-whistles but their features are impressive. If you simply must have the full versions, you can download and use them for 60 to 90 day free-trial. There also is some other pricing specifically for developers but I am not familiar with process or the programs and some on the DBA will know the details. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stephen Bond Sent: Monday, September 05, 2011 12:55 PM To: Access Developers discussion and problem solving Subject: [AccessD] SQL Server advice After mucking around on the fringes for too long I am ready to make a more committed leap into SQL Server. I can foresee a customer needing to upgrade their Access back end within the next six months to a year and want to get 'expertly' ahead . I have a fully licenced 2000 Standard edition (acquired with an Action Pack in the days when MS New Zealand charged a one-time fee for Action Packs) on a 10-year-old WinXP box (?GB) and I am comfortable with this at the 'play' level. On a year-old Windows 7 box with 4GB, my question concerns which tool to use, the above ... or SQL Server 2008 R2 Express? The downsides that I can see of Express 2008 would be (a) another learning curve (b) the nagging feeling that I remember something about these less-than-complete SQL Server implementations that is not good - like inability to do important development stuff that is available in the full-blown models. This, iirc, was true for one of MS's implementations, long ago. The upside is that I make the enormous leap into another century. But wait, there's got to be more (to both -ve and +ve). Any feedback gratefully received. Stephen Bond PS - I'm a bit like Arthur (same age and increasingly pursuing other interests), so we're not talking long-term large commitments here (financial or long learning curve). -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Tue Sep 6 14:10:38 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 6 Sep 2011 12:10:38 -0700 Subject: [AccessD] Google and you In-Reply-To: <4E66548C.6090400@colbyconsulting.com> References: <4E66548C.6090400@colbyconsulting.com> Message-ID: Now we are the product. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 06, 2011 10:13 AM To: Access Developers discussion and problem solving Subject: [AccessD] Google and you http://www.linkedin.com/news?actionBar=&articleID=751340935&ids=0Rd30Qd3oNdj sIcPASdzgRcjkTb3kPej0QcP4RdOMMe3oPe34PdjsIdPwTd3sVczkT&aag=true&freq=weekly& trk=eml-tod-b-ttle-4&ut=3APSkFFU2qw4U1 -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From EdTesiny at oasas.ny.gov Tue Sep 6 14:16:18 2011 From: EdTesiny at oasas.ny.gov (Tesiny, Ed) Date: Tue, 6 Sep 2011 15:16:18 -0400 Subject: [AccessD] IIF Function Message-ID: Hi All, I have the following IIF statement in a query: LureenRev1: IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date]<3 And [Lureen_Reviewed]<>2),"OK","Followup") RssApplicationApproved 06/17/2011 (Date) Lureen_Reviewed_Date 06/16/2011 (Date) Lureen_Reviewed 2 (long integer) The statement returns OK Could someone tell me what's wrong with it, I can't see what's wrong. TIA, Ed Edward P. Tesiny Director of Evaluation and Outcomes Management New York State OASAS 1450 Western Avenue Albany, NY 12203 Phone: (518) 485-2322 Fax: (518) 485-5228 EdTesiny at oasas.ny.gov IMPORTANT: This E-mail may contain confidential material for the sole use of the intended recipient. The use, distribution, transmittal or re-transmittal by an unintended recipient of any communication is prohibited without our express approval in writing or by e-mail. Any use, distribution, transmittal or re-transmittal by persons who are not intended recipients of this e-mail may be a violation of law and is strictly prohibited. If you are not the intended recipient please contact the sender and delete all copies. E-mail transmission cannot be guaranteed to be secure or error-free. The sender therefore does not accept liability for any errors or omissions in the contents of this transmission. All e-mails sent to or from NYS OASAS are to be used for our business purposes only. E-mails sent from or to NYS OASAS are subject to review by the Agency. From paul.hartland at googlemail.com Tue Sep 6 14:22:29 2011 From: paul.hartland at googlemail.com (Paul Hartland) Date: Tue, 6 Sep 2011 20:22:29 +0100 Subject: [AccessD] IIF Function In-Reply-To: References: Message-ID: Ed, Not sure if you have made a typo but shouldnt your code; LureenRev1: IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date]<3 And [Lureen_Reviewed]<>2),"OK","Followup") Be LureenRev1: IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date])<3 And [Lureen_Reviewed]<>2,"OK","Followup") i.e. the bracket after the <>2 in your code moved to after the [Lureen_Reviewed_Date] in the datediff code ? Paul On 6 September 2011 20:16, Tesiny, Ed wrote: > Hi All, > > I have the following IIF statement in a query: > > > > LureenRev1: > IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date]<3 And > [Lureen_Reviewed]<>2),"OK","Followup") > > > > RssApplicationApproved 06/17/2011 (Date) > > Lureen_Reviewed_Date 06/16/2011 (Date) > > Lureen_Reviewed 2 (long integer) > > > > The statement returns OK > > > > Could someone tell me what's wrong with it, I can't see what's wrong. > > TIA, > > Ed > > > > Edward P. Tesiny > > Director of Evaluation and Outcomes Management > > New York State OASAS > > 1450 Western Avenue > > Albany, NY 12203 > > Phone: (518) 485-2322 > > Fax: (518) 485-5228 > > EdTesiny at oasas.ny.gov > > > > IMPORTANT: This E-mail may contain confidential material for the sole > use of the intended recipient. The use, distribution, transmittal or > re-transmittal by an unintended recipient of any communication is > prohibited without our express approval in writing or by e-mail. Any > use, distribution, transmittal or re-transmittal by persons who are not > intended recipients of this e-mail may be a violation of law and is > strictly prohibited. If you are not the intended recipient please > contact the sender and delete all copies. E-mail transmission cannot be > guaranteed to be secure or error-free. The sender therefore does not > accept liability for any errors or omissions in the contents of this > transmission. All e-mails sent to or from NYS OASAS are to be used for > our business purposes only. E-mails sent from or to NYS OASAS are > subject to review by the Agency. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Paul Hartland paul.hartland at googlemail.com From ab-mi at post3.tele.dk Tue Sep 6 14:25:21 2011 From: ab-mi at post3.tele.dk (Asger Blond) Date: Tue, 6 Sep 2011 21:25:21 +0200 Subject: [AccessD] IIF Function In-Reply-To: References: Message-ID: IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date])<3 And [Lureen_Reviewed]<>2,"OK","Followup") Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Tesiny, Ed Sendt: 6. september 2011 21:16 Til: Off Topic; Access Developers discussion and problem solving Emne: [AccessD] IIF Function Hi All, I have the following IIF statement in a query: LureenRev1: IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date]<3 And [Lureen_Reviewed]<>2),"OK","Followup") RssApplicationApproved 06/17/2011 (Date) Lureen_Reviewed_Date 06/16/2011 (Date) Lureen_Reviewed 2 (long integer) The statement returns OK Could someone tell me what's wrong with it, I can't see what's wrong. TIA, Ed Edward P. Tesiny Director of Evaluation and Outcomes Management New York State OASAS 1450 Western Avenue Albany, NY 12203 Phone: (518) 485-2322 Fax: (518) 485-5228 EdTesiny at oasas.ny.gov IMPORTANT: This E-mail may contain confidential material for the sole use of the intended recipient. The use, distribution, transmittal or re-transmittal by an unintended recipient of any communication is prohibited without our express approval in writing or by e-mail. Any use, distribution, transmittal or re-transmittal by persons who are not intended recipients of this e-mail may be a violation of law and is strictly prohibited. If you are not the intended recipient please contact the sender and delete all copies. E-mail transmission cannot be guaranteed to be secure or error-free. The sender therefore does not accept liability for any errors or omissions in the contents of this transmission. All e-mails sent to or from NYS OASAS are to be used for our business purposes only. E-mails sent from or to NYS OASAS are subject to review by the Agency. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jm.hwsn at gmail.com Tue Sep 6 14:30:10 2011 From: jm.hwsn at gmail.com (jm.hwsn) Date: Tue, 6 Sep 2011 14:30:10 -0500 Subject: [AccessD] IIF Function In-Reply-To: References: Message-ID: <4e6674c4.100d960a.6705.0b58@mx.google.com> I believe your statement needs a closing parens after [Lureen_Reviewed_Date] just before the left caret ( < ). So the formula should look like: IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date]) <3 And [Lureen_Reviewed]<>2),"OK","Followup") HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed Sent: Tuesday, September 06, 2011 2:16 PM To: Off Topic; Access Developers discussion and problem solving Subject: [AccessD] IIF Function Hi All, I have the following IIF statement in a query: LureenRev1: IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date]<3 And [Lureen_Reviewed]<>2),"OK","Followup") RssApplicationApproved 06/17/2011 (Date) Lureen_Reviewed_Date 06/16/2011 (Date) Lureen_Reviewed 2 (long integer) The statement returns OK Could someone tell me what's wrong with it, I can't see what's wrong. TIA, Ed Edward P. Tesiny Director of Evaluation and Outcomes Management New York State OASAS 1450 Western Avenue Albany, NY 12203 Phone: (518) 485-2322 Fax: (518) 485-5228 EdTesiny at oasas.ny.gov IMPORTANT: This E-mail may contain confidential material for the sole use of the intended recipient. The use, distribution, transmittal or re-transmittal by an unintended recipient of any communication is prohibited without our express approval in writing or by e-mail. Any use, distribution, transmittal or re-transmittal by persons who are not intended recipients of this e-mail may be a violation of law and is strictly prohibited. If you are not the intended recipient please contact the sender and delete all copies. E-mail transmission cannot be guaranteed to be secure or error-free. The sender therefore does not accept liability for any errors or omissions in the contents of this transmission. All e-mails sent to or from NYS OASAS are to be used for our business purposes only. E-mails sent from or to NYS OASAS are subject to review by the Agency. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From EdTesiny at oasas.ny.gov Tue Sep 6 14:31:17 2011 From: EdTesiny at oasas.ny.gov (Tesiny, Ed) Date: Tue, 6 Sep 2011 15:31:17 -0400 Subject: [AccessD] IIF Function In-Reply-To: References: Message-ID: Paul/Asger, Of course you're right...I hate it when you make a mistake with a ")" Thank you! Ed Tesiny EdTesiny at oasas.ny.gov -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond Sent: Tuesday, September 06, 2011 3:25 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] IIF Function IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date])<3 And [Lureen_Reviewed]<>2,"OK","Followup") Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Tesiny, Ed Sendt: 6. september 2011 21:16 Til: Off Topic; Access Developers discussion and problem solving Emne: [AccessD] IIF Function Hi All, I have the following IIF statement in a query: LureenRev1: IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date]<3 And [Lureen_Reviewed]<>2),"OK","Followup") RssApplicationApproved 06/17/2011 (Date) Lureen_Reviewed_Date 06/16/2011 (Date) Lureen_Reviewed 2 (long integer) The statement returns OK Could someone tell me what's wrong with it, I can't see what's wrong. TIA, Ed Edward P. Tesiny Director of Evaluation and Outcomes Management New York State OASAS 1450 Western Avenue Albany, NY 12203 Phone: (518) 485-2322 Fax: (518) 485-5228 EdTesiny at oasas.ny.gov IMPORTANT: This E-mail may contain confidential material for the sole use of the intended recipient. The use, distribution, transmittal or re-transmittal by an unintended recipient of any communication is prohibited without our express approval in writing or by e-mail. Any use, distribution, transmittal or re-transmittal by persons who are not intended recipients of this e-mail may be a violation of law and is strictly prohibited. If you are not the intended recipient please contact the sender and delete all copies. E-mail transmission cannot be guaranteed to be secure or error-free. The sender therefore does not accept liability for any errors or omissions in the contents of this transmission. All e-mails sent to or from NYS OASAS are to be used for our business purposes only. E-mails sent from or to NYS OASAS are subject to review by the Agency. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 stephen at bondsoftware.co.nz Tue Sep 6 15:07:28 2011 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Wed, 07 Sep 2011 08:07:28 +1200 Subject: [AccessD] SQL Server advice In-Reply-To: References: Message-ID: The list does it again. Not for the first time. John, Arthur, Susan, Mark, Jim - many thanks. SQL Express 2008 it is then for the Win7 box, and I'll leave the SQL2000 on the XP box as a gracefully ageing toy (my very own Model T) Stephen Bond From vbacreations at gmail.com Tue Sep 6 16:44:48 2011 From: vbacreations at gmail.com (William Benson) Date: Tue, 6 Sep 2011 17:44:48 -0400 Subject: [AccessD] IIF Function In-Reply-To: References: Message-ID: But they didn't ... you did! Ha ha ha I crack myself up. No offense, really, I am just in a wacky mood. On Tue, Sep 6, 2011 at 3:31 PM, Tesiny, Ed wrote: > Paul/Asger, > Of course you're right...I hate it when you make a mistake with a ")" > Thank you! > > Ed Tesiny > EdTesiny at oasas.ny.gov > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond > Sent: Tuesday, September 06, 2011 3:25 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] IIF Function > > > IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date])<3 And > [Lureen_Reviewed]<>2,"OK","Followup") > > Asger > > -----Oprindelig meddelelse----- > Fra: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] P? vegne af Tesiny, Ed > Sendt: 6. september 2011 21:16 > Til: Off Topic; Access Developers discussion and problem solving > Emne: [AccessD] IIF Function > > Hi All, > > I have the following IIF statement in a query: > > > > LureenRev1: > IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date]<3 And > [Lureen_Reviewed]<>2),"OK","Followup") > > > > RssApplicationApproved 06/17/2011 (Date) > > Lureen_Reviewed_Date 06/16/2011 (Date) > > Lureen_Reviewed 2 (long integer) > > > > The statement returns OK > > > > Could someone tell me what's wrong with it, I can't see what's wrong. > > TIA, > > Ed > > > > Edward P. Tesiny > > Director of Evaluation and Outcomes Management > > New York State OASAS > > 1450 Western Avenue > > Albany, NY 12203 > > Phone: (518) 485-2322 > > Fax: (518) 485-5228 > > EdTesiny at oasas.ny.gov > > > > IMPORTANT: This E-mail may contain confidential material for the sole > use of the intended recipient. The use, distribution, transmittal or > re-transmittal by an unintended recipient of any communication is > prohibited without our express approval in writing or by e-mail. Any > use, distribution, transmittal or re-transmittal by persons who are not > intended recipients of this e-mail may be a violation of law and is > strictly prohibited. If you are not the intended recipient please > contact the sender and delete all copies. E-mail transmission cannot be > guaranteed to be secure or error-free. The sender therefore does not > accept liability for any errors or omissions in the contents of this > transmission. All e-mails sent to or from NYS OASAS are to be used for > our business purposes only. E-mails sent from or to NYS OASAS are > subject to review by the Agency. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 > -- *Regards,* ** ** *Bill Benson* *VBACreations* ** PS: You've gotten this e-mail *because you matter to me!* From jwcolby at colbyconsulting.com Tue Sep 6 16:45:33 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 06 Sep 2011 17:45:33 -0400 Subject: [AccessD] SQL Server advice In-Reply-To: References: Message-ID: <4E66947D.9080003@colbyconsulting.com> LOL. did you say the win7 box a laptop? If not, throw some more memory on it and migrate the sql server 2000 machine to a vm. The best of both worlds. You can get faster hardware and start / stop it as you need. John W. Colby www.ColbyConsulting.com On 9/6/2011 4:07 PM, Stephen Bond wrote: > The list does it again. > Not for the first time. > John, Arthur, Susan, Mark, Jim - many thanks. > > SQL Express 2008 it is then for the Win7 box, and I'll leave the SQL2000 > on the XP box as a gracefully ageing toy (my very own Model T) > > Stephen Bond > From kismert at gmail.com Tue Sep 6 16:52:13 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Tue, 6 Sep 2011 16:52:13 -0500 Subject: [AccessD] Passing ParamArrays down the line Message-ID: John: It's true: you can't pass a ParamArray to a routine expecting a Variant() or Variant parameter. You have to convert to a Variant array first. You can pass ParamArrays to other routines accepting a ParamArray. But, the initial ParamArray gets nested in element(0) in the ParamArray of the called routine, making the values hard to extract. This routine takes any ParamArray with any level of nesting, and returns the actual values as a plain variant array: ' UnpackParamArray ' ' Unpacks the given ParamArray, and returns it as a Variant array ' * Handles nested ParamArray calls ' * Handles an array passed to a ParamArray ' ' Allows several parameter passing styles: ' 1. ParamArray from another routine -- lowest-level nested array ' 2. Variant Array as only parameter -- " " ' 3. List of values -- returns array containing values given ' (works, but use Array() instead) ' ParamArray Nesting ' * Every time you pass a ParamArray to another routine, it gets nested as ' element 0 in the new ParamArray: ' ' Nest Level Array Structure ' --------------------------------------------------------------------------- ' 1 Array(N) ' 2 Array(0) -> Array(N) ' 3 Array(0) -> Array(0) -> Array(N) ' 4 Array(0) -> Array(0) -> Array(0) -> Array(N) ' ' * This function unwraps the nested Array(0) pointers until the base array is found. ' * When you pass a standard array to a ParamArray, you start at nest level 2. ' ' Notes: ' * ParamArrays can only be passed to other Routines as ParamArrays ' * Passing ParamArray() to Variant() or Variant will result in an ' 'Invalid Use Of ParamArray' compile error. ' * If an object with a default property is passed, the property is used instead of the object ' Public Function UnpackParamArray(ParamArray vParameters() As Variant) As Variant() Dim vOut() As Variant Dim vTemp() As Variant Dim lUBound As Long On Error GoTo HandleErr ' empty array: LBound=0; UBound=-1 UnpackParamArray = VBA.Array() vOut() = vParameters() lUBound = UBound(vOut) ' If UBound > 0, some regular array has been found, so skip this loop Do While (lUBound = 0) If IsArray(vOut(0)) Then ' Swap carefully to avoid fatal error vTemp() = vOut(0) Erase vOut() vOut() = vTemp() Erase vTemp() ' test the bounds of the new array lUBound = UBound(vOut) Else ' scalar or object value: return array holding it lUBound = 1 End If Loop If lUBound >= 0 Then ' Return UnpackParamArray = vOut() End If Exit Function HandleErr: Err.Raise Err.Number, "UnpackParamArray" & VbCrLf & Err.Source, Err.Description End Function jwcolby: > I use param arrays to allow me to pass in things like group ids that a user > might belong to. The following fails: > > Function mPLSUserInGroup(ParamArray Grps() As Variant) As Boolean > mPLSUserInGroup = cPLS.cCurrUser.pUserInGrp(**Grps) > End Function > > However the following works: > > Function mPLSUserInGroup(ParamArray Grps() As Variant) As Boolean > Dim lGrps() As Variant > lGrps = Grps > mPLSUserInGroup = cPLS.cCurrUser.pUserInGrp(**lGrps) > End Function > > Thus in order to push a paramarray into another function we just need to > dim an array, set it equal to the paramarray and then push that array on > down. > > Pretty strange that a ParamArray cannot be directly passed along. > From ab-mi at post3.tele.dk Tue Sep 6 16:54:00 2011 From: ab-mi at post3.tele.dk (Asger Blond) Date: Tue, 6 Sep 2011 23:54:00 +0200 Subject: [AccessD] IIF Function In-Reply-To: References: Message-ID: :) Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af William Benson Sendt: 6. september 2011 23:45 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] IIF Function But they didn't ... you did! Ha ha ha I crack myself up. No offense, really, I am just in a wacky mood. On Tue, Sep 6, 2011 at 3:31 PM, Tesiny, Ed wrote: > Paul/Asger, > Of course you're right...I hate it when you make a mistake with a ")" > Thank you! > > Ed Tesiny > EdTesiny at oasas.ny.gov > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond > Sent: Tuesday, September 06, 2011 3:25 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] IIF Function > > > IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date])<3 And > [Lureen_Reviewed]<>2,"OK","Followup") > > Asger > > -----Oprindelig meddelelse----- > Fra: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] P? vegne af Tesiny, Ed > Sendt: 6. september 2011 21:16 > Til: Off Topic; Access Developers discussion and problem solving > Emne: [AccessD] IIF Function > > Hi All, > > I have the following IIF statement in a query: > > > > LureenRev1: > IIf(DateDiff("d",[RSSApplicationApproved],[Lureen_Reviewed_Date]<3 And > [Lureen_Reviewed]<>2),"OK","Followup") > > > > RssApplicationApproved 06/17/2011 (Date) > > Lureen_Reviewed_Date 06/16/2011 (Date) > > Lureen_Reviewed 2 (long integer) > > > > The statement returns OK > > > > Could someone tell me what's wrong with it, I can't see what's wrong. > > TIA, > > Ed > > > > Edward P. Tesiny > > Director of Evaluation and Outcomes Management > > New York State OASAS > > 1450 Western Avenue > > Albany, NY 12203 > > Phone: (518) 485-2322 > > Fax: (518) 485-5228 > > EdTesiny at oasas.ny.gov > > > > IMPORTANT: This E-mail may contain confidential material for the sole > use of the intended recipient. The use, distribution, transmittal or > re-transmittal by an unintended recipient of any communication is > prohibited without our express approval in writing or by e-mail. Any > use, distribution, transmittal or re-transmittal by persons who are not > intended recipients of this e-mail may be a violation of law and is > strictly prohibited. If you are not the intended recipient please > contact the sender and delete all copies. E-mail transmission cannot be > guaranteed to be secure or error-free. The sender therefore does not > accept liability for any errors or omissions in the contents of this > transmission. All e-mails sent to or from NYS OASAS are to be used for > our business purposes only. E-mails sent from or to NYS OASAS are > subject to review by the Agency. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 > -- *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 jwcolby at colbyconsulting.com Tue Sep 6 16:59:16 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 06 Sep 2011 17:59:16 -0400 Subject: [AccessD] Passing ParamArrays down the line In-Reply-To: References: Message-ID: <4E6697B4.3080601@colbyconsulting.com> I actually just copied the param array into an array() ov var and passed that. It just never occurred to me to try that. John W. Colby www.ColbyConsulting.com On 9/6/2011 5:52 PM, Kenneth Ismert wrote: > John: > > It's true: you can't pass a ParamArray to a routine expecting a Variant() or > Variant parameter. You have to convert to a Variant array first. > > You can pass ParamArrays to other routines accepting a ParamArray. But, the > initial ParamArray gets nested in element(0) in the ParamArray of the called > routine, making the values hard to extract. > > This routine takes any ParamArray with any level of nesting, and returns the > actual values as a plain variant array: > > ' UnpackParamArray > ' > ' Unpacks the given ParamArray, and returns it as a Variant array > ' * Handles nested ParamArray calls > ' * Handles an array passed to a ParamArray > ' > ' Allows several parameter passing styles: > ' 1. ParamArray from another routine -- lowest-level nested array > ' 2. Variant Array as only parameter -- " " > ' 3. List of values -- returns array containing > values given > ' (works, but use Array() instead) > ' ParamArray Nesting > ' * Every time you pass a ParamArray to another routine, it gets nested as > ' element 0 in the new ParamArray: > ' > ' Nest Level Array Structure > ' > --------------------------------------------------------------------------- > ' 1 Array(N) > ' 2 Array(0) -> Array(N) > ' 3 Array(0) -> Array(0) -> Array(N) > ' 4 Array(0) -> Array(0) -> Array(0) -> Array(N) > ' > ' * This function unwraps the nested Array(0) pointers until the base array > is found. > ' * When you pass a standard array to a ParamArray, you start at nest level > 2. > ' > ' Notes: > ' * ParamArrays can only be passed to other Routines as ParamArrays > ' * Passing ParamArray() to Variant() or Variant will result in an > ' 'Invalid Use Of ParamArray' compile error. > ' * If an object with a default property is passed, the property is used > instead of the object > ' > Public Function UnpackParamArray(ParamArray vParameters() As Variant) As > Variant() > > Dim vOut() As Variant > Dim vTemp() As Variant > Dim lUBound As Long > > On Error GoTo HandleErr > > ' empty array: LBound=0; UBound=-1 > UnpackParamArray = VBA.Array() > > vOut() = vParameters() > lUBound = UBound(vOut) > > ' If UBound> 0, some regular array has been found, so skip this loop > Do While (lUBound = 0) > > If IsArray(vOut(0)) Then > ' Swap carefully to avoid fatal error > vTemp() = vOut(0) > Erase vOut() > vOut() = vTemp() > Erase vTemp() > ' test the bounds of the new array > lUBound = UBound(vOut) > > Else > ' scalar or object value: return array holding it > lUBound = 1 > > End If > > Loop > > If lUBound>= 0 Then > ' Return > UnpackParamArray = vOut() > End If > > Exit Function > > HandleErr: > Err.Raise Err.Number, "UnpackParamArray"& VbCrLf& Err.Source, > Err.Description > End Function > > > jwcolby: >> I use param arrays to allow me to pass in things like group ids that a user >> might belong to. The following fails: >> >> Function mPLSUserInGroup(ParamArray Grps() As Variant) As Boolean >> mPLSUserInGroup = cPLS.cCurrUser.pUserInGrp(**Grps) >> End Function >> >> However the following works: >> >> Function mPLSUserInGroup(ParamArray Grps() As Variant) As Boolean >> Dim lGrps() As Variant >> lGrps = Grps >> mPLSUserInGroup = cPLS.cCurrUser.pUserInGrp(**lGrps) >> End Function >> >> Thus in order to push a paramarray into another function we just need to >> dim an array, set it equal to the paramarray and then push that array on >> down. >> >> Pretty strange that a ParamArray cannot be directly passed along. >> From darryl at whittleconsulting.com.au Tue Sep 6 18:35:18 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 7 Sep 2011 09:35:18 +1000 Subject: [AccessD] SQL Server advice In-Reply-To: References: <63403747290942CF848F636F67DF3A1A@BondSoftware.local> Message-ID: <001c01cc6ced$a387d9a0$ea978ce0$@com.au> Why not just download the free version Denali "Community Technology Preview 3" (CTP3), that is what I did a while back and it has been good to use so far and dead easy to setup. Nice one :). <> Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, 6 September 2011 8:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SQL Server advice You would be totally wasting your time with SQL 2000. Why begin your learning 2 versions behind? And within 6 months, you'd be 3 versions behind (Denali will be released by then). Since you have a six-month window, my advice would be to install SQL 2008 Express on a Windows 7 box with about 4 gigs of RAM. For diving into SQL Server, this would be a sufficient learning machine. As JC wrote, you won't get all the benefits of a serious machine, but it's not for you anyway, it's for the client to decide whether to pick up that cost. Everything you learn on Express is directly applicable to upscale versions. Granted, there are a few things you won't be able to learn (clustered dbs, for example), but if you make it through the major stuff (Management Studio, T-SQL, views, stored procedures, User Defined Functions, Reporting Services and Analysis Services), what remains to learn won't take long. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Tue Sep 6 20:34:03 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 7 Sep 2011 11:34:03 +1000 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <4E6697B4.3080601@colbyconsulting.com> References: <4E6697B4.3080601@colbyconsulting.com> Message-ID: <002601cc6cfe$3a74d510$af5e7f30$@com.au> Uh oh... I thought today was going too darn well. I am working with data which has "#" as part of the string which causes the VBA code to fail For Example: gstrSQL = vbNullString gstrSQL = gstrSQL & " SELECT" gstrSQL = gstrSQL & " Activity," gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" gstrSQL = gstrSQL & " FROM ProbC_tblActivities" gstrSQL = gstrSQL & " GROUP BY Activity" gstrSQL = gstrSQL & " HAVING Activity="#Input" gstrSQL = gstrSQL & " AND Total_CF <> 0" Which sort of makes sense as the # is used in VBA for Conditional Compile. Is there some way I can I get VBA to accept the # as part of the string and not a command? Google has fairly useless when searching for "#" as well. Bah humbubg. Cheers Darryl From charlotte.foust at gmail.com Tue Sep 6 20:42:36 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Tue, 6 Sep 2011 18:42:36 -0700 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <002601cc6cfe$3a74d510$af5e7f30$@com.au> References: <4E6697B4.3080601@colbyconsulting.com> <002601cc6cfe$3a74d510$af5e7f30$@com.au> Message-ID: If you copied this from your code, the # isn't why it's failing. Remove the stray " before the # and see what happens. Charlotte Foust On Tue, Sep 6, 2011 at 6:34 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Uh oh... I thought today was going too darn well. > > I am working with data which has "#" as part of the string which causes the > VBA code to fail > > For Example: > > gstrSQL = vbNullString > gstrSQL = gstrSQL & " SELECT" > gstrSQL = gstrSQL & " Activity," > gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" > gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" > gstrSQL = gstrSQL & " FROM ProbC_tblActivities" > gstrSQL = gstrSQL & " GROUP BY Activity" > gstrSQL = gstrSQL & " HAVING Activity="#Input" > gstrSQL = gstrSQL & " AND Total_CF <> 0" > > Which sort of makes sense as the # is used in VBA for Conditional Compile. > > Is there some way I can I get VBA to accept the # as part of the string and > not a command? > > Google has fairly useless when searching for "#" as well. Bah humbubg. > > 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 Sep 6 20:45:09 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 06 Sep 2011 21:45:09 -0400 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <002601cc6cfe$3a74d510$af5e7f30$@com.au> References: <4E6697B4.3080601@colbyconsulting.com> <002601cc6cfe$3a74d510$af5e7f30$@com.au> Message-ID: <4E66CCA5.9030603@colbyconsulting.com> # on both sides signifies a date but *only* in the Access version of SQL, not (for example) in TSQL for SQL Server. Probably you are confusing Access SQL by making it think you are trying to specify a date. John W. Colby www.ColbyConsulting.com On 9/6/2011 9:34 PM, Darryl Collins wrote: > Uh oh... I thought today was going too darn well. > > I am working with data which has "#" as part of the string which causes the > VBA code to fail > > For Example: > > gstrSQL = vbNullString > gstrSQL = gstrSQL& " SELECT" > gstrSQL = gstrSQL& " Activity," > gstrSQL = gstrSQL& " SUM(Activity_CF) AS Total_CF" > gstrSQL = gstrSQL& " SUM(Activity_DCF) AS Total_DCF" > gstrSQL = gstrSQL& " FROM ProbC_tblActivities" > gstrSQL = gstrSQL& " GROUP BY Activity" > gstrSQL = gstrSQL& " HAVING Activity="#Input" > gstrSQL = gstrSQL& " AND Total_CF<> 0" > > Which sort of makes sense as the # is used in VBA for Conditional Compile. > > Is there some way I can I get VBA to accept the # as part of the string and > not a command? > > Google has fairly useless when searching for "#" as well. Bah humbubg. > > Cheers > Darryl > From newsgrps at dalyn.co.nz Tue Sep 6 20:50:24 2011 From: newsgrps at dalyn.co.nz (newsgrps) Date: Wed, 07 Sep 2011 13:50:24 +1200 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <002601cc6cfe$3a74d510$af5e7f30$@com.au> References: <4E6697B4.3080601@colbyconsulting.com> <002601cc6cfe$3a74d510$af5e7f30$@com.au> Message-ID: <20110907015040.DIJG839.mta02.xtra.co.nz@David-PC.dalyn.co.nz> Darryl Try gstrSQL = gstrSQL & " HAVING Activity='#Input'" (Putting #Input within single quotes.) Regards David Emerson Dalyn Software Ltd New Zealand At 7/09/2011, Darryl Collins wrote: >Uh oh... I thought today was going too darn well. > >I am working with data which has "#" as part of the string which causes the >VBA code to fail > >For Example: > >gstrSQL = vbNullString >gstrSQL = gstrSQL & " SELECT" >gstrSQL = gstrSQL & " Activity," >gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" >gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" >gstrSQL = gstrSQL & " FROM ProbC_tblActivities" >gstrSQL = gstrSQL & " GROUP BY Activity" >gstrSQL = gstrSQL & " HAVING Activity="#Input" >gstrSQL = gstrSQL & " AND Total_CF <> 0" > >Which sort of makes sense as the # is used in VBA for Conditional Compile. > >Is there some way I can I get VBA to accept the # as part of the string and >not a command? > >Google has fairly useless when searching for "#" as well. Bah humbubg. > >Cheers >Darryl > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From dbdoug at gmail.com Tue Sep 6 21:06:08 2011 From: dbdoug at gmail.com (Doug Steele) Date: Tue, 6 Sep 2011 19:06:08 -0700 Subject: [AccessD] Access date problem In-Reply-To: References: Message-ID: Thanks, Gustav - I know you've gone over this many times before! In this particular case, I was just typing into the immediate window, and I had checked that the computer's Windows date format was mm/dd/yyyy. When I use the Weekday function in code, I always use Date/Time variables. Doug On Mon, Sep 5, 2011 at 11:17 PM, Gustav Brock wrote: > Hi Doug > > Weekday("9/4/2011") and Weekday(#9/4/2011#) is not the same thing so if > that computer doesn't use the "reverse" US date format (mm/dd/yyyy) your > expression will read as 2011-04-09. > > Always use data type date/time for dates in VB(A). > > /gustav > > > >>> dbdoug at gmail.com 05-09-2011 18:19 >>> > Hello All: > > I have some code which depends on the weekday number. On all computers > except for one of my client's, it runs OK. The computers are a mixed bag > of > Access 2003, 2010 and Windows 7 and Vista. > > On the 'bad' computer, everything is off by one day. Debugging on this > computer gives '7' as the result of Weekday("9/4/2011") - a Sunday. > According to Access help, the default for Sunday is 1. I've checked the > Windows 7 Regional and Language settings on this computer and 'Sunday' is > set as the first day of the week. So Access and Windows are different. > > I can't find a setting in Access to change this, and nothing on the Web. > But it must be some kind of configuration setup - does anyone have a > suggestion? > > Thanks, > Doug > > > -- > 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 Sep 6 21:16:18 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 07 Sep 2011 12:16:18 +1000 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <002601cc6cfe$3a74d510$af5e7f30$@com.au> References: , <4E6697B4.3080601@colbyconsulting.com>, <002601cc6cfe$3a74d510$af5e7f30$@com.au> Message-ID: <4E66D3F2.25051.2899085E@stuart.lexacorp.com.pg> As others have pointed out, the # is not the problem. #Input is a string inside your SQL which needs to be delimited inside your strSQL. You are using double quotes as your strSQL building delimiter so the inner variable needs to be surrounded by single quotes. Also you are missing a comma after Total_CF Try this: gstrSQL = "SELECT " & _ "Activity, " & _ "SUM(Activity_CF) AS Total_CF," & _ "SUM(Activity_DCF) AS Total_DCF " & _ "FROM ProbC_tblActivities " & _ "GROUP BY Activity " & _ "HAVING Activity='#Input' " & _ "AND Total_CF <> 0" & _ On 7 Sep 2011 at 11:34, Darryl Collins wrote: > Uh oh... I thought today was going too darn well. > > I am working with data which has "#" as part of the string which > causes the VBA code to fail > > For Example: > > gstrSQL = vbNullString > gstrSQL = gstrSQL & " SELECT" > gstrSQL = gstrSQL & " Activity," > gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" > gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" > gstrSQL = gstrSQL & " FROM ProbC_tblActivities" > gstrSQL = gstrSQL & " GROUP BY Activity" > gstrSQL = gstrSQL & " HAVING Activity="#Input" > gstrSQL = gstrSQL & " AND Total_CF <> 0" > > Which sort of makes sense as the # is used in VBA for Conditional > Compile. > > Is there some way I can I get VBA to accept the # as part of the > string and not a command? > > Google has fairly useless when searching for "#" as well. Bah > humbubg. > > Cheers > Darryl > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Tue Sep 6 22:04:31 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 7 Sep 2011 13:04:31 +1000 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <4E66D3F2.25051.2899085E@stuart.lexacorp.com.pg> References: , <4E6697B4.3080601@colbyconsulting.com>, <002601cc6cfe$3a74d510$af5e7f30$@com.au> <4E66D3F2.25051.2899085E@stuart.lexacorp.com.pg> Message-ID: <002a01cc6d0a$dde5fec0$99b1fc40$@com.au> Hmmmm...... time for a coffee. Thanks guys... Stupid! Got it working fine now I have the my syntax and commas in place. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, 7 September 2011 12:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] String with "#" in VBA? As others have pointed out, the # is not the problem. #Input is a string inside your SQL which needs to be delimited inside your strSQL. You are using double quotes as your strSQL building delimiter so the inner variable needs to be surrounded by single quotes. Also you are missing a comma after Total_CF Try this: gstrSQL = "SELECT " & _ "Activity, " & _ "SUM(Activity_CF) AS Total_CF," & _ "SUM(Activity_DCF) AS Total_DCF " & _ "FROM ProbC_tblActivities " & _ "GROUP BY Activity " & _ "HAVING Activity='#Input' " & _ "AND Total_CF <> 0" & _ On 7 Sep 2011 at 11:34, Darryl Collins wrote: > Uh oh... I thought today was going too darn well. > > I am working with data which has "#" as part of the string which > causes the VBA code to fail > > For Example: > > gstrSQL = vbNullString > gstrSQL = gstrSQL & " SELECT" > gstrSQL = gstrSQL & " Activity," > gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" > gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" > gstrSQL = gstrSQL & " FROM ProbC_tblActivities" > gstrSQL = gstrSQL & " GROUP BY Activity" > gstrSQL = gstrSQL & " HAVING Activity="#Input" > gstrSQL = gstrSQL & " AND Total_CF <> 0" > > Which sort of makes sense as the # is used in VBA for Conditional > Compile. > > Is there some way I can I get VBA to accept the # as part of the > string and not a command? > > Google has fairly useless when searching for "#" as well. Bah > humbubg. > > Cheers > Darryl > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 6 22:15:44 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Tue, 6 Sep 2011 23:15:44 -0400 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <4E66D3F2.25051.2899085E@stuart.lexacorp.com.pg> References: , <4E6697B4.3080601@colbyconsulting.com>, <002601cc6cfe$3a74d510$af5e7f30$@com.au> <4E66D3F2.25051.2899085E@stuart.lexacorp.com.pg> Message-ID: <001501cc6d0c$6efc10b0$4cf43210$@gmail.com> I concur with the single-quotes and the comma additions... but I was not aware you are allowed to use the result field's name in the HAVING clause, I thought you needed to show the function again (see below)? gstrSQL = "" gstrSQL = gstrSQL & " SELECT" gstrSQL = gstrSQL & " Activity," gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF," gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" gstrSQL = gstrSQL & " FROM ProbC_tblActivities" gstrSQL = gstrSQL & " GROUP BY Activity" gstrSQL = gstrSQL & " HAVING Activity='#Input'" gstrSQL = gstrSQL & " AND SUM(Activity_CF) <> 0" -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, September 06, 2011 10:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] String with "#" in VBA? As others have pointed out, the # is not the problem. #Input is a string inside your SQL which needs to be delimited inside your strSQL. You are using double quotes as your strSQL building delimiter so the inner variable needs to be surrounded by single quotes. Also you are missing a comma after Total_CF Try this: gstrSQL = "SELECT " & _ "Activity, " & _ "SUM(Activity_CF) AS Total_CF," & _ "SUM(Activity_DCF) AS Total_DCF " & _ "FROM ProbC_tblActivities " & _ "GROUP BY Activity " & _ "HAVING Activity='#Input' " & _ "AND Total_CF <> 0" & _ On 7 Sep 2011 at 11:34, Darryl Collins wrote: > Uh oh... I thought today was going too darn well. > > I am working with data which has "#" as part of the string which > causes the VBA code to fail > > For Example: > > gstrSQL = vbNullString > gstrSQL = gstrSQL & " SELECT" > gstrSQL = gstrSQL & " Activity," > gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" > gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" > gstrSQL = gstrSQL & " FROM ProbC_tblActivities" > gstrSQL = gstrSQL & " GROUP BY Activity" > gstrSQL = gstrSQL & " HAVING Activity="#Input" > gstrSQL = gstrSQL & " AND Total_CF <> 0" > > Which sort of makes sense as the # is used in VBA for Conditional > Compile. > > Is there some way I can I get VBA to accept the # as part of the > string and not a command? > > Google has fairly useless when searching for "#" as well. Bah > humbubg. > > Cheers > Darryl > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 6 22:20:07 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 7 Sep 2011 13:20:07 +1000 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <002a01cc6d0a$dde5fec0$99b1fc40$@com.au> References: , <4E6697B4.3080601@colbyconsulting.com>, <002601cc6cfe$3a74d510$af5e7f30$@com.au> <4E66D3F2.25051.2899085E@stuart.lexacorp.com.pg> <002a01cc6d0a$dde5fec0$99b1fc40$@com.au> Message-ID: <002b01cc6d0d$0b299a20$217cce60$@com.au> Here is what I ended up using. gstrSQL = vbNullString gstrSQL = gstrSQL & "SELECT" gstrSQL = gstrSQL & " Activity," gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" gstrSQL = gstrSQL & " FROM ProbC_tblActivities" gstrSQL = gstrSQL & " GROUP BY Activity" gstrSQL = gstrSQL & " HAVING Activity='#Input'" The rest of the code was not required. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, 7 September 2011 1:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] String with "#" in VBA? Hmmmm...... time for a coffee. Thanks guys... Stupid! Got it working fine now I have the my syntax and commas in place. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, 7 September 2011 12:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] String with "#" in VBA? As others have pointed out, the # is not the problem. #Input is a string inside your SQL which needs to be delimited inside your strSQL. You are using double quotes as your strSQL building delimiter so the inner variable needs to be surrounded by single quotes. Also you are missing a comma after Total_CF Try this: gstrSQL = "SELECT " & _ "Activity, " & _ "SUM(Activity_CF) AS Total_CF," & _ "SUM(Activity_DCF) AS Total_DCF " & _ "FROM ProbC_tblActivities " & _ "GROUP BY Activity " & _ "HAVING Activity='#Input' " & _ "AND Total_CF <> 0" & _ On 7 Sep 2011 at 11:34, Darryl Collins wrote: > Uh oh... I thought today was going too darn well. > > I am working with data which has "#" as part of the string which > causes the VBA code to fail > > For Example: > > gstrSQL = vbNullString > gstrSQL = gstrSQL & " SELECT" > gstrSQL = gstrSQL & " Activity," > gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" > gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" > gstrSQL = gstrSQL & " FROM ProbC_tblActivities" > gstrSQL = gstrSQL & " GROUP BY Activity" > gstrSQL = gstrSQL & " HAVING Activity="#Input" > gstrSQL = gstrSQL & " AND Total_CF <> 0" > > Which sort of makes sense as the # is used in VBA for Conditional > Compile. > > Is there some way I can I get VBA to accept the # as part of the > string and not a command? > > Google has fairly useless when searching for "#" as well. Bah > humbubg. > > Cheers > Darryl > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Tue Sep 6 22:24:24 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 7 Sep 2011 13:24:24 +1000 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <001501cc6d0c$6efc10b0$4cf43210$@gmail.com> References: , <4E6697B4.3080601@colbyconsulting.com>, <002601cc6cfe$3a74d510$af5e7f30$@com.au> <4E66D3F2.25051.2899085E@stuart.lexacorp.com.pg> <001501cc6d0c$6efc10b0$4cf43210$@gmail.com> Message-ID: <003101cc6d0d$a4552e30$ecff8a90$@com.au> Yes, that syntax would be correct Bill. Man, I made a mess of this one didn't I... hmmmmm. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, 7 September 2011 1:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] String with "#" in VBA? I concur with the single-quotes and the comma additions... but I was not aware you are allowed to use the result field's name in the HAVING clause, I thought you needed to show the function again (see below)? gstrSQL = "" gstrSQL = gstrSQL & " SELECT" gstrSQL = gstrSQL & " Activity," gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF," gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" gstrSQL = gstrSQL & " FROM ProbC_tblActivities" gstrSQL = gstrSQL & " GROUP BY Activity" gstrSQL = gstrSQL & " HAVING Activity='#Input'" gstrSQL = gstrSQL & " AND SUM(Activity_CF) <> 0" -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, September 06, 2011 10:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] String with "#" in VBA? As others have pointed out, the # is not the problem. #Input is a string inside your SQL which needs to be delimited inside your strSQL. You are using double quotes as your strSQL building delimiter so the inner variable needs to be surrounded by single quotes. Also you are missing a comma after Total_CF Try this: gstrSQL = "SELECT " & _ "Activity, " & _ "SUM(Activity_CF) AS Total_CF," & _ "SUM(Activity_DCF) AS Total_DCF " & _ "FROM ProbC_tblActivities " & _ "GROUP BY Activity " & _ "HAVING Activity='#Input' " & _ "AND Total_CF <> 0" & _ On 7 Sep 2011 at 11:34, Darryl Collins wrote: > Uh oh... I thought today was going too darn well. > > I am working with data which has "#" as part of the string which > causes the VBA code to fail > > For Example: > > gstrSQL = vbNullString > gstrSQL = gstrSQL & " SELECT" > gstrSQL = gstrSQL & " Activity," > gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" > gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" > gstrSQL = gstrSQL & " FROM ProbC_tblActivities" > gstrSQL = gstrSQL & " GROUP BY Activity" > gstrSQL = gstrSQL & " HAVING Activity="#Input" > gstrSQL = gstrSQL & " AND Total_CF <> 0" > > Which sort of makes sense as the # is used in VBA for Conditional > Compile. > > Is there some way I can I get VBA to accept the # as part of the > string and not a command? > > Google has fairly useless when searching for "#" as well. Bah > humbubg. > > Cheers > Darryl > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 6 22:41:41 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Tue, 6 Sep 2011 23:41:41 -0400 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <003101cc6d0d$a4552e30$ecff8a90$@com.au> References: , <4E6697B4.3080601@colbyconsulting.com>, <002601cc6cfe$3a74d510$af5e7f30$@com.au> <4E66D3F2.25051.2899085E@stuart.lexacorp.com.pg> <001501cc6d0c$6efc10b0$4cf43210$@gmail.com> <003101cc6d0d$a4552e30$ecff8a90$@com.au> Message-ID: <001601cc6d10$0f115440$2d33fcc0$@gmail.com> No more than anyone else going from the top of their head. To wit, no one else pointed out that the Having Clause required the actual computation. And, no one pointed out (including me) that most non-calculated constraints are put in a WHERE clause, not the Having clause. I would imagine the query plan Access builds handles that kind of misappropriation without fuss however. Some SQL which I generated using only the Access query designer (with unneeded parens removed). SELECT Max(Tbl_GIB.LASTMODIFIED_DATE) AS MyMaxDate, 1+1 AS SomeCalc FROM Tbl_GIB WHERE Tbl_GIB.SITE_DB<>'Bill' HAVING 1+1=2 And Max(Tbl_GIB.LASTMODIFIED_DATE) < #12/31/2050# This fails: SELECT Max(Tbl_GIB.LASTMODIFIED_DATE) AS MyMaxDate, 1+1 AS SomeCalc FROM Tbl_GIB WHERE Tbl_GIB.SITE_DB<>'Bill' HAVING SomeCalc =2 As does this SELECT Max(Tbl_GIB.LASTMODIFIED_DATE) AS MyMaxDate, 1+1 AS SomeCalc FROM Tbl_GIB HAVING MyMaxDate < #12/31/2050#; -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Tuesday, September 06, 2011 11:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] String with "#" in VBA? Yes, that syntax would be correct Bill. Man, I made a mess of this one didn't I... hmmmmm. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, 7 September 2011 1:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] String with "#" in VBA? I concur with the single-quotes and the comma additions... but I was not aware you are allowed to use the result field's name in the HAVING clause, I thought you needed to show the function again (see below)? gstrSQL = "" gstrSQL = gstrSQL & " SELECT" gstrSQL = gstrSQL & " Activity," gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF," gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" gstrSQL = gstrSQL & " FROM ProbC_tblActivities" gstrSQL = gstrSQL & " GROUP BY Activity" gstrSQL = gstrSQL & " HAVING Activity='#Input'" gstrSQL = gstrSQL & " AND SUM(Activity_CF) <> 0" -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, September 06, 2011 10:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] String with "#" in VBA? As others have pointed out, the # is not the problem. #Input is a string inside your SQL which needs to be delimited inside your strSQL. You are using double quotes as your strSQL building delimiter so the inner variable needs to be surrounded by single quotes. Also you are missing a comma after Total_CF Try this: gstrSQL = "SELECT " & _ "Activity, " & _ "SUM(Activity_CF) AS Total_CF," & _ "SUM(Activity_DCF) AS Total_DCF " & _ "FROM ProbC_tblActivities " & _ "GROUP BY Activity " & _ "HAVING Activity='#Input' " & _ "AND Total_CF <> 0" & _ On 7 Sep 2011 at 11:34, Darryl Collins wrote: > Uh oh... I thought today was going too darn well. > > I am working with data which has "#" as part of the string which > causes the VBA code to fail > > For Example: > > gstrSQL = vbNullString > gstrSQL = gstrSQL & " SELECT" > gstrSQL = gstrSQL & " Activity," > gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" > gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" > gstrSQL = gstrSQL & " FROM ProbC_tblActivities" > gstrSQL = gstrSQL & " GROUP BY Activity" > gstrSQL = gstrSQL & " HAVING Activity="#Input" > gstrSQL = gstrSQL & " AND Total_CF <> 0" > > Which sort of makes sense as the # is used in VBA for Conditional > Compile. > > Is there some way I can I get VBA to accept the # as part of the > string and not a command? > > Google has fairly useless when searching for "#" as well. Bah > humbubg. > > Cheers > Darryl > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 6 23:03:54 2011 From: vbacreations at gmail.com (William Benson) Date: Wed, 7 Sep 2011 00:03:54 -0400 Subject: [AccessD] Access date problem In-Reply-To: References: Message-ID: Obviously that computer was built on a Monday? Its always been GM's excuse. On Sep 5, 2011 5:14 PM, "Doug Steele" wrote: > Hi Charlotte: > Changing all instances of the Weekday function to include vbSunday as the > second parameter did fix the problem. I'm still curious, however, why one > computer in particular would have vbMonday set as the first day of the week > contrary to the Access documentation. > > Doug > > > On Mon, Sep 5, 2011 at 11:35 AM, Charlotte Foust > wrote: > >> It's set in vba using the Weekday function and specifying the optional >> firstdayofweek argument. If you just modify your code to include vbSunday, >> you should get the desired result. Have you tried that? >> >> Charlotte Foust >> >> On Mon, Sep 5, 2011 at 9:19 AM, Doug Steele wrote: >> >> > Hello All: >> > >> > I have some code which depends on the weekday number. On all computers >> > except for one of my client's, it runs OK. The computers are a mixed bag >> > of >> > Access 2003, 2010 and Windows 7 and Vista. >> > >> > On the 'bad' computer, everything is off by one day. Debugging on this >> > computer gives '7' as the result of Weekday("9/4/2011") - a Sunday. >> > According to Access help, the default for Sunday is 1. I've checked the >> > Windows 7 Regional and Language settings on this computer and 'Sunday' is >> > set as the first day of the week. So Access and Windows are different. >> > >> > I can't find a setting in Access to change this, and nothing on the Web. >> > But it must be some kind of configuration setup - does anyone have a >> > suggestion? >> > >> > 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 >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Gustav at cactus.dk Wed Sep 7 05:55:46 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 07 Sep 2011 12:55:46 +0200 Subject: [AccessD] SQL Server advice Message-ID: Hi Stephen Just pay attention to the limitations of SQL Server 2008 R2 Express: - Maximum 10 GB per database. - Uses no more than 1 processor. - Uses no more than 1 GB of internal memory. /gustav >>> stephen at bondsoftware.co.nz 06-09-2011 22:07 >>> The list does it again. Not for the first time. John, Arthur, Susan, Mark, Jim - many thanks. SQL Express 2008 it is then for the Win7 box, and I'll leave the SQL2000 on the XP box as a gracefully ageing toy (my very own Model T) Stephen Bond From fuller.artful at gmail.com Wed Sep 7 08:46:04 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 7 Sep 2011 09:46:04 -0400 Subject: [AccessD] Ac27 DLL Problem Message-ID: When I try to run the A2K7 upsizing wizard I immediately get the error "Error in Loading DLL." Anyone know why this is occurring and how to fix the problem? TIA, Arthur From jimdettman at verizon.net Wed Sep 7 08:51:21 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 07 Sep 2011 09:51:21 -0400 Subject: [AccessD] Of possible interest Message-ID: <7090E912B0544D45A427C7B55D04A980@XPS> picked this up from another list /group: http://www.zdnet.com/blog/microsoft/microsoft-to-focus-on-html5-and-javascri pt-for-office-15-extensions/10266 Something to think about... Jim. From accessd at shaw.ca Wed Sep 7 12:57:26 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 7 Sep 2011 10:57:26 -0700 Subject: [AccessD] Of possible interest In-Reply-To: <7090E912B0544D45A427C7B55D04A980@XPS> References: <7090E912B0544D45A427C7B55D04A980@XPS> Message-ID: <610914D12AB544868F8FF0CBB80BC76B@creativesystemdesigns.com> Excellent news and about time... It will not be long before we are all going web based. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, September 07, 2011 6:51 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Of possible interest picked this up from another list /group: http://www.zdnet.com/blog/microsoft/microsoft-to-focus-on-html5-and-javascri pt-for-office-15-extensions/10266 Something to think about... Jim. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Sep 7 13:03:08 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 7 Sep 2011 11:03:08 -0700 Subject: [AccessD] SQL Server advice In-Reply-To: <001c01cc6ced$a387d9a0$ea978ce0$@com.au> References: <63403747290942CF848F636F67DF3A1A@BondSoftware.local> <001c01cc6ced$a387d9a0$ea978ce0$@com.au> Message-ID: <968A7928D657458A9D0EFC2C72F52164@creativesystemdesigns.com> Thanks for the heads up Darryl. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Tuesday, September 06, 2011 4:35 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SQL Server advice Why not just download the free version Denali "Community Technology Preview 3" (CTP3), that is what I did a while back and it has been good to use so far and dead easy to setup. Nice one :). <> Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, 6 September 2011 8:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SQL Server advice You would be totally wasting your time with SQL 2000. Why begin your learning 2 versions behind? And within 6 months, you'd be 3 versions behind (Denali will be released by then). Since you have a six-month window, my advice would be to install SQL 2008 Express on a Windows 7 box with about 4 gigs of RAM. For diving into SQL Server, this would be a sufficient learning machine. As JC wrote, you won't get all the benefits of a serious machine, but it's not for you anyway, it's for the client to decide whether to pick up that cost. Everything you learn on Express is directly applicable to upscale versions. Granted, there are a few things you won't be able to learn (clustered dbs, for example), but if you make it through the major stuff (Management Studio, T-SQL, views, stored procedures, User Defined Functions, Reporting Services and Analysis Services), what remains to learn won't take long. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Wed Sep 7 13:21:02 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Wed, 07 Sep 2011 14:21:02 -0400 Subject: [AccessD] :) In-Reply-To: References: <3D568192E72C468FB4DD4A4693553C54@SusanHarkins><4E5CCF00.7000101@colbyconsulting.com><4E5D4E1B.21029.3661FC1@stuart.lexacorp.com.pg><9E95C48974A94C5D80EFB3444668BD61@HAL9007><8FC7AA6C2378493895EF53C A29E5509B@XPS><001401cc67de$d56db840$804928c0$@gmail.com> Message-ID: <4E67B60E.90401@torchlake.com> Okay, I just have to tell you guys this one. My Larry is from Indiana, which means that he has some regional pronunciation idiosyncrasies. He bought a new winch that he wanted mounted on the back end of his truck, so he went to Sam, our local guru, and asked him, "Can I mount a wench on the back of my truck?" To which, Sam responded, "Is Tina okay with this?" Before Larry caught on to the meaning, he said, "Well, of course, she is!" Then Sam said something about Larry's wife being more open-minded than his own wife about other women. That's when the light went on for Larry. One of our favorite little memories. :-) So, Arthur, you stay away from the wenches! Best, T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 8/31/2011 10:55 AM, Arthur Fuller wrote: > Nope. I have instead adopted the one-to-zero model. No wenches, no problems! > I realize that this model doesn't work for everyone, but it works for me. As > Greta Garbo said, "I didn't say I want to be alone, I said I want to be left > alone." That solution works for me, at this late stage of my life. > > I am approaching 64yo, and the man I most admired in my life died on Monday, > at age 61. I have abused my body with various chemicals, and Jack never did > the same, and I'm alive and he is dead; there is no justice in this world; > there may be some justice in some other world but it clearly is not this > one.If there were any justice, Jack would live on and I would be the one to > die, but that's not how it happened. I'm still alive, and Jack is dead, and > if anyone was creating this universe intelligently, the opposite would be > True. > > The only thing that I can hold from this is that I better get out there and > do some volunteer work with what remains of my life. I'm going to do that > right now. As long as this involves no wenches, I think that I'll be > relatively safe. Gotta watch out for wenches. They are more dangerous than > wrenches. > > A. > > On Wed, Aug 31, 2011 at 9:06 AM, William Benson (VBACreations.Com)< > vbacreations at gmail.com> wrote: > >> I think we left out "Are you into one-to-many relationships?" >> From jwcolby at colbyconsulting.com Wed Sep 7 13:22:12 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 07 Sep 2011 14:22:12 -0400 Subject: [AccessD] Of possible interest In-Reply-To: <610914D12AB544868F8FF0CBB80BC76B@creativesystemdesigns.com> References: <7090E912B0544D45A427C7B55D04A980@XPS> <610914D12AB544868F8FF0CBB80BC76B@creativesystemdesigns.com> Message-ID: <4E67B654.2010501@colbyconsulting.com> LOL. Not until they condense the 37 different technologies required down into one or two. John W. Colby www.ColbyConsulting.com On 9/7/2011 1:57 PM, Jim Lawrence wrote: > Excellent news and about time... It will not be long before we are all going > web based. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Wednesday, September 07, 2011 6:51 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Of possible interest > > picked this up from another list /group: > > http://www.zdnet.com/blog/microsoft/microsoft-to-focus-on-html5-and-javascri > pt-for-office-15-extensions/10266 > > Something to think about... > > Jim. From markamatte at hotmail.com Wed Sep 7 15:04:56 2011 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 7 Sep 2011 20:04:56 +0000 Subject: [AccessD] String with "#" in VBA? In-Reply-To: <001601cc6d10$0f115440$2d33fcc0$@gmail.com> References: , , <4E6697B4.3080601@colbyconsulting.com>, , <002601cc6cfe$3a74d510$af5e7f30$@com.au> <4E66D3F2.25051.2899085E@stuart.lexacorp.com.pg> <001501cc6d0c$6efc10b0$4cf43210$@gmail.com>, <003101cc6d0d$a4552e30$ecff8a90$@com.au>, <001601cc6d10$0f115440$2d33fcc0$@gmail.com> Message-ID: I had to think twice... Me and SQL spend our days between SQL Server, Access, and Foxpro...last week I was moving some processes from Foxpro to SQL Server and I learned that in Foxpro the HAVING clause will utilize the calculation or the alias... just FYI... Mark M. > From: vbacreations at gmail.com > To: accessd at databaseadvisors.com > Date: Tue, 6 Sep 2011 23:41:41 -0400 > Subject: Re: [AccessD] String with "#" in VBA? > > No more than anyone else going from the top of their head. To wit, no one > else pointed out that the Having Clause required the actual computation. > And, no one pointed out (including me) that most non-calculated constraints > are put in a WHERE clause, not the Having clause. I would imagine the query > plan Access builds handles that kind of misappropriation without fuss > however. Some SQL which I generated using only the Access query designer > (with unneeded parens removed). > > SELECT Max(Tbl_GIB.LASTMODIFIED_DATE) AS MyMaxDate, 1+1 AS SomeCalc > FROM Tbl_GIB > WHERE Tbl_GIB.SITE_DB<>'Bill' > HAVING 1+1=2 And Max(Tbl_GIB.LASTMODIFIED_DATE) < #12/31/2050# > > This fails: > > SELECT Max(Tbl_GIB.LASTMODIFIED_DATE) AS MyMaxDate, 1+1 AS SomeCalc > FROM Tbl_GIB > WHERE Tbl_GIB.SITE_DB<>'Bill' > HAVING SomeCalc =2 > > > As does this > > SELECT Max(Tbl_GIB.LASTMODIFIED_DATE) AS MyMaxDate, 1+1 AS SomeCalc > FROM Tbl_GIB > HAVING MyMaxDate < #12/31/2050#; > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins > Sent: Tuesday, September 06, 2011 11:24 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] String with "#" in VBA? > > Yes, that syntax would be correct Bill. Man, I made a mess of this one > didn't I... hmmmmm. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > (VBACreations.Com) > Sent: Wednesday, 7 September 2011 1:16 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] String with "#" in VBA? > > I concur with the single-quotes and the comma additions... but I was not > aware you are allowed to use the result field's name in the HAVING clause, I > thought you needed to show the function again (see below)? > > > gstrSQL = "" > gstrSQL = gstrSQL & " SELECT" > gstrSQL = gstrSQL & " Activity," > gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF," > gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" > gstrSQL = gstrSQL & " FROM ProbC_tblActivities" > gstrSQL = gstrSQL & " GROUP BY Activity" > gstrSQL = gstrSQL & " HAVING Activity='#Input'" > gstrSQL = gstrSQL & " AND SUM(Activity_CF) <> 0" > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Tuesday, September 06, 2011 10:16 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] String with "#" in VBA? > > As others have pointed out, the # is not the problem. > > #Input is a string inside your SQL which needs to be delimited inside your > strSQL. > You are using double quotes as your strSQL building delimiter so the inner > variable needs to > be surrounded by single quotes. > > Also you are missing a comma after Total_CF > > > > Try this: > > gstrSQL = "SELECT " & _ > "Activity, " & _ > "SUM(Activity_CF) AS Total_CF," & _ > "SUM(Activity_DCF) AS Total_DCF " & _ > "FROM ProbC_tblActivities " & _ > "GROUP BY Activity " & _ > "HAVING Activity='#Input' " & _ > "AND Total_CF <> 0" & _ > > > > > On 7 Sep 2011 at 11:34, Darryl Collins wrote: > > > Uh oh... I thought today was going too darn well. > > > > I am working with data which has "#" as part of the string which > > causes the VBA code to fail > > > > For Example: > > > > gstrSQL = vbNullString > > gstrSQL = gstrSQL & " SELECT" > > gstrSQL = gstrSQL & " Activity," > > gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" > > gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" > > gstrSQL = gstrSQL & " FROM ProbC_tblActivities" > > gstrSQL = gstrSQL & " GROUP BY Activity" > > gstrSQL = gstrSQL & " HAVING Activity="#Input" > > gstrSQL = gstrSQL & " AND Total_CF <> 0" > > > > Which sort of makes sense as the # is used in VBA for Conditional > > Compile. > > > > Is there some way I can I get VBA to accept the # as part of the > > string and not a command? > > > > Google has fairly useless when searching for "#" as well. Bah > > humbubg. > > > > Cheers > > Darryl > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 fuller.artful at gmail.com Wed Sep 7 16:40:31 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 7 Sep 2011 17:40:31 -0400 Subject: [AccessD] :) In-Reply-To: <4E67B60E.90401@torchlake.com> References: <3D568192E72C468FB4DD4A4693553C54@SusanHarkins> <4E5CCF00.7000101@colbyconsulting.com> <4E5D4E1B.21029.3661FC1@stuart.lexacorp.com.pg> <9E95C48974A94C5D80EFB3444668BD61@HAL9007> <001401cc67de$d56db840$804928c0$@gmail.com> <4E67B60E.90401@torchlake.com> Message-ID: It's the winches that scare me! A. On Wed, Sep 7, 2011 at 2:21 PM, Tina Norris Fields < tinanfields at torchlake.com> wrote: > Okay, I just have to tell you guys this one. My Larry is from Indiana, > which means that he has some regional pronunciation idiosyncrasies. He > bought a new winch that he wanted mounted on the back end of his truck, so > he went to Sam, our local guru, and asked him, "Can I mount a wench on the > back of my truck?" To which, Sam responded, "Is Tina okay with this?" > Before Larry caught on to the meaning, he said, "Well, of course, she is!" > Then Sam said something about Larry's wife being more open-minded than his > own wife about other women. That's when the light went on for Larry. One > of our favorite little memories. :-) > > So, Arthur, you stay away from the wenches! > > Best, > T > From darryl at whittleconsulting.com.au Wed Sep 7 20:47:19 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 8 Sep 2011 11:47:19 +1000 Subject: [AccessD] Wish List. Message-ID: <000701cc6dc9$427bde90$c7739bb0$@com.au> Been doing a lot of work with forms. In particular single forms with a lot of controls that are hidden or revealed depending on what options are available. I really wish MS were inspired by Adobe with how form design behaves. Why can't forms be layered? So you can work on individual layers which only have the relevant controls for that layer, but when the form is displayed all layers are shown, just like an image in Photoshop for example. That would be super useful as right now if I want to change anything on first controls I added, I have to move all of the other controls on top out of the way, make the changes, and then put them all back again. A real PITA. Would be wonderful to turn on and off visibility on the layers and then it would be easy to access any set of controls that are just on that layer. I know I can sort of fake this by using tabs, is this a better way or does anyone has a different angle I can consider? Cheers Darryl. Darryl Collins Whittle Consulting Pty Ltd Suite 8, 660 Canterbury Rd Surrey Hills, VIC, 3127 p: +61 3 9898 3242 m: +61 418 381 548 f: +61 3 9898 1855 e: darryl at whittleconsulting.com.au w: www.whittleconsulting.com.au From accessd at shaw.ca Wed Sep 7 20:16:27 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 7 Sep 2011 18:16:27 -0700 Subject: [AccessD] Of possible interest In-Reply-To: <4E67B654.2010501@colbyconsulting.com> References: <7090E912B0544D45A427C7B55D04A980@XPS> <610914D12AB544868F8FF0CBB80BC76B@creativesystemdesigns.com> <4E67B654.2010501@colbyconsulting.com> Message-ID: <4470814838CB464C9023DDBC40A42735@creativesystemdesigns.com> According to a computer expert who has been in the business, forever, similar to us, (but has been extremely successful with third thriving companies) he said, "A person can only master one or two technologies and so other than a working knowledge in a few, don't waste you time." I like that concept so just I will just dump the other 35. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, September 07, 2011 11:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Of possible interest LOL. Not until they condense the 37 different technologies required down into one or two. John W. Colby www.ColbyConsulting.com On 9/7/2011 1:57 PM, Jim Lawrence wrote: > Excellent news and about time... It will not be long before we are all going > web based. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Wednesday, September 07, 2011 6:51 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Of possible interest > > picked this up from another list /group: > > http://www.zdnet.com/blog/microsoft/microsoft-to-focus-on-html5-and-javascri > pt-for-office-15-extensions/10266 > > Something to think about... > > Jim. -- 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 Sep 7 21:50:20 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 08 Sep 2011 12:50:20 +1000 Subject: [AccessD] Wish List. In-Reply-To: <000701cc6dc9$427bde90$c7739bb0$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> Message-ID: <4E682D6C.27223.2DDE8F35@stuart.lexacorp.com.pg> Group blocks of controls and then drag the groups you are working on down to below the visible area of the screen? On 8 Sep 2011 at 11:47, Darryl Collins wrote: > Been doing a lot of work with forms. In particular single forms with a > lot of controls that are hidden or revealed depending on what options > are available. I really wish MS were inspired by Adobe with how form > design behaves. Why can't forms be layered? So you can work on > individual layers which only have the relevant controls for that > layer, but when the form is displayed all layers are shown, just like > an image in Photoshop for example. > > > > That would be super useful as right now if I want to change anything > on first controls I added, I have to move all of the other controls on > top out of the way, make the changes, and then put them all back > again. A real PITA. Would be wonderful to turn on and off visibility > on the layers and then it would be easy to access any set of controls > that are just on that layer. > > > > I know I can sort of fake this by using tabs, is this a better way or > does anyone has a different angle I can consider? > > > > Cheers > > Darryl. > > > > Darryl Collins > > Whittle Consulting Pty Ltd > > Suite 8, 660 Canterbury Rd > > Surrey Hills, VIC, 3127 > > > > p: +61 3 9898 3242 > > m: +61 418 381 548 > > f: +61 3 9898 1855 > > e: > darryl at whittleconsulting.com.au > > w: > www.whittleconsulting.com.au > > > > -- > 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 Sep 7 21:00:10 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 7 Sep 2011 22:00:10 -0400 Subject: [AccessD] Wish List. In-Reply-To: <000701cc6dc9$427bde90$c7739bb0$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> Message-ID: I've never tried it, but I wonder if you can make the BackColor of a tab control transparent. I recall that in some (maybe all?) versions, you have an option of where to display the tabs themselves; I think it offered Top, Side and None. As long as we're wishing, I wish there were a Go-To-Control command in form design. Sometimes in complex forms with lots of controls, I can't find ctl_xxx no matter how hard I look. Arthur From vbacreations at gmail.com Wed Sep 7 22:16:16 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Wed, 7 Sep 2011 23:16:16 -0400 Subject: [AccessD] Wish List. In-Reply-To: <4E682D6C.27223.2DDE8F35@stuart.lexacorp.com.pg> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <4E682D6C.27223.2DDE8F35@stuart.lexacorp.com.pg> Message-ID: <000601cc6dd5$acff35d0$06fda170$@gmail.com> Tag property is your friend... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, September 07, 2011 10:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. Group blocks of controls and then drag the groups you are working on down to below the visible area of the screen? On 8 Sep 2011 at 11:47, Darryl Collins wrote: > Been doing a lot of work with forms. In particular single forms with a > lot of controls that are hidden or revealed depending on what options > are available. I really wish MS were inspired by Adobe with how form > design behaves. Why can't forms be layered? So you can work on > individual layers which only have the relevant controls for that > layer, but when the form is displayed all layers are shown, just like > an image in Photoshop for example. > > > > That would be super useful as right now if I want to change anything > on first controls I added, I have to move all of the other controls on > top out of the way, make the changes, and then put them all back > again. A real PITA. Would be wonderful to turn on and off visibility > on the layers and then it would be easy to access any set of controls > that are just on that layer. > > > > I know I can sort of fake this by using tabs, is this a better way or > does anyone has a different angle I can consider? > > > > Cheers > > Darryl. > > > > Darryl Collins > > Whittle Consulting Pty Ltd > > Suite 8, 660 Canterbury Rd > > Surrey Hills, VIC, 3127 > > > > p: +61 3 9898 3242 > > m: +61 418 381 548 > > f: +61 3 9898 1855 > > e: > darryl at whittleconsulting.com.au > > w: > www.whittleconsulting.com.au > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Thu Sep 8 01:18:32 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 7 Sep 2011 23:18:32 -0700 Subject: [AccessD] Wish List. In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> Message-ID: No, you can't, probably because that would defeat the purpose. If you want things to show up on all pages, they have to be on the tab control itself. Anything else only shows up on the page on which it's located. Charlotte Foust On Wed, Sep 7, 2011 at 7:00 PM, Arthur Fuller wrote: > I've never tried it, but I wonder if you can make the BackColor of a tab > control transparent. I recall that in some (maybe all?) versions, you have > an option of where to display the tabs themselves; I think it offered Top, > Side and None. > > As long as we're wishing, I wish there were a Go-To-Control command in form > design. Sometimes in complex forms with lots of controls, I can't find > ctl_xxx no matter how hard I look. > > Arthur > -- > 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 Sep 8 01:21:52 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 8 Sep 2011 16:21:52 +1000 Subject: [AccessD] Wish List. In-Reply-To: <000601cc6dd5$acff35d0$06fda170$@gmail.com> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <4E682D6C.27223.2DDE8F35@stuart.lexacorp.com.pg> <000601cc6dd5$acff35d0$06fda170$@gmail.com> Message-ID: <001401cc6def$9a0ac470$ce204d50$@com.au> Hah, I am already using tags to control which controls are visible when... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Thursday, 8 September 2011 1:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Wish List. Tag property is your friend... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, September 07, 2011 10:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. Group blocks of controls and then drag the groups you are working on down to below the visible area of the screen? On 8 Sep 2011 at 11:47, Darryl Collins wrote: > Been doing a lot of work with forms. In particular single forms with a > lot of controls that are hidden or revealed depending on what options > are available. I really wish MS were inspired by Adobe with how form > design behaves. Why can't forms be layered? So you can work on > individual layers which only have the relevant controls for that > layer, but when the form is displayed all layers are shown, just like > an image in Photoshop for example. > > > > That would be super useful as right now if I want to change anything > on first controls I added, I have to move all of the other controls on > top out of the way, make the changes, and then put them all back > again. A real PITA. Would be wonderful to turn on and off visibility > on the layers and then it would be easy to access any set of controls > that are just on that layer. > > > > I know I can sort of fake this by using tabs, is this a better way or > does anyone has a different angle I can consider? > > > > Cheers > > Darryl. > > > > Darryl Collins > > Whittle Consulting Pty Ltd > > Suite 8, 660 Canterbury Rd > > Surrey Hills, VIC, 3127 > > > > p: +61 3 9898 3242 > > m: +61 418 381 548 > > f: +61 3 9898 1855 > > e: > darryl at whittleconsulting.com.au > > w: > www.whittleconsulting.com.au > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 7 21:09:39 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 7 Sep 2011 19:09:39 -0700 Subject: [AccessD] Wish List. In-Reply-To: <000701cc6dc9$427bde90$c7739bb0$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> Message-ID: Microsoft addressed this years ago by introducing tab controls. Why on earth would you want to use layers that all showed up at the same time? Logically, layers would only show the controls relevant to that layer/page. Charlotte Foust On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Been doing a lot of work with forms. In particular single forms with a lot > of controls that are hidden or revealed depending on what options are > available. I really wish MS were inspired by Adobe with how form design > behaves. Why can't forms be layered? So you can work on individual layers > which only have the relevant controls for that layer, but when the form is > displayed all layers are shown, just like an image in Photoshop for > example. > > > > That would be super useful as right now if I want to change anything on > first controls I added, I have to move all of the other controls on top out > of the way, make the changes, and then put them all back again. A real > PITA. Would be wonderful to turn on and off visibility on the layers and > then it would be easy to access any set of controls that are just on that > layer. > > > > I know I can sort of fake this by using tabs, is this a better way or does > anyone has a different angle I can consider? > > > > Cheers > > Darryl. > > > > Darryl Collins > > Whittle Consulting Pty Ltd > > Suite 8, 660 Canterbury Rd > > Surrey Hills, VIC, 3127 > > > > p: +61 3 9898 3242 > > m: +61 418 381 548 > > f: +61 3 9898 1855 > > e: > darryl at whittleconsulting.com.au > > w: > > www.whittleconsulting.com.au > > > > > > -- > 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 Sep 7 21:37:45 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 7 Sep 2011 22:37:45 -0400 Subject: [AccessD] Of possible interest In-Reply-To: <4470814838CB464C9023DDBC40A42735@creativesystemdesigns.com> References: <7090E912B0544D45A427C7B55D04A980@XPS> <610914D12AB544868F8FF0CBB80BC76B@creativesystemdesigns.com> <4E67B654.2010501@colbyconsulting.com> <4470814838CB464C9023DDBC40A42735@creativesystemdesigns.com> Message-ID: I'm with you on that, Jim. I waste far too much time putzing around with technologies I'm never going to work in. I should learn to concentrate on the two I know best and forget about all the other stuff. On Wed, Sep 7, 2011 at 9:16 PM, Jim Lawrence wrote: > According to a computer expert who has been in the business, forever, > similar to us, (but has been extremely successful with third thriving > companies) he said, "A person can only master one or two technologies and > so > other than a working knowledge in a few, don't waste you time." > > I like that concept so just I will just dump the other 35. ;-) > > Jim > > From jwcolby at colbyconsulting.com Wed Sep 7 23:39:45 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 08 Sep 2011 00:39:45 -0400 Subject: [AccessD] Of possible interest In-Reply-To: <4470814838CB464C9023DDBC40A42735@creativesystemdesigns.com> References: <7090E912B0544D45A427C7B55D04A980@XPS> <610914D12AB544868F8FF0CBB80BC76B@creativesystemdesigns.com> <4E67B654.2010501@colbyconsulting.com> <4470814838CB464C9023DDBC40A42735@creativesystemdesigns.com> Message-ID: <4E684711.3020806@colbyconsulting.com> And that is my point exactly. Every time I look at web stuff it is 37 different things that I have to learn. .Net has finally gotten us down to just a handful. John W. Colby www.ColbyConsulting.com On 9/7/2011 9:16 PM, Jim Lawrence wrote: > According to a computer expert who has been in the business, forever, > similar to us, (but has been extremely successful with third thriving > companies) he said, "A person can only master one or two technologies and so > other than a working knowledge in a few, don't waste you time." > > I like that concept so just I will just dump the other 35. ;-) > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Wednesday, September 07, 2011 11:22 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Of possible interest > > LOL. Not until they condense the 37 different technologies required down > into one or two. > > John W. Colby > www.ColbyConsulting.com > > On 9/7/2011 1:57 PM, Jim Lawrence wrote: >> Excellent news and about time... It will not be long before we are all > going >> web based. >> >> Jim >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman >> Sent: Wednesday, September 07, 2011 6:51 AM >> To: 'Access Developers discussion and problem solving' >> Subject: [AccessD] Of possible interest >> >> picked this up from another list /group: >> >> > http://www.zdnet.com/blog/microsoft/microsoft-to-focus-on-html5-and-javascri >> pt-for-office-15-extensions/10266 >> >> Something to think about... >> >> Jim. From accessd at shaw.ca Wed Sep 7 22:22:50 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 7 Sep 2011 20:22:50 -0700 Subject: [AccessD] Wish List. In-Reply-To: <000701cc6dc9$427bde90$c7739bb0$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> Message-ID: <119C27B2D4EF415DBBFB653662F6DFEA@creativesystemdesigns.com> You are right "tab faking" is the best so far. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, September 07, 2011 6:47 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Wish List. Been doing a lot of work with forms. In particular single forms with a lot of controls that are hidden or revealed depending on what options are available. I really wish MS were inspired by Adobe with how form design behaves. Why can't forms be layered? So you can work on individual layers which only have the relevant controls for that layer, but when the form is displayed all layers are shown, just like an image in Photoshop for example. That would be super useful as right now if I want to change anything on first controls I added, I have to move all of the other controls on top out of the way, make the changes, and then put them all back again. A real PITA. Would be wonderful to turn on and off visibility on the layers and then it would be easy to access any set of controls that are just on that layer. I know I can sort of fake this by using tabs, is this a better way or does anyone has a different angle I can consider? Cheers Darryl. Darryl Collins Whittle Consulting Pty Ltd Suite 8, 660 Canterbury Rd Surrey Hills, VIC, 3127 p: +61 3 9898 3242 m: +61 418 381 548 f: +61 3 9898 1855 e: darryl at whittleconsulting.com.au w: www.whittleconsulting.com.au -- 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 Sep 8 01:57:21 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 8 Sep 2011 16:57:21 +1000 Subject: [AccessD] Wish List. In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> Message-ID: <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> Hi Charlotte - forgive me for this as I really respect your opinion, but I am not sure you understand how layers work in other applications - they would never show up all at the same time (unless that is what you wanted). You can control which ones are visible to the user - might be one, might be several in different combinations and you can show and reveal based on what the user needs. Layers would also have the huge advantage of allowing you to edit each layer individually in design mode. So you have no need to move controls out of the way to get to a control that is under another one. Have play in photoshop if you get the chance and you will see how useful this method is. I know I can fake it using a tab form but the result is less elegant you cannot hide the tab label itself and it is a pain to ensure all the controls on each tab is aligned. Blah blah, I have resorted to tabs in the past and it is a clunky solution for what I am trying to do. That said, sometimes tabbed forms are the way to go. Just depends on what you want to achieve. In this instance I was thinking "Man, wish I had a layered design view"... Just my thoughts. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 8 September 2011 12:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. Microsoft addressed this years ago by introducing tab controls. Why on earth would you want to use layers that all showed up at the same time? Logically, layers would only show the controls relevant to that layer/page. Charlotte Foust On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Been doing a lot of work with forms. In particular single forms with a lot > of controls that are hidden or revealed depending on what options are > available. I really wish MS were inspired by Adobe with how form design > behaves. Why can't forms be layered? So you can work on individual layers > which only have the relevant controls for that layer, but when the form is > displayed all layers are shown, just like an image in Photoshop for > example. > > > > That would be super useful as right now if I want to change anything on > first controls I added, I have to move all of the other controls on top out > of the way, make the changes, and then put them all back again. A real > PITA. Would be wonderful to turn on and off visibility on the layers and > then it would be easy to access any set of controls that are just on that > layer. > > > > I know I can sort of fake this by using tabs, is this a better way or does > anyone has a different angle I can consider? > > > > Cheers > > Darryl. > > > > Darryl Collins > > Whittle Consulting Pty Ltd > > Suite 8, 660 Canterbury Rd > > Surrey Hills, VIC, 3127 > > > > p: +61 3 9898 3242 > > m: +61 418 381 548 > > f: +61 3 9898 1855 > > e: > darryl at whittleconsulting.com.au > > w: > > www.whittleconsulting.com.au > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 8 08:12:51 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Thu, 8 Sep 2011 09:12:51 -0400 Subject: [AccessD] Wish List. In-Reply-To: <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> Message-ID: <000d01cc6e29$03d46f30$0b7d4d90$@gmail.com> Hear Hear! Or is it "Here Here!" Either way, I'm with you Darryl. It's amazing what Access developers put up with, and what the user is still willing to pay for (for now). Maybe a way you can handle this is to build several forms with identical controls (or supplemental ones) but a single naming scheme, to depict scenario-based controls in the proper position. The sterile forms just hold controls, no data and no code. The "live" form is the one which keeps all controls, but basically has anything not needed in a "scenario" tucked out of the visible range. Any time a scenario changes, you consult the sterile form, put all the control names and positions and sizes in an array (might not really need the sizes, but might if you had to play with sizes of the live-form's controls in order to "park" them somewhere out of the way etc)... then build a collection of all controls NOT in that array, park them out of the way, then reposition what is left over according to the array of controls you read off the sterile forms. Just an idea ... keeps your options open. Bill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Thursday, September 08, 2011 2:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Wish List. Hi Charlotte - forgive me for this as I really respect your opinion, but I am not sure you understand how layers work in other applications - they would never show up all at the same time (unless that is what you wanted). You can control which ones are visible to the user - might be one, might be several in different combinations and you can show and reveal based on what the user needs. Layers would also have the huge advantage of allowing you to edit each layer individually in design mode. So you have no need to move controls out of the way to get to a control that is under another one. Have play in photoshop if you get the chance and you will see how useful this method is. I know I can fake it using a tab form but the result is less elegant you cannot hide the tab label itself and it is a pain to ensure all the controls on each tab is aligned. Blah blah, I have resorted to tabs in the past and it is a clunky solution for what I am trying to do. That said, sometimes tabbed forms are the way to go. Just depends on what you want to achieve. In this instance I was thinking "Man, wish I had a layered design view"... Just my thoughts. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 8 September 2011 12:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. Microsoft addressed this years ago by introducing tab controls. Why on earth would you want to use layers that all showed up at the same time? Logically, layers would only show the controls relevant to that layer/page. Charlotte Foust On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Been doing a lot of work with forms. In particular single forms with a lot > of controls that are hidden or revealed depending on what options are > available. I really wish MS were inspired by Adobe with how form design > behaves. Why can't forms be layered? So you can work on individual layers > which only have the relevant controls for that layer, but when the form is > displayed all layers are shown, just like an image in Photoshop for > example. > > > > That would be super useful as right now if I want to change anything on > first controls I added, I have to move all of the other controls on top out > of the way, make the changes, and then put them all back again. A real > PITA. Would be wonderful to turn on and off visibility on the layers and > then it would be easy to access any set of controls that are just on that > layer. > > > > I know I can sort of fake this by using tabs, is this a better way or does > anyone has a different angle I can consider? > > > > Cheers > > Darryl. > > > > Darryl Collins > > Whittle Consulting Pty Ltd > > Suite 8, 660 Canterbury Rd > > Surrey Hills, VIC, 3127 > > > > p: +61 3 9898 3242 > > m: +61 418 381 548 > > f: +61 3 9898 1855 > > e: > darryl at whittleconsulting.com.au > > w: > > www.whittleconsulting.com.au > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 rusty.hammond at cpiqpc.com Thu Sep 8 08:45:31 2011 From: rusty.hammond at cpiqpc.com (Rusty Hammond) Date: Thu, 8 Sep 2011 08:45:31 -0500 Subject: [AccessD] Wish List. In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> Message-ID: <49A286ABF515E94A8505CD14DEB721701744A125@CPIEMAIL-EVS1.CPIQPC.NET> Arthur, In design view, on the Formatting toolbar, there is a drop down that lists all of the controls on your form. Pick the control you want and it selects that control on the form. HTH, Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, September 07, 2011 9:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. I've never tried it, but I wonder if you can make the BackColor of a tab control transparent. I recall that in some (maybe all?) versions, you have an option of where to display the tabs themselves; I think it offered Top, Side and None. As long as we're wishing, I wish there were a Go-To-Control command in form design. Sometimes in complex forms with lots of controls, I can't find ctl_xxx no matter how hard I look. Arthur -- 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 Gustav at cactus.dk Thu Sep 8 08:51:45 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 08 Sep 2011 15:51:45 +0200 Subject: [AccessD] Wish List. Message-ID: Hi Darryl Perhaps you could use a paged form. One page for each scenario. Controls needed on more than one page you just duplicate. It's the technique used for wizards in the (old) versions of Access; move Next or Back just moves the form to the next or previous page. Simple and fast. /gustav >>> darryl at whittleconsulting.com.au 08-09-2011 08:57 >>> Hi Charlotte - forgive me for this as I really respect your opinion, but I am not sure you understand how layers work in other applications - they would never show up all at the same time (unless that is what you wanted). You can control which ones are visible to the user - might be one, might be several in different combinations and you can show and reveal based on what the user needs. Layers would also have the huge advantage of allowing you to edit each layer individually in design mode. So you have no need to move controls out of the way to get to a control that is under another one. Have play in photoshop if you get the chance and you will see how useful this method is. I know I can fake it using a tab form but the result is less elegant you cannot hide the tab label itself and it is a pain to ensure all the controls on each tab is aligned. Blah blah, I have resorted to tabs in the past and it is a clunky solution for what I am trying to do. That said, sometimes tabbed forms are the way to go. Just depends on what you want to achieve. In this instance I was thinking "Man, wish I had a layered design view"... Just my thoughts. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 8 September 2011 12:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. Microsoft addressed this years ago by introducing tab controls. Why on earth would you want to use layers that all showed up at the same time? Logically, layers would only show the controls relevant to that layer/page. Charlotte Foust On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Been doing a lot of work with forms. In particular single forms with a lot > of controls that are hidden or revealed depending on what options are > available. I really wish MS were inspired by Adobe with how form design > behaves. Why can't forms be layered? So you can work on individual layers > which only have the relevant controls for that layer, but when the form is > displayed all layers are shown, just like an image in Photoshop for > example. > > That would be super useful as right now if I want to change anything on > first controls I added, I have to move all of the other controls on top out > of the way, make the changes, and then put them all back again. A real > PITA. Would be wonderful to turn on and off visibility on the layers and > then it would be easy to access any set of controls that are just on that > layer. > > I know I can sort of fake this by using tabs, is this a better way or does > anyone has a different angle I can consider? > > Cheers > Darryl. From tinanfields at torchlake.com Thu Sep 8 09:18:30 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 08 Sep 2011 10:18:30 -0400 Subject: [AccessD] How to troubleshoot In-Reply-To: <4E563B61.30005@colbyconsulting.com> References: <4E55B105.8070604@colbyconsulting.com> <4E563B61.30005@colbyconsulting.com> Message-ID: <4E68CEB6.6010802@torchlake.com> Now THAT'S weird! But, I have to admit I've run into similar situations, and I have no clue what's really going on! T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 8/25/2011 8:09 AM, jwcolby wrote: > Rocky, > > In my case I am developing in Access 2003 but running it under 2007 > runtime so that I can distribute it for free. The application ran > everywhere except under runtime. The application was running, even > under runtime, and then something occurred in a version about a month > ago and it stopped running under runtime, returning that error > message. It still ran under the dev environment. Another application > I built was still running under runtime, so it is not the runtime > install. > > I found the latest version that still ran under runtime and started > comparing the startup code. Basically the "bad" version was failing > even before my little security log in form opened. > > There is an Init() function with about 8 functions which init() calls > and I decided to start at the very end and comment out line by line > until the db opened. The very last line in Init() opened the > switchboard. That line cannot even run until the log in occurs, > however when I commented out that last line (open switchboard) the > database opened under runtime and allowed me to log in, although it > didn't open the switchboard after the log in (of course). > > Hmmmm... a line of code not even reached is preventing the database > from even opening. > > I uncommented that line and it still runs under runtime. Hmm.... > > Problem solved, but what was the problem? > > I had done a complete decompile / compile / compact cycle and that did > not solve the problem, but commenting and uncommenting a line that is > not even executed until after log in allows the database to open, let > me log in and open the switchboard. > > John W. Colby > www.ColbyConsulting.com > > On 8/25/2011 12:23 AM, Rocky Smolin wrote: >> Don't know but I'm getting that "has stopped working" in 2003 in both >> Access >> and Outlook (don't use word or excel much but they may have the same >> problem) - Access in mdbs, Outlook when I'm writing an email. Don't >> know >> what to do about it. >> >> Rocky >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: August 24, 2011 7:19 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] How to troubleshoot >> >> Any clue how to troubleshoot "Access has stopped working" in the 2007 >> runtime? I have a version that works just fine, and another app >> works just >> fine but the latest version just immediately closes giving that error >> message. "A problem sending a command to the program". >> >> -- >> John W. Colby >> www.ColbyConsulting.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> From tinanfields at torchlake.com Thu Sep 8 09:38:47 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 08 Sep 2011 10:38:47 -0400 Subject: [AccessD] 12-biggest-pc-duds-ever In-Reply-To: <005101cc6383$88e24ea0$9aa6ebe0$@gmail.com> References: <005101cc6383$88e24ea0$9aa6ebe0$@gmail.com> Message-ID: <4E68D377.6080709@torchlake.com> Fascinating! I bought the Commodore 128 in 1986 and used it for doing things like printing customized airway bills for my customers (at the time I was in outside sales for an international air freight forwarder). I had it and used it when I went back to college in 1988. Learned most of my BASIC programming on that machine. It could be run CPM or something like DOS (not real DOS, but something like it). When I bought my 'luggable' lunch-box-style portable computer (40Mb hard drive, LED screen, 640K RAM), I continued to use the Commodore as my second or stand-by machine. By the time I moved back to my family farm in Michigan (1991), the Commodore was just something I couldn't quite let go of, but never really used - except for the monitor - that was one really nice monitor! T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 8/25/2011 8:03 PM, William Benson (VBACreations.Com) wrote: > Might interest those who did or did not buy one of these... > http://www.pcmag.com/slideshow/story/286031/the-12-biggest-pc-duds-ever/1 > > From marksimms at verizon.net Thu Sep 8 10:51:57 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 08 Sep 2011 11:51:57 -0400 Subject: [AccessD] Of possible interest In-Reply-To: <4470814838CB464C9023DDBC40A42735@creativesystemdesigns.com> References: <7090E912B0544D45A427C7B55D04A980@XPS> <610914D12AB544868F8FF0CBB80BC76B@creativesystemdesigns.com> <4E67B654.2010501@colbyconsulting.com> <4470814838CB464C9023DDBC40A42735@creativesystemdesigns.com> Message-ID: <014b01cc6e3f$3e809170$bb81b450$@net> Webdev has always been a endeavor similar to making sausage. This never seems to change. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Wednesday, September 07, 2011 9:16 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Of possible interest > > According to a computer expert who has been in the business, forever, > similar to us, (but has been extremely successful with third thriving > companies) he said, "A person can only master one or two technologies > and so > other than a working knowledge in a few, don't waste you time." > > I like that concept so just I will just dump the other 35. ;-) > > Jim > > From charlotte.foust at gmail.com Thu Sep 8 10:56:16 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 8 Sep 2011 08:56:16 -0700 Subject: [AccessD] Wish List. In-Reply-To: <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> Message-ID: I do know how they work, but I was confused by what I understood of your description. What you're describing is exactly what tab controls are for, and I've used them that way in both Access and VB.Net. All you need to do with a tab control is select the tab page and that brings the controls on that page up for you to edit. In effect, you see them the way the user does, except for any controls that you make conditionally visible to the user when that page is up. Those, of course, you see in design view all the time. I'm not sure what you mean about not hiding the tab label. If you're talking about the tabs themselves, they can be turned off so that you control the visible page through code. In Access and .Net, I simply have used the top and left settigs to insure that things lined up. How hard is that? As for photoshop, I hate it. It seems to me the ultimate in non-intuitive UIs, but I admit to being a luddite on some issues, especially with respect to graphics. Charlotte Foust On Wed, Sep 7, 2011 at 11:57 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hi Charlotte - forgive me for this as I really respect your opinion, but I > am not sure you understand how layers work in other applications - they > would never show up all at the same time (unless that is what you wanted). > You can control which ones are visible to the user - might be one, might be > several in different combinations and you can show and reveal based on what > the user needs. > > Layers would also have the huge advantage of allowing you to edit each > layer > individually in design mode. So you have no need to move controls out of > the way to get to a control that is under another one. Have play in > photoshop if you get the chance and you will see how useful this method is. > I know I can fake it using a tab form but the result is less elegant you > cannot hide the tab label itself and it is a pain to ensure all the > controls > on each tab is aligned. Blah blah, I have resorted to tabs in the past and > it is a clunky solution for what I am trying to do. > > That said, sometimes tabbed forms are the way to go. Just depends on what > you want to achieve. In this instance I was thinking "Man, wish I had a > layered design view"... > > Just my thoughts. > Cheers > Darryl. > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Thursday, 8 September 2011 12:10 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Wish List. > > Microsoft addressed this years ago by introducing tab controls. Why on > earth would you want to use layers that all showed up at the same time? > Logically, layers would only show the controls relevant to that layer/page. > > Charlotte Foust > On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Been doing a lot of work with forms. In particular single forms with a > lot > > of controls that are hidden or revealed depending on what options are > > available. I really wish MS were inspired by Adobe with how form design > > behaves. Why can't forms be layered? So you can work on individual > layers > > which only have the relevant controls for that layer, but when the form > is > > displayed all layers are shown, just like an image in Photoshop for > > example. > > > > > > > > That would be super useful as right now if I want to change anything on > > first controls I added, I have to move all of the other controls on top > out > > of the way, make the changes, and then put them all back again. A real > > PITA. Would be wonderful to turn on and off visibility on the layers and > > then it would be easy to access any set of controls that are just on that > > layer. > > > > > > > > I know I can sort of fake this by using tabs, is this a better way or > does > > anyone has a different angle I can consider? > > > > > > > > Cheers > > > > Darryl. > > > > > > > > Darryl Collins > > > > Whittle Consulting Pty Ltd > > > > Suite 8, 660 Canterbury Rd > > > > Surrey Hills, VIC, 3127 > > > > > > > > p: +61 3 9898 3242 > > > > m: +61 418 381 548 > > > > f: +61 3 9898 1855 > > > > e: > > darryl at whittleconsulting.com.au > > > > w: > > > > > > www.whittleconsulting.com.au > > > > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From marksimms at verizon.net Thu Sep 8 12:47:27 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 08 Sep 2011 13:47:27 -0400 Subject: [AccessD] Wish List. In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> Message-ID: <018301cc6e4f$60f20fd0$22d62f70$@net> I think there is some confusion here over multipage vs. tab controls. I never really determined how/when to use the latter. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Thursday, September 08, 2011 11:56 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Wish List. > > I do know how they work, but I was confused by what I understood of > your > description. What you're describing is exactly what tab controls are > for, > and I've used them that way in both Access and VB.Net. All you need to > do > with a tab control is select the tab page and that brings the controls > on > that page up for you to edit. In effect, you see them the way the user > does, except for any controls that you make conditionally visible to > the > user when that page is up. Those, of course, you see in design view > all the > time. From charlotte.foust at gmail.com Thu Sep 8 13:13:23 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 8 Sep 2011 11:13:23 -0700 Subject: [AccessD] Wish List. In-Reply-To: <018301cc6e4f$60f20fd0$22d62f70$@net> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> Message-ID: I never do multipage without tab controls, there are just too many drawbacks and problems otherwise. Each tab page contains either controls or subforms, which contain controls. It depends on whether the entire form is bound to one data set or each page draws from different sources. That eliminates the need for a complicated query behind the main form because each subform on whichever tab page has its own data source and is bound to the parent dataset using the master/child links or bound JIT. Alternatively (JIT), unbound subforms are populated from code based on whatever criteria are set at the parent level, but not until the tab page has been selected. On Thu, Sep 8, 2011 at 10:47 AM, Mark Simms wrote: > I think there is some confusion here over multipage vs. tab controls. > I never really determined how/when to use the latter. > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > > bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > > Sent: Thursday, September 08, 2011 11:56 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Wish List. > > > > I do know how they work, but I was confused by what I understood of > > your > > description. What you're describing is exactly what tab controls are > > for, > > and I've used them that way in both Access and VB.Net. All you need to > > do > > with a tab control is select the tab page and that brings the controls > > on > > that page up for you to edit. In effect, you see them the way the user > > does, except for any controls that you make conditionally visible to > > the > > user when that page is up. Those, of course, you see in design view > > all the > > time. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From jwcolby at colbyconsulting.com Thu Sep 8 13:20:48 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 08 Sep 2011 14:20:48 -0400 Subject: [AccessD] Wish List. In-Reply-To: <018301cc6e4f$60f20fd0$22d62f70$@net> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> Message-ID: <4E690780.30904@colbyconsulting.com> I also think there is some confusion about what page means. There is actually a page control which if inserted on a form causes the form to "page down" when the page down control is hit. It is nothing more than a tiny little control that is inserted at some point vertically in the form. I never use it because it feels clunky. What another lister was discussing is dynamically loading forms as the user moves through "pages" of a wizard. that is completely different. In that case all of the controls are literally in a subform which is of course just another form. John W. Colby www.ColbyConsulting.com On 9/8/2011 1:47 PM, Mark Simms wrote: > I think there is some confusion here over multipage vs. tab controls. > I never really determined how/when to use the latter. > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd- >> bounces at databaseadvisors.com] On Behalf Of Charlotte Foust >> Sent: Thursday, September 08, 2011 11:56 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Wish List. >> >> I do know how they work, but I was confused by what I understood of >> your >> description. What you're describing is exactly what tab controls are >> for, >> and I've used them that way in both Access and VB.Net. All you need to >> do >> with a tab control is select the tab page and that brings the controls >> on >> that page up for you to edit. In effect, you see them the way the user >> does, except for any controls that you make conditionally visible to >> the >> user when that page is up. Those, of course, you see in design view >> all the >> time. > > From marksimms at verizon.net Thu Sep 8 14:18:40 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 08 Sep 2011 15:18:40 -0400 Subject: [AccessD] Wish List. In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> Message-ID: <003101cc6e5c$1e87bac0$5b973040$@net> Once again I think confusion abounds: Multipage has tabs with associated pages to allow insertion of other controls, etc. The Tab Control is just this tiny thing that has tabs with no pages. From jimdettman at verizon.net Thu Sep 8 15:10:45 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 08 Sep 2011 16:10:45 -0400 Subject: [AccessD] Wish List. In-Reply-To: <4E690780.30904@colbyconsulting.com> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <4E690780.30904@colbyconsulting.com> Message-ID: <741B2D4E45DD422F9132F66C063664FE@XPS> I used the pages breaks in forms before there was a tab control. I placed page buttons in the group footer along with some hidden controls in each section to jump to a "page". It was extremely fast. The major limitation of course was 22" of space. Tab controls solved that, so there is really no reason to use the page breaks anymore. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, September 08, 2011 02:21 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. I also think there is some confusion about what page means. There is actually a page control which if inserted on a form causes the form to "page down" when the page down control is hit. It is nothing more than a tiny little control that is inserted at some point vertically in the form. I never use it because it feels clunky. What another lister was discussing is dynamically loading forms as the user moves through "pages" of a wizard. that is completely different. In that case all of the controls are literally in a subform which is of course just another form. John W. Colby www.ColbyConsulting.com On 9/8/2011 1:47 PM, Mark Simms wrote: > I think there is some confusion here over multipage vs. tab controls. > I never really determined how/when to use the latter. > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd- >> bounces at databaseadvisors.com] On Behalf Of Charlotte Foust >> Sent: Thursday, September 08, 2011 11:56 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Wish List. >> >> I do know how they work, but I was confused by what I understood of >> your >> description. What you're describing is exactly what tab controls are >> for, >> and I've used them that way in both Access and VB.Net. All you need to >> do >> with a tab control is select the tab page and that brings the controls >> on >> that page up for you to edit. In effect, you see them the way the user >> does, except for any controls that you make conditionally visible to >> the >> user when that page is up. Those, of course, you see in design view >> all the >> time. > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Thu Sep 8 15:34:12 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Thu, 8 Sep 2011 16:34:12 -0400 Subject: [AccessD] Wish List. In-Reply-To: <741B2D4E45DD422F9132F66C063664FE@XPS> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <4E690780.30904@colbyconsulting.com> <741B2D4E45DD422F9132F66C063664FE@XPS> Message-ID: <001501cc6e66$aeed7960$0cc86c20$@gmail.com> Hey - since I just whipped the idea off the top of my head I would love to hear feedback (good or bad - no sense chasing a bad idea either) on the idea I posted back in this thread (multiple forms to help with layout issues). Thx. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, September 08, 2011 4:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Wish List. I used the pages breaks in forms before there was a tab control. I placed page buttons in the group footer along with some hidden controls in each section to jump to a "page". It was extremely fast. The major limitation of course was 22" of space. Tab controls solved that, so there is really no reason to use the page breaks anymore. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, September 08, 2011 02:21 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. I also think there is some confusion about what page means. There is actually a page control which if inserted on a form causes the form to "page down" when the page down control is hit. It is nothing more than a tiny little control that is inserted at some point vertically in the form. I never use it because it feels clunky. What another lister was discussing is dynamically loading forms as the user moves through "pages" of a wizard. that is completely different. In that case all of the controls are literally in a subform which is of course just another form. John W. Colby www.ColbyConsulting.com On 9/8/2011 1:47 PM, Mark Simms wrote: > I think there is some confusion here over multipage vs. tab controls. > I never really determined how/when to use the latter. > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd- >> bounces at databaseadvisors.com] On Behalf Of Charlotte Foust >> Sent: Thursday, September 08, 2011 11:56 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Wish List. >> >> I do know how they work, but I was confused by what I understood of >> your >> description. What you're describing is exactly what tab controls are >> for, >> and I've used them that way in both Access and VB.Net. All you need to >> do >> with a tab control is select the tab page and that brings the controls >> on >> that page up for you to edit. In effect, you see them the way the user >> does, except for any controls that you make conditionally visible to >> the >> user when that page is up. Those, of course, you see in design view >> all the >> time. > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Thu Sep 8 15:48:26 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 8 Sep 2011 13:48:26 -0700 Subject: [AccessD] Wish List. In-Reply-To: <003101cc6e5c$1e87bac0$5b973040$@net> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <003101cc6e5c$1e87bac0$5b973040$@net> Message-ID: I'm not sure which version the multipage control was introduced in (probably 2007), but it serves the same purpose as the tab control was introduced for back in A95 or A97. Tab controls actually do have pages, which you insert much the same way, although they aren't very intuitive either. I don't know why they came up with another control to do the same thing, but such is the world of Microsoft. Charlotte Foust On Thu, Sep 8, 2011 at 12:18 PM, Mark Simms wrote: > Once again I think confusion abounds: > Multipage has tabs with associated pages to allow insertion of other > controls, etc. > The Tab Control is just this tiny thing that has tabs with no pages. > > > -- > 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 Sep 8 18:48:17 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Fri, 9 Sep 2011 09:48:17 +1000 Subject: [AccessD] Wish List. In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <003101cc6e5c$1e87bac0$5b973040$@net> Message-ID: <000001cc6e81$c8c7de00$5a579a00$@com.au> Aaah, thanks everyone for their thoughts and comments. It is entirely possible that I am just doing this the hard way (wouldn't be the first time). Anyway, I will probably end up using tabs like always. I don't like the way you have to leave the label visible at the top of the page though - even if only one tab is displayed. Visually it is not what I want, but I guess its all I have to work with. Anyway, didn't mean to get folks fired up about what is a tab or what is a page. Sometimes I think it would be nice if you could take the best of all the software UI and include it in a single package. Ok: Here is another prime example of poor user functionality - or more like sheer bloody laziness on behalf of MSoft. If I am using Firefox tabs in the browser, right on the *Active* tab there is a little "X" on the RHS of that tab that allows you to close it. Nice and useful, don't have to move the mouse far and it is darn clear which tab you are going to close. In A2007 (which uses a tab setup to display all the open DB objects such as forms, tables, queries etc) the close button is on the extreme RHS of the *Screen* - freakin miles away from where you are actually working. Now I have huge widescreen monitor at work and if I have single tab open there is about 1 foot (say 28 cms) of screen real estate between the active tab I am working on, and the little 'close tab' "x" on the RHS of the screen. Even more annoying is if you have many tabs open, you need to double check the one want to close is indeed the active tab before pressing the "x" - ok there are other ways of closing the tab, such as right mouse click directly on the tab, but why on earth didn't they just put the close "X" on the active tab like everyone else does. Little gripes, I wouldn't mind so much if I didn't have to pay MS so darn much for their software. I don't mind paying, but I expect better functionality and performance than I can get for free from other vendors. Heh, can you tell I need a coffee ;) Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, 9 September 2011 6:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. I'm not sure which version the multipage control was introduced in (probably 2007), but it serves the same purpose as the tab control was introduced for back in A95 or A97. Tab controls actually do have pages, which you insert much the same way, although they aren't very intuitive either. I don't know why they came up with another control to do the same thing, but such is the world of Microsoft. Charlotte Foust On Thu, Sep 8, 2011 at 12:18 PM, Mark Simms wrote: > Once again I think confusion abounds: > Multipage has tabs with associated pages to allow insertion of other > controls, etc. > The Tab Control is just this tiny thing that has tabs with no pages. > From vbacreations at gmail.com Thu Sep 8 18:57:01 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 8 Sep 2011 19:57:01 -0400 Subject: [AccessD] Wish List. In-Reply-To: <000001cc6e81$c8c7de00$5a579a00$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <003101cc6e5c$1e87bac0$5b973040$@net> <000001cc6e81$c8c7de00$5a579a00$@com.au> Message-ID: Or had too much coffee ... On Sep 8, 2011 7:53 PM, "Darryl Collins" wrote: > Aaah, thanks everyone for their thoughts and comments. It is entirely > possible that I am just doing this the hard way (wouldn't be the first > time). Anyway, I will probably end up using tabs like always. > > I don't like the way you have to leave the label visible at the top of the > page though - even if only one tab is displayed. Visually it is not what I > want, but I guess its all I have to work with. > > Anyway, didn't mean to get folks fired up about what is a tab or what is a > page. Sometimes I think it would be nice if you could take the best of all > the software UI and include it in a single package. > > Ok: Here is another prime example of poor user functionality - or more like > sheer bloody laziness on behalf of MSoft. If I am using Firefox tabs in the > browser, right on the *Active* tab there is a little "X" on the RHS of that > tab that allows you to close it. Nice and useful, don't have to move the > mouse far and it is darn clear which tab you are going to close. > > In A2007 (which uses a tab setup to display all the open DB objects such as > forms, tables, queries etc) the close button is on the extreme RHS of the > *Screen* - freakin miles away from where you are actually working. Now I > have huge widescreen monitor at work and if I have single tab open there is > about 1 foot (say 28 cms) of screen real estate between the active tab I am > working on, and the little 'close tab' "x" on the RHS of the screen. Even > more annoying is if you have many tabs open, you need to double check the > one want to close is indeed the active tab before pressing the "x" > > - ok there are other ways of closing the tab, such as right mouse click > directly on the tab, but why on earth didn't they just put the close "X" on > the active tab like everyone else does. > > Little gripes, I wouldn't mind so much if I didn't have to pay MS so darn > much for their software. I don't mind paying, but I expect better > functionality and performance than I can get for free from other vendors. > > Heh, can you tell I need a coffee ;) > > Cheers > Darryl. > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Friday, 9 September 2011 6:48 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Wish List. > > I'm not sure which version the multipage control was introduced in (probably > 2007), but it serves the same purpose as the tab control was introduced for > back in A95 or A97. Tab controls actually do have pages, which you insert > much the same way, although they aren't very intuitive either. I don't know > why they came up with another control to do the same thing, but such is the > world of Microsoft. > > Charlotte Foust > > On Thu, Sep 8, 2011 at 12:18 PM, Mark Simms wrote: > >> Once again I think confusion abounds: >> Multipage has tabs with associated pages to allow insertion of other >> controls, etc. >> The Tab Control is just this tiny thing that has tabs with no pages. >> > > > -- > 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 Sep 8 19:02:07 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Fri, 9 Sep 2011 10:02:07 +1000 Subject: [AccessD] Wish List. In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> Message-ID: <000101cc6e83$b72b2150$258163f0$@com.au> " I'm not sure what you mean about not hiding the tab label." At the top of every tab you have a label (tab) which sticks up above the rest of the form - the bit the user presses to change tabs if more than one tab is visible. The problem is even if only 1 tab is visible you cannot hide this label which stick out above the rest of the form/page. Visually this is not what we want to see. Maybe I am just anal about this sort of thing, but it looks ugly, at least for what I am try to achieve. Don't get me wrong, I am not anti-tabbed forms/pages. I have used the extensively in the past and will do so again. It is just in this one instance using tabs seems (and looks) like a cheap and tacky workaround. Cheers Darryl,. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, 9 September 2011 1:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. I do know how they work, but I was confused by what I understood of your description. What you're describing is exactly what tab controls are for, and I've used them that way in both Access and VB.Net. All you need to do with a tab control is select the tab page and that brings the controls on that page up for you to edit. In effect, you see them the way the user does, except for any controls that you make conditionally visible to the user when that page is up. Those, of course, you see in design view all the time. I'm not sure what you mean about not hiding the tab label. If you're talking about the tabs themselves, they can be turned off so that you control the visible page through code. In Access and .Net, I simply have used the top and left settigs to insure that things lined up. How hard is that? As for photoshop, I hate it. It seems to me the ultimate in non-intuitive UIs, but I admit to being a luddite on some issues, especially with respect to graphics. Charlotte Foust On Wed, Sep 7, 2011 at 11:57 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hi Charlotte - forgive me for this as I really respect your opinion, but I > am not sure you understand how layers work in other applications - they > would never show up all at the same time (unless that is what you wanted). > You can control which ones are visible to the user - might be one, might be > several in different combinations and you can show and reveal based on what > the user needs. > > Layers would also have the huge advantage of allowing you to edit each > layer > individually in design mode. So you have no need to move controls out of > the way to get to a control that is under another one. Have play in > photoshop if you get the chance and you will see how useful this method is. > I know I can fake it using a tab form but the result is less elegant you > cannot hide the tab label itself and it is a pain to ensure all the > controls > on each tab is aligned. Blah blah, I have resorted to tabs in the past and > it is a clunky solution for what I am trying to do. > > That said, sometimes tabbed forms are the way to go. Just depends on what > you want to achieve. In this instance I was thinking "Man, wish I had a > layered design view"... > > Just my thoughts. > Cheers > Darryl. > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Thursday, 8 September 2011 12:10 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Wish List. > > Microsoft addressed this years ago by introducing tab controls. Why on > earth would you want to use layers that all showed up at the same time? > Logically, layers would only show the controls relevant to that layer/page. > > Charlotte Foust > On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Been doing a lot of work with forms. In particular single forms with a > lot > > of controls that are hidden or revealed depending on what options are > > available. I really wish MS were inspired by Adobe with how form design > > behaves. Why can't forms be layered? So you can work on individual > layers > > which only have the relevant controls for that layer, but when the form > is > > displayed all layers are shown, just like an image in Photoshop for > > example. > > > > > > > > That would be super useful as right now if I want to change anything on > > first controls I added, I have to move all of the other controls on top > out > > of the way, make the changes, and then put them all back again. A real > > PITA. Would be wonderful to turn on and off visibility on the layers and > > then it would be easy to access any set of controls that are just on that > > layer. > > > > > > > > I know I can sort of fake this by using tabs, is this a better way or > does > > anyone has a different angle I can consider? > > > > > > > > Cheers > > > > Darryl. > > > > > > > > Darryl Collins > > > > Whittle Consulting Pty Ltd > > > > Suite 8, 660 Canterbury Rd > > > > Surrey Hills, VIC, 3127 > > > > > > > > p: +61 3 9898 3242 > > > > m: +61 418 381 548 > > > > f: +61 3 9898 1855 > > > > e: > > darryl at whittleconsulting.com.au > > > > w: > > > > > > www.whittleconsulting.com.au > > > > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 Thu Sep 8 19:06:39 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 8 Sep 2011 17:06:39 -0700 Subject: [AccessD] Wish List. In-Reply-To: <000001cc6e81$c8c7de00$5a579a00$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <003101cc6e5c$1e87bac0$5b973040$@net> <000001cc6e81$c8c7de00$5a579a00$@com.au> Message-ID: The way we handled the X button issue in VB.Net was to have a close/back/exit button (with caption) in a standard location at the bottom of all forms, along with a menu item at the top to call the same routine. The rule of thumb was to always give the user multiple ways of getting there. Charlotte Foust On Thu, Sep 8, 2011 at 4:48 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Aaah, thanks everyone for their thoughts and comments. It is entirely > possible that I am just doing this the hard way (wouldn't be the first > time). Anyway, I will probably end up using tabs like always. > > I don't like the way you have to leave the label visible at the top of the > page though - even if only one tab is displayed. Visually it is not what I > want, but I guess its all I have to work with. > > Anyway, didn't mean to get folks fired up about what is a tab or what is a > page. Sometimes I think it would be nice if you could take the best of all > the software UI and include it in a single package. > > Ok: Here is another prime example of poor user functionality - or more like > sheer bloody laziness on behalf of MSoft. If I am using Firefox tabs in > the > browser, right on the *Active* tab there is a little "X" on the RHS of that > tab that allows you to close it. Nice and useful, don't have to move the > mouse far and it is darn clear which tab you are going to close. > > In A2007 (which uses a tab setup to display all the open DB objects such as > forms, tables, queries etc) the close button is on the extreme RHS of the > *Screen* - freakin miles away from where you are actually working. Now I > have huge widescreen monitor at work and if I have single tab open there is > about 1 foot (say 28 cms) of screen real estate between the active tab I am > working on, and the little 'close tab' "x" on the RHS of the screen. Even > more annoying is if you have many tabs open, you need to double check the > one want to close is indeed the active tab before pressing the "x" > > - ok there are other ways of closing the tab, such as right mouse click > directly on the tab, but why on earth didn't they just put the close "X" on > the active tab like everyone else does. > > Little gripes, I wouldn't mind so much if I didn't have to pay MS so darn > much for their software. I don't mind paying, but I expect better > functionality and performance than I can get for free from other vendors. > > Heh, can you tell I need a coffee ;) > > Cheers > Darryl. > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Friday, 9 September 2011 6:48 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Wish List. > > I'm not sure which version the multipage control was introduced in > (probably > 2007), but it serves the same purpose as the tab control was introduced for > back in A95 or A97. Tab controls actually do have pages, which you insert > much the same way, although they aren't very intuitive either. I don't > know > why they came up with another control to do the same thing, but such is the > world of Microsoft. > > Charlotte Foust > > On Thu, Sep 8, 2011 at 12:18 PM, Mark Simms wrote: > > > Once again I think confusion abounds: > > Multipage has tabs with associated pages to allow insertion of other > > controls, etc. > > The Tab Control is just this tiny thing that has tabs with no pages. > > > > > -- > 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 Sep 8 19:06:37 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Fri, 9 Sep 2011 10:06:37 +1000 Subject: [AccessD] Wish List. (OT) In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <003101cc6e5c$1e87bac0$5b973040$@net> <000001cc6e81$c8c7de00$5a579a00$@com.au> Message-ID: <000201cc6e84$588ff6b0$09afe410$@com.au> Haha, not a chance. We've run out of milk at work and it is cold and wet outside today. We all want a coffee from the expresso machine, but who is going to crack first and walk in the rain to the shop to get more milk for everyone. .... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Friday, 9 September 2011 9:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. Or had too much coffee ... > Heh, can you tell I need a coffee ;) > > Cheers > Darryl. > From charlotte.foust at gmail.com Thu Sep 8 19:16:53 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 8 Sep 2011 17:16:53 -0700 Subject: [AccessD] Wish List. In-Reply-To: <000101cc6e83$b72b2150$258163f0$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <000101cc6e83$b72b2150$258163f0$@com.au> Message-ID: I didn't realize that's what you were referring to. That's the point of not using tabs or buttons on the tab control but putting the "navigation controls" into a subform on the form header or footer. You're going to have space there regardless if you use buttons or tabs, and it floats to the top so the only way to cover it is with an empty subform. Charlotte Foust On Thu, Sep 8, 2011 at 5:02 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > " I'm not sure what you mean about not hiding the tab label." > > At the top of every tab you have a label (tab) which sticks up above the > rest of the form - the bit the user presses to change tabs if more than one > tab is visible. The problem is even if only 1 tab is visible you cannot > hide this label which stick out above the rest of the form/page. Visually > this is not what we want to see. > > Maybe I am just anal about this sort of thing, but it looks ugly, at least > for what I am try to achieve. > > Don't get me wrong, I am not anti-tabbed forms/pages. I have used the > extensively in the past and will do so again. It is just in this one > instance using tabs seems (and looks) like a cheap and tacky workaround. > > Cheers > Darryl,. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Friday, 9 September 2011 1:56 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Wish List. > > I do know how they work, but I was confused by what I understood of your > description. What you're describing is exactly what tab controls are for, > and I've used them that way in both Access and VB.Net. All you need to do > with a tab control is select the tab page and that brings the controls on > that page up for you to edit. In effect, you see them the way the user > does, except for any controls that you make conditionally visible to the > user when that page is up. Those, of course, you see in design view all > the > time. > > I'm not sure what you mean about not hiding the tab label. If you're > talking about the tabs themselves, they can be turned off so that you > control the visible page through code. In Access and .Net, I simply have > used the top and left settigs to insure that things lined up. How hard is > that? As for photoshop, I hate it. It seems to me the ultimate in > non-intuitive UIs, but I admit to being a luddite on some issues, > especially > with respect to graphics. > > Charlotte Foust > > On Wed, Sep 7, 2011 at 11:57 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Hi Charlotte - forgive me for this as I really respect your opinion, but > I > > am not sure you understand how layers work in other applications - they > > would never show up all at the same time (unless that is what you > wanted). > > You can control which ones are visible to the user - might be one, might > be > > several in different combinations and you can show and reveal based on > what > > the user needs. > > > > Layers would also have the huge advantage of allowing you to edit each > > layer > > individually in design mode. So you have no need to move controls out of > > the way to get to a control that is under another one. Have play in > > photoshop if you get the chance and you will see how useful this method > is. > > I know I can fake it using a tab form but the result is less elegant you > > cannot hide the tab label itself and it is a pain to ensure all the > > controls > > on each tab is aligned. Blah blah, I have resorted to tabs in the past > and > > it is a clunky solution for what I am trying to do. > > > > That said, sometimes tabbed forms are the way to go. Just depends on > what > > you want to achieve. In this instance I was thinking "Man, wish I had a > > layered design view"... > > > > Just my thoughts. > > Cheers > > Darryl. > > > > > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > > Sent: Thursday, 8 September 2011 12:10 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Wish List. > > > > Microsoft addressed this years ago by introducing tab controls. Why on > > earth would you want to use layers that all showed up at the same time? > > Logically, layers would only show the controls relevant to that > layer/page. > > > > Charlotte Foust > > On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < > > darryl at whittleconsulting.com.au> wrote: > > > > > Been doing a lot of work with forms. In particular single forms with a > > lot > > > of controls that are hidden or revealed depending on what options are > > > available. I really wish MS were inspired by Adobe with how form > design > > > behaves. Why can't forms be layered? So you can work on individual > > layers > > > which only have the relevant controls for that layer, but when the form > > is > > > displayed all layers are shown, just like an image in Photoshop for > > > example. > > > > > > > > > > > > That would be super useful as right now if I want to change anything on > > > first controls I added, I have to move all of the other controls on top > > out > > > of the way, make the changes, and then put them all back again. A real > > > PITA. Would be wonderful to turn on and off visibility on the layers > and > > > then it would be easy to access any set of controls that are just on > that > > > layer. > > > > > > > > > > > > I know I can sort of fake this by using tabs, is this a better way or > > does > > > anyone has a different angle I can consider? > > > > > > > > > > > > Cheers > > > > > > Darryl. > > > > > > > > > > > > Darryl Collins > > > > > > Whittle Consulting Pty Ltd > > > > > > Suite 8, 660 Canterbury Rd > > > > > > Surrey Hills, VIC, 3127 > > > > > > > > > > > > p: +61 3 9898 3242 > > > > > > m: +61 418 381 548 > > > > > > f: +61 3 9898 1855 > > > > > > e: > > > darryl at whittleconsulting.com.au > > > > > > w: > > > > > > > > > > > > www.whittleconsulting.com.au > > > > > > > > > > > > > > > > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/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 darryl at whittleconsulting.com.au Thu Sep 8 19:17:09 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Fri, 9 Sep 2011 10:17:09 +1000 Subject: [AccessD] Wish List. In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <003101cc6e5c$1e87bac0$5b973040$@net> <000001cc6e81$c8c7de00$5a579a00$@com.au> Message-ID: <000301cc6e85$d10170a0$730451e0$@com.au> Oh yes, on *my* forms I always do this too. I am talking about MS's own UI in Access design mode which is not customisable by developer. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, 9 September 2011 10:07 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. The way we handled the X button issue in VB.Net was to have a close/back/exit button (with caption) in a standard location at the bottom of all forms, along with a menu item at the top to call the same routine. The rule of thumb was to always give the user multiple ways of getting there. Charlotte Foust On Thu, Sep 8, 2011 at 4:48 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Aaah, thanks everyone for their thoughts and comments. It is entirely > possible that I am just doing this the hard way (wouldn't be the first > time). Anyway, I will probably end up using tabs like always. > > I don't like the way you have to leave the label visible at the top of the > page though - even if only one tab is displayed. Visually it is not what I > want, but I guess its all I have to work with. > > Anyway, didn't mean to get folks fired up about what is a tab or what is a > page. Sometimes I think it would be nice if you could take the best of all > the software UI and include it in a single package. > > Ok: Here is another prime example of poor user functionality - or more like > sheer bloody laziness on behalf of MSoft. If I am using Firefox tabs in > the > browser, right on the *Active* tab there is a little "X" on the RHS of that > tab that allows you to close it. Nice and useful, don't have to move the > mouse far and it is darn clear which tab you are going to close. > > In A2007 (which uses a tab setup to display all the open DB objects such as > forms, tables, queries etc) the close button is on the extreme RHS of the > *Screen* - freakin miles away from where you are actually working. Now I > have huge widescreen monitor at work and if I have single tab open there is > about 1 foot (say 28 cms) of screen real estate between the active tab I am > working on, and the little 'close tab' "x" on the RHS of the screen. Even > more annoying is if you have many tabs open, you need to double check the > one want to close is indeed the active tab before pressing the "x" > > - ok there are other ways of closing the tab, such as right mouse click > directly on the tab, but why on earth didn't they just put the close "X" on > the active tab like everyone else does. > > Little gripes, I wouldn't mind so much if I didn't have to pay MS so darn > much for their software. I don't mind paying, but I expect better > functionality and performance than I can get for free from other vendors. > > Heh, can you tell I need a coffee ;) > > Cheers > Darryl. > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Friday, 9 September 2011 6:48 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Wish List. > > I'm not sure which version the multipage control was introduced in > (probably > 2007), but it serves the same purpose as the tab control was introduced for > back in A95 or A97. Tab controls actually do have pages, which you insert > much the same way, although they aren't very intuitive either. I don't > know > why they came up with another control to do the same thing, but such is the > world of Microsoft. > > Charlotte Foust > > On Thu, Sep 8, 2011 at 12:18 PM, Mark Simms wrote: > > > Once again I think confusion abounds: > > Multipage has tabs with associated pages to allow insertion of other > > controls, etc. > > The Tab Control is just this tiny thing that has tabs with no pages. > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 8 19:27:06 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 09 Sep 2011 10:27:06 +1000 Subject: [AccessD] Wish List. (OT) In-Reply-To: <000201cc6e84$588ff6b0$09afe410$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au>, , <000201cc6e84$588ff6b0$09afe410$@com.au> Message-ID: <4E695D5A.13920.3281CC2D@stuart.lexacorp.com.pg> Milk ruins the taste of decent coffee. Just drink it straight - black and unsweetened :-) -- Stuart On 9 Sep 2011 at 10:06, Darryl Collins wrote: > Haha, not a chance. We've run out of milk at work and it is cold and > wet outside today. We all want a coffee from the expresso machine, > but who is going to crack first and walk in the rain to the shop to > get more milk for everyone. > > .... > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Benson Sent: Friday, 9 September 2011 9:57 AM To: Access Developers > discussion and problem solving Subject: Re: [AccessD] Wish List. > > Or had too much coffee ... > > > > > > > Heh, can you tell I need a coffee ;) > > > > Cheers > > Darryl. > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From df.waters at comcast.net Thu Sep 8 19:58:46 2011 From: df.waters at comcast.net (Dan Waters) Date: Thu, 8 Sep 2011 19:58:46 -0500 Subject: [AccessD] Wish List. In-Reply-To: <000001cc6e81$c8c7de00$5a579a00$@com.au> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <003101cc6e5c$1e87bac0$5b973040$@net> <000001cc6e81$c8c7de00$5a579a00$@com.au> Message-ID: <006201cc6e8b$a17e24d0$e47a6e70$@comcast.net> I haven't completely read each post so maybe this has already been brought up. On your form, create a subform. Now create a form to use in that subform, with all the controls from one of your 'layers'. Then create (start by copying?) all the forms (as layers) that you'll want to use in the subform. In your main form, write code to change the SourceObject property to the name of whichever form you want to display depending on what your user needs to do. You might want to use Application.Echo False/True in code to surround the switch from one form to the other to minimize screen flashing. This separates out each group of controls onto its own easily editable separate form, and gives your user a clean GUI which doesn't have the tabs of a tab control. I have used this and it works fine. You can so the same thing with a subreport control on a report. HTH, Dan From vbacreations at gmail.com Thu Sep 8 20:16:00 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 8 Sep 2011 21:16:00 -0400 Subject: [AccessD] Wish List. In-Reply-To: <006201cc6e8b$a17e24d0$e47a6e70$@comcast.net> References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <003101cc6e5c$1e87bac0$5b973040$@net> <000001cc6e81$c8c7de00$5a579a00$@com.au> <006201cc6e8b$a17e24d0$e47a6e70$@comcast.net> Message-ID: I like that concept. Any downside you're hiding from us? ;) On Sep 8, 2011 9:06 PM, "Dan Waters" wrote: > I haven't completely read each post so maybe this has already been brought > up. > > On your form, create a subform. Now create a form to use in that subform, > with all the controls from one of your 'layers'. Then create (start by > copying?) all the forms (as layers) that you'll want to use in the subform. > In your main form, write code to change the SourceObject property to the > name of whichever form you want to display depending on what your user needs > to do. You might want to use Application.Echo False/True in code to > surround the switch from one form to the other to minimize screen flashing. > > This separates out each group of controls onto its own easily editable > separate form, and gives your user a clean GUI which doesn't have the tabs > of a tab control. I have used this and it works fine. > > You can so the same thing with a subreport control on a report. > > HTH, > Dan > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From vbacreations at gmail.com Thu Sep 8 20:47:46 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 8 Sep 2011 21:47:46 -0400 Subject: [AccessD] String with "#" in VBA? In-Reply-To: References: <4E6697B4.3080601@colbyconsulting.com> <002601cc6cfe$3a74d510$af5e7f30$@com.au> <4E66D3F2.25051.2899085E@stuart.lexacorp.com.pg> <001501cc6d0c$6efc10b0$4cf43210$@gmail.com> <003101cc6d0d$a4552e30$ecff8a90$@com.au> <001601cc6d10$0f115440$2d33fcc0$@gmail.com> Message-ID: It makes much intuitive sense to allow either. Almost hard to see why implement it any other way. On Sep 7, 2011 4:06 PM, "Mark A Matte" wrote: > > I had to think twice... > > Me and SQL spend our days between SQL Server, Access, and Foxpro...last week I was moving some processes from Foxpro to SQL Server and I learned that in Foxpro the HAVING clause will utilize the calculation or the alias... > > just FYI... > > Mark M. > > > >> From: vbacreations at gmail.com >> To: accessd at databaseadvisors.com >> Date: Tue, 6 Sep 2011 23:41:41 -0400 >> Subject: Re: [AccessD] String with "#" in VBA? >> >> No more than anyone else going from the top of their head. To wit, no one >> else pointed out that the Having Clause required the actual computation. >> And, no one pointed out (including me) that most non-calculated constraints >> are put in a WHERE clause, not the Having clause. I would imagine the query >> plan Access builds handles that kind of misappropriation without fuss >> however. Some SQL which I generated using only the Access query designer >> (with unneeded parens removed). >> >> SELECT Max(Tbl_GIB.LASTMODIFIED_DATE) AS MyMaxDate, 1+1 AS SomeCalc >> FROM Tbl_GIB >> WHERE Tbl_GIB.SITE_DB<>'Bill' >> HAVING 1+1=2 And Max(Tbl_GIB.LASTMODIFIED_DATE) < #12/31/2050# >> >> This fails: >> >> SELECT Max(Tbl_GIB.LASTMODIFIED_DATE) AS MyMaxDate, 1+1 AS SomeCalc >> FROM Tbl_GIB >> WHERE Tbl_GIB.SITE_DB<>'Bill' >> HAVING SomeCalc =2 >> >> >> As does this >> >> SELECT Max(Tbl_GIB.LASTMODIFIED_DATE) AS MyMaxDate, 1+1 AS SomeCalc >> FROM Tbl_GIB >> HAVING MyMaxDate < #12/31/2050#; >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins >> Sent: Tuesday, September 06, 2011 11:24 PM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] String with "#" in VBA? >> >> Yes, that syntax would be correct Bill. Man, I made a mess of this one >> didn't I... hmmmmm. >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson >> (VBACreations.Com) >> Sent: Wednesday, 7 September 2011 1:16 PM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] String with "#" in VBA? >> >> I concur with the single-quotes and the comma additions... but I was not >> aware you are allowed to use the result field's name in the HAVING clause, I >> thought you needed to show the function again (see below)? >> >> >> gstrSQL = "" >> gstrSQL = gstrSQL & " SELECT" >> gstrSQL = gstrSQL & " Activity," >> gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF," >> gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" >> gstrSQL = gstrSQL & " FROM ProbC_tblActivities" >> gstrSQL = gstrSQL & " GROUP BY Activity" >> gstrSQL = gstrSQL & " HAVING Activity='#Input'" >> gstrSQL = gstrSQL & " AND SUM(Activity_CF) <> 0" >> >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan >> Sent: Tuesday, September 06, 2011 10:16 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] String with "#" in VBA? >> >> As others have pointed out, the # is not the problem. >> >> #Input is a string inside your SQL which needs to be delimited inside your >> strSQL. >> You are using double quotes as your strSQL building delimiter so the inner >> variable needs to >> be surrounded by single quotes. >> >> Also you are missing a comma after Total_CF >> >> >> >> Try this: >> >> gstrSQL = "SELECT " & _ >> "Activity, " & _ >> "SUM(Activity_CF) AS Total_CF," & _ >> "SUM(Activity_DCF) AS Total_DCF " & _ >> "FROM ProbC_tblActivities " & _ >> "GROUP BY Activity " & _ >> "HAVING Activity='#Input' " & _ >> "AND Total_CF <> 0" & _ >> >> >> >> >> On 7 Sep 2011 at 11:34, Darryl Collins wrote: >> >> > Uh oh... I thought today was going too darn well. >> > >> > I am working with data which has "#" as part of the string which >> > causes the VBA code to fail >> > >> > For Example: >> > >> > gstrSQL = vbNullString >> > gstrSQL = gstrSQL & " SELECT" >> > gstrSQL = gstrSQL & " Activity," >> > gstrSQL = gstrSQL & " SUM(Activity_CF) AS Total_CF" >> > gstrSQL = gstrSQL & " SUM(Activity_DCF) AS Total_DCF" >> > gstrSQL = gstrSQL & " FROM ProbC_tblActivities" >> > gstrSQL = gstrSQL & " GROUP BY Activity" >> > gstrSQL = gstrSQL & " HAVING Activity="#Input" >> > gstrSQL = gstrSQL & " AND Total_CF <> 0" >> > >> > Which sort of makes sense as the # is used in VBA for Conditional >> > Compile. >> > >> > Is there some way I can I get VBA to accept the # as part of the >> > string and not a command? >> > >> > Google has fairly useless when searching for "#" as well. Bah >> > humbubg. >> > >> > Cheers >> > Darryl >> > >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/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 Thu Sep 8 22:13:53 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 8 Sep 2011 20:13:53 -0700 Subject: [AccessD] Wish List. In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <003101cc6e5c$1e87bac0$5b973040$@net> <000001cc6e81$c8c7de00$5a579a00$@com.au> <006201cc6e8b$a17e24d0$e47a6e70$@comcast.net> Message-ID: Yeah, there is, but only if you're using bound subforms. If they're unbound, it isn't a problem! ;-> When using bound subforms, the master/child links have to be cleared and reset, which is a great argument for using unbound subforms. This is essentially what I've done with tab controls, except that with the tab control option, you don't have to clear and reload the subform control each time, which will create a delay, although perhaps not a noticeable one if the subform and its source are straightforward. The tab control only has to load the subform once when you go to a particular tab page. After that, the tab control takes care of hiding and displaying it. And binding isn't a problem. Charlotte Foust On Thu, Sep 8, 2011 at 6:16 PM, William Benson wrote: > I like that concept. Any downside you're hiding from us? > > ;) > On Sep 8, 2011 9:06 PM, "Dan Waters" wrote: > > I haven't completely read each post so maybe this has already been > brought > > up. > > > > On your form, create a subform. Now create a form to use in that subform, > > with all the controls from one of your 'layers'. Then create (start by > > copying?) all the forms (as layers) that you'll want to use in the > subform. > > In your main form, write code to change the SourceObject property to the > > name of whichever form you want to display depending on what your user > needs > > to do. You might want to use Application.Echo False/True in code to > > surround the switch from one form to the other to minimize screen > flashing. > > > > This separates out each group of controls onto its own easily editable > > separate form, and gives your user a clean GUI which doesn't have the > tabs > > of a tab control. I have used this and it works fine. > > > > You can so the same thing with a subreport control on a report. > > > > HTH, > > Dan > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 Sep 9 00:47:34 2011 From: rockysmolin at bchacc.com (rockysmolin at bchacc.com) Date: Thu, 08 Sep 2011 22:47:34 -0700 Subject: [AccessD] Wish List. Message-ID: <20110908224734.86c3debdd1c3983866efe200e2feb95f.d804cf892c.wbe@email18.secureserver.net> Try setting the Style property of the tab control to None. Rocky -------- Original Message -------- Subject: Re: [AccessD] Wish List. From: "Darryl Collins" Date: Thu, September 08, 2011 5:02 pm To: "'Access Developers discussion and problem solving'" " I'm not sure what you mean about not hiding the tab label." At the top of every tab you have a label (tab) which sticks up above the rest of the form - the bit the user presses to change tabs if more than one tab is visible. The problem is even if only 1 tab is visible you cannot hide this label which stick out above the rest of the form/page. Visually this is not what we want to see. Maybe I am just anal about this sort of thing, but it looks ugly, at least for what I am try to achieve. Don't get me wrong, I am not anti-tabbed forms/pages. I have used the extensively in the past and will do so again. It is just in this one instance using tabs seems (and looks) like a cheap and tacky workaround. Cheers Darryl,. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, 9 September 2011 1:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. I do know how they work, but I was confused by what I understood of your description. What you're describing is exactly what tab controls are for, and I've used them that way in both Access and VB.Net. All you need to do with a tab control is select the tab page and that brings the controls on that page up for you to edit. In effect, you see them the way the user does, except for any controls that you make conditionally visible to the user when that page is up. Those, of course, you see in design view all the time. I'm not sure what you mean about not hiding the tab label. If you're talking about the tabs themselves, they can be turned off so that you control the visible page through code. In Access and .Net, I simply have used the top and left settigs to insure that things lined up. How hard is that? As for photoshop, I hate it. It seems to me the ultimate in non-intuitive UIs, but I admit to being a luddite on some issues, especially with respect to graphics. Charlotte Foust On Wed, Sep 7, 2011 at 11:57 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hi Charlotte - forgive me for this as I really respect your opinion, but I > am not sure you understand how layers work in other applications - they > would never show up all at the same time (unless that is what you wanted). > You can control which ones are visible to the user - might be one, might be > several in different combinations and you can show and reveal based on what > the user needs. > > Layers would also have the huge advantage of allowing you to edit each > layer > individually in design mode. So you have no need to move controls out of > the way to get to a control that is under another one. Have play in > photoshop if you get the chance and you will see how useful this method is. > I know I can fake it using a tab form but the result is less elegant you > cannot hide the tab label itself and it is a pain to ensure all the > controls > on each tab is aligned. Blah blah, I have resorted to tabs in the past and > it is a clunky solution for what I am trying to do. > > That said, sometimes tabbed forms are the way to go. Just depends on what > you want to achieve. In this instance I was thinking "Man, wish I had a > layered design view"... > > Just my thoughts. > Cheers > Darryl. > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Thursday, 8 September 2011 12:10 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Wish List. > > Microsoft addressed this years ago by introducing tab controls. Why on > earth would you want to use layers that all showed up at the same time? > Logically, layers would only show the controls relevant to that layer/page. > > Charlotte Foust > On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Been doing a lot of work with forms. In particular single forms with a > lot > > of controls that are hidden or revealed depending on what options are > > available. I really wish MS were inspired by Adobe with how form design > > behaves. Why can't forms be layered? So you can work on individual > layers > > which only have the relevant controls for that layer, but when the form > is > > displayed all layers are shown, just like an image in Photoshop for > > example. > > > > > > > > That would be super useful as right now if I want to change anything on > > first controls I added, I have to move all of the other controls on top > out > > of the way, make the changes, and then put them all back again. A real > > PITA. Would be wonderful to turn on and off visibility on the layers and > > then it would be easy to access any set of controls that are just on that > > layer. > > > > > > > > I know I can sort of fake this by using tabs, is this a better way or > does > > anyone has a different angle I can consider? > > > > > > > > Cheers > > > > Darryl. > > > > > > > > Darryl Collins > > > > Whittle Consulting Pty Ltd > > > > Suite 8, 660 Canterbury Rd > > > > Surrey Hills, VIC, 3127 > > > > > > > > p: +61 3 9898 3242 > > > > m: +61 418 381 548 > > > > f: +61 3 9898 1855 > > > > e: > > darryl at whittleconsulting.com.au > > > > w: > > > > > > www.whittleconsulting.com.au > > > > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 darryl at whittleconsulting.com.au Fri Sep 9 01:32:31 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Fri, 9 Sep 2011 16:32:31 +1000 Subject: [AccessD] Wish List. In-Reply-To: <20110908224734.86c3debdd1c3983866efe200e2feb95f.d804cf892c.wbe@email18.secureserver.net> References: <20110908224734.86c3debdd1c3983866efe200e2feb95f.d804cf892c.wbe@email18.secureserver.net> Message-ID: <000701cc6eba$4488cc10$cd9a6430$@com.au> Thanks Rocky, I will give that a go and see how it turns out. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rockysmolin at bchacc.com Sent: Friday, 9 September 2011 3:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. Try setting the Style property of the tab control to None. Rocky -------- Original Message -------- Subject: Re: [AccessD] Wish List. From: "Darryl Collins" Date: Thu, September 08, 2011 5:02 pm To: "'Access Developers discussion and problem solving'" " I'm not sure what you mean about not hiding the tab label." At the top of every tab you have a label (tab) which sticks up above the rest of the form - the bit the user presses to change tabs if more than one tab is visible. The problem is even if only 1 tab is visible you cannot hide this label which stick out above the rest of the form/page. Visually this is not what we want to see. Maybe I am just anal about this sort of thing, but it looks ugly, at least for what I am try to achieve. Don't get me wrong, I am not anti-tabbed forms/pages. I have used the extensively in the past and will do so again. It is just in this one instance using tabs seems (and looks) like a cheap and tacky workaround. Cheers Darryl,. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, 9 September 2011 1:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. I do know how they work, but I was confused by what I understood of your description. What you're describing is exactly what tab controls are for, and I've used them that way in both Access and VB.Net. All you need to do with a tab control is select the tab page and that brings the controls on that page up for you to edit. In effect, you see them the way the user does, except for any controls that you make conditionally visible to the user when that page is up. Those, of course, you see in design view all the time. I'm not sure what you mean about not hiding the tab label. If you're talking about the tabs themselves, they can be turned off so that you control the visible page through code. In Access and .Net, I simply have used the top and left settigs to insure that things lined up. How hard is that? As for photoshop, I hate it. It seems to me the ultimate in non-intuitive UIs, but I admit to being a luddite on some issues, especially with respect to graphics. Charlotte Foust On Wed, Sep 7, 2011 at 11:57 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hi Charlotte - forgive me for this as I really respect your opinion, but I > am not sure you understand how layers work in other applications - they > would never show up all at the same time (unless that is what you wanted). > You can control which ones are visible to the user - might be one, might be > several in different combinations and you can show and reveal based on what > the user needs. > > Layers would also have the huge advantage of allowing you to edit each > layer > individually in design mode. So you have no need to move controls out of > the way to get to a control that is under another one. Have play in > photoshop if you get the chance and you will see how useful this method is. > I know I can fake it using a tab form but the result is less elegant you > cannot hide the tab label itself and it is a pain to ensure all the > controls > on each tab is aligned. Blah blah, I have resorted to tabs in the past and > it is a clunky solution for what I am trying to do. > > That said, sometimes tabbed forms are the way to go. Just depends on what > you want to achieve. In this instance I was thinking "Man, wish I had a > layered design view"... > > Just my thoughts. > Cheers > Darryl. > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Thursday, 8 September 2011 12:10 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Wish List. > > Microsoft addressed this years ago by introducing tab controls. Why on > earth would you want to use layers that all showed up at the same time? > Logically, layers would only show the controls relevant to that layer/page. > > Charlotte Foust > On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Been doing a lot of work with forms. In particular single forms with a > lot > > of controls that are hidden or revealed depending on what options are > > available. I really wish MS were inspired by Adobe with how form design > > behaves. Why can't forms be layered? So you can work on individual > layers > > which only have the relevant controls for that layer, but when the form > is > > displayed all layers are shown, just like an image in Photoshop for > > example. > > > > > > > > That would be super useful as right now if I want to change anything on > > first controls I added, I have to move all of the other controls on top > out > > of the way, make the changes, and then put them all back again. A real > > PITA. Would be wonderful to turn on and off visibility on the layers and > > then it would be easy to access any set of controls that are just on that > > layer. > > > > > > > > I know I can sort of fake this by using tabs, is this a better way or > does > > anyone has a different angle I can consider? > > > > > > > > Cheers > > > > Darryl. > > > > > > > > Darryl Collins > > > > Whittle Consulting Pty Ltd > > > > Suite 8, 660 Canterbury Rd > > > > Surrey Hills, VIC, 3127 > > > > > > > > p: +61 3 9898 3242 > > > > m: +61 418 381 548 > > > > f: +61 3 9898 1855 > > > > e: > > darryl at whittleconsulting.com.au > > > > w: > > > > > > www.whittleconsulting.com.au > > > > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 stuart at lexacorp.com.pg Fri Sep 9 02:54:18 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 09 Sep 2011 17:54:18 +1000 Subject: [AccessD] Wish List. In-Reply-To: <20110908224734.86c3debdd1c3983866efe200e2feb95f.d804cf892c.wbe@email18.secureserver.net> References: <20110908224734.86c3debdd1c3983866efe200e2feb95f.d804cf892c.wbe@email18.secureserver.net> Message-ID: <4E69C62A.28927.341B36BA@stuart.lexacorp.com.pg> It's true what they say - you live and learn. I've been using tabs for umpteen years and I wasn't aware of that trick. Neat! -- Stuart On 8 Sep 2011 at 22:47, rockysmolin at bchacc.com wrote: > Try setting the Style property of the tab control to None. > > Rocky > > > > -------- Original Message -------- > Subject: Re: [AccessD] Wish List. > From: "Darryl Collins" > Date: Thu, September 08, 2011 5:02 pm > To: "'Access Developers discussion and problem solving'" > > > " I'm not sure what you mean about not hiding the tab label." > > At the top of every tab you have a label (tab) which sticks up above > the rest of the form - the bit the user presses to change tabs if more > than one tab is visible. The problem is even if only 1 tab is visible > you cannot hide this label which stick out above the rest of the > form/page. Visually this is not what we want to see. > > Maybe I am just anal about this sort of thing, but it looks ugly, at > least for what I am try to achieve. > > Don't get me wrong, I am not anti-tabbed forms/pages. I have used the > extensively in the past and will do so again. It is just in this one > instance using tabs seems (and looks) like a cheap and tacky > workaround. > > Cheers > Darryl,. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust Sent: Friday, 9 September 2011 1:56 AM To: Access Developers > discussion and problem solving Subject: Re: [AccessD] Wish List. > > I do know how they work, but I was confused by what I understood of > your description. What you're describing is exactly what tab controls > are for, and I've used them that way in both Access and VB.Net. All > you need to do with a tab control is select the tab page and that > brings the controls on that page up for you to edit. In effect, you > see them the way the user does, except for any controls that you make > conditionally visible to the user when that page is up. Those, of > course, you see in design view all the time. > > I'm not sure what you mean about not hiding the tab label. If you're > talking about the tabs themselves, they can be turned off so that you > control the visible page through code. In Access and .Net, I simply > have used the top and left settigs to insure that things lined up. How > hard is that? As for photoshop, I hate it. It seems to me the ultimate > in non-intuitive UIs, but I admit to being a luddite on some issues, > especially with respect to graphics. > > Charlotte Foust > > On Wed, Sep 7, 2011 at 11:57 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Hi Charlotte - forgive me for this as I really respect your opinion, > > but I am not sure you understand how layers work in other > > applications - they would never show up all at the same time (unless > > that is what you wanted). You can control which ones are visible to > > the user - might be one, might > be > > several in different combinations and you can show and reveal based > > on > what > > the user needs. > > > > Layers would also have the huge advantage of allowing you to edit > > each layer individually in design mode. So you have no need to move > > controls out of the way to get to a control that is under another > > one. Have play in photoshop if you get the chance and you will see > > how useful this method > is. > > I know I can fake it using a tab form but the result is less elegant > > you cannot hide the tab label itself and it is a pain to ensure all > > the controls on each tab is aligned. Blah blah, I have resorted to > > tabs in the past > and > > it is a clunky solution for what I am trying to do. > > > > That said, sometimes tabbed forms are the way to go. Just depends on > > what you want to achieve. In this instance I was thinking "Man, wish > > I had a layered design view"... > > > > Just my thoughts. > > Cheers > > Darryl. > > > > > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > > Foust Sent: Thursday, 8 September 2011 12:10 PM To: Access > > Developers discussion and problem solving Subject: Re: [AccessD] > > Wish List. > > > > Microsoft addressed this years ago by introducing tab controls. Why > > on earth would you want to use layers that all showed up at the same > > time? Logically, layers would only show the controls relevant to > > that > layer/page. > > > > Charlotte Foust > > On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < > > darryl at whittleconsulting.com.au> wrote: > > > > > Been doing a lot of work with forms. In particular single forms > > > with a > > lot > > > of controls that are hidden or revealed depending on what options > > > are available. I really wish MS were inspired by Adobe with how > > > form design behaves. Why can't forms be layered? So you can work > > > on individual > > layers > > > which only have the relevant controls for that layer, but when the > > > form > > is > > > displayed all layers are shown, just like an image in Photoshop > > > for example. > > > > > > > > > > > > That would be super useful as right now if I want to change > > > anything on first controls I added, I have to move all of the > > > other controls on top > > out > > > of the way, make the changes, and then put them all back again. A > > > real PITA. Would be wonderful to turn on and off visibility on the > > > layers > and > > > then it would be easy to access any set of controls that are just > > > on > that > > > layer. > > > > > > > > > > > > I know I can sort of fake this by using tabs, is this a better way > > > or > > does > > > anyone has a different angle I can consider? > > > > > > > > > > > > Cheers > > > > > > Darryl. > > > > > > > > > > > > Darryl Collins > > > > > > Whittle Consulting Pty Ltd > > > > > > Suite 8, 660 Canterbury Rd > > > > > > Surrey Hills, VIC, 3127 > > > > > > > > > > > > p: +61 3 9898 3242 > > > > > > m: +61 418 381 548 > > > > > > f: +61 3 9898 1855 > > > > > > e: > > > darryl at whittleconsulting.com.au > > > > > > w: > > > > > > > > > > www.whittleconsulting.com.au > > > > > > > > > > > > > > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/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 jwcolby at colbyconsulting.com Fri Sep 9 06:52:56 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 09 Sep 2011 07:52:56 -0400 Subject: [AccessD] Access versioning / tracking changes Message-ID: <4E69FE18.6090404@colbyconsulting.com> I use a somewhat simple two table change request database for tracking changes to my Access projects. I have to admit I find it problematic to track changes to a level that allows backing out any specific change while leaving the rest. This has resulted in "rolling back" to a specific level when a problem comes up. And yes they do test but things do happen. I have a CR table where the client places their change requests with explanatory text. It has the typical requested date / requesting person / date to test / date tested etc. A child table holds what I do with explanatory text and a test regimen to test that it work, a text for what they found in test (if problems). I can add another record as a response to that testing problem etc. The problem I run into is that any significant change may involve a change to N queries, additional fields or entire tables, code modules and so forth. A change may be trivial or it may be an entire subsystem. I have never found a way to really document in sufficient detail what I did to implement the change that would allow me to back out just that change, at least of the change is very complex. If I get two or three changes in and then one four changes back is found to be a problem such that they want to roll it back, I often times cant. If we roll back all the changes since (go back to a previous version) then we lose all of the actual work done since. I have never worked in a large design team and witnessed how this is generally done. I am wondering how you guys handle this stuff. Any words of wisdom? Tools? tips? Can we have a discussion on this? -- John W. Colby www.ColbyConsulting.com From jimdettman at verizon.net Fri Sep 9 07:36:45 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 09 Sep 2011 08:36:45 -0400 Subject: [AccessD] Wish List. In-Reply-To: <4E69C62A.28927.341B36BA@stuart.lexacorp.com.pg> References: <20110908224734.86c3debdd1c3983866efe200e2feb95f.d804cf892c.wbe@email18.secureserver.net> <4E69C62A.28927.341B36BA@stuart.lexacorp.com.pg> Message-ID: <2867DF3470B048B7AFF8A1D847B31938@XPS> It's an excellent way to do the "Wizard" paging thing (one tab page for each wizard page). Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Friday, September 09, 2011 03:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. It's true what they say - you live and learn. I've been using tabs for umpteen years and I wasn't aware of that trick. Neat! -- Stuart On 8 Sep 2011 at 22:47, rockysmolin at bchacc.com wrote: > Try setting the Style property of the tab control to None. > > Rocky > > > > -------- Original Message -------- > Subject: Re: [AccessD] Wish List. > From: "Darryl Collins" > Date: Thu, September 08, 2011 5:02 pm > To: "'Access Developers discussion and problem solving'" > > > " I'm not sure what you mean about not hiding the tab label." > > At the top of every tab you have a label (tab) which sticks up above > the rest of the form - the bit the user presses to change tabs if more > than one tab is visible. The problem is even if only 1 tab is visible > you cannot hide this label which stick out above the rest of the > form/page. Visually this is not what we want to see. > > Maybe I am just anal about this sort of thing, but it looks ugly, at > least for what I am try to achieve. > > Don't get me wrong, I am not anti-tabbed forms/pages. I have used the > extensively in the past and will do so again. It is just in this one > instance using tabs seems (and looks) like a cheap and tacky > workaround. > > Cheers > Darryl,. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust Sent: Friday, 9 September 2011 1:56 AM To: Access Developers > discussion and problem solving Subject: Re: [AccessD] Wish List. > > I do know how they work, but I was confused by what I understood of > your description. What you're describing is exactly what tab controls > are for, and I've used them that way in both Access and VB.Net. All > you need to do with a tab control is select the tab page and that > brings the controls on that page up for you to edit. In effect, you > see them the way the user does, except for any controls that you make > conditionally visible to the user when that page is up. Those, of > course, you see in design view all the time. > > I'm not sure what you mean about not hiding the tab label. If you're > talking about the tabs themselves, they can be turned off so that you > control the visible page through code. In Access and .Net, I simply > have used the top and left settigs to insure that things lined up. How > hard is that? As for photoshop, I hate it. It seems to me the ultimate > in non-intuitive UIs, but I admit to being a luddite on some issues, > especially with respect to graphics. > > Charlotte Foust > > On Wed, Sep 7, 2011 at 11:57 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Hi Charlotte - forgive me for this as I really respect your opinion, > > but I am not sure you understand how layers work in other > > applications - they would never show up all at the same time (unless > > that is what you wanted). You can control which ones are visible to > > the user - might be one, might > be > > several in different combinations and you can show and reveal based > > on > what > > the user needs. > > > > Layers would also have the huge advantage of allowing you to edit > > each layer individually in design mode. So you have no need to move > > controls out of the way to get to a control that is under another > > one. Have play in photoshop if you get the chance and you will see > > how useful this method > is. > > I know I can fake it using a tab form but the result is less elegant > > you cannot hide the tab label itself and it is a pain to ensure all > > the controls on each tab is aligned. Blah blah, I have resorted to > > tabs in the past > and > > it is a clunky solution for what I am trying to do. > > > > That said, sometimes tabbed forms are the way to go. Just depends on > > what you want to achieve. In this instance I was thinking "Man, wish > > I had a layered design view"... > > > > Just my thoughts. > > Cheers > > Darryl. > > > > > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > > Foust Sent: Thursday, 8 September 2011 12:10 PM To: Access > > Developers discussion and problem solving Subject: Re: [AccessD] > > Wish List. > > > > Microsoft addressed this years ago by introducing tab controls. Why > > on earth would you want to use layers that all showed up at the same > > time? Logically, layers would only show the controls relevant to > > that > layer/page. > > > > Charlotte Foust > > On Wed, Sep 7, 2011 at 6:47 PM, Darryl Collins < > > darryl at whittleconsulting.com.au> wrote: > > > > > Been doing a lot of work with forms. In particular single forms > > > with a > > lot > > > of controls that are hidden or revealed depending on what options > > > are available. I really wish MS were inspired by Adobe with how > > > form design behaves. Why can't forms be layered? So you can work > > > on individual > > layers > > > which only have the relevant controls for that layer, but when the > > > form > > is > > > displayed all layers are shown, just like an image in Photoshop > > > for example. > > > > > > > > > > > > That would be super useful as right now if I want to change > > > anything on first controls I added, I have to move all of the > > > other controls on top > > out > > > of the way, make the changes, and then put them all back again. A > > > real PITA. Would be wonderful to turn on and off visibility on the > > > layers > and > > > then it would be easy to access any set of controls that are just > > > on > that > > > layer. > > > > > > > > > > > > I know I can sort of fake this by using tabs, is this a better way > > > or > > does > > > anyone has a different angle I can consider? > > > > > > > > > > > > Cheers > > > > > > Darryl. > > > > > > > > > > > > Darryl Collins > > > > > > Whittle Consulting Pty Ltd > > > > > > Suite 8, 660 Canterbury Rd > > > > > > Surrey Hills, VIC, 3127 > > > > > > > > > > > > p: +61 3 9898 3242 > > > > > > m: +61 418 381 548 > > > > > > f: +61 3 9898 1855 > > > > > > e: > > > darryl at whittleconsulting.com.au > > > > > > w: > > > > > > > > > > www.whittleconsulting.com.au > > > > > > > > > > > > > > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/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 > -- 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 Sep 9 07:56:02 2011 From: df.waters at comcast.net (Dan Waters) Date: Fri, 9 Sep 2011 07:56:02 -0500 Subject: [AccessD] Access versioning / tracking changes In-Reply-To: <4E69FE18.6090404@colbyconsulting.com> References: <4E69FE18.6090404@colbyconsulting.com> Message-ID: <001b01cc6eef$d4ce49f0$7e6addd0$@comcast.net> Hi John, I'm impressed that you do track changes to this extent. I don't - my method is just fix as needed when needed. One thing you might look at: FMS has a tool called Access Detective. It's used to tell you the differences between any two mdb files. If you keep a copy of each released version, you'd be able to compare, in detail, your current system with any previous released version. Long ago I had a copy of Detective, but that was before I understood the process of developing! HTH, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, September 09, 2011 6:53 AM To: Access Developers discussion and problem solving Subject: [AccessD] Access versioning / tracking changes I use a somewhat simple two table change request database for tracking changes to my Access projects. I have to admit I find it problematic to track changes to a level that allows backing out any specific change while leaving the rest. This has resulted in "rolling back" to a specific level when a problem comes up. And yes they do test but things do happen. I have a CR table where the client places their change requests with explanatory text. It has the typical requested date / requesting person / date to test / date tested etc. A child table holds what I do with explanatory text and a test regimen to test that it work, a text for what they found in test (if problems). I can add another record as a response to that testing problem etc. The problem I run into is that any significant change may involve a change to N queries, additional fields or entire tables, code modules and so forth. A change may be trivial or it may be an entire subsystem. I have never found a way to really document in sufficient detail what I did to implement the change that would allow me to back out just that change, at least of the change is very complex. If I get two or three changes in and then one four changes back is found to be a problem such that they want to roll it back, I often times cant. If we roll back all the changes since (go back to a previous version) then we lose all of the actual work done since. I have never worked in a large design team and witnessed how this is generally done. I am wondering how you guys handle this stuff. Any words of wisdom? Tools? tips? Can we have a discussion on this? -- John W. Colby www.ColbyConsulting.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 Fri Sep 9 07:59:51 2011 From: df.waters at comcast.net (Dan Waters) Date: Fri, 9 Sep 2011 07:59:51 -0500 Subject: [AccessD] Wish List. In-Reply-To: References: <000701cc6dc9$427bde90$c7739bb0$@com.au> <001501cc6df4$8f0fffe0$ad2fffa0$@com.au> <018301cc6e4f$60f20fd0$22d62f70$@net> <003101cc6e5c$1e87bac0$5b973040$@net> <000001cc6e81$c8c7de00$5a579a00$@com.au> <006201cc6e8b$a17e24d0$e47a6e70$@comcast.net> Message-ID: <001f01cc6ef0$5d4c0010$17e40030$@comcast.net> Not true! Since you're already setting the Sourceobject of the subform by code, you can do the same with the master/child link properties. When I did this, the master/child were the same anyway, which I'd guess in Darryl's case would also be true. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, September 08, 2011 10:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wish List. Yeah, there is, but only if you're using bound subforms. If they're unbound, it isn't a problem! ;-> When using bound subforms, the master/child links have to be cleared and reset, which is a great argument for using unbound subforms. This is essentially what I've done with tab controls, except that with the tab control option, you don't have to clear and reload the subform control each time, which will create a delay, although perhaps not a noticeable one if the subform and its source are straightforward. The tab control only has to load the subform once when you go to a particular tab page. After that, the tab control takes care of hiding and displaying it. And binding isn't a problem. Charlotte Foust On Thu, Sep 8, 2011 at 6:16 PM, William Benson wrote: > I like that concept. Any downside you're hiding from us? > > ;) > On Sep 8, 2011 9:06 PM, "Dan Waters" wrote: > > I haven't completely read each post so maybe this has already been > brought > > up. > > > > On your form, create a subform. Now create a form to use in that > > subform, with all the controls from one of your 'layers'. Then > > create (start by > > copying?) all the forms (as layers) that you'll want to use in the > subform. > > In your main form, write code to change the SourceObject property to > > the name of whichever form you want to display depending on what > > your user > needs > > to do. You might want to use Application.Echo False/True in code to > > surround the switch from one form to the other to minimize screen > flashing. > > > > This separates out each group of controls onto its own easily > > editable separate form, and gives your user a clean GUI which > > doesn't have the > tabs > > of a tab control. I have used this and it works fine. > > > > You can so the same thing with a subreport control on a report. > > > > HTH, > > Dan > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Fri Sep 9 09:59:48 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 9 Sep 2011 07:59:48 -0700 Subject: [AccessD] Access versioning / tracking changes In-Reply-To: <4E69FE18.6090404@colbyconsulting.com> References: <4E69FE18.6090404@colbyconsulting.com> Message-ID: John, The way to do this is with version control software, i.e., SourceSafe, SourceGear Vault, etc. There are Access add-ins that allow you to use the version control software in a comparable manner to other languages, that is, at the granularity of inidividual containers within the project. You would need to look at what's out there, and the software isn't cheap, but there's a good reason for that. Of the two I've worked with (those above), Vault gives far greater control, but I admit I never worked with it in Access, only VB.Net. Charlotte Foust On Fri, Sep 9, 2011 at 4:52 AM, jwcolby wrote: > I use a somewhat simple two table change request database for tracking > changes to my Access projects. I have to admit I find it problematic to > track changes to a level that allows backing out any specific change while > leaving the rest. This has resulted in "rolling back" to a specific level > when a problem comes up. And yes they do test but things do happen. > > I have a CR table where the client places their change requests with > explanatory text. It has the typical requested date / requesting person / > date to test / date tested etc. A child table holds what I do with > explanatory text and a test regimen to test that it work, a text for what > they found in test (if problems). I can add another record as a response to > that testing problem etc. > > The problem I run into is that any significant change may involve a change > to N queries, additional fields or entire tables, code modules and so forth. > A change may be trivial or it may be an entire subsystem. I have never > found a way to really document in sufficient detail what I did to implement > the change that would allow me to back out just that change, at least of the > change is very complex. > > If I get two or three changes in and then one four changes back is found to > be a problem such that they want to roll it back, I often times cant. If we > roll back all the changes since (go back to a previous version) then we lose > all of the actual work done since. > > I have never worked in a large design team and witnessed how this is > generally done. I am wondering how you guys handle this stuff. Any words > of wisdom? Tools? tips? > > Can we have a discussion on this? > > -- > John W. Colby > www.ColbyConsulting.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From tinanfields at torchlake.com Fri Sep 9 09:07:18 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 09 Sep 2011 10:07:18 -0400 Subject: [AccessD] Access versioning / tracking changes In-Reply-To: <4E69FE18.6090404@colbyconsulting.com> References: <4E69FE18.6090404@colbyconsulting.com> Message-ID: <4E6A1D96.9080808@torchlake.com> John, I like your idea of using a database to track changes. I think I'll adopt it. I use a running notes document with dated entries. Each entry explains what I did and why, including things like working out the logic to do a certain new thing my client wants. At the end of every entry I have a list of the new items created and the existing items modified. The details of all those things are in the narrative of the entry. It can be tedious to go through, but it beats the heck out of having no idea how I got where I am at present. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 9/9/2011 7:52 AM, jwcolby wrote: > I use a somewhat simple two table change request database for tracking > changes to my Access projects. I have to admit I find it problematic > to track changes to a level that allows backing out any specific > change while leaving the rest. This has resulted in "rolling back" to > a specific level when a problem comes up. And yes they do test but > things do happen. > > I have a CR table where the client places their change requests with > explanatory text. It has the typical requested date / requesting > person / date to test / date tested etc. A child table holds what I > do with explanatory text and a test regimen to test that it work, a > text for what they found in test (if problems). I can add another > record as a response to that testing problem etc. > > The problem I run into is that any significant change may involve a > change to N queries, additional fields or entire tables, code modules > and so forth. A change may be trivial or it may be an entire > subsystem. I have never found a way to really document in sufficient > detail what I did to implement the change that would allow me to back > out just that change, at least of the change is very complex. > > If I get two or three changes in and then one four changes back is > found to be a problem such that they want to roll it back, I often > times cant. If we roll back all the changes since (go back to a > previous version) then we lose all of the actual work done since. > > I have never worked in a large design team and witnessed how this is > generally done. I am wondering how you guys handle this stuff. Any > words of wisdom? Tools? tips? > > Can we have a discussion on this? > From jwcolby at colbyconsulting.com Fri Sep 9 11:37:12 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 09 Sep 2011 12:37:12 -0400 Subject: [AccessD] Access versioning / tracking changes In-Reply-To: References: <4E69FE18.6090404@colbyconsulting.com> Message-ID: <4E6A40B8.3030509@colbyconsulting.com> Charlotte, I do version control in my C# code, at least I check stuff in etc. I really just use it for the code repository, not really for versioning. One problem I have is that I am solo. I do not the training to actually use a VCS to create and release versions, mark changes as verson XYZ etc. I use SVN and we check in changes, all that stuff. But how is that used to roll back a specific change? I dunno. If I understood that I might have the impetus to get Access working with that but if all I am going to do is check it in it seems less than useful. In the case of my C# stuff it is still useful because we can be working on things locally and only check in when it is tested etc. I.e. I can use an older version until the latest changes seem to be working. Even so it would be nice to say I want to roll back just change xyz. John W. Colby www.ColbyConsulting.com On 9/9/2011 10:59 AM, Charlotte Foust wrote: > John, > > The way to do this is with version control software, i.e., SourceSafe, > SourceGear Vault, etc. There are Access add-ins that allow you to use the > version control software in a comparable manner to other languages, that is, > at the granularity of inidividual containers within the project. You would > need to look at what's out there, and the software isn't cheap, but there's > a good reason for that. Of the two I've worked with (those above), Vault > gives far greater control, but I admit I never worked with it in Access, > only VB.Net. > > Charlotte Foust > > On Fri, Sep 9, 2011 at 4:52 AM, jwcolby wrote: > >> I use a somewhat simple two table change request database for tracking >> changes to my Access projects. I have to admit I find it problematic to >> track changes to a level that allows backing out any specific change while >> leaving the rest. This has resulted in "rolling back" to a specific level >> when a problem comes up. And yes they do test but things do happen. >> >> I have a CR table where the client places their change requests with >> explanatory text. It has the typical requested date / requesting person / >> date to test / date tested etc. A child table holds what I do with >> explanatory text and a test regimen to test that it work, a text for what >> they found in test (if problems). I can add another record as a response to >> that testing problem etc. >> >> The problem I run into is that any significant change may involve a change >> to N queries, additional fields or entire tables, code modules and so forth. >> A change may be trivial or it may be an entire subsystem. I have never >> found a way to really document in sufficient detail what I did to implement >> the change that would allow me to back out just that change, at least of the >> change is very complex. >> >> If I get two or three changes in and then one four changes back is found to >> be a problem such that they want to roll it back, I often times cant. If we >> roll back all the changes since (go back to a previous version) then we lose >> all of the actual work done since. >> >> I have never worked in a large design team and witnessed how this is >> generally done. I am wondering how you guys handle this stuff. Any words >> of wisdom? Tools? tips? >> >> Can we have a discussion on this? >> >> -- >> John W. Colby >> www.ColbyConsulting.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 Sep 9 08:39:11 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 09 Sep 2011 09:39:11 -0400 Subject: [AccessD] Access versioning / tracking changes In-Reply-To: <4E69FE18.6090404@colbyconsulting.com> References: <4E69FE18.6090404@colbyconsulting.com> Message-ID: I work along similar lines and have never found a good way to handle this either. I try and keep my changes small and do them one at a time, making a copy of the DB with each change. But trying to document everything and anything I change just takes too long. And like you, if the first change in a series of four needs to be un-done, then I can either go to a backup and loose all four or try to take out the first one manually. I've never done the latter though. Generally I want to get a client up and running as fast as possible, so I'll either fix it quick (if I think I can), or I simply drop back to the last known good copy and loose all four changes. I suppose I could use Total Access Detective like Dan suggests and try to pull out the first change, but I've never tried to do a rollback like that and it always seemed to me to be more trouble then it was possibly worth. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, September 09, 2011 07:53 AM To: Access Developers discussion and problem solving Subject: [AccessD] Access versioning / tracking changes I use a somewhat simple two table change request database for tracking changes to my Access projects. I have to admit I find it problematic to track changes to a level that allows backing out any specific change while leaving the rest. This has resulted in "rolling back" to a specific level when a problem comes up. And yes they do test but things do happen. I have a CR table where the client places their change requests with explanatory text. It has the typical requested date / requesting person / date to test / date tested etc. A child table holds what I do with explanatory text and a test regimen to test that it work, a text for what they found in test (if problems). I can add another record as a response to that testing problem etc. The problem I run into is that any significant change may involve a change to N queries, additional fields or entire tables, code modules and so forth. A change may be trivial or it may be an entire subsystem. I have never found a way to really document in sufficient detail what I did to implement the change that would allow me to back out just that change, at least of the change is very complex. If I get two or three changes in and then one four changes back is found to be a problem such that they want to roll it back, I often times cant. If we roll back all the changes since (go back to a previous version) then we lose all of the actual work done since. I have never worked in a large design team and witnessed how this is generally done. I am wondering how you guys handle this stuff. Any words of wisdom? Tools? tips? Can we have a discussion on this? -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Sep 9 12:01:39 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 09 Sep 2011 19:01:39 +0200 Subject: [AccessD] Access versioning / tracking changes Message-ID: Hi John You could have the EatBloat code from Max (where did he go?) to read out some or all objects to text files in your repository. Should you need an old version of your app, read back the set of files of that version. I do it simpler. At a given state - usually after some major batch of changes or just before deploying the app - I zip the app appending manually the next version number to the file name, like MyApp_027.zip. /gustav >>> jwcolby at colbyconsulting.com 09-09-2011 18:37 >>> Charlotte, I do version control in my C# code, at least I check stuff in etc. I really just use it for the code repository, not really for versioning. One problem I have is that I am solo. I do not the training to actually use a VCS to create and release versions, mark changes as verson XYZ etc. I use SVN and we check in changes, all that stuff. But how is that used to roll back a specific change? I dunno. If I understood that I might have the impetus to get Access working with that but if all I am going to do is check it in it seems less than useful. In the case of my C# stuff it is still useful because we can be working on things locally and only check in when it is tested etc. I.e. I can use an older version until the latest changes seem to be working. Even so it would be nice to say I want to roll back just change xyz. John W. Colby www.ColbyConsulting.com On 9/9/2011 10:59 AM, Charlotte Foust wrote: > John, > > The way to do this is with version control software, i.e., SourceSafe, > SourceGear Vault, etc. There are Access add-ins that allow you to use the > version control software in a comparable manner to other languages, that is, > at the granularity of inidividual containers within the project. You would > need to look at what's out there, and the software isn't cheap, but there's > a good reason for that. Of the two I've worked with (those above), Vault > gives far greater control, but I admit I never worked with it in Access, > only VB.Net. > > Charlotte Foust > > On Fri, Sep 9, 2011 at 4:52 AM, jwcolby wrote: > >> I use a somewhat simple two table change request database for tracking >> changes to my Access projects. I have to admit I find it problematic to >> track changes to a level that allows backing out any specific change while >> leaving the rest. This has resulted in "rolling back" to a specific level >> when a problem comes up. And yes they do test but things do happen. >> >> I have a CR table where the client places their change requests with >> explanatory text. It has the typical requested date / requesting person / >> date to test / date tested etc. A child table holds what I do with >> explanatory text and a test regimen to test that it work, a text for what >> they found in test (if problems). I can add another record as a response to >> that testing problem etc. >> >> The problem I run into is that any significant change may involve a change >> to N queries, additional fields or entire tables, code modules and so forth. >> A change may be trivial or it may be an entire subsystem. I have never >> found a way to really document in sufficient detail what I did to implement >> the change that would allow me to back out just that change, at least of the >> change is very complex. >> >> If I get two or three changes in and then one four changes back is found to >> be a problem such that they want to roll it back, I often times cant. If we >> roll back all the changes since (go back to a previous version) then we lose >> all of the actual work done since. >> >> I have never worked in a large design team and witnessed how this is >> generally done. I am wondering how you guys handle this stuff. Any words >> of wisdom? Tools? tips? >> >> Can we have a discussion on this? >> >> -- >> John W. Colby >> www.ColbyConsulting.com From jedi at charm.net Fri Sep 9 12:21:09 2011 From: jedi at charm.net (Michael Bahr) Date: Fri, 9 Sep 2011 13:21:09 -0400 (EDT) Subject: [AccessD] Access versioning / tracking changes In-Reply-To: <4E69FE18.6090404@colbyconsulting.com> References: <4E69FE18.6090404@colbyconsulting.com> Message-ID: <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> John, there are some concepts that you need to understand; version and revision. Revisions are incremental changes since the last offical release or version. Rollback "destroys" previous revisions. You can always checkout an earlier revision without destroying the other revision but, you still wind up with lost changes. SCM tools operate on text-based files or source code. They have a built-in ability to "compare" any two revisions for changes and display the results, similair to standalone that compare text files. Access is binary so you can not compare anything. That is your problem. As others have mentioned there are some plug-ins available that could extract the tables/queries/reports but it still binary. > I use a somewhat simple two table change request database for tracking > changes to my Access > projects. I have to admit I find it problematic to track changes to a > level that allows backing out > any specific change while leaving the rest. This has resulted in "rolling > back" to a specific level > when a problem comes up. And yes they do test but things do happen. > > I have a CR table where the client places their change requests with > explanatory text. It has the > typical requested date / requesting person / date to test / date tested > etc. A child table holds > what I do with explanatory text and a test regimen to test that it work, a > text for what they found > in test (if problems). I can add another record as a response to that > testing problem etc. > > The problem I run into is that any significant change may involve a change > to N queries, additional > fields or entire tables, code modules and so forth. A change may be > trivial or it may be an entire > subsystem. I have never found a way to really document in sufficient > detail what I did to implement > the change that would allow me to back out just that change, at least of > the change is very complex. Never gonna happen. You will still loose everything after that change provided that there are later revisions. Even with text-based source code you can not just get a portion of a revision, it is the whole revision or nothing. A possible solution would be to commit one requirement at a time instead of several. Still will not solve your problem. > > If I get two or three changes in and then one four changes back is found > to be a problem such that > they want to roll it back, I often times cant. If we roll back all the > changes since (go back to a > previous version) then we lose all of the actual work done since. Can not be helped. Then either the testing was incomplete or the requirements were faulty or the understanding of the requirement was faulty. > > I have never worked in a large design team and witnessed how this is > generally done. I am wondering > how you guys handle this stuff. Any words of wisdom? Tools? tips? > > Can we have a discussion on this? You should have some requirements that the customer must provide testing parameters/data so you can test and understand their changes. If they decide that those changes do not work then they must understand the risks. Mike... From jwcolby at colbyconsulting.com Fri Sep 9 12:52:12 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 09 Sep 2011 13:52:12 -0400 Subject: [AccessD] Access versioning / tracking changes In-Reply-To: <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> Message-ID: <4E6A524C.80305@colbyconsulting.com> Michael, I pretty much understand all of that. So what you are saying is that there is no way to really check out a version with everything except a specific change. That really makes sense given the possibility of interactions between lines of code. Actually even having the ability to look at changes at revision levels would be useful. John W. Colby www.ColbyConsulting.com On 9/9/2011 1:21 PM, Michael Bahr wrote: > John, there are some concepts that you need to understand; version and > revision. Revisions are incremental changes since the last offical > release or version. Rollback "destroys" previous revisions. You can > always checkout an earlier revision without destroying the other revision > but, you still wind up with lost changes. > > SCM tools operate on text-based files or source code. They have a > built-in ability to "compare" any two revisions for changes and display > the results, similair to standalone that compare text files. Access is > binary so you can not compare anything. That is your problem. As others > have mentioned there are some plug-ins available that could extract the > tables/queries/reports but it still binary. > >> I use a somewhat simple two table change request database for tracking >> changes to my Access >> projects. I have to admit I find it problematic to track changes to a >> level that allows backing out >> any specific change while leaving the rest. This has resulted in "rolling >> back" to a specific level >> when a problem comes up. And yes they do test but things do happen. >> >> I have a CR table where the client places their change requests with >> explanatory text. It has the >> typical requested date / requesting person / date to test / date tested >> etc. A child table holds >> what I do with explanatory text and a test regimen to test that it work, a >> text for what they found >> in test (if problems). I can add another record as a response to that >> testing problem etc. >> >> The problem I run into is that any significant change may involve a change >> to N queries, additional >> fields or entire tables, code modules and so forth. A change may be >> trivial or it may be an entire >> subsystem. I have never found a way to really document in sufficient >> detail what I did to implement >> the change that would allow me to back out just that change, at least of >> the change is very complex. > > Never gonna happen. You will still loose everything after that change > provided that there are later revisions. Even with text-based source code > you can not just get a portion of a revision, it is the whole revision or > nothing. A possible solution would be to commit one requirement at a time > instead of several. Still will not solve your problem. > >> >> If I get two or three changes in and then one four changes back is found >> to be a problem such that >> they want to roll it back, I often times cant. If we roll back all the >> changes since (go back to a >> previous version) then we lose all of the actual work done since. > > Can not be helped. Then either the testing was incomplete or the > requirements were faulty or the understanding of the requirement was > faulty. > >> >> I have never worked in a large design team and witnessed how this is >> generally done. I am wondering >> how you guys handle this stuff. Any words of wisdom? Tools? tips? >> >> Can we have a discussion on this? > > You should have some requirements that the customer must provide testing > parameters/data so you can test and understand their changes. If they > decide that those changes do not work then they must understand the risks. > > Mike... > From stuart at lexacorp.com.pg Fri Sep 9 16:18:49 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 10 Sep 2011 07:18:49 +1000 Subject: [AccessD] Access versioning / tracking changes In-Reply-To: References: Message-ID: <4E6A82B9.1795.36FBC699@stuart.lexacorp.com.pg> I do the same, but it doesn't help John's problem. Unfortunately John's idea is a "pipedream". Example: He is on version 2.5. He wants to remove the changes made in version 2.2 but keep the changes made in ver 2.3, 2.4 and 3.5 What happens if any to the 2.3, 2.4 or 2.5 enhancements use a function or a query field added in 2.2, or even depend on just a change made in a function somewhere in the application? -- Stuart On 9 Sep 2011 at 19:01, Gustav Brock wrote: > Hi John > > You could have the EatBloat code from Max (where did he go?) to read > out some or all objects to text files in your repository. Should you > need an old version of your app, read back the set of files of that > version. > > I do it simpler. At a given state - usually after some major batch of > changes or just before deploying the app - I zip the app appending > manually the next version number to the file name, like MyApp_027.zip. ... > >> If I get two or three changes in and then one four changes back is > >> found to be a problem such that they want to roll it back, I often > >> times cant. If we roll back all the changes since (go back to a > >> previous version) then we lose all of the actual work done since. > >> From jwcolby at colbyconsulting.com Fri Sep 9 17:10:33 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 09 Sep 2011 18:10:33 -0400 Subject: [AccessD] Access versioning / tracking changes In-Reply-To: <4E6A82B9.1795.36FBC699@stuart.lexacorp.com.pg> References: <4E6A82B9.1795.36FBC699@stuart.lexacorp.com.pg> Message-ID: <4E6A8ED9.5020405@colbyconsulting.com> Yep. But that is what the client wants to happen. It is inherently obvious to the most casual observer that it can't really happen. John W. Colby www.ColbyConsulting.com On 9/9/2011 5:18 PM, Stuart McLachlan wrote: > I do the same, but it doesn't help John's problem. > > Unfortunately John's idea is a "pipedream". > > Example: > He is on version 2.5. He wants to remove the changes made in version 2.2 but keep the > changes made in ver 2.3, 2.4 and 3.5 > > What happens if any to the 2.3, 2.4 or 2.5 enhancements use a function or a query field > added in 2.2, or even depend on just a change made in a function somewhere in the > application? > > From fuller.artful at gmail.com Fri Sep 9 19:18:30 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 9 Sep 2011 20:18:30 -0400 Subject: [AccessD] Access versioning / tracking changes In-Reply-To: <4E6A8ED9.5020405@colbyconsulting.com> References: <4E6A82B9.1795.36FBC699@stuart.lexacorp.com.pg> <4E6A8ED9.5020405@colbyconsulting.com> Message-ID: After reading all this, I must confess that the method I use is *primitive*! While doing development I keep OneNote open and copy/paste any code I'm about to change into a new OneNote page. Then I plunge ahead (after of course backing up the current version), and when I've made the change(s), I copy and paste that code into OneNote. It ain't exactly an audit trail nor a VCS but it's as close as I've been able to come. In theory, I like the idea of using EatBloat to export all the stuff as text and then stuff that into a genuine VCS, but I've been bitten by EatBloat more than once and I'm now gun-shy. A. On Fri, Sep 9, 2011 at 6:10 PM, jwcolby wrote: > Yep. But that is what the client wants to happen. It is inherently > obvious to the most casual observer that it can't really happen. > > > John W. Colby > www.ColbyConsulting.com > > > From jedi at charm.net Sat Sep 10 11:52:03 2011 From: jedi at charm.net (Michael Bahr) Date: Sat, 10 Sep 2011 12:52:03 -0400 (EDT) Subject: [AccessD] Access versioning / tracking changes In-Reply-To: <4E6A524C.80305@colbyconsulting.com> References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> <4E6A524C.80305@colbyconsulting.com> Message-ID: <4368.24.35.110.93.1315673523.squirrel@mail.expedient.net> > Michael, > > I pretty much understand all of that. So what you are saying is that > there is no way to really > check out a version with everything except a specific change. That really revision not version, all changes up to and including that revision. > makes sense given the > possibility of interactions between lines of code. > > Actually even having the ability to look at changes at revision levels > would be useful. It is very useful BUT only source code which is text-based. As someone already mentioned FMS has this ability but it is a manual task after GETting an earilier revision and comparing the two. Another feature the SCM tools have is the ability to "branch" or run developement in parallel to the main trunk. Think of a tree, which has a main trunk and branches. The SCM tools allow you to branch then merge if necessary back into the main trunk. For example, you have a deliverable product and one of your customers wants a specific feature that no onw else wants. You branch your project and add the new features and more forward from there without disturbing the main product. Now if the main product continues with its developement then you can merge the specific revisions into the other branch to keep the core application up to date. However since you have a binary file/application you would have to do the merging manually. Then test and do regression testing. Mike... > > John W. Colby > www.ColbyConsulting.com > > On 9/9/2011 1:21 PM, Michael Bahr wrote: >> John, there are some concepts that you need to understand; version and >> revision. Revisions are incremental changes since the last offical >> release or version. Rollback "destroys" previous revisions. You can >> always checkout an earlier revision without destroying the other >> revision >> but, you still wind up with lost changes. >> >> SCM tools operate on text-based files or source code. They have a >> built-in ability to "compare" any two revisions for changes and display >> the results, similair to standalone that compare text files. Access is >> binary so you can not compare anything. That is your problem. As >> others >> have mentioned there are some plug-ins available that could extract the >> tables/queries/reports but it still binary. >> >>> I use a somewhat simple two table change request database for tracking >>> changes to my Access >>> projects. I have to admit I find it problematic to track changes to a >>> level that allows backing out >>> any specific change while leaving the rest. This has resulted in >>> "rolling >>> back" to a specific level >>> when a problem comes up. And yes they do test but things do happen. >>> >>> I have a CR table where the client places their change requests with >>> explanatory text. It has the >>> typical requested date / requesting person / date to test / date tested >>> etc. A child table holds >>> what I do with explanatory text and a test regimen to test that it >>> work, a >>> text for what they found >>> in test (if problems). I can add another record as a response to that >>> testing problem etc. >>> >>> The problem I run into is that any significant change may involve a >>> change >>> to N queries, additional >>> fields or entire tables, code modules and so forth. A change may be >>> trivial or it may be an entire >>> subsystem. I have never found a way to really document in sufficient >>> detail what I did to implement >>> the change that would allow me to back out just that change, at least >>> of >>> the change is very complex. >> >> Never gonna happen. You will still loose everything after that change >> provided that there are later revisions. Even with text-based source >> code >> you can not just get a portion of a revision, it is the whole revision >> or >> nothing. A possible solution would be to commit one requirement at a >> time >> instead of several. Still will not solve your problem. >> >>> >>> If I get two or three changes in and then one four changes back is >>> found >>> to be a problem such that >>> they want to roll it back, I often times cant. If we roll back all the >>> changes since (go back to a >>> previous version) then we lose all of the actual work done since. >> >> Can not be helped. Then either the testing was incomplete or the >> requirements were faulty or the understanding of the requirement was >> faulty. >> >>> >>> I have never worked in a large design team and witnessed how this is >>> generally done. I am wondering >>> how you guys handle this stuff. Any words of wisdom? Tools? tips? >>> >>> Can we have a discussion on this? >> >> You should have some requirements that the customer must provide testing >> parameters/data so you can test and understand their changes. If they >> decide that those changes do not work then they must understand the >> risks. >> >> Mike... >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From marksimms at verizon.net Sun Sep 11 09:03:31 2011 From: marksimms at verizon.net (Mark Simms) Date: Sun, 11 Sep 2011 10:03:31 -0400 Subject: [AccessD] OLE DB being retired In-Reply-To: <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> Message-ID: <000001cc708b$975c37b0$c614a710$@net> Just when you thought the craziness at MSFT had stopped: Rohan Lam, the Program Manager for SQL Server Connectivity, has officially stated that the next version of SQL Server,Denali, will be the last that will support OLE DB. The SQL Server OLE DB provider will then be deprecated in favour of SQL Server Native Client ODBC. In seven years' time OLE DB will be a dead, unsupported technology for SQL Server. What does one read into this remarkable handbrake-turn? Microsoft still publishes White Papers exhorting us to abandon ODBC in favour of OLE DB. Is it is now time to abandon OLE DB? www.sqlservercentral.com From accessd at shaw.ca Sun Sep 11 10:14:06 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 11 Sep 2011 08:14:06 -0700 Subject: [AccessD] OLE DB being retired In-Reply-To: <000001cc708b$975c37b0$c614a710$@net> References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> <000001cc708b$975c37b0$c614a710$@net> Message-ID: <2CDFE19088B646B2818F45D85C1B60DE@creativesystemdesigns.com> I for one will not be happy to see OLE leaving. It is a very fast protocol as all the encumbrances of the ODBC wrapper were removed. Matching ADO with OLE was always fast and slick...a real dream to work with. I do wonder why support for such an elegant designed product was removed? Fortunately, desktop application have been slowly migrating to browser/web bases designs and it disappearance will have little negative impact. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Sunday, September 11, 2011 7:04 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OLE DB being retired Just when you thought the craziness at MSFT had stopped: Rohan Lam, the Program Manager for SQL Server Connectivity, has officially stated that the next version of SQL Server,Denali, will be the last that will support OLE DB. The SQL Server OLE DB provider will then be deprecated in favour of SQL Server Native Client ODBC. In seven years' time OLE DB will be a dead, unsupported technology for SQL Server. What does one read into this remarkable handbrake-turn? Microsoft still publishes White Papers exhorting us to abandon ODBC in favour of OLE DB. Is it is now time to abandon OLE DB? www.sqlservercentral.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sun Sep 11 16:58:31 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 12 Sep 2011 07:58:31 +1000 Subject: [AccessD] OLE DB being retired In-Reply-To: <000001cc708b$975c37b0$c614a710$@net> References: <4E69FE18.6090404@colbyconsulting.com>, <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net>, <000001cc708b$975c37b0$c614a710$@net> Message-ID: <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> I must be psychic. That's four in a row where I made the right decision not to follow MS up a blind alley I stayed with DAO instead of ADODB I stayed away from ADPs I stayed away from DAPs I stayed with ODBC/Native Client instead of OLEDB (actually 5 if you include .Net ) -- Stuart On 11 Sep 2011 at 10:03, Mark Simms wrote: > Just when you thought the craziness at MSFT had stopped: > > Rohan Lam, the Program Manager for SQL Server Connectivity, has > officially stated that the next version of SQL Server,Denali, will be > the last that will support OLE DB. The SQL Server OLE DB provider will > then be deprecated in favour of SQL Server Native Client ODBC. In > seven years' time OLE DB will be a dead, unsupported technology for > SQL Server. What does one read into this remarkable handbrake-turn? > Microsoft still publishes White Papers exhorting us to abandon ODBC in > favour of OLE DB. Is it is now time to abandon OLE DB? > > www.sqlservercentral.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 Sep 11 19:18:12 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 11 Sep 2011 17:18:12 -0700 Subject: [AccessD] OLE DB being retired In-Reply-To: <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> <000001cc708b$975c37b0$c614a710$@net> <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> Message-ID: <87993497A95340A69B7F2BF3A37953F7@creativesystemdesigns.com> I will give you credit for the correct choices but I have always been a sucker for raw speed... A friend, who just retired from his carpentry business, would always say, "You know as well as I do there is no substitute for horse-power." Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, September 11, 2011 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OLE DB being retired I must be psychic. That's four in a row where I made the right decision not to follow MS up a blind alley I stayed with DAO instead of ADODB I stayed away from ADPs I stayed away from DAPs I stayed with ODBC/Native Client instead of OLEDB (actually 5 if you include .Net ) -- Stuart On 11 Sep 2011 at 10:03, Mark Simms wrote: > Just when you thought the craziness at MSFT had stopped: > > Rohan Lam, the Program Manager for SQL Server Connectivity, has > officially stated that the next version of SQL Server,Denali, will be > the last that will support OLE DB. The SQL Server OLE DB provider will > then be deprecated in favour of SQL Server Native Client ODBC. In > seven years' time OLE DB will be a dead, unsupported technology for > SQL Server. What does one read into this remarkable handbrake-turn? > Microsoft still publishes White Papers exhorting us to abandon ODBC in > favour of OLE DB. Is it is now time to abandon OLE DB? > > www.sqlservercentral.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Sun Sep 11 19:29:15 2011 From: newsgrps at dalyn.co.nz (newsgrps) Date: Mon, 12 Sep 2011 12:29:15 +1200 Subject: [AccessD] OLE DB being retired In-Reply-To: <87993497A95340A69B7F2BF3A37953F7@creativesystemdesigns.com > References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> <000001cc708b$975c37b0$c614a710$@net> <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> <87993497A95340A69B7F2BF3A37953F7@creativesystemdesigns.com> Message-ID: <20110912002938.DWQE20837.mta01.xtra.co.nz@David-PC.dalyn.co.nz> Is it any coincidence that Denali is an anagram for Denial? David Emerson Dalyn Software Ltd New Zealand At 12/09/2011, Jim Lawrence wrote: >I will give you credit for the correct choices but I have always been a >sucker for raw speed... > >A friend, who just retired from his carpentry business, would always say, >"You know as well as I do there is no substitute for horse-power." > >Jim > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan >Sent: Sunday, September 11, 2011 2:59 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] OLE DB being retired > >I must be psychic. That's four in a row where I made the right decision not >to follow MS up a >blind alley > >I stayed with DAO instead of ADODB >I stayed away from ADPs >I stayed away from DAPs >I stayed with ODBC/Native Client instead of OLEDB > >(actually 5 if you include .Net ) > >-- >Stuart > > >On 11 Sep 2011 at 10:03, Mark Simms wrote: > > > Just when you thought the craziness at MSFT had stopped: > > > > Rohan Lam, the Program Manager for SQL Server Connectivity, has > > officially stated that the next version of SQL Server,Denali, will be > > the last that will support OLE DB. The SQL Server OLE DB provider will > > then be deprecated in favour of SQL Server Native Client ODBC. In > > seven years' time OLE DB will be a dead, unsupported technology for > > SQL Server. What does one read into this remarkable handbrake-turn? > > Microsoft still publishes White Papers exhorting us to abandon ODBC in > > favour of OLE DB. Is it is now time to abandon OLE DB? > > > > www.sqlservercentral.com > > From accessd at shaw.ca Sun Sep 11 19:39:03 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 11 Sep 2011 17:39:03 -0700 Subject: [AccessD] OLE DB being retired In-Reply-To: <20110912002938.DWQE20837.mta01.xtra.co.nz@David-PC.dalyn.co.nz> References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> <000001cc708b$975c37b0$c614a710$@net> <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> <87993497A95340A69B7F2BF3A37953F7@creativesystemdesigns.com> <20110912002938.DWQE20837.mta01.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: <67F68698D62C4EF9AE68A3417BDD9666@creativesystemdesigns.com> A Freudian slip? How did you know I was starting tests on the product this evening? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of newsgrps Sent: Sunday, September 11, 2011 5:29 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OLE DB being retired Is it any coincidence that Denali is an anagram for Denial? David Emerson Dalyn Software Ltd New Zealand At 12/09/2011, Jim Lawrence wrote: >I will give you credit for the correct choices but I have always been a >sucker for raw speed... > >A friend, who just retired from his carpentry business, would always say, >"You know as well as I do there is no substitute for horse-power." > >Jim > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan >Sent: Sunday, September 11, 2011 2:59 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] OLE DB being retired > >I must be psychic. That's four in a row where I made the right decision not >to follow MS up a >blind alley > >I stayed with DAO instead of ADODB >I stayed away from ADPs >I stayed away from DAPs >I stayed with ODBC/Native Client instead of OLEDB > >(actually 5 if you include .Net ) > >-- >Stuart > > >On 11 Sep 2011 at 10:03, Mark Simms wrote: > > > Just when you thought the craziness at MSFT had stopped: > > > > Rohan Lam, the Program Manager for SQL Server Connectivity, has > > officially stated that the next version of SQL Server,Denali, will be > > the last that will support OLE DB. The SQL Server OLE DB provider will > > then be deprecated in favour of SQL Server Native Client ODBC. In > > seven years' time OLE DB will be a dead, unsupported technology for > > SQL Server. What does one read into this remarkable handbrake-turn? > > Microsoft still publishes White Papers exhorting us to abandon ODBC in > > favour of OLE DB. Is it is now time to abandon OLE DB? > > > > www.sqlservercentral.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 Sep 11 19:44:27 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sun, 11 Sep 2011 17:44:27 -0700 Subject: [AccessD] OLE DB being retired In-Reply-To: <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> <000001cc708b$975c37b0$c614a710$@net> <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> Message-ID: Don't break your arm patting your back! ADODB was a wonderful introduction to ADO.Net. Charlotte Foust On Sun, Sep 11, 2011 at 2:58 PM, Stuart McLachlan wrote: > I must be psychic. That's four in a row where I made the right decision > not to follow MS up a > blind alley > > I stayed with DAO instead of ADODB > I stayed away from ADPs > I stayed away from DAPs > I stayed with ODBC/Native Client instead of OLEDB > > (actually 5 if you include .Net ) > > -- > Stuart > > > On 11 Sep 2011 at 10:03, Mark Simms wrote: > > > Just when you thought the craziness at MSFT had stopped: > > > > Rohan Lam, the Program Manager for SQL Server Connectivity, has > > officially stated that the next version of SQL Server,Denali, will be > > the last that will support OLE DB. The SQL Server OLE DB provider will > > then be deprecated in favour of SQL Server Native Client ODBC. In > > seven years' time OLE DB will be a dead, unsupported technology for > > SQL Server. What does one read into this remarkable handbrake-turn? > > Microsoft still publishes White Papers exhorting us to abandon ODBC in > > favour of OLE DB. Is it is now time to abandon OLE DB? > > > > www.sqlservercentral.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 Sep 11 23:00:25 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 12 Sep 2011 14:00:25 +1000 Subject: [AccessD] Archives? In-Reply-To: References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> <000001cc708b$975c37b0$c614a710$@net> <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> Message-ID: <002001cc7100$806bd130$81437390$@com.au> Hi Admin folks, Access D archives link from the website seems to be (still) down. I recall reading folks were having issues a while back, but of course I cannot access the archives to see what the solution might have been. >From memory there was a cunning secret link that still worked, or maybe I was drunk at the time I read that? Any pointers? Cheers Darryl. From stuart at lexacorp.com.pg Mon Sep 12 03:45:55 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 12 Sep 2011 18:45:55 +1000 Subject: [AccessD] OLE DB being retired In-Reply-To: <20110912002938.DWQE20837.mta01.xtra.co.nz@David-PC.dalyn.co.nz> References: <4E69FE18.6090404@colbyconsulting.com>, <87993497A95340A69B7F2BF3A37953F7@creativesystemdesigns.com >, <20110912002938.DWQE20837.mta01.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: <4E6DC6C3.15083.1CFA28E@stuart.lexacorp.com.pg> or Nailed or And Lie :) -- Stuart On 12 Sep 2011 at 12:29, newsgrps wrote: > Is it any coincidence that Denali is an anagram for Denial? > > David Emerson > Dalyn Software Ltd > New Zealand > > At 12/09/2011, Jim Lawrence wrote: > >I will give you credit for the correct choices but I have always been > >a sucker for raw speed... > > > >A friend, who just retired from his carpentry business, would always > >say, "You know as well as I do there is no substitute for > >horse-power." > > > >Jim > > > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > >McLachlan Sent: Sunday, September 11, 2011 2:59 PM To: Access > >Developers discussion and problem solving Subject: Re: [AccessD] OLE > >DB being retired > > > >I must be psychic. That's four in a row where I made the right > >decision not to follow MS up a blind alley > > > >I stayed with DAO instead of ADODB > >I stayed away from ADPs > >I stayed away from DAPs > >I stayed with ODBC/Native Client instead of OLEDB > > > >(actually 5 if you include .Net ) > > > >-- > >Stuart > > > > > >On 11 Sep 2011 at 10:03, Mark Simms wrote: > > > > > Just when you thought the craziness at MSFT had stopped: > > > > > > Rohan Lam, the Program Manager for SQL Server Connectivity, has > > > officially stated that the next version of SQL Server,Denali, will > > > be the last that will support OLE DB. The SQL Server OLE DB > > > provider will then be deprecated in favour of SQL Server Native > > > Client ODBC. In seven years' time OLE DB will be a dead, > > > unsupported technology for SQL Server. What does one read into > > > this remarkable handbrake-turn? Microsoft still publishes White > > > Papers exhorting us to abandon ODBC in favour of OLE DB. Is it is > > > now time to abandon OLE DB? > > > > > > www.sqlservercentral.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 Sep 12 08:36:46 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 12 Sep 2011 09:36:46 -0400 Subject: [AccessD] OLE DB being retired In-Reply-To: <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> References: <4E69FE18.6090404@colbyconsulting.com>, <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net>, <000001cc708b$975c37b0$c614a710$@net> <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> Message-ID: <88899EFC79F041318C1738F1BAD85AA8@XPS> Stuart, Were actually on the same page. I use ADO and ADP's a bit, but for the most part I have stayed away from them and never really moved to ADO at all. I still use DAO for just about everything (if I can get away with it). I've also stayed away from .Net, but it looks like I'm going to pay for that one having at least 15 years yet to retirement. Access doesn't seem like it's going to hang on (for me) that long with the likes of Lightswitch and it's wholesale move to the web. It has too little focus on producing desktop apps anymore, which I suppose is a sign of the times. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, September 11, 2011 05:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OLE DB being retired I must be psychic. That's four in a row where I made the right decision not to follow MS up a blind alley I stayed with DAO instead of ADODB I stayed away from ADPs I stayed away from DAPs I stayed with ODBC/Native Client instead of OLEDB (actually 5 if you include .Net ) -- Stuart On 11 Sep 2011 at 10:03, Mark Simms wrote: > Just when you thought the craziness at MSFT had stopped: > > Rohan Lam, the Program Manager for SQL Server Connectivity, has > officially stated that the next version of SQL Server,Denali, will be > the last that will support OLE DB. The SQL Server OLE DB provider will > then be deprecated in favour of SQL Server Native Client ODBC. In > seven years' time OLE DB will be a dead, unsupported technology for > SQL Server. What does one read into this remarkable handbrake-turn? > Microsoft still publishes White Papers exhorting us to abandon ODBC in > favour of OLE DB. Is it is now time to abandon OLE DB? > > www.sqlservercentral.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 Sep 13 07:59:12 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Sep 2011 08:59:12 -0400 Subject: [AccessD] Background color when modifying Message-ID: <4E6F53A0.1040400@colbyconsulting.com> I am working on a database. The labels are apparently transparent and the form has a background pattern (one of those auto form thingies). When I click in the label for a control and then click again to edit the caption, the background color turns this obnoxious dark red-ish brown and makes it darned near impossible to see the blue font. Does anyone know if that is a property somewhere that I can modify? This is not a runtime property, it is a design time property. -- John W. Colby www.ColbyConsulting.com From jm.hwsn at gmail.com Tue Sep 13 08:18:26 2011 From: jm.hwsn at gmail.com (jm.hwsn) Date: Tue, 13 Sep 2011 08:18:26 -0500 Subject: [AccessD] Background color when modifying In-Reply-To: <4E6F53A0.1040400@colbyconsulting.com> References: <4E6F53A0.1040400@colbyconsulting.com> Message-ID: <4e6f5826.a3afec0a.532b.6bc3@mx.google.com> John, I had that happen to me too. Check the background color of the label. What happens is when you modify the text the background color is shown. So change it to white and it'll work for you. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 13, 2011 7:59 AM To: Access Developers discussion and problem solving Subject: [AccessD] Background color when modifying I am working on a database. The labels are apparently transparent and the form has a background pattern (one of those auto form thingies). When I click in the label for a control and then click again to edit the caption, the background color turns this obnoxious dark red-ish brown and makes it darned near impossible to see the blue font. Does anyone know if that is a property somewhere that I can modify? This is not a runtime property, it is a design time property. -- John W. Colby www.ColbyConsulting.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 Tue Sep 13 08:21:55 2011 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Tue, 13 Sep 2011 09:21:55 -0400 Subject: [AccessD] Background color when modifying In-Reply-To: <4E6F53A0.1040400@colbyconsulting.com> References: <4E6F53A0.1040400@colbyconsulting.com> Message-ID: I think you may be dealing with a form formatted with the 'International' style. In any case the dreadful color you see is what the label would have if it did *not* have a transparent background. So all you need to do is change the Back Color property from 13209 (or whatever it may be ) to white (16777215), and then you'll be able to read it while you edit the caption. Naturally you could also do this in code by just looping through all the labels and changing heir back color in VBA. Of course you can also simply edit the caption in the property sheet. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 13, 2011 8:59 AM To: Access Developers discussion and problem solving Subject: [AccessD] Background color when modifying I am working on a database. The labels are apparently transparent and the form has a background pattern (one of those auto form thingies). When I click in the label for a control and then click again to edit the caption, the background color turns this obnoxious dark red-ish brown and makes it darned near impossible to see the blue font. Does anyone know if that is a property somewhere that I can modify? This is not a runtime property, it is a design time property. -- John W. Colby www.ColbyConsulting.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 Sep 13 08:51:33 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Sep 2011 09:51:33 -0400 Subject: [AccessD] Background color when modifying In-Reply-To: <4e6f5826.a3afec0a.532b.6bc3@mx.google.com> References: <4E6F53A0.1040400@colbyconsulting.com> <4e6f5826.a3afec0a.532b.6bc3@mx.google.com> Message-ID: <4E6F5FE5.4010808@colbyconsulting.com> Thanks guys. It is indeed transparent but a funky color. Setting the color to white and transparent fixes the problem. John W. Colby www.ColbyConsulting.com On 9/13/2011 9:18 AM, jm.hwsn wrote: > John, I had that happen to me too. > Check the background color of the label. > What happens is when you modify the text the background color is shown. > So change it to white and it'll work for you. > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, September 13, 2011 7:59 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Background color when modifying > > I am working on a database. The labels are apparently transparent and the > form has a background > pattern (one of those auto form thingies). When I click in the label for a > control and then click > again to edit the caption, the background color turns this obnoxious dark > red-ish brown and makes it > darned near impossible to see the blue font. > > Does anyone know if that is a property somewhere that I can modify? This is > not a runtime property, > it is a design time property. > From jwcolby at colbyconsulting.com Tue Sep 13 09:01:55 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Sep 2011 10:01:55 -0400 Subject: [AccessD] Runtime when full version is installed Message-ID: <4E6F6253.2070808@colbyconsulting.com> I have a small (non-profit) client that wants me to install full office 2010 on all of their employees systems. However I want my Access App to run under the runtime. Mostly just for that additional security of not allowing them access to design time stuff unless they intentionally open the app under the full version. I have installed the runtime on other machines but I do not remember if the runtime install allows me to set the destination (install) directory. Is anyone using the runtime? Any tips or tricks for this scenario? -- John W. Colby www.ColbyConsulting.com From Gustav at cactus.dk Tue Sep 13 09:15:31 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 13 Sep 2011 16:15:31 +0200 Subject: [AccessD] Runtime when full version is installed Message-ID: Hi John Non-profit and full Office 2010 doesn't match costly wise. Are you they need Access on all machines? We've never had a client - profit or none - with that demand; we always use the Office 2010 for home and small business with the cheap PCK license. /gustav >>> jwcolby at colbyconsulting.com 13-09-2011 16:01 >>> I have a small (non-profit) client that wants me to install full office 2010 on all of their employees systems. However I want my Access App to run under the runtime. Mostly just for that additional security of not allowing them access to design time stuff unless they intentionally open the app under the full version. I have installed the runtime on other machines but I do not remember if the runtime install allows me to set the destination (install) directory. Is anyone using the runtime? Any tips or tricks for this scenario? -- John W. Colby www.ColbyConsulting.com From charlotte.foust at gmail.com Tue Sep 13 09:24:17 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Tue, 13 Sep 2011 07:24:17 -0700 Subject: [AccessD] Runtime when full version is installed In-Reply-To: <4E6F6253.2070808@colbyconsulting.com> References: <4E6F6253.2070808@colbyconsulting.com> Message-ID: It does, but that doesn't really help if the file association is with full version Access. We used Sage Key scripts to wrap the runtime executable so that the PC didn't get confused. Charlotte Foust On Tue, Sep 13, 2011 at 7:01 AM, jwcolby wrote: > I have a small (non-profit) client that wants me to install full office > 2010 on all of their employees systems. However I want my Access App to run > under the runtime. Mostly just for that additional security of not allowing > them access to design time stuff unless they intentionally open the app > under the full version. > > I have installed the runtime on other machines but I do not remember if the > runtime install allows me to set the destination (install) directory. > > Is anyone using the runtime? Any tips or tricks for this scenario? > > -- > John W. Colby > www.ColbyConsulting.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From jm.hwsn at gmail.com Tue Sep 13 09:38:48 2011 From: jm.hwsn at gmail.com (jm.hwsn) Date: Tue, 13 Sep 2011 09:38:48 -0500 Subject: [AccessD] Runtime when full version is installed In-Reply-To: References: Message-ID: <4e6f6afb.f154ec0a.1d80.7f09@mx.google.com> I agree with that assessment. However, if the client really wants the full install and you want them to run your database using the runtime. The quickest and easiest is to change the extension of the file to accdr. Access will treat it as if it's running under runtime. Yes, the extension can be changed back quite easily. However, with a little bit code it won't run without the proper extension. Such as: If SysCmd(acSysCmdRuntime) = False Then 'Should be using runtime but if not, quit application. If MsgBox("This file is in the wrong format and will not run.", vbCritical, "Application Quit") = vbOK Then Application.Quit End If End If I put this in the on open event of the first form that opens. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, September 13, 2011 9:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Runtime when full version is installed Hi John Non-profit and full Office 2010 doesn't match costly wise. Are you they need Access on all machines? We've never had a client - profit or none - with that demand; we always use the Office 2010 for home and small business with the cheap PCK license. /gustav >>> jwcolby at colbyconsulting.com 13-09-2011 16:01 >>> I have a small (non-profit) client that wants me to install full office 2010 on all of their employees systems. However I want my Access App to run under the runtime. Mostly just for that additional security of not allowing them access to design time stuff unless they intentionally open the app under the full version. I have installed the runtime on other machines but I do not remember if the runtime install allows me to set the destination (install) directory. Is anyone using the runtime? Any tips or tricks for this scenario? -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davidmcafee at gmail.com Tue Sep 13 11:09:22 2011 From: davidmcafee at gmail.com (David McAfee) Date: Tue, 13 Sep 2011 09:09:22 -0700 Subject: [AccessD] Runtime when full version is installed In-Reply-To: References: <4E6F6253.2070808@colbyconsulting.com> Message-ID: +1 on the Sagekey scripts. I haven't used it with 2007/2010 but did use it with earlier versions. Expensive, but worth it. On Tue, Sep 13, 2011 at 7:24 AM, Charlotte Foust wrote: > It does, but that doesn't really help if the file association is with full > version Access. We used Sage Key scripts to wrap the runtime executable so > that the PC didn't get confused. > > Charlotte Foust > > On Tue, Sep 13, 2011 at 7:01 AM, jwcolby >wrote: > > > I have a small (non-profit) client that wants me to install full office > > 2010 on all of their employees systems. However I want my Access App to > run > > under the runtime. Mostly just for that additional security of not > allowing > > them access to design time stuff unless they intentionally open the app > > under the full version. > > > > I have installed the runtime on other machines but I do not remember if > the > > runtime install allows me to set the destination (install) directory. > > > > Is anyone using the runtime? Any tips or tricks for this scenario? > > > > -- > > John W. Colby > > www.ColbyConsulting.com > > > > > > -- > > 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 Tue Sep 13 11:14:01 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Sep 2011 12:14:01 -0400 Subject: [AccessD] Runtime when full version is installed In-Reply-To: References: <4E6F6253.2070808@colbyconsulting.com> Message-ID: <4E6F8149.3000107@colbyconsulting.com> Charlotte, > It does, but that doesn't really help if the file association is with full version Access. Associations only matter if you double click a file. If I have a shortcut that uses the actual installed access runtime instance to open the file then... >We used Sage Key scripts to wrap the runtime executable so that the PC didn't get confused. It is so nice of you to offer to buy that for me. ;) John W. Colby www.ColbyConsulting.com On 9/13/2011 10:24 AM, Charlotte Foust wrote: > It does, but that doesn't really help if the file association is with full > version Access. We used Sage Key scripts to wrap the runtime executable so > that the PC didn't get confused. > > Charlotte Foust > > On Tue, Sep 13, 2011 at 7:01 AM, jwcolbywrote: > >> I have a small (non-profit) client that wants me to install full office >> 2010 on all of their employees systems. However I want my Access App to run >> under the runtime. Mostly just for that additional security of not allowing >> them access to design time stuff unless they intentionally open the app >> under the full version. >> >> I have installed the runtime on other machines but I do not remember if the >> runtime install allows me to set the destination (install) directory. >> >> Is anyone using the runtime? Any tips or tricks for this scenario? >> >> -- >> John W. Colby >> www.ColbyConsulting.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 Sep 13 11:17:52 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Sep 2011 12:17:52 -0400 Subject: [AccessD] Runtime when full version is installed In-Reply-To: References: Message-ID: <4E6F8230.3000703@colbyconsulting.com> As a non-profit they got something like 50 licenses from Microsoft for almost nothing. They want the full version on the employees machines so that they can use all of the other office applications and all be using the same version to do so. I don't want them using the full version on the Access application simply because is exposes the application. I will probably go with a "compiled" version (MDE) once it stabilizes but for now using the runtime will help me keep users where they belong. John W. Colby www.ColbyConsulting.com On 9/13/2011 10:15 AM, Gustav Brock wrote: > Hi John > > Non-profit and full Office 2010 doesn't match costly wise. Are you they need Access on all machines? We've never had a client - profit or none - with that demand; we always use the Office 2010 for home and small business with the cheap PCK license. > > /gustav > > >>>> jwcolby at colbyconsulting.com 13-09-2011 16:01>>> > I have a small (non-profit) client that wants me to install full office 2010 on all of their > employees systems. However I want my Access App to run under the runtime. Mostly just for that > additional security of not allowing them access to design time stuff unless they intentionally open > the app under the full version. > > I have installed the runtime on other machines but I do not remember if the runtime install allows > me to set the destination (install) directory. > > Is anyone using the runtime? Any tips or tricks for this scenario? > From jimdettman at verizon.net Tue Sep 13 11:42:28 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 13 Sep 2011 12:42:28 -0400 Subject: [AccessD] Runtime when full version is installed In-Reply-To: <4E6F8230.3000703@colbyconsulting.com> References: <4E6F8230.3000703@colbyconsulting.com> Message-ID: <3B0E65B4AEE54DB88C1961E8015F4817@XPS> John, No need for the run-time. Distribute as a MDE and use the SysCmd(acSysCmdRuntime) call to determine if it started in run-time mode and if not quit the app. Then give them a shortcut on the desktop with the /runtime switch. If they use anything other then the shortcut, they go no where. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 13, 2011 12:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Runtime when full version is installed As a non-profit they got something like 50 licenses from Microsoft for almost nothing. They want the full version on the employees machines so that they can use all of the other office applications and all be using the same version to do so. I don't want them using the full version on the Access application simply because is exposes the application. I will probably go with a "compiled" version (MDE) once it stabilizes but for now using the runtime will help me keep users where they belong. John W. Colby www.ColbyConsulting.com On 9/13/2011 10:15 AM, Gustav Brock wrote: > Hi John > > Non-profit and full Office 2010 doesn't match costly wise. Are you they need Access on all machines? We've never had a client - profit or none - with that demand; we always use the Office 2010 for home and small business with the cheap PCK license. > > /gustav > > >>>> jwcolby at colbyconsulting.com 13-09-2011 16:01>>> > I have a small (non-profit) client that wants me to install full office 2010 on all of their > employees systems. However I want my Access App to run under the runtime. Mostly just for that > additional security of not allowing them access to design time stuff unless they intentionally open > the app under the full version. > > I have installed the runtime on other machines but I do not remember if the runtime install allows > me to set the destination (install) directory. > > Is anyone using the runtime? Any tips or tricks for this scenario? > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Sep 13 12:46:55 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Sep 2011 13:46:55 -0400 Subject: [AccessD] Runtime when full version is installed In-Reply-To: References: <4E6F6253.2070808@colbyconsulting.com> Message-ID: <4E6F970F.3070004@colbyconsulting.com> Oh my, so many people volunteering to buy it for me. ;) Please remember that this is Pro bono work. I am already giving away tons of hours. John W. Colby www.ColbyConsulting.com On 9/13/2011 12:09 PM, David McAfee wrote: > +1 on the Sagekey scripts. > > I haven't used it with 2007/2010 but did use it with earlier versions. > > Expensive, but worth it. > > > On Tue, Sep 13, 2011 at 7:24 AM, Charlotte Foust > wrote: > >> It does, but that doesn't really help if the file association is with full >> version Access. We used Sage Key scripts to wrap the runtime executable so >> that the PC didn't get confused. >> >> Charlotte Foust >> >> On Tue, Sep 13, 2011 at 7:01 AM, jwcolby>> wrote: >> >>> I have a small (non-profit) client that wants me to install full office >>> 2010 on all of their employees systems. However I want my Access App to >> run >>> under the runtime. Mostly just for that additional security of not >> allowing >>> them access to design time stuff unless they intentionally open the app >>> under the full version. >>> >>> I have installed the runtime on other machines but I do not remember if >> the >>> runtime install allows me to set the destination (install) directory. >>> >>> Is anyone using the runtime? Any tips or tricks for this scenario? >>> >>> -- >>> John W. Colby >>> www.ColbyConsulting.com >>> >>> >>> -- >>> 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 Tue Sep 13 12:48:45 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Sep 2011 13:48:45 -0400 Subject: [AccessD] Runtime when full version is installed In-Reply-To: <3B0E65B4AEE54DB88C1961E8015F4817@XPS> References: <4E6F8230.3000703@colbyconsulting.com> <3B0E65B4AEE54DB88C1961E8015F4817@XPS> Message-ID: <4E6F977D.4070405@colbyconsulting.com> Woa, that is an awesome solution! Thanks! John W. Colby www.ColbyConsulting.com On 9/13/2011 12:42 PM, Jim Dettman wrote: > John, > > No need for the run-time. > > Distribute as a MDE and use the SysCmd(acSysCmdRuntime) call to determine > if it started in run-time mode and if not quit the app. > > Then give them a shortcut on the desktop with the /runtime switch. > > If they use anything other then the shortcut, they go no where. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, September 13, 2011 12:18 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Runtime when full version is installed > > As a non-profit they got something like 50 licenses from Microsoft for > almost nothing. They want > the full version on the employees machines so that they can use all of the > other office applications > and all be using the same version to do so. > > I don't want them using the full version on the Access application simply > because is exposes the > application. I will probably go with a "compiled" version (MDE) once it > stabilizes but for now > using the runtime will help me keep users where they belong. > > John W. Colby > www.ColbyConsulting.com > > On 9/13/2011 10:15 AM, Gustav Brock wrote: >> Hi John >> >> Non-profit and full Office 2010 doesn't match costly wise. Are you they > need Access on all machines? We've never had a client - profit or none - > with that demand; we always use the Office 2010 for home and small business > with the cheap PCK license. >> >> /gustav >> >> >>>>> jwcolby at colbyconsulting.com 13-09-2011 16:01>>> >> I have a small (non-profit) client that wants me to install full office > 2010 on all of their >> employees systems. However I want my Access App to run under the runtime. > Mostly just for that >> additional security of not allowing them access to design time stuff > unless they intentionally open >> the app under the full version. >> >> I have installed the runtime on other machines but I do not remember if > the runtime install allows >> me to set the destination (install) directory. >> >> Is anyone using the runtime? Any tips or tricks for this scenario? >> From dnod at aol.com Tue Sep 13 12:53:18 2011 From: dnod at aol.com (Dean) Date: Tue, 13 Sep 2011 13:53:18 -0400 Subject: [AccessD] Runtime when full version is installed In-Reply-To: <4E6F970F.3070004@colbyconsulting.com> References: <4E6F6253.2070808@colbyconsulting.com> <4E6F970F.3070004@colbyconsulting.com> Message-ID: Do they need Access installed as part of the Suite. I meet very few end users who have a clue what to do with it. In my own office, I install MS Office often without including Access so as not to complicate the runtime apps maintenance. Dean S. Davids Fort Lauderdale, Fl On Sep 13, 2011, at 1:46 PM, jwcolby wrote: > Oh my, so many people volunteering to buy it for me. ;) > > Please remember that this is Pro bono work. I am already giving away tons of hours. > > John W. Colby > www.ColbyConsulting.com > > On 9/13/2011 12:09 PM, David McAfee wrote: >> +1 on the Sagekey scripts. >> >> I haven't used it with 2007/2010 but did use it with earlier versions. >> >> Expensive, but worth it. >> >> >> On Tue, Sep 13, 2011 at 7:24 AM, Charlotte Foust >> wrote: >> >>> It does, but that doesn't really help if the file association is with full >>> version Access. We used Sage Key scripts to wrap the runtime executable so >>> that the PC didn't get confused. >>> >>> Charlotte Foust >>> >>> On Tue, Sep 13, 2011 at 7:01 AM, jwcolby>>> wrote: >>> >>>> I have a small (non-profit) client that wants me to install full office >>>> 2010 on all of their employees systems. However I want my Access App to >>> run >>>> under the runtime. Mostly just for that additional security of not >>> allowing >>>> them access to design time stuff unless they intentionally open the app >>>> under the full version. >>>> >>>> I have installed the runtime on other machines but I do not remember if >>> the >>>> runtime install allows me to set the destination (install) directory. >>>> >>>> Is anyone using the runtime? Any tips or tricks for this scenario? >>>> >>>> -- >>>> John W. Colby >>>> www.ColbyConsulting.com >>>> >>>> >>>> -- >>>> 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 Tue Sep 13 13:14:21 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Sep 2011 14:14:21 -0400 Subject: [AccessD] Runtime when full version is installed In-Reply-To: References: <4E6F6253.2070808@colbyconsulting.com> <4E6F970F.3070004@colbyconsulting.com> Message-ID: <4E6F9D7D.9000201@colbyconsulting.com> Well there's another idea. It is kind of useful to have the full version in case I am trying to fix a bug on that user's machine. John W. Colby www.ColbyConsulting.com On 9/13/2011 1:53 PM, Dean wrote: > Do they need Access installed as part of the Suite. I meet very few end users who have a clue what to do with it. In my own office, I install MS Office often without including Access so as not to complicate the runtime apps maintenance. > > Dean S. Davids > Fort Lauderdale, Fl > > On Sep 13, 2011, at 1:46 PM, jwcolby wrote: > >> Oh my, so many people volunteering to buy it for me. ;) >> >> Please remember that this is Pro bono work. I am already giving away tons of hours. >> >> John W. Colby >> www.ColbyConsulting.com >> >> On 9/13/2011 12:09 PM, David McAfee wrote: >>> +1 on the Sagekey scripts. >>> >>> I haven't used it with 2007/2010 but did use it with earlier versions. >>> >>> Expensive, but worth it. >>> >>> >>> On Tue, Sep 13, 2011 at 7:24 AM, Charlotte Foust >>> wrote: >>> >>>> It does, but that doesn't really help if the file association is with full >>>> version Access. We used Sage Key scripts to wrap the runtime executable so >>>> that the PC didn't get confused. >>>> >>>> Charlotte Foust >>>> >>>> On Tue, Sep 13, 2011 at 7:01 AM, jwcolby>>>> wrote: >>>> >>>>> I have a small (non-profit) client that wants me to install full office >>>>> 2010 on all of their employees systems. However I want my Access App to >>>> run >>>>> under the runtime. Mostly just for that additional security of not >>>> allowing >>>>> them access to design time stuff unless they intentionally open the app >>>>> under the full version. >>>>> >>>>> I have installed the runtime on other machines but I do not remember if >>>> the >>>>> runtime install allows me to set the destination (install) directory. >>>>> >>>>> Is anyone using the runtime? Any tips or tricks for this scenario? >>>>> >>>>> -- >>>>> John W. Colby >>>>> www.ColbyConsulting.com >>>>> >>>>> >>>>> -- >>>>> 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 dnod at aol.com Tue Sep 13 13:33:17 2011 From: dnod at aol.com (Dean) Date: Tue, 13 Sep 2011 14:33:17 -0400 Subject: [AccessD] Runtime when full version is installed In-Reply-To: <4E6F9D7D.9000201@colbyconsulting.com> References: <4E6F6253.2070808@colbyconsulting.com> <4E6F970F.3070004@colbyconsulting.com> <4E6F9D7D.9000201@colbyconsulting.com> Message-ID: <2ED2C15A-6C12-4A0A-8A14-99873D514457@aol.com> Yes, that has indeed been an issue. Never enough to change my course however. Dean S. Davids Fort Lauderdale, FL On Sep 13, 2011, at 2:14 PM, jwcolby wrote: > Well there's another idea. It is kind of useful to have the full version in case I am trying to fix a bug on that user's machine. > > John W. Colby > www.ColbyConsulting.com > > On 9/13/2011 1:53 PM, Dean wrote: >> Do they need Access installed as part of the Suite. I meet very few end users who have a clue what to do with it. In my own office, I install MS Office often without including Access so as not to complicate the runtime apps maintenance. >> >> Dean S. Davids >> Fort Lauderdale, Fl >> >> On Sep 13, 2011, at 1:46 PM, jwcolby wrote: >> >>> Oh my, so many people volunteering to buy it for me. ;) >>> >>> Please remember that this is Pro bono work. I am already giving away tons of hours. >>> >>> John W. Colby >>> www.ColbyConsulting.com >>> >>> On 9/13/2011 12:09 PM, David McAfee wrote: >>>> +1 on the Sagekey scripts. >>>> >>>> I haven't used it with 2007/2010 but did use it with earlier versions. >>>> >>>> Expensive, but worth it. >>>> >>>> >>>> On Tue, Sep 13, 2011 at 7:24 AM, Charlotte Foust >>>> wrote: >>>> >>>>> It does, but that doesn't really help if the file association is with full >>>>> version Access. We used Sage Key scripts to wrap the runtime executable so >>>>> that the PC didn't get confused. >>>>> >>>>> Charlotte Foust >>>>> >>>>> On Tue, Sep 13, 2011 at 7:01 AM, jwcolby>>>>> wrote: >>>>> >>>>>> I have a small (non-profit) client that wants me to install full office >>>>>> 2010 on all of their employees systems. However I want my Access App to >>>>> run >>>>>> under the runtime. Mostly just for that additional security of not >>>>> allowing >>>>>> them access to design time stuff unless they intentionally open the app >>>>>> under the full version. >>>>>> >>>>>> I have installed the runtime on other machines but I do not remember if >>>>> the >>>>>> runtime install allows me to set the destination (install) directory. >>>>>> >>>>>> Is anyone using the runtime? Any tips or tricks for this scenario? >>>>>> >>>>>> -- >>>>>> John W. Colby >>>>>> www.ColbyConsulting.com >>>>>> >>>>>> >>>>>> -- >>>>>> 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 >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Sep 13 13:42:43 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Sep 2011 14:42:43 -0400 Subject: [AccessD] Runtime when full version is installed In-Reply-To: <3B0E65B4AEE54DB88C1961E8015F4817@XPS> References: <4E6F8230.3000703@colbyconsulting.com> <3B0E65B4AEE54DB88C1961E8015F4817@XPS> Message-ID: <4E6FA423.1040500@colbyconsulting.com> Jim, When you say distribute as an mde I assume you mean "compiled"? John W. Colby www.ColbyConsulting.com On 9/13/2011 12:42 PM, Jim Dettman wrote: > John, > > No need for the run-time. > > Distribute as a MDE and use the SysCmd(acSysCmdRuntime) call to determine > if it started in run-time mode and if not quit the app. > > Then give them a shortcut on the desktop with the /runtime switch. > > If they use anything other then the shortcut, they go no where. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, September 13, 2011 12:18 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Runtime when full version is installed > > As a non-profit they got something like 50 licenses from Microsoft for > almost nothing. They want > the full version on the employees machines so that they can use all of the > other office applications > and all be using the same version to do so. > > I don't want them using the full version on the Access application simply > because is exposes the > application. I will probably go with a "compiled" version (MDE) once it > stabilizes but for now > using the runtime will help me keep users where they belong. > > John W. Colby > www.ColbyConsulting.com > > On 9/13/2011 10:15 AM, Gustav Brock wrote: >> Hi John >> >> Non-profit and full Office 2010 doesn't match costly wise. Are you they > need Access on all machines? We've never had a client - profit or none - > with that demand; we always use the Office 2010 for home and small business > with the cheap PCK license. >> >> /gustav >> >> >>>>> jwcolby at colbyconsulting.com 13-09-2011 16:01>>> >> I have a small (non-profit) client that wants me to install full office > 2010 on all of their >> employees systems. However I want my Access App to run under the runtime. > Mostly just for that >> additional security of not allowing them access to design time stuff > unless they intentionally open >> the app under the full version. >> >> I have installed the runtime on other machines but I do not remember if > the runtime install allows >> me to set the destination (install) directory. >> >> Is anyone using the runtime? Any tips or tricks for this scenario? >> From john at winhaven.net Tue Sep 13 13:58:53 2011 From: john at winhaven.net (John Bartow) Date: Tue, 13 Sep 2011 13:58:53 -0500 Subject: [AccessD] Archives? In-Reply-To: <002001cc7100$806bd130$81437390$@com.au> References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> <000001cc708b$975c37b0$c614a710$@net> <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> <002001cc7100$806bd130$81437390$@com.au> Message-ID: <010201cc7247$2ee473b0$8cad5b10$@winhaven.net> Hi Daryl, We're looking into it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Sunday, September 11, 2011 11:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Archives? Hi Admin folks, Access D archives link from the website seems to be (still) down. I recall reading folks were having issues a while back, but of course I cannot access the archives to see what the solution might have been. >From memory there was a cunning secret link that still worked, or maybe >I was drunk at the time I read that? Any pointers? Cheers Darryl. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Tue Sep 13 14:36:10 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 13 Sep 2011 15:36:10 -0400 Subject: [AccessD] Runtime when full version is installed In-Reply-To: <4E6FA423.1040500@colbyconsulting.com> References: <4E6F8230.3000703@colbyconsulting.com> <3B0E65B4AEE54DB88C1961E8015F4817@XPS> <4E6FA423.1040500@colbyconsulting.com> Message-ID: John, Source code stripped out, so yes that would be compiled. If that's done, no changes can be made to the code and the code cannot be viewed. If you want to be able to make code changes on site, the alternative would be to distribute as normal, but put a password on the VBA project file. That would be enough to keep the mildly curious out, but still let you make changes on site if needed. And BTW, I see the other Jim posted with more or less the same idea before I did (he suggested changing the extension on the file to .accdr, which also forces runtime mode in 2007 and up. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 13, 2011 02:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Runtime when full version is installed Jim, When you say distribute as an mde I assume you mean "compiled"? John W. Colby www.ColbyConsulting.com On 9/13/2011 12:42 PM, Jim Dettman wrote: > John, > > No need for the run-time. > > Distribute as a MDE and use the SysCmd(acSysCmdRuntime) call to determine > if it started in run-time mode and if not quit the app. > > Then give them a shortcut on the desktop with the /runtime switch. > > If they use anything other then the shortcut, they go no where. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, September 13, 2011 12:18 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Runtime when full version is installed > > As a non-profit they got something like 50 licenses from Microsoft for > almost nothing. They want > the full version on the employees machines so that they can use all of the > other office applications > and all be using the same version to do so. > > I don't want them using the full version on the Access application simply > because is exposes the > application. I will probably go with a "compiled" version (MDE) once it > stabilizes but for now > using the runtime will help me keep users where they belong. > > John W. Colby > www.ColbyConsulting.com > > On 9/13/2011 10:15 AM, Gustav Brock wrote: >> Hi John >> >> Non-profit and full Office 2010 doesn't match costly wise. Are you they > need Access on all machines? We've never had a client - profit or none - > with that demand; we always use the Office 2010 for home and small business > with the cheap PCK license. >> >> /gustav >> >> >>>>> jwcolby at colbyconsulting.com 13-09-2011 16:01>>> >> I have a small (non-profit) client that wants me to install full office > 2010 on all of their >> employees systems. However I want my Access App to run under the runtime. > Mostly just for that >> additional security of not allowing them access to design time stuff > unless they intentionally open >> the app under the full version. >> >> I have installed the runtime on other machines but I do not remember if > the runtime install allows >> me to set the destination (install) directory. >> >> Is anyone using the runtime? Any tips or tricks for this scenario? >> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Tue Sep 13 18:41:30 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 14 Sep 2011 09:41:30 +1000 Subject: [AccessD] Archives? In-Reply-To: <010201cc7247$2ee473b0$8cad5b10$@winhaven.net> References: <4E69FE18.6090404@colbyconsulting.com> <4348.24.35.110.93.1315588869.squirrel@mail.expedient.net> <000001cc708b$975c37b0$c614a710$@net> <4E6D2F07.12494.416CE508@stuart.lexacorp.com.pg> <002001cc7100$806bd130$81437390$@com.au> <010201cc7247$2ee473b0$8cad5b10$@winhaven.net> Message-ID: <001501cc726e$aa1c4450$fe54ccf0$@com.au> Thanks John, I appreciate you all have lives outside of Access D so happy to wait for when you can get a solution. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Wednesday, 14 September 2011 4:59 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Archives? Hi Daryl, We're looking into it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Sunday, September 11, 2011 11:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Archives? Hi Admin folks, Access D archives link from the website seems to be (still) down. I recall reading folks were having issues a while back, but of course I cannot access the archives to see what the solution might have been. >From memory there was a cunning secret link that still worked, or maybe >I was drunk at the time I read that? Any pointers? Cheers Darryl. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Sep 13 20:35:25 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 13 Sep 2011 18:35:25 -0700 Subject: [AccessD] New Windows 8 In-Reply-To: <2F9A0DD5E91F496C8AE781EC53B17173@creativesystemdesigns.com> References: <2F9A0DD5E91F496C8AE781EC53B17173@creativesystemdesigns.com> Message-ID: The first look of Windows 8 may be a bit of a curiosity. Actually, it is two products in one or a core with two distros...like Linux, given say, Lime and Ubuntu, each interface looks completely different but each has the same kernel. There will be the new default browser/cell phone type interface and then there will be Windows7. http://www.theregister.co.uk/2011/09/13/windows_8_preview/ I think this product is an evolutionary product...One part says desktop PC and the other says Web based browser. The interface is just a step on the journey which will lead away from the desktop PC to an internet support application. Many articles have been written saying it more bluntly, but this is the formal acceptance and official agreement, on the part of Microsoft. They have just acknowledged the truth and that is that the PC, as we know it, is dead. So boys and girls if you plan to be working in the computer industry, of the future get your internet skills ready. Learn about web servers, internet protocols, distributive databases, HTMLx, CSSx, JavaScript, web based graphics and cloud based applications (and all the forth-coming generations). It is going to be a thrilling ride as we launch off from the PC. Jim From dhb at flsi.com Tue Sep 13 20:48:22 2011 From: dhb at flsi.com (Darrell Burns) Date: Tue, 13 Sep 2011 18:48:22 -0700 Subject: [AccessD] Runtime when full version is installed In-Reply-To: <4E6F6253.2070808@colbyconsulting.com> References: <4E6F6253.2070808@colbyconsulting.com> Message-ID: <025001cc7280$6306eb80$2914c280$@flsi.com> Sorry if I'm answering this late but yes, I have just implemented A2010 runtime in a corporate environment where the workstations are running a mix of Office 2003 thru 2010. I had to jump thru 3 sets of hoops: 1) to send eMail messages, and 2) to jump over the security popups, and 3) to overcome the Office2010 SP1 development bug. I'd be happy to share my results if you're bedeviled by any of these quirks. The answer to your question " runtime install allows me to set the destination (install) directory" is YES. Darrell -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 13, 2011 7:02 AM To: Access Developers discussion and problem solving Subject: [AccessD] Runtime when full version is installed I have a small (non-profit) client that wants me to install full office 2010 on all of their employees systems. However I want my Access App to run under the runtime. Mostly just for that additional security of not allowing them access to design time stuff unless they intentionally open the app under the full version. I have installed the runtime on other machines but I do not remember if the runtime install allows me to set the destination (install) directory. Is anyone using the runtime? Any tips or tricks for this scenario? -- John W. Colby www.ColbyConsulting.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 Tue Sep 13 21:18:47 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 14 Sep 2011 12:18:47 +1000 Subject: [AccessD] New Windows 8 In-Reply-To: References: , <2F9A0DD5E91F496C8AE781EC53B17173@creativesystemdesigns.com>, Message-ID: <4E700F07.22290.383F13@stuart.lexacorp.com.pg> Maybe in the US where internet access is fast and bandiwdth is cheap. It will be many years before businesses in much of the world are prepared to go that way. -- Stuart On 13 Sep 2011 at 18:35, Jim Lawrence wrote: > Many articles have been written saying it more bluntly, but this is > the formal acceptance and official agreement, on the part of > Microsoft. They have just acknowledged the truth and that is that the > PC, as we know it, is dead. > > So boys and girls if you plan to be working in the computer industry, > of the future get your internet skills ready. Learn about web servers, > internet protocols, distributive databases, HTMLx, CSSx, JavaScript, > web based graphics and cloud based applications (and all the > forth-coming generations). > > It is going to be a thrilling ride as we launch off from the PC. > From darryl at whittleconsulting.com.au Tue Sep 13 21:27:23 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 14 Sep 2011 12:27:23 +1000 Subject: [AccessD] New Windows 8 In-Reply-To: <4E700F07.22290.383F13@stuart.lexacorp.com.pg> References: , <2F9A0DD5E91F496C8AE781EC53B17173@creativesystemdesigns.com>, <4E700F07.22290.383F13@stuart.lexacorp.com.pg> Message-ID: <002e01cc7285$d71b2900$85517b00$@com.au> Yeah, that is a good point. In many places in Oz the prices are steep and the speed woeful - especially outside of the Metro areas... And there is no use using someone else as there is only the one service provider in much of the country. Suck it up really. Hmmmmm. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, 14 September 2011 12:19 PM To: 'Discussion of Hardware and Software issues'; 'Off Topic'; 'Discussion concerning Visual Basic and related programming issues.'; 'Discussion concerning MS SQL Server'; 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New Windows 8 Maybe in the US where internet access is fast and bandiwdth is cheap. It will be many years before businesses in much of the world are prepared to go that way. -- Stuart On 13 Sep 2011 at 18:35, Jim Lawrence wrote: > Many articles have been written saying it more bluntly, but this is > the formal acceptance and official agreement, on the part of > Microsoft. They have just acknowledged the truth and that is that the > PC, as we know it, is dead. > > So boys and girls if you plan to be working in the computer industry, > of the future get your internet skills ready. Learn about web servers, > internet protocols, distributive databases, HTMLx, CSSx, JavaScript, > web based graphics and cloud based applications (and all the > forth-coming generations). > > It is going to be a thrilling ride as we launch off from the PC. > -- 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 Sep 14 15:31:01 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 14 Sep 2011 16:31:01 -0400 Subject: [AccessD] Numbers within a street Message-ID: I am working on a political campaign management app. The thing I need to do is post reports that identify the even and odd numbers on a given street. I inherited the db and have freedom to change it (it was written by amateurs and they know it and there are no hard feelings if I make a change, insofar as said change increases productivity). So... given a current field called StreetAddress, I want to break it into two fields, StreetNumber and StreetAddress, so that I can filter the even numbers for one report and the odd numbers for an identical report. How can I intelligently extract the data and populate my new columns? Example data: 123 Normal Street ' easy 234A Abnormal Street ' a tad trickier 2333-1070 Queen Street ' the 2333 part should fall into the StreetNumber field and the rest into the StreetAddress field. Any clever ideas how I might achieve this? TIA, Arthur From jimdettman at verizon.net Wed Sep 14 15:40:20 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 14 Sep 2011 16:40:20 -0400 Subject: [AccessD] Numbers within a street In-Reply-To: References: Message-ID: <2A48DB970C304F07A8F2486788C482D2@XPS> Well right now, it looks like you could split it at the first space. I doubt that it will be that simple though. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, September 14, 2011 04:31 PM To: Access Developers discussion and problem solving Subject: [AccessD] Numbers within a street I am working on a political campaign management app. The thing I need to do is post reports that identify the even and odd numbers on a given street. I inherited the db and have freedom to change it (it was written by amateurs and they know it and there are no hard feelings if I make a change, insofar as said change increases productivity). So... given a current field called StreetAddress, I want to break it into two fields, StreetNumber and StreetAddress, so that I can filter the even numbers for one report and the odd numbers for an identical report. How can I intelligently extract the data and populate my new columns? Example data: 123 Normal Street ' easy 234A Abnormal Street ' a tad trickier 2333-1070 Queen Street ' the 2333 part should fall into the StreetNumber field and the rest into the StreetAddress field. Any clever ideas how I might achieve this? TIA, Arthur -- 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 Sep 14 16:06:15 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 14 Sep 2011 17:06:15 -0400 Subject: [AccessD] Numbers within a street In-Reply-To: <2A48DB970C304F07A8F2486788C482D2@XPS> References: <2A48DB970C304F07A8F2486788C482D2@XPS> Message-ID: You're quite right. Given that the inputs have been largely entered by (gasp) db-ignorant volunteers, there may not be any simple extraction. But a simple query extracting (most of the) street numers will get us about 80% of the rows, and the remainder can be adjusted manually. That's my guess, anyway. Upon achievement of this interim step, it's a cinch to grab the odd and even numbers. In case you're wondering, this is to facilitate the people canvassing and/or hanging signs for the designated politician. My first shot at this target was back in the days of DOS. I wrote the campaign-management software for our recently-departed Jack Layton Back then I did it for free, because I believed in his vision. Now I'm doing it again, and again for free, because I believe in the NDP vision. A. On Wed, Sep 14, 2011 at 4:40 PM, Jim Dettman wrote: > > Well right now, it looks like you could split it at the first space. I > doubt that it will be that simple though. > > Jim. > > From stuart at lexacorp.com.pg Wed Sep 14 16:44:00 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 15 Sep 2011 07:44:00 +1000 Subject: [AccessD] Numbers within a street In-Reply-To: References: Message-ID: <4E712020.12464.4630E58@stuart.lexacorp.com.pg> A query Column =VAL(StreetAddress) will give you the street number in all of those cases. If all you want is whether it is odd or evem, then just create a query column =VAL(StrretAddress) Mod 2 If you want the Street Name by itself , a first pass would be =RIGHT$(StreetAddress, INSTR(StreetAddress," ") + 1) Note: In your third example, VAL() returns just the 2333. If looking for the street name, I would want "Queen Street", not "1070 Queen Street", so you lose data when splitting. For the actual address, you'd use the original data rather that trying to put the Number and Streetname back together again. -- Stuart On 14 Sep 2011 at 16:31, Arthur Fuller wrote: > I am working on a political campaign management app. The thing I need > to do is post reports that identify the even and odd numbers on a > given street. I inherited the db and have freedom to change it (it was > written by amateurs and they know it and there are no hard feelings if > I make a change, insofar as said change increases productivity). > > So... given a current field called StreetAddress, I want to break it > into two fields, StreetNumber and StreetAddress, so that I can filter > the even numbers for one report and the odd numbers for an identical > report. How can I intelligently extract the data and populate my new > columns? > > Example data: > > 123 Normal Street ' easy > 234A Abnormal Street ' a tad trickier > 2333-1070 Queen Street ' the 2333 part should fall into the > StreetNumber field and the rest into the StreetAddress field. > > Any clever ideas how I might achieve this? > > TIA, > Arthur > -- > 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 Wed Sep 14 17:53:11 2011 From: ab-mi at post3.tele.dk (Asger Blond) Date: Thu, 15 Sep 2011 00:53:11 +0200 Subject: [AccessD] Numbers within a street In-Reply-To: <4E712020.12464.4630E58@stuart.lexacorp.com.pg> References: <4E712020.12464.4630E58@stuart.lexacorp.com.pg> Message-ID: <733989AEB1FE426DB045681A207AF183@abpc> But VAL wouldn't catch the street number 234A. A function like this might do the work: Function StreetNumber(Address As String) As String Dim strStreetNumber AS String strStreetNumber = Left(Address, InStr(Address, " ")) If InStr(Address, "-") > 0 Then strStreetNumber = Left(Address, InStr(Address, "-") - 1) End If StreetNumber = strStreetNumber End Function Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Stuart McLachlan Sendt: 14. september 2011 23:44 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Numbers within a street A query Column =VAL(StreetAddress) will give you the street number in all of those cases. If all you want is whether it is odd or evem, then just create a query column =VAL(StrretAddress) Mod 2 If you want the Street Name by itself , a first pass would be =RIGHT$(StreetAddress, INSTR(StreetAddress," ") + 1) Note: In your third example, VAL() returns just the 2333. If looking for the street name, I would want "Queen Street", not "1070 Queen Street", so you lose data when splitting. For the actual address, you'd use the original data rather that trying to put the Number and Streetname back together again. -- Stuart On 14 Sep 2011 at 16:31, Arthur Fuller wrote: > I am working on a political campaign management app. The thing I need > to do is post reports that identify the even and odd numbers on a > given street. I inherited the db and have freedom to change it (it was > written by amateurs and they know it and there are no hard feelings if > I make a change, insofar as said change increases productivity). > > So... given a current field called StreetAddress, I want to break it > into two fields, StreetNumber and StreetAddress, so that I can filter > the even numbers for one report and the odd numbers for an identical > report. How can I intelligently extract the data and populate my new > columns? > > Example data: > > 123 Normal Street ' easy > 234A Abnormal Street ' a tad trickier > 2333-1070 Queen Street ' the 2333 part should fall into the > StreetNumber field and the rest into the StreetAddress field. > > Any clever ideas how I might achieve this? > > TIA, > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Wed Sep 14 18:19:40 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 14 Sep 2011 19:19:40 -0400 Subject: [AccessD] Numbers within a street In-Reply-To: <733989AEB1FE426DB045681A207AF183@abpc> References: <4E712020.12464.4630E58@stuart.lexacorp.com.pg> <733989AEB1FE426DB045681A207AF183@abpc> Message-ID: Thanks for this, Asger. But ultimately, it would be better to teach the volunteers that there is a separate textbox for the Number and another for the street. And thinking down the road, it frequently happens that the fuling party gets to re-draw the electoral map, moving this and that street into a block guaranteed to win a legislative seat, and shunting the others into NowwhereLand. All parties in Canada are guilty of this bad behaviour, so it's impossible to side with any given one and claim the high road. They all do it. The ideal campaign-management software would easily accommodate this sad reality, and make it simple to transfer streets x, y and z, and perhaps street numbers t, u and v, to another riding, to correspond to the latest dicta from the governing party. This would be way slick, and might even prove a deterrent to mitigate such shenanigans: you re-draw the boundaries and presto, one click and we've dealt with it! There's a whole other ball of wax that we don't experience in Canada. I believe the American term for it is "pork barrel". It means that a bunch of stuff gets tacked on to an otherwise virgin bill. I'm not a USA citizen or dweller but I do read the news, and from what I have gleaned, the above is an accurate description of what happens. I find it hilarious that about 90% of the populace in USA is against open immigration policies, while virtually all of same are either first or second-generation immigrants. There is a word for this kind of behavior, and I don't mean "hypocrite", which is emotionally loaded. There is another word for this behavior, and I challenge you to name it. Arthur On Wed, Sep 14, 2011 at 6:53 PM, Asger Blond wrote: > But VAL wouldn't catch the street number 234A. > A function like this might do the work: > > Function StreetNumber(Address As String) As String > Dim strStreetNumber AS String > strStreetNumber = Left(Address, InStr(Address, " ")) > If InStr(Address, "-") > 0 Then > strStreetNumber = Left(Address, InStr(Address, "-") - 1) > End If > StreetNumber = strStreetNumber > End Function > > Asger > From darryl at whittleconsulting.com.au Wed Sep 14 18:42:14 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 15 Sep 2011 09:42:14 +1000 Subject: [AccessD] Numbers within a street In-Reply-To: References: Message-ID: <000f01cc7337$eed9d2f0$cc8d78d0$@com.au> Arthur I would sort the data first. Then I would export it to Excel - your issue here will be the size of the dataset although if you are using XL2007+ this is less of a hurdle By having the data sorted you should be able to get the low hanging fruit early. That is the "24 MyStreet Ave" and deal with them all pretty much in one go. You can then use the "Text to Columns" function to split the data. If you do it in groups you might find you get a lot of it done easily. Given how messy this sort of data is going to be, I feel eyeballing it manually is going to be your best approach. This will allow you to group it into data chucks that you can then run a function or script over and get a result. Anyway. Good luck. It is usually a messy process as there are many dissimilar valid combinations with address Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, 15 September 2011 6:31 AM To: Access Developers discussion and problem solving Subject: [AccessD] Numbers within a street I am working on a political campaign management app. The thing I need to do is post reports that identify the even and odd numbers on a given street. I inherited the db and have freedom to change it (it was written by amateurs and they know it and there are no hard feelings if I make a change, insofar as said change increases productivity). So... given a current field called StreetAddress, I want to break it into two fields, StreetNumber and StreetAddress, so that I can filter the even numbers for one report and the odd numbers for an identical report. How can I intelligently extract the data and populate my new columns? Example data: 123 Normal Street ' easy 234A Abnormal Street ' a tad trickier 2333-1070 Queen Street ' the 2333 part should fall into the StreetNumber field and the rest into the StreetAddress field. Any clever ideas how I might achieve this? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Wed Sep 14 19:07:47 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 14 Sep 2011 20:07:47 -0400 Subject: [AccessD] Numbers within a street References: <4E712020.12464.4630E58@stuart.lexacorp.com.pg><733989AEB1FE426DB045681A207AF183@abpc> Message-ID: <0069F3C180D74086BF98CD281F733A1C@SusanHarkins> > I find it hilarious that about 90% of the populace in USA is against open > immigration policies, while virtually all of same are either first or > second-generation immigrants. There is a word for this kind of behavior, > and > I don't mean "hypocrite", which is emotionally loaded. There is another > word > for this behavior, and I challenge you to name it. =====Check your percentages Arthur -- totally out of whack. Susan H. From stuart at lexacorp.com.pg Wed Sep 14 19:08:57 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 15 Sep 2011 10:08:57 +1000 Subject: [AccessD] Numbers within a street In-Reply-To: <733989AEB1FE426DB045681A207AF183@abpc> References: , <4E712020.12464.4630E58@stuart.lexacorp.com.pg>, <733989AEB1FE426DB045681A207AF183@abpc> Message-ID: <4E714219.5762.4E7C27D@stuart.lexacorp.com.pg> It will for Arthur's purpose. Val(234A....) returns 234 which is on the Even side of the street. There is no real difference between 234A and 2333-1070. The initial numeric part (234, 2333) identifies the building location, the rest just identifies something such as the apartment number within the building. -- Stuart On 15 Sep 2011 at 0:53, Asger Blond wrote: > But VAL wouldn't catch the street number 234A. > A function like this might do the work: > > Function StreetNumber(Address As String) As String > Dim strStreetNumber AS String > strStreetNumber = Left(Address, InStr(Address, " ")) > If InStr(Address, "-") > 0 Then > strStreetNumber = Left(Address, InStr(Address, "-") - 1) > End If > StreetNumber = strStreetNumber > End Function > > Asger > > -----Oprindelig meddelelse----- > Fra: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Stuart > McLachlan Sendt: 14. september 2011 23:44 Til: Access Developers > discussion and problem solving Emne: Re: [AccessD] Numbers within a > street > > A query Column =VAL(StreetAddress) will give you the street number in > all of those cases. > > If all you want is whether it is odd or evem, then just create a query > column =VAL(StrretAddress) Mod 2 > > If you want the Street Name by itself , a first pass would be > =RIGHT$(StreetAddress, INSTR(StreetAddress," ") + 1) > > Note: In your third example, VAL() returns just the 2333. If looking > for the street name, I would want "Queen Street", not "1070 Queen > Street", so you lose data when splitting. For the actual address, > you'd use the original data rather that trying to put the Number and > Streetname back together again. > > -- > Stuart > > On 14 Sep 2011 at 16:31, Arthur Fuller wrote: > > > I am working on a political campaign management app. The thing I > > need to do is post reports that identify the even and odd numbers on > > a given street. I inherited the db and have freedom to change it (it > > was written by amateurs and they know it and there are no hard > > feelings if I make a change, insofar as said change increases > > productivity). > > > > So... given a current field called StreetAddress, I want to break it > > into two fields, StreetNumber and StreetAddress, so that I can > > filter the even numbers for one report and the odd numbers for an > > identical report. How can I intelligently extract the data and > > populate my new columns? > > > > Example data: > > > > 123 Normal Street ' easy > > 234A Abnormal Street ' a tad trickier > > 2333-1070 Queen Street ' the 2333 part should fall into the > > StreetNumber field and the rest into the StreetAddress field. > > > > Any clever ideas how I might achieve this? > > > > TIA, > > Arthur > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From karenr7 at q.com Wed Sep 14 19:09:32 2011 From: karenr7 at q.com (Karen Rosenstiel) Date: Wed, 14 Sep 2011 17:09:32 -0700 Subject: [AccessD] Numbers within a street In-Reply-To: <0069F3C180D74086BF98CD281F733A1C@SusanHarkins> References: <4E712020.12464.4630E58@stuart.lexacorp.com.pg><733989AEB1FE426DB045681A207AF183@abpc> <0069F3C180D74086BF98CD281F733A1C@SusanHarkins> Message-ID: <000c01cc733b$bef0d260$3cd27720$@com> And some of us have families that have been here a little longer than that. Native Americans, anyone? My own ancestors are johnny-come-latelies; only here since 1603. 90% ??? I don't think so. Regards, Karen Rosenstiel Seattle WA USA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, September 14, 2011 5:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Numbers within a street > I find it hilarious that about 90% of the populace in USA is against open > immigration policies, while virtually all of same are either first or > second-generation immigrants. There is a word for this kind of behavior, > and > I don't mean "hypocrite", which is emotionally loaded. There is another > word > for this behavior, and I challenge you to name it. =====Check your percentages Arthur -- totally out of whack. 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 Wed Sep 14 19:10:36 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 15 Sep 2011 10:10:36 +1000 Subject: [AccessD] Numbers within a street In-Reply-To: References: , <733989AEB1FE426DB045681A207AF183@abpc>, Message-ID: <4E71427C.21165.4E94294@stuart.lexacorp.com.pg> To deal with things like "234A Abnormal St" and "2333-1017 Queen St", you need three fields: Building Number Apartment/Dwelling Identifier Street Name -- Stuart On 14 Sep 2011 at 19:19, Arthur Fuller wrote: > Thanks for this, Asger. But ultimately, it would be better to teach > the volunteers that there is a separate textbox for the Number and > another for the street. > > And thinking down the road, it frequently happens that the fuling > party gets to re-draw the electoral map, moving this and that street > into a block guaranteed to win a legislative seat, and shunting the > others into NowwhereLand. All parties in Canada are guilty of this bad > behaviour, so it's impossible to side with any given one and claim the > high road. They all do it. > > The ideal campaign-management software would easily accommodate this > sad reality, and make it simple to transfer streets x, y and z, and > perhaps street numbers t, u and v, to another riding, to correspond to > the latest dicta from the governing party. This would be way slick, > and might even prove a deterrent to mitigate such shenanigans: you > re-draw the boundaries and presto, one click and we've dealt with it! > > There's a whole other ball of wax that we don't experience in Canada. > I believe the American term for it is "pork barrel". It means that a > bunch of stuff gets tacked on to an otherwise virgin bill. > > I'm not a USA citizen or dweller but I do read the news, and from what > I have gleaned, the above is an accurate description of what happens. > > I find it hilarious that about 90% of the populace in USA is against > open immigration policies, while virtually all of same are either > first or second-generation immigrants. There is a word for this kind > of behavior, and I don't mean "hypocrite", which is emotionally > loaded. There is another word for this behavior, and I challenge you > to name it. > > Arthur > > On Wed, Sep 14, 2011 at 6:53 PM, Asger Blond > wrote: > > > But VAL wouldn't catch the street number 234A. > > A function like this might do the work: > > > > Function StreetNumber(Address As String) As String > > Dim strStreetNumber AS String > > strStreetNumber = Left(Address, InStr(Address, " ")) > > If InStr(Address, "-") > 0 Then > > strStreetNumber = Left(Address, InStr(Address, "-") - 1) > > End If > > StreetNumber = strStreetNumber > > End Function > > > > Asger > > > -- > 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 Sep 14 19:17:31 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 15 Sep 2011 10:17:31 +1000 Subject: [AccessD] Numbers within a street In-Reply-To: <000f01cc7337$eed9d2f0$cc8d78d0$@com.au> References: , <000f01cc7337$eed9d2f0$cc8d78d0$@com.au> Message-ID: <4E71441B.26776.4EF98A0@stuart.lexacorp.com.pg> Why Excel? It's much easier in Access. I do this a lot. 1. Add the new required new fields. 2. Run a query to update the fields where everything before the first space is numeric using suitable functions. 3. Filter the table to only show records where the new fields are empty. 4. Look for the next common pattern and update all records where the new fields are empty with an appropriate function. Repeat 3 and 4 until you get down to a small subset that is easier to update manually. -- Stuart On 15 Sep 2011 at 9:42, Darryl Collins wrote: > Arthur > > I would sort the data first. > > Then I would export it to Excel - your issue here will be the size of > the dataset although if you are using XL2007+ this is less of a hurdle > > By having the data sorted you should be able to get the low hanging > fruit early. That is the "24 MyStreet Ave" and deal with them all > pretty much in one go. > > You can then use the "Text to Columns" function to split the data. > > If you do it in groups you might find you get a lot of it done easily. > > Given how messy this sort of data is going to be, I feel eyeballing it > manually is going to be your best approach. This will allow you to > group it into data chucks that you can then run a function or script > over and get a result. > > Anyway. Good luck. It is usually a messy process as there are many > dissimilar valid combinations with address > > Cheers > Darryl > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur > Fuller Sent: Thursday, 15 September 2011 6:31 AM To: Access Developers > discussion and problem solving Subject: [AccessD] Numbers within a > street > > I am working on a political campaign management app. The thing I need > to do is post reports that identify the even and odd numbers on a > given street. I inherited the db and have freedom to change it (it was > written by amateurs and they know it and there are no hard feelings if > I make a change, insofar as said change increases productivity). > > So... given a current field called StreetAddress, I want to break it > into two fields, StreetNumber and StreetAddress, so that I can filter > the even numbers for one report and the odd numbers for an identical > report. How can I intelligently extract the data and populate my new > columns? > > Example data: > > 123 Normal Street ' easy > 234A Abnormal Street ' a tad trickier > 2333-1070 Queen Street ' the 2333 part should fall into the > StreetNumber field and the rest into the StreetAddress field. > > Any clever ideas how I might achieve this? > > TIA, > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Wed Sep 14 20:07:28 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 15 Sep 2011 11:07:28 +1000 Subject: [AccessD] Numbers within a street In-Reply-To: <4E71441B.26776.4EF98A0@stuart.lexacorp.com.pg> References: , <000f01cc7337$eed9d2f0$cc8d78d0$@com.au> <4E71441B.26776.4EF98A0@stuart.lexacorp.com.pg> Message-ID: <001001cc7343$d7090f40$851b2dc0$@com.au> Heh, I guess it shows my long term background. I like Excel for really messy jobs as you can break the data up easily and I know how to do a lot of fast and sneaky tricks on it. Faster than I know how to in Access anyway. I don't doubt if you are less of a hack than me than Access could be a good tool for the job. In this case I would be the constraint in the system, rather than the software itself. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, 15 September 2011 10:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Numbers within a street Why Excel? It's much easier in Access. I do this a lot. 1. Add the new required new fields. 2. Run a query to update the fields where everything before the first space is numeric using suitable functions. 3. Filter the table to only show records where the new fields are empty. 4. Look for the next common pattern and update all records where the new fields are empty with an appropriate function. Repeat 3 and 4 until you get down to a small subset that is easier to update manually. -- Stuart On 15 Sep 2011 at 9:42, Darryl Collins wrote: > Arthur > > I would sort the data first. > > Then I would export it to Excel - your issue here will be the size of > the dataset although if you are using XL2007+ this is less of a hurdle > > By having the data sorted you should be able to get the low hanging > fruit early. That is the "24 MyStreet Ave" and deal with them all > pretty much in one go. > > You can then use the "Text to Columns" function to split the data. > > If you do it in groups you might find you get a lot of it done easily. > > Given how messy this sort of data is going to be, I feel eyeballing it > manually is going to be your best approach. This will allow you to > group it into data chucks that you can then run a function or script > over and get a result. > > Anyway. Good luck. It is usually a messy process as there are many > dissimilar valid combinations with address > > Cheers > Darryl > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur > Fuller Sent: Thursday, 15 September 2011 6:31 AM To: Access Developers > discussion and problem solving Subject: [AccessD] Numbers within a > street > > I am working on a political campaign management app. The thing I need > to do is post reports that identify the even and odd numbers on a > given street. I inherited the db and have freedom to change it (it was > written by amateurs and they know it and there are no hard feelings if > I make a change, insofar as said change increases productivity). > > So... given a current field called StreetAddress, I want to break it > into two fields, StreetNumber and StreetAddress, so that I can filter > the even numbers for one report and the odd numbers for an identical > report. How can I intelligently extract the data and populate my new > columns? > > Example data: > > 123 Normal Street ' easy > 234A Abnormal Street ' a tad trickier > 2333-1070 Queen Street ' the 2333 part should fall into the > StreetNumber field and the rest into the StreetAddress field. > > Any clever ideas how I might achieve this? > > TIA, > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Sep 14 21:47:28 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 14 Sep 2011 22:47:28 -0400 Subject: [AccessD] How does Access locking work Message-ID: <4E716740.9090909@colbyconsulting.com> I need to find documentation about the actual locking mechanism for Access. I vaguely remember something about Jet using a file, and (IIRC) applying system locks to pieces out past the end of that file. It is all very old memories and I am not finding anything "real" about the actual details. Anyone know what it was I read so long ago? -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Wed Sep 14 21:54:31 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 14 Sep 2011 22:54:31 -0400 Subject: [AccessD] SSDs and BE storage Message-ID: <4E7168E7.2000502@colbyconsulting.com> Does anyone have experience with using an SSD (or SSD RAID) to store the Access BEs? Does it significantly speed up the database? My client has a pretty large (by Access standards) database. It is a call center application and they do mostly reads (viewing claim data as they talk to the client), but do a fair amount of "documenting" the phone calls by writing notes. About 25 users in the database all day. It seems logical that the SSDs enormous IOPS and streaming reads would speed things up but I have never seen any actual studies or documented usage data. -- John W. Colby www.ColbyConsulting.com From charlotte.foust at gmail.com Wed Sep 14 21:54:43 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 14 Sep 2011 19:54:43 -0700 Subject: [AccessD] How does Access locking work In-Reply-To: <4E716740.9090909@colbyconsulting.com> References: <4E716740.9090909@colbyconsulting.com> Message-ID: Are you talking about the ldb file, John? That was the lock file for Jet. That's reaching waaaay back but there's probably something in the archives. Charlotte Foust On Wed, Sep 14, 2011 at 7:47 PM, jwcolby wrote: > I need to find documentation about the actual locking mechanism for Access. > I vaguely remember something about Jet using a file, and (IIRC) applying > system locks to pieces out past the end of that file. It is all very old > memories and I am not finding anything "real" about the actual details. > > Anyone know what it was I read so long ago? > > -- > John W. Colby > www.ColbyConsulting.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From jwcolby at colbyconsulting.com Wed Sep 14 22:08:44 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 14 Sep 2011 23:08:44 -0400 Subject: [AccessD] mysql BE for Access? Message-ID: <4E716C3C.7080404@colbyconsulting.com> Is this doable? I am using SQL Server as the data store for Access and positively love it but it is expensive. Is anyone using MySQL or some other cheap / free but powerful data store with Access? -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Wed Sep 14 22:10:55 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 14 Sep 2011 23:10:55 -0400 Subject: [AccessD] How does Access locking work In-Reply-To: References: <4E716740.9090909@colbyconsulting.com> Message-ID: <4E716CBF.1070503@colbyconsulting.com> I am not really sure actually. I find stuff about the lock file but only what is actually in the lock file and that is just two pieces of info (username / workstation I think). I am talking about placing locks on records / pages, parts of the database file etc. How and where is that physically implemented. John W. Colby www.ColbyConsulting.com On 9/14/2011 10:54 PM, Charlotte Foust wrote: > Are you talking about the ldb file, John? That was the lock file for Jet. > That's reaching waaaay back but there's probably something in the archives. > > Charlotte Foust > On Wed, Sep 14, 2011 at 7:47 PM, jwcolbywrote: > >> I need to find documentation about the actual locking mechanism for Access. >> I vaguely remember something about Jet using a file, and (IIRC) applying >> system locks to pieces out past the end of that file. It is all very old >> memories and I am not finding anything "real" about the actual details. >> >> Anyone know what it was I read so long ago? >> >> -- >> John W. Colby >> www.ColbyConsulting.com >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> >> >> Website: http://www.databaseadvisors.**com >> >> >> From accessd at shaw.ca Wed Sep 14 22:21:27 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 14 Sep 2011 20:21:27 -0700 Subject: [AccessD] Numbers within a street In-Reply-To: References: Message-ID: <4271468061D041CE993701EA0E4A963A@creativesystemdesigns.com> Hi Arthur: Fixing data is as hard as writing the program. I would slowly extract the data and fix the data one pass at a time. Checking to see that there is no weird results, after each pass...you might have to go in and do some manual fixes, as there are always records that defy any translators (and there is no point writing 100 lines of code to fix 10 records). Depending on the complexity of the data and your code, 3 to 5 passes is not unusual before a clean set of data can be obtained. Many years ago, I wrote a "riding" application, which would put a canvasser's data into the correct poll just from a poll's legal description. If you need any assistance, I would be glad to help. I also have the appropriate credentials, heritage and my official retirement is close at hand. ;-) You can contact me off line, if you would like. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, September 14, 2011 1:31 PM To: Access Developers discussion and problem solving Subject: [AccessD] Numbers within a street I am working on a political campaign management app. The thing I need to do is post reports that identify the even and odd numbers on a given street. I inherited the db and have freedom to change it (it was written by amateurs and they know it and there are no hard feelings if I make a change, insofar as said change increases productivity). So... given a current field called StreetAddress, I want to break it into two fields, StreetNumber and StreetAddress, so that I can filter the even numbers for one report and the odd numbers for an identical report. How can I intelligently extract the data and populate my new columns? Example data: 123 Normal Street ' easy 234A Abnormal Street ' a tad trickier 2333-1070 Queen Street ' the 2333 part should fall into the StreetNumber field and the rest into the StreetAddress field. Any clever ideas how I might achieve this? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Sep 14 22:43:58 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 14 Sep 2011 20:43:58 -0700 Subject: [AccessD] Numbers within a street In-Reply-To: <4271468061D041CE993701EA0E4A963A@creativesystemdesigns.com> References: <4271468061D041CE993701EA0E4A963A@creativesystemdesigns.com> Message-ID: <520670419AB7481C97A7E16CA3540DBB@HAL9007> Arthur: How many records need to be processed? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: September 14, 2011 8:21 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Numbers within a street Hi Arthur: Fixing data is as hard as writing the program. I would slowly extract the data and fix the data one pass at a time. Checking to see that there is no weird results, after each pass...you might have to go in and do some manual fixes, as there are always records that defy any translators (and there is no point writing 100 lines of code to fix 10 records). Depending on the complexity of the data and your code, 3 to 5 passes is not unusual before a clean set of data can be obtained. Many years ago, I wrote a "riding" application, which would put a canvasser's data into the correct poll just from a poll's legal description. If you need any assistance, I would be glad to help. I also have the appropriate credentials, heritage and my official retirement is close at hand. ;-) You can contact me off line, if you would like. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, September 14, 2011 1:31 PM To: Access Developers discussion and problem solving Subject: [AccessD] Numbers within a street I am working on a political campaign management app. The thing I need to do is post reports that identify the even and odd numbers on a given street. I inherited the db and have freedom to change it (it was written by amateurs and they know it and there are no hard feelings if I make a change, insofar as said change increases productivity). So... given a current field called StreetAddress, I want to break it into two fields, StreetNumber and StreetAddress, so that I can filter the even numbers for one report and the odd numbers for an identical report. How can I intelligently extract the data and populate my new columns? Example data: 123 Normal Street ' easy 234A Abnormal Street ' a tad trickier 2333-1070 Queen Street ' the 2333 part should fall into the StreetNumber field and the rest into the StreetAddress field. Any clever ideas how I might achieve this? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Wed Sep 14 22:53:51 2011 From: john at winhaven.net (John Bartow) Date: Wed, 14 Sep 2011 22:53:51 -0500 Subject: [AccessD] How does Access locking work In-Reply-To: <4E716CBF.1070503@colbyconsulting.com> References: <4E716740.9090909@colbyconsulting.com> <4E716CBF.1070503@colbyconsulting.com> Message-ID: <037401cc735b$151c82f0$3f5588d0$@winhaven.net> IIRC you can open the .ldb file in a text editor and see the contents. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, September 14, 2011 10:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How does Access locking work I am not really sure actually. I find stuff about the lock file but only what is actually in the lock file and that is just two pieces of info (username / workstation I think). I am talking about placing locks on records / pages, parts of the database file etc. How and where is that physically implemented. John W. Colby www.ColbyConsulting.com On 9/14/2011 10:54 PM, Charlotte Foust wrote: > Are you talking about the ldb file, John? That was the lock file for Jet. > That's reaching waaaay back but there's probably something in the archives. > > Charlotte Foust > On Wed, Sep 14, 2011 at 7:47 PM, jwcolbywrote: > >> I need to find documentation about the actual locking mechanism for Access. >> I vaguely remember something about Jet using a file, and (IIRC) >> applying system locks to pieces out past the end of that file. It is >> all very old memories and I am not finding anything "real" about the actual details. >> >> Anyone know what it was I read so long ago? >> >> -- >> John W. Colby >> www.ColbyConsulting.com >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd> eadvisors.com/mailman/listinfo/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 Sep 14 22:59:36 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 14 Sep 2011 23:59:36 -0400 Subject: [AccessD] mysql BE for Access? In-Reply-To: <4E716C3C.7080404@colbyconsulting.com> References: <4E716C3C.7080404@colbyconsulting.com> Message-ID: See my website for how to do exactly this, JC. www.artfulsoftware.com. There are chapters concerning this and also, should you require it, how to hook .NET to MySQL as well. HTH, Arthur On Wed, Sep 14, 2011 at 11:08 PM, jwcolby wrote: > Is this doable? I am using SQL Server as the data store for Access and > positively love it but it is expensive. > > Is anyone using MySQL or some other cheap / free but powerful data store > with Access? > From accessd at shaw.ca Wed Sep 14 23:05:02 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 14 Sep 2011 21:05:02 -0700 Subject: [AccessD] Numbers within a street In-Reply-To: <0069F3C180D74086BF98CD281F733A1C@SusanHarkins> References: <4E712020.12464.4630E58@stuart.lexacorp.com.pg> <733989AEB1FE426DB045681A207AF183@abpc> <0069F3C180D74086BF98CD281F733A1C@SusanHarkins> Message-ID: It all depends on which areas you come from. Some areas have some very stable populations, with many generations in one place. OTOH, many of the super fast growing cities and areas like LA, Vancouver, New York and Toronto are more than doubling in population in less than 20 years. (For example Vancouver had about 1 million in 1980 and is supposed to have over 3.5 million by 2020) There is a lot of fun with sorting the new arrivals. Half the names you cannot spell and other half you cannot pronounce. We have many East Indian and Chinese emigrants, in our area. Many of the east Indians have their title, like our equivalent of Mr. and Sir, embedded in the official name and then the Chinese have both their Chinese name and their English name, all of which can be extremely confusing. Then names do not signify inform you of where a person is from; example both English and Chinese have a very common last name of Lee... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, September 14, 2011 5:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Numbers within a street > I find it hilarious that about 90% of the populace in USA is against open > immigration policies, while virtually all of same are either first or > second-generation immigrants. There is a word for this kind of behavior, > and > I don't mean "hypocrite", which is emotionally loaded. There is another > word > for this behavior, and I challenge you to name it. =====Check your percentages Arthur -- totally out of whack. 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 Wed Sep 14 23:14:17 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 15 Sep 2011 14:14:17 +1000 Subject: [AccessD] mysql BE for Access? In-Reply-To: <4E716C3C.7080404@colbyconsulting.com> References: <4E716C3C.7080404@colbyconsulting.com> Message-ID: <4E717B99.28709.5C85F7B@stuart.lexacorp.com.pg> Yes with myODBC. I have one clieit with a MySQL based application and I built an Access FE with about 20 users (primarily Read Only). Works well. http://dev.mysql.com/downloads/connector/odbc/ -- Stuart On 14 Sep 2011 at 23:08, jwcolby wrote: > Is this doable? I am using SQL Server as the data store for Access > and positively love it but it is expensive. > > Is anyone using MySQL or some other cheap / free but powerful data > store with Access? > > -- > John W. Colby > www.ColbyConsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at Marlow.com Thu Sep 15 00:51:38 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 15 Sep 2011 00:51:38 -0500 Subject: [AccessD] How does Access locking work In-Reply-To: <4E716740.9090909@colbyconsulting.com> References: <4E716740.9090909@colbyconsulting.com> Message-ID: I think I have the old Jet white paper somewhere. But basically Jet would 'lock' the .ldb file where it needed to lock the .mdb. So the .mdb would never be locked (allowing for multiple edits), and the lock on the .mdb would be actually on the .ldb file. So say the .mdb was 100 megs. And it needed to lock the 50th megabyte, the .ldb file was always small (I think it was 64 bits per user, up to 255 users), so it would never reach the 50 meg size, but the 'lock' would be placed on the 'virtual' 50 meg point of the .ldb. Make sense? Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, September 14, 2011 9:47 PM To: Access Developers discussion and problem solving Subject: [AccessD] How does Access locking work I need to find documentation about the actual locking mechanism for Access. I vaguely remember something about Jet using a file, and (IIRC) applying system locks to pieces out past the end of that file. It is all very old memories and I am not finding anything "real" about the actual details. Anyone know what it was I read so long ago? -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From stephen at bondsoftware.co.nz Thu Sep 15 01:36:34 2011 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Thu, 15 Sep 2011 18:36:34 +1200 Subject: [AccessD] How does Access locking work In-Reply-To: <418DA397713F403A89FE0E8D479DD43A@BondSoftware.local> References: <4E716740.9090909@colbyconsulting.com> <418DA397713F403A89FE0E8D479DD43A@BondSoftware.local> Message-ID: John, I've scanned the first couple pages of the White Paper and sent you off-list. Stephen Bond -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, 15 September 2011 6:00 p.m. To: Stephen Subject: Re: [AccessD] How does Access locking work I think I have the old Jet white paper somewhere. But basically Jet would 'lock' the .ldb file where it needed to lock the .mdb. So the .mdb would never be locked (allowing for multiple edits), and the lock on the .mdb would be actually on the .ldb file. So say the .mdb was 100 megs. And it needed to lock the 50th megabyte, the .ldb file was always small (I think it was 64 bits per user, up to 255 users), so it would never reach the 50 meg size, but the 'lock' would be placed on the 'virtual' 50 meg point of the .ldb. Make sense? Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, September 14, 2011 9:47 PM To: Access Developers discussion and problem solving Subject: [AccessD] How does Access locking work I need to find documentation about the actual locking mechanism for Access. I vaguely remember something about Jet using a file, and (IIRC) applying system locks to pieces out past the end of that file. It is all very old memories and I am not finding anything "real" about the actual details. Anyone know what it was I read so long ago? -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Sep 15 05:22:48 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Sep 2011 06:22:48 -0400 Subject: [AccessD] How does Access locking work In-Reply-To: References: <4E716740.9090909@colbyconsulting.com> Message-ID: <4E71D1F8.6040105@colbyconsulting.com> It does make sense and that is what I am talking about. John W. Colby www.ColbyConsulting.com On 9/15/2011 1:51 AM, Drew Wutka wrote: > I think I have the old Jet white paper somewhere. But basically Jet > would 'lock' the .ldb file where it needed to lock the .mdb. So the > .mdb would never be locked (allowing for multiple edits), and the lock > on the .mdb would be actually on the .ldb file. > > So say the .mdb was 100 megs. And it needed to lock the 50th megabyte, > the .ldb file was always small (I think it was 64 bits per user, up to > 255 users), so it would never reach the 50 meg size, but the 'lock' > would be placed on the 'virtual' 50 meg point of the .ldb. > > Make sense? > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Wednesday, September 14, 2011 9:47 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] How does Access locking work > > I need to find documentation about the actual locking mechanism for > Access. I vaguely remember something about Jet using a file, and (IIRC) > applying system locks to pieces out past the end of that file. It is > all very old memories and I am not finding anything "real" about the > actual details. > > Anyone know what it was I read so long ago? > > -- > John W. Colby > www.ColbyConsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > The information contained in this transmission is intended only for the person or entity > to which it is addressed and may contain II-VI Proprietary and/or II-VI Business > Sensitive material. If you are not the intended recipient, please contact the sender > immediately and destroy the material in its entirety, whether electronic or hard copy. > You are notified that any review, retransmission, copying, disclosure, dissemination, > or other use of, or taking of any action in reliance upon this information by persons > or entities other than the intended recipient is prohibited. > > From jwcolby at colbyconsulting.com Thu Sep 15 06:32:23 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Sep 2011 07:32:23 -0400 Subject: [AccessD] How does Access locking work In-Reply-To: References: <4E716740.9090909@colbyconsulting.com> <418DA397713F403A89FE0E8D479DD43A@BondSoftware.local> Message-ID: <4E71E247.3040708@colbyconsulting.com> I found the white paper document out on the internet. http://support.microsoft.com/default.aspx?scid=kb;en-us;176670 I am trying to discover whether moving a client to an SSD for the BE will help with their speed issues. The lock part, what is weritten to the lock file, how often etc is a poorly understood part of the puzzle. John W. Colby www.ColbyConsulting.com On 9/15/2011 2:36 AM, Stephen Bond wrote: > John, I've scanned the first couple pages of the White Paper and sent > you off-list. > > Stephen Bond From jwcolby at colbyconsulting.com Thu Sep 15 06:34:56 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Sep 2011 07:34:56 -0400 Subject: [AccessD] How does Access locking work In-Reply-To: References: <4E716740.9090909@colbyconsulting.com> Message-ID: <4E71E2E0.8030603@colbyconsulting.com> So what is a lock? Something written to disk I assume? Where? Completely stored in memory? How do I speed that up. John W. Colby www.ColbyConsulting.com On 9/15/2011 1:51 AM, Drew Wutka wrote: > I think I have the old Jet white paper somewhere. But basically Jet > would 'lock' the .ldb file where it needed to lock the .mdb. So the > .mdb would never be locked (allowing for multiple edits), and the lock > on the .mdb would be actually on the .ldb file. > > So say the .mdb was 100 megs. And it needed to lock the 50th megabyte, > the .ldb file was always small (I think it was 64 bits per user, up to > 255 users), so it would never reach the 50 meg size, but the 'lock' > would be placed on the 'virtual' 50 meg point of the .ldb. > > Make sense? > > Drew From jimdettman at verizon.net Thu Sep 15 06:37:30 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 15 Sep 2011 07:37:30 -0400 Subject: [AccessD] How does Access locking work In-Reply-To: <4E71D1F8.6040105@colbyconsulting.com> References: <4E716740.9090909@colbyconsulting.com> <4E71D1F8.6040105@colbyconsulting.com> Message-ID: <14428EB56A674FD0933DD8BB9131A2F1@XPS> And that it's exactly. I have the white paper here somewhere written by Kevin Collins that describes the locking (even includes a DB lock utility you can use to poll locks). However it was never updated for JET 4.0 and record level locking. How that works has never been described anywhere. It's also incomplete in that it describes all the locks for 3.5, but locking in JET 4.0 was changed (besides the record locking), so the types of locks and when they are placed are different. What's your goal? Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, September 15, 2011 06:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How does Access locking work It does make sense and that is what I am talking about. John W. Colby www.ColbyConsulting.com On 9/15/2011 1:51 AM, Drew Wutka wrote: > I think I have the old Jet white paper somewhere. But basically Jet > would 'lock' the .ldb file where it needed to lock the .mdb. So the > .mdb would never be locked (allowing for multiple edits), and the lock > on the .mdb would be actually on the .ldb file. > > So say the .mdb was 100 megs. And it needed to lock the 50th megabyte, > the .ldb file was always small (I think it was 64 bits per user, up to > 255 users), so it would never reach the 50 meg size, but the 'lock' > would be placed on the 'virtual' 50 meg point of the .ldb. > > Make sense? > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Wednesday, September 14, 2011 9:47 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] How does Access locking work > > I need to find documentation about the actual locking mechanism for > Access. I vaguely remember something about Jet using a file, and (IIRC) > applying system locks to pieces out past the end of that file. It is > all very old memories and I am not finding anything "real" about the > actual details. > > Anyone know what it was I read so long ago? > > -- > John W. Colby > www.ColbyConsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > The information contained in this transmission is intended only for the person or entity > to which it is addressed and may contain II-VI Proprietary and/or II-VI Business > Sensitive material. If you are not the intended recipient, please contact the sender > immediately and destroy the material in its entirety, whether electronic or hard copy. > You are notified that any review, retransmission, copying, disclosure, dissemination, > or other use of, or taking of any action in reliance upon this information by persons > or entities other than the intended recipient is prohibited. > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Thu Sep 15 06:47:00 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 15 Sep 2011 07:47:00 -0400 Subject: [AccessD] How does Access locking work In-Reply-To: <4E71E2E0.8030603@colbyconsulting.com> References: <4E716740.9090909@colbyconsulting.com> <4E71E2E0.8030603@colbyconsulting.com> Message-ID: John, A lock is never written to disk. It's completely stored in memory (unless of course the OS starts paging to disk because it runs out of memory). <> Faster processor and/or memory. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, September 15, 2011 07:35 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How does Access locking work So what is a lock? Something written to disk I assume? Where? Completely stored in memory? How do I speed that up. John W. Colby www.ColbyConsulting.com On 9/15/2011 1:51 AM, Drew Wutka wrote: > I think I have the old Jet white paper somewhere. But basically Jet > would 'lock' the .ldb file where it needed to lock the .mdb. So the > .mdb would never be locked (allowing for multiple edits), and the lock > on the .mdb would be actually on the .ldb file. > > So say the .mdb was 100 megs. And it needed to lock the 50th megabyte, > the .ldb file was always small (I think it was 64 bits per user, up to > 255 users), so it would never reach the 50 meg size, but the 'lock' > would be placed on the 'virtual' 50 meg point of the .ldb. > > Make sense? > > Drew -- 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 Sep 15 07:23:51 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 15 Sep 2011 22:23:51 +1000 Subject: [AccessD] How does Access locking work In-Reply-To: References: <4E716740.9090909@colbyconsulting.com>, <4E71E2E0.8030603@colbyconsulting.com>, Message-ID: <4E71EE57.9701.78896D9@stuart.lexacorp.com.pg> If it is stored in memory, how can multi-user/ server based BEs work? How can my workstation read/write locks in the server's memory or the memory on another workstation and/or how can they read my memory? It must be physically written somewhere accessible to all users such as the lock file. -- Stuart On 15 Sep 2011 at 7:47, Jim Dettman wrote: > John, > > A lock is never written to disk. It's completely stored in memory > (unless > of course the OS starts paging to disk because it runs out of memory). > > <> > > Faster processor and/or memory. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, September 15, 2011 07:35 AM To: Access Developers > discussion and problem solving Subject: Re: [AccessD] How does Access > locking work > > So what is a lock? Something written to disk I assume? Where? > Completely stored in memory? How do I speed that up. > > John W. Colby > www.ColbyConsulting.com > > On 9/15/2011 1:51 AM, Drew Wutka wrote: > > I think I have the old Jet white paper somewhere. But basically Jet > > would 'lock' the .ldb file where it needed to lock the .mdb. So the > > .mdb would never be locked (allowing for multiple edits), and the > > lock on the .mdb would be actually on the .ldb file. > > > > So say the .mdb was 100 megs. And it needed to lock the 50th > > megabyte, the .ldb file was always small (I think it was 64 bits per > > user, up to 255 users), so it would never reach the 50 meg size, but > > the 'lock' would be placed on the 'virtual' 50 meg point of the > > .ldb. > > > > Make sense? > > > > Drew > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at verizon.net Thu Sep 15 07:39:58 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 15 Sep 2011 08:39:58 -0400 Subject: [AccessD] How does Access locking work In-Reply-To: <4E71EE57.9701.78896D9@stuart.lexacorp.com.pg> References: <4E716740.9090909@colbyconsulting.com>, <4E71E2E0.8030603@colbyconsulting.com>, <4E71EE57.9701.78896D9@stuart.lexacorp.com.pg> Message-ID: <06AA67ADF4DB4C56BF085FF7A0247C49@XPS> Stuart, It's the server that holds the locks, not the clients. The .LDB file is an array of 255 64 byte slots, one for each user. 32 bytes for the computer name, 32 bytes for the username. The .LDB file never grows physically beyond 16k. Each slot is matched to the slot in the database header page, where two bytes represent the operations the user is currently performing (reading/writing, index update, etc). The clients place lock requests against the .LDB file. By doing that, the .MDB file is always free to be read/written by any client. Windows OS's (and all others that I'm aware of) do not care if you try to lock part of a file that doesn't exist. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, September 15, 2011 08:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How does Access locking work If it is stored in memory, how can multi-user/ server based BEs work? How can my workstation read/write locks in the server's memory or the memory on another workstation and/or how can they read my memory? It must be physically written somewhere accessible to all users such as the lock file. -- Stuart On 15 Sep 2011 at 7:47, Jim Dettman wrote: > John, > > A lock is never written to disk. It's completely stored in memory > (unless > of course the OS starts paging to disk because it runs out of memory). > > <> > > Faster processor and/or memory. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, September 15, 2011 07:35 AM To: Access Developers > discussion and problem solving Subject: Re: [AccessD] How does Access > locking work > > So what is a lock? Something written to disk I assume? Where? > Completely stored in memory? How do I speed that up. > > John W. Colby > www.ColbyConsulting.com > > On 9/15/2011 1:51 AM, Drew Wutka wrote: > > I think I have the old Jet white paper somewhere. But basically Jet > > would 'lock' the .ldb file where it needed to lock the .mdb. So the > > .mdb would never be locked (allowing for multiple edits), and the > > lock on the .mdb would be actually on the .ldb file. > > > > So say the .mdb was 100 megs. And it needed to lock the 50th > > megabyte, the .ldb file was always small (I think it was 64 bits per > > user, up to 255 users), so it would never reach the 50 meg size, but > > the 'lock' would be placed on the 'virtual' 50 meg point of the > > .ldb. > > > > Make sense? > > > > Drew > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Thu Sep 15 07:47:34 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Sep 2011 08:47:34 -0400 Subject: [AccessD] mysql BE for Access? In-Reply-To: References: <4E716C3C.7080404@colbyconsulting.com> Message-ID: <4E71F3E6.2090301@colbyconsulting.com> Arthur, I purchased your e-book. Since you seem to be the resident expert... How doable is this? The database is currently Access MDB based, split into about 5 different BEs because of data size and speed issues. ~ 180 tables, ~ 10 major tables, ~1.2 million records in the largest major table. The data itself is not extraordinarily large as databases go, probably about 5 gigs today and up to 10 gigs in the next few years. ~25 users in the database all day every day. The server is currently a 4 physical core Intel based Dell server circa early 2K, running Windows 2000 x32, with 4 gigs of RAM. Replacing the server is in the plan but not in the immediate future - not in 2011. 1) What are realistic server hardware requirements? 2) Is MySQL highly threaded? Will a modern high core count processor help? Lots of memory? 3) Can I migrate existing mdbs / tables to mysql easily, quickly and safely? 4) Are there tools to assist with this? Can it be scripted? 5) Can I link back to these tables using odbc in a manner similar to what I do in SQL Server? 6) What is performance like? 7) Can mysql enforce relational integrity and all that? 8) Are there gui tools for table and index creation? 9) Any tricks or things I need to understand going in? Arthur, as mentioned I have purchased your book and will read it but I thought I'd get a discussion started about the reality of actually using mysql long term for a real production database with an Access front end, specifically the pain of setting up MySQL and doing the conversion. Anything anyone can tell me is most appreciated. John W. Colby www.ColbyConsulting.com On 9/14/2011 11:59 PM, Arthur Fuller wrote: > See my website for how to do exactly this, JC. www.artfulsoftware.com. There > are chapters concerning this and also, should you require it, how to hook > .NET to MySQL as well. > > HTH, > Arthur > > On Wed, Sep 14, 2011 at 11:08 PM, jwcolbywrote: > >> Is this doable? I am using SQL Server as the data store for Access and >> positively love it but it is expensive. >> >> Is anyone using MySQL or some other cheap / free but powerful data store >> with Access? >> From DWUTKA at Marlow.com Thu Sep 15 11:23:55 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 15 Sep 2011 11:23:55 -0500 Subject: [AccessD] How does Access locking work In-Reply-To: <4E71E2E0.8030603@colbyconsulting.com> References: <4E716740.9090909@colbyconsulting.com> <4E71E2E0.8030603@colbyconsulting.com> Message-ID: Stored in memory, by the OS. I know your programming days pre-date mine, so you should have had file writes where you were writing a specific section of a file. The OS 'locks' the section you are telling it you are writing to, then it performs the write. Same process with the .ldb lock, just a write never occurs. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, September 15, 2011 6:35 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How does Access locking work So what is a lock? Something written to disk I assume? Where? Completely stored in memory? How do I speed that up. John W. Colby www.ColbyConsulting.com On 9/15/2011 1:51 AM, Drew Wutka wrote: > I think I have the old Jet white paper somewhere. But basically Jet > would 'lock' the .ldb file where it needed to lock the .mdb. So the > .mdb would never be locked (allowing for multiple edits), and the lock > on the .mdb would be actually on the .ldb file. > > So say the .mdb was 100 megs. And it needed to lock the 50th > megabyte, the .ldb file was always small (I think it was 64 bits per > user, up to > 255 users), so it would never reach the 50 meg size, but the 'lock' > would be placed on the 'virtual' 50 meg point of the .ldb. > > Make sense? > > Drew -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From rusty.hammond at cpiqpc.com Thu Sep 15 11:27:55 2011 From: rusty.hammond at cpiqpc.com (Rusty Hammond) Date: Thu, 15 Sep 2011 11:27:55 -0500 Subject: [AccessD] mysql BE for Access? In-Reply-To: <4E71F3E6.2090301@colbyconsulting.com> References: <4E716C3C.7080404@colbyconsulting.com> <4E71F3E6.2090301@colbyconsulting.com> Message-ID: <49A286ABF515E94A8505CD14DEB721701744A15E@CPIEMAIL-EVS1.CPIQPC.NET> Arthur, just out of curiosity, have you used mySQL on a Linux server with Access linked to it? I just wondered about the performance vs. a windows OS based server/mySQL install. Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, September 15, 2011 7:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] mysql BE for Access? Arthur, I purchased your e-book. Since you seem to be the resident expert... How doable is this? The database is currently Access MDB based, split into about 5 different BEs because of data size and speed issues. ~ 180 tables, ~ 10 major tables, ~1.2 million records in the largest major table. The data itself is not extraordinarily large as databases go, probably about 5 gigs today and up to 10 gigs in the next few years. ~25 users in the database all day every day. The server is currently a 4 physical core Intel based Dell server circa early 2K, running Windows 2000 x32, with 4 gigs of RAM. Replacing the server is in the plan but not in the immediate future - not in 2011. 1) What are realistic server hardware requirements? 2) Is MySQL highly threaded? Will a modern high core count processor help? Lots of memory? 3) Can I migrate existing mdbs / tables to mysql easily, quickly and safely? 4) Are there tools to assist with this? Can it be scripted? 5) Can I link back to these tables using odbc in a manner similar to what I do in SQL Server? 6) What is performance like? 7) Can mysql enforce relational integrity and all that? 8) Are there gui tools for table and index creation? 9) Any tricks or things I need to understand going in? Arthur, as mentioned I have purchased your book and will read it but I thought I'd get a discussion started about the reality of actually using mysql long term for a real production database with an Access front end, specifically the pain of setting up MySQL and doing the conversion. Anything anyone can tell me is most appreciated. John W. Colby www.ColbyConsulting.com On 9/14/2011 11:59 PM, Arthur Fuller wrote: > See my website for how to do exactly this, JC. www.artfulsoftware.com. > There are chapters concerning this and also, should you require it, > how to hook .NET to MySQL as well. > > HTH, > Arthur > > On Wed, Sep 14, 2011 at 11:08 PM, jwcolbywrote: > >> Is this doable? I am using SQL Server as the data store for Access >> and positively love it but it is expensive. >> >> Is anyone using MySQL or some other cheap / free but powerful data >> store with Access? >> -- 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 jwcolby at colbyconsulting.com Thu Sep 15 12:30:40 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Sep 2011 13:30:40 -0400 Subject: [AccessD] mysql BE for Access? In-Reply-To: References: <4E716C3C.7080404@colbyconsulting.com> Message-ID: <4E723640.8060602@colbyconsulting.com> OK, I bought the ebook with updates. John W. Colby www.ColbyConsulting.com On 9/14/2011 11:59 PM, Arthur Fuller wrote: > See my website for how to do exactly this, JC. www.artfulsoftware.com. There > are chapters concerning this and also, should you require it, how to hook > .NET to MySQL as well. > > HTH, > Arthur > > On Wed, Sep 14, 2011 at 11:08 PM, jwcolbywrote: > >> Is this doable? I am using SQL Server as the data store for Access and >> positively love it but it is expensive. >> >> Is anyone using MySQL or some other cheap / free but powerful data store >> with Access? >> From rbgajewski at roadrunner.com Thu Sep 15 17:51:50 2011 From: rbgajewski at roadrunner.com (Bob Gajewski) Date: Thu, 15 Sep 2011 18:51:50 -0400 Subject: [AccessD] Numbers within a street In-Reply-To: References: Message-ID: Arthur Just my 2-cents ... I would not assume that 2333-1070 Queen Street has 2333 for the numeric ... Many places using the hyphenated format actually are putting the unit/suite/lot number in front of the address ... Your example might really be 1070 Queen Street, Unit 2333 ... This is quite prevalent in Canada, for example I know that only makes it murkier :-) Best regards, Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, September 14, 2011 16:31 PM To: Access Developers discussion and problem solving Subject: [AccessD] Numbers within a street I am working on a political campaign management app. The thing I need to do is post reports that identify the even and odd numbers on a given street. I inherited the db and have freedom to change it (it was written by amateurs and they know it and there are no hard feelings if I make a change, insofar as said change increases productivity). So... given a current field called StreetAddress, I want to break it into two fields, StreetNumber and StreetAddress, so that I can filter the even numbers for one report and the odd numbers for an identical report. How can I intelligently extract the data and populate my new columns? Example data: 123 Normal Street ' easy 234A Abnormal Street ' a tad trickier 2333-1070 Queen Street ' the 2333 part should fall into the StreetNumber field and the rest into the StreetAddress field. Any clever ideas how I might achieve this? TIA, Arthur -- 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 Sep 15 20:54:42 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 15 Sep 2011 21:54:42 -0400 Subject: [AccessD] Numbers within a street In-Reply-To: References: Message-ID: Nobody ever said this was going to be simple! Least of all, me. Way back when (in the DOS era) I wrote the original campaign-management software for our late lamented Jack Layton and his wife Olivia, back when they were city councillors. And we had problems then, and they continue to plague us. Sign posters work one half of a given street, and address-entry continues to be problematic for some simple algorithmic reply. Alack and alas, that's why they pay me the nonexistent big bucks. It's something to do, at least. I could instead be picking my nose. "And here is this week's Best Pick!" A. From accessd at shaw.ca Fri Sep 16 13:03:15 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 16 Sep 2011 11:03:15 -0700 Subject: [AccessD] Downloading In-Reply-To: <003f01cc73da$10e5eb70$32b1c250$@winhaven.net> References: <4E723D82.16000.8BDD768@stuart.lexacorp.com.pg> <003f01cc73da$10e5eb70$32b1c250$@winhaven.net> Message-ID: Hi All: Can anyone recommend a app that a client can use to stabilize a long download that may drop a few times and need to be resumed with no lose of data. There use to be a application called Vampire that would retry again and again on a long modem download, but that was many years ago. In this circumstance I can not get direct access to the client so they will have to install and setup such an app themselves... I have been come so use to stable or managed data streaming that I have not thought about dropping connections for a while so any thoughts would be greatly appreciated. TIA Jim From davidmcafee at gmail.com Fri Sep 16 14:30:59 2011 From: davidmcafee at gmail.com (David McAfee) Date: Fri, 16 Sep 2011 12:30:59 -0700 Subject: [AccessD] Downloading In-Reply-To: References: <4E723D82.16000.8BDD768@stuart.lexacorp.com.pg> <003f01cc73da$10e5eb70$32b1c250$@winhaven.net> Message-ID: If they have WinRar they can Rar the file into many smaller pieces. I've used this method many times. WinRar will extract it all into one file on the other end, no need to manually reassemble. On Fri, Sep 16, 2011 at 11:03 AM, Jim Lawrence wrote: > Hi All: > > Can anyone recommend a app that a client can use to stabilize a long > download that may drop a few times and need to be resumed with no lose of > data. > > There use to be a application called Vampire that would retry again and > again on a long modem download, but that was many years ago. In this > circumstance I can not get direct access to the client so they will have to > install and setup such an app themselves... > > I have been come so use to stable or managed data streaming that I have not > thought about dropping connections for a while so any thoughts would be > greatly appreciated. > > TIA > Jim > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Fri Sep 16 15:33:05 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 16 Sep 2011 13:33:05 -0700 Subject: [AccessD] Downloading In-Reply-To: References: <4E723D82.16000.8BDD768@stuart.lexacorp.com.pg> <003f01cc73da$10e5eb70$32b1c250$@winhaven.net> Message-ID: <751961C6BAD64A6CB8DD7CC59CBDC568@creativesystemdesigns.com> That is interesting but it is not quite what I mean. Within the download process an interruption may occur at any time. Many years ago when modems were the only access methods to the internet, a protocol named zmodem was commonly used as it could recover from a download interruption and then continue the download process, picking the file at the point of interruption with no data loss. Though the RAR method might be effective as the user can just start over at the last completed segment and at the end of the process just stick all the components together, I do not want the user to have to manage or manipulate the data in this fashion as the likelihood of error is in the extreme. What the client needs is a application the will handle all these complex issues...restart, if necessary and reassemble without involvement. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Friday, September 16, 2011 12:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Downloading If they have WinRar they can Rar the file into many smaller pieces. I've used this method many times. WinRar will extract it all into one file on the other end, no need to manually reassemble. On Fri, Sep 16, 2011 at 11:03 AM, Jim Lawrence wrote: > Hi All: > > Can anyone recommend a app that a client can use to stabilize a long > download that may drop a few times and need to be resumed with no lose of > data. > > There use to be a application called Vampire that would retry again and > again on a long modem download, but that was many years ago. In this > circumstance I can not get direct access to the client so they will have to > install and setup such an app themselves... > > I have been come so use to stable or managed data streaming that I have not > thought about dropping connections for a while so any thoughts would be > greatly appreciated. > > TIA > 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 davidmcafee at gmail.com Fri Sep 16 15:41:04 2011 From: davidmcafee at gmail.com (David McAfee) Date: Fri, 16 Sep 2011 13:41:04 -0700 Subject: [AccessD] Downloading In-Reply-To: <751961C6BAD64A6CB8DD7CC59CBDC568@creativesystemdesigns.com> References: <4E723D82.16000.8BDD768@stuart.lexacorp.com.pg> <003f01cc73da$10e5eb70$32b1c250$@winhaven.net> <751961C6BAD64A6CB8DD7CC59CBDC568@creativesystemdesigns.com> Message-ID: I was suggesting that as an alternative. Another thing you could do is torrent the file. A lot of torrent clients will automatically continue if the computer is reboot, and the torrent download restarted. I used to use BitTornado, not sure if they are still around as most of this stuff is blocked here at work as it is often used to download movies. On Fri, Sep 16, 2011 at 1:33 PM, Jim Lawrence wrote: > That is interesting but it is not quite what I mean. Within the download > process an interruption may occur at any time. > > Many years ago when modems were the only access methods to the internet, a > protocol named zmodem was commonly used as it could recover from a download > interruption and then continue the download process, picking the file at > the > point of interruption with no data loss. > > Though the RAR method might be effective as the user can just start over at > the last completed segment and at the end of the process just stick all the > components together, I do not want the user to have to manage or manipulate > the data in this fashion as the likelihood of error is in the extreme. > > What the client needs is a application the will handle all these complex > issues...restart, if necessary and reassemble without involvement. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee > Sent: Friday, September 16, 2011 12:31 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Downloading > > If they have WinRar they can Rar the file into many smaller pieces. > > I've used this method many times. > > WinRar will extract it all into one file on the other end, no need to > manually reassemble. > > > On Fri, Sep 16, 2011 at 11:03 AM, Jim Lawrence wrote: > > > Hi All: > > > > Can anyone recommend a app that a client can use to stabilize a long > > download that may drop a few times and need to be resumed with no lose of > > data. > > > > There use to be a application called Vampire that would retry again and > > again on a long modem download, but that was many years ago. In this > > circumstance I can not get direct access to the client so they will have > to > > install and setup such an app themselves... > > > > I have been come so use to stable or managed data streaming that I have > not > > thought about dropping connections for a while so any thoughts would be > > greatly appreciated. > > > > TIA > > 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 accessd at shaw.ca Fri Sep 16 16:14:25 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 16 Sep 2011 14:14:25 -0700 Subject: [AccessD] Downloading In-Reply-To: References: <4E723D82.16000.8BDD768@stuart.lexacorp.com.pg> <003f01cc73da$10e5eb70$32b1c250$@winhaven.net> <751961C6BAD64A6CB8DD7CC59CBDC568@creativesystemdesigns.com> Message-ID: <1C46D71DA73242ABA8DB834AF359ED69@creativesystemdesigns.com> Hi David: BitTorrent...excellent idea. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Friday, September 16, 2011 1:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Downloading I was suggesting that as an alternative. Another thing you could do is torrent the file. A lot of torrent clients will automatically continue if the computer is reboot, and the torrent download restarted. I used to use BitTornado, not sure if they are still around as most of this stuff is blocked here at work as it is often used to download movies. On Fri, Sep 16, 2011 at 1:33 PM, Jim Lawrence wrote: > That is interesting but it is not quite what I mean. Within the download > process an interruption may occur at any time. > > Many years ago when modems were the only access methods to the internet, a > protocol named zmodem was commonly used as it could recover from a download > interruption and then continue the download process, picking the file at > the > point of interruption with no data loss. > > Though the RAR method might be effective as the user can just start over at > the last completed segment and at the end of the process just stick all the > components together, I do not want the user to have to manage or manipulate > the data in this fashion as the likelihood of error is in the extreme. > > What the client needs is a application the will handle all these complex > issues...restart, if necessary and reassemble without involvement. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee > Sent: Friday, September 16, 2011 12:31 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Downloading > > If they have WinRar they can Rar the file into many smaller pieces. > > I've used this method many times. > > WinRar will extract it all into one file on the other end, no need to > manually reassemble. > > > On Fri, Sep 16, 2011 at 11:03 AM, Jim Lawrence wrote: > > > Hi All: > > > > Can anyone recommend a app that a client can use to stabilize a long > > download that may drop a few times and need to be resumed with no lose of > > data. > > > > There use to be a application called Vampire that would retry again and > > again on a long modem download, but that was many years ago. In this > > circumstance I can not get direct access to the client so they will have > to > > install and setup such an app themselves... > > > > I have been come so use to stable or managed data streaming that I have > not > > thought about dropping connections for a while so any thoughts would be > > greatly appreciated. > > > > TIA > > 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 shamil at smsconsulting.spb.ru Sat Sep 17 12:21:19 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 17 Sep 2011 21:21:19 +0400 Subject: [AccessD] Downloading In-Reply-To: References: <4E723D82.16000.8BDD768@stuart.lexacorp.com.pg><003f01cc73da$10e5eb70$32b1c250$@winhaven.net> Message-ID: <4F96CEBC873940C8B0419D73E934BBC3@nant> Hi Jim, FileZilla - http://filezilla-project.org/client_features.php ? Thank you. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: 16 ???????? 2011 ?. 22:03 To: 'Discussion of Hardware and Software issues'; 'Access Developers discussion and problem solving' Subject: [AccessD] Downloading Hi All: Can anyone recommend a app that a client can use to stabilize a long download that may drop a few times and need to be resumed with no lose of data. There use to be a application called Vampire that would retry again and again on a long modem download, but that was many years ago. In this circumstance I can not get direct access to the client so they will have to install and setup such an app themselves... I have been come so use to stable or managed data streaming that I have not thought about dropping connections for a while so any thoughts would be greatly appreciated. TIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sat Sep 17 12:38:32 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 17 Sep 2011 10:38:32 -0700 Subject: [AccessD] Downloading In-Reply-To: <4F96CEBC873940C8B0419D73E934BBC3@nant> References: <4E723D82.16000.8BDD768@stuart.lexacorp.com.pg> <003f01cc73da$10e5eb70$32b1c250$@winhaven.net> <4F96CEBC873940C8B0419D73E934BBC3@nant> Message-ID: <6FDA5457B886486097D44374DE1D2519@creativesystemdesigns.com> As meantioned on the DBA_tech list...Filezilla is definitely a first choice. Thanks Shamil. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, September 17, 2011 10:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Downloading Hi Jim, FileZilla - http://filezilla-project.org/client_features.php ? Thank you. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: 16 ???????? 2011 ?. 22:03 To: 'Discussion of Hardware and Software issues'; 'Access Developers discussion and problem solving' Subject: [AccessD] Downloading Hi All: Can anyone recommend a app that a client can use to stabilize a long download that may drop a few times and need to be resumed with no lose of data. There use to be a application called Vampire that would retry again and again on a long modem download, but that was many years ago. In this circumstance I can not get direct access to the client so they will have to install and setup such an app themselves... I have been come so use to stable or managed data streaming that I have not thought about dropping connections for a while so any thoughts would be greatly appreciated. TIA 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 jwcolby at colbyconsulting.com Sat Sep 17 18:24:13 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 17 Sep 2011 19:24:13 -0400 Subject: [AccessD] MySQL Message-ID: <4E752C1D.9060901@colbyconsulting.com> Today I built a Windows XP SP3 VM (x32) and installed MySQL Community Edition. I installed all the prereqs, the database and the ODBC connector. The .Net connector refused to install due to missing .net 2.0 or 4.0. I also installed the workbench. It looks very foreign. It is very foreign. This is the part of new technology I hate, that first look - "I don't recognize a thing" feeling. Being a vm, I have a boot drive and a data drive. The boot is 30 gigs and the data is 60 gigs. Let's hope that is enough, though one would think so for small databases. I am trying to learn enough to assist a client with evaluating MySQL for replacing his Access MDB data store. For now I have to figure out how to create a database. Is it the same concept as SQL Server? A file or set of files where tables, indexes, views etc are stored? I assumed there would be some visual designer that would allow me to create the db, then tables etc. It looks like that stuff is in "SQL Development". This thing looks pretty nice, but very different on the surface. -- John W. Colby www.ColbyConsulting.com From stuart at lexacorp.com.pg Sat Sep 17 18:51:42 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 18 Sep 2011 09:51:42 +1000 Subject: [AccessD] MySQL In-Reply-To: <4E752C1D.9060901@colbyconsulting.com> References: <4E752C1D.9060901@colbyconsulting.com> Message-ID: <4E75328E.20690.144B1BE3@stuart.lexacorp.com.pg> I run MySQL locally as part of a WAMP installation and remotely on our FreeBSD servers. I use phpMyAdmin for all the administration. It's a very intuitive interface. It's possibly worth installing WAMP just for the phpMyAdmin. -- Stuart On 17 Sep 2011 at 19:24, jwcolby wrote: > For now I have to figure out how to create a database. Is it the same > concept as SQL Server? A file or set of files where tables, indexes, > views etc are stored? I assumed there would be some visual designer > that would allow me to create the db, then tables etc. It looks like > that stuff is in "SQL Development". > > This thing looks pretty nice, but very different on the surface. > From jwcolby at colbyconsulting.com Sat Sep 17 19:53:31 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 17 Sep 2011 20:53:31 -0400 Subject: [AccessD] SQL Server security Message-ID: <4E75410B.1080607@colbyconsulting.com> I see logs of references to people probing ports looking for SQL Server ports (and mysql as well I assume). If I come in through a Hamachi VPN then I do not directly expose the port to the outside world correct? IOW the hacker would need to belong to my VPN network in order to directly get to the open port? -- John W. Colby www.ColbyConsulting.com From drcaa at click21.com.br Sun Sep 18 06:43:40 2011 From: drcaa at click21.com.br (drcaa at click21.com.br) Date: Sun, 18 Sep 2011 08:43:40 -0300 Subject: [AccessD] A2007 - importing objects from A2000 Message-ID: <1316346220.4e75d96c85e8c@webmail4.click21.com.br> Hi people! I have had a situation tryiong to use a A2000 database in A2007. Some forms (including a switchboard created by myself) and all reports are not shown in navigation pane. I tried to convert the database, tried to use in A2000 format and no success. Also tried to import all objects from A2000 database, but those objects I mentioned are not shown either. Any hints??? TIA, Carl?os Alberto Alves ___________________________________________________________________________________ Para fazer uma liga??o DDD pra perto ou pra longe, faz um 21. A Embratel tem tarifas muito baratas esperando por voc?. Aproveite! From vbacreations at gmail.com Sun Sep 18 07:46:51 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Sun, 18 Sep 2011 08:46:51 -0400 Subject: [AccessD] A2007 - importing objects from A2000 In-Reply-To: <1316346220.4e75d96c85e8c@webmail4.click21.com.br> References: <1316346220.4e75d96c85e8c@webmail4.click21.com.br> Message-ID: <001901cc7601$0a4d6170$1ee82450$@gmail.com> Are you able to create new objects at all in this database? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of drcaa at click21.com.br Sent: Sunday, September 18, 2011 7:44 AM To: accessd at databaseadvisors.com Subject: [AccessD] A2007 - importing objects from A2000 Hi people! I have had a situation tryiong to use a A2000 database in A2007. Some forms (including a switchboard created by myself) and all reports are not shown in navigation pane. I tried to convert the database, tried to use in A2000 format and no success. Also tried to import all objects from A2000 database, but those objects I mentioned are not shown either. Any hints??? TIA, Carl?os Alberto Alves ____________________________________________________________________________ _______ Para fazer uma liga??o DDD pra perto ou pra longe, faz um 21. A Embratel tem tarifas muito baratas esperando por voc?. Aproveite! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marklbreen at gmail.com Sun Sep 18 10:13:03 2011 From: marklbreen at gmail.com (Mark Breen) Date: Sun, 18 Sep 2011 16:13:03 +0100 Subject: [AccessD] Downloading In-Reply-To: <6FDA5457B886486097D44374DE1D2519@creativesystemdesigns.com> References: <4E723D82.16000.8BDD768@stuart.lexacorp.com.pg> <003f01cc73da$10e5eb70$32b1c250$@winhaven.net> <4F96CEBC873940C8B0419D73E934BBC3@nant> <6FDA5457B886486097D44374DE1D2519@creativesystemdesigns.com> Message-ID: Hello All, Can I add to that the FileZilla Client is great, but FileZilla Server is also great for me. I am using that for a few years now and it makes setting up FTP accounts nice and easy. Mark On 17 September 2011 18:38, Jim Lawrence wrote: > As meantioned on the DBA_tech list...Filezilla is definitely a first > choice. > > > Thanks Shamil. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Saturday, September 17, 2011 10:21 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Downloading > > Hi Jim, > > FileZilla - http://filezilla-project.org/client_features.php ? > > Thank you. > > -- > Shamil > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: 16 ???????? 2011 ?. 22:03 > To: 'Discussion of Hardware and Software issues'; 'Access Developers > discussion and problem solving' > Subject: [AccessD] Downloading > > Hi All: > > Can anyone recommend a app that a client can use to stabilize a long > download that may drop a few times and need to be resumed with no lose of > data. > > There use to be a application called Vampire that would retry again and > again on a long modem download, but that was many years ago. In this > circumstance I can not get direct access to the client so they will have to > install and setup such an app themselves... > > I have been come so use to stable or managed data streaming that I have not > thought about dropping connections for a while so any thoughts would be > greatly appreciated. > > TIA > 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 accessd at shaw.ca Sun Sep 18 10:30:07 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 18 Sep 2011 08:30:07 -0700 Subject: [AccessD] Downloading In-Reply-To: References: <4E723D82.16000.8BDD768@stuart.lexacorp.com.pg> <003f01cc73da$10e5eb70$32b1c250$@winhaven.net> <4F96CEBC873940C8B0419D73E934BBC3@nant> <6FDA5457B886486097D44374DE1D2519@creativesystemdesigns.com> Message-ID: Confer, both are excellent. :-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: Sunday, September 18, 2011 8:13 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Downloading Hello All, Can I add to that the FileZilla Client is great, but FileZilla Server is also great for me. I am using that for a few years now and it makes setting up FTP accounts nice and easy. Mark On 17 September 2011 18:38, Jim Lawrence wrote: > As meantioned on the DBA_tech list...Filezilla is definitely a first > choice. > > > Thanks Shamil. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Saturday, September 17, 2011 10:21 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Downloading > > Hi Jim, > > FileZilla - http://filezilla-project.org/client_features.php ? > > Thank you. > > -- > Shamil > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: 16 ???????? 2011 ?. 22:03 > To: 'Discussion of Hardware and Software issues'; 'Access Developers > discussion and problem solving' > Subject: [AccessD] Downloading > > Hi All: > > Can anyone recommend a app that a client can use to stabilize a long > download that may drop a few times and need to be resumed with no lose of > data. > > There use to be a application called Vampire that would retry again and > again on a long modem download, but that was many years ago. In this > circumstance I can not get direct access to the client so they will have to > install and setup such an app themselves... > > I have been come so use to stable or managed data streaming that I have not > thought about dropping connections for a while so any thoughts would be > greatly appreciated. > > TIA > 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 marksimms at verizon.net Sun Sep 18 10:45:00 2011 From: marksimms at verizon.net (Mark Simms) Date: Sun, 18 Sep 2011 11:45:00 -0400 Subject: [AccessD] MySQL, Tableau In-Reply-To: <4E752C1D.9060901@colbyconsulting.com> References: <4E752C1D.9060901@colbyconsulting.com> Message-ID: <003a01cc7619$ed5d0ca0$c81725e0$@net> Same thing happened to me when I installed Tableau recently. The first thing I wanted to do was "export to excel"....and OF COURSE, they made that very difficult. > It looks very foreign. It is very foreign. This is the part of new > technology I hate, that first > look - "I don't recognize a thing" feeling. From stuart at lexacorp.com.pg Sun Sep 18 16:36:38 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 19 Sep 2011 07:36:38 +1000 Subject: [AccessD] Downloading In-Reply-To: References: , <6FDA5457B886486097D44374DE1D2519@creativesystemdesigns.com>, Message-ID: <4E766466.4798.18F5D1D2@stuart.lexacorp.com.pg> I used to use Filezilla and still install the server where clients need one but I don't bother with separate FTP clients these days. Not since I found the FireFTP plugin for Firefox. Most of my FTP usage is for websites and it justs so easy to upload, switch tabs to the webpage and hit F5. Stuart On 18 Sep 2011 at 16:13, Mark Breen wrote: > Hello All, > > Can I add to that the FileZilla Client is great, but FileZilla Server > is also great for me. I am using that for a few years now and it > makes setting up FTP accounts nice and easy. > > Mark > > > On 17 September 2011 18:38, Jim Lawrence wrote: > > > As meantioned on the DBA_tech list...Filezilla is definitely a first > > choice. > > > > > > Thanks Shamil. > > > > Jim > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > > Salakhetdinov Sent: Saturday, September 17, 2011 10:21 AM To: > > 'Access Developers discussion and problem solving' Subject: Re: > > [AccessD] Downloading > > > > Hi Jim, > > > > FileZilla - http://filezilla-project.org/client_features.php ? > > > > Thank you. > > > > -- > > Shamil > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim > > Lawrence Sent: 16 ???????? 2011 ?. 22:03 To: 'Discussion of Hardware > > and Software issues'; 'Access Developers discussion and problem > > solving' Subject: [AccessD] Downloading > > > > Hi All: > > > > Can anyone recommend a app that a client can use to stabilize a long > > download that may drop a few times and need to be resumed with no > > lose of data. > > > > There use to be a application called Vampire that would retry again > > and again on a long modem download, but that was many years ago. In > > this circumstance I can not get direct access to the client so they > > will have to install and setup such an app themselves... > > > > I have been come so use to stable or managed data streaming that I > > have not thought about dropping connections for a while so any > > thoughts would be greatly appreciated. > > > > TIA > > 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 Sun Sep 18 19:48:47 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 18 Sep 2011 17:48:47 -0700 Subject: [AccessD] Downloading In-Reply-To: <4E766466.4798.18F5D1D2@stuart.lexacorp.com.pg> References: <6FDA5457B886486097D44374DE1D2519@creativesystemdesigns.com> <4E766466.4798.18F5D1D2@stuart.lexacorp.com.pg> Message-ID: <41DED998C7EE4ABDB21A5B8AA6E5B5F6@creativesystemdesigns.com> That sounds like a good idea. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, September 18, 2011 2:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Downloading I used to use Filezilla and still install the server where clients need one but I don't bother with separate FTP clients these days. Not since I found the FireFTP plugin for Firefox. Most of my FTP usage is for websites and it justs so easy to upload, switch tabs to the webpage and hit F5. Stuart On 18 Sep 2011 at 16:13, Mark Breen wrote: > Hello All, > > Can I add to that the FileZilla Client is great, but FileZilla Server > is also great for me. I am using that for a few years now and it > makes setting up FTP accounts nice and easy. > > Mark > > > On 17 September 2011 18:38, Jim Lawrence wrote: > > > As meantioned on the DBA_tech list...Filezilla is definitely a first > > choice. > > > > > > Thanks Shamil. > > > > Jim > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > > Salakhetdinov Sent: Saturday, September 17, 2011 10:21 AM To: > > 'Access Developers discussion and problem solving' Subject: Re: > > [AccessD] Downloading > > > > Hi Jim, > > > > FileZilla - http://filezilla-project.org/client_features.php ? > > > > Thank you. > > > > -- > > Shamil > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim > > Lawrence Sent: 16 ???????? 2011 ?. 22:03 To: 'Discussion of Hardware > > and Software issues'; 'Access Developers discussion and problem > > solving' Subject: [AccessD] Downloading > > > > Hi All: > > > > Can anyone recommend a app that a client can use to stabilize a long > > download that may drop a few times and need to be resumed with no > > lose of data. > > > > There use to be a application called Vampire that would retry again > > and again on a long modem download, but that was many years ago. In > > this circumstance I can not get direct access to the client so they > > will have to install and setup such an app themselves... > > > > I have been come so use to stable or managed data streaming that I > > have not thought about dropping connections for a while so any > > thoughts would be greatly appreciated. > > > > TIA > > 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 > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sun Sep 18 21:59:24 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 18 Sep 2011 22:59:24 -0400 Subject: [AccessD] Access to MySQL conversion Message-ID: <4E76B00C.5020204@colbyconsulting.com> Has anybody found a package to do this? I am finding some things but they look suspicious. -- John W. Colby www.ColbyConsulting.com From michaeljrobertson at gmail.com Sun Sep 18 22:50:36 2011 From: michaeljrobertson at gmail.com (Michael) Date: Mon, 19 Sep 2011 13:50:36 +1000 Subject: [AccessD] Access to MySQL conversion In-Reply-To: <4E76B00C.5020204@colbyconsulting.com> References: <4E76B00C.5020204@colbyconsulting.com> Message-ID: <001a01cc767f$4d508af0$e7f1a0d0$@gmail.com> John, Have a look at http://forums.mysql.com/list.php?65 This deals with Access/MySQL migrations as well as many other related matters. Michael -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, 19 September 2011 12:59 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access to MySQL conversion Has anybody found a package to do this? I am finding some things but they look suspicious. -- John W. Colby www.ColbyConsulting.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 Sep 19 11:52:30 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 19 Sep 2011 12:52:30 -0400 Subject: [AccessD] Access to MySQL conversion In-Reply-To: <001a01cc767f$4d508af0$e7f1a0d0$@gmail.com> References: <4E76B00C.5020204@colbyconsulting.com> <001a01cc767f$4d508af0$e7f1a0d0$@gmail.com> Message-ID: <4E77734E.50607@colbyconsulting.com> This was interesting http://25yearsofprogramming.com/blog/2010/20100718.htm Option #2 use Access to push structure and data. I will definitely be giving this a try. I may be able to do programmatically what he was doing manually which would make it pretty easy. John W. Colby www.ColbyConsulting.com On 9/18/2011 11:50 PM, Michael wrote: > John, > > Have a look at http://forums.mysql.com/list.php?65 > > This deals with Access/MySQL migrations as well as many other related > matters. > > Michael > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, 19 September 2011 12:59 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Access to MySQL conversion > > Has anybody found a package to do this? I am finding some things but they > look suspicious. > From rlister at actuarial-files.com Mon Sep 19 16:18:31 2011 From: rlister at actuarial-files.com (Ralf Lister) Date: Mon, 19 Sep 2011 17:18:31 -0400 Subject: [AccessD] Ambiguous Name Message-ID: <000001cc7711$bb3f9f00$31bedd00$@com> Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia From michaeljrobertson at gmail.com Mon Sep 19 17:38:59 2011 From: michaeljrobertson at gmail.com (Michael) Date: Tue, 20 Sep 2011 08:38:59 +1000 Subject: [AccessD] Access to MySQL conversion In-Reply-To: <4E77734E.50607@colbyconsulting.com> References: <4E76B00C.5020204@colbyconsulting.com> <001a01cc767f$4d508af0$e7f1a0d0$@gmail.com> <4E77734E.50607@colbyconsulting.com> Message-ID: <001201cc771c$ef415e50$cdc41af0$@gmail.com> John, You might also have a look at Navicat for MySQL - http://www.navicat.com/en/products/navicat_mysql/mysql_overview.html I personally use the Premium Version of Navicat to manage remote databases, develop complex queries, create views, triggers, UDFs and so on. I use MySQL as the backend for dynamic websites I build here in Australia - the hosts are in California. While phpMyAdmin is useful and free, it doesn't compare to the Navicat product which of course costs ($199 for the MySQL version). While this may sound like an advertisement for Navicat (it isn't) I simply can't do without Navicat (I use the Premium Edition which covers most of the major DBs). At the very least I recommend that you have a look at the product - it has a 30 day free trial. As an experiment I imported a few tables from an Access database, across the WAN and it worked well. I didn't choose anything too complex deliberately, but from what I saw it has all of the features you might need for a migration from Access to MySQL plus the ongoing benefit of DB Management. I do all my DB development work directly in Navicat. I also use Access as a front-end to MySQL for complex site maintenance activities - using ODBC for that. Hope that helps. Rgeards, Michael -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, 20 September 2011 2:53 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access to MySQL conversion This was interesting http://25yearsofprogramming.com/blog/2010/20100718.htm Option #2 use Access to push structure and data. I will definitely be giving this a try. I may be able to do programmatically what he was doing manually which would make it pretty easy. John W. Colby www.ColbyConsulting.com On 9/18/2011 11:50 PM, Michael wrote: > John, > > Have a look at http://forums.mysql.com/list.php?65 > > This deals with Access/MySQL migrations as well as many other related > matters. > > Michael > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, 19 September 2011 12:59 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Access to MySQL conversion > > Has anybody found a package to do this? I am finding some things but > they look suspicious. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From steve at goodhall.info Mon Sep 19 18:33:24 2011 From: steve at goodhall.info (Steve Goodhall) Date: Mon, 19 Sep 2011 19:33:24 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: <000001cc7711$bb3f9f00$31bedd00$@com> References: <000001cc7711$bb3f9f00$31bedd00$@com> Message-ID: Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- 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 Sep 19 18:42:11 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 20 Sep 2011 09:42:11 +1000 Subject: [AccessD] Ambiguous Name In-Reply-To: <000001cc7711$bb3f9f00$31bedd00$@com> References: <000001cc7711$bb3f9f00$31bedd00$@com> Message-ID: <000a01cc7725$c0fad0e0$42f072a0$@com.au> I would just search for "gsngAportesSR". It is likely you have it dimmed in a module somewhere else. Search for "Dim gsngAportesSR" for starters and then just "gsngAportesSR" - it will be in there somewhere. I would also ensure all your modules are "Option Explicit" to ensure nothing is getting dimmed twice by the VBE. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Tuesday, 20 September 2011 7:19 AM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- 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 Sep 19 18:56:39 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 19 Sep 2011 19:56:39 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: <000001cc7711$bb3f9f00$31bedd00$@com> References: <000001cc7711$bb3f9f00$31bedd00$@com> Message-ID: First of all, I am semi-retired, after 25+ years in the trenches. Second, I am an opponent of Hungarien (Simonyi) notation. I invented my own school of notation, which I call (in homage to the aforementioned) Post-Hungarian. In a nutshell this means: frm_MyForm --> MyForm_frm. And so on for all objects in said project. Why adopt this convention? Because all the objects related to, let's say, Customer, are all sorted naturally, I can find everything related to Customer easy as pie. At the end of the day, I am most interested in retrieving said objects. I go further. I have suffixes including "_qs", "qu", "qd" and "qi" and these mean "query select", "query update", "query delete" and "query insert"/ The point being that the prefix "Customer..." sorts the people according to what they affect, and from there I can work out what is destined to do something to the underlying data. Granted, this is only my opinion on how objects ought to be named. Smarter people on this list might come up with superior schemes, A. From darryl at whittleconsulting.com.au Mon Sep 19 20:44:24 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 20 Sep 2011 11:44:24 +1000 Subject: [AccessD] Ambiguous Name In-Reply-To: References: <000001cc7711$bb3f9f00$31bedd00$@com> Message-ID: <000b01cc7736$d44b8480$7ce28d80$@com.au> Interesting approach Arthur and I can see why that maybe useful in doing things that way. I would say don't think there is a right or wrong way of doing this and we all have our own preferences, I think the only 'crime' (for the want of a better word - maybe 'mistake' (?)) is to be inconsistent with your approach. The main aim I have on naming things in a certain way is to minimise risk. By putting some details of what to expect in the object name I find it is easy to chase down any issues. But of course that is just me. Everyone else's mileage will vary. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, 20 September 2011 9:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name First of all, I am semi-retired, after 25+ years in the trenches. Second, I am an opponent of Hungarien (Simonyi) notation. I invented my own school of notation, which I call (in homage to the aforementioned) Post-Hungarian. In a nutshell this means: frm_MyForm --> MyForm_frm. And so on for all objects in said project. Why adopt this convention? Because all the objects related to, let's say, Customer, are all sorted naturally, I can find everything related to Customer easy as pie. At the end of the day, I am most interested in retrieving said objects. I go further. I have suffixes including "_qs", "qu", "qd" and "qi" and these mean "query select", "query update", "query delete" and "query insert"/ The point being that the prefix "Customer..." sorts the people according to what they affect, and from there I can work out what is destined to do something to the underlying data. Granted, this is only my opinion on how objects ought to be named. Smarter people on this list might come up with superior schemes, 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 Mon Sep 19 23:29:54 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 19 Sep 2011 21:29:54 -0700 Subject: [AccessD] Ambiguous Name In-Reply-To: References: <000001cc7711$bb3f9f00$31bedd00$@com> Message-ID: That's the kind of thing my former employer decided to do when we moved to VB.Net. Made it very easy to sort things into groups by name, but it was a nightmare if you wanted to look at, say, all subreports. I hated it because it solved one "problem" by creating others. Charlotte Foust On Mon, Sep 19, 2011 at 4:56 PM, Arthur Fuller wrote: > First of all, I am semi-retired, after 25+ years in the trenches. > Second, I am an opponent of Hungarien (Simonyi) notation. I invented my own > school of notation, which I call (in homage to the aforementioned) > Post-Hungarian. In a nutshell this means: > > frm_MyForm --> MyForm_frm. And so on for all objects in said project. Why > adopt this convention? Because all the objects related to, let's say, > Customer, are all sorted naturally, I can find everything related to > Customer easy as pie. At the end of the day, I am most interested in > retrieving said objects. I go further. I have suffixes including "_qs", > "qu", "qd" and "qi" and these mean "query select", "query update", "query > delete" and "query insert"/ The point being that the prefix "Customer..." > sorts the people according to what they affect, and from there I can work > out what is destined to do something to the underlying data. > > Granted, this is only my opinion on how objects ought to be named. Smarter > people on this list might come up with superior schemes, > > A. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From fuller.artful at gmail.com Tue Sep 20 00:36:48 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 20 Sep 2011 01:36:48 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: References: <000001cc7711$bb3f9f00$31bedd00$@com> Message-ID: I never claimed perfection, Charlotte, LOL. And any naming convention is bound to have its pluses and minuses. But I try to keep it sensible, as best I can. So, we have forms called Customer_frm, CustomerOrder_subfrm, CustomerOrderDetails_subfrm, etc. Main thing is that they sort alphabetically and sensibly, IMO. Same nomenclature for reports. I also have a few procs in a module called Listers which (gasp) list objects of various types (forms, reports, modules) so I can grab the results and paste them into an Excel workbook and thus mark off my regression testing. It may not be perfect but it works well enough for me, until I find something better. Suggestions are always welcome. A. On Tue, Sep 20, 2011 at 12:29 AM, Charlotte Foust wrote: > That's the kind of thing my former employer decided to do when we moved to > VB.Net. Made it very easy to sort things into groups by name, but it was a > nightmare if you wanted to look at, say, all subreports. I hated it > because > it solved one "problem" by creating others. > > Charlotte Foust > > From Gustav at cactus.dk Tue Sep 20 02:24:55 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 20 Sep 2011 09:24:55 +0200 Subject: [AccessD] [dba-SQLServer] Oracle 11g EX (was: MySQL) Message-ID: Hi Arthur et al Also Oracle sports a free Express version, Oracle 11g XE with these limitations: * Maximum database size is 11 GB * Maximum RAM it will use is 1 GB * Only one instance can be installed on a single computer * Uses only a single CPU Here is a guide for the Windows installation (for people like JC encountering the unknown!): http://www.codeproject.com/KB/database/InstallOracle11gXE.aspx Not that I have used it or intend to do so. The last time I tried (Oracle 8i?) it installed a monster suite of tools and yet you had to deal with manual editing of ora files etc. ... I felt much like JC does now facing the WAMP package. Things may have changed, I know, I'm just not ready to meet the challenge (= have no purpose for it). /gustav -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, September 17, 2011 6:53 PM To: Discussion concerning MS SQL Server Subject: Re: [dba-SQLServer] [AccessD] MySQL There are some nice things about MySQL but on the other hand I definitely do not like where Oracle is going with this puppy since its acquisition of Sun and by inheritance MySQL. I'm still on the fence about these developments, but quite frankly I am leaning against Oracle on all these transmutations of what was originally a simple, straightforward approach. At last recollection, Monty has departed, and with him, I fear, has the guiding vision of this product. Frankly, I am all over the place on where next to go: I look at Mongo and see it exquisite for web-apps but not for OLTP situations. I look at PostGreSQL and think it's got a bunch of things right. I look at Oracle and MS-SQL and think they have some things right as well. I frankly do not have any clue into which basket to toss my next eggs. Arthur From jwcolby at colbyconsulting.com Tue Sep 20 06:51:08 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Sep 2011 07:51:08 -0400 Subject: [AccessD] Access to MySQL conversion In-Reply-To: <001201cc771c$ef415e50$cdc41af0$@gmail.com> References: <4E76B00C.5020204@colbyconsulting.com> <001a01cc767f$4d508af0$e7f1a0d0$@gmail.com> <4E77734E.50607@colbyconsulting.com> <001201cc771c$ef415e50$cdc41af0$@gmail.com> Message-ID: <4E787E2C.7070106@colbyconsulting.com> AFAICT this is $250 for the "non-commercial" version which I could qualify for if I used it for one of my non-profits. John W. Colby www.ColbyConsulting.com On 9/19/2011 6:38 PM, Michael wrote: > John, > > You might also have a look at Navicat for MySQL - > http://www.navicat.com/en/products/navicat_mysql/mysql_overview.html > > I personally use the Premium Version of Navicat to manage remote databases, > develop complex queries, create views, triggers, UDFs and so on. I use MySQL > as the backend for dynamic websites I build here in Australia - the hosts > are in California. While phpMyAdmin is useful and free, it doesn't compare > to the Navicat product which of course costs ($199 for the MySQL version). > > While this may sound like an advertisement for Navicat (it isn't) I simply > can't do without Navicat (I use the Premium Edition which covers most of the > major DBs). At the very least I recommend that you have a look at the > product - it has a 30 day free trial. > > As an experiment I imported a few tables from an Access database, across the > WAN and it worked well. I didn't choose anything too complex deliberately, > but from what I saw it has all of the features you might need for a > migration from Access to MySQL plus the ongoing benefit of DB Management. I > do all my DB development work directly in Navicat. > > I also use Access as a front-end to MySQL for complex site maintenance > activities - using ODBC for that. > > Hope that helps. > > Rgeards, > > Michael > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, 20 September 2011 2:53 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access to MySQL conversion > > This was interesting > > http://25yearsofprogramming.com/blog/2010/20100718.htm > > Option #2 use Access to push structure and data. I will definitely be > giving this a try. I may be able to do programmatically what he was doing > manually which would make it pretty easy. > > John W. Colby > www.ColbyConsulting.com > > On 9/18/2011 11:50 PM, Michael wrote: >> John, >> >> Have a look at http://forums.mysql.com/list.php?65 >> >> This deals with Access/MySQL migrations as well as many other related >> matters. >> >> Michael >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Monday, 19 September 2011 12:59 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Access to MySQL conversion >> >> Has anybody found a package to do this? I am finding some things but >> they look suspicious. >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Tue Sep 20 07:10:26 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Sep 2011 08:10:26 -0400 Subject: [AccessD] SSDs and BE storage In-Reply-To: <4E7168E7.2000502@colbyconsulting.com> References: <4E7168E7.2000502@colbyconsulting.com> Message-ID: <4E7882B2.7040407@colbyconsulting.com> Well, it seems I will be answering this question in the next few weeks. The client is building a server in the next couple of weeks, which will include a raid1 SSD as the data store. Phase 1 of the story will be to move the access BEs to that SSD and use that while we migrate the data into something else (MySQL maybe). My FE / framework logs the start / stop time when opening forms so it should be easy to discover whether the SSD makes things significantly faster. John W. Colby www.ColbyConsulting.com On 9/14/2011 10:54 PM, jwcolby wrote: > Does anyone have experience with using an SSD (or SSD RAID) to store the Access BEs? Does it > significantly speed up the database? > > My client has a pretty large (by Access standards) database. It is a call center application and > they do mostly reads (viewing claim data as they talk to the client), but do a fair amount of > "documenting" the phone calls by writing notes. About 25 users in the database all day. > > It seems logical that the SSDs enormous IOPS and streaming reads would speed things up but I have > never seen any actual studies or documented usage data. > From df.waters at comcast.net Tue Sep 20 07:48:52 2011 From: df.waters at comcast.net (Dan Waters) Date: Tue, 20 Sep 2011 07:48:52 -0500 Subject: [AccessD] SSDs and BE storage In-Reply-To: <4E7882B2.7040407@colbyconsulting.com> References: <4E7168E7.2000502@colbyconsulting.com> <4E7882B2.7040407@colbyconsulting.com> Message-ID: <001701cc7793$a75c8ca0$f615a5e0$@comcast.net> Hi John, A few months ago I switched to using an SSD for the Windows 7 OS and applications, and a WD Black HD for data storage. And yes, things are significantly faster. If I had a 2nd gen Intel CPU I'd see another jump in speed. But the way it is now, every Access file I open is up in about 1 second (if it doesn't have startup code). VS 2010 takes about 35 seconds to open and a VS app takes about 5 seconds to open. If you're going to all SSD, then you'll see a dramatic difference. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 20, 2011 7:10 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SSDs and BE storage Well, it seems I will be answering this question in the next few weeks. The client is building a server in the next couple of weeks, which will include a raid1 SSD as the data store. Phase 1 of the story will be to move the access BEs to that SSD and use that while we migrate the data into something else (MySQL maybe). My FE / framework logs the start / stop time when opening forms so it should be easy to discover whether the SSD makes things significantly faster. John W. Colby www.ColbyConsulting.com On 9/14/2011 10:54 PM, jwcolby wrote: > Does anyone have experience with using an SSD (or SSD RAID) to store > the Access BEs? Does it significantly speed up the database? > > My client has a pretty large (by Access standards) database. It is a > call center application and they do mostly reads (viewing claim data > as they talk to the client), but do a fair amount of "documenting" the phone calls by writing notes. About 25 users in the database all day. > > It seems logical that the SSDs enormous IOPS and streaming reads would > speed things up but I have never seen any actual studies or documented usage data. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rlister at actuarial-files.com Tue Sep 20 09:48:00 2011 From: rlister at actuarial-files.com (Ralf Lister) Date: Tue, 20 Sep 2011 10:48:00 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: <000a01cc7725$c0fad0e0$42f072a0$@com.au> References: <000001cc7711$bb3f9f00$31bedd00$@com> <000a01cc7725$c0fad0e0$42f072a0$@com.au> Message-ID: <000101cc77a4$4d2eb3f0$e78c1bd0$@com> Thanks Darryl, Thanks to your advice all is working wonderfully now. I found that the ambiguous variable gsngAportesSR was dimmed twice. Thousand thanks! Saludos Actuary Ralf Lister La Paz, Bolivia Registrado en APS No. Registro: Act.Mat. 001 NIT: 1016725022 Skype Name: ralf.martin.lister1 Tel.: 222 26 61, Cel. 70136531 rlister at actuarial-files.com www.actuarial-files.com -----Mensaje original----- De: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] En nombre de Darryl Collins Enviado el: Lunes, 19 de Septiembre de 2011 07:42 p.m. Para: 'Access Developers discussion and problem solving' Asunto: Re: [AccessD] Ambiguous Name I would just search for "gsngAportesSR". It is likely you have it dimmed in a module somewhere else. Search for "Dim gsngAportesSR" for starters and then just "gsngAportesSR" - it will be in there somewhere. I would also ensure all your modules are "Option Explicit" to ensure nothing is getting dimmed twice by the VBE. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Tuesday, 20 September 2011 7:19 AM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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: 10.0.1410 / Virus Database: 1520/3906 - Release Date: 09/19/11 From Gustav at cactus.dk Tue Sep 20 09:52:45 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 20 Sep 2011 16:52:45 +0200 Subject: [AccessD] Ambiguous Name Message-ID: Hi Steve Nothing wrong with global variables. Trouble is always located at those handling these (the programmer!). /gustav >>> steve at goodhall.info 20-09-2011 01:33:24 >>> Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia From dc8 at btinternet.com Tue Sep 20 10:45:42 2011 From: dc8 at btinternet.com (Chris Swann) Date: Tue, 20 Sep 2011 16:45:42 +0100 Subject: [AccessD] Two counts, one unique in pivot table In-Reply-To: <001701cc7793$a75c8ca0$f615a5e0$@comcast.net> References: <4E7168E7.2000502@colbyconsulting.com><4E7882B2.7040407@colbyconsulting.com> <001701cc7793$a75c8ca0$f615a5e0$@comcast.net> Message-ID: <4E78B526.6070908@btinternet.com> Hi all, I'm trying to produce a pivot table in Access that has two counts in it. One of these is based upon a field that is unique within the data and another that can have duplicates. What I need to show is, based upon the small example, this SAMPLE NUMBER PATIENT NUMBER A.1 1 A.2 2 A.3 2 A.4 2 A.5 3 A.6 4 A.7 4 A.8 5 A.9 5 A.10 6 10 6 which would show that there were 10 visits made by 6 distinct patients. Could anyone point me in the right direction as to how to achieve this ? Many thanks in advance, Chris Swann From marksimms at verizon.net Tue Sep 20 10:46:14 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 20 Sep 2011 11:46:14 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: Message-ID: <002401cc77ac$6df7fa30$49e7ee90$@net> Au Contraire....use sparingly at best: www.vb123.com/smart/fp/1998-05.pdf "they dramatically increase the costs of maintaining an application. After all, when you find a bad value in a global variable, that value could have been placed in the variable from any routine in the application. Thats a lot of code to debug" > > Nothing wrong with global variables. > Trouble is always located at those handling these (the programmer!). > From Lambert.Heenan at chartisinsurance.com Tue Sep 20 10:49:16 2011 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Tue, 20 Sep 2011 11:49:16 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: References: <000001cc7711$bb3f9f00$31bedd00$@com> Message-ID: I'm 100% with you on this Arthur. Been using a variation on the theme for years. I especially like being able to 'find' objects in the database window by typing the initial few letters of the name. Suffixes for me, not prefixes. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, September 19, 2011 7:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name First of all, I am semi-retired, after 25+ years in the trenches. Second, I am an opponent of Hungarien (Simonyi) notation. I invented my own school of notation, which I call (in homage to the aforementioned) Post-Hungarian. In a nutshell this means: frm_MyForm --> MyForm_frm. And so on for all objects in said project. Why adopt this convention? Because all the objects related to, let's say, Customer, are all sorted naturally, I can find everything related to Customer easy as pie. At the end of the day, I am most interested in retrieving said objects. I go further. I have suffixes including "_qs", "qu", "qd" and "qi" and these mean "query select", "query update", "query delete" and "query insert"/ The point being that the prefix "Customer..." sorts the people according to what they affect, and from there I can work out what is destined to do something to the underlying data. Granted, this is only my opinion on how objects ought to be named. Smarter people on this list might come up with superior schemes, A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Sep 20 11:06:29 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 20 Sep 2011 18:06:29 +0200 Subject: [AccessD] Global Vars (was Ambiguous Name) Message-ID: Hi Mark Not true. Except, of course, if your programming discipline is a mess. When did you last program an app where "any routine" just like that sets "some" global variable? It's not happening here. /gustav >>> marksimms at verizon.net 20-09-2011 17:46:14 >>> Au Contraire....use sparingly at best: www.vb123.com/smart/fp/1998-05.pdf "they dramatically increase the costs of maintaining an application. After all, when you find a bad value in a global variable, that value could have been placed in the variable from any routine in the application. Thats a lot of code to debug" > > Nothing wrong with global variables. > Trouble is always located at those handling these (the programmer!). From steve at goodhall.info Tue Sep 20 11:16:50 2011 From: steve at goodhall.info (Steve Goodhall) Date: Tue, 20 Sep 2011 12:16:50 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: References: Message-ID: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> I can't agree. Global variables break the whole model of structured programming. In many ways they are worse than goto statements. Sent from my Verizon Wireless Phone -----Original message----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Hi Steve Nothing wrong with global variables. Trouble is always located at those handling these (the programmer!). /gustav >>> steve at goodhall.info 20-09-2011 01:33:24 >>> Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Tue Sep 20 11:22:50 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 20 Sep 2011 12:22:50 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> References: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> Message-ID: There is nothing wrong with using a global variable like this: Private objcurDB As DAO.Database Public Function CurDb(Optional bolRefresh As Boolean = False) As DAO.Database If objcurDB Is Nothing Or bolRefresh = True Then Set objcurDB = CurrentDb() End If Set CurDb = objcurDB End Function And even if you did define it public, so what? It's not like it would be hard to spot where it's used. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 12:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I can't agree. Global variables break the whole model of structured programming. In many ways they are worse than goto statements. Sent from my Verizon Wireless Phone -----Original message----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Hi Steve Nothing wrong with global variables. Trouble is always located at those handling these (the programmer!). /gustav >>> steve at goodhall.info 20-09-2011 01:33:24 >>> Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Tue Sep 20 11:26:36 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 20 Sep 2011 12:26:36 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <002401cc77ac$6df7fa30$49e7ee90$@net> References: <002401cc77ac$6df7fa30$49e7ee90$@net> Message-ID: <13EE22ABA751467BAC797D46200F01AA@XPS> Mark, You should have quoted the second paragraph as well: "This narrow-minded attitude of mine can create difficulties when trying to share data between forms in a single application." He goes on to say there are lot's of solutions to that problem (which is true), but that doesn't apply that global's should not be used or do not have a place in Access development. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Tuesday, September 20, 2011 11:46 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Global Vars (was Ambiguous Name) Au Contraire....use sparingly at best: www.vb123.com/smart/fp/1998-05.pdf "they dramatically increase the costs of maintaining an application. After all, when you find a bad value in a global variable, that value could have been placed in the variable from any routine in the application. Thats a lot of code to debug" > > Nothing wrong with global variables. > Trouble is always located at those handling these (the programmer!). > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From steve at goodhall.info Tue Sep 20 11:30:08 2011 From: steve at goodhall.info (Steve Goodhall) Date: Tue, 20 Sep 2011 12:30:08 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: References: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> Message-ID: I don't see global in this example. Sent from my Verizon Wireless Phone -----Original message----- From: Jim Dettman To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 20, 2011 16:25:09 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name There is nothing wrong with using a global variable like this: Private objcurDB As DAO.Database Public Function CurDb(Optional bolRefresh As Boolean = False) As DAO.Database If objcurDB Is Nothing Or bolRefresh = True Then Set objcurDB = CurrentDb() End If Set CurDb = objcurDB End Function And even if you did define it public, so what? It's not like it would be hard to spot where it's used. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 12:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I can't agree. Global variables break the whole model of structured programming. In many ways they are worse than goto statements. Sent from my Verizon Wireless Phone -----Original message----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Hi Steve Nothing wrong with global variables. Trouble is always located at those handling these (the programmer!). /gustav >>> steve at goodhall.info 20-09-2011 01:33:24 >>> Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Tue Sep 20 11:41:20 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 20 Sep 2011 12:41:20 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: References: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> Message-ID: <5B015C9C2D79479F90807E92714D112E@XPS> Steve, I should have said that this code exists in a standard module. objcurDB has been declared private to limit the scope to the module, but it's still a global variable, which could be accessed by any procedure in that module. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I don't see global in this example. Sent from my Verizon Wireless Phone -----Original message----- From: Jim Dettman To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 20, 2011 16:25:09 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name There is nothing wrong with using a global variable like this: Private objcurDB As DAO.Database Public Function CurDb(Optional bolRefresh As Boolean = False) As DAO.Database If objcurDB Is Nothing Or bolRefresh = True Then Set objcurDB = CurrentDb() End If Set CurDb = objcurDB End Function And even if you did define it public, so what? It's not like it would be hard to spot where it's used. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 12:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I can't agree. Global variables break the whole model of structured programming. In many ways they are worse than goto statements. Sent from my Verizon Wireless Phone -----Original message----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Hi Steve Nothing wrong with global variables. Trouble is always located at those handling these (the programmer!). /gustav >>> steve at goodhall.info 20-09-2011 01:33:24 >>> Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 jwcolby at colbyconsulting.com Tue Sep 20 11:57:55 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Sep 2011 12:57:55 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: <5B015C9C2D79479F90807E92714D112E@XPS> References: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> <5B015C9C2D79479F90807E92714D112E@XPS> Message-ID: <4E78C613.4060707@colbyconsulting.com> True, scope includes different levels of global. John W. Colby www.ColbyConsulting.com On 9/20/2011 12:41 PM, Jim Dettman wrote: > Steve, > > I should have said that this code exists in a standard module. objcurDB > has been declared private to limit the scope to the module, but it's still a > global variable, which could be accessed by any procedure in that module. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall > Sent: Tuesday, September 20, 2011 12:30 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Ambiguous Name > > I don't see global in this example. > > Sent from my Verizon Wireless Phone > > -----Original message----- > From: Jim Dettman > To: 'Access Developers discussion and problem solving' > > Sent: Tue, Sep 20, 2011 16:25:09 GMT+00:00 > Subject: Re: [AccessD] Ambiguous Name > > There is nothing wrong with using a global variable like this: > > Private objcurDB As DAO.Database > > Public Function CurDb(Optional bolRefresh As Boolean = False) As > DAO.Database > > If objcurDB Is Nothing Or bolRefresh = True Then > Set objcurDB = CurrentDb() > End If > > Set CurDb = objcurDB > > End Function > > > And even if you did define it public, so what? It's not like it would be > hard to spot where it's used. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall > Sent: Tuesday, September 20, 2011 12:17 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Ambiguous Name > > I can't agree. Global variables break the whole model of structured > programming. In many ways they are worse than goto statements. > > Sent from my Verizon Wireless Phone > > -----Original message----- > From: Gustav Brock > To: accessd at databaseadvisors.com > Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 > Subject: Re: [AccessD] Ambiguous Name > > Hi Steve > > Nothing wrong with global variables. > Trouble is always located at those handling these (the programmer!). > > /gustav > > >>>> steve at goodhall.info 20-09-2011 01:33:24>>> > Yet another reason to never use global variables. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister > Sent: Monday, September 19, 2011 5:19 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Ambiguous Name > > Hello all, > > I work with Access 2007. > > Lately I ran into a problem I don't know how to solve: By running the code I > got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha > detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code > looking for gsngAportes defined by two different data types (e.g. Public > gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but > without success. > > Does anyone of you know how to fix this problem? > > I should say that gsngAportesSR is a global variable with data type Single. > > Thanks and Saludos > Ralf Lister > La Paz, Bolivia > > From steve at goodhall.info Tue Sep 20 12:02:07 2011 From: steve at goodhall.info (Steve Goodhall) Date: Tue, 20 Sep 2011 13:02:07 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: <5B015C9C2D79479F90807E92714D112E@XPS> References: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> <5B015C9C2D79479F90807E92714D112E@XPS> Message-ID: <555b16e1-b94d-4373-b5d6-3dab4e7ad029@blur> By definition, that's a class variable not a global. Sent from my Verizon Wireless Phone -----Original message----- From: Jim Dettman To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 20, 2011 16:42:42 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Steve, I should have said that this code exists in a standard module. objcurDB has been declared private to limit the scope to the module, but it's still a global variable, which could be accessed by any procedure in that module. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I don't see global in this example. Sent from my Verizon Wireless Phone -----Original message----- From: Jim Dettman To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 20, 2011 16:25:09 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name There is nothing wrong with using a global variable like this: Private objcurDB As DAO.Database Public Function CurDb(Optional bolRefresh As Boolean = False) As DAO.Database If objcurDB Is Nothing Or bolRefresh = True Then Set objcurDB = CurrentDb() End If Set CurDb = objcurDB End Function And even if you did define it public, so what? It's not like it would be hard to spot where it's used. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 12:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I can't agree. Global variables break the whole model of structured programming. In many ways they are worse than goto statements. Sent from my Verizon Wireless Phone -----Original message----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Hi Steve Nothing wrong with global variables. Trouble is always located at those handling these (the programmer!). /gustav >>> steve at goodhall.info 20-09-2011 01:33:24 >>> Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Tue Sep 20 12:06:44 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 20 Sep 2011 13:06:44 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: <555b16e1-b94d-4373-b5d6-3dab4e7ad029@blur> References: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> <5B015C9C2D79479F90807E92714D112E@XPS> <555b16e1-b94d-4373-b5d6-3dab4e7ad029@blur> Message-ID: <1D2245AE6A524C0A920E38022E9FE3CA@XPS> Well except for the fact that it's not in a class module. It doesn't represent a property. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 01:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name By definition, that's a class variable not a global. Sent from my Verizon Wireless Phone -----Original message----- From: Jim Dettman To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 20, 2011 16:42:42 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Steve, I should have said that this code exists in a standard module. objcurDB has been declared private to limit the scope to the module, but it's still a global variable, which could be accessed by any procedure in that module. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I don't see global in this example. Sent from my Verizon Wireless Phone -----Original message----- From: Jim Dettman To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 20, 2011 16:25:09 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name There is nothing wrong with using a global variable like this: Private objcurDB As DAO.Database Public Function CurDb(Optional bolRefresh As Boolean = False) As DAO.Database If objcurDB Is Nothing Or bolRefresh = True Then Set objcurDB = CurrentDb() End If Set CurDb = objcurDB End Function And even if you did define it public, so what? It's not like it would be hard to spot where it's used. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 12:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I can't agree. Global variables break the whole model of structured programming. In many ways they are worse than goto statements. Sent from my Verizon Wireless Phone -----Original message----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Hi Steve Nothing wrong with global variables. Trouble is always located at those handling these (the programmer!). /gustav >>> steve at goodhall.info 20-09-2011 01:33:24 >>> Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 marksimms at verizon.net Tue Sep 20 12:12:00 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 20 Sep 2011 13:12:00 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <13EE22ABA751467BAC797D46200F01AA@XPS> References: <002401cc77ac$6df7fa30$49e7ee90$@net> <13EE22ABA751467BAC797D46200F01AA@XPS> Message-ID: <002801cc77b8$693dfe20$3bb9fa60$@net> I'm not totally against them, but lately I've been tending towards the Public Property, the value of which can be easily traced/debugged. Interestingly, MZTOOLZ has a function to do just that: convert globals to properties. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Tuesday, September 20, 2011 12:27 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Global Vars (was Ambiguous Name) > > Mark, > > You should have quoted the second paragraph as well: > > "This narrow-minded attitude of mine can create difficulties when > trying to > share data between forms in a single application." > > He goes on to say there are lot's of solutions to that problem (which > is > true), but that doesn't apply that global's should not be used or do > not > have a place in Access development. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Tuesday, September 20, 2011 11:46 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Global Vars (was Ambiguous Name) > > Au Contraire....use sparingly at best: > www.vb123.com/smart/fp/1998-05.pdf > "they dramatically increase the costs of > maintaining an application. After all, when you find a bad value in a > global > variable, that value could have been placed in the variable from any > routine > in the application. Thats a lot of code to debug" > > > > > Nothing wrong with global variables. > > Trouble is always located at those handling these (the programmer!). > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 20 12:28:56 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Sep 2011 13:28:56 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <002801cc77b8$693dfe20$3bb9fa60$@net> References: <002401cc77ac$6df7fa30$49e7ee90$@net> <13EE22ABA751467BAC797D46200F01AA@XPS> <002801cc77b8$693dfe20$3bb9fa60$@net> Message-ID: <4E78CD58.9030604@colbyconsulting.com> The nice thing about properties is that they can be set (modified) in the module but read-only from outside of the module. It is impossible to do that with globals. John W. Colby www.ColbyConsulting.com On 9/20/2011 1:12 PM, Mark Simms wrote: > I'm not totally against them, but lately I've been tending towards the > Public Property, > the value of which can be easily traced/debugged. > Interestingly, MZTOOLZ has a function to do just that: convert globals to > properties. > > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd- >> bounces at databaseadvisors.com] On Behalf Of Jim Dettman >> Sent: Tuesday, September 20, 2011 12:27 PM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Global Vars (was Ambiguous Name) >> >> Mark, >> >> You should have quoted the second paragraph as well: >> >> "This narrow-minded attitude of mine can create difficulties when >> trying to >> share data between forms in a single application." >> >> He goes on to say there are lot's of solutions to that problem (which >> is >> true), but that doesn't apply that global's should not be used or do >> not >> have a place in Access development. >> >> Jim. >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms >> Sent: Tuesday, September 20, 2011 11:46 AM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Global Vars (was Ambiguous Name) >> >> Au Contraire....use sparingly at best: >> www.vb123.com/smart/fp/1998-05.pdf >> "they dramatically increase the costs of >> maintaining an application. After all, when you find a bad value in a >> global >> variable, that value could have been placed in the variable from any >> routine >> in the application. Thats a lot of code to debug" >> >>> >>> Nothing wrong with global variables. >>> Trouble is always located at those handling these (the programmer!). >>> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/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 Sep 20 12:32:46 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Sep 2011 13:32:46 -0400 Subject: [AccessD] SSDs and BE storage In-Reply-To: <001701cc7793$a75c8ca0$f615a5e0$@comcast.net> References: <4E7168E7.2000502@colbyconsulting.com> <4E7882B2.7040407@colbyconsulting.com> <001701cc7793$a75c8ca0$f615a5e0$@comcast.net> Message-ID: <4E78CE3E.1090104@colbyconsulting.com> The system they are building includes a latest generation 8 port Areca Raid controller, with 3x 120gb SSDs and 5X WD Black 1 gb drives. We will be going Raid 5 with hot spare for the SSDs as well as the rotating so it should be reasonably fast with a hardware controller to buffer things. The SSD will be reserved for only the data store container files, which at first will be the Access MDB files. As we migrate to MySQL or SQL Server those data files will go on the SSD. John W. Colby www.ColbyConsulting.com On 9/20/2011 8:48 AM, Dan Waters wrote: > Hi John, > > A few months ago I switched to using an SSD for the Windows 7 OS and > applications, and a WD Black HD for data storage. And yes, things are > significantly faster. If I had a 2nd gen Intel CPU I'd see another jump in > speed. But the way it is now, every Access file I open is up in about 1 > second (if it doesn't have startup code). VS 2010 takes about 35 seconds to > open and a VS app takes about 5 seconds to open. > > If you're going to all SSD, then you'll see a dramatic difference. > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, September 20, 2011 7:10 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] SSDs and BE storage > > Well, it seems I will be answering this question in the next few weeks. The > client is building a server in the next couple of weeks, which will include > a raid1 SSD as the data store. Phase 1 of the story will be to move the > access BEs to that SSD and use that while we migrate the data into something > else (MySQL maybe). > > My FE / framework logs the start / stop time when opening forms so it > should be easy to discover whether the SSD makes things significantly > faster. > > John W. Colby > www.ColbyConsulting.com > > On 9/14/2011 10:54 PM, jwcolby wrote: >> Does anyone have experience with using an SSD (or SSD RAID) to store >> the Access BEs? Does it significantly speed up the database? >> >> My client has a pretty large (by Access standards) database. It is a >> call center application and they do mostly reads (viewing claim data >> as they talk to the client), but do a fair amount of "documenting" the > phone calls by writing notes. About 25 users in the database all day. >> >> It seems logical that the SSDs enormous IOPS and streaming reads would >> speed things up but I have never seen any actual studies or documented > usage data. >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From steve at goodhall.info Tue Sep 20 12:37:16 2011 From: steve at goodhall.info (Steve Goodhall) Date: Tue, 20 Sep 2011 13:37:16 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: <1D2245AE6A524C0A920E38022E9FE3CA@XPS> References: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> <5B015C9C2D79479F90807E92714D112E@XPS> <555b16e1-b94d-4373-b5d6-3dab4e7ad029@blur> <1D2245AE6A524C0A920E38022E9FE3CA@XPS> Message-ID: I missed where you said standard module. So long as it's private I can live with it, public would be anathema. Sent from my Verizon Wireless Phone -----Original message----- From: Jim Dettman To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 20, 2011 17:08:14 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Well except for the fact that it's not in a class module. It doesn't represent a property. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 01:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name By definition, that's a class variable not a global. Sent from my Verizon Wireless Phone -----Original message----- From: Jim Dettman To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 20, 2011 16:42:42 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Steve, I should have said that this code exists in a standard module. objcurDB has been declared private to limit the scope to the module, but it's still a global variable, which could be accessed by any procedure in that module. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I don't see global in this example. Sent from my Verizon Wireless Phone -----Original message----- From: Jim Dettman To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 20, 2011 16:25:09 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name There is nothing wrong with using a global variable like this: Private objcurDB As DAO.Database Public Function CurDb(Optional bolRefresh As Boolean = False) As DAO.Database If objcurDB Is Nothing Or bolRefresh = True Then Set objcurDB = CurrentDb() End If Set CurDb = objcurDB End Function And even if you did define it public, so what? It's not like it would be hard to spot where it's used. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 12:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I can't agree. Global variables break the whole model of structured programming. In many ways they are worse than goto statements. Sent from my Verizon Wireless Phone -----Original message----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Hi Steve Nothing wrong with global variables. Trouble is always located at those handling these (the programmer!). /gustav >>> steve at goodhall.info 20-09-2011 01:33:24 >>> Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BradM at blackforestltd.com Tue Sep 20 12:57:32 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Tue, 20 Sep 2011 12:57:32 -0500 Subject: [AccessD] Access "Bloat" - Basic Questions References: <4E591854.8090208@colbyconsulting.com><6BAD4B05F0474F8083137B9C25B1038C@HAL9007><4E597AE8.6269.28B4FE51@stuart.lexacorp.com.pg> Message-ID: My background is in the mainframe world where we never had to be concerned about bloat. Now I work in the Microsoft Access world and it appears that I have had my first encounter with significant bloating. We have an Access 2007 application that obtains data from several SQL-Server tables (via ODBC) and from two Excel files. This application creates a number of reports. One of the reports needs data from 2 SQL-Server tables and 2 Excel files. Because of the complexity of the data, we cannot simply use queries to create the report, but we have had to resort to an intermediate Access table that is updated with VBA code via Record-Set processing. Once the data is processed and stored in this intermediate table, a query is used to pull this data from the table for use by the report. The report in question can be run for any desired date range. If the date range is small, we see little increase in the size of the accdb file. However, if the date range selected is large (like a full year's worth of data), the accdb file grows from 15 MB to 85MB. I believe that this large increase in size is primarily caused by the Access table that is used for the intermediate processing of the data. In the mainframe world, we used "temporary work files" for such intermediate processing. Is there something similar available in Access 2007? One idea that I have considered is to use a delete query to clear out all of the records in the intermediate table after the report is generated and then add a "Compact on close" option to the application. Again, I am new to the world of Access bloat and would like to better understand how others handle this issue. Thanks, Brad From accessd at shaw.ca Tue Sep 20 13:01:19 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 20 Sep 2011 11:01:19 -0700 Subject: [AccessD] [dba-SQLServer] Oracle 11g EX (was: MySQL) In-Reply-To: References: Message-ID: <1B78ED899FC4405DBA3DE40D5145D8B3@creativesystemdesigns.com> Gustav: Actually, you can down load Oracles full enterprise version (at least the last time I looked...Oracle version 11i) but it is limited in how many connection and users can have access to it. In addition, if you do call for support you will be directed to a local resource person(s). This system was created so computer science students and small consultant firms could get up to speed in the product. The major difference between Oracle and MS SQL is that in Oracle you can modify and optimize everything. Managing queues, temp tables, transactions, sizes and recovery points. Microsoft has chosen to eliminate or automate most of the fine-tuning part of data management. This is good and it is bad. OOH, a tech can spend years learning the black-art of database control, tuning everything to the nth degree as well as building a very precise set of reports and intergrating various Oracle servers. Rest assured, if a company has a medium and larger site there must be a full-time tech there. Oracle is also very careful on just how many techs are allowed to pass their exams so the rate at which a fully qualified Oracle tech is paid very well. OTOH, a MS SQL site is far more easily setup. A person with a bit of database knowledge can put together a stable SQL site in less than a day. It may not be a fully optimized site but it will work and render the expected results. Some tech can learn as they go and MS is not concerned about whether the person asking for database support is a person that owns a plumbing company or a fully certified tech. Microsoft's exams, though thorough, do not restrict the number of qualified graduates...the more the merrier. The rate a small company will pay a MS SQL qualified person is usually much lower than an Oracle tech with similar qualifications. Much like Microsoft has entrenched itself in new desktop computers and the office application markets, Oracle has tied up most of the high end database market. The other major difference is cost; MS SQL is about a third of the cost of an Oracle suite. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, September 20, 2011 12:25 AM To: accessd at databaseadvisors.com; dba-sqlserver at databaseadvisors.com Subject: Re: [AccessD] [dba-SQLServer] Oracle 11g EX (was: MySQL) Hi Arthur et al Also Oracle sports a free Express version, Oracle 11g XE with these limitations: * Maximum database size is 11 GB * Maximum RAM it will use is 1 GB * Only one instance can be installed on a single computer * Uses only a single CPU Here is a guide for the Windows installation (for people like JC encountering the unknown!): http://www.codeproject.com/KB/database/InstallOracle11gXE.aspx Not that I have used it or intend to do so. The last time I tried (Oracle 8i?) it installed a monster suite of tools and yet you had to deal with manual editing of ora files etc. ... I felt much like JC does now facing the WAMP package. Things may have changed, I know, I'm just not ready to meet the challenge (= have no purpose for it). /gustav -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, September 17, 2011 6:53 PM To: Discussion concerning MS SQL Server Subject: Re: [dba-SQLServer] [AccessD] MySQL There are some nice things about MySQL but on the other hand I definitely do not like where Oracle is going with this puppy since its acquisition of Sun and by inheritance MySQL. I'm still on the fence about these developments, but quite frankly I am leaning against Oracle on all these transmutations of what was originally a simple, straightforward approach. At last recollection, Monty has departed, and with him, I fear, has the guiding vision of this product. Frankly, I am all over the place on where next to go: I look at Mongo and see it exquisite for web-apps but not for OLTP situations. I look at PostGreSQL and think it's got a bunch of things right. I look at Oracle and MS-SQL and think they have some things right as well. I frankly do not have any clue into which basket to toss my next eggs. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue Sep 20 13:20:34 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 20 Sep 2011 11:20:34 -0700 Subject: [AccessD] Access "Bloat" - Basic Questions In-Reply-To: References: <4E591854.8090208@colbyconsulting.com><6BAD4B05F0474F8083137B9C25B1038C@HAL9007><4E597AE8.6269.28B4FE51@stuart.lexacorp.com.pg> Message-ID: <84AAA6DAF2D74F98AE7C9EAC6E3BB72C@HAL9007> Deleting the records and then setting Compact on close will do it unless they keep the app open, or unless the tables are in the back end then I think you have to trigger the compact on the back end through code. Another solution posted in bygone years on the list is to put the temp tables in an external db - create the mdb and tables on the fly, use 'em and delete when done. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: September 20, 2011 10:58 AM To: Access Developers discussion and problem solving Subject: [AccessD] Access "Bloat" - Basic Questions My background is in the mainframe world where we never had to be concerned about bloat. Now I work in the Microsoft Access world and it appears that I have had my first encounter with significant bloating. We have an Access 2007 application that obtains data from several SQL-Server tables (via ODBC) and from two Excel files. This application creates a number of reports. One of the reports needs data from 2 SQL-Server tables and 2 Excel files. Because of the complexity of the data, we cannot simply use queries to create the report, but we have had to resort to an intermediate Access table that is updated with VBA code via Record-Set processing. Once the data is processed and stored in this intermediate table, a query is used to pull this data from the table for use by the report. The report in question can be run for any desired date range. If the date range is small, we see little increase in the size of the accdb file. However, if the date range selected is large (like a full year's worth of data), the accdb file grows from 15 MB to 85MB. I believe that this large increase in size is primarily caused by the Access table that is used for the intermediate processing of the data. In the mainframe world, we used "temporary work files" for such intermediate processing. Is there something similar available in Access 2007? One idea that I have considered is to use a delete query to clear out all of the records in the intermediate table after the report is generated and then add a "Compact on close" option to the application. Again, I am new to the world of Access bloat and would like to better understand how others handle this issue. Thanks, Brad -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Tue Sep 20 13:25:00 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 20 Sep 2011 11:25:00 -0700 Subject: [AccessD] Ambiguous Name In-Reply-To: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> References: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> Message-ID: Hi Steve: Just a note: As soon as you step in the internet world these standards are broken again. Apache uses .htaccess and IIS uses web.config to hold their universal settings, variable and objects which not only affords consolidation but a level of security, as these files can be stored outside the access area of anyone but the system admin. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 9:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I can't agree. Global variables break the whole model of structured programming. In many ways they are worse than goto statements. Sent from my Verizon Wireless Phone -----Original message----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Hi Steve Nothing wrong with global variables. Trouble is always located at those handling these (the programmer!). /gustav >>> steve at goodhall.info 20-09-2011 01:33:24 >>> Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue Sep 20 13:29:06 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 20 Sep 2011 11:29:06 -0700 Subject: [AccessD] Access "Bloat" - Basic Questions In-Reply-To: <84AAA6DAF2D74F98AE7C9EAC6E3BB72C@HAL9007> References: <4E591854.8090208@colbyconsulting.com><6BAD4B05F0474F8083137B9C25B1038C@HAL9007><4E597AE8.6269.28B4FE51@stuart.lexacorp.com.pg> <84AAA6DAF2D74F98AE7C9EAC6E3BB72C@HAL9007> Message-ID: Or you could give them a 'Compact Now' command button on the Main Menu. Or, how about doing nothing? 85MB is not such a big file. Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: September 20, 2011 11:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access "Bloat" - Basic Questions Deleting the records and then setting Compact on close will do it unless they keep the app open, or unless the tables are in the back end then I think you have to trigger the compact on the back end through code. Another solution posted in bygone years on the list is to put the temp tables in an external db - create the mdb and tables on the fly, use 'em and delete when done. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: September 20, 2011 10:58 AM To: Access Developers discussion and problem solving Subject: [AccessD] Access "Bloat" - Basic Questions My background is in the mainframe world where we never had to be concerned about bloat. Now I work in the Microsoft Access world and it appears that I have had my first encounter with significant bloating. We have an Access 2007 application that obtains data from several SQL-Server tables (via ODBC) and from two Excel files. This application creates a number of reports. One of the reports needs data from 2 SQL-Server tables and 2 Excel files. Because of the complexity of the data, we cannot simply use queries to create the report, but we have had to resort to an intermediate Access table that is updated with VBA code via Record-Set processing. Once the data is processed and stored in this intermediate table, a query is used to pull this data from the table for use by the report. The report in question can be run for any desired date range. If the date range is small, we see little increase in the size of the accdb file. However, if the date range selected is large (like a full year's worth of data), the accdb file grows from 15 MB to 85MB. I believe that this large increase in size is primarily caused by the Access table that is used for the intermediate processing of the data. In the mainframe world, we used "temporary work files" for such intermediate processing. Is there something similar available in Access 2007? One idea that I have considered is to use a delete query to clear out all of the records in the intermediate table after the report is generated and then add a "Compact on close" option to the application. Again, I am new to the world of Access bloat and would like to better understand how others handle this issue. Thanks, Brad -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kismert at gmail.com Tue Sep 20 13:45:03 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Tue, 20 Sep 2011 13:45:03 -0500 Subject: [AccessD] SSDs and BE storage Message-ID: All, SSDs sound ideal for server applications, except for one nagging question: when will it wear out? SSD endurance summary http://www.storagesearch.com/ssdmyths-endurance.html But, there are circumstances where SSDs make a compelling argument for adoption: SSDs replacing HDDs? that's not exactly the way it happened http://www.storagesearch.com/bitmicro-art3.html If you do spring for them, get the (much more expensive) server-rated SSDs using SLC memory -- see response to Micker in comments: Debunking SSD lifespan and random write performance concerns http://maxschireson.com/2011/04/21/debunking-ssd-lifespan-and-random-write-performance-concerns/ Don't expect consumer-level SSDs to last very long in a server environment. -Ken > > ---------- Forwarded message ---------- > From: jwcolby > To: Access Developers discussion and problem solving < > accessd at databaseadvisors.com> > Date: Tue, 20 Sep 2011 08:10:26 -0400 > Subject: Re: [AccessD] SSDs and BE storage > Well, it seems I will be answering this question in the next few weeks. > The client is building a server in the next couple of weeks, which will > include a raid1 SSD as the data store. Phase 1 of the story will be to move > the access BEs to that SSD and use that while we migrate the data into > something else (MySQL maybe). > > My FE / framework logs the start / stop time when opening forms so it > should be easy to discover whether the SSD makes things significantly > faster. > > John W. Colby > www.ColbyConsulting.com > > ---------- Forwarded message ---------- > From: "Dan Waters" > To: "'Access Developers discussion and problem solving'" < > accessd at databaseadvisors.com> > Date: Tue, 20 Sep 2011 07:48:52 -0500 > Subject: Re: [AccessD] SSDs and BE storage > Hi John, > > A few months ago I switched to using an SSD for the Windows 7 OS and > applications, and a WD Black HD for data storage. And yes, things are > significantly faster. If I had a 2nd gen Intel CPU I'd see another jump in > speed. But the way it is now, every Access file I open is up in about 1 > second (if it doesn't have startup code). VS 2010 takes about 35 seconds > to > open and a VS app takes about 5 seconds to open. > > If you're going to all SSD, then you'll see a dramatic difference. > > Dan > > From fuller.artful at gmail.com Tue Sep 20 14:16:40 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 20 Sep 2011 15:16:40 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: References: <61819ecb-43c1-4ef7-90ee-bd5f180e1ace@blur> Message-ID: I am surprised that no one has mentioned the A2K7 variant to these approaches. For evidennce how it works, load the Northwind A2K7 sample app and investigate. I used to be a big fan of static functions, but I'm always willing to learn a better approach, and this baby has it. Mind you, not backwards-portable, but nice nonetheless, and saves me a bunch of time executing my static functions. Arthur From markamatte at hotmail.com Tue Sep 20 14:17:26 2011 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 20 Sep 2011 19:17:26 +0000 Subject: [AccessD] Two counts, one unique in pivot table In-Reply-To: <4E78B526.6070908@btinternet.com> References: <4E7168E7.2000502@colbyconsulting.com><4E7882B2.7040407@colbyconsulting.com>, <001701cc7793$a75c8ca0$f615a5e0$@comcast.net>, <4E78B526.6070908@btinternet.com> Message-ID: Don't know about about a pivot...but: select count(patient) as count_patient,sum(CountOfnumber) as visits from (SELECT tbl_test.patient, Count(tbl_test.number) AS CountOfnumber FROM tbl_test GROUP BY tbl_test.patient) Hope it helps... Mark A. Matte > Date: Tue, 20 Sep 2011 16:45:42 +0100 > From: dc8 at btinternet.com > To: accessd at databaseadvisors.com > Subject: [AccessD] Two counts, one unique in pivot table > > Hi all, > > I'm trying to produce a pivot table in Access that has two counts in it. > > One of these is based upon a field that is unique within the data and > another that can have duplicates. > > What I need to show is, based upon the small example, this > > SAMPLE NUMBER PATIENT NUMBER > A.1 1 > A.2 2 > A.3 2 > A.4 2 > A.5 3 > A.6 4 > A.7 4 > A.8 5 > A.9 5 > A.10 6 > > 10 6 > > which would show that there were 10 visits made by 6 distinct patients. > > Could anyone point me in the right direction as to how to achieve this ? > > Many thanks in advance, > > Chris Swann > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From df.waters at comcast.net Tue Sep 20 14:19:29 2011 From: df.waters at comcast.net (Dan Waters) Date: Tue, 20 Sep 2011 14:19:29 -0500 Subject: [AccessD] Access "Bloat" - Basic Questions In-Reply-To: References: <4E591854.8090208@colbyconsulting.com><6BAD4B05F0474F8083137B9C25B1038C@HAL9007><4E597AE8.6269.28B4FE51@stuart.lexacorp.com.pg> Message-ID: <004001cc77ca$3872f9a0$a958ece0$@comcast.net> Hi Brad, What I do is this: 1) Set your BE file to Compact on Close. 2) Write a small Access file (named CompactBEXXX.mdb) which has a single purpose. When it is opened, an AutoExec macro runs code which opens and closes your CompactBEXXX.mdb file. When your BE closes it will compact. 3) Create a task in Task Manager to open your CompactBEXXX.mdb file at a time when no one will be using it. 4) You may need to use your username/password to get the task to work. If you do, and you have a periodic requirement to change your password, remember to go back into the task and reset the task with your new password. I've been using this at all my customers for a few years, and it works well. Here is the code. You'll need to write an AutoExec macro which will run the function CompactBE(). Good Luck! Dan '---------------------------------------- Public Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) Public Function CompactBE() On Error GoTo EH Dim stgPathBEFile As String Dim stgPathBELDB As String Dim appAccess As Access.Application Dim fso As FileSystemObject Dim stg As String Dim rst As DAO.Recordset ' Stop stg = "SELECT BEFullPath FROM tblBEFullPath" Set rst = DBEngine(0)(0).OpenRecordset(stg, dbOpenSnapshot) stgPathBEFile = rst("BEFullPath") rst.Close Set rst = Nothing Set fso = CreateObject("Scripting.FileSystemObject") '-- If the BE file is in use then the BE can't be compacted stgPathBELDB = Replace(stgPathBEFile, "mdb", "ldb") If fso.FileExists(stgPathBELDB) Then Access.Application.Quit acQuitSaveNone Exit Function End If Set appAccess = New Access.Application '-- Open the BE - wait for 5 seconds appAccess.OpenCurrentDatabase stgPathBEFile, False Sleep 5000 '-- When the BE closes it will auto-compact. appAccess.CloseCurrentDatabase Sleep 5000 '-- Close this db in 5 seconds appAccess.Quit acQuitSaveNone Set appAccess = Nothing DoEvents Access.Application.Quit acQuitSaveNone Exit Function EH: Access.Application.Quit acQuitSaveNone End Function '---------------------------------------- -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: Tuesday, September 20, 2011 12:58 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access "Bloat" - Basic Questions My background is in the mainframe world where we never had to be concerned about bloat. Now I work in the Microsoft Access world and it appears that I have had my first encounter with significant bloating. We have an Access 2007 application that obtains data from several SQL-Server tables (via ODBC) and from two Excel files. This application creates a number of reports. One of the reports needs data from 2 SQL-Server tables and 2 Excel files. Because of the complexity of the data, we cannot simply use queries to create the report, but we have had to resort to an intermediate Access table that is updated with VBA code via Record-Set processing. Once the data is processed and stored in this intermediate table, a query is used to pull this data from the table for use by the report. The report in question can be run for any desired date range. If the date range is small, we see little increase in the size of the accdb file. However, if the date range selected is large (like a full year's worth of data), the accdb file grows from 15 MB to 85MB. I believe that this large increase in size is primarily caused by the Access table that is used for the intermediate processing of the data. In the mainframe world, we used "temporary work files" for such intermediate processing. Is there something similar available in Access 2007? One idea that I have considered is to use a delete query to clear out all of the records in the intermediate table after the report is generated and then add a "Compact on close" option to the application. Again, I am new to the world of Access bloat and would like to better understand how others handle this issue. Thanks, Brad -- 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 Sep 20 14:26:39 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Tue, 20 Sep 2011 12:26:39 -0700 Subject: [AccessD] Access "Bloat" - Basic Questions In-Reply-To: References: <4E591854.8090208@colbyconsulting.com> <6BAD4B05F0474F8083137B9C25B1038C@HAL9007> <4E597AE8.6269.28B4FE51@stuart.lexacorp.com.pg> Message-ID: How about writing the data to xml files and deleting the files after the query has run? Any version of Access from 2002 up will handle that cleanly Charlotte Foust On Tue, Sep 20, 2011 at 10:57 AM, Brad Marks wrote: > My background is in the mainframe world where we never had to be > concerned about bloat. > > Now I work in the Microsoft Access world and it appears that I have had > my first encounter with significant bloating. > > We have an Access 2007 application that obtains data from several > SQL-Server tables (via ODBC) and from two Excel files. > > This application creates a number of reports. One of the reports needs > data from 2 SQL-Server tables and 2 Excel files. Because of the > complexity of the data, we cannot simply use queries to create the > report, but we have had to resort to an intermediate Access table that > is updated with VBA code via Record-Set processing. Once the data is > processed and stored in this intermediate table, a query is used to pull > this data from the table for use by the report. > > The report in question can be run for any desired date range. If the > date range is small, we see little increase in the size of the accdb > file. However, if the date range selected is large (like a full year's > worth of data), the accdb file grows from 15 MB to 85MB. I believe that > this large increase in size is primarily caused by the Access table that > is used for the intermediate processing of the data. > > In the mainframe world, we used "temporary work files" for such > intermediate processing. Is there something similar available in Access > 2007? > > One idea that I have considered is to use a delete query to clear out > all of the records in the intermediate table after the report is > generated and then add a "Compact on close" option to the application. > > Again, I am new to the world of Access bloat and would like to better > understand how others handle this issue. > > Thanks, > Brad > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From jwcolby at colbyconsulting.com Tue Sep 20 14:54:29 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Sep 2011 15:54:29 -0400 Subject: [AccessD] SSDs and BE storage In-Reply-To: References: Message-ID: <4E78EF75.9040204@colbyconsulting.com> LOL, everyone has an angle. One of the SSD myths is that your SSD will die in a month. It actually is not a myth, it will die in a month (or a few months) if all you do is run random write disk tests for that entire month. > Don't expect consumer-level SSDs to last very long in a server environment. What exactly is a "server environment"? I have a server with 400 gigs of (consumer level) SSDs with SQL Server data files on them. I read from them all day every day. I write to each file once a month for a monthly update. That is a server environment. You should see my server chug. I do millions of dollars a month business for my client. Not my share unfortunately. The specific client I have been discussing that is building the server is a small company with about 5 gigs of data (currently). It took them 8 years to get to 5 gigs of data. If they add another 5 gigs every year for the next 10 years... (and they won't) They are a call center so they have 25 people in the database all day every day. They ask the caller for enough info to search for a claim. They open a tabbed form and can see every part of the claim. They discuss the claim with the caller. They write a couple of paragraphs about the call into a memo field which gets written to disk. They change a phone number here, an address there. That is a server environment. 25 users in the database all day! You should see the reports they generate at the end of every month for their clients!!! All read-only btw. My point Ken is that there is no such thing as "a server environment". Like anything else "it all depends" is pretty much the answer. There are as many "server environments" as there are servers. Some would kill an SSD in a month, most will never kill an SSD in the 5-10 years the server will exist. I work for small companies exclusively. All of my posts have discussed these details in excruciating detail so this is not new to anyone here. And yet what you are discussing is some "theoretical server environment" where the server is writing every block 100 times a day. I am sure that environment does exist, but it is way less common than environments like mine. And then there is this. One of the largest internet companies on the planet is buying SSD literally by the ton. http://www.datacenterknowledge.com/archives/2011/03/10/facebooks-appetite-for-ssd-boosts-fusion-io/ I'm guessing they have the expertise to analyze the cost / benefit / probability of failure. > If you do spring for them, get the (much more expensive) server-rated SSDs using SLC memory I am absolutely comfortable with the consumer grade SSDs in my server here at my office. I doubt seriously it will *ever* wear out. Likewise for the server being built at my client. In fact in these situations the life expectancy of the SSD is probably realistically 100 times longer than an equivalent rotating drive. No moving parts, very little heat, never turned on / off, a few hundred megs of writes a day. What's to wear out? > Don't expect consumer-level SSDs to last very long in a server environment. Why in the world would I pay 5X the dollars for 10 times the life span when I expect to be dead (and I'm not *that* old) long before my drives wear out? Engineering is all about *requirements* analysis. John W. Colby www.ColbyConsulting.com On 9/20/2011 2:45 PM, Kenneth Ismert wrote: > All, > > SSDs sound ideal for server applications, except for one nagging question: > when will it wear out? > > SSD endurance summary > http://www.storagesearch.com/ssdmyths-endurance.html > > > But, there are circumstances where SSDs make a compelling argument for > adoption: > > SSDs replacing HDDs? that's not exactly the way it happened > http://www.storagesearch.com/bitmicro-art3.html > > > If you do spring for them, get the (much more expensive) server-rated SSDs > using SLC memory -- see response to Micker in comments: > > Debunking SSD lifespan and random write performance concerns > http://maxschireson.com/2011/04/21/debunking-ssd-lifespan-and-random-write-performance-concerns/ > > Don't expect consumer-level SSDs to last very long in a server environment. > > -Ken From ab-mi at post3.tele.dk Tue Sep 20 14:58:38 2011 From: ab-mi at post3.tele.dk (Asger Blond) Date: Tue, 20 Sep 2011 21:58:38 +0200 Subject: [AccessD] Two counts, one unique in pivot table In-Reply-To: References: <4E7168E7.2000502@colbyconsulting.com><4E7882B2.7040407@colbyconsulting.com>, <001701cc7793$a75c8ca0$f615a5e0$@comcast.net>, <4E78B526.6070908@btinternet.com> Message-ID: Or: SELECT Count(*) AS Count_Visits, (SELECT COUNT(*) FROM (SELECT DISTINCT Patient_Number FROM tblTest)) AS Count_Distinct_Patients FROM tblTest Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Mark A Matte Sendt: 20. september 2011 21:17 Til: accessd at databaseadvisors.com Emne: Re: [AccessD] Two counts, one unique in pivot table Don't know about about a pivot...but: select count(patient) as count_patient,sum(CountOfnumber) as visits from (SELECT tbl_test.patient, Count(tbl_test.number) AS CountOfnumber FROM tbl_test GROUP BY tbl_test.patient) Hope it helps... Mark A. Matte > Date: Tue, 20 Sep 2011 16:45:42 +0100 > From: dc8 at btinternet.com > To: accessd at databaseadvisors.com > Subject: [AccessD] Two counts, one unique in pivot table > > Hi all, > > I'm trying to produce a pivot table in Access that has two counts in it. > > One of these is based upon a field that is unique within the data and > another that can have duplicates. > > What I need to show is, based upon the small example, this > > SAMPLE NUMBER PATIENT NUMBER > A.1 1 > A.2 2 > A.3 2 > A.4 2 > A.5 3 > A.6 4 > A.7 4 > A.8 5 > A.9 5 > A.10 6 > > 10 6 > > which would show that there were 10 visits made by 6 distinct patients. > > Could anyone point me in the right direction as to how to achieve this ? > > Many thanks in advance, > > Chris Swann > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Tue Sep 20 15:54:34 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Tue, 20 Sep 2011 15:54:34 -0500 Subject: [AccessD] Ambiguous Name Message-ID: Steve, Jim, Gustav: In VBA, standard modules are a kind of static class. Modules can have Properties, and employ data hiding through private member variables, just like a class. Modules can't be instantiated, and have no initialization method, similar to other static class implementations. So, Steve is right in a way: Jim's CurDb function can be viewed as a global method of a static class. In response to Gustav's argument that discipline is all that is needed to use global variables properly, I say that works well for single programmers, but it is begging for trouble with multiple programmers. A construction like Jim's makes the intent of the global much more apparent. But, in defense of Gustav, Jim's construction only works for 'set once' globals. What about globals that need to change over time? How does one implement a changeable global in a 'safe' way in VBA? Put another way, once you allow a global property to be changed, you are in the same boat as a plain global variable: anyone can change it anywhere at any time. Any 'enforcement' scheme you put in place can easily be copied by a fellow programmer with access to the code to do the wrong thing at the wrong time. The question remains: is there any way to enforce safe global value modification in VBA, except by employing Gustav's discipline? -Ken Steve Goodhall: > I missed where you said standard module. So long as it's private I can > live with it, public would be anathema. > > Jim Dettman: > Well except for the fact that it's not in a class module. It doesn't > represent a property. > > Steve Goodhall: > By definition, that's a class variable not a global. > > Jim Dettman: > There is nothing wrong with using a global variable like this: > > Private objcurDB As DAO.Database > > Public Function CurDb(Optional bolRefresh As Boolean = False) As > DAO.Database > > If objcurDB Is Nothing Or bolRefresh = True Then > Set objcurDB = CurrentDb() > End If > > Set CurDb = objcurDB > > End Function > From stuart at lexacorp.com.pg Tue Sep 20 16:31:05 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 21 Sep 2011 07:31:05 +1000 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <002401cc77ac$6df7fa30$49e7ee90$@net> References: , <002401cc77ac$6df7fa30$49e7ee90$@net> Message-ID: <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> Horsepucky. That's just a confirmation of Gustav's statement that the problem is the programmer, not the global. As a general rule, Global's should be set in only one place, but can read/used anywhere. They should not be used to carry values which can be modified indiscriminately. (unless you are using them in a mulit-threaded application where they are also useful for passing values between threads) -- Stuart On 20 Sep 2011 at 11:46, Mark Simms wrote: > Au Contraire....use sparingly at best: > www.vb123.com/smart/fp/1998-05.pdf > "they dramatically increase the costs of > maintaining an application. After all, when you find a bad value in a > global variable, that value could have been placed in the variable > from any routine in the application. Thats a lot of code to debug" > > > > > Nothing wrong with global variables. > > Trouble is always located at those handling these (the programmer!). > > > > > -- > 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 Sep 20 16:37:17 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 21 Sep 2011 07:37:17 +1000 Subject: [AccessD] Ambiguous Name In-Reply-To: <5B015C9C2D79479F90807E92714D112E@XPS> References: , , <5B015C9C2D79479F90807E92714D112E@XPS> Message-ID: <4E79078D.18538.23430621@stuart.lexacorp.com.pg> In that case, it's NOT Global. It's Local to the module. -- Stuart On 20 Sep 2011 at 12:41, Jim Dettman wrote: > Steve, > > I should have said that this code exists in a standard module. > objcurDB > has been declared private to limit the scope to the module, but it's > still a global variable, which could be accessed by any procedure in > that module. > > Jim. > From stuart at lexacorp.com.pg Tue Sep 20 16:37:16 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 21 Sep 2011 07:37:16 +1000 Subject: [AccessD] Ambiguous Name In-Reply-To: <4E78C613.4060707@colbyconsulting.com> References: , <5B015C9C2D79479F90807E92714D112E@XPS>, <4E78C613.4060707@colbyconsulting.com> Message-ID: <4E79078C.31199.234305A4@stuart.lexacorp.com.pg> WTF? Global is the top level scope. That's like being "a little bit pregnant". -- Stuart On 20 Sep 2011 at 12:57, jwcolby wrote: > True, scope includes different levels of global. > > John W. Colby > www.ColbyConsulting.com > > On 9/20/2011 12:41 PM, Jim Dettman wrote: > > Steve, > > > > I should have said that this code exists in a standard module. > > objcurDB > > has been declared private to limit the scope to the module, but it's > > still a global variable, which could be accessed by any procedure in > > that module. > > > > Jim. > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve > > Goodhall Sent: Tuesday, September 20, 2011 12:30 PM To: Access > > Developers discussion and problem solving Subject: Re: [AccessD] > > Ambiguous Name > > > > I don't see global in this example. > > > > Sent from my Verizon Wireless Phone > > > > -----Original message----- > > From: Jim Dettman > > To: 'Access Developers discussion and problem solving' > > > > Sent: Tue, Sep 20, 2011 16:25:09 GMT+00:00 > > Subject: Re: [AccessD] Ambiguous Name > > > > There is nothing wrong with using a global variable like this: > > > > Private objcurDB As DAO.Database > > > > Public Function CurDb(Optional bolRefresh As Boolean = False) As > > DAO.Database > > > > If objcurDB Is Nothing Or bolRefresh = True Then > > Set objcurDB = CurrentDb() > > End If > > > > Set CurDb = objcurDB > > > > End Function > > > > > > And even if you did define it public, so what? It's not like it > > would be > > hard to spot where it's used. > > > > Jim. > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve > > Goodhall Sent: Tuesday, September 20, 2011 12:17 PM To: Access > > Developers discussion and problem solving Subject: Re: [AccessD] > > Ambiguous Name > > > > I can't agree. Global variables break the whole model of structured > > programming. In many ways they are worse than goto statements. > > > > Sent from my Verizon Wireless Phone > > > > -----Original message----- > > From: Gustav Brock > > To: accessd at databaseadvisors.com > > Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 > > Subject: Re: [AccessD] Ambiguous Name > > > > Hi Steve > > > > Nothing wrong with global variables. > > Trouble is always located at those handling these (the programmer!). > > > > /gustav > > > > > >>>> steve at goodhall.info 20-09-2011 01:33:24>>> > > Yet another reason to never use global variables. > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf > > Lister Sent: Monday, September 19, 2011 5:19 PM To: > > accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name > > > > Hello all, > > > > I work with Access 2007. > > > > Lately I ran into a problem I don't know how to solve: By running > > the code I got an error message "Ambiguous Name was detected: > > gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). > > I searched the whole code looking for gsngAportes defined by two > > different data types (e.g. Public gsngAportesSR As Single, and then > > also Public gsngAportesSR As Integer), but without success. > > > > Does anyone of you know how to fix this problem? > > > > I should say that gsngAportesSR is a global variable with data type > > Single. > > > > Thanks and Saludos > > Ralf Lister > > La Paz, Bolivia > > > > > -- > 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 Sep 20 16:40:23 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 21 Sep 2011 07:40:23 +1000 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <4E78CD58.9030604@colbyconsulting.com> References: , <002801cc77b8$693dfe20$3bb9fa60$@net>, <4E78CD58.9030604@colbyconsulting.com> Message-ID: <4E790847.27609.2345DC63@stuart.lexacorp.com.pg> It's simple to do than. Just avoid putting "myGlobal = ..." in any code outside of module as a matter of policy. -- Stuart On 20 Sep 2011 at 13:28, jwcolby wrote: > The nice thing about properties is that they can be set (modified) in > the module but read-only from outside of the module. It is impossible > to do that with globals. > > John W. Colby > www.ColbyConsulting.com > > On 9/20/2011 1:12 PM, Mark Simms wrote: > > I'm not totally against them, but lately I've been tending towards > > the Public Property, the value of which can be easily > > traced/debugged. Interestingly, MZTOOLZ has a function to do just > > that: convert globals to properties. > > > > > >> -----Original Message----- > >> From: accessd-bounces at databaseadvisors.com [mailto:accessd- > >> bounces at databaseadvisors.com] On Behalf Of Jim Dettman > >> Sent: Tuesday, September 20, 2011 12:27 PM > >> To: 'Access Developers discussion and problem solving' > >> Subject: Re: [AccessD] Global Vars (was Ambiguous Name) > >> > >> Mark, > >> > >> You should have quoted the second paragraph as well: > >> > >> "This narrow-minded attitude of mine can create difficulties when > >> trying to share data between forms in a single application." > >> > >> He goes on to say there are lot's of solutions to that problem > >> (which > >> is > >> true), but that doesn't apply that global's should not be used or > >> do not have a place in Access development. > >> > >> Jim. > >> > >> -----Original Message----- > >> From: accessd-bounces at databaseadvisors.com > >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark > >> Simms Sent: Tuesday, September 20, 2011 11:46 AM To: 'Access > >> Developers discussion and problem solving' Subject: Re: [AccessD] > >> Global Vars (was Ambiguous Name) > >> > >> Au Contraire....use sparingly at best: > >> www.vb123.com/smart/fp/1998-05.pdf > >> "they dramatically increase the costs of > >> maintaining an application. After all, when you find a bad value in > >> a global variable, that value could have been placed in the > >> variable from any routine in the application. Thats a lot of code > >> to debug" > >> > >>> > >>> Nothing wrong with global variables. > >>> Trouble is always located at those handling these (the > >>> programmer!). > >>> > >> > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/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 Tue Sep 20 17:00:22 2011 From: df.waters at comcast.net (Dan Waters) Date: Tue, 20 Sep 2011 17:00:22 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> References: , <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> Message-ID: <004f01cc77e0$b1db7130$15925390$@comcast.net> I have one module titled Global Variables. That's the only place a global variable gets set. And I don't use them as often as I used to. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, September 20, 2011 4:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Global Vars (was Ambiguous Name) Horsepucky. That's just a confirmation of Gustav's statement that the problem is the programmer, not the global. As a general rule, Global's should be set in only one place, but can read/used anywhere. They should not be used to carry values which can be modified indiscriminately. (unless you are using them in a mulit-threaded application where they are also useful for passing values between threads) -- Stuart On 20 Sep 2011 at 11:46, Mark Simms wrote: > Au Contraire....use sparingly at best: > www.vb123.com/smart/fp/1998-05.pdf > "they dramatically increase the costs of maintaining an application. > After all, when you find a bad value in a global variable, that value > could have been placed in the variable from any routine in the > application. Thats a lot of code to debug" > > > > > Nothing wrong with global variables. > > Trouble is always located at those handling these (the programmer!). > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 20 17:03:42 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Sep 2011 18:03:42 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <4E790847.27609.2345DC63@stuart.lexacorp.com.pg> References: , <002801cc77b8$693dfe20$3bb9fa60$@net>, <4E78CD58.9030604@colbyconsulting.com> <4E790847.27609.2345DC63@stuart.lexacorp.com.pg> Message-ID: <4E790DBE.9050406@colbyconsulting.com> > It's simple to do than. Just avoid putting "myGlobal = ..." in any code outside of module as a matter of policy. Rotfl. As a matter of policy, policemen never beat innocent (or even guilty) people, right? Yea... right. As a matter of policy, politicians never allow contributions to influence their vote, right. Yea... right. If you have ever studied the law, policy is where something goes wrong and there is no specific law to cover it so a policy is written. And policy is just about worth the paper it is written on. John W. Colby www.ColbyConsulting.com On 9/20/2011 5:40 PM, Stuart McLachlan wrote: > It's simple to do than. Just avoid putting "myGlobal = ..." in any code outside of module as a > matter of policy. > From drcaa at click21.com.br Tue Sep 20 17:15:58 2011 From: drcaa at click21.com.br (drcaa at click21.com.br) Date: Tue, 20 Sep 2011 19:15:58 -0300 Subject: [AccessD] A2007 - importing objects from A2000 Message-ID: <1316556958.4e79109e461d8@webmail7.click21.com.br> On 09/18/2011 09:46 AM, William Benson (VBACreations.Com) wrote: > Are you able to create new objects at all in this database? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > drcaa at click21.com.br > Sent: Sunday, September 18, 2011 7:44 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] A2007 - importing objects from A2000 > > Hi people! > I have had a situation tryiong to use a A2000 database in A2007. Some forms > (including a switchboard created by myself) and all reports are not shown in > navigation pane. I tried to convert the database, tried to use in A2000 > format > and no success. Also tried to import all objects from A2000 database, but > those > objects I mentioned are not shown either. > Any hints??? > TIA, > Carl?os Alberto Alves > > Yes, I can. -- ********************************* * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst * * Rio de Janeiro, Brazil * * Skype: carlos-aa * * mailto:drcaa at click21.com.br * * mailto:drcaa at predialnet.com.br* ********************************* ___________________________________________________________________________________ Para fazer uma liga??o DDD pra perto ou pra longe, faz um 21. A Embratel tem tarifas muito baratas esperando por voc?. Aproveite! From john at winhaven.net Tue Sep 20 18:38:15 2011 From: john at winhaven.net (John Bartow) Date: Tue, 20 Sep 2011 18:38:15 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <004f01cc77e0$b1db7130$15925390$@comcast.net> References: , <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> Message-ID: <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> This is the approach I have taken over the years also. Global variables are set at startup/login. Since I'm the only VBA coder it has worked wonderfully :o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, September 20, 2011 5:00 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Global Vars (was Ambiguous Name) I have one module titled Global Variables. That's the only place a global variable gets set. And I don't use them as often as I used to. From fuller.artful at gmail.com Tue Sep 20 19:06:55 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 20 Sep 2011 20:06:55 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> Message-ID: I think that I am going to go with JWC's concept of this. Assuming of course that I have it right, you create a class that houses all the otherwise global variable, and they are protected by Get/Set methods. This appears to me the superior way to go. No way you can touch them. fork with them, without a specific call. No accidents, no side effects. Good for you, JWC. I think you are right on the money here. Arthur From marksimms at verizon.net Tue Sep 20 20:16:03 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 20 Sep 2011 21:16:03 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> Message-ID: <00a901cc77fc$086c9720$1945c560$@net> The only problem then is enforcing a SINGLE INSTANCE of that class. Somehow, the Initialize method must trap the second instance.....perhaps a STATIC variable set to true ? This would effectively provide you with a static class which is what you want here. > I think that I am going to go with JWC's concept of this. Assuming of > course > that I have it right, you create a class that houses all the otherwise > global variable, and they are protected by Get/Set methods. This > appears to > me the superior way to go. No way you can touch them. fork with them, > without a specific call. No accidents, no side effects. Good for you, From jwcolby at colbyconsulting.com Tue Sep 20 21:20:43 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Sep 2011 22:20:43 -0400 Subject: [AccessD] Is hadoop for you? Or me? Fascinating but do I need to spend any more time on this? Message-ID: <4E7949FB.7060607@colbyconsulting.com> http://radar.oreilly.com/2011/01/what-is-hadoop.html Mike Olson: The Hadoop platform was designed to solve problems where you have a lot of data ? perhaps a mixture of complex and structured data ? *and it doesn't fit nicely into tables.* Mike Olson: Hadoop is designed to run on a large number of machines that don't share any memory or disks. Architecturally, the reason you're able to deal with lots of data is because Hadoop spreads it out. And the reason you're able to ask complicated computational questions is because you've got all of these processors, working in parallel, harnessed together. Mike Olson: It's fair to say that a current Hadoop adopter must be more sophisticated than a relational database adopter. Mike Olson: I'm a deep believer in relational databases and in SQL. I think the language is awesome and the products are incredible. I hate the term "NoSQL." It was invented to create cachet around a bunch of different projects, each of which has different properties and behaves in different ways. *The real question is, what problems are you solving? That's what matters to users.* http://freedb2.com/2010/02/04/is-hadoop-cloud-computing/ If you are not familiar with Hadoop, the best way to understand what it does is to think of it as a method or *a programming model for executing complex compute jobs on very large clusters of computers*. These clusters can comprise hundreds and, sometimes, thousands of machines. What Hadoop does is break, or Map, these complex jobs in to much more manageable tasks that are distributed to run on the machines in the cluster. It then assembles the results of the execution of these much smaller parts of the overall job in to one coherent answer. This process of collecting and consolidating the results of the execution is called ?Reduce?. http://en.wikipedia.org/wiki/Apache_Hadoop Apache Hadoop is a software framework that supports data-intensive distributed applications under a free license.[1] *It enables applications to work with thousands of nodes and petabytes of data*. Hadoop was inspired by Google's MapReduce and Google File System (GFS) papers. -- John W. Colby www.ColbyConsulting.com From Gustav at cactus.dk Wed Sep 21 03:12:55 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 21 Sep 2011 10:12:55 +0200 Subject: [AccessD] [dba-SQLServer] Oracle 11g EX (was: MySQL) Message-ID: Hi Jim Yes, as I remember OTN (haven't checked recently) - and contrary to MS, you can download _everything_ to test with no limits and use in development. However, as soon you use the software for whatever other purpose, you have to pay the big money including the fee for your lawyer to check the book-sized license agreement. The XE, however, is free to use in production. /gustav >>> accessd at shaw.ca 20-09-2011 20:01 >>> Gustav: Actually, you can down load Oracles full enterprise version (at least the last time I looked...Oracle version 11i) but it is limited in how many connection and users can have access to it. In addition, if you do call for support you will be directed to a local resource person(s). This system was created so computer science students and small consultant firms could get up to speed in the product. The major difference between Oracle and MS SQL is that in Oracle you can modify and optimize everything. Managing queues, temp tables, transactions, sizes and recovery points. Microsoft has chosen to eliminate or automate most of the fine-tuning part of data management. This is good and it is bad. OOH, a tech can spend years learning the black-art of database control, tuning everything to the nth degree as well as building a very precise set of reports and intergrating various Oracle servers. Rest assured, if a company has a medium and larger site there must be a full-time tech there. Oracle is also very careful on just how many techs are allowed to pass their exams so the rate at which a fully qualified Oracle tech is paid very well. OTOH, a MS SQL site is far more easily setup. A person with a bit of database knowledge can put together a stable SQL site in less than a day. It may not be a fully optimized site but it will work and render the expected results. Some tech can learn as they go and MS is not concerned about whether the person asking for database support is a person that owns a plumbing company or a fully certified tech. Microsoft's exams, though thorough, do not restrict the number of qualified graduates...the more the merrier. The rate a small company will pay a MS SQL qualified person is usually much lower than an Oracle tech with similar qualifications. Much like Microsoft has entrenched itself in new desktop computers and the office application markets, Oracle has tied up most of the high end database market. The other major difference is cost; MS SQL is about a third of the cost of an Oracle suite. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, September 20, 2011 12:25 AM To: accessd at databaseadvisors.com; dba-sqlserver at databaseadvisors.com Subject: Re: [AccessD] [dba-SQLServer] Oracle 11g EX (was: MySQL) Hi Arthur et al Also Oracle sports a free Express version, Oracle 11g XE with these limitations: * Maximum database size is 11 GB * Maximum RAM it will use is 1 GB * Only one instance can be installed on a single computer * Uses only a single CPU Here is a guide for the Windows installation (for people like JC encountering the unknown!): http://www.codeproject.com/KB/database/InstallOracle11gXE.aspx Not that I have used it or intend to do so. The last time I tried (Oracle 8i?) it installed a monster suite of tools and yet you had to deal with manual editing of ora files etc. ... I felt much like JC does now facing the WAMP package. Things may have changed, I know, I'm just not ready to meet the challenge (= have no purpose for it). /gustav -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, September 17, 2011 6:53 PM To: Discussion concerning MS SQL Server Subject: Re: [dba-SQLServer] [AccessD] MySQL There are some nice things about MySQL but on the other hand I definitely do not like where Oracle is going with this puppy since its acquisition of Sun and by inheritance MySQL. I'm still on the fence about these developments, but quite frankly I am leaning against Oracle on all these transmutations of what was originally a simple, straightforward approach. At last recollection, Monty has departed, and with him, I fear, has the guiding vision of this product. Frankly, I am all over the place on where next to go: I look at Mongo and see it exquisite for web-apps but not for OLTP situations. I look at PostGreSQL and think it's got a bunch of things right. I look at Oracle and MS-SQL and think they have some things right as well. I frankly do not have any clue into which basket to toss my next eggs. Arthur From jimdettman at verizon.net Wed Sep 21 08:06:41 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 21 Sep 2011 09:06:41 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: <4E79078D.18538.23430621@stuart.lexacorp.com.pg> References: , , <5B015C9C2D79479F90807E92714D112E@XPS> <4E79078D.18538.23430621@stuart.lexacorp.com.pg> Message-ID: <970A63995E4748EEB471C3B1ADE833BE@XPS> Stuart, I don't agree. It's a global variable. It's scope has been limited to module level yes, but it's still global because more then one procedure can access it. More importantly is the fact that once the module is loaded, the variable exists until the app terminates. That is quit different from a local variable which is created/destroyed when a procedure executes and then terminates. But if it floats your boat, make "private" "public" and nothing has really changed in terms of the discussion. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, September 20, 2011 05:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name In that case, it's NOT Global. It's Local to the module. -- Stuart On 20 Sep 2011 at 12:41, Jim Dettman wrote: > Steve, > > I should have said that this code exists in a standard module. > objcurDB > has been declared private to limit the scope to the module, but it's > still a global variable, which could be accessed by any procedure in > that module. > > Jim. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BradM at blackforestltd.com Wed Sep 21 08:27:42 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Wed, 21 Sep 2011 08:27:42 -0500 Subject: [AccessD] Access "Bloat" - Basic Questions References: <4E591854.8090208@colbyconsulting.com><6BAD4B05F0474F8083137B9C25B1038C@HAL9007><4E597AE8.6269.28B4FE51@stuart.lexacorp.com.pg> Message-ID: A big "Thank You" to everyone who shared their ideas on this issue. I appreciate the assistance. I do "sort of" miss the good-old-days when I worked in the mainframe realm. The only bloat we ever saw was in the invoices from IBM ... and it was huge :-) Thanks again, Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, September 20, 2011 2:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access "Bloat" - Basic Questions How about writing the data to xml files and deleting the files after the query has run? Any version of Access from 2002 up will handle that cleanly Charlotte Foust On Tue, Sep 20, 2011 at 10:57 AM, Brad Marks wrote: > My background is in the mainframe world where we never had to be > concerned about bloat. > > Now I work in the Microsoft Access world and it appears that I have had > my first encounter with significant bloating. > > We have an Access 2007 application that obtains data from several > SQL-Server tables (via ODBC) and from two Excel files. > > This application creates a number of reports. One of the reports needs > data from 2 SQL-Server tables and 2 Excel files. Because of the > complexity of the data, we cannot simply use queries to create the > report, but we have had to resort to an intermediate Access table that > is updated with VBA code via Record-Set processing. Once the data is > processed and stored in this intermediate table, a query is used to pull > this data from the table for use by the report. > > The report in question can be run for any desired date range. If the > date range is small, we see little increase in the size of the accdb > file. However, if the date range selected is large (like a full year's > worth of data), the accdb file grows from 15 MB to 85MB. I believe that > this large increase in size is primarily caused by the Access table that > is used for the intermediate processing of the data. > > In the mainframe world, we used "temporary work files" for such > intermediate processing. Is there something similar available in Access > 2007? > > One idea that I have considered is to use a delete query to clear out > all of the records in the intermediate table after the report is > generated and then add a "Compact on close" option to the application. > > Again, I am new to the world of Access bloat and would like to better > understand how others handle this issue. > > 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 accessd at shaw.ca Wed Sep 21 08:38:25 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 21 Sep 2011 06:38:25 -0700 Subject: [AccessD] [dba-SQLServer] Oracle 11g EX (was: MySQL) In-Reply-To: References: Message-ID: <46EDBC03793C427B8C5462816B493936@creativesystemdesigns.com> Agreed. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 21, 2011 1:13 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] [dba-SQLServer] Oracle 11g EX (was: MySQL) Hi Jim Yes, as I remember OTN (haven't checked recently) - and contrary to MS, you can download _everything_ to test with no limits and use in development. However, as soon you use the software for whatever other purpose, you have to pay the big money including the fee for your lawyer to check the book-sized license agreement. The XE, however, is free to use in production. /gustav >>> accessd at shaw.ca 20-09-2011 20:01 >>> Gustav: Actually, you can down load Oracles full enterprise version (at least the last time I looked...Oracle version 11i) but it is limited in how many connection and users can have access to it. In addition, if you do call for support you will be directed to a local resource person(s). This system was created so computer science students and small consultant firms could get up to speed in the product. The major difference between Oracle and MS SQL is that in Oracle you can modify and optimize everything. Managing queues, temp tables, transactions, sizes and recovery points. Microsoft has chosen to eliminate or automate most of the fine-tuning part of data management. This is good and it is bad. OOH, a tech can spend years learning the black-art of database control, tuning everything to the nth degree as well as building a very precise set of reports and intergrating various Oracle servers. Rest assured, if a company has a medium and larger site there must be a full-time tech there. Oracle is also very careful on just how many techs are allowed to pass their exams so the rate at which a fully qualified Oracle tech is paid very well. OTOH, a MS SQL site is far more easily setup. A person with a bit of database knowledge can put together a stable SQL site in less than a day. It may not be a fully optimized site but it will work and render the expected results. Some tech can learn as they go and MS is not concerned about whether the person asking for database support is a person that owns a plumbing company or a fully certified tech. Microsoft's exams, though thorough, do not restrict the number of qualified graduates...the more the merrier. The rate a small company will pay a MS SQL qualified person is usually much lower than an Oracle tech with similar qualifications. Much like Microsoft has entrenched itself in new desktop computers and the office application markets, Oracle has tied up most of the high end database market. The other major difference is cost; MS SQL is about a third of the cost of an Oracle suite. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, September 20, 2011 12:25 AM To: accessd at databaseadvisors.com; dba-sqlserver at databaseadvisors.com Subject: Re: [AccessD] [dba-SQLServer] Oracle 11g EX (was: MySQL) Hi Arthur et al Also Oracle sports a free Express version, Oracle 11g XE with these limitations: * Maximum database size is 11 GB * Maximum RAM it will use is 1 GB * Only one instance can be installed on a single computer * Uses only a single CPU Here is a guide for the Windows installation (for people like JC encountering the unknown!): http://www.codeproject.com/KB/database/InstallOracle11gXE.aspx Not that I have used it or intend to do so. The last time I tried (Oracle 8i?) it installed a monster suite of tools and yet you had to deal with manual editing of ora files etc. ... I felt much like JC does now facing the WAMP package. Things may have changed, I know, I'm just not ready to meet the challenge (= have no purpose for it). /gustav -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, September 17, 2011 6:53 PM To: Discussion concerning MS SQL Server Subject: Re: [dba-SQLServer] [AccessD] MySQL There are some nice things about MySQL but on the other hand I definitely do not like where Oracle is going with this puppy since its acquisition of Sun and by inheritance MySQL. I'm still on the fence about these developments, but quite frankly I am leaning against Oracle on all these transmutations of what was originally a simple, straightforward approach. At last recollection, Monty has departed, and with him, I fear, has the guiding vision of this product. Frankly, I am all over the place on where next to go: I look at Mongo and see it exquisite for web-apps but not for OLTP situations. I look at PostGreSQL and think it's got a bunch of things right. I look at Oracle and MS-SQL and think they have some things right as well. I frankly do not have any clue into which basket to toss my next eggs. Arthur -- 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 Sep 21 12:29:21 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 21 Sep 2011 13:29:21 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <00a901cc77fc$086c9720$1945c560$@net> References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <00a901cc77fc$086c9720$1945c560$@net> Message-ID: That part is easy! The more difficult part is translating all my static functions to use the new paradigm, which I definitely recognize as superior. This will take some time and won't be backwards-compatible to A2K and A2K3 and A2K7 and so on, but I shall endeavour to figure this out. A. From fuller.artful at gmail.com Wed Sep 21 12:45:22 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 21 Sep 2011 13:45:22 -0400 Subject: [AccessD] Access "Bloat" - Basic Questions In-Reply-To: References: <4E591854.8090208@colbyconsulting.com> <6BAD4B05F0474F8083137B9C25B1038C@HAL9007> <4E597AE8.6269.28B4FE51@stuart.lexacorp.com.pg> Message-ID: Wow! You made my day, Brad! If not month, and maybe year! That was the funniest and most reminiscent email I've had in decades. Thank you for awaking ugly memories. On Wed, Sep 21, 2011 at 9:27 AM, Brad Marks wrote: > A big "Thank You" to everyone who shared their ideas on this issue. > > I appreciate the assistance. > > I do "sort of" miss the good-old-days when I worked in the mainframe > realm. The only bloat we ever saw was in the invoices from IBM ... and > it was huge :-) > > Thanks again, > Brad > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Tuesday, September 20, 2011 2:27 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access "Bloat" - Basic Questions > > How about writing the data to xml files and deleting the files after the > query has run? Any version of Access from 2002 up will handle that > cleanly > > Charlotte Foust > > On Tue, Sep 20, 2011 at 10:57 AM, Brad Marks > wrote: > > > My background is in the mainframe world where we never had to be > > concerned about bloat. > > > > Now I work in the Microsoft Access world and it appears that I have > had > > my first encounter with significant bloating. > > > > We have an Access 2007 application that obtains data from several > > SQL-Server tables (via ODBC) and from two Excel files. > > > > This application creates a number of reports. One of the reports > needs > > data from 2 SQL-Server tables and 2 Excel files. Because of the > > complexity of the data, we cannot simply use queries to create the > > report, but we have had to resort to an intermediate Access table that > > is updated with VBA code via Record-Set processing. Once the data is > > processed and stored in this intermediate table, a query is used to > pull > > this data from the table for use by the report. > > > > The report in question can be run for any desired date range. If the > > date range is small, we see little increase in the size of the accdb > > file. However, if the date range selected is large (like a full > year's > > worth of data), the accdb file grows from 15 MB to 85MB. I believe > that > > this large increase in size is primarily caused by the Access table > that > > is used for the intermediate processing of the data. > > > > In the mainframe world, we used "temporary work files" for such > > intermediate processing. Is there something similar available in > Access > > 2007? > > > > One idea that I have considered is to use a delete query to clear out > > all of the records in the intermediate table after the report is > > generated and then add a "Compact on close" option to the application. > > > > Again, I am new to the world of Access bloat and would like to better > > understand how others handle this issue. > > > > 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 kismert at gmail.com Wed Sep 21 13:25:07 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Wed, 21 Sep 2011 13:25:07 -0500 Subject: [AccessD] Ambiguous Name In-Reply-To: References: Message-ID: All, Ken Ismert: > ... > The question remains: is there any way to enforce safe global value > modification in VBA, except by employing Gustav's discipline? > Thinking about this further, I have come up with two approaches that could work: 1. Use messaging. In this scenario, no global parameters are kept at all. All objects communicate by sending messages to one another in a standardized way. The sender is always identified. Receivers can then decide who to ignore, and who to listen to. 2. Use a listener 'static class'. Some object requests to be the 'speaker', first-come, first-served. Once accepted, only the speaker can set parameters for the rest. Sample code: Option Explicit ' module MTestListener Private Const ML_ERR_SPEAKER As Long = -2147213504 ' 8000 + vbObjectError Private mlPtr As Long ' ObjPtr(Nothing) = 0 Public Sub ListenToMe(ByVal rSpeaker As Object) If mlPtr = 0 Then ' setting mlPtr does not increment the object's ' reference count, so the object can close normally mlPtr = ObjPtr(rSpeaker) Else Err.Raise ML_ERR_SPEAKER, "MTestListener.ListenToMe", _ "Sorry, listening to Object at " & mlPtr End If End Sub Public Sub IgnoreMe(ByVal rSpeaker As Object) If ObjPtr(rSpeaker) = mlPtr Then mlPtr = 0 End If End Sub Public Sub SetParameter(ByVal rSpeaker As Object, sName As String, vValue As Variant) ' must match speaker, and not be nothing If (ObjPtr(rSpeaker) = mlPtr) And (mlPtr <> 0) Then ' set global parameter sName = vValue Else Err.Raise ML_ERR_SPEAKER, "MTestListener.SetParameter", _ "Sorry, listening to Object at " & mlPtr End If End Sub Public Function GetParameter(sName As String) As Variant ' anybody can get a parameter End Function From kismert at gmail.com Wed Sep 21 13:52:07 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Wed, 21 Sep 2011 13:52:07 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) Message-ID: Mark, Just use a standard module, with private member variables, or functions with static variables. As I explained in an earlier post, you can treat a standard module as a static class in VBA (modules even support properties). If you need initialization, call a private Init function that holds a static, like you suggested. -Ken Mark Simms: > The only problem then is enforcing a SINGLE INSTANCE of that class. > Somehow, the Initialize method must trap the second instance.....perhaps a > STATIC variable set to true ? .... > From kismert at gmail.com Wed Sep 21 14:16:21 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Wed, 21 Sep 2011 14:16:21 -0500 Subject: [AccessD] AccessD Digest, Vol 103, Issue 17 In-Reply-To: References: Message-ID: > > Stuart McLachlan: > > As a general rule, Global's should be set in only one place, but can > read/used anywhere. > I think the interesting question is not where a global is set, but by whom. If it is not simply read-once, how do you ensure the right party gets to set the globals? They should not be used to carry values which can be modified > indiscriminately... > But what if you need to modify globals? What do you do then? It is hard to write a real Access app that doesn't require global parameter passing, which requires changing globals. -Ken From kismert at gmail.com Wed Sep 21 14:26:37 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Wed, 21 Sep 2011 14:26:37 -0500 Subject: [AccessD] SSDs and BE storage Message-ID: > jwcolby: > ... > That is a server environment. You should see my server chug. I do > millions of dollars a month business for my client. Not my share > unfortunately. > ... > That seems to be a fairly cavalier attitude given the value of the data you are handling... I think the only rational approach is expressed by 'M' at the bottom of the 'Debunking SSD lifespan and random write performance concerns' post: 'We plan for the failure' -Ken From fuller.artful at gmail.com Wed Sep 21 14:52:45 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 21 Sep 2011 15:52:45 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: References: Message-ID: I like this! Way cool and way slick. Arthur From jwcolby at colbyconsulting.com Wed Sep 21 15:55:21 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 21 Sep 2011 16:55:21 -0400 Subject: [AccessD] SSDs and BE storage In-Reply-To: References: Message-ID: <4E7A4F39.2060400@colbyconsulting.com> > 'We plan for the failure' LOL, and who says I am not? All I said is that there is no "server environment" but rather around a billion "server environments" all different. Do you buy an 18 wheeler because you might need to move once every 20 years? Could you afford an 18 wheeler even if you wanted to do that? Personally I rent one as necessary. For my server, I have a system with a 16 port Areca raid controller, holding 6 tb of raid 6 volumes with hot spare. These hold most of my data. My SSDs are updated once a month. They are backed up to that raid 6 array immediately after the update. If the SSD does fails I haven't lost anything. But it isn't going to fail. *EVER*, at least not from write wear. "We plan for failure" doesn't mean I have to spend money I don't have for tools I don't need. Read carefully and you will find that this specific author's opinions are not widely held, in fact I would call him borderline nutcase. Not to mention the fact that most of what he wrote was written centuries ago (in the SSD world) and just about do not apply today. I can tell he believes that stuff but I did extensive reading of white papers analyzing the problem and the consensus is that unless you are constantly streaming data to the drive as fast as the SATA port will bear, you are never going to wear out even the consumer grade drives. Instead of reading one ... person's opinion I do my own analysis. Did you know that as sectors start to have read errors the controllers move the sectors and mark them bad? This is true in rotating and SS media. So let's do an analysis (for my client building the new system). 1) With a real data set of perhaps 5 gigs 2) And a 100gb (formatted, available) ssd, if you get 5K writes for any block before you get errors This means you can move the entire 5 gigs 20 times before you can no longer write to the disk, which turns into 100 thousand writes of that entire 5 gigs of data. But if the customer is writing 5 gigs once and then updating perhaps 1 to 2 megs of data a day... This is essentially a write once database. Not quite but you get the picture Let's be brutally honest, this thing is going to last about a jillion years. Well, maybe only a million years. They are going Raid 1 with hot spare, and an intelligent controller that costs more than the SSDs. They are also buying a brand (which I recommended) which uses the 34 micron chips precisely because the new 28 micron chips are reporting all kinds of errors at this point in time. And they already (with their existing server) do a full nightly backup. So I need to tell them that the SSD has to be a thousand dollars a pop SLC drives because...???? > I think the only rational approach is expressed by 'M' at the bottom of the 'Debunking SSD lifespan and random write performance concerns' post: > > 'We plan for the failure' I think the only rational approach is 'Use my own brain'. ;) And to imply that I do not plan for failure is unkind at the very least. I have been doing business for the million a month client for 7 years and have never lost data. I have actually lost disks (two in that time period) but the hot spare dropped in and the controller rebuilt the array automatically. I have moved the array twice (to new servers) and never lost data. Raid 6 for main storage and backups has done me well. Believe me I do not have a cavalier attitude with my client's data. OTOH you seem to have a cavalier attitude about spending other people's money! ;) John W. Colby www.ColbyConsulting.com On 9/21/2011 3:26 PM, Kenneth Ismert wrote: >> jwcolby: >> ... >> That is a server environment. You should see my server chug. I do >> millions of dollars a month business for my client. Not my share >> unfortunately. >> ... >> > > That seems to be a fairly cavalier attitude given the value of the data you > are handling... > > I think the only rational approach is expressed by 'M' at the bottom of the > 'Debunking SSD lifespan and random write performance concerns' post: > > 'We plan for the failure' > > -Ken From jwcolby at colbyconsulting.com Wed Sep 21 15:55:57 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 21 Sep 2011 16:55:57 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: References: Message-ID: <4E7A4F5D.7030100@colbyconsulting.com> Ambiguous names are way cool and slick? John W. Colby www.ColbyConsulting.com On 9/21/2011 3:52 PM, Arthur Fuller wrote: > I like this! Way cool and way slick. > > Arthur From gustav at cactus.dk Wed Sep 21 16:13:02 2011 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 21 Sep 2011 23:13:02 +0200 Subject: [AccessD] Global Vars (was Ambiguous Name) Message-ID: Hi Ken You make it sound as if global variables happen to be changed by magic. They don't, because you - the programmer - decides what (and not who) can set the value and when. Since when have developers lost control of a well-designed application? If nothing can change a global variable (or a static or set a property or call a set method) what should its purpose be? Use a constant in that case. /gustav >>> kismert at gmail.com 21-09-2011 21:16 >>> > > Stuart McLachlan: > > As a general rule, Global's should be set in only one place, but can > read/used anywhere. > I think the interesting question is not where a global is set, but by whom. If it is not simply read-once, how do you ensure the right party gets to set the globals? They should not be used to carry values which can be modified > indiscriminately... > But what if you need to modify globals? What do you do then? It is hard to write a real Access app that doesn't require global parameter passing, which requires changing globals. -Ken From fuller.artful at gmail.com Wed Sep 21 16:31:25 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 21 Sep 2011 17:31:25 -0400 Subject: [AccessD] Ambiguous Name In-Reply-To: <4E7A4F5D.7030100@colbyconsulting.com> References: <4E7A4F5D.7030100@colbyconsulting.com> Message-ID: Perhaps I have been spending too much time watching The Wire, which in my opinion is the best series ever made for HBO (it's not TV, it's HBO), but all that said, there is no excuse for ambiguous names. On Wed, Sep 21, 2011 at 4:55 PM, jwcolby wrote: > Ambiguous names are way cool and slick? > > From stuart at lexacorp.com.pg Wed Sep 21 16:56:26 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 22 Sep 2011 07:56:26 +1000 Subject: [AccessD] Ambiguous Name In-Reply-To: <970A63995E4748EEB471C3B1ADE833BE@XPS> References: , <4E79078D.18538.23430621@stuart.lexacorp.com.pg>, <970A63995E4748EEB471C3B1ADE833BE@XPS> Message-ID: <4E7A5D8A.20430.3E1B954@stuart.lexacorp.com.pg> You and I obviously have a different definition of "Global". :-) Changing Private to Public changes everything. If the variable is Public, it has global scope i.e. it is a Global variable. If the variable is Private, it has local scope just the same way in instance variable does inside an object. All you are doing there is using a standard module to replicate part of the functionality of a class object Why not just create a Globals object instead and get full class functionality? -- Stuart On 21 Sep 2011 at 9:06, Jim Dettman wrote: > > Stuart, > > I don't agree. It's a global variable. It's scope has been > limited to > module level yes, but it's still global because more then one > procedure can access it. > > More importantly is the fact that once the module is loaded, the > variable > exists until the app terminates. That is quit different from a local > variable which is created/destroyed when a procedure executes and then > terminates. > > But if it floats your boat, make "private" "public" and nothing has > really > changed in terms of the discussion. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan Sent: Tuesday, September 20, 2011 05:37 PM To: Access > Developers discussion and problem solving Subject: Re: [AccessD] > Ambiguous Name > > In that case, it's NOT Global. It's Local to the module. > > -- > Stuart > On 20 Sep 2011 at 12:41, Jim Dettman wrote: > > > Steve, > > > > I should have said that this code exists in a standard module. > > objcurDB > > has been declared private to limit the scope to the module, but it's > > still a global variable, which could be accessed by any procedure in > > that module. > > > > 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 stuart at lexacorp.com.pg Wed Sep 21 17:18:24 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 22 Sep 2011 08:18:24 +1000 Subject: [AccessD] Ambiguous Name In-Reply-To: References: , Message-ID: <4E7A62B0.17426.3F5D646@stuart.lexacorp.com.pg> Read once, write many variable: Static Function mySafeGlobal(Optional invalue as Variant) as Variant Dim store as Variant If not isempty(store) then mySafeGlobal = store Exit Function End if If not ismissing(invalue) then store = invalue mySafeGlobal = store End if End Function -- Stuart On 21 Sep 2011 at 13:25, Kenneth Ismert wrote: > All, > > Ken Ismert: > > ... > > The question remains: is there any way to enforce safe global value > > modification in VBA, except by employing Gustav's discipline? > > > > Thinking about this further, I have come up with two approaches that > could work: > > 1. Use messaging. In this scenario, no global parameters are kept at > all. All objects communicate by sending messages to one another in a > standardized way. The sender is always identified. Receivers can then > decide who to ignore, and who to listen to. > > 2. Use a listener 'static class'. Some object requests to be the > 'speaker', first-come, first-served. Once accepted, only the speaker > can set parameters for the rest. Sample code: > > Option Explicit > > ' module MTestListener > Private Const ML_ERR_SPEAKER As Long = -2147213504 ' 8000 + > vbObjectError Private mlPtr As Long ' ObjPtr(Nothing) = 0 > > Public Sub ListenToMe(ByVal rSpeaker As Object) > If mlPtr = 0 Then > ' setting mlPtr does not increment the object's > ' reference count, so the object can close normally > mlPtr = ObjPtr(rSpeaker) > Else > Err.Raise ML_ERR_SPEAKER, "MTestListener.ListenToMe", _ > "Sorry, listening to Object at " & mlPtr > End If > End Sub > > Public Sub IgnoreMe(ByVal rSpeaker As Object) > If ObjPtr(rSpeaker) = mlPtr Then > mlPtr = 0 > End If > End Sub > > Public Sub SetParameter(ByVal rSpeaker As Object, sName As String, > vValue As Variant) > ' must match speaker, and not be nothing > If (ObjPtr(rSpeaker) = mlPtr) And (mlPtr <> 0) Then > ' set global parameter sName = vValue > Else > Err.Raise ML_ERR_SPEAKER, "MTestListener.SetParameter", _ > "Sorry, listening to Object at " & mlPtr > End If > End Sub > > Public Function GetParameter(sName As String) As Variant > ' anybody can get a parameter > End Function > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Wed Sep 21 17:21:56 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 22 Sep 2011 08:21:56 +1000 Subject: [AccessD] AccessD Digest, Vol 103, Issue 17 In-Reply-To: References: , Message-ID: <4E7A6384.23339.3F910C6@stuart.lexacorp.com.pg> On the contrary, I very rarely use a Global in an Access application (I do use them frequently in other environments for things like window handles) I do however use static functions a lot in Access. -- Stuart On 21 Sep 2011 at 14:16, Kenneth Ismert wrote: > > But what if you need to modify globals? What do you do then? It is > hard to write a real Access app that doesn't require global parameter > passing, which requires changing globals. > > -Ken > -- > 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 Sep 21 17:24:42 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 22 Sep 2011 08:24:42 +1000 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: Message-ID: <4E7A642A.25822.3FB9975@stuart.lexacorp.com.pg> I do that a LOT. -- Stuart On 21 Sep 2011 at 23:13, Gustav Brock wrote: > > If nothing can change a global variable (or a static or set a property > or call a set method) what should its purpose be? Use a constant in > that case. > From DWUTKA at Marlow.com Wed Sep 21 22:02:07 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Wed, 21 Sep 2011 22:02:07 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> Message-ID: The point of a global variable is to have a VARIABLE value that can be accessed from multiple points. If you want a VALUE available from anywhere, that would be a constant. A variable's value is meant to change. So, even if you wrap your global variables inside of a class, you are still scoping an instance of that class globally, which makes it a global variable. Any variable and any scope can be used poorly. Just throwing my hat into the ring. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, September 20, 2011 7:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Global Vars (was Ambiguous Name) I think that I am going to go with JWC's concept of this. Assuming of course that I have it right, you create a class that houses all the otherwise global variable, and they are protected by Get/Set methods. This appears to me the superior way to go. No way you can touch them. fork with them, without a specific call. No accidents, no side effects. Good for you, JWC. I think you are right on the money here. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From jwcolby at colbyconsulting.com Thu Sep 22 06:06:21 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 22 Sep 2011 07:06:21 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> Message-ID: <4E7B16AD.6030904@colbyconsulting.com> Already too many hats in the ring. ;) John W. Colby www.ColbyConsulting.com On 9/21/2011 11:02 PM, Drew Wutka wrote: > The point of a global variable is to have a VARIABLE value that can be > accessed from multiple points. > > If you want a VALUE available from anywhere, that would be a constant. > A variable's value is meant to change. > > So, even if you wrap your global variables inside of a class, you are > still scoping an instance of that class globally, which makes it a > global variable. > > Any variable and any scope can be used poorly. > > Just throwing my hat into the ring. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Tuesday, September 20, 2011 7:07 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Global Vars (was Ambiguous Name) > > I think that I am going to go with JWC's concept of this. Assuming of > course that I have it right, you create a class that houses all the > otherwise global variable, and they are protected by Get/Set methods. > This appears to me the superior way to go. No way you can touch them. > fork with them, without a specific call. No accidents, no side effects. > Good for you, JWC. I think you are right on the money here. > > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > The information contained in this transmission is intended only for the person or entity > to which it is addressed and may contain II-VI Proprietary and/or II-VI Business > Sensitive material. If you are not the intended recipient, please contact the sender > immediately and destroy the material in its entirety, whether electronic or hard copy. > You are notified that any review, retransmission, copying, disclosure, dissemination, > or other use of, or taking of any action in reliance upon this information by persons > or entities other than the intended recipient is prohibited. > > From DWUTKA at Marlow.com Thu Sep 22 10:32:28 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 22 Sep 2011 10:32:28 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <4E7B16AD.6030904@colbyconsulting.com> References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> Message-ID: Sounds like a global variable is needed to determine how many there are.... ;) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, September 22, 2011 6:06 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Global Vars (was Ambiguous Name) Already too many hats in the ring. ;) John W. Colby www.ColbyConsulting.com On 9/21/2011 11:02 PM, Drew Wutka wrote: > The point of a global variable is to have a VARIABLE value that can be > accessed from multiple points. > > If you want a VALUE available from anywhere, that would be a constant. > A variable's value is meant to change. > > So, even if you wrap your global variables inside of a class, you are > still scoping an instance of that class globally, which makes it a > global variable. > > Any variable and any scope can be used poorly. > > Just throwing my hat into the ring. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur > Fuller > Sent: Tuesday, September 20, 2011 7:07 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Global Vars (was Ambiguous Name) > > I think that I am going to go with JWC's concept of this. Assuming of > course that I have it right, you create a class that houses all the > otherwise global variable, and they are protected by Get/Set methods. > This appears to me the superior way to go. No way you can touch them. > fork with them, without a specific call. No accidents, no side effects. > Good for you, JWC. I think you are right on the money here. > > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com The information contained in > this transmission is intended only for the person or entity to which > it is addressed and may contain II-VI Proprietary and/or II-VI > Business Sensitive material. If you are not the intended recipient, > please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. > You are notified that any review, retransmission, copying, disclosure, > dissemination, or other use of, or taking of any action in reliance > upon this information by persons or entities other than the intended recipient is prohibited. > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From fuller.artful at gmail.com Thu Sep 22 10:55:13 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 22 Sep 2011 11:55:13 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> Message-ID: I used to be the strongest argue-er for static functions, but then Access trumped with with its collection, and now I lean that way. It took a considerable amount of rewriting old apps, but the benefits are IMO abundant. If you have A2K7+ then look at the NorthWind app for evidence of how cool this works. To put it another way, globals are a bad idea, no matter what the scenario, IMO. In the old days, static functions were better. Then came JC's class-approach, which had beauty and class and ease of use, albeit with one downfall -- loading it into any new app is guaranteed to waste a bunch of memory irrelevant to this particular app; but RAM is cheap and the price is OK, but that said, I do choose to occupy the minimal amount of RAM, and that said, I load the library and see which functions/subs are not called and then remove them, so in theory the footprint is smaller. A. From accessd at shaw.ca Thu Sep 22 12:44:14 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 22 Sep 2011 10:44:14 -0700 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> Message-ID: Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim From rockysmolin at bchacc.com Thu Sep 22 13:36:37 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 22 Sep 2011 11:36:37 -0700 Subject: [AccessD] Filtering with International Dates Message-ID: <8123BC58741345EF884BE7F4C21F6423@HAL9007> Dear List: Because I'm old and can't remember (and the archives are down), I was told how to filter with dates so that if a user is using international dates it doesn't matter. The following code: If Nz(Forms!frmPOReport!txtGEPromisedDate) <> "" Then If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " strSQL = strSQL & "fldPOPromisedDate >= #" & Forms!frmPOReport!txtGEPromisedDate & "# " End If If Nz(Forms!frmPOReport!txtLEPromisedDate) <> "" Then If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " strSQL = strSQL & "fldPOPromisedDate <= #" & Forms!frmPOReport!txtLEPromisedDate & "# " strSQL eventually ends up in Me.Filter. Works good in the USA. :) Fails in Nicaragua. :( Was it CDate I was supposed to use? Sorry for the redux. TIA Rocky From dbdoug at gmail.com Thu Sep 22 13:37:52 2011 From: dbdoug at gmail.com (Doug Steele) Date: Thu, 22 Sep 2011 11:37:52 -0700 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> Message-ID: Hi Jim: I've built a couple of ASP.NET apps running off IIS with an Access back end. You definitely don't have to have Access installed. I think when you install .Net you get the drivers you need. Doug On Thu, Sep 22, 2011 at 10:44 AM, Jim Lawrence wrote: > Hi All: > > In the many years, I have worked with MS Access there is on thing I have > never done with it. I have never used MS Access as the DB for an > application > running off an IIS server...any web server for that matter...MS SQL, > Express, Oracle, MySQL etc but never MDB. > > So does MS Access have to be installed on the IIS server and does an > extension have to be added to the server etc.? Can just a set of drivers be > configured...? (If the truth be known I would just love to upsize to any > other DB and be done with it but that is not what the client wants; and the > client is always right.(?)) > > If any one has experience with this process, their knowledgeable tips would > be greatly appreciated. > > MTIA > Jim > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Thu Sep 22 13:38:31 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 22 Sep 2011 14:38:31 -0400 Subject: [AccessD] MySQL is apparently not installed correctly Message-ID: <4E7B80A7.7030904@colbyconsulting.com> 1) The service does not start. 2) the ,err file tells me that Plugin Federated is disabled. 3) The .err file tells me Table 'mysql.plugin' doesn't exist and then it says to run mysql_upgrade to create it. I ran mysql_upgrade and the first time it took off and went. I deleted the error file, rebooted and when it came back up the service is hung on "starting". The .err file tells me the same stuff. Any suggestions? Uninstall / reinstall? -- John W. Colby www.ColbyConsulting.com From rockysmolin at bchacc.com Thu Sep 22 13:47:02 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 22 Sep 2011 11:47:02 -0700 Subject: [AccessD] Filtering with International Dates In-Reply-To: <8123BC58741345EF884BE7F4C21F6423@HAL9007> References: <8123BC58741345EF884BE7F4C21F6423@HAL9007> Message-ID: <0DBE8D67661849AA8444AC0CC5B50013@HAL9007> This seems to work: Format$(varDate, "\#mm\/dd\/yyyy\#") Is that the best solution? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: 22 September 2011 11:37 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Filtering with International Dates Dear List: Because I'm old and can't remember (and the archives are down), I was told how to filter with dates so that if a user is using international dates it doesn't matter. The following code: If Nz(Forms!frmPOReport!txtGEPromisedDate) <> "" Then If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " strSQL = strSQL & "fldPOPromisedDate >= #" & Forms!frmPOReport!txtGEPromisedDate & "# " End If If Nz(Forms!frmPOReport!txtLEPromisedDate) <> "" Then If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " strSQL = strSQL & "fldPOPromisedDate <= #" & Forms!frmPOReport!txtLEPromisedDate & "# " strSQL eventually ends up in Me.Filter. Works good in the USA. :) Fails in Nicaragua. :( Was it CDate I was supposed to use? Sorry for the redux. TIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Thu Sep 22 13:49:37 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 22 Sep 2011 11:49:37 -0700 Subject: [AccessD] Filtering with International Dates In-Reply-To: <8123BC58741345EF884BE7F4C21F6423@HAL9007> References: <8123BC58741345EF884BE7F4C21F6423@HAL9007> Message-ID: Here's what MS suggests: Function MakeUSDate(DateIn As Variant) As String ' Do nothing if the value is not a date. If Not IsDate(DateIn) Then Exit Function ' Convert the date to a U.S. Date format. MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & Year(DateIn) & "#" End Function I would suggest that if you're using SQL Server as an alternative BE you also have a function to return the proper date delimiter. Charlotte Foust On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin wrote: > Dear List: > > Because I'm old and can't remember (and the archives are down), I was told > how to filter with dates so that if a user is using international dates it > doesn't matter. > > The following code: > > If Nz(Forms!frmPOReport!txtGEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate >= #" & > Forms!frmPOReport!txtGEPromisedDate & "# " > End If > > If Nz(Forms!frmPOReport!txtLEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate <= #" & > Forms!frmPOReport!txtLEPromisedDate & "# " > > strSQL eventually ends up in Me.Filter. > > Works good in the USA. :) Fails in Nicaragua. :( > > Was it CDate I was supposed to use? > > Sorry for the redux. > > TIA > > Rocky > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From rockysmolin at bchacc.com Thu Sep 22 14:27:45 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 22 Sep 2011 12:27:45 -0700 Subject: [AccessD] Filtering with International Dates In-Reply-To: References: <8123BC58741345EF884BE7F4C21F6423@HAL9007> Message-ID: Is that better or more reliable or more general than Format$(varDate, "\#mm\/dd\/yyyy\#")? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, September 22, 2011 11:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Here's what MS suggests: Function MakeUSDate(DateIn As Variant) As String ' Do nothing if the value is not a date. If Not IsDate(DateIn) Then Exit Function ' Convert the date to a U.S. Date format. MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & Year(DateIn) & "#" End Function I would suggest that if you're using SQL Server as an alternative BE you also have a function to return the proper date delimiter. Charlotte Foust On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin wrote: > Dear List: > > Because I'm old and can't remember (and the archives are down), I was > told how to filter with dates so that if a user is using international > dates it doesn't matter. > > The following code: > > If Nz(Forms!frmPOReport!txtGEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate >= #" & > Forms!frmPOReport!txtGEPromisedDate & "# " > End If > > If Nz(Forms!frmPOReport!txtLEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate <= #" & > Forms!frmPOReport!txtLEPromisedDate & "# " > > strSQL eventually ends up in Me.Filter. > > Works good in the USA. :) Fails in Nicaragua. :( > > Was it CDate I was supposed to use? > > Sorry for the redux. > > TIA > > 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 DWUTKA at Marlow.com Thu Sep 22 14:25:50 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 22 Sep 2011 14:25:50 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com> Message-ID: Again, globals are not a 'bad idea'. Globals can be misused. I don't think anyone can argue that. But almost anything can be misused. A global variable is merely a specific scope for a variable. You have procedural, modular and global. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, September 22, 2011 10:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Global Vars (was Ambiguous Name) I used to be the strongest argue-er for static functions, but then Access trumped with with its collection, and now I lean that way. It took a considerable amount of rewriting old apps, but the benefits are IMO abundant. If you have A2K7+ then look at the NorthWind app for evidence of how cool this works. To put it another way, globals are a bad idea, no matter what the scenario, IMO. In the old days, static functions were better. Then came JC's class-approach, which had beauty and class and ease of use, albeit with one downfall -- loading it into any new app is guaranteed to waste a bunch of memory irrelevant to this particular app; but RAM is cheap and the price is OK, but that said, I do choose to occupy the minimal amount of RAM, and that said, I load the library and see which functions/subs are not called and then remove them, so in theory the footprint is smaller. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Thu Sep 22 14:29:32 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 22 Sep 2011 14:29:32 -0500 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com> Message-ID: You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From jwcolby at colbyconsulting.com Thu Sep 22 14:54:42 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 22 Sep 2011 15:54:42 -0400 Subject: [AccessD] MySQL is broke now Message-ID: <4E7B9282.5060606@colbyconsulting.com> The service never ran. I did some stuff including modifying my.ini to add federated. Doing that stopped the error log being generated but the service still would not start. I found something that discusses deleting the service (which worked) but the thing that adds the service does not work. My windows paste buffer is not working between my VM and my laptop so the following is just typed in. The line is: mysql --install MySQL --defaults-file="C:\Program Files\MySQL\MySQL Server 5.5\My.Ini" This does in fact add a line to the services but the problem is that the service thinks that MySQLd.exe is in thesame location as that my.ini whereas it is in fact down in a bin under that dir. I.e. the "path to executable" is looking for the MySQLD.exe in the wrong place and thus cannot be started. This is getting annoying. I have been trying various things for hours and just cannot get MySQL to run as a service and now the entry in the service table (or registry?) is corrupted. Sigh. -- John W. Colby www.ColbyConsulting.com From fuller.artful at gmail.com Thu Sep 22 14:59:09 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 22 Sep 2011 15:59:09 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> Message-ID: Much as I wish to pursue this chat, there is something happening on my head. I am bleeding and I don't have a clue why, but it seems that I ought to attend to this. Back when curred! Whaoa, man, there is abundant stuff comin' outa my head. I don't even know what happened. This is is not gott. Will report back when all is fixed. Arthur From steve at datamanagementsolutions.biz Thu Sep 22 16:08:28 2011 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Fri, 23 Sep 2011 09:08:28 +1200 Subject: [AccessD] Filtering with International Dates In-Reply-To: References: <8123BC58741345EF884BE7F4C21F6423@HAL9007> Message-ID: Rocky As a person in a non-US zone, I have always used the CLng function in such circumstances. Works great. strSQL = strSQL & "fldPOPromisedDate <= " & CLng(Forms!frmPOReport!txtLEPromisedDate) Regards Steve -----Original Message----- From: Rocky Smolin Sent: Friday, September 23, 2011 7:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Filtering with International Dates Is that better or more reliable or more general than Format$(varDate, "\#mm\/dd\/yyyy\#")? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, September 22, 2011 11:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Here's what MS suggests: Function MakeUSDate(DateIn As Variant) As String ' Do nothing if the value is not a date. If Not IsDate(DateIn) Then Exit Function ' Convert the date to a U.S. Date format. MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & Year(DateIn) & "#" End Function I would suggest that if you're using SQL Server as an alternative BE you also have a function to return the proper date delimiter. Charlotte Foust On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin wrote: > Dear List: > > Because I'm old and can't remember (and the archives are down), I was > told how to filter with dates so that if a user is using international > dates it doesn't matter. > > The following code: > > If Nz(Forms!frmPOReport!txtGEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate >= #" & > Forms!frmPOReport!txtGEPromisedDate & "# " > End If > > If Nz(Forms!frmPOReport!txtLEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate <= #" & > Forms!frmPOReport!txtLEPromisedDate & "# " > > strSQL eventually ends up in Me.Filter. > > Works good in the USA. :) Fails in Nicaragua. :( > > Was it CDate I was supposed to use? > > Sorry for the redux. > > TIA > > 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 charlotte.foust at gmail.com Thu Sep 22 16:16:20 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 22 Sep 2011 14:16:20 -0700 Subject: [AccessD] Filtering with International Dates In-Reply-To: References: <8123BC58741345EF884BE7F4C21F6423@HAL9007> Message-ID: But a date isn't an integer of any length, so if you have times included in the date field, CLng would give you the wrong result. Charlotte Foust On Thu, Sep 22, 2011 at 2:08 PM, Steve Schapel < steve at datamanagementsolutions.biz> wrote: > Rocky > > As a person in a non-US zone, I have always used the CLng function in such > circumstances. Works great. > > strSQL = strSQL & "fldPOPromisedDate <= " & CLng(Forms!frmPOReport!** > txtLEPromisedDate) > > Regards > Steve > > -----Original Message----- From: Rocky Smolin > Sent: Friday, September 23, 2011 7:27 AM > > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Filtering with International Dates > > Is that better or more reliable or more general than > > Format$(varDate, "\#mm\/dd\/yyyy\#")? > > Rocky > > -----Original Message----- > From: accessd-bounces@**databaseadvisors.com > [mailto:accessd-bounces@**databaseadvisors.com] > On Behalf Of Charlotte Foust > Sent: Thursday, September 22, 2011 11:50 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Filtering with International Dates > > Here's what MS suggests: > > Function MakeUSDate(DateIn As Variant) As String > > ' Do nothing if the value is not a date. > > If Not IsDate(DateIn) Then Exit Function > > ' Convert the date to a U.S. Date format. > > MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & > Year(DateIn) & "#" > > End Function > > I would suggest that if you're using SQL Server as an alternative BE you > also have a function to return the proper date delimiter. > > Charlotte Foust > On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin > wrote: > > Dear List: >> >> Because I'm old and can't remember (and the archives are down), I was >> told how to filter with dates so that if a user is using international >> dates it doesn't matter. >> >> The following code: >> >> If Nz(Forms!frmPOReport!**txtGEPromisedDate) <> "" Then >> If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " >> strSQL = strSQL & "fldPOPromisedDate >= #" & >> Forms!frmPOReport!**txtGEPromisedDate & "# " >> End If >> >> If Nz(Forms!frmPOReport!**txtLEPromisedDate) <> "" Then >> If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " >> strSQL = strSQL & "fldPOPromisedDate <= #" & >> Forms!frmPOReport!**txtLEPromisedDate & "# " >> >> strSQL eventually ends up in Me.Filter. >> >> Works good in the USA. :) Fails in Nicaragua. :( >> >> Was it CDate I was supposed to use? >> >> Sorry for the redux. >> >> TIA >> >> 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 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From steve at datamanagementsolutions.biz Thu Sep 22 16:36:30 2011 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Fri, 23 Sep 2011 09:36:30 +1200 Subject: [AccessD] Filtering with International Dates In-Reply-To: References: <8123BC58741345EF884BE7F4C21F6423@HAL9007> Message-ID: <9FD44C573AD24BE3BA3BC91827E687F3@stevelaptop> That's correct, Chartlotte. If there is a time component, I use CDbl. Regards Steve -----Original Message----- From: Charlotte Foust Sent: Friday, September 23, 2011 9:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates But a date isn't an integer of any length, so if you have times included in the date field, CLng would give you the wrong result. Charlotte Foust On Thu, Sep 22, 2011 at 2:08 PM, Steve Schapel < steve at datamanagementsolutions.biz> wrote: > Rocky > > As a person in a non-US zone, I have always used the CLng function in such > circumstances. Works great. > > strSQL = strSQL & "fldPOPromisedDate <= " & CLng(Forms!frmPOReport!** > txtLEPromisedDate) > > Regards > Steve > > -----Original Message----- From: Rocky Smolin > Sent: Friday, September 23, 2011 7:27 AM > > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Filtering with International Dates > > Is that better or more reliable or more general than > > Format$(varDate, "\#mm\/dd\/yyyy\#")? > > Rocky > > -----Original Message----- > From: > accessd-bounces@**databaseadvisors.com > [mailto:accessd-bounces@**databaseadvisors.com] > On Behalf Of Charlotte Foust > Sent: Thursday, September 22, 2011 11:50 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Filtering with International Dates > > Here's what MS suggests: > > Function MakeUSDate(DateIn As Variant) As String > > ' Do nothing if the value is not a date. > > If Not IsDate(DateIn) Then Exit Function > > ' Convert the date to a U.S. Date format. > > MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & > Year(DateIn) & "#" > > End Function > > I would suggest that if you're using SQL Server as an alternative BE you > also have a function to return the proper date delimiter. > > Charlotte Foust > On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin > wrote: > > Dear List: >> >> Because I'm old and can't remember (and the archives are down), I was >> told how to filter with dates so that if a user is using international >> dates it doesn't matter. >> >> The following code: >> >> If Nz(Forms!frmPOReport!**txtGEPromisedDate) <> "" Then >> If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " >> strSQL = strSQL & "fldPOPromisedDate >= #" & >> Forms!frmPOReport!**txtGEPromisedDate & "# " >> End If >> >> If Nz(Forms!frmPOReport!**txtLEPromisedDate) <> "" Then >> If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " >> strSQL = strSQL & "fldPOPromisedDate <= #" & >> Forms!frmPOReport!**txtLEPromisedDate & "# " >> >> strSQL eventually ends up in Me.Filter. >> >> Works good in the USA. :) Fails in Nicaragua. :( >> >> Was it CDate I was supposed to use? >> >> Sorry for the redux. >> >> TIA >> >> 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 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/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 DWUTKA at Marlow.com Thu Sep 22 16:45:44 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 22 Sep 2011 16:45:44 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com> Message-ID: ACKKKK !!! Let us know when you are ok Arthur!!! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, September 22, 2011 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Global Vars (was Ambiguous Name) Much as I wish to pursue this chat, there is something happening on my head. I am bleeding and I don't have a clue why, but it seems that I ought to attend to this. Back when curred! Whaoa, man, there is abundant stuff comin' outa my head. I don't even know what happened. This is is not gott. Will report back when all is fixed. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From accessd at shaw.ca Thu Sep 22 16:58:41 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 22 Sep 2011 14:58:41 -0700 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> Message-ID: <2EB95DD236DB48CD942FAEFB4A67DDD2@creativesystemdesigns.com> Unfortunately, we are not talking about ASP.Net but rather classic ASP. :-( Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Thursday, September 22, 2011 11:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Hi Jim: I've built a couple of ASP.NET apps running off IIS with an Access back end. You definitely don't have to have Access installed. I think when you install .Net you get the drivers you need. Doug On Thu, Sep 22, 2011 at 10:44 AM, Jim Lawrence wrote: > Hi All: > > In the many years, I have worked with MS Access there is on thing I have > never done with it. I have never used MS Access as the DB for an > application > running off an IIS server...any web server for that matter...MS SQL, > Express, Oracle, MySQL etc but never MDB. > > So does MS Access have to be installed on the IIS server and does an > extension have to be added to the server etc.? Can just a set of drivers be > configured...? (If the truth be known I would just love to upsize to any > other DB and be done with it but that is not what the client wants; and the > client is always right.(?)) > > If any one has experience with this process, their knowledgeable tips would > be greatly appreciated. > > MTIA > 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 accessd at shaw.ca Thu Sep 22 17:00:56 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 22 Sep 2011 15:00:56 -0700 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> Message-ID: <511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> Does that mean Access have to be installed on the IIS server? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Sep 22 17:04:40 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 22 Sep 2011 15:04:40 -0700 Subject: [AccessD] MySQL is broke now In-Reply-To: <4E7B9282.5060606@colbyconsulting.com> References: <4E7B9282.5060606@colbyconsulting.com> Message-ID: <57B14928257044BB86837DCA8EF3102B@creativesystemdesigns.com> Post a message on OT_SQL...Hans will help you. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, September 22, 2011 12:55 PM To: Access Developers discussion and problem solving Subject: [AccessD] MySQL is broke now The service never ran. I did some stuff including modifying my.ini to add federated. Doing that stopped the error log being generated but the service still would not start. I found something that discusses deleting the service (which worked) but the thing that adds the service does not work. My windows paste buffer is not working between my VM and my laptop so the following is just typed in. The line is: mysql --install MySQL --defaults-file="C:\Program Files\MySQL\MySQL Server 5.5\My.Ini" This does in fact add a line to the services but the problem is that the service thinks that MySQLd.exe is in thesame location as that my.ini whereas it is in fact down in a bin under that dir. I.e. the "path to executable" is looking for the MySQLD.exe in the wrong place and thus cannot be started. This is getting annoying. I have been trying various things for hours and just cannot get MySQL to run as a service and now the entry in the service table (or registry?) is corrupted. Sigh. -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Sep 22 17:08:11 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 22 Sep 2011 15:08:11 -0700 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> Message-ID: <2A0245B6D3774330A2B2A64074601440@creativesystemdesigns.com> Wow, I hope you are OK... Post us as soon as you can. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, September 22, 2011 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Global Vars (was Ambiguous Name) Much as I wish to pursue this chat, there is something happening on my head. I am bleeding and I don't have a clue why, but it seems that I ought to attend to this. Back when curred! Whaoa, man, there is abundant stuff comin' outa my head. I don't even know what happened. This is is not gott. Will report back when all is fixed. Arthur From stuart at lexacorp.com.pg Thu Sep 22 17:10:57 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 23 Sep 2011 08:10:57 +1000 Subject: [AccessD] Filtering with International Dates In-Reply-To: References: <8123BC58741345EF884BE7F4C21F6423@HAL9007>, , Message-ID: <4E7BB271.31766.9156315@stuart.lexacorp.com.pg> CLng returns the wrong value if the data contains a time after midday (it rounds the day part up to the next day). I always use strSQL = ...Datevalue('" & txtDate & "').... -- Stuart On 22 Sep 2011 at 14:16, Charlotte Foust wrote: > But a date isn't an integer of any length, so if you have times > included in the date field, CLng would give you the wrong result. > > Charlotte Foust > > On Thu, Sep 22, 2011 at 2:08 PM, Steve Schapel < > steve at datamanagementsolutions.biz> wrote: > > > Rocky > > > > As a person in a non-US zone, I have always used the CLng function > > in such circumstances. Works great. > > > > strSQL = strSQL & "fldPOPromisedDate <= " & > > CLng(Forms!frmPOReport!** txtLEPromisedDate) > > > > Regards > > Steve > > > > -----Original Message----- From: Rocky Smolin > > Sent: Friday, September 23, 2011 7:27 AM > > > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Filtering with International Dates > > > > Is that better or more reliable or more general than > > > > Format$(varDate, "\#mm\/dd\/yyyy\#")? > > > > Rocky > > > > -----Original Message----- > > From: > > accessd-bounces@**databaseadvisors.com > ors.com> > > [mailto:accessd-bounces@**databaseadvisors.com > aseadvisors.com>] On Behalf Of Charlotte Foust Sent: Thursday, > > September 22, 2011 11:50 AM To: Access Developers discussion and > > problem solving Subject: Re: [AccessD] Filtering with International > > Dates > > > > Here's what MS suggests: > > > > Function MakeUSDate(DateIn As Variant) As String > > > > ' Do nothing if the value is not a date. > > > > If Not IsDate(DateIn) Then Exit Function > > > > ' Convert the date to a U.S. Date format. > > > > MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & > > Year(DateIn) & "#" > > > > End Function > > > > I would suggest that if you're using SQL Server as an alternative BE > > you also have a function to return the proper date delimiter. > > > > Charlotte Foust > > On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin > > wrote: > > > > Dear List: > >> > >> Because I'm old and can't remember (and the archives are down), I > >> was told how to filter with dates so that if a user is using > >> international dates it doesn't matter. > >> > >> The following code: > >> > >> If Nz(Forms!frmPOReport!**txtGEPromisedDate) <> "" Then > >> If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > >> strSQL = strSQL & "fldPOPromisedDate >= #" & > >> Forms!frmPOReport!**txtGEPromisedDate & "# " > >> End If > >> > >> If Nz(Forms!frmPOReport!**txtLEPromisedDate) <> "" Then > >> If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > >> strSQL = strSQL & "fldPOPromisedDate <= #" & > >> Forms!frmPOReport!**txtLEPromisedDate & "# " > >> > >> strSQL eventually ends up in Me.Filter. > >> > >> Works good in the USA. :) Fails in Nicaragua. :( > >> > >> Was it CDate I was supposed to use? > >> > >> Sorry for the redux. > >> > >> TIA > >> > >> Rocky > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/**mailman/listinfo/accessd >> aseadvisors.com/mailman/listinfo/accessd> > >> > >> > >> > >> > >> Website: > >> http://www.databaseadvisors.**com > >> > >> > >> > >> > >> > >> -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/accessd > seadvisors.com/mailman/listinfo/accessd> > > > > > > Website: > > http://www.databaseadvisors.**com > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/accessd > seadvisors.com/mailman/listinfo/accessd> > > > > > > Website: > > http://www.databaseadvisors.**com > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/accessd > seadvisors.com/mailman/listinfo/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 ab-mi at post3.tele.dk Thu Sep 22 17:12:29 2011 From: ab-mi at post3.tele.dk (Asger Blond) Date: Fri, 23 Sep 2011 00:12:29 +0200 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com> Message-ID: <85DE820BDE2B4B4E88D3D27F7298E51C@abpc> Yea, too bad - but that's what all of us must expect when entering global wars.. Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Drew Wutka Sendt: 22. september 2011 23:46 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Global Vars (was Ambiguous Name) ACKKKK !!! Let us know when you are ok Arthur!!! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, September 22, 2011 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Global Vars (was Ambiguous Name) Much as I wish to pursue this chat, there is something happening on my head. I am bleeding and I don't have a clue why, but it seems that I ought to attend to this. Back when curred! Whaoa, man, there is abundant stuff comin' outa my head. I don't even know what happened. This is is not gott. Will report back when all is fixed. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kismert at gmail.com Thu Sep 22 17:17:49 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Thu, 22 Sep 2011 17:17:49 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) Message-ID: > Gustav Brock: > You make it sound as if global variables happen > to be changed by magic. They don't, because you - > the programmer - decides what (and not who) can > set the value and when. Yes, a good recap of the 'discipline' argument for using globals. But discipline is much easier to enforce for yourself than to impose on others. When there are multiple programmers on a project, opportunities for confusion multiply. Once discipline breaks down, and the implicit rules for using particular globals get ignored or misunderstood, you are toast. So, my question to you is, are there simple programmatic lines of defense one can use to protect globals against obvious kinds of misuse? I think the answer is yes, and put forth two concepts. Maybe this is just a theoretical question, but I find thinking about it worthwhile. > If nothing can change a global variable ... what > should its purpose be? Use a constant in that case. There are plenty of cases where you want 'read-once' or 'setup-once' globals, that read local machine settings, setup a global object for persistent use, etc. But in the end, I largely agree with you. Globals are only bad when they are misused. But enforcing discipline can be tricky. -Ken From jimdettman at verizon.net Thu Sep 22 17:21:31 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 22 Sep 2011 18:21:31 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com> Message-ID: Head wounds always bleed like there's no tomorrow. I had a nick the size of a pencil eraser once and totally soaked the shirt I was wearing. Let's hope he thought to sit down and get some pressure on it. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 05:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Global Vars (was Ambiguous Name) ACKKKK !!! Let us know when you are ok Arthur!!! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, September 22, 2011 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Global Vars (was Ambiguous Name) Much as I wish to pursue this chat, there is something happening on my head. I am bleeding and I don't have a clue why, but it seems that I ought to attend to this. Back when curred! Whaoa, man, there is abundant stuff comin' outa my head. I don't even know what happened. This is is not gott. Will report back when all is fixed. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Sep 22 17:25:22 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 22 Sep 2011 15:25:22 -0700 Subject: [AccessD] Filtering with International Dates In-Reply-To: References: <8123BC58741345EF884BE7F4C21F6423@HAL9007> Message-ID: <96BC5E0E427B4876AB655C25A90D0C21@HAL9007> Cool. That would seem to be pretty universal then regardless of source format? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Thursday, September 22, 2011 2:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Rocky As a person in a non-US zone, I have always used the CLng function in such circumstances. Works great. strSQL = strSQL & "fldPOPromisedDate <= " & CLng(Forms!frmPOReport!txtLEPromisedDate) Regards Steve -----Original Message----- From: Rocky Smolin Sent: Friday, September 23, 2011 7:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Filtering with International Dates Is that better or more reliable or more general than Format$(varDate, "\#mm\/dd\/yyyy\#")? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, September 22, 2011 11:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Here's what MS suggests: Function MakeUSDate(DateIn As Variant) As String ' Do nothing if the value is not a date. If Not IsDate(DateIn) Then Exit Function ' Convert the date to a U.S. Date format. MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & Year(DateIn) & "#" End Function I would suggest that if you're using SQL Server as an alternative BE you also have a function to return the proper date delimiter. Charlotte Foust On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin wrote: > Dear List: > > Because I'm old and can't remember (and the archives are down), I was > told how to filter with dates so that if a user is using international > dates it doesn't matter. > > The following code: > > If Nz(Forms!frmPOReport!txtGEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate >= #" & > Forms!frmPOReport!txtGEPromisedDate & "# " > End If > > If Nz(Forms!frmPOReport!txtLEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate <= #" & > Forms!frmPOReport!txtLEPromisedDate & "# " > > strSQL eventually ends up in Me.Filter. > > Works good in the USA. :) Fails in Nicaragua. :( > > Was it CDate I was supposed to use? > > Sorry for the redux. > > TIA > > 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kismert at gmail.com Thu Sep 22 17:33:47 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Thu, 22 Sep 2011 17:33:47 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) Message-ID: > Stuart McLachlan: > You and I obviously have a different definition of > "Global". :-) Changing Private to Public changes > everything ... > ... Why not just create a Globals object instead > and get full class functionality? 'Global Variables' includes globally scoped classes or static functions that allow changeable values. This is my critical point: a writable property of a global class can be changed by anyone anywhere at any time -- just like a global variable, which is supposedly 'bad' for the same reason. So, just using global classes or functions doesn't fix the root problem of global variables. > Read once, write many variable: > Static Function mySafeGlobal(Optional invalue as Variant) as Variant > Dim store as Variant > If not isempty(store) then > mySafeGlobal = store > Exit Function > End if > If not ismissing(invalue) then > store = invalue > mySafeGlobal = store > End if > End Function Looking at the code, I assume you mean 'write once, read many'. And a typo: store should be Static, nod Dim'ed, otherwise you can change the value every time it is called. I use functions similar to this all the time. Contributing code is the most valuable way to work through the real issues of this discussion. -Ken From kismert at gmail.com Thu Sep 22 17:40:07 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Thu, 22 Sep 2011 17:40:07 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) Message-ID: > Drew Wutka: > ... > So, even if you wrap your global variables inside of a > class, you are still scoping an instance of that class > globally, which makes it a global variable... My point exactly. The 'globals are bad' camp haven't explained how a code wrapper that lets you change the value makes the global problem go away. And yes, there are common situations in Access where you want changeable global values. The only advantage I see to the wrapper is that you get to set a breakpoint. Little help when it fails in the field. -Ken From DWUTKA at Marlow.com Thu Sep 22 17:39:51 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 22 Sep 2011 17:39:51 -0500 Subject: [AccessD] MS Access with IIS In-Reply-To: <511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com> <511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> Message-ID: Nope.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 5:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Does that mean Access have to be installed on the IIS server? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From steve at datamanagementsolutions.biz Thu Sep 22 17:56:35 2011 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Fri, 23 Sep 2011 10:56:35 +1200 Subject: [AccessD] Filtering with International Dates In-Reply-To: <96BC5E0E427B4876AB655C25A90D0C21@HAL9007> References: <8123BC58741345EF884BE7F4C21F6423@HAL9007> <96BC5E0E427B4876AB655C25A90D0C21@HAL9007> Message-ID: Yes, Rocky, it always works. A proviso I think is that if you are using an unbound textbox to gather your date criteria, and then referring to that textbox in your code (Me.MyTextbox or Forms!MyForm!MyTextbox), the textbox's Format property should be set to a valid date format. Yes, if you need to cater to a time component (in my experience this is very rare in the type of circumstance you described), then you need to make sure you write your code accordingly, but that is also very easy. Regards Steve -----Original Message----- From: Rocky Smolin Sent: Friday, September 23, 2011 10:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Filtering with International Dates Cool. That would seem to be pretty universal then regardless of source format? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Thursday, September 22, 2011 2:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Rocky As a person in a non-US zone, I have always used the CLng function in such circumstances. Works great. strSQL = strSQL & "fldPOPromisedDate <= " & CLng(Forms!frmPOReport!txtLEPromisedDate) Regards Steve -----Original Message----- From: Rocky Smolin Sent: Friday, September 23, 2011 7:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Filtering with International Dates Is that better or more reliable or more general than Format$(varDate, "\#mm\/dd\/yyyy\#")? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, September 22, 2011 11:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Here's what MS suggests: Function MakeUSDate(DateIn As Variant) As String ' Do nothing if the value is not a date. If Not IsDate(DateIn) Then Exit Function ' Convert the date to a U.S. Date format. MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & Year(DateIn) & "#" End Function I would suggest that if you're using SQL Server as an alternative BE you also have a function to return the proper date delimiter. Charlotte Foust On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin wrote: > Dear List: > > Because I'm old and can't remember (and the archives are down), I was > told how to filter with dates so that if a user is using international > dates it doesn't matter. > > The following code: > > If Nz(Forms!frmPOReport!txtGEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate >= #" & > Forms!frmPOReport!txtGEPromisedDate & "# " > End If > > If Nz(Forms!frmPOReport!txtLEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate <= #" & > Forms!frmPOReport!txtLEPromisedDate & "# " > > strSQL eventually ends up in Me.Filter. > > Works good in the USA. :) Fails in Nicaragua. :( > > Was it CDate I was supposed to use? > > Sorry for the redux. > > TIA > > 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Thu Sep 22 18:57:49 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Thu, 22 Sep 2011 18:57:49 -0500 Subject: [AccessD] SSDs and BE storage Message-ID: I'm sorry that you felt my remarks were unkind. You have done your own research, and have taken steps to mitigate the risks by limiting how your SSDs are used. And you are planning for failure with a robust backup scheme using traditional HDDs. Still, my first experience with an SSD out of the box was that the firmware had a critical bug, which required an update that wasn't available, because the maker needed a lot of time to test the revision. It seems likely that the real cause is that the drive, being a consumer level product, didn't have enough capacitance built-in to shut down gracefully during a power outage. Maybe we made a poor choice, but the device was from a dominant player in the industry. Not a confidence builder. Also, some of your own comments don't bolster your overall glowing endorsement. To wit: the SSD's with the 34 micron chips are good but the new 28 micron chips are bad? That sounds like caveat emptor to me. Problems with scaling down and firmware issues sound to me like indicators of a technology that is still not mature enough to be suitable as drop-in replacements for HDDs in a broad range of server applications. And yes, the one source I quoted does sound like a guy fishing for consulting work, but you conveniently neglected to criticize my other reference, who said things more central to my point, and who seems more credible. Certainly, the technology will mature, and adoption rates will climb. Operating systems that optimize for SSDs will become more popular. Right now, for our server installation, I'm content to wait it out. -Ken From accessd at shaw.ca Thu Sep 22 20:19:53 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 22 Sep 2011 18:19:53 -0700 Subject: [AccessD] Open Source Cloud In-Reply-To: <000001cc7949$4180df00$c4829d00$@winhaven.net> References: <015a01cc78ed$0f1246a0$2d36d3e0$@winhaven.net> <000001cc7949$4180df00$c4829d00$@winhaven.net> Message-ID: <8006FA011228414CA042F947B0D1070F@creativesystemdesigns.com> The Open Source Cloud is here and another homerun for the Open Source community. OpenStack Diablo is a Quantum Leap for Open Source Cloud. OpenStack has been criticized by some as "the consortium of people who can't figure out how to compete with Amazon Web Services on their own." Well, they are half-right. http://www.readwriteweb.com/cloud/2011/09/openstack-diablo-is-a-quantum.php Now all those who wanted to dabble and expand their knowledge into the Cloud have a low cost place to start. Here is a perfect place to run a small (or large) set of travelling applications from; imaging, backups, structure data storage, user access control, etc. To download to your (Ubuntu) Linux (virtual) server: http://www.openstack.org/projects/compute/ Jim From charlotte.foust at gmail.com Thu Sep 22 20:25:45 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 22 Sep 2011 18:25:45 -0700 Subject: [AccessD] Filtering with International Dates In-Reply-To: <9FD44C573AD24BE3BA3BC91827E687F3@stevelaptop> References: <8123BC58741345EF884BE7F4C21F6423@HAL9007> <9FD44C573AD24BE3BA3BC91827E687F3@stevelaptop> Message-ID: One thing I learned the hard way is that there is ALWAYS a time component, even if it's midnight. Using it on a consistent basis is a good idea because assumptions can come back to haunt you. Charlotte Foust On Thu, Sep 22, 2011 at 2:36 PM, Steve Schapel < steve at datamanagementsolutions.biz> wrote: > That's correct, Chartlotte. If there is a time component, I use CDbl. > > Regards > Steve > > -----Original Message----- From: Charlotte Foust > Sent: Friday, September 23, 2011 9:16 AM > > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Filtering with International Dates > > But a date isn't an integer of any length, so if you have times included in > the date field, CLng would give you the wrong result. > > Charlotte Foust > > On Thu, Sep 22, 2011 at 2:08 PM, Steve Schapel < > steve at datamanagementsolutions.**biz > > wrote: > > Rocky >> >> As a person in a non-US zone, I have always used the CLng function in such >> circumstances. Works great. >> >> strSQL = strSQL & "fldPOPromisedDate <= " & CLng(Forms!frmPOReport!** >> txtLEPromisedDate) >> >> Regards >> Steve >> >> -----Original Message----- From: Rocky Smolin >> Sent: Friday, September 23, 2011 7:27 AM >> >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Filtering with International Dates >> >> Is that better or more reliable or more general than >> >> Format$(varDate, "\#mm\/dd\/yyyy\#")? >> >> Rocky >> >> -----Original Message----- >> From: accessd-bounces@**databaseadvi**sors.com >> >> >> > >> [mailto:accessd-bounces@**data**baseadvisors.com >> >> >> >] >> >> On Behalf Of Charlotte Foust >> Sent: Thursday, September 22, 2011 11:50 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Filtering with International Dates >> >> Here's what MS suggests: >> >> Function MakeUSDate(DateIn As Variant) As String >> >> ' Do nothing if the value is not a date. >> >> If Not IsDate(DateIn) Then Exit Function >> >> ' Convert the date to a U.S. Date format. >> >> MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & >> Year(DateIn) & "#" >> >> End Function >> >> I would suggest that if you're using SQL Server as an alternative BE you >> also have a function to return the proper date delimiter. >> >> Charlotte Foust >> On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin >> wrote: >> >> Dear List: >> >>> >>> Because I'm old and can't remember (and the archives are down), I was >>> told how to filter with dates so that if a user is using international >>> dates it doesn't matter. >>> >>> The following code: >>> >>> If Nz(Forms!frmPOReport!****txtGEPromisedDate) <> "" Then >>> If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " >>> strSQL = strSQL & "fldPOPromisedDate >= #" & >>> Forms!frmPOReport!****txtGEPromisedDate & "# " >>> End If >>> >>> If Nz(Forms!frmPOReport!****txtLEPromisedDate) <> "" Then >>> If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " >>> strSQL = strSQL & "fldPOPromisedDate <= #" & >>> Forms!frmPOReport!****txtLEPromisedDate & "# " >>> >>> strSQL eventually ends up in Me.Filter. >>> >>> Works good in the USA. :) Fails in Nicaragua. :( >>> >>> Was it CDate I was supposed to use? >>> >>> Sorry for the redux. >>> >>> TIA >>> >>> 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 >> >> > >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/****mailman/listinfo/accessd >> >> >> >> > >> >> >> Website: http://www.databaseadvisors. >> >> ****com >> >> > >> >> >> >> -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From accessd at shaw.ca Thu Sep 22 20:32:19 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 22 Sep 2011 18:32:19 -0700 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> <511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> Message-ID: Well, you have me at a disadvantage as I do not know what you mean? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 3:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Nope.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 5:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Does that mean Access have to be installed on the IIS server? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From steve at datamanagementsolutions.biz Thu Sep 22 20:46:46 2011 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Fri, 23 Sep 2011 13:46:46 +1200 Subject: [AccessD] Filtering with International Dates In-Reply-To: References: <8123BC58741345EF884BE7F4C21F6423@HAL9007><9FD44C573AD24BE3BA3BC91827E687F3@stevelaptop> Message-ID: <6E600A1F79A9453C9AAB7CA6A2529118@stevelaptop> Sorry, Charlotte, on this occasion I have to disagree with you. "Assumptions" doesn't come into it at all. I don't make assumptions about this stuff. I know my applications. I know whether there will be a time component in a Date/Time field, or in a criteria entered in an unbound textbox. No assumption. And if there is or could be a time component, I also know whether and how I need to deal with it. The approach to date criteria that I have mentioned to Rocky here has never come back to haunt me ... and I have used it a lot - hundreds of times. There might be a application development style consideration here. Except in very exceptional circumstances, if there is a time value, I normally have it in a separate field. Very seldom do I have a date and time combined in a single field. So the issue you raise seldom arises for me anyway. Regards Steve -----Original Message----- From: Charlotte Foust Sent: Friday, September 23, 2011 1:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates One thing I learned the hard way is that there is ALWAYS a time component, even if it's midnight. Using it on a consistent basis is a good idea because assumptions can come back to haunt you. Charlotte Foust On Thu, Sep 22, 2011 at 2:36 PM, Steve Schapel < steve at datamanagementsolutions.biz> wrote: > That's correct, Chartlotte. If there is a time component, I use CDbl. > > Regards > Steve > > -----Original Message----- From: Charlotte Foust > Sent: Friday, September 23, 2011 9:16 AM > > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Filtering with International Dates > > But a date isn't an integer of any length, so if you have times included > in > the date field, CLng would give you the wrong result. > > Charlotte Foust > > On Thu, Sep 22, 2011 at 2:08 PM, Steve Schapel < > steve at datamanagementsolutions.**biz > > wrote: > > Rocky >> >> As a person in a non-US zone, I have always used the CLng function in >> such >> circumstances. Works great. >> >> strSQL = strSQL & "fldPOPromisedDate <= " & CLng(Forms!frmPOReport!** >> txtLEPromisedDate) >> >> Regards >> Steve >> >> -----Original Message----- From: Rocky Smolin >> Sent: Friday, September 23, 2011 7:27 AM >> >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Filtering with International Dates >> >> Is that better or more reliable or more general than >> >> Format$(varDate, "\#mm\/dd\/yyyy\#")? >> >> Rocky >> >> -----Original Message----- >> From: >> accessd-bounces@**databaseadvi**sors.com >> >> >> > >> [mailto:accessd-bounces@**data**baseadvisors.com >> >> >> >] >> >> On Behalf Of Charlotte Foust >> Sent: Thursday, September 22, 2011 11:50 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Filtering with International Dates >> >> Here's what MS suggests: >> >> Function MakeUSDate(DateIn As Variant) As String >> >> ' Do nothing if the value is not a date. >> >> If Not IsDate(DateIn) Then Exit Function >> >> ' Convert the date to a U.S. Date format. >> >> MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & >> Year(DateIn) & "#" >> >> End Function >> >> I would suggest that if you're using SQL Server as an alternative BE you >> also have a function to return the proper date delimiter. >> >> Charlotte Foust >> On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin >> wrote: >> >> Dear List: >> >>> >>> Because I'm old and can't remember (and the archives are down), I was >>> told how to filter with dates so that if a user is using international >>> dates it doesn't matter. >>> >>> The following code: >>> >>> If Nz(Forms!frmPOReport!****txtGEPromisedDate) <> "" Then >>> If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " >>> strSQL = strSQL & "fldPOPromisedDate >= #" & >>> Forms!frmPOReport!****txtGEPromisedDate & "# " >>> End If >>> >>> If Nz(Forms!frmPOReport!****txtLEPromisedDate) <> "" Then >>> If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " >>> strSQL = strSQL & "fldPOPromisedDate <= #" & >>> Forms!frmPOReport!****txtLEPromisedDate & "# " >>> >>> strSQL eventually ends up in Me.Filter. >>> >>> Works good in the USA. :) Fails in Nicaragua. :( >>> >>> Was it CDate I was supposed to use? >>> >>> Sorry for the redux. >>> >>> TIA >>> >>> 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 >> >> > >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/****mailman/listinfo/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 jwcolby at colbyconsulting.com Thu Sep 22 21:31:29 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 22 Sep 2011 22:31:29 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: Message-ID: <4E7BEF81.7070607@colbyconsulting.com> > The only advantage I see to the wrapper is that you get to set a breakpoint. A little more help that that. You can add code that logs the change and the time of day, the workstation running the code or whatever you can think of that might help you troubleshoot the issue. You can add code that limits the values that can go into the variable. Perhaps the global is a date and the date should never be before D day, but somehow it is being set to the date of black friday. Perhaps it is a currency and should never be negative. Perhaps it is a long that should only be between 1000 and 10000. Perhaps it is a date that must always be between two other date variables. Properties exist because they allow you to do validations. Today (when you define the global variable) you cannot imagine that you would ever need such a thing, yet in six months you see six very good reasons. Properties can be read-only (from outside of the module) or write only (from outside of the module). Globals are just a variable that anyone can set at any time for any reason. I have lots of "globals" which can be set from inside of the module but only read from outside (through a property). These are "global" in that anything anywhere can read them, but not write them. There are lots of programmers that have thousands of variables that are global, everything in sight. There are others that have a dozen carefully selected. I have a dozen, carefully selected, but I do in fact have a dozen or so. I use a lot of class and module private variables in the header area (global to the class or module). The simple truth is that no variable should have scope beyond what is needed for that variable. Scope exists for a reason. Global would not exist if it were not occasionally necessary. Module and class "global" (private in the header of the module and class) exist because they are needed. They are still global but only to that module or class. If it were good practice to make everything global then having private keywords would be unnecessary. John W. Colby www.ColbyConsulting.com On 9/22/2011 6:40 PM, Kenneth Ismert wrote: >> Drew Wutka: >> ... >> So, even if you wrap your global variables inside of a >> class, you are still scoping an instance of that class >> globally, which makes it a global variable... > > My point exactly. The 'globals are bad' camp haven't explained how a code > wrapper that lets you change the value makes the global problem go away. > > And yes, there are common situations in Access where you want changeable > global values. > > The only advantage I see to the wrapper is that you get to set a breakpoint. > Little help when it fails in the field. > > -Ken From jwcolby at colbyconsulting.com Thu Sep 22 21:51:26 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 22 Sep 2011 22:51:26 -0400 Subject: [AccessD] SSDs and BE storage In-Reply-To: References: Message-ID: <4E7BF42E.1060602@colbyconsulting.com> The truth be known Ken I pretty much agree with the general assessment of SSDs. It is an immature technology, which you do have to study and plan for. It is not a drop in replacement for rotating media. It needs special handling. Like any other technology it has a bathtub curve wherein you are going to have failures in the first 90 days, and if you get past that point... And if you are in a position where you can afford SLC I highly recommend that. SSD is definitely a technology where the die shrink works for density but against reliability. OTOH it works against DRAM as well, yet I don't hear you railing against that. In point of fact we are rapidly getting to the point where die shrink works against most technology reliability. NASA does not send modern electronics into space precisely because high energy particles can cause significant charge displacement as the gates get so small, whereas the older technologies really did not have that issue. Servers use ECC precisely for the same reason, the gates are getting so small that they have to have safeguards against errors that were previously unheard of. So yes, I study the issues, I study the technology, I study the safeguards and I study the requirements in a way that I really don't need to do with rotating media. But I need the benefits enough to make the effort worthwhile. I used to swear by the top player and I used their product and I love the product that I bought from them two years ago. Today I have switched to another player because my old choice is not reliable (due to using 28 nm chips). I believe that long term, they will figure out how to use the 28 nm chips but today I won't use them, and there are players who agree and do not use them (yet). It is my job to know this stuff if I am going to try and use it, to know what I can use it for and what I cannot. John W. Colby www.ColbyConsulting.com On 9/22/2011 7:57 PM, Kenneth Ismert wrote: > I'm sorry that you felt my remarks were unkind. You have done your own > research, and have taken steps to mitigate the risks by limiting how your > SSDs are used. And you are planning for failure with a robust backup scheme > using traditional HDDs. > > Still, my first experience with an SSD out of the box was that the firmware > had a critical bug, which required an update that wasn't available, because > the maker needed a lot of time to test the revision. It seems likely that > the real cause is that the drive, being a consumer level product, didn't > have enough capacitance built-in to shut down gracefully during a power > outage. Maybe we made a poor choice, but the device was from a dominant > player in the industry. Not a confidence builder. > > Also, some of your own comments don't bolster your overall glowing > endorsement. To wit: the SSD's with the 34 micron chips are good but the new > 28 micron chips are bad? That sounds like caveat emptor to me. Problems with > scaling down and firmware issues sound to me like indicators of a technology > that is still not mature enough to be suitable as drop-in replacements for > HDDs in a broad range of server applications. > > And yes, the one source I quoted does sound like a guy fishing for > consulting work, but you conveniently neglected to criticize my other > reference, who said things more central to my point, and who seems more > credible. > > Certainly, the technology will mature, and adoption rates will climb. > Operating systems that optimize for SSDs will become more popular. Right > now, for our server installation, I'm content to wait it out. > > -Ken From rockysmolin at bchacc.com Thu Sep 22 22:17:04 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 22 Sep 2011 20:17:04 -0700 Subject: [AccessD] Filtering with International Dates In-Reply-To: References: <8123BC58741345EF884BE7F4C21F6423@HAL9007><96BC5E0E427B4876AB655C25A90D0C21@HAL9007> Message-ID: <6C72CCBD694243A09AF4AF68C9080368@HAL9007> What happens if you use CDbl on a date string with no time? R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Thursday, September 22, 2011 3:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Yes, Rocky, it always works. A proviso I think is that if you are using an unbound textbox to gather your date criteria, and then referring to that textbox in your code (Me.MyTextbox or Forms!MyForm!MyTextbox), the textbox's Format property should be set to a valid date format. Yes, if you need to cater to a time component (in my experience this is very rare in the type of circumstance you described), then you need to make sure you write your code accordingly, but that is also very easy. Regards Steve -----Original Message----- From: Rocky Smolin Sent: Friday, September 23, 2011 10:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Filtering with International Dates Cool. That would seem to be pretty universal then regardless of source format? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Thursday, September 22, 2011 2:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Rocky As a person in a non-US zone, I have always used the CLng function in such circumstances. Works great. strSQL = strSQL & "fldPOPromisedDate <= " & CLng(Forms!frmPOReport!txtLEPromisedDate) Regards Steve -----Original Message----- From: Rocky Smolin Sent: Friday, September 23, 2011 7:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Filtering with International Dates Is that better or more reliable or more general than Format$(varDate, "\#mm\/dd\/yyyy\#")? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, September 22, 2011 11:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Here's what MS suggests: Function MakeUSDate(DateIn As Variant) As String ' Do nothing if the value is not a date. If Not IsDate(DateIn) Then Exit Function ' Convert the date to a U.S. Date format. MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & Year(DateIn) & "#" End Function I would suggest that if you're using SQL Server as an alternative BE you also have a function to return the proper date delimiter. Charlotte Foust On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin wrote: > Dear List: > > Because I'm old and can't remember (and the archives are down), I was > told how to filter with dates so that if a user is using international > dates it doesn't matter. > > The following code: > > If Nz(Forms!frmPOReport!txtGEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate >= #" & > Forms!frmPOReport!txtGEPromisedDate & "# " > End If > > If Nz(Forms!frmPOReport!txtLEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate <= #" & > Forms!frmPOReport!txtLEPromisedDate & "# " > > strSQL eventually ends up in Me.Filter. > > Works good in the USA. :) Fails in Nicaragua. :( > > Was it CDate I was supposed to use? > > Sorry for the redux. > > TIA > > 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Thu Sep 22 22:35:06 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 22 Sep 2011 23:35:06 -0400 Subject: [AccessD] MySQL is broke now In-Reply-To: <57B14928257044BB86837DCA8EF3102B@creativesystemdesigns.com> References: <4E7B9282.5060606@colbyconsulting.com> <57B14928257044BB86837DCA8EF3102B@creativesystemdesigns.com> Message-ID: <4E7BFE6A.1060006@colbyconsulting.com> Well, I did an uninstall and reinstall and now I am able to connect to the MYSql server from outside of the VM, using the Hamachi IP, root and the password. Unfortunately from inside of the vm I still cannot get WampServer to talk to the server. It still gives me an error message about the username or password being wrong - (using password: No). I set the password in the phpmyadmin init file but no joy. What I have discovered is that when running MySQL as a service, wampserver will not start correctly. If I stop MySQL service, wampserver now starts (though it still cannot connect to MySQL) but it is now green instead of orange. however with Wampserver started MySQL service will not start. quitting wampserver allows the MySQL Service to start again. The bottom line is that I can now get at MySQL from outside of the VM with the service startwd, which I could not do with the service not started. I need access from outside of the vm, so i guess (for now) I just give up on wampserver. Sigh. John W. Colby www.ColbyConsulting.com On 9/22/2011 6:04 PM, Jim Lawrence wrote: > Post a message on OT_SQL...Hans will help you. ;-) > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, September 22, 2011 12:55 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] MySQL is broke now > > The service never ran. I did some stuff including modifying my.ini to add > federated. > > Doing that stopped the error log being generated but the service still would > not start. I found > something that discusses deleting the service (which worked) but the thing > that adds the service > does not work. > > My windows paste buffer is not working between my VM and my laptop so the > following is just typed in. > > The line is: > > mysql --install MySQL --defaults-file="C:\Program Files\MySQL\MySQL Server > 5.5\My.Ini" > > This does in fact add a line to the services but the problem is that the > service thinks that > MySQLd.exe is in thesame location as that my.ini whereas it is in fact down > in a bin under that dir. > > I.e. the "path to executable" is looking for the MySQLD.exe in the wrong > place and thus cannot be > started. > > This is getting annoying. I have been trying various things for hours and > just cannot get MySQL to > run as a service and now the entry in the service table (or registry?) is > corrupted. > > Sigh. > From steve at datamanagementsolutions.biz Fri Sep 23 00:19:10 2011 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Fri, 23 Sep 2011 17:19:10 +1200 Subject: [AccessD] Filtering with International Dates In-Reply-To: <6C72CCBD694243A09AF4AF68C9080368@HAL9007> References: <8123BC58741345EF884BE7F4C21F6423@HAL9007><96BC5E0E427B4876AB655C25A90D0C21@HAL9007> <6C72CCBD694243A09AF4AF68C9080368@HAL9007> Message-ID: <4FE12949B2B744C3B2A4694407272292@stevelaptop> Yes, Rocky, you could use CDbl in all cases, if you wanted a "catchall" >From Immediate Window: ? CLng(Date()) 40809 ? CDbl(Date()) 40809 ? CLng(Now()) 40810 (it's afternoon here - as identified by Stuart) ? CDbl(Now()) 40809.7191203704 Regards Steve -----Original Message----- From: Rocky Smolin Sent: Friday, September 23, 2011 3:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Filtering with International Dates What happens if you use CDbl on a date string with no time? R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Thursday, September 22, 2011 3:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Yes, Rocky, it always works. A proviso I think is that if you are using an unbound textbox to gather your date criteria, and then referring to that textbox in your code (Me.MyTextbox or Forms!MyForm!MyTextbox), the textbox's Format property should be set to a valid date format. Yes, if you need to cater to a time component (in my experience this is very rare in the type of circumstance you described), then you need to make sure you write your code accordingly, but that is also very easy. Regards Steve -----Original Message----- From: Rocky Smolin Sent: Friday, September 23, 2011 10:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Filtering with International Dates Cool. That would seem to be pretty universal then regardless of source format? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Thursday, September 22, 2011 2:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Rocky As a person in a non-US zone, I have always used the CLng function in such circumstances. Works great. strSQL = strSQL & "fldPOPromisedDate <= " & CLng(Forms!frmPOReport!txtLEPromisedDate) Regards Steve -----Original Message----- From: Rocky Smolin Sent: Friday, September 23, 2011 7:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Filtering with International Dates Is that better or more reliable or more general than Format$(varDate, "\#mm\/dd\/yyyy\#")? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, September 22, 2011 11:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering with International Dates Here's what MS suggests: Function MakeUSDate(DateIn As Variant) As String ' Do nothing if the value is not a date. If Not IsDate(DateIn) Then Exit Function ' Convert the date to a U.S. Date format. MakeUSDate = "#" & Month(DateIn) & "/" & Day(DateIn) & "/" & Year(DateIn) & "#" End Function I would suggest that if you're using SQL Server as an alternative BE you also have a function to return the proper date delimiter. Charlotte Foust On Thu, Sep 22, 2011 at 11:36 AM, Rocky Smolin wrote: > Dear List: > > Because I'm old and can't remember (and the archives are down), I was > told how to filter with dates so that if a user is using international > dates it doesn't matter. > > The following code: > > If Nz(Forms!frmPOReport!txtGEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate >= #" & > Forms!frmPOReport!txtGEPromisedDate & "# " > End If > > If Nz(Forms!frmPOReport!txtLEPromisedDate) <> "" Then > If Len(strSQL) <> 0 Then strSQL = strSQL & " AND " > strSQL = strSQL & "fldPOPromisedDate <= #" & > Forms!frmPOReport!txtLEPromisedDate & "# " > > strSQL eventually ends up in Me.Filter. > > Works good in the USA. :) Fails in Nicaragua. :( > > Was it CDate I was supposed to use? > > Sorry for the redux. > > TIA > > 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 mwp.reid at qub.ac.uk Fri Sep 23 02:24:03 2011 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 23 Sep 2011 08:24:03 +0100 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> <511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> Message-ID: <631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> Jim Put only the mdb file on the web server running IIS and you should be Ok to go. You do not need to install office or Access on the web server for it to work. Martin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: 23 September 2011 02:32 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Well, you have me at a disadvantage as I do not know what you mean? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 3:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Nope.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 5:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Does that mean Access have to be installed on the IIS server? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Sep 23 05:11:26 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 23 Sep 2011 12:11:26 +0200 Subject: [AccessD] Filtering with International Dates Message-ID: Hi Rocky You are a clever man not to be fooled! There really is no reason to convert dates to numerals. If you can use the date value, use it as is, if not - as often when you build SQL strings - convert it to a proper string expression. The proven method is to use Format and the ISO format: Format(somedatetime, "yyyy\/mm\/dd hh\:nn\:ss") For JET SQL this must be wrapped in #..#, for SQL Server it is single quotes '..' You may get away with using the US mm/dd/yyyy format but it will fail for ADO and FindFirst, thus you can just as well make it a habit to use the ISO format which now is the preferred for SQL Server as well. If you need to cut off a time part to obtain the date part only, a safe and the fastest method is Fix: Fix(somedatetime) because it: - works correctly for dates prior to 1899-12-30 - returns data type date - always rounds off - is native to SQL The use of CDbl or CLng is not very useful. CDbl just returns the underlying data type (Double) of data type Date so you should CDate instead, and CLng will round PM time parts incorrectly, and they both fail for a clean string input like "5/3/2005" which CDate does not. If you need to convert strings to date and time, use CDate for time expressions or to include a time part with a date, or DateValue for dates where the time part should be excluded. When to use date value and when a string expression for a date value is quite simple. When a function is used in SQL, it should return a date value; when you build a SQL string it must be a string expression. Thus, as mentioned by Stuart, this will work because CDate and DateValue (and TimeValue) understands a string formatted as the local settings of Windows: "where [datefield] = Datevalue('" & txtDate & "')" as will this: "where [datefield] = #" & Format(DateValue(txtDate), "yyyy\/mm\/dd") & "#" which, as Format - when using a date format - will try to read the value to format as a date, can be reduced to: "where [datefield] = #" & Format(txtDate, "yyyy\/mm\/dd") & "#" /gustav >>> rockysmolin at bchacc.com 23-09-2011 05:17 >>> What happens if you use CDbl on a date string with no time? R From rockysmolin at bchacc.com Fri Sep 23 07:35:36 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 23 Sep 2011 05:35:36 -0700 Subject: [AccessD] Filtering with International Dates In-Reply-To: References: Message-ID: <6EFC52761EBA4B339988DC086520C56C@HAL9007> Gustav: Dang - it's like taking a class. :) I found this on the web as you suggest: Format$(Forms!frmPOReport!txtGEPromisedDate, "\#mm\/dd\/yyyy\#") (Don't know why the $ after Format but it compiles OK) And it seems to work. But I have to comb through my manufacturing app now - which is a very date driven app, lots of reports where I give the user the option to filter by date - and change those occurrences to something which will be as bulletproof as possible. It looks like that's the best approach in your opinion? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, September 23, 2011 3:11 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Filtering with International Dates Hi Rocky You are a clever man not to be fooled! There really is no reason to convert dates to numerals. If you can use the date value, use it as is, if not - as often when you build SQL strings - convert it to a proper string expression. The proven method is to use Format and the ISO format: Format(somedatetime, "yyyy\/mm\/dd hh\:nn\:ss") For JET SQL this must be wrapped in #..#, for SQL Server it is single quotes '..' You may get away with using the US mm/dd/yyyy format but it will fail for ADO and FindFirst, thus you can just as well make it a habit to use the ISO format which now is the preferred for SQL Server as well. If you need to cut off a time part to obtain the date part only, a safe and the fastest method is Fix: Fix(somedatetime) because it: - works correctly for dates prior to 1899-12-30 - returns data type date - always rounds off - is native to SQL The use of CDbl or CLng is not very useful. CDbl just returns the underlying data type (Double) of data type Date so you should CDate instead, and CLng will round PM time parts incorrectly, and they both fail for a clean string input like "5/3/2005" which CDate does not. If you need to convert strings to date and time, use CDate for time expressions or to include a time part with a date, or DateValue for dates where the time part should be excluded. When to use date value and when a string expression for a date value is quite simple. When a function is used in SQL, it should return a date value; when you build a SQL string it must be a string expression. Thus, as mentioned by Stuart, this will work because CDate and DateValue (and TimeValue) understands a string formatted as the local settings of Windows: "where [datefield] = Datevalue('" & txtDate & "')" as will this: "where [datefield] = #" & Format(DateValue(txtDate), "yyyy\/mm\/dd") & "#" which, as Format - when using a date format - will try to read the value to format as a date, can be reduced to: "where [datefield] = #" & Format(txtDate, "yyyy\/mm\/dd") & "#" /gustav >>> rockysmolin at bchacc.com 23-09-2011 05:17 >>> What happens if you use CDbl on a date string with no time? R -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Sep 23 07:59:07 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 23 Sep 2011 14:59:07 +0200 Subject: [AccessD] Filtering with International Dates Message-ID: Hi Rocky Yes, that will work. It will return #09/23/2011# for today. I've never noticed any difference between Format and Format$ (and all the other old BASIC string handling functions with or without a trailing $). SomeFunction$ is claimed to always return a string, but I've never found, say, Trim to return anything else than a string. Maybe it is just to be compatible with old QBasic or similar. /gustav >>> rockysmolin at bchacc.com 23-09-2011 14:35 >>> Gustav: Dang - it's like taking a class. :) I found this on the web as you suggest: Format$(Forms!frmPOReport!txtGEPromisedDate, "\#mm\/dd\/yyyy\#") (Don't know why the $ after Format but it compiles OK) And it seems to work. But I have to comb through my manufacturing app now - which is a very date driven app, lots of reports where I give the user the option to filter by date - and change those occurrences to something which will be as bulletproof as possible. It looks like that's the best approach in your opinion? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, September 23, 2011 3:11 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Filtering with International Dates Hi Rocky You are a clever man not to be fooled! There really is no reason to convert dates to numerals. If you can use the date value, use it as is, if not - as often when you build SQL strings - convert it to a proper string expression. The proven method is to use Format and the ISO format: Format(somedatetime, "yyyy\/mm\/dd hh\:nn\:ss") For JET SQL this must be wrapped in #..#, for SQL Server it is single quotes '..' You may get away with using the US mm/dd/yyyy format but it will fail for ADO and FindFirst, thus you can just as well make it a habit to use the ISO format which now is the preferred for SQL Server as well. If you need to cut off a time part to obtain the date part only, a safe and the fastest method is Fix: Fix(somedatetime) because it: - works correctly for dates prior to 1899-12-30 - returns data type date - always rounds off - is native to SQL The use of CDbl or CLng is not very useful. CDbl just returns the underlying data type (Double) of data type Date so you should CDate instead, and CLng will round PM time parts incorrectly, and they both fail for a clean string input like "5/3/2005" which CDate does not. If you need to convert strings to date and time, use CDate for time expressions or to include a time part with a date, or DateValue for dates where the time part should be excluded. When to use date value and when a string expression for a date value is quite simple. When a function is used in SQL, it should return a date value; when you build a SQL string it must be a string expression. Thus, as mentioned by Stuart, this will work because CDate and DateValue (and TimeValue) understands a string formatted as the local settings of Windows: "where [datefield] = Datevalue('" & txtDate & "')" as will this: "where [datefield] = #" & Format(DateValue(txtDate), "yyyy\/mm\/dd") & "#" which, as Format - when using a date format - will try to read the value to format as a date, can be reduced to: "where [datefield] = #" & Format(txtDate, "yyyy\/mm\/dd") & "#" /gustav >>> rockysmolin at bchacc.com 23-09-2011 05:17 >>> What happens if you use CDbl on a date string with no time? R From accessd at shaw.ca Fri Sep 23 11:08:18 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 23 Sep 2011 09:08:18 -0700 Subject: [AccessD] MS Access with IIS In-Reply-To: <631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> <511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> <631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> Message-ID: Martin: Thanks for that. I am just use to installing a database before being able to use its resources so it does seem strange. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, September 23, 2011 12:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Jim Put only the mdb file on the web server running IIS and you should be Ok to go. You do not need to install office or Access on the web server for it to work. Martin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: 23 September 2011 02:32 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Well, you have me at a disadvantage as I do not know what you mean? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 3:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Nope.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 5:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Does that mean Access have to be installed on the IIS server? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Sep 23 11:55:04 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 23 Sep 2011 12:55:04 -0400 Subject: [AccessD] MySQL: First table migrated (sorta) Message-ID: <4E7CB9E8.7070403@colbyconsulting.com> I used method 2 of this: http://25yearsofprogramming.com/blog/2010/20100718.htm to migrate my first table from Access to MySQL. It created the table structure and moved the data. Very cool. I am not yet even minimally conversant in any MySQL environment that allows me to see / modify the structure in a gui so I am flying blind. I had high hopes for Wampserver but there are a few things to figure out there before I will be able to use that. Anyway, this method did not make the PKID a key. I am not yet able to see the data types, whether it made the PKID an autoincrement, whether it will pick up on the next number and so forth, but the data moved and that all by itself is huge. -- John W. Colby www.ColbyConsulting.com From delam at zyterra.com Fri Sep 23 13:39:21 2011 From: delam at zyterra.com (Debbie) Date: Fri, 23 Sep 2011 13:39:21 -0500 Subject: [AccessD] OT: Excel Question Message-ID: <766DD8D0-7FA9-45BA-8643-1B8D315B08E1@zyterra.com> I have a database pushing data out to an Excel 2007 template. From this data I am creating a variety of graphs that are stored in the template. Everything works fine except the relative scales on 2 of the graphs. They are side by side and the customer is adamant that the top and bottom line up. This seems really easy, but it is not. One graph has a dynamic y axis because the values can vary a lot. When they do vary, the whole chart area will change height just a bit. Is there a way to fix the total chart height, while still allowing the y axis to automatically determine the best tick marks and scaling within that area? Debbie Sent from my iPhone From DWUTKA at Marlow.com Fri Sep 23 14:52:29 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Fri, 23 Sep 2011 14:52:29 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: Message-ID: Ah, but the 'fails in the field' issue is a TOTALLY separate issue. A global variable will ONLY fail in the SAME way that a modular or procedural variable will. Let's see, what are the 'fail' issues with global variables? #1. 'A global variable can be changed from anywhere.... so it could get a bad value'. Really? So let's look at a procedural variable: Sub Main() Dim x as Long X=1+5 X=0 Msgbox 10/x End Sub Holy Division by Zero Batman. We just 'broke' a procedural variable! Darn it, no more using those!!! We could also try to set X="Hello", again, fail. A variable is a representation of something, whether it is an object, or a value. If we do not know how to handle that representation, it isn't a matter of scope, it's a matter of technique. #2. 'Ambiguous Name'.... Ok, this should really be a no brainer....ummmmm Naming Convetions? #3. A hard stop will clear a Global Variable's value...... - Ok, first, this only applies to VBA, not VB or .Net. Stopping the code in those platforms ends the program. -Next, it also clears the values of modular and procedural variables. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Thursday, September 22, 2011 5:40 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Global Vars (was Ambiguous Name) > Drew Wutka: > ... > So, even if you wrap your global variables inside of a class, you are > still scoping an instance of that class globally, which makes it a > global variable... My point exactly. The 'globals are bad' camp haven't explained how a code wrapper that lets you change the value makes the global problem go away. And yes, there are common situations in Access where you want changeable global values. The only advantage I see to the wrapper is that you get to set a breakpoint. Little help when it fails in the field. -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Fri Sep 23 14:55:39 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Fri, 23 Sep 2011 14:55:39 -0500 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com><511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> Message-ID: Accessing an .mdb on a web server (like IIS) is identical to accessing the .mdb from your programming interface itself. For example, if you want to use classic ASP, then you are using VBScript, and VBScript can access an .mdb using ADO. Now, years ago, I believe you had to install ADO separately, but I think since XP, that ADO is included, not 100% positive on that. If you are using .Net, (ie, ASP.Net), then you have the .Net runtimes installed on the server. What platform are you using to program with, and I can point you in a better direction. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 8:32 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Well, you have me at a disadvantage as I do not know what you mean? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 3:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Nope.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 5:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Does that mean Access have to be installed on the IIS server? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Fri Sep 23 15:03:21 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Fri, 23 Sep 2011 15:03:21 -0500 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com><511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com><631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> Message-ID: Oh, LOL, I see where you disconnect is. Ya, after dealing with a server side db, I can see where back stepping to an .mdb would seem foreign. Susan and I co-wrote an article about using an Access .mdb on IIS. If you can deal with the size limit. The lack of triggers and transaction logging. AND most importantly, if you can properly index it, and realize that your tables should be well normalized, because you aren't going to get the same optimization out of a saved query in an .mdb that you are going to get in 'view' in SQL Server, then an .mdb is a pretty formidable database system residing on a web server. Our Intranet here at work is riddled with .mdb's running in the back ground. NEVER corrupt. Never have problems with the databases themselves. In fact, for a while, I was using an .mdb to log the IIS transactions, but that fills up 2 gigs in a heart beat.... only issue was the size, no performance degradation noticeable, and it ran like a champ. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, September 23, 2011 11:08 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Martin: Thanks for that. I am just use to installing a database before being able to use its resources so it does seem strange. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, September 23, 2011 12:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Jim Put only the mdb file on the web server running IIS and you should be Ok to go. You do not need to install office or Access on the web server for it to work. Martin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: 23 September 2011 02:32 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Well, you have me at a disadvantage as I do not know what you mean? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 3:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Nope.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 5:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Does that mean Access have to be installed on the IIS server? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From fuller.artful at gmail.com Fri Sep 23 15:04:50 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 23 Sep 2011 16:04:50 -0400 Subject: [AccessD] MySQL: First table migrated (sorta) In-Reply-To: <4E7CB9E8.7070403@colbyconsulting.com> References: <4E7CB9E8.7070403@colbyconsulting.com> Message-ID: Grab MySQLWorkbench from the MySQL site. If that doesn't suit your fancy, there are alternatives. Just Google MySQL UI. HTH, Arthur From fuller.artful at gmail.com Fri Sep 23 15:08:29 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 23 Sep 2011 16:08:29 -0400 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> <511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> <631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> Message-ID: I keep hearing about corrupted MDBs but in at least a decade of working with Access, this has never happened to me. Now that I've said that, it will probably happen tomorrow, so I'm immediately going to do a huge backup! Arthur From jwcolby at colbyconsulting.com Fri Sep 23 15:16:01 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 23 Sep 2011 16:16:01 -0400 Subject: [AccessD] MySQL: First table migrated (sorta) In-Reply-To: References: <4E7CB9E8.7070403@colbyconsulting.com> Message-ID: <4E7CE901.6090400@colbyconsulting.com> > Grab MySQLWorkbench from the MySQL site. I have this. John W. Colby www.ColbyConsulting.com On 9/23/2011 4:04 PM, Arthur Fuller wrote: > Grab MySQLWorkbench from the MySQL site. If that doesn't suit your fancy, > there are alternatives. Just Google MySQL UI. > > HTH, > Arthur From delam at zyterra.com Fri Sep 23 15:24:26 2011 From: delam at zyterra.com (Debbie) Date: Fri, 23 Sep 2011 15:24:26 -0500 Subject: [AccessD] OT: Excel Question In-Reply-To: <766DD8D0-7FA9-45BA-8643-1B8D315B08E1@zyterra.com> References: <766DD8D0-7FA9-45BA-8643-1B8D315B08E1@zyterra.com> Message-ID: I managed to answer my own question. There is a very inobvious menu to do this and tell it not to resize or move with data changes. Sadly it is the sort of thing that can be demonstrated, but really hard to describe, so I am not sure I can contribute the solution to the archives. Debbie Sent from my iPhone On Sep 23, 2011, at 1:39 PM, Debbie wrote: > I have a database pushing data out to an Excel 2007 template. From > this data I am creating a variety of graphs that are stored in the > template. > > Everything works fine except the relative scales on 2 of the graphs. > They are side by side and the customer is adamant that the top and > bottom line up. This seems really easy, but it is not. One graph has > a dynamic y axis because the values can vary a lot. When they do > vary, the whole chart area will change height just a bit. > > Is there a way to fix the total chart height, while still allowing > the y axis to automatically determine the best tick marks and > scaling within that area? > > Debbie > > Sent from my iPhone > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri Sep 23 15:37:48 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 23 Sep 2011 13:37:48 -0700 Subject: [AccessD] OT: Excel Question In-Reply-To: <766DD8D0-7FA9-45BA-8643-1B8D315B08E1@zyterra.com> References: <766DD8D0-7FA9-45BA-8643-1B8D315B08E1@zyterra.com> Message-ID: <48B855C8E3374DA4A43498380A97156B@HAL9007> Are you asking to fix it from the VBA in the Access mdb? If so, I've been able to automate everything in Excel from Access by recording a macro in Excel to do what I want and then cribbing the Excel code into the Access module. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Debbie Sent: Friday, September 23, 2011 11:39 AM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Excel Question I have a database pushing data out to an Excel 2007 template. From this data I am creating a variety of graphs that are stored in the template. Everything works fine except the relative scales on 2 of the graphs. They are side by side and the customer is adamant that the top and bottom line up. This seems really easy, but it is not. One graph has a dynamic y axis because the values can vary a lot. When they do vary, the whole chart area will change height just a bit. Is there a way to fix the total chart height, while still allowing the y axis to automatically determine the best tick marks and scaling within that area? Debbie Sent from my iPhone -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kismert at gmail.com Fri Sep 23 15:40:36 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Fri, 23 Sep 2011 15:40:36 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) Message-ID: > Drew Wutka: > A global variable will ONLY fail in the SAME way that a modular or > procedural variable will. > ... > #1. 'A global variable can be changed from anywhere.... so it could get > a bad value'. Really? So let's look at a procedural variable: > ... > Holy Division by Zero Batman. We just 'broke' a procedural variable! ... > You're right, but for one TINY difference ... in your procedural example, you can raise an error up the call chain, and immediately finger the bad actor. In all of the global parameter schemes put forth so far, you don't get that. The failure chain is: 1. Good actor sets global. Time goes past... 2. Bad actor changes global to a 'bad' value, which is accepted without error... 3. Other actor uses global -- BAM! BIF! POW! error. But who did the dirty deed? You can't easily tell. This is the crux of the 'globals are bad' arguement. Without knowing WHO made each change, you're stuck with a tedious debugging mess. But again, talking to the 'globals are bad' camp, I say your solutions so far don't solve the problem. How do you propose fixing the problem? -Ken From jwcolby at colbyconsulting.com Fri Sep 23 15:49:59 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 23 Sep 2011 16:49:59 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: Message-ID: <4E7CF0F7.4050501@colbyconsulting.com> >How do you propose fixing the problem? 1) primarily by limiting the number of globals so that there are fewer for bad actors to modify. 2) By wrapping them in property statements so that they can be easily modified to perform checks. 3) By making them a property of the module which needs to set it (if it is only modified by one "thing") and making the property read-only to the rest. There is no magic answer, just a variety of techniques to make the problem smaller and smaller. John W. Colby www.ColbyConsulting.com On 9/23/2011 4:40 PM, Kenneth Ismert wrote: >> Drew Wutka: >> A global variable will ONLY fail in the SAME way that a modular or >> procedural variable will. >> ... >> #1. 'A global variable can be changed from anywhere.... so it could get >> a bad value'. Really? So let's look at a procedural variable: >> ... >> Holy Division by Zero Batman. We just 'broke' a procedural variable! ... >> > > You're right, but for one TINY difference ... in your procedural example, > you can raise an error up the call chain, and immediately finger the bad > actor. > > In all of the global parameter schemes put forth so far, you don't get that. > The failure chain is: > 1. Good actor sets global. Time goes past... > 2. Bad actor changes global to a 'bad' value, which is accepted without > error... > 3. Other actor uses global -- BAM! BIF! POW! error. > > But who did the dirty deed? You can't easily tell. This is the crux of the > 'globals are bad' arguement. > > Without knowing WHO made each change, you're stuck with a tedious debugging > mess. > > But again, talking to the 'globals are bad' camp, I say your solutions so > far don't solve the problem. How do you propose fixing the problem? > > -Ken From delam at zyterra.com Fri Sep 23 15:51:29 2011 From: delam at zyterra.com (Debbie) Date: Fri, 23 Sep 2011 15:51:29 -0500 Subject: [AccessD] OT: Excel Question In-Reply-To: <48B855C8E3374DA4A43498380A97156B@HAL9007> References: <766DD8D0-7FA9-45BA-8643-1B8D315B08E1@zyterra.com> <48B855C8E3374DA4A43498380A97156B@HAL9007> Message-ID: <1E0FC6BB-EFBC-4008-B581-26771FC3115F@zyterra.com> I do that myself all the time. Trouble is I couldn't find how to do it in Excel. Until I found that, there was no macro to record and no code to crib. Debbie Sent from my iPhone On Sep 23, 2011, at 3:37 PM, "Rocky Smolin" wrote: > Are you asking to fix it from the VBA in the Access mdb? If so, I've > been > able to automate everything in Excel from Access by recording a > macro in > Excel to do what I want and then cribbing the Excel code into the > Access > module. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Debbie > Sent: Friday, September 23, 2011 11:39 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] OT: Excel Question > > I have a database pushing data out to an Excel 2007 template. From > this data > I am creating a variety of graphs that are stored in the template. > > Everything works fine except the relative scales on 2 of the graphs. > They are side by side and the customer is adamant that the top and > bottom > line up. This seems really easy, but it is not. One graph has a > dynamic y > axis because the values can vary a lot. When they do vary, the whole > chart > area will change height just a bit. > > Is there a way to fix the total chart height, while still allowing > the y > axis to automatically determine the best tick marks and scaling > within that > area? > > Debbie > > Sent from my iPhone > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Fri Sep 23 15:52:12 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Fri, 23 Sep 2011 15:52:12 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) Message-ID: Good advice. The points I want to emphasize are: * Write privately, read publicly is inherently safer scheme than globals anybody can change * A small number of carefully defined globals are much more managable than the practice of indescriminately using globals by default * Coding for the smallest scope possible, while indisputably good practice, is also a good way to limit the harm abuse of globals can cause -Ken jwcolby: > > The only advantage I see to the wrapper is that you get to set a > breakpoint. > > A little more help that that. You can add code that logs the change and > the time of day, the workstation running the code or whatever you can think > of that might help you troubleshoot the issue. > > You can add code that limits the values that can go into the variable. > Perhaps the global is a date and the date should never be before D day, but > somehow it is being set to the date of black friday. Perhaps it is a > currency and should never be negative. Perhaps it is a long that should > only be between 1000 and 10000. Perhaps it is a date that must always be > between two other date variables. > > Properties exist because they allow you to do validations. Today (when you > define the global variable) you cannot imagine that you would ever need such > a thing, yet in six months you see six very good reasons. > > Properties can be read-only (from outside of the module) or write only > (from outside of the module). Globals are just a variable that anyone can > set at any time for any reason. > > I have lots of "globals" which can be set from inside of the module but > only read from outside (through a property). These are "global" in that > anything anywhere can read them, but not write them. > > There are lots of programmers that have thousands of variables that are > global, everything in sight. There are others that have a dozen carefully > selected. I have a dozen, carefully selected, but I do in fact have a dozen > or so. I use a lot of class and module private variables in the header area > (global to the class or module). > > The simple truth is that no variable should have scope beyond what is > needed for that variable. Scope exists for a reason. Global would not exist > if it were not occasionally necessary. Module and class "global" (private > in the header of the module and class) exist because they are needed. They > are still global but only to that module or class. If it were good practice > to make everything global then having private keywords would be unnecessary. > > John W. Colby > www.ColbyConsulting.com > > From accessd at shaw.ca Fri Sep 23 17:49:45 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 23 Sep 2011 15:49:45 -0700 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> <511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> Message-ID: Drew: Server 2003 Developers edition with IIS version 6, fully tricked out, runs ASP classic as well as a number of databases protocols and Extensions etc. TIA Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Friday, September 23, 2011 12:56 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Accessing an .mdb on a web server (like IIS) is identical to accessing the .mdb from your programming interface itself. For example, if you want to use classic ASP, then you are using VBScript, and VBScript can access an .mdb using ADO. Now, years ago, I believe you had to install ADO separately, but I think since XP, that ADO is included, not 100% positive on that. If you are using .Net, (ie, ASP.Net), then you have the .Net runtimes installed on the server. What platform are you using to program with, and I can point you in a better direction. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 8:32 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Well, you have me at a disadvantage as I do not know what you mean? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 3:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Nope.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 5:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Does that mean Access have to be installed on the IIS server? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 23 18:02:53 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 23 Sep 2011 16:02:53 -0700 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> <511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> <631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> Message-ID: Drew: Unfortunately, I have little wiggle room. This project is a client's long time baby and they require someone to fix up the interface and to just leave the backend alone. He has no budget or concept of web designing and he really wants to help. So he can save money...yeah. :-( I swore I would never get involved with this type of site but he begged and pulled every favour and I relented. No good deed ever goes unpunished. Now I have to get it running on my development server before proceeding...and I would like to know what I am facing before the clock starts running...or in this case walking. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Friday, September 23, 2011 1:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Oh, LOL, I see where you disconnect is. Ya, after dealing with a server side db, I can see where back stepping to an .mdb would seem foreign. Susan and I co-wrote an article about using an Access .mdb on IIS. If you can deal with the size limit. The lack of triggers and transaction logging. AND most importantly, if you can properly index it, and realize that your tables should be well normalized, because you aren't going to get the same optimization out of a saved query in an .mdb that you are going to get in 'view' in SQL Server, then an .mdb is a pretty formidable database system residing on a web server. Our Intranet here at work is riddled with .mdb's running in the back ground. NEVER corrupt. Never have problems with the databases themselves. In fact, for a while, I was using an .mdb to log the IIS transactions, but that fills up 2 gigs in a heart beat.... only issue was the size, no performance degradation noticeable, and it ran like a champ. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, September 23, 2011 11:08 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Martin: Thanks for that. I am just use to installing a database before being able to use its resources so it does seem strange. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, September 23, 2011 12:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Jim Put only the mdb file on the web server running IIS and you should be Ok to go. You do not need to install office or Access on the web server for it to work. Martin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: 23 September 2011 02:32 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Well, you have me at a disadvantage as I do not know what you mean? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 3:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Nope.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 5:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Does that mean Access have to be installed on the IIS server? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Sat Sep 24 06:28:02 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 24 Sep 2011 07:28:02 -0400 Subject: [AccessD] SSDs and BE storage In-Reply-To: <4E7BF42E.1060602@colbyconsulting.com> References: <4E7BF42E.1060602@colbyconsulting.com> Message-ID: <000001cc7aad$05d94e00$118bea00$@net> I just saw this on Amazon.com - Seagate is making a Momentus hard drive and they are branding it as a "hybrid" - somewhere in between an SSD and a standard spinning platter hard drive. Reviews are very good....and the price is right : $100 for 500 gigs. http://www.amazon.com/Seagate-Momentus-7200RPM-Hybrid-ST95005620AS-Bare/dp/B 003NSBF32/ref=sr_1_1?s=electronics&ie=UTF8&qid=1316863239&sr=1-1 From shamil at smsconsulting.spb.ru Sat Sep 24 07:04:51 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 24 Sep 2011 16:04:51 +0400 Subject: [AccessD] OT: OpenXML SDK 2.0, MS SharePoint Word & Excel Automation Services etc. Message-ID: <92C501A9AFDE4B50B0117108E43F1BBF@nant> Hi All -- I wonder does anybody here uses subj? Here are some useful links: Open XML SDK + Word Automation Services Presentation at PDC (if you'll watch this presentation don't miss the info on Open XML SDK tools presented approximately in the middle of this presentation - it's rather impressive): http://blogs.msdn.com/b/brian_jones/archive/2009/11/23/open-xml-sdk-word-aut omation-services-presentation-at-pdc.aspx Folks asking MS to not bind Word Automation services to MS SharePoint: http://social.msdn.microsoft.com/Forums/en-US/oxmlsdk/thread/f0f09c56-fb41-4 43c-909d-ee467fec7d12 My question: do you know if MS Word Automation Services can be hosted together with MS SharePoint hosting? http://mosshosting.asphostportal.com/?p=252 FYI: Rather pricey alternative solution for "Automation-free" MS Word, Excel etc. documents creating and manipulation - third-party .NET class library: "ASPOSE.Total for .NET" http://www.aspose.com/categories/.net-components/aspose.total-for-.net/defau lt.aspx Thank you. -- Shamil From jwcolby at colbyconsulting.com Sat Sep 24 07:16:09 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Sep 2011 08:16:09 -0400 Subject: [AccessD] SSDs and BE storage In-Reply-To: <000001cc7aad$05d94e00$118bea00$@net> References: <4E7BF42E.1060602@colbyconsulting.com> <000001cc7aad$05d94e00$118bea00$@net> Message-ID: <4E7DCA09.8020908@colbyconsulting.com> It is puzzling that they limited it to 4 gb of ssd. Giving it 16 or 32 gigs would have really opened up what it could cache to the point of having most of what my laptop uses on a daily basis. http://www.overclockersclub.com/reviews/seagate_momentus_xt_500gb/ The review likes it but it clearly is not an ssd killer. Still I think I am going to give it a whirl for my laptop. I have been waiting for the big (220g) ssds to drop to something I am willing to spend on my laptop and they simply are not doing so. John W. Colby www.ColbyConsulting.com On 9/24/2011 7:28 AM, Mark Simms wrote: > http://www.amazon.com/Seagate-Momentus-7200RPM-Hybrid-ST95005620AS-Bare/dp/B > 003NSBF32/ref=sr_1_1?s=electronics&ie=UTF8&qid=1316863239&sr=1-1 From marksimms at verizon.net Sat Sep 24 10:36:55 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 24 Sep 2011 11:36:55 -0400 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: Message-ID: <006201cc7acf$cad7eff0$6087cfd0$@net> > 2. Bad actor changes global to a 'bad' value, which is accepted without > error... This does not happen if you use a Property with some validation in the Let or Set. MZTOOLZ has a global-to-property converter - probably for this very reason. > 3. Other actor uses global -- BAM! BIF! POW! error. > > But who did the dirty deed? You can't easily tell. This is the crux of > the 'globals are bad' arguement. > Without knowing WHO made each change, you're stuck with a tedious > debugging mess. > VBA "Find" is your friend here....however, that is worthless if you've got 10,000 lines of code and 40 places where the global is being referenced. However, On the other hand, Property is no help in this one either....UNLESS you are smart enough to code a property PARAMETER which indicates the Caller source proc or function name. Then you can quickly trace within the Property code definition each caller to determine where the problem originated. Once discovered you can hopefully add additional validation code to insure that condition never occurs again. From marksimms at verizon.net Sat Sep 24 10:39:48 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 24 Sep 2011 11:39:48 -0400 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net> <4E790619.20216.233D5A39@stuart.lexacorp.com.pg> <004f01cc77e0$b1db7130$15925390$@comcast.net> <02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net> <4E7B16AD.6030904@colbyconsulting.com> <511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> <631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> Message-ID: <006301cc7ad0$319fe350$94dfa9f0$@net> > The lack of triggers and transaction logging These are now "in" the 2010 ACCDB format and run-time. From marksimms at verizon.net Sat Sep 24 10:43:54 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 24 Sep 2011 11:43:54 -0400 Subject: [AccessD] SSDs and BE storage In-Reply-To: <4E7DCA09.8020908@colbyconsulting.com> References: <4E7BF42E.1060602@colbyconsulting.com> <000001cc7aad$05d94e00$118bea00$@net> <4E7DCA09.8020908@colbyconsulting.com> Message-ID: <006401cc7ad0$c4395660$4cac0320$@net> Hybrid is at 20 cents per gig....pure SSD is nearly $2 per gig !! 10:1 ratio.. That being said, demand for SSD is far outstripping the supply IMHO. Therefore SSD prices are likely not to drop in the near future. > Still I think I am going to give it a whirl for my laptop. I have been > waiting for the big (220g) > ssds to drop to something I am willing to spend on my laptop and they > simply are not doing so. From john at winhaven.net Fri Sep 23 11:05:52 2011 From: john at winhaven.net (John Bartow) Date: Fri, 23 Sep 2011 11:05:52 -0500 Subject: [AccessD] SSDs and BE storage In-Reply-To: <4E7DCA09.8020908@colbyconsulting.com> References: <4E7BF42E.1060602@colbyconsulting.com> <000001cc7aad$05d94e00$118bea00$@net> <4E7DCA09.8020908@colbyconsulting.com> Message-ID: <019001cc7a0a$ab1c6c10$01554430$@winhaven.net> Something I think I would do on ssds would be to turn off system restore (VSS) for that drive. If only storing data then system restore serves no purpose to begin with. It would reduce disk space usage, write overhead and save all of those read/write count limits on that particular area of the drive. From DWUTKA at Marlow.com Sat Sep 24 11:08:50 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Sat, 24 Sep 2011 11:08:50 -0500 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com><511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com><631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> Message-ID: I haven't seen one in a while, but have certainly seen my share. Almost always it is due to network issues. I wrote a VB 6 program that was a multithreaded app that would corrupt the .mdb it was using, but only a 97 .mdb, 2000 or later, no corruption. (it wrote, constantly, to the same .mdb, from each thread....) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, September 23, 2011 3:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS I keep hearing about corrupted MDBs but in at least a decade of working with Access, this has never happened to me. Now that I've said that, it will probably happen tomorrow, so I'm immediately going to do a huge backup! Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Sat Sep 24 11:14:05 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Sat, 24 Sep 2011 11:14:05 -0500 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: References: Message-ID: So what about a string of functions that you feed a variable, which are byref for their arguments? You would still be 'tracking down' the culprit. I really don't see how a global is that much different in trouble shooting. I completely agree that a global class makes things much easier, it is also cleaner. You can group the values you want into a class, which simply makes more sense too. If you have a dozen global variables, used to hold system settings, why not make a SystemSettings class, easier and more logically combined. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Friday, September 23, 2011 3:41 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Global Vars (was Ambiguous Name) > Drew Wutka: > A global variable will ONLY fail in the SAME way that a modular or > procedural variable will. > ... > #1. 'A global variable can be changed from anywhere.... so it could > get a bad value'. Really? So let's look at a procedural variable: > ... > Holy Division by Zero Batman. We just 'broke' a procedural variable! ... > You're right, but for one TINY difference ... in your procedural example, you can raise an error up the call chain, and immediately finger the bad actor. In all of the global parameter schemes put forth so far, you don't get that. The failure chain is: 1. Good actor sets global. Time goes past... 2. Bad actor changes global to a 'bad' value, which is accepted without error... 3. Other actor uses global -- BAM! BIF! POW! error. But who did the dirty deed? You can't easily tell. This is the crux of the 'globals are bad' arguement. Without knowing WHO made each change, you're stuck with a tedious debugging mess. But again, talking to the 'globals are bad' camp, I say your solutions so far don't solve the problem. How do you propose fixing the problem? -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Sat Sep 24 11:17:25 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Sat, 24 Sep 2011 11:17:25 -0500 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com><511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com> Message-ID: Easy Peasy. You are just going to use ADO. Would you like a utility I built a while back, that builds 'data classes' in asp classic? I built it in VB6, you point it to the .mdb, and it creates a data class for a table (or query) along with a 'group' class for the individual data class. Email me off list if you want it. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, September 23, 2011 5:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Drew: Server 2003 Developers edition with IIS version 6, fully tricked out, runs ASP classic as well as a number of databases protocols and Extensions etc. TIA Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Friday, September 23, 2011 12:56 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Accessing an .mdb on a web server (like IIS) is identical to accessing the .mdb from your programming interface itself. For example, if you want to use classic ASP, then you are using VBScript, and VBScript can access an .mdb using ADO. Now, years ago, I believe you had to install ADO separately, but I think since XP, that ADO is included, not 100% positive on that. If you are using .Net, (ie, ASP.Net), then you have the .Net runtimes installed on the server. What platform are you using to program with, and I can point you in a better direction. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 8:32 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Well, you have me at a disadvantage as I do not know what you mean? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 3:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Nope.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 5:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Does that mean Access have to be installed on the IIS server? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, September 22, 2011 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS You can communicate with just ADO. I haven't used .Net with an .mdb, but I don't think it would be much different. I STRONGLY recommend that the .mdb be placed on the same server as IIS. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, September 22, 2011 12:44 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access with IIS Hi All: In the many years, I have worked with MS Access there is on thing I have never done with it. I have never used MS Access as the DB for an application running off an IIS server...any web server for that matter...MS SQL, Express, Oracle, MySQL etc but never MDB. So does MS Access have to be installed on the IIS server and does an extension have to be added to the server etc.? Can just a set of drivers be configured...? (If the truth be known I would just love to upsize to any other DB and be done with it but that is not what the client wants; and the client is always right.(?)) If any one has experience with this process, their knowledgeable tips would be greatly appreciated. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Sat Sep 24 11:18:36 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Sat, 24 Sep 2011 11:18:36 -0500 Subject: [AccessD] MS Access with IIS In-Reply-To: <006301cc7ad0$319fe350$94dfa9f0$@net> References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com><511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com><631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> <006301cc7ad0$319fe350$94dfa9f0$@net> Message-ID: Interesting, did not know that, of course, I don't do much with Access nowadays. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Saturday, September 24, 2011 10:40 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS > The lack of triggers and transaction logging These are now "in" the 2010 ACCDB format and run-time. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From jwcolby at colbyconsulting.com Sat Sep 24 14:10:42 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Sep 2011 15:10:42 -0400 Subject: [AccessD] interesting ssd SQL Server testing Message-ID: <4E7E2B32.60008@colbyconsulting.com> http://sqlblog.com/blogs/joe_chang/archive/2011/09/17/consumer-grade-ssds-with-sql-server.aspx -- John W. Colby www.ColbyConsulting.com From stuart at lexacorp.com.pg Sat Sep 24 15:27:36 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 25 Sep 2011 06:27:36 +1000 Subject: [AccessD] Global Vars (was Ambiguous Name) In-Reply-To: <006201cc7acf$cad7eff0$6087cfd0$@net> References: , <006201cc7acf$cad7eff0$6087cfd0$@net> Message-ID: <4E7E3D38.24460.13038105@stuart.lexacorp.com.pg> On 24 Sep 2011 at 11:36, Mark Simms wrote: > VBA "Find" is your friend here....however, that is worthless if you've > got 10,000 lines of code and 40 places where the global is being > referenced. > Correction: "where the global is being set"! i.e. Find: " g_myGlobal = " -- Stuart From marksimms at verizon.net Sat Sep 24 15:41:57 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 24 Sep 2011 16:41:57 -0400 Subject: [AccessD] interesting ssd SQL Server testing In-Reply-To: <4E7E2B32.60008@colbyconsulting.com> References: <4E7E2B32.60008@colbyconsulting.com> Message-ID: <001c01cc7afa$675024e0$35f06ea0$@net> The only valid comparison I saw was the 1 hour to 20 minutes.....very impressive. So how is that scored ? A 67% improvement ? or wait, should that be a 300% increase in speed ? > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Saturday, September 24, 2011 3:11 PM > To: Access Developers discussion and problem solving; VBA; Sqlserver- > Dba > Subject: [AccessD] interesting ssd SQL Server testing > > > http://sqlblog.com/blogs/joe_chang/archive/2011/09/17/consumer-grade- > ssds-with-sql-server.aspx > > -- > John W. Colby > www.ColbyConsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sat Sep 24 15:51:30 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 25 Sep 2011 06:51:30 +1000 Subject: [AccessD] interesting ssd SQL Server testing In-Reply-To: <001c01cc7afa$675024e0$35f06ea0$@net> References: <4E7E2B32.60008@colbyconsulting.com>, <001c01cc7afa$675024e0$35f06ea0$@net> Message-ID: <4E7E42D2.31017.1319652C@stuart.lexacorp.com.pg> Possibly a 67% reduction in time? But for a marketing, 300% increase in speed sounds much better, -- Stuart On 24 Sep 2011 at 16:41, Mark Simms wrote: > The only valid comparison I saw was the 1 hour to 20 minutes.....very > impressive. So how is that scored ? A 67% improvement ? or wait, > should that be a 300% increase in speed ? > From jwcolby at colbyconsulting.com Sat Sep 24 17:29:40 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Sep 2011 18:29:40 -0400 Subject: [AccessD] interesting ssd SQL Server testing In-Reply-To: <001c01cc7afa$675024e0$35f06ea0$@net> References: <4E7E2B32.60008@colbyconsulting.com> <001c01cc7afa$675024e0$35f06ea0$@net> Message-ID: <4E7E59D4.3030609@colbyconsulting.com> I found much of it rather confusing. Too little specifics re the configurations. John W. Colby www.ColbyConsulting.com On 9/24/2011 4:41 PM, Mark Simms wrote: > The only valid comparison I saw was the 1 hour to 20 minutes.....very > impressive. > So how is that scored ? A 67% improvement ? or wait, should that be a 300% > increase in speed ? > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd- >> bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Saturday, September 24, 2011 3:11 PM >> To: Access Developers discussion and problem solving; VBA; Sqlserver- >> Dba >> Subject: [AccessD] interesting ssd SQL Server testing >> >> >> http://sqlblog.com/blogs/joe_chang/archive/2011/09/17/consumer-grade- >> ssds-with-sql-server.aspx >> >> -- >> John W. Colby >> www.ColbyConsulting.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 Sep 25 19:50:14 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 26 Sep 2011 10:50:14 +1000 Subject: [AccessD] OT: Excel Question In-Reply-To: <1E0FC6BB-EFBC-4008-B581-26771FC3115F@zyterra.com> References: <766DD8D0-7FA9-45BA-8643-1B8D315B08E1@zyterra.com> <48B855C8E3374DA4A43498380A97156B@HAL9007> <1E0FC6BB-EFBC-4008-B581-26771FC3115F@zyterra.com> Message-ID: <002001cc7be6$40f6c370$c2e44a50$@com.au> Debbie, If you are using XL2007, MS broke a lot of the macro recording functionality for charting (and a few other areas) and not much is captured by the recorder at all. In XL2010 it is meant to be fixed again. Indeed Charting functionaly in XL2007 is less than stellar. It commonly behaves like it is not fully operational, which is pretty accurate seeing it wasn't when MS pushed XL2007 onto the world. Of course you can fix most of these charting issues by upgrading to XL2010 - great business plan really ;) You can also have Access VBA call and run an code procedure in Excel from Access. I use this a lot. Have the XL code in the XL template and just call it to run from Access. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Debbie Sent: Saturday, 24 September 2011 6:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Excel Question I do that myself all the time. Trouble is I couldn't find how to do it in Excel. Until I found that, there was no macro to record and no code to crib. Debbie Sent from my iPhone On Sep 23, 2011, at 3:37 PM, "Rocky Smolin" wrote: > Are you asking to fix it from the VBA in the Access mdb? If so, I've > been > able to automate everything in Excel from Access by recording a > macro in > Excel to do what I want and then cribbing the Excel code into the > Access > module. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Debbie > Sent: Friday, September 23, 2011 11:39 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] OT: Excel Question > > I have a database pushing data out to an Excel 2007 template. From > this data > I am creating a variety of graphs that are stored in the template. > > Everything works fine except the relative scales on 2 of the graphs. > They are side by side and the customer is adamant that the top and > bottom > line up. This seems really easy, but it is not. One graph has a > dynamic y > axis because the values can vary a lot. When they do vary, the whole > chart > area will change height just a bit. > > Is there a way to fix the total chart height, while still allowing > the y > axis to automatically determine the best tick marks and scaling > within that > area? > > Debbie > > Sent from my iPhone > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sep 25 19:54:06 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 26 Sep 2011 10:54:06 +1000 Subject: [AccessD] Filtering with International Dates In-Reply-To: References: Message-ID: <002101cc7be6$cb7bbb40$627331c0$@com.au> Yeah, that was my understanding of it. The "$" is short hand for String. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, 23 September 2011 10:59 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Filtering with International Dates Hi Rocky Yes, that will work. It will return #09/23/2011# for today. I've never noticed any difference between Format and Format$ (and all the other old BASIC string handling functions with or without a trailing $). SomeFunction$ is claimed to always return a string, but I've never found, say, Trim to return anything else than a string. Maybe it is just to be compatible with old QBasic or similar. /gustav >>> rockysmolin at bchacc.com 23-09-2011 14:35 >>> Gustav: Dang - it's like taking a class. :) I found this on the web as you suggest: Format$(Forms!frmPOReport!txtGEPromisedDate, "\#mm\/dd\/yyyy\#") (Don't know why the $ after Format but it compiles OK) And it seems to work. But I have to comb through my manufacturing app now - which is a very date driven app, lots of reports where I give the user the option to filter by date - and change those occurrences to something which will be as bulletproof as possible. It looks like that's the best approach in your opinion? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, September 23, 2011 3:11 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Filtering with International Dates Hi Rocky You are a clever man not to be fooled! There really is no reason to convert dates to numerals. If you can use the date value, use it as is, if not - as often when you build SQL strings - convert it to a proper string expression. The proven method is to use Format and the ISO format: Format(somedatetime, "yyyy\/mm\/dd hh\:nn\:ss") For JET SQL this must be wrapped in #..#, for SQL Server it is single quotes '..' You may get away with using the US mm/dd/yyyy format but it will fail for ADO and FindFirst, thus you can just as well make it a habit to use the ISO format which now is the preferred for SQL Server as well. If you need to cut off a time part to obtain the date part only, a safe and the fastest method is Fix: Fix(somedatetime) because it: - works correctly for dates prior to 1899-12-30 - returns data type date - always rounds off - is native to SQL The use of CDbl or CLng is not very useful. CDbl just returns the underlying data type (Double) of data type Date so you should CDate instead, and CLng will round PM time parts incorrectly, and they both fail for a clean string input like "5/3/2005" which CDate does not. If you need to convert strings to date and time, use CDate for time expressions or to include a time part with a date, or DateValue for dates where the time part should be excluded. When to use date value and when a string expression for a date value is quite simple. When a function is used in SQL, it should return a date value; when you build a SQL string it must be a string expression. Thus, as mentioned by Stuart, this will work because CDate and DateValue (and TimeValue) understands a string formatted as the local settings of Windows: "where [datefield] = Datevalue('" & txtDate & "')" as will this: "where [datefield] = #" & Format(DateValue(txtDate), "yyyy\/mm\/dd") & "#" which, as Format - when using a date format - will try to read the value to format as a date, can be reduced to: "where [datefield] = #" & Format(txtDate, "yyyy\/mm\/dd") & "#" /gustav >>> rockysmolin at bchacc.com 23-09-2011 05:17 >>> What happens if you use CDbl on a date string with no time? R -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sun Sep 25 20:14:27 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 25 Sep 2011 18:14:27 -0700 Subject: [AccessD] Filtering subform from parent form Message-ID: <28D458219FE243A29B0ACA165C8408B6@HAL9007> Dear List: I'm trying to set the filter of a subform from parameters on the main form. The first line is Me.subfrmAccountsReceivable.Form.Filter = "" But it wasn't working - so I put: MsgBox Me.subfrmAccountsReceivable.Form.Filter right after the first line and it prints "False" After that first line there's code which I've written a dozen times to accumulate the filtering criteria (in this case an account number and a >= and <= date range) but always for the parent form - never for a sub form. What am I doing wrong? (Besides not drinking some Scotch and making dinner at 6:15 on Sunday night.) MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com From fuller.artful at gmail.com Sun Sep 25 20:23:51 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 25 Sep 2011 21:23:51 -0400 Subject: [AccessD] Filtering subform from parent form In-Reply-To: <28D458219FE243A29B0ACA165C8408B6@HAL9007> References: <28D458219FE243A29B0ACA165C8408B6@HAL9007> Message-ID: I just googled "filter on an Access subform" and I suspected, got led immediately to Allen Browne's site (and others). There are several hits. I'd try Allen's first. IIRC A.D. Tejpal's written something on this. I haven't had a need for this particular capability but google as I did and you should get your answer. HTH, Arthur On Sun, Sep 25, 2011 at 9:14 PM, Rocky Smolin wrote: > Dear List: > > I'm trying to set the filter of a subform from parameters on the main form. > The first line is > > Me.subfrmAccountsReceivable.Form.Filter = "" > > But it wasn't working - so I put: > > MsgBox Me.subfrmAccountsReceivable.Form.Filter > > right after the first line and it prints "False" > > > After that first line there's code which I've written a dozen times to > accumulate the filtering criteria (in this case an account number and a >= > and <= date range) but always for the parent form - never for a sub form. > > What am I doing wrong? (Besides not drinking some Scotch and making dinner > at 6:15 on Sunday night.) > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > www.e-z-mrp.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 Sun Sep 25 20:35:53 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 25 Sep 2011 21:35:53 -0400 Subject: [AccessD] Filtering subform from parent form In-Reply-To: References: <28D458219FE243A29B0ACA165C8408B6@HAL9007> Message-ID: I just checked the first posting and there's a reply from Allen himself: > With Me.Child0.Form > .Filter = "ExternalEvents Is Not Null" > .FilterOn = True > End With His Filter above was specific to the question he was asked, of course. He's assuming that your filter command button is on the main form, which seems logical enough, but it may mean that you cannot use the built-in Filter-By-Form thing, and instead may have to create your own dialog for this situation. If it's always the same fields, then that shouldn't be a problem. Another approach: you could open a dialog based on the subform's record source, then filter it by form, then grab the Filter property, close the dialog and plug the filter into the above code, which would live in the parent form. Arthur P.S. Interesting exercise. I think build a little toy program and see if I can make it work. On Sun, Sep 25, 2011 at 9:23 PM, Arthur Fuller wrote: > I just googled "filter on an Access subform" and I suspected, got led > immediately to Allen Browne's site (and others). There are several hits. I'd > try Allen's first. IIRC A.D. Tejpal's written something on this. I haven't > had a need for this particular capability but google as I did and you should > get your answer. > > HTH, > Arthur > > > On Sun, Sep 25, 2011 at 9:14 PM, Rocky Smolin wrote: > >> Dear List: >> >> I'm trying to set the filter of a subform from parameters on the main >> form. >> The first line is >> >> Me.subfrmAccountsReceivable.Form.Filter = "" >> >> But it wasn't working - so I put: >> >> MsgBox Me.subfrmAccountsReceivable.Form.Filter >> >> right after the first line and it prints "False" >> >> >> After that first line there's code which I've written a dozen times to >> accumulate the filtering criteria (in this case an account number and a >= >> and <= date range) but always for the parent form - never for a sub form. >> >> What am I doing wrong? (Besides not drinking some Scotch and making dinner >> at 6:15 on Sunday night.) >> >> MTIA >> >> Rocky Smolin >> Beach Access Software >> 858-259-4334 >> www.bchacc.com >> www.e-z-mrp.com >> >> >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > From stuart at lexacorp.com.pg Sun Sep 25 20:41:17 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 26 Sep 2011 11:41:17 +1000 Subject: [AccessD] Filtering with International Dates In-Reply-To: <002101cc7be6$cb7bbb40$627331c0$@com.au> References: , <002101cc7be6$cb7bbb40$627331c0$@com.au> Message-ID: <4E7FD83D.3449.19491308@stuart.lexacorp.com.pg> Format returns a Variant of type String. Format$ returns an actual string. Similarly with Left,Right,Mid,Trim etc Theoretically, using the native types rather than variants should be more efficient. Wait a minute.... Yep - that's true in practice as well: Option Compare Database Option Explicit Const gc_testcases As Long = 10000000 Function TestVar() As String Dim str As String Dim strResult As String Dim t As Single Dim x As Long t = Timer For x = 1 To gc_testcases str = Left("abcdef", 3) Next t = Timer - t strResult = "Variant form took " & t & " seconds" & vbCrLf t = Timer For x = 1 To gc_testcases str = Left$("abcdef", 3) Next t = Timer - t TestVar = strResult & "String form took " & t & " seconds" End Function The Variant form consistently takes 2.5 times as long as the String version. -- Stuart On 26 Sep 2011 at 10:54, Darryl Collins wrote: > Yeah, that was my understanding of it. The "$" is short hand for > String. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > Brock Sent: Friday, 23 September 2011 10:59 PM To: > accessd at databaseadvisors.com Subject: Re: [AccessD] Filtering with > International Dates > > Hi Rocky > > Yes, that will work. It will return #09/23/2011# for today. > > I've never noticed any difference between Format and Format$ (and all > the other old BASIC string handling functions with or without a > trailing $). SomeFunction$ is claimed to always return a string, but > I've never found, say, Trim to return anything else than a string. > Maybe it is just to be compatible with old QBasic or similar. > > /gustav > > > >>> rockysmolin at bchacc.com 23-09-2011 14:35 >>> > Gustav: > > Dang - it's like taking a class. :) > > I found this on the web as you suggest: > > Format$(Forms!frmPOReport!txtGEPromisedDate, "\#mm\/dd\/yyyy\#") > > (Don't know why the $ after Format but it compiles OK) > > And it seems to work. But I have to comb through my manufacturing app > now - which is a very date driven app, lots of reports where I give > the user the option to filter by date - and change those occurrences > to something which will be as bulletproof as possible. > > It looks like that's the best approach in your opinion? > > Rocky > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > Brock Sent: Friday, September 23, 2011 3:11 AM To: > accessd at databaseadvisors.com Subject: Re: [AccessD] Filtering with > International Dates > > Hi Rocky > > You are a clever man not to be fooled! > > There really is no reason to convert dates to numerals. If you can use > the date value, use it as is, if not - as often when you build SQL > strings - convert it to a proper string expression. The proven method > is to use Format and the ISO format: > > Format(somedatetime, "yyyy\/mm\/dd hh\:nn\:ss") For JET SQL this must > be wrapped in #..#, for SQL Server it is single quotes '..' You may > get away with using the US mm/dd/yyyy format but it will fail for ADO > and FindFirst, thus you can just as well make it a habit to use the > ISO format which now is the preferred for SQL Server as well. > > If you need to cut off a time part to obtain the date part only, a > safe and the fastest method is Fix: > > Fix(somedatetime) > > because it: > > - works correctly for dates prior to 1899-12-30 > - returns data type date > - always rounds off > - is native to SQL > > The use of CDbl or CLng is not very useful. CDbl just returns the > underlying data type (Double) of data type Date so you should CDate > instead, and CLng will round PM time parts incorrectly, and they both > fail for a clean string input like "5/3/2005" which CDate does not. If > you need to convert strings to date and time, use CDate for time > expressions or to include a time part with a date, or DateValue for > dates where the time part should be excluded. > > When to use date value and when a string expression for a date value > is quite simple. When a function is used in SQL, it should return a > date value; when you build a SQL string it must be a string > expression. Thus, as mentioned by Stuart, this will work because CDate > and DateValue (and TimeValue) understands a string formatted as the > local settings of Windows: > > "where [datefield] = Datevalue('" & txtDate & "')" > > as will this: > > "where [datefield] = #" & Format(DateValue(txtDate), "yyyy\/mm\/dd") > & "#" > > which, as Format - when using a date format - will try to read the > value to format as a date, can be reduced to: > > "where [datefield] = #" & Format(txtDate, "yyyy\/mm\/dd") & "#" > > /gustav > > > >>> rockysmolin at bchacc.com 23-09-2011 05:17 >>> > What happens if you use CDbl on a date string with no time? > > 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 rockysmolin at bchacc.com Sun Sep 25 23:10:08 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 25 Sep 2011 21:10:08 -0700 Subject: [AccessD] Filtering subform from parent form In-Reply-To: References: <28D458219FE243A29B0ACA165C8408B6@HAL9007> Message-ID: I'm sure that will work if I move the filter code and the text boxes to the sub form. I do this a lot but always have the parameters in text boxes on the main form filtering the main form. I'll check the Google as you suggest though R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Sunday, September 25, 2011 6:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering subform from parent form I just checked the first posting and there's a reply from Allen himself: > With Me.Child0.Form > .Filter = "ExternalEvents Is Not Null" > .FilterOn = True > End With His Filter above was specific to the question he was asked, of course. He's assuming that your filter command button is on the main form, which seems logical enough, but it may mean that you cannot use the built-in Filter-By-Form thing, and instead may have to create your own dialog for this situation. If it's always the same fields, then that shouldn't be a problem. Another approach: you could open a dialog based on the subform's record source, then filter it by form, then grab the Filter property, close the dialog and plug the filter into the above code, which would live in the parent form. Arthur P.S. Interesting exercise. I think build a little toy program and see if I can make it work. On Sun, Sep 25, 2011 at 9:23 PM, Arthur Fuller wrote: > I just googled "filter on an Access subform" and I suspected, got led > immediately to Allen Browne's site (and others). There are several > hits. I'd try Allen's first. IIRC A.D. Tejpal's written something on > this. I haven't had a need for this particular capability but google > as I did and you should get your answer. > > HTH, > Arthur > > > On Sun, Sep 25, 2011 at 9:14 PM, Rocky Smolin wrote: > >> Dear List: >> >> I'm trying to set the filter of a subform from parameters on the main >> form. >> The first line is >> >> Me.subfrmAccountsReceivable.Form.Filter = "" >> >> But it wasn't working - so I put: >> >> MsgBox Me.subfrmAccountsReceivable.Form.Filter >> >> right after the first line and it prints "False" >> >> >> After that first line there's code which I've written a dozen times >> to accumulate the filtering criteria (in this case an account number >> and a >= and <= date range) but always for the parent form - never for a sub form. >> >> What am I doing wrong? (Besides not drinking some Scotch and making >> dinner at 6:15 on Sunday night.) >> >> MTIA >> >> Rocky Smolin >> Beach Access Software >> 858-259-4334 >> www.bchacc.com www.e-z-mrp.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 Sun Sep 25 23:12:42 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 25 Sep 2011 21:12:42 -0700 Subject: [AccessD] Filtering subform from parent form In-Reply-To: References: <28D458219FE243A29B0ACA165C8408B6@HAL9007> Message-ID: <66C472AAB8E64F1E8CE99B8C09B2B6F9@HAL9007> The first thing I see is a suggestion to build a SQL statement with the filtering parameters in the WHERE clause. I suppose I could try that as a workaround. Annoying that the .Filter doesn't seem to work as it should, though. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Sunday, September 25, 2011 6:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering subform from parent form I just checked the first posting and there's a reply from Allen himself: > With Me.Child0.Form > .Filter = "ExternalEvents Is Not Null" > .FilterOn = True > End With His Filter above was specific to the question he was asked, of course. He's assuming that your filter command button is on the main form, which seems logical enough, but it may mean that you cannot use the built-in Filter-By-Form thing, and instead may have to create your own dialog for this situation. If it's always the same fields, then that shouldn't be a problem. Another approach: you could open a dialog based on the subform's record source, then filter it by form, then grab the Filter property, close the dialog and plug the filter into the above code, which would live in the parent form. Arthur P.S. Interesting exercise. I think build a little toy program and see if I can make it work. On Sun, Sep 25, 2011 at 9:23 PM, Arthur Fuller wrote: > I just googled "filter on an Access subform" and I suspected, got led > immediately to Allen Browne's site (and others). There are several > hits. I'd try Allen's first. IIRC A.D. Tejpal's written something on > this. I haven't had a need for this particular capability but google > as I did and you should get your answer. > > HTH, > Arthur > > > On Sun, Sep 25, 2011 at 9:14 PM, Rocky Smolin wrote: > >> Dear List: >> >> I'm trying to set the filter of a subform from parameters on the main >> form. >> The first line is >> >> Me.subfrmAccountsReceivable.Form.Filter = "" >> >> But it wasn't working - so I put: >> >> MsgBox Me.subfrmAccountsReceivable.Form.Filter >> >> right after the first line and it prints "False" >> >> >> After that first line there's code which I've written a dozen times >> to accumulate the filtering criteria (in this case an account number >> and a >= and <= date range) but always for the parent form - never for a sub form. >> >> What am I doing wrong? (Besides not drinking some Scotch and making >> dinner at 6:15 on Sunday night.) >> >> MTIA >> >> Rocky Smolin >> Beach Access Software >> 858-259-4334 >> www.bchacc.com www.e-z-mrp.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 Sep 26 01:11:13 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 26 Sep 2011 08:11:13 +0200 Subject: [AccessD] Format or Format$ (was: Filtering with International Dates) Message-ID: Hi Stuart Well, thanks! That's the first time ever I heard and got demonstrated a decent explanation on this$. /gustav >>> stuart at lexacorp.com.pg 26-09-2011 03:41 >>> Format returns a Variant of type String. Format$ returns an actual string. Similarly with Left,Right,Mid,Trim etc Theoretically, using the native types rather than variants should be more efficient. Wait a minute.... Yep - that's true in practice as well: Option Compare Database Option Explicit Const gc_testcases As Long = 10000000 Function TestVar() As String Dim str As String Dim strResult As String Dim t As Single Dim x As Long t = Timer For x = 1 To gc_testcases str = Left("abcdef", 3) Next t = Timer - t strResult = "Variant form took " & t & " seconds" & vbCrLf t = Timer For x = 1 To gc_testcases str = Left$("abcdef", 3) Next t = Timer - t TestVar = strResult & "String form took " & t & " seconds" End Function The Variant form consistently takes 2.5 times as long as the String version. -- Stuart On 26 Sep 2011 at 10:54, Darryl Collins wrote: > Yeah, that was my understanding of it. The "$" is short hand for > String. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > Brock Sent: Friday, 23 September 2011 10:59 PM To: > accessd at databaseadvisors.com Subject: Re: [AccessD] Filtering with > International Dates > > Hi Rocky > > Yes, that will work. It will return #09/23/2011# for today. > > I've never noticed any difference between Format and Format$ (and all > the other old BASIC string handling functions with or without a > trailing $). SomeFunction$ is claimed to always return a string, but > I've never found, say, Trim to return anything else than a string. > Maybe it is just to be compatible with old QBasic or similar. > > /gustav From fuller.artful at gmail.com Mon Sep 26 03:41:20 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 26 Sep 2011 04:41:20 -0400 Subject: [AccessD] Filtering subform from parent form In-Reply-To: <66C472AAB8E64F1E8CE99B8C09B2B6F9@HAL9007> References: <28D458219FE243A29B0ACA165C8408B6@HAL9007> <66C472AAB8E64F1E8CE99B8C09B2B6F9@HAL9007> Message-ID: I tried Allen's example on that search page and it won't run Access 2007. Access says: The expression After Update you entered as the event property setting produced the following error: Object or class does not support the set of events. I'm baffled. I even added a MsgBox at the start of the code and Access doesn't even there. Private Sub cboShowSup_AfterUpdate() MsgBox "Here." Dim strSQL As String If IsNull(Me.cboShowSup) Then ' If the combo is Null, use the whole table as the RecordSource. Me.RecordSource = "tblProduct" Else strSQL = "SELECT DISTINCTROW tblProduct.* FROM tblProduct " & _ "INNER JOIN tblProductSupplier ON " & _ "tblProduct.ProductID = tblProductSupplier.ProductID " & _ "WHERE tblProductSupplier.SupplierID = " & Me.cboShowSup & ";" Me.RecordSource = strSQL End If End Sub This doesn't make sense at all to me. If I had an earlier or later version of Access aboard, I'd try the example there, but I don't. Arthur On Mon, Sep 26, 2011 at 12:12 AM, Rocky Smolin wrote: > The first thing I see is a suggestion to build a SQL statement with the > filtering parameters in the WHERE clause. I suppose I could try that as a > workaround. Annoying that the .Filter doesn't seem to work as it should, > though. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Sunday, September 25, 2011 6:36 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Filtering subform from parent form > > I just checked the first posting and there's a reply from Allen himself: > > > With Me.Child0.Form > > .Filter = "ExternalEvents Is Not Null" > > .FilterOn = True > > End With > > His Filter above was specific to the question he was asked, of course. He's > assuming that your filter command button is on the main form, which seems > logical enough, but it may mean that you cannot use the built-in > Filter-By-Form thing, and instead may have to create your own dialog for > this situation. If it's always the same fields, then that shouldn't be a > problem. > > Another approach: you could open a dialog based on the subform's record > source, then filter it by form, then grab the Filter property, close the > dialog and plug the filter into the above code, which would live in the > parent form. > > Arthur > > P.S. > Interesting exercise. I think build a little toy program and see if I can > make it work. > > On Sun, Sep 25, 2011 at 9:23 PM, Arthur Fuller > wrote: > > > I just googled "filter on an Access subform" and I suspected, got led > > immediately to Allen Browne's site (and others). There are several > > hits. I'd try Allen's first. IIRC A.D. Tejpal's written something on > > this. I haven't had a need for this particular capability but google > > as I did and you should get your answer. > > > > HTH, > > Arthur > > > > > > On Sun, Sep 25, 2011 at 9:14 PM, Rocky Smolin > wrote: > > > >> Dear List: > >> > >> I'm trying to set the filter of a subform from parameters on the main > >> form. > >> The first line is > >> > >> Me.subfrmAccountsReceivable.Form.Filter = "" > >> > >> But it wasn't working - so I put: > >> > >> MsgBox Me.subfrmAccountsReceivable.Form.Filter > >> > >> right after the first line and it prints "False" > >> > >> > >> After that first line there's code which I've written a dozen times > >> to accumulate the filtering criteria (in this case an account number > >> and a >= and <= date range) but always for the parent form - never for a > sub form. > >> > >> What am I doing wrong? (Besides not drinking some Scotch and making > >> dinner at 6:15 on Sunday night.) > >> > >> MTIA > >> > >> Rocky Smolin > >> Beach Access Software > >> 858-259-4334 > >> www.bchacc.com www.e-z-mrp.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 jwcolby at colbyconsulting.com Mon Sep 26 07:02:29 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 26 Sep 2011 08:02:29 -0400 Subject: [AccessD] SSDs and BE storage In-Reply-To: <000001cc7aad$05d94e00$118bea00$@net> References: <4E7BF42E.1060602@colbyconsulting.com> <000001cc7aad$05d94e00$118bea00$@net> Message-ID: <4E8069D5.8060705@colbyconsulting.com> Mark, I decided to try these for my 3 year old dell laptops. Clean install of Windows 7 and these, to see if I can get another couple of years out of these machines. John W. Colby www.ColbyConsulting.com On 9/24/2011 7:28 AM, Mark Simms wrote: > I just saw this on Amazon.com - Seagate is making a Momentus hard drive and > they are branding it as a "hybrid" - somewhere in between an SSD and a > standard spinning platter hard drive. > Reviews are very good....and the price is right : $100 for 500 gigs. > http://www.amazon.com/Seagate-Momentus-7200RPM-Hybrid-ST95005620AS-Bare/dp/B > 003NSBF32/ref=sr_1_1?s=electronics&ie=UTF8&qid=1316863239&sr=1-1 > > > From jimdettman at verizon.net Mon Sep 26 07:07:30 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 26 Sep 2011 08:07:30 -0400 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com><511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com><631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> <006301cc7ad0$319fe350$94dfa9f0$@net> Message-ID: Drew, Don't get excited; triggers are not available at engine level. They are only available through the UI and Macro's. And I'm not sure what Mark is referring to as transaction logging, but there is none that I'm aware of. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Saturday, September 24, 2011 12:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Interesting, did not know that, of course, I don't do much with Access nowadays. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Saturday, September 24, 2011 10:40 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS > The lack of triggers and transaction logging These are now "in" the 2010 ACCDB format and run-time. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at Marlow.com Mon Sep 26 10:02:08 2011 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 26 Sep 2011 10:02:08 -0500 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com><511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com><631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk><006301cc7ad0$319fe350$94dfa9f0$@net> Message-ID: Oh, ok. Got me excited a bit! ;) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, September 26, 2011 7:08 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Drew, Don't get excited; triggers are not available at engine level. They are only available through the UI and Macro's. And I'm not sure what Mark is referring to as transaction logging, but there is none that I'm aware of. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Saturday, September 24, 2011 12:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access with IIS Interesting, did not know that, of course, I don't do much with Access nowadays. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Saturday, September 24, 2011 10:40 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS > The lack of triggers and transaction logging These are now "in" the 2010 ACCDB format and run-time. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From marksimms at verizon.net Mon Sep 26 10:04:39 2011 From: marksimms at verizon.net (Mark Simms) Date: Mon, 26 Sep 2011 11:04:39 -0400 Subject: [AccessD] MS Access with IIS In-Reply-To: References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com><511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com><631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> <006301cc7ad0$319fe350$94dfa9f0$@net> Message-ID: <008d01cc7c5d$9d5ea4d0$d81bee70$@net> Re: "I'm not sure what Mark is referring to as transaction logging,but there is none that I'm aware of.." http://www.databasedev.co.uk/whats_new_in_microsoft_access_2010.html Granted, it's not the best of implementations as this feature is only enabled using the macro facility....VBA not supported. And, by the way, that gives you insight into how MSFT is really moving away from VBA. From jimdettman at verizon.net Mon Sep 26 12:31:08 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 26 Sep 2011 13:31:08 -0400 Subject: [AccessD] MS Access with IIS In-Reply-To: <008d01cc7c5d$9d5ea4d0$d81bee70$@net> References: <002401cc77ac$6df7fa30$49e7ee90$@net><4E790619.20216.233D5A39@stuart.lexacorp.com.pg><004f01cc77e0$b1db7130$15925390$@comcast.net><02f601cc77ee$5fef45a0$1fcdd0e0$@winhaven.net><4E7B16AD.6030904@colbyconsulting.com><511BF2A133714258BE8F676D0C8FB26D@creativesystemdesigns.com><631CF83223105545BF43EFB52CB082956A2EE4249B@EX2K7-VIRT-2.ads.qub.ac.uk> <006301cc7ad0$319fe350$94dfa9f0$@net> <008d01cc7c5d$9d5ea4d0$d81bee70$@net> Message-ID: <50856C486D244A58B36B73F9D617A8B1@XPS> I wasn't even aware that feature was in there, but it's hardly what one would call transaction logging. And again, as you said, it's through macro's (and hence the UI and not at engine level). Big yawn as far as I'm concerned. I've had a system log table since day one working with Access. >From my viewpoint, it's just one more feature that doesn't need to be there. <> And anybody that thinks their not is crazy, but it will be a very long time in coming. The big reason at present for the push to macros is the ability to run Access apps with SharePoint. And if you've seen where Win8 is heading and Metro apps, your not going to find VBA in there at all. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Monday, September 26, 2011 11:05 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access with IIS Re: "I'm not sure what Mark is referring to as transaction logging,but there is none that I'm aware of.." http://www.databasedev.co.uk/whats_new_in_microsoft_access_2010.html Granted, it's not the best of implementations as this feature is only enabled using the macro facility....VBA not supported. And, by the way, that gives you insight into how MSFT is really moving away from VBA. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Mon Sep 26 14:01:08 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 26 Sep 2011 14:01:08 -0500 Subject: [AccessD] Query not returning any records Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0765B@houex1.kindermorgan.com> When I run the following query I get the results listed below SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, dbo_WellTests.TestDate FROM dbo_WellTests GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, dbo_WellTests.TestDate HAVING (((dbo_WellTests.Well_Name)="109-2")); Well_API_14 Well_Name TestDate 42415034120000 109-2 6/7/2011 42415034120000 109-2 6/8/2011 42415034120000 109-2 8/7/2011 42415034120000 109-2 8/28/2011 42415034120000 109-2 9/1/2011 42415034120000 109-2 9/5/2011 However when I run the following query I get no records returned. The table dbo_Welltests is an SQL Server table if that matters. SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, Max(dbo_WellTests.TestDate) AS MaxOfTestDate FROM dbo_WellTests GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name HAVING (((dbo_WellTests.Well_Name)="109-2") AND ((Max(dbo_WellTests.TestDate))<#9/1/2011#)); Thanks. 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 bheid at sc.rr.com Mon Sep 26 14:09:06 2011 From: bheid at sc.rr.com (Bobby Heid) Date: Mon, 26 Sep 2011 15:09:06 -0400 Subject: [AccessD] Query not returning any records In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0765B@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0765B@houex1.kindermorgan.com> Message-ID: <005701cc7c7f$c36cccc0$4a466640$@sc.rr.com> Chester, Well, right off the bat, you have Max(dbo_WellTests.TestDate) <#9/1/2011# and the maximum date in your list is 9/1/2011. So max(9/1/2011) is not less than 9/1/2011. So you get no records. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, September 26, 2011 3:01 PM To: Access Developers discussion and problem solving Subject: [AccessD] Query not returning any records When I run the following query I get the results listed below SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, dbo_WellTests.TestDate FROM dbo_WellTests GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, dbo_WellTests.TestDate HAVING (((dbo_WellTests.Well_Name)="109-2")); Well_API_14 Well_Name TestDate 42415034120000 109-2 6/7/2011 42415034120000 109-2 6/8/2011 42415034120000 109-2 8/7/2011 42415034120000 109-2 8/28/2011 42415034120000 109-2 9/1/2011 42415034120000 109-2 9/5/2011 However when I run the following query I get no records returned. The table dbo_Welltests is an SQL Server table if that matters. SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, Max(dbo_WellTests.TestDate) AS MaxOfTestDate FROM dbo_WellTests GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name HAVING (((dbo_WellTests.Well_Name)="109-2") AND ((Max(dbo_WellTests.TestDate))<#9/1/2011#)); Thanks. 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 davidmcafee at gmail.com Mon Sep 26 14:10:29 2011 From: davidmcafee at gmail.com (David McAfee) Date: Mon, 26 Sep 2011 12:10:29 -0700 Subject: [AccessD] Query not returning any records In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0765B@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0765B@houex1.kindermorgan.com> Message-ID: Does this work? HAVING ((dbo_WellTests.Well_Name="109-2") AND (dbo_WellTests.TestDate<#9/1/2011#)); On Mon, Sep 26, 2011 at 12:01 PM, Kaup, Chester < Chester_Kaup at kindermorgan.com> wrote: > When I run the following query I get the results listed below > > SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, > dbo_WellTests.TestDate > FROM dbo_WellTests > GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, > dbo_WellTests.TestDate > HAVING (((dbo_WellTests.Well_Name)="109-2")); > > Well_API_14 Well_Name TestDate > 42415034120000 109-2 6/7/2011 > 42415034120000 109-2 6/8/2011 > 42415034120000 109-2 8/7/2011 > 42415034120000 109-2 8/28/2011 > 42415034120000 109-2 9/1/2011 > 42415034120000 109-2 9/5/2011 > > However when I run the following query I get no records returned. The table > dbo_Welltests is an SQL Server table if that matters. > > SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, > Max(dbo_WellTests.TestDate) AS MaxOfTestDate > FROM dbo_WellTests > GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name > HAVING (((dbo_WellTests.Well_Name)="109-2") AND > ((Max(dbo_WellTests.TestDate))<#9/1/2011#)); > > Thanks. > > > 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 Mon Sep 26 14:19:29 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 26 Sep 2011 14:19:29 -0500 Subject: [AccessD] Query not returning any records In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0765B@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C1986D07669@houex1.kindermorgan.com> Yes it does return records. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Monday, September 26, 2011 2:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query not returning any records Does this work? HAVING ((dbo_WellTests.Well_Name="109-2") AND (dbo_WellTests.TestDate<#9/1/2011#)); On Mon, Sep 26, 2011 at 12:01 PM, Kaup, Chester < Chester_Kaup at kindermorgan.com> wrote: > When I run the following query I get the results listed below > > SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, > dbo_WellTests.TestDate > FROM dbo_WellTests > GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, > dbo_WellTests.TestDate > HAVING (((dbo_WellTests.Well_Name)="109-2")); > > Well_API_14 Well_Name TestDate > 42415034120000 109-2 6/7/2011 > 42415034120000 109-2 6/8/2011 > 42415034120000 109-2 8/7/2011 > 42415034120000 109-2 8/28/2011 > 42415034120000 109-2 9/1/2011 > 42415034120000 109-2 9/5/2011 > > However when I run the following query I get no records returned. The table > dbo_Welltests is an SQL Server table if that matters. > > SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, > Max(dbo_WellTests.TestDate) AS MaxOfTestDate > FROM dbo_WellTests > GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name > HAVING (((dbo_WellTests.Well_Name)="109-2") AND > ((Max(dbo_WellTests.TestDate))<#9/1/2011#)); > > Thanks. > > > 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 Chester_Kaup at kindermorgan.com Mon Sep 26 14:22:04 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 26 Sep 2011 14:22:04 -0500 Subject: [AccessD] Query not returning any records In-Reply-To: <005701cc7c7f$c36cccc0$4a466640$@sc.rr.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0765B@houex1.kindermorgan.com> <005701cc7c7f$c36cccc0$4a466640$@sc.rr.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0766A@houex1.kindermorgan.com> Maybe I need some different syntax. I want the last record before 9/1/2011 i.e. the record dated 8/28/2011. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Monday, September 26, 2011 2:09 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query not returning any records Chester, Well, right off the bat, you have Max(dbo_WellTests.TestDate) <#9/1/2011# and the maximum date in your list is 9/1/2011. So max(9/1/2011) is not less than 9/1/2011. So you get no records. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, September 26, 2011 3:01 PM To: Access Developers discussion and problem solving Subject: [AccessD] Query not returning any records When I run the following query I get the results listed below SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, dbo_WellTests.TestDate FROM dbo_WellTests GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, dbo_WellTests.TestDate HAVING (((dbo_WellTests.Well_Name)="109-2")); Well_API_14 Well_Name TestDate 42415034120000 109-2 6/7/2011 42415034120000 109-2 6/8/2011 42415034120000 109-2 8/7/2011 42415034120000 109-2 8/28/2011 42415034120000 109-2 9/1/2011 42415034120000 109-2 9/5/2011 However when I run the following query I get no records returned. The table dbo_Welltests is an SQL Server table if that matters. SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, Max(dbo_WellTests.TestDate) AS MaxOfTestDate FROM dbo_WellTests GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name HAVING (((dbo_WellTests.Well_Name)="109-2") AND ((Max(dbo_WellTests.TestDate))<#9/1/2011#)); Thanks. 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 davidmcafee at gmail.com Mon Sep 26 14:53:20 2011 From: davidmcafee at gmail.com (David McAfee) Date: Mon, 26 Sep 2011 12:53:20 -0700 Subject: [AccessD] Query not returning any records In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0766A@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0765B@houex1.kindermorgan.com> <005701cc7c7f$c36cccc0$4a466640$@sc.rr.com> <0B2BF8524B73A248A2F1B81BA751ED3C1986D0766A@houex1.kindermorgan.com> Message-ID: SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, Max(dbo_WellTests.TestDate) AS MaxOfTestDate FROM dbo_WellTests WHERE dbo_WellTests.Well_Name="109-2" AND dbo_WellTests.TestDate<#9/1/2011# GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name On Mon, Sep 26, 2011 at 12:22 PM, Kaup, Chester < Chester_Kaup at kindermorgan.com> wrote: > Maybe I need some different syntax. I want the last record before 9/1/2011 > i.e. the record dated 8/28/2011. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid > Sent: Monday, September 26, 2011 2:09 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Query not returning any records > > Chester, > > Well, right off the bat, you have Max(dbo_WellTests.TestDate) <#9/1/2011# > and the maximum date in your list is 9/1/2011. So max(9/1/2011) is not > less > than 9/1/2011. So you get no records. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester > Sent: Monday, September 26, 2011 3:01 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Query not returning any records > > When I run the following query I get the results listed below > > SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, > dbo_WellTests.TestDate FROM dbo_WellTests GROUP BY > dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, dbo_WellTests.TestDate > HAVING (((dbo_WellTests.Well_Name)="109-2")); > > Well_API_14 Well_Name TestDate > 42415034120000 109-2 6/7/2011 > 42415034120000 109-2 6/8/2011 > 42415034120000 109-2 8/7/2011 > 42415034120000 109-2 8/28/2011 > 42415034120000 109-2 9/1/2011 > 42415034120000 109-2 9/5/2011 > > However when I run the following query I get no records returned. The table > dbo_Welltests is an SQL Server table if that matters. > > SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, > Max(dbo_WellTests.TestDate) AS MaxOfTestDate FROM dbo_WellTests GROUP BY > dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name HAVING > (((dbo_WellTests.Well_Name)="109-2") AND > ((Max(dbo_WellTests.TestDate))<#9/1/2011#)); > > Thanks. > > > 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 Chester_Kaup at kindermorgan.com Mon Sep 26 15:04:22 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 26 Sep 2011 15:04:22 -0500 Subject: [AccessD] Query not returning any records In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C1986D0765B@houex1.kindermorgan.com> <005701cc7c7f$c36cccc0$4a466640$@sc.rr.com> <0B2BF8524B73A248A2F1B81BA751ED3C1986D0766A@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C1986D07688@houex1.kindermorgan.com> Thanks! That works. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Monday, September 26, 2011 2:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query not returning any records SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, Max(dbo_WellTests.TestDate) AS MaxOfTestDate FROM dbo_WellTests WHERE dbo_WellTests.Well_Name="109-2" AND dbo_WellTests.TestDate<#9/1/2011# GROUP BY dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name On Mon, Sep 26, 2011 at 12:22 PM, Kaup, Chester < Chester_Kaup at kindermorgan.com> wrote: > Maybe I need some different syntax. I want the last record before 9/1/2011 > i.e. the record dated 8/28/2011. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid > Sent: Monday, September 26, 2011 2:09 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Query not returning any records > > Chester, > > Well, right off the bat, you have Max(dbo_WellTests.TestDate) <#9/1/2011# > and the maximum date in your list is 9/1/2011. So max(9/1/2011) is not > less > than 9/1/2011. So you get no records. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester > Sent: Monday, September 26, 2011 3:01 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Query not returning any records > > When I run the following query I get the results listed below > > SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, > dbo_WellTests.TestDate FROM dbo_WellTests GROUP BY > dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, dbo_WellTests.TestDate > HAVING (((dbo_WellTests.Well_Name)="109-2")); > > Well_API_14 Well_Name TestDate > 42415034120000 109-2 6/7/2011 > 42415034120000 109-2 6/8/2011 > 42415034120000 109-2 8/7/2011 > 42415034120000 109-2 8/28/2011 > 42415034120000 109-2 9/1/2011 > 42415034120000 109-2 9/5/2011 > > However when I run the following query I get no records returned. The table > dbo_Welltests is an SQL Server table if that matters. > > SELECT dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name, > Max(dbo_WellTests.TestDate) AS MaxOfTestDate FROM dbo_WellTests GROUP BY > dbo_WellTests.Well_API_14, dbo_WellTests.Well_Name HAVING > (((dbo_WellTests.Well_Name)="109-2") AND > ((Max(dbo_WellTests.TestDate))<#9/1/2011#)); > > Thanks. > > > 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 fuller.artful at gmail.com Mon Sep 26 20:30:56 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 26 Sep 2011 21:30:56 -0400 Subject: [AccessD] SSDs Message-ID: This from slashdot: *"Although they haven't been big hits with enthusiasts, Samsung's solid state drives have been successful due to strong relationships with a number of OEMs, including Apple. With the release of their new SSD 830 Series Solid State Drives, however, Samsung appears ready to make inroads with enthusiasts as well. The SSD 830 tested here is 256GB model, with eight 32GB Samsung NAND flash memory chips, 256MB of Samsung DDR2 SDRAM cache memory, and a new Samsung SSD Controller. The Samsung controller features a 3-ARM core design with support for SATA III 6Gb/s interface speeds. Performance-wise, the Samsung SSD 830 Series drive offered the best Read performanceof the group that was tested, even versus the latest SandForce-based SSDs, though the SSD 830 couldn't quite catch SandForce in writes."* Arthur From jwcolby at colbyconsulting.com Tue Sep 27 06:52:54 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Sep 2011 07:52:54 -0400 Subject: [AccessD] Calculating mileage Message-ID: <4E81B916.70601@colbyconsulting.com> Before tax time I need to add a module to my inmate checkout to calculate mileage for all legs of a trip with the inmates. The database contains records of where we go - the midpoints points - with addresses, but the database does not have my start / end point (home). 1) Home to prison 2) Prison to first destination in the db 3) First destination to second destination (if any) 4) Second destination to third destination (if any) 5) Last destination to prison 6) Prison to home I thought I would try to use Microsoft Streets and trips to do the mapping, though I am open to using Google Maps if there is a programming interface available to the VBA language. I could of course manually enter the trips into Streets and trips, get the mileage and build a table of all the "legs" that I have ever done but that is error prone and forces me to do the whole thing manually. Also this is in use by other people so it would be nice to build a module that would also calculate their legs, which I certainly do not want to do myself manually. If for tax purposes I just assume that we always start from home and end at home I could use something like Streets and trips (which I have) to calculate all of these legs for each trip and place them in a table. At tax time I then have a mileage log for the IRS. I have never used Streets and Trips for this purpose. I do know that it has an API and VBA available for it. If anyone uses it for this purpose and has a library (or a function) written to do this that they would share that would be great. Or a web or help resource for this. Thanks, -- John W. Colby www.ColbyConsulting.com From stuart at lexacorp.com.pg Tue Sep 27 07:16:52 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 27 Sep 2011 22:16:52 +1000 Subject: [AccessD] Calculating mileage In-Reply-To: <4E81B916.70601@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com> Message-ID: <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> Seems very complicate when you can just record the start/finish mileage readings of the car for each trip. And that would probably be more acceptable as a record by the IRS rather than a notional mileage based on maps. -- Stuart On 27 Sep 2011 at 7:52, jwcolby wrote: > Before tax time I need to add a module to my inmate checkout to > calculate mileage for all legs of a trip with the inmates. The > database contains records of where we go - the midpoints points - with > addresses, but the database does not have my start / end point (home). > > 1) Home to prison > 2) Prison to first destination in the db > 3) First destination to second destination (if any) > 4) Second destination to third destination (if any) > 5) Last destination to prison > 6) Prison to home > > I thought I would try to use Microsoft Streets and trips to do the > mapping, though I am open to using Google Maps if there is a > programming interface available to the VBA language. > > I could of course manually enter the trips into Streets and trips, get > the mileage and build a table of all the "legs" that I have ever done > but that is error prone and forces me to do the whole thing manually. > Also this is in use by other people so it would be nice to build a > module that would also calculate their legs, which I certainly do not > want to do myself manually. > > If for tax purposes I just assume that we always start from home and > end at home I could use something like Streets and trips (which I > have) to calculate all of these legs for each trip and place them in a > table. At tax time I then have a mileage log for the IRS. > > I have never used Streets and Trips for this purpose. I do know that > it has an API and VBA available for it. If anyone uses it for this > purpose and has a library (or a function) written to do this that they > would share that would be great. Or a web or help resource for this. > > Thanks, > > -- > John W. Colby > www.ColbyConsulting.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 Sep 27 07:49:53 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Sep 2011 08:49:53 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> References: <4E81B916.70601@colbyconsulting.com> <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> Message-ID: <4E81C671.7030707@colbyconsulting.com> > Seems very complicate when you can just record the start/finish mileage readings of the car for each trip. Yes but I keep forgetting to enter the start / stop readings. A program, once created, just works on whatever data is there. Since I have to file paperwork for the checkout process, and since those records are permanently stored in my database, I always have a record of what I did. It doesn't seem "very complicated" though it could become so I suppose. The database has my home address, that is the start / stop point. The database has the prison camp address, that is the endpoint of the first leg and the start point of the last leg. 1) Calc home to prison 2) Calc prison to first stop 3) Calc first stop to second stop 4) Calc second stop to third stop 5) Calc third stop to prison 6) Calc prison to home Each becomes a record in a table with the pass request ID as the FK that ties them into a single "trip". Any pass request IDs not in the trip table need to be calculated. Report. AFAICT the IRS is not going to dispute the figures. There are logs (a file) at the prison that proves I did in fact checked the guys out, and by law I am supposed to take them where I say I am taking them. They actually do occasional checks where they send officers out to see that you are where you say you are going to be. John W. Colby www.ColbyConsulting.com On 9/27/2011 8:16 AM, Stuart McLachlan wrote: > Seems very complicate when you can just record the start/finish mileage readings of the car > for each trip. And that would probably be more acceptable as a record by the IRS rather than > a notional mileage based on maps. > From rockysmolin at bchacc.com Tue Sep 27 08:08:29 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 27 Sep 2011 06:08:29 -0700 Subject: [AccessD] Calculating mileage In-Reply-To: <4E81C671.7030707@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com><4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> Message-ID: Is there a way for your app to send start and end points to MapQuest or GoogleMaps and have them return the mileage? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 27, 2011 5:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calculating mileage > Seems very complicate when you can just record the start/finish mileage readings of the car for each trip. Yes but I keep forgetting to enter the start / stop readings. A program, once created, just works on whatever data is there. Since I have to file paperwork for the checkout process, and since those records are permanently stored in my database, I always have a record of what I did. It doesn't seem "very complicated" though it could become so I suppose. The database has my home address, that is the start / stop point. The database has the prison camp address, that is the endpoint of the first leg and the start point of the last leg. 1) Calc home to prison 2) Calc prison to first stop 3) Calc first stop to second stop 4) Calc second stop to third stop 5) Calc third stop to prison 6) Calc prison to home Each becomes a record in a table with the pass request ID as the FK that ties them into a single "trip". Any pass request IDs not in the trip table need to be calculated. Report. AFAICT the IRS is not going to dispute the figures. There are logs (a file) at the prison that proves I did in fact checked the guys out, and by law I am supposed to take them where I say I am taking them. They actually do occasional checks where they send officers out to see that you are where you say you are going to be. John W. Colby www.ColbyConsulting.com On 9/27/2011 8:16 AM, Stuart McLachlan wrote: > Seems very complicate when you can just record the start/finish > mileage readings of the car for each trip. And that would probably be > more acceptable as a record by the IRS rather than a notional mileage based on maps. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Sep 27 10:16:43 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Sep 2011 11:16:43 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: References: <4E81B916.70601@colbyconsulting.com><4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> Message-ID: <4E81E8DB.2070508@colbyconsulting.com> I don't know about mapquest or googlemaps. I am looking at doing this with vba and MapPoint which is Microsoft's software that I already own. It looks like it is going to be pretty easy to do it. I will be building a table which processes each Pass Request and stores the computed values in a TripMileage table. If I do this on my server then it will be calculated for every user of the database and I can just build a report in the application we use for the pass paperwork, to display the data for each volunteer. John W. Colby www.ColbyConsulting.com On 9/27/2011 9:08 AM, Rocky Smolin wrote: > Is there a way for your app to send start and end points to MapQuest or > GoogleMaps and have them return the mileage? > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, September 27, 2011 5:50 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Calculating mileage > > > Seems very complicate when you can just record the start/finish mileage > readings of the car for each trip. > > Yes but I keep forgetting to enter the start / stop readings. > > A program, once created, just works on whatever data is there. Since I have > to file paperwork for the checkout process, and since those records are > permanently stored in my database, I always have a record of what I did. > > It doesn't seem "very complicated" though it could become so I suppose. The > database has my home address, that is the start / stop point. The database > has the prison camp address, that is the endpoint of the first leg and the > start point of the last leg. > > 1) Calc home to prison > 2) Calc prison to first stop > 3) Calc first stop to second stop > 4) Calc second stop to third stop > 5) Calc third stop to prison > 6) Calc prison to home > > Each becomes a record in a table with the pass request ID as the FK that > ties them into a single "trip". Any pass request IDs not in the trip table > need to be calculated. > > Report. > > AFAICT the IRS is not going to dispute the figures. There are logs (a file) > at the prison that proves I did in fact checked the guys out, and by law I > am supposed to take them where I say I am taking them. They actually do > occasional checks where they send officers out to see that you are where you > say you are going to be. > > John W. Colby > www.ColbyConsulting.com > > On 9/27/2011 8:16 AM, Stuart McLachlan wrote: >> Seems very complicate when you can just record the start/finish >> mileage readings of the car for each trip. And that would probably be >> more acceptable as a record by the IRS rather than a notional mileage > based on maps. >> > -- > 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 Sep 27 12:32:40 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Tue, 27 Sep 2011 10:32:40 -0700 Subject: [AccessD] Calculating mileage In-Reply-To: <4E81E8DB.2070508@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com> <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> <4E81E8DB.2070508@colbyconsulting.com> Message-ID: John, You have a smartphone, right? There's an android app called Mileage Tracker, from Frank Android Software, that lets you do this on you smartphone and export a mileage report to CSV format that can be opened in Excel or whatever. I use it for hospice volunteer and business uses. Charlotte Foust On Tue, Sep 27, 2011 at 8:16 AM, jwcolby wrote: > I don't know about mapquest or googlemaps. I am looking at doing this with > vba and MapPoint which is Microsoft's software that I already own. It looks > like it is going to be pretty easy to do it. I will be building a table > which processes each Pass Request and stores the computed values in a > TripMileage table. If I do this on my server then it will be calculated for > every user of the database and I can just build a report in the application > we use for the pass paperwork, to display the data for each volunteer. > > John W. Colby > www.ColbyConsulting.com > > > > On 9/27/2011 9:08 AM, Rocky Smolin wrote: > >> Is there a way for your app to send start and end points to MapQuest or >> GoogleMaps and have them return the mileage? >> >> Rocky >> >> >> -----Original Message----- >> From: accessd-bounces@**databaseadvisors.com >> [mailto:accessd-bounces@**databaseadvisors.com] >> On Behalf Of jwcolby >> Sent: Tuesday, September 27, 2011 5:50 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Calculating mileage >> >> > Seems very complicate when you can just record the start/finish >> mileage >> readings of the car for each trip. >> >> Yes but I keep forgetting to enter the start / stop readings. >> >> A program, once created, just works on whatever data is there. Since I >> have >> to file paperwork for the checkout process, and since those records are >> permanently stored in my database, I always have a record of what I did. >> >> It doesn't seem "very complicated" though it could become so I suppose. >> The >> database has my home address, that is the start / stop point. The >> database >> has the prison camp address, that is the endpoint of the first leg and the >> start point of the last leg. >> >> 1) Calc home to prison >> 2) Calc prison to first stop >> 3) Calc first stop to second stop >> 4) Calc second stop to third stop >> 5) Calc third stop to prison >> 6) Calc prison to home >> >> Each becomes a record in a table with the pass request ID as the FK that >> ties them into a single "trip". Any pass request IDs not in the trip >> table >> need to be calculated. >> >> Report. >> >> AFAICT the IRS is not going to dispute the figures. There are logs (a >> file) >> at the prison that proves I did in fact checked the guys out, and by law I >> am supposed to take them where I say I am taking them. They actually do >> occasional checks where they send officers out to see that you are where >> you >> say you are going to be. >> >> John W. Colby >> www.ColbyConsulting.com >> >> >> >> On 9/27/2011 8:16 AM, Stuart McLachlan wrote: >> >>> Seems very complicate when you can just record the start/finish >>> mileage readings of the car for each trip. And that would probably be >>> more acceptable as a record by the IRS rather than a notional mileage >>> >> based on maps. >> >>> >>> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/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 Sep 27 12:55:58 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Sep 2011 13:55:58 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: References: <4E81B916.70601@colbyconsulting.com> <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> <4E81E8DB.2070508@colbyconsulting.com> Message-ID: <4E820E2E.4060402@colbyconsulting.com> And I downloaded one but I forget to open it and do it. So I was trying to back fill it, which is a PITA. Then I said... "this is stupid". My database has records for every time I take guys out... Whether or not I remember to track it in a cell phone app or in a notebook, if I don't do it in my database I cannot check the guys out. Ergo, let the computer do it. I truly did not consider this a major development effort and once done it does it for me or for 200 different people using the database. Not that I have 250 people, but I do have three so far. So three (or 150) people trying to remember to track their mileage or my program doing it automatically behind the scenes... If you were a user which would you prefer? I am a user and my manually tracking my mileage has been a disaster. John W. Colby www.ColbyConsulting.com On 9/27/2011 1:32 PM, Charlotte Foust wrote: > John, > > You have a smartphone, right? There's an android app called Mileage > Tracker, from Frank Android Software, that lets you do this on you > smartphone and export a mileage report to CSV format that can be opened in > Excel or whatever. I use it for hospice volunteer and business uses. > > Charlotte Foust From jwcolby at colbyconsulting.com Tue Sep 27 12:59:24 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Sep 2011 13:59:24 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: References: <4E81B916.70601@colbyconsulting.com> <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> <4E81E8DB.2070508@colbyconsulting.com> Message-ID: <4E820EFC.1070903@colbyconsulting.com> Charlotte, I also have to say that it never occurred to me that on a programming group, a request for a vba function would be answered by "do it manually". ;) Disappointed I am. John W. Colby www.ColbyConsulting.com On 9/27/2011 1:32 PM, Charlotte Foust wrote: > John, > > You have a smartphone, right? There's an android app called Mileage > Tracker, from Frank Android Software, that lets you do this on you > smartphone and export a mileage report to CSV format that can be opened in > Excel or whatever. I use it for hospice volunteer and business uses. > > Charlotte Foust From rockysmolin at bchacc.com Tue Sep 27 13:46:47 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 27 Sep 2011 11:46:47 -0700 Subject: [AccessD] Calculating mileage In-Reply-To: <4E820EFC.1070903@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com> <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> <4E81E8DB.2070508@colbyconsulting.com> <4E820EFC.1070903@colbyconsulting.com> Message-ID: The system is the solution not the software. I still keep the corporate records in pencil on a 13 column green sheet because it's effective, easy to add/change/delete, never have to worry about backups, etc. I could move to QuickBooks and spent 3x the time keeping the records. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 27, 2011 10:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calculating mileage Charlotte, I also have to say that it never occurred to me that on a programming group, a request for a vba function would be answered by "do it manually". ;) Disappointed I am. John W. Colby www.ColbyConsulting.com On 9/27/2011 1:32 PM, Charlotte Foust wrote: > John, > > You have a smartphone, right? There's an android app called Mileage > Tracker, from Frank Android Software, that lets you do this on you > smartphone and export a mileage report to CSV format that can be > opened in Excel or whatever. I use it for hospice volunteer and business uses. > > Charlotte Foust -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From steve at goodhall.info Tue Sep 27 13:57:09 2011 From: steve at goodhall.info (Steve Goodhall) Date: Tue, 27 Sep 2011 14:57:09 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: References: <4E81B916.70601@colbyconsulting.com> <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> <4E81E8DB.2070508@colbyconsulting.com> <4E820EFC.1070903@colbyconsulting.com> Message-ID: A couple of questions : What do you do if the dog eats your ledger? Shouldn't you use a quill and inkwell to prevent alteration of the records? Steve Goodhall, MSCS, PMP Sent from my Verizon Wireless Phone -----Original message----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 27, 2011 18:49:18 GMT+00:00 Subject: Re: [AccessD] Calculating mileage The system is the solution not the software. I still keep the corporate records in pencil on a 13 column green sheet because it's effective, easy to add/change/delete, never have to worry about backups, etc. I could move to QuickBooks and spent 3x the time keeping the records. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 27, 2011 10:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calculating mileage Charlotte, I also have to say that it never occurred to me that on a programming group, a request for a vba function would be answered by "do it manually". ;) Disappointed I am. John W. Colby www.ColbyConsulting.com On 9/27/2011 1:32 PM, Charlotte Foust wrote: > John, > > You have a smartphone, right? There's an android app called Mileage > Tracker, from Frank Android Software, that lets you do this on you > smartphone and export a mileage report to CSV format that can be > opened in Excel or whatever. I use it for hospice volunteer and business uses. > > Charlotte Foust -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue Sep 27 14:14:58 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 27 Sep 2011 12:14:58 -0700 Subject: [AccessD] Calculating mileage In-Reply-To: References: <4E81B916.70601@colbyconsulting.com> <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> <4E81E8DB.2070508@colbyconsulting.com> <4E820EFC.1070903@colbyconsulting.com> Message-ID: 1) the dog knows if she ever wants to eat again... 2) how can I alter the books on the fly if they're in ink? I'm keeping the green eyeshade and the high stool, however. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 27, 2011 11:57 AM To: Access Developers discussion and problemsolving Subject: Re: [AccessD] Calculating mileage A couple of questions : What do you do if the dog eats your ledger? Shouldn't you use a quill and inkwell to prevent alteration of the records? Steve Goodhall, MSCS, PMP Sent from my Verizon Wireless Phone -----Original message----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Tue, Sep 27, 2011 18:49:18 GMT+00:00 Subject: Re: [AccessD] Calculating mileage The system is the solution not the software. I still keep the corporate records in pencil on a 13 column green sheet because it's effective, easy to add/change/delete, never have to worry about backups, etc. I could move to QuickBooks and spent 3x the time keeping the records. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 27, 2011 10:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calculating mileage Charlotte, I also have to say that it never occurred to me that on a programming group, a request for a vba function would be answered by "do it manually". ;) Disappointed I am. John W. Colby www.ColbyConsulting.com On 9/27/2011 1:32 PM, Charlotte Foust wrote: > John, > > You have a smartphone, right? There's an android app called Mileage > Tracker, from Frank Android Software, that lets you do this on you > smartphone and export a mileage report to CSV format that can be > opened in Excel or whatever. I use it for hospice volunteer and > business uses. > > Charlotte Foust -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Sep 27 14:21:22 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Tue, 27 Sep 2011 12:21:22 -0700 Subject: [AccessD] Calculating mileage In-Reply-To: <4E820EFC.1070903@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com> <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> <4E81E8DB.2070508@colbyconsulting.com> <4E820EFC.1070903@colbyconsulting.com> Message-ID: Too bad, it is. :-> I fail to see how putting your mileage in is doing it manually. Unless you have a sensor in you automobile, you're putting something in somewhere. Charlotte Foust On Tue, Sep 27, 2011 at 10:59 AM, jwcolby wrote: > Charlotte, > > I also have to say that it never occurred to me that on a programming > group, a request for a vba function would be answered by "do it manually". > > ;) > > Disappointed I am. > > > John W. Colby > www.ColbyConsulting.com > > > > On 9/27/2011 1:32 PM, Charlotte Foust wrote: > >> John, >> >> You have a smartphone, right? There's an android app called Mileage >> Tracker, from Frank Android Software, that lets you do this on you >> smartphone and export a mileage report to CSV format that can be opened in >> Excel or whatever. I use it for hospice volunteer and business uses. >> >> 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 Tue Sep 27 14:51:06 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Sep 2011 15:51:06 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: References: <4E81B916.70601@colbyconsulting.com> <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> <4E81E8DB.2070508@colbyconsulting.com> <4E820EFC.1070903@colbyconsulting.com> Message-ID: <4E82292A.3000909@colbyconsulting.com> > I fail to see how putting your mileage in is doing it manually. It absolutely is doing it manually. I have to remember to take my phone (I have actually left it behind occasionally). I have to manually open the program and enter the odometer reading. I have to remember to enter it again when I get home. I have to manually pull it out of the phone into a spreadsheet, and then I have to design calculations to... All pretty much manual. >Unless you have a sensor in you automobile, you're putting something in somewhere. As I explained in the previous emails, there is a database where I build pass requests for checking inmates out of prison. The paperwork (the reason for the databases' existence) requires actual lines on a paper saying that I am taking inmate XYZ to this physical location (with street address) from date time ABC to (same) date (different) time DEF. So in order to check anyone out I have to fill out this paperwork which I do in a database, print out and fax to the prison. These database records record the physical locations (addresses), thus my original question about how to get the mileage from address X to address Y. I have a table with literally hundreds of records about picking guys up at the prison, taking them to a meeting at some address, then to eat at some other address. What is missing (but is easy to create programmatically) is my house to the prison and the prison back to my house. My vision is a small process that is run on my server which every day scans the pass request table for records not yet processed, and builds these mileage records in a mileage table. If this runs daily, then any database user (volunteer) can just run a report to display his mileage for a time period - last week, month or year. The report can list the trips and segments as a log for IRS documentation and multiply by 55c / mile (or whatever the current rate is) for entering into the correct tax form. For the average Joe (me) who does not employ a book keeper this seems infinitely preferable to any alternative I can think of. John W. Colby www.ColbyConsulting.com On 9/27/2011 3:21 PM, Charlotte Foust wrote: > Too bad, it is. :-> > > I fail to see how putting your mileage in is doing it manually. Unless > you have a sensor in you automobile, you're putting something in somewhere. > > Charlotte Foust > > On Tue, Sep 27, 2011 at 10:59 AM, jwcolbywrote: > >> Charlotte, >> >> I also have to say that it never occurred to me that on a programming >> group, a request for a vba function would be answered by "do it manually". >> >> ;) >> >> Disappointed I am. >> >> >> John W. Colby >> www.ColbyConsulting.com >> >> >> >> On 9/27/2011 1:32 PM, Charlotte Foust wrote: >> >>> John, >>> >>> You have a smartphone, right? There's an android app called Mileage >>> Tracker, from Frank Android Software, that lets you do this on you >>> smartphone and export a mileage report to CSV format that can be opened in >>> Excel or whatever. I use it for hospice volunteer and business uses. >>> >>> Charlotte Foust >>> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> >> >> Website: http://www.databaseadvisors.**com >> >> >> From darryl at whittleconsulting.com.au Tue Sep 27 18:17:40 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 28 Sep 2011 09:17:40 +1000 Subject: [AccessD] Calculating mileage In-Reply-To: <4E81B916.70601@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com> Message-ID: <000701cc7d6b$a78c1550$f6a43ff0$@com.au> I would have thought a standard GPS unit would do this for you pretty much automatically, although I have bugger all experience in this area. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, 27 September 2011 9:53 PM To: Access Developers discussion and problem solving Subject: [AccessD] Calculating mileage Before tax time I need to add a module to my inmate checkout to calculate mileage for all legs of a trip with the inmates. The database contains records of where we go - the midpoints points - with addresses, but the database does not have my start / end point (home). 1) Home to prison 2) Prison to first destination in the db 3) First destination to second destination (if any) 4) Second destination to third destination (if any) 5) Last destination to prison 6) Prison to home I thought I would try to use Microsoft Streets and trips to do the mapping, though I am open to using Google Maps if there is a programming interface available to the VBA language. I could of course manually enter the trips into Streets and trips, get the mileage and build a table of all the "legs" that I have ever done but that is error prone and forces me to do the whole thing manually. Also this is in use by other people so it would be nice to build a module that would also calculate their legs, which I certainly do not want to do myself manually. If for tax purposes I just assume that we always start from home and end at home I could use something like Streets and trips (which I have) to calculate all of these legs for each trip and place them in a table. At tax time I then have a mileage log for the IRS. I have never used Streets and Trips for this purpose. I do know that it has an API and VBA available for it. If anyone uses it for this purpose and has a library (or a function) written to do this that they would share that would be great. Or a web or help resource for this. Thanks, -- John W. Colby www.ColbyConsulting.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 Sep 27 21:35:31 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Sep 2011 22:35:31 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: <000701cc7d6b$a78c1550$f6a43ff0$@com.au> References: <4E81B916.70601@colbyconsulting.com> <000701cc7d6b$a78c1550$f6a43ff0$@com.au> Message-ID: <4E8287F3.2000201@colbyconsulting.com> > I would have thought a standard GPS unit would do this for you pretty much automatically Do what for me? A gps gets you from one place to another. I need code to calculate mileage between two points. I have a database of trips I have taken, hundreds of existing records. I need to calculate the mileage of those trips so that I can apply for a tax refund. Maybe I am missing something here. How is a a gps or a smart phone or a paper log going to help me get mileage calculations for existing and future data records in a database? John W. Colby www.ColbyConsulting.com On 9/27/2011 7:17 PM, Darryl Collins wrote: > I would have thought a standard GPS unit would do this for you pretty much > automatically, although I have bugger all experience in this area. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, 27 September 2011 9:53 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Calculating mileage > > Before tax time I need to add a module to my inmate checkout to calculate > mileage for all legs of a > trip with the inmates. The database contains records of where we go - the > midpoints points - with > addresses, but the database does not have my start / end point (home). > > 1) Home to prison > 2) Prison to first destination in the db > 3) First destination to second destination (if any) > 4) Second destination to third destination (if any) > 5) Last destination to prison > 6) Prison to home > > I thought I would try to use Microsoft Streets and trips to do the mapping, > though I am open to > using Google Maps if there is a programming interface available to the VBA > language. > > I could of course manually enter the trips into Streets and trips, get the > mileage and build a table > of all the "legs" that I have ever done but that is error prone and forces > me to do the whole thing > manually. Also this is in use by other people so it would be nice to build > a module that would also > calculate their legs, which I certainly do not want to do myself manually. > > If for tax purposes I just assume that we always start from home and end at > home I could use > something like Streets and trips (which I have) to calculate all of these > legs for each trip and > place them in a table. At tax time I then have a mileage log for the IRS. > > I have never used Streets and Trips for this purpose. I do know that it has > an API and VBA > available for it. If anyone uses it for this purpose and has a library (or > a function) written to > do this that they would share that would be great. Or a web or help > resource for this. > > Thanks, > From vbacreations at gmail.com Tue Sep 27 22:10:32 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Tue, 27 Sep 2011 23:10:32 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: References: <4E81B916.70601@colbyconsulting.com> <4E81BEB4.23863.20B53A7C@stuart.lexacorp.com.pg> <4E81C671.7030707@colbyconsulting.com> <4E81E8DB.2070508@colbyconsulting.com> <4E820EFC.1070903@colbyconsulting.com> Message-ID: <006201cc7d8c$2fab2320$8f016960$@gmail.com> It is only manually if there is a clutch. Paddle shifters don't count. :<) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, September 27, 2011 3:21 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calculating mileage Too bad, it is. :-> I fail to see how putting your mileage in is doing it manually. Unless you have a sensor in you automobile, you're putting something in somewhere. Charlotte Foust On Tue, Sep 27, 2011 at 10:59 AM, jwcolby wrote: > Charlotte, > > I also have to say that it never occurred to me that on a programming > group, a request for a vba function would be answered by "do it manually". > > ;) > > Disappointed I am. > > > John W. Colby > www.ColbyConsulting.com > > > > On 9/27/2011 1:32 PM, Charlotte Foust wrote: > >> John, >> >> You have a smartphone, right? There's an android app called Mileage >> Tracker, from Frank Android Software, that lets you do this on you >> smartphone and export a mileage report to CSV format that can be opened in >> Excel or whatever. I use it for hospice volunteer and business uses. >> >> Charlotte Foust >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/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 Sep 27 22:31:44 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 28 Sep 2011 13:31:44 +1000 Subject: [AccessD] Calculating mileage In-Reply-To: <4E8287F3.2000201@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com> <000701cc7d6b$a78c1550$f6a43ff0$@com.au> <4E8287F3.2000201@colbyconsulting.com> Message-ID: <002201cc7d8f$25cae130$7160a390$@com.au> Can't add much value to your historical data issue John, but for your future records, well I guess it depends on how much effort and money you want to put into this. There are 'turnkey' solutions already out there for exactly this sort of reporting. These folks will report on miles / kilometres travelled and way much more for about $40 a month. <> It actually looks like a bit of over engineering for what you are after, but the concept is exactly what I am talking about. Let the GPS record the mileage for you and just download it to you PC. You might find the service above is worth the $40 per month for your needs. Dunno. Anyway, that seems a lot easier than stuffing around with tracking online maps etc Although the cheapest and best solution I would have thought was the one already suggested. Use a smart phone app, or better still, an old fashion paper log book. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, 28 September 2011 12:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calculating mileage > I would have thought a standard GPS unit would do this for you pretty much automatically Do what for me? A gps gets you from one place to another. I need code to calculate mileage between two points. I have a database of trips I have taken, hundreds of existing records. I need to calculate the mileage of those trips so that I can apply for a tax refund. Maybe I am missing something here. How is a a gps or a smart phone or a paper log going to help me get mileage calculations for existing and future data records in a database? John W. Colby www.ColbyConsulting.com On 9/27/2011 7:17 PM, Darryl Collins wrote: > I would have thought a standard GPS unit would do this for you pretty much > automatically, although I have bugger all experience in this area. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, 27 September 2011 9:53 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Calculating mileage > > Before tax time I need to add a module to my inmate checkout to calculate > mileage for all legs of a > trip with the inmates. The database contains records of where we go - the > midpoints points - with > addresses, but the database does not have my start / end point (home). > > 1) Home to prison > 2) Prison to first destination in the db > 3) First destination to second destination (if any) > 4) Second destination to third destination (if any) > 5) Last destination to prison > 6) Prison to home > > I thought I would try to use Microsoft Streets and trips to do the mapping, > though I am open to > using Google Maps if there is a programming interface available to the VBA > language. > > I could of course manually enter the trips into Streets and trips, get the > mileage and build a table > of all the "legs" that I have ever done but that is error prone and forces > me to do the whole thing > manually. Also this is in use by other people so it would be nice to build > a module that would also > calculate their legs, which I certainly do not want to do myself manually. > > If for tax purposes I just assume that we always start from home and end at > home I could use > something like Streets and trips (which I have) to calculate all of these > legs for each trip and > place them in a table. At tax time I then have a mileage log for the IRS. > > I have never used Streets and Trips for this purpose. I do know that it has > an API and VBA > available for it. If anyone uses it for this purpose and has a library (or > a function) written to > do this that they would share that would be great. Or a web or help > resource for this. > > Thanks, > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Sep 28 06:08:03 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 28 Sep 2011 07:08:03 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: <002201cc7d8f$25cae130$7160a390$@com.au> References: <4E81B916.70601@colbyconsulting.com> <000701cc7d6b$a78c1550$f6a43ff0$@com.au> <4E8287F3.2000201@colbyconsulting.com> <002201cc7d8f$25cae130$7160a390$@com.au> Message-ID: <4E830013.2020403@colbyconsulting.com> But... I have database records already in a database. This is not about defining a solution for data that does not exist and I would otherwise have to enter. This is about defining a solution for data that I (and any other user) must enter into the database to use the inmate pass program. *It is already in the database* This is about building a small program to do these calculations about data that has and *is going to* accumulate in the course of doing business. It appears that I am not able to get across to this list the fact that the records already exist in a database. Forget that I am driving. *Just please forget that fact.* I never said anything about actually driving these miles, being in a car or anything else related to automobiles. Now... I have records in a database which have addresses in them. I need to calculate driving distances between those addresses. Pleeeeeeaaaaaaase, I do not want nor do I need anything related to logging miles driven in a car. I need a function which takes two addresses and hands back miles between those points, actual miles that would be driven. BUT I AM NOT DRIVING THOSE MILES. The records are somehow just magically (poof) appearing in a table! John W. Colby www.ColbyConsulting.com On 9/27/2011 11:31 PM, Darryl Collins wrote: > Can't add much value to your historical data issue John, but for your future > records, well I guess it depends on how much effort and money you want to > put into this. > > There are 'turnkey' solutions already out there for exactly this sort of > reporting. These folks will report on miles / kilometres travelled and way > much more for about $40 a month. > > <> > > It actually looks like a bit of over engineering for what you are after, but > the concept is exactly what I am talking about. Let the GPS record the > mileage for you and just download it to you PC. You might find the service > above is worth the $40 per month for your needs. Dunno. Anyway, that seems > a lot easier than stuffing around with tracking online maps etc > > Although the cheapest and best solution I would have thought was the one > already suggested. Use a smart phone app, or better still, an old fashion > paper log book. > > Cheers > Darryl > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Wednesday, 28 September 2011 12:36 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Calculating mileage > > > I would have thought a standard GPS unit would do this for you pretty > much automatically > > Do what for me? A gps gets you from one place to another. I need code to > calculate mileage between > two points. > > I have a database of trips I have taken, hundreds of existing records. I > need to calculate the > mileage of those trips so that I can apply for a tax refund. > > Maybe I am missing something here. How is a a gps or a smart phone or a > paper log going to help me > get mileage calculations for existing and future data records in a database? > > John W. Colby > www.ColbyConsulting.com > > On 9/27/2011 7:17 PM, Darryl Collins wrote: >> I would have thought a standard GPS unit would do this for you pretty much >> automatically, although I have bugger all experience in this area. >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Tuesday, 27 September 2011 9:53 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Calculating mileage >> >> Before tax time I need to add a module to my inmate checkout to calculate >> mileage for all legs of a >> trip with the inmates. The database contains records of where we go - the >> midpoints points - with >> addresses, but the database does not have my start / end point (home). >> >> 1) Home to prison >> 2) Prison to first destination in the db >> 3) First destination to second destination (if any) >> 4) Second destination to third destination (if any) >> 5) Last destination to prison >> 6) Prison to home >> >> I thought I would try to use Microsoft Streets and trips to do the > mapping, >> though I am open to >> using Google Maps if there is a programming interface available to the VBA >> language. >> >> I could of course manually enter the trips into Streets and trips, get the >> mileage and build a table >> of all the "legs" that I have ever done but that is error prone and forces >> me to do the whole thing >> manually. Also this is in use by other people so it would be nice to > build >> a module that would also >> calculate their legs, which I certainly do not want to do myself manually. >> >> If for tax purposes I just assume that we always start from home and end > at >> home I could use >> something like Streets and trips (which I have) to calculate all of these >> legs for each trip and >> place them in a table. At tax time I then have a mileage log for the IRS. >> >> I have never used Streets and Trips for this purpose. I do know that it > has >> an API and VBA >> available for it. If anyone uses it for this purpose and has a library > (or >> a function) written to >> do this that they would share that would be great. Or a web or help >> resource for this. >> >> Thanks, >> From mwp.reid at qub.ac.uk Wed Sep 28 06:13:05 2011 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 28 Sep 2011 12:13:05 +0100 Subject: [AccessD] Calculating mileage In-Reply-To: <4E830013.2020403@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com> <000701cc7d6b$a78c1550$f6a43ff0$@com.au> <4E8287F3.2000201@colbyconsulting.com> <002201cc7d8f$25cae130$7160a390$@com.au> <4E830013.2020403@colbyconsulting.com> Message-ID: <631CF83223105545BF43EFB52CB082956A300542A6@EX2K7-VIRT-2.ads.qub.ac.uk> John Just out of interest how do you work out the route to get the mileage? (I understand what you are doing by the way). I was thinking that they only may pay for the shortest route between A and B and C Martin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 28 September 2011 12:08 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calculating mileage But... I have database records already in a database. This is not about defining a solution for data that does not exist and I would otherwise have to enter. This is about defining a solution for data that I (and any other user) must enter into the database to use the inmate pass program. *It is already in the database* This is about building a small program to do these calculations about data that has and *is going to* accumulate in the course of doing business. It appears that I am not able to get across to this list the fact that the records already exist in a database. Forget that I am driving. *Just please forget that fact.* I never said anything about actually driving these miles, being in a car or anything else related to automobiles. Now... I have records in a database which have addresses in them. I need to calculate driving distances between those addresses. Pleeeeeeaaaaaaase, I do not want nor do I need anything related to logging miles driven in a car. I need a function which takes two addresses and hands back miles between those points, actual miles that would be driven. BUT I AM NOT DRIVING THOSE MILES. The records are somehow just magically (poof) appearing in a table! From jwcolby at colbyconsulting.com Wed Sep 28 06:47:00 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 28 Sep 2011 07:47:00 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: <631CF83223105545BF43EFB52CB082956A300542A6@EX2K7-VIRT-2.ads.qub.ac.uk> References: <4E81B916.70601@colbyconsulting.com> <000701cc7d6b$a78c1550$f6a43ff0$@com.au> <4E8287F3.2000201@colbyconsulting.com> <002201cc7d8f$25cae130$7160a390$@com.au> <4E830013.2020403@colbyconsulting.com> <631CF83223105545BF43EFB52CB082956A300542A6@EX2K7-VIRT-2.ads.qub.ac.uk> Message-ID: <4E830934.7010806@colbyconsulting.com> > Just out of interest how do you work out the route to get the mileage? I *thought* that was the precise question I asked in the first email of this thread. How *do* I do that? My thought was to use a mapping program such as MapPoint. MapPoint has VBA behind it and it has an API. AFAICT MapPoint and other such programs already pretty much calculate shortest distance. That is actually good enough and in fact what I want. I pretty much don't care, not do I have any clue what actual route was driven. If the user wanted to take the inmate on a tour of another city while driving them from point a to point be, that is not my concern. What I actually need is "what would a map program say was the route and what was that distance". If I don't have an actual log (and I don't!!! and I CAN'T!!!) then this is what the IRS will want for documentation. John W. Colby www.ColbyConsulting.com On 9/28/2011 7:13 AM, Martin Reid wrote: > John > > Just out of interest how do you work out the route to get the mileage? (I understand what you are doing by the way). I was thinking that they only may pay for the shortest route between A and B and C > > Martin > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 28 September 2011 12:08 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Calculating mileage > > But... I have database records already in a database. This is not about defining a solution for data that does not exist and I would otherwise have to enter. This is about defining a solution for data that I (and any other user) must enter into the database to use the inmate pass program. > > *It is already in the database* > > This is about building a small program to do these calculations about data that has and *is going > to* accumulate in the course of doing business. > > It appears that I am not able to get across to this list the fact that the records already exist in a database. > > Forget that I am driving. *Just please forget that fact.* I never said anything about actually > driving these miles, being in a car or anything else related to automobiles. > > Now... > > I have records in a database which have addresses in them. I need to calculate driving distances between those addresses. > > Pleeeeeeaaaaaaase, I do not want nor do I need anything related to logging miles driven in a car. > > I need a function which takes two addresses and hands back miles between those points, actual miles that would be driven. > > BUT I AM NOT DRIVING THOSE MILES. The records are somehow just magically (poof) appearing in a table! > From stuart at lexacorp.com.pg Wed Sep 28 06:58:18 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 28 Sep 2011 21:58:18 +1000 Subject: [AccessD] Calculating mileage In-Reply-To: <4E830013.2020403@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com>, <002201cc7d8f$25cae130$7160a390$@com.au>, <4E830013.2020403@colbyconsulting.com> Message-ID: <4E830BDA.13417.25CA9EA5@stuart.lexacorp.com.pg> You could possible build a website scaper function to use this: http://www.randmcnally.com/mileage-calculator.do On 28 Sep 2011 at 7:08, jwcolby wrote: > But... I have database records already in a database. This is not > about defining a solution for data that does not exist and I would > otherwise have to enter. This is about defining a solution for data > that I (and any other user) must enter into the database to use the > inmate pass program. > > *It is already in the database* > > This is about building a small program to do these calculations about > data that has and *is going to* accumulate in the course of doing > business. > > It appears that I am not able to get across to this list the fact that > the records already exist in a database. > > Forget that I am driving. *Just please forget that fact.* I never > said anything about actually driving these miles, being in a car or > anything else related to automobiles. > > Now... > > I have records in a database which have addresses in them. I need to > calculate driving distances between those addresses. > > Pleeeeeeaaaaaaase, I do not want nor do I need anything related to > logging miles driven in a car. > > I need a function which takes two addresses and hands back miles > between those points, actual miles that would be driven. > > BUT I AM NOT DRIVING THOSE MILES. The records are somehow just > magically (poof) appearing in a table! > > John W. Colby > www.ColbyConsulting.com > > On 9/27/2011 11:31 PM, Darryl Collins wrote: > > Can't add much value to your historical data issue John, but for > > your future records, well I guess it depends on how much effort and > > money you want to put into this. > > > > There are 'turnkey' solutions already out there for exactly this > > sort of reporting. These folks will report on miles / kilometres > > travelled and way much more for about $40 a month. > > > > <> > > > > It actually looks like a bit of over engineering for what you are > > after, but the concept is exactly what I am talking about. Let the > > GPS record the mileage for you and just download it to you PC. You > > might find the service above is worth the $40 per month for your > > needs. Dunno. Anyway, that seems a lot easier than stuffing around > > with tracking online maps etc > > > > Although the cheapest and best solution I would have thought was the > > one already suggested. Use a smart phone app, or better still, an > > old fashion paper log book. > > > > Cheers > > Darryl > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > > Sent: Wednesday, 28 September 2011 12:36 PM To: Access Developers > > discussion and problem solving Subject: Re: [AccessD] Calculating > > mileage > > > > > I would have thought a standard GPS unit would do this for you > > > pretty > > much automatically > > > > Do what for me? A gps gets you from one place to another. I need > > code to calculate mileage between two points. > > > > I have a database of trips I have taken, hundreds of existing > > records. I need to calculate the mileage of those trips so that I > > can apply for a tax refund. > > > > Maybe I am missing something here. How is a a gps or a smart phone > > or a paper log going to help me get mileage calculations for > > existing and future data records in a database? > > > > John W. Colby > > www.ColbyConsulting.com > > > > On 9/27/2011 7:17 PM, Darryl Collins wrote: > >> I would have thought a standard GPS unit would do this for you > >> pretty much automatically, although I have bugger all experience in > >> this area. > >> > >> > >> > >> -----Original Message----- > >> From: accessd-bounces at databaseadvisors.com > >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > >> Sent: Tuesday, 27 September 2011 9:53 PM To: Access Developers > >> discussion and problem solving Subject: [AccessD] Calculating > >> mileage > >> > >> Before tax time I need to add a module to my inmate checkout to > >> calculate mileage for all legs of a trip with the inmates. The > >> database contains records of where we go - the midpoints points - > >> with addresses, but the database does not have my start / end point > >> (home). > >> > >> 1) Home to prison > >> 2) Prison to first destination in the db > >> 3) First destination to second destination (if any) > >> 4) Second destination to third destination (if any) > >> 5) Last destination to prison > >> 6) Prison to home > >> > >> I thought I would try to use Microsoft Streets and trips to do the > > mapping, > >> though I am open to > >> using Google Maps if there is a programming interface available to > >> the VBA language. > >> > >> I could of course manually enter the trips into Streets and trips, > >> get the mileage and build a table of all the "legs" that I have > >> ever done but that is error prone and forces me to do the whole > >> thing manually. Also this is in use by other people so it would be > >> nice to > > build > >> a module that would also > >> calculate their legs, which I certainly do not want to do myself > >> manually. > >> > >> If for tax purposes I just assume that we always start from home > >> and end > > at > >> home I could use > >> something like Streets and trips (which I have) to calculate all of > >> these legs for each trip and place them in a table. At tax time I > >> then have a mileage log for the IRS. > >> > >> I have never used Streets and Trips for this purpose. I do know > >> that it > > has > >> an API and VBA > >> available for it. If anyone uses it for this purpose and has a > >> library > > (or > >> a function) written to > >> do this that they would share that would be great. Or a web or > >> help resource for this. > >> > >> Thanks, > >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From paul.hartland at googlemail.com Wed Sep 28 06:58:50 2011 From: paul.hartland at googlemail.com (Paul Hartland) Date: Wed, 28 Sep 2011 12:58:50 +0100 Subject: [AccessD] Calculating mileage In-Reply-To: <4E830934.7010806@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com> <000701cc7d6b$a78c1550$f6a43ff0$@com.au> <4E8287F3.2000201@colbyconsulting.com> <002201cc7d8f$25cae130$7160a390$@com.au> <4E830013.2020403@colbyconsulting.com> <631CF83223105545BF43EFB52CB082956A300542A6@EX2K7-VIRT-2.ads.qub.ac.uk> <4E830934.7010806@colbyconsulting.com> Message-ID: John, I have previously used MapPoint to do this using VB6, I had a matrix table of postcode sectors and calculated the shortest driving distance using that. However took quite a while as there were a few hundred thousand, and couldn't get the code to calculate any quicker than about 2 seconds per record. However our old web developer (since left the company), wrote a PHP page that interfaced with Google and this was much quicker, however I do not know how he referenced Google etc. Paul On 28 September 2011 12:47, jwcolby wrote: > > Just out of interest how do you work out the route to get the mileage? > > I *thought* that was the precise question I asked in the first email of > this thread. How *do* I do that? > > My thought was to use a mapping program such as MapPoint. MapPoint has VBA > behind it and it has an API. > > AFAICT MapPoint and other such programs already pretty much calculate > shortest distance. That is actually good enough and in fact what I want. I > pretty much don't care, not do I have any clue what actual route was driven. > If the user wanted to take the inmate on a tour of another city while > driving them from point a to point be, that is not my concern. What I > actually need is "what would a map program say was the route and what was > that distance". > > If I don't have an actual log (and I don't!!! and I CAN'T!!!) then this is > what the IRS will want for documentation. > > John W. Colby > www.ColbyConsulting.com > > On 9/28/2011 7:13 AM, Martin Reid wrote: > >> John >> >> Just out of interest how do you work out the route to get the mileage? (I >> understand what you are doing by the way). I was thinking that they only may >> pay for the shortest route between A and B and C >> >> Martin >> >> >> >> -----Original Message----- >> From: accessd-bounces@**databaseadvisors.com[mailto: >> accessd-bounces@**databaseadvisors.com] >> On Behalf Of jwcolby >> Sent: 28 September 2011 12:08 >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Calculating mileage >> >> But... I have database records already in a database. This is not about >> defining a solution for data that does not exist and I would otherwise have >> to enter. This is about defining a solution for data that I (and any other >> user) must enter into the database to use the inmate pass program. >> >> *It is already in the database* >> >> This is about building a small program to do these calculations about data >> that has and *is going >> to* accumulate in the course of doing business. >> >> It appears that I am not able to get across to this list the fact that the >> records already exist in a database. >> >> Forget that I am driving. *Just please forget that fact.* I never said >> anything about actually >> driving these miles, being in a car or anything else related to >> automobiles. >> >> Now... >> >> I have records in a database which have addresses in them. I need to >> calculate driving distances between those addresses. >> >> Pleeeeeeaaaaaaase, I do not want nor do I need anything related to logging >> miles driven in a car. >> >> I need a function which takes two addresses and hands back miles between >> those points, actual miles that would be driven. >> >> BUT I AM NOT DRIVING THOSE MILES. The records are somehow just magically >> (poof) appearing in a table! >> >> -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > -- Paul Hartland paul.hartland at googlemail.com From jimdettman at verizon.net Wed Sep 28 07:38:35 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 28 Sep 2011 08:38:35 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: <4E81B916.70601@colbyconsulting.com> References: <4E81B916.70601@colbyconsulting.com> Message-ID: <53BF52EE670C49BD9C9DA549E56D5CC0@XPS> John, Check out the following two links: http://rdsrc.us/7mwAve This has a solution from Helen Feddema, which places a Google Map in a web browser control and allow you to get the route and mileage between zips. This is not exactly what you want, but it shows you the basic technique of formatting a URL for Google Maps. http://rdsrc.us/XqHekz This second one is a lot closer to what you want, but it was done in an Excel spreadsheet. Still VBA code though and you should be able to drop it into Access except for the cell references. Scroll to the bottom and about four comments back. Look for the one from Patrick with the download web-Google-maps-distances-10-2-.xls. He notes that this is for distance between zips, but that an address in the to/from column would work as well, so that should suite your purposes. There may be a solution that's dead on, but I don't have the time to search at the moment. Between the two above, you should be able to figure it out fast enough. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 27, 2011 07:53 AM To: Access Developers discussion and problem solving Subject: [AccessD] Calculating mileage Before tax time I need to add a module to my inmate checkout to calculate mileage for all legs of a trip with the inmates. The database contains records of where we go - the midpoints points - with addresses, but the database does not have my start / end point (home). 1) Home to prison 2) Prison to first destination in the db 3) First destination to second destination (if any) 4) Second destination to third destination (if any) 5) Last destination to prison 6) Prison to home I thought I would try to use Microsoft Streets and trips to do the mapping, though I am open to using Google Maps if there is a programming interface available to the VBA language. I could of course manually enter the trips into Streets and trips, get the mileage and build a table of all the "legs" that I have ever done but that is error prone and forces me to do the whole thing manually. Also this is in use by other people so it would be nice to build a module that would also calculate their legs, which I certainly do not want to do myself manually. If for tax purposes I just assume that we always start from home and end at home I could use something like Streets and trips (which I have) to calculate all of these legs for each trip and place them in a table. At tax time I then have a mileage log for the IRS. I have never used Streets and Trips for this purpose. I do know that it has an API and VBA available for it. If anyone uses it for this purpose and has a library (or a function) written to do this that they would share that would be great. Or a web or help resource for this. Thanks, -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Wed Sep 28 08:37:57 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Wed, 28 Sep 2011 09:37:57 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: <53BF52EE670C49BD9C9DA549E56D5CC0@XPS> References: <4E81B916.70601@colbyconsulting.com> <53BF52EE670C49BD9C9DA549E56D5CC0@XPS> Message-ID: <000e01cc7de3$d610dfa0$82329ee0$@gmail.com> I would contact a company like Transfinder.com and ask them how they do it. They plan bus routes. I know they use a lot of stuff besides shortest possible route, but I am sure that is their starting point. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, September 28, 2011 8:39 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Calculating mileage John, Check out the following two links: http://rdsrc.us/7mwAve This has a solution from Helen Feddema, which places a Google Map in a web browser control and allow you to get the route and mileage between zips. This is not exactly what you want, but it shows you the basic technique of formatting a URL for Google Maps. http://rdsrc.us/XqHekz This second one is a lot closer to what you want, but it was done in an Excel spreadsheet. Still VBA code though and you should be able to drop it into Access except for the cell references. Scroll to the bottom and about four comments back. Look for the one from Patrick with the download web-Google-maps-distances-10-2-.xls. He notes that this is for distance between zips, but that an address in the to/from column would work as well, so that should suite your purposes. There may be a solution that's dead on, but I don't have the time to search at the moment. Between the two above, you should be able to figure it out fast enough. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, September 27, 2011 07:53 AM To: Access Developers discussion and problem solving Subject: [AccessD] Calculating mileage Before tax time I need to add a module to my inmate checkout to calculate mileage for all legs of a trip with the inmates. The database contains records of where we go - the midpoints points - with addresses, but the database does not have my start / end point (home). 1) Home to prison 2) Prison to first destination in the db 3) First destination to second destination (if any) 4) Second destination to third destination (if any) 5) Last destination to prison 6) Prison to home I thought I would try to use Microsoft Streets and trips to do the mapping, though I am open to using Google Maps if there is a programming interface available to the VBA language. I could of course manually enter the trips into Streets and trips, get the mileage and build a table of all the "legs" that I have ever done but that is error prone and forces me to do the whole thing manually. Also this is in use by other people so it would be nice to build a module that would also calculate their legs, which I certainly do not want to do myself manually. If for tax purposes I just assume that we always start from home and end at home I could use something like Streets and trips (which I have) to calculate all of these legs for each trip and place them in a table. At tax time I then have a mileage log for the IRS. I have never used Streets and Trips for this purpose. I do know that it has an API and VBA available for it. If anyone uses it for this purpose and has a library (or a function) written to do this that they would share that would be great. Or a web or help resource for this. Thanks, -- John W. Colby www.ColbyConsulting.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 Wed Sep 28 08:42:27 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 28 Sep 2011 09:42:27 -0400 Subject: [AccessD] Calculating mileage In-Reply-To: <53BF52EE670C49BD9C9DA549E56D5CC0@XPS> References: <4E81B916.70601@colbyconsulting.com> <53BF52EE670C49BD9C9DA549E56D5CC0@XPS> Message-ID: <4E832443.6000300@colbyconsulting.com> Thanks Jim. John W. Colby www.ColbyConsulting.com On 9/28/2011 8:38 AM, Jim Dettman wrote: > John, > > Check out the following two links: > > http://rdsrc.us/7mwAve > > This has a solution from Helen Feddema, which places a Google Map in a web > browser control and allow you to get the route and mileage between zips. > This is not exactly what you want, but it shows you the basic technique of > formatting a URL for Google Maps. > > http://rdsrc.us/XqHekz > > This second one is a lot closer to what you want, but it was done in an > Excel spreadsheet. Still VBA code though and you should be able to drop it > into Access except for the cell references. Scroll to the bottom and about > four comments back. Look for the one from Patrick with the download > web-Google-maps-distances-10-2-.xls. > > He notes that this is for distance between zips, but that an address in > the to/from column would work as well, so that should suite your purposes. > > There may be a solution that's dead on, but I don't have the time to > search at the moment. Between the two above, you should be able to figure > it out fast enough. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, September 27, 2011 07:53 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Calculating mileage > > Before tax time I need to add a module to my inmate checkout to calculate > mileage for all legs of a > trip with the inmates. The database contains records of where we go - the > midpoints points - with > addresses, but the database does not have my start / end point (home). > > 1) Home to prison > 2) Prison to first destination in the db > 3) First destination to second destination (if any) > 4) Second destination to third destination (if any) > 5) Last destination to prison > 6) Prison to home > > I thought I would try to use Microsoft Streets and trips to do the mapping, > though I am open to > using Google Maps if there is a programming interface available to the VBA > language. > > I could of course manually enter the trips into Streets and trips, get the > mileage and build a table > of all the "legs" that I have ever done but that is error prone and forces > me to do the whole thing > manually. Also this is in use by other people so it would be nice to build > a module that would also > calculate their legs, which I certainly do not want to do myself manually. > > If for tax purposes I just assume that we always start from home and end at > home I could use > something like Streets and trips (which I have) to calculate all of these > legs for each trip and > place them in a table. At tax time I then have a mileage log for the IRS. > > I have never used Streets and Trips for this purpose. I do know that it has > an API and VBA > available for it. If anyone uses it for this purpose and has a library (or > a function) written to > do this that they would share that would be great. Or a web or help > resource for this. > > Thanks, > From rockysmolin at bchacc.com Fri Sep 30 08:25:04 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 30 Sep 2011 06:25:04 -0700 Subject: [AccessD] OT Friday - Calculus Problem Message-ID: Dear Lists: My son has a calc test today and has a problem he doesn't understand. I can't help him with it. Anyone remember how to do this? Position function is s(t) = -4.9t**2 +200 which gives the height in meters of an object that is falling from a height of 200 meters. The velocity at time t = as seconds is given by: lim(t-->a) = ((s(a)-s(t)) / (a-t) FInd the velocity of the object when t=4. The answer in -39.2 m/sec. How is that derived? MTIA Rocky From dbdoug at gmail.com Fri Sep 30 11:28:59 2011 From: dbdoug at gmail.com (Doug Steele) Date: Fri, 30 Sep 2011 09:28:59 -0700 Subject: [AccessD] OT Friday - Calculus Problem In-Reply-To: References: Message-ID: I can do it but I can't explain it well :) if the position function is s(t) = -4.9t**2 + 200 then the function for the change of position in time (the velocity) is the derivative of the first function (notice the apostrophe after the s). s'(t) = -4.9 * 2 * t solving for t= 4 gives you -39.2 Funny what you remember from high school! Yes, I took calculus in high school. Newtonian calculus, at that, so I found university calculus a total mind fzck. Doug On Fri, Sep 30, 2011 at 6:25 AM, Rocky Smolin wrote: > Dear Lists: > > My son has a calc test today and has a problem he doesn't understand. I > can't help him with it. Anyone remember how to do this? > > Position function is s(t) = -4.9t**2 +200 > > which gives the height in meters of an object that is falling from a height > of 200 meters. The velocity at time t = as seconds is given by: > > lim(t-->a) = ((s(a)-s(t)) / (a-t) > > FInd the velocity of the object when t=4. The answer in -39.2 m/sec. How > is > that derived? > > MTIA > > Rocky > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Fri Sep 30 11:46:21 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 30 Sep 2011 09:46:21 -0700 Subject: [AccessD] OT Friday - Calculus Problem In-Reply-To: References: Message-ID: <3852DFA8DBFC4E298275BB740F9B70DF@HAL9007> Thanks Doug. I'll forward to him at school, maybe he'll get it off his phone. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Friday, September 30, 2011 9:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Friday - Calculus Problem I can do it but I can't explain it well :) if the position function is s(t) = -4.9t**2 + 200 then the function for the change of position in time (the velocity) is the derivative of the first function (notice the apostrophe after the s). s'(t) = -4.9 * 2 * t solving for t= 4 gives you -39.2 Funny what you remember from high school! Yes, I took calculus in high school. Newtonian calculus, at that, so I found university calculus a total mind fzck. Doug On Fri, Sep 30, 2011 at 6:25 AM, Rocky Smolin wrote: > Dear Lists: > > My son has a calc test today and has a problem he doesn't understand. > I can't help him with it. Anyone remember how to do this? > > Position function is s(t) = -4.9t**2 +200 > > which gives the height in meters of an object that is falling from a > height of 200 meters. The velocity at time t = as seconds is given by: > > lim(t-->a) = ((s(a)-s(t)) / (a-t) > > FInd the velocity of the object when t=4. The answer in -39.2 m/sec. > How is that derived? > > MTIA > > Rocky > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Sep 30 16:58:31 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 30 Sep 2011 17:58:31 -0400 Subject: [AccessD] Geek to Live: Secure your saved passwords in Firefox Message-ID: <4E863B87.4080302@colbyconsulting.com> http://lifehacker.com/154099/geek-to-live--secure-your-saved-passwords-in-firefox jwcolby From fuller.artful at gmail.com Fri Sep 30 20:14:53 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 30 Sep 2011 21:14:53 -0400 Subject: [AccessD] OT Friday - Calculus Problem In-Reply-To: References: Message-ID: I am just about to turn 64yo, and suddenly all this stuff is interesting to me. Perhaps this might be characterized as some new disease, in which case I might be able to bill the government for treatments, or at least some academic attention LOL. I follow your thread and approve same. On Fri, Sep 30, 2011 at 12:28 PM, Doug Steele wrote: > I can do it but I can't explain it well :) > > if the position function is s(t) = -4.9t**2 + 200 > > then the function for the change of position in time (the velocity) is the > derivative of the first function (notice the apostrophe after the s). > > s'(t) = -4.9 * 2 * t > > solving for t= 4 gives you -39.2 > >