From jwcolby at colbyconsulting.com Thu Nov 1 06:47:22 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 1 Nov 2007 07:47:22 -0400 Subject: [AccessD] A2K and Office 2003 In-Reply-To: <00eb01c81c09$29e5f980$6501a8c0@jefferson> References: <00eb01c81c09$29e5f980$6501a8c0@jefferson> Message-ID: <002c01c81c7c$f7e854e0$647aa8c0@M90> Jennifer, That is fascinating because I have a client with the same issue. Outlook only upgraded to 2003, the rest left at 2000, can't export to Excel. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jennifer Gross Sent: Wednesday, October 31, 2007 5:58 PM To: AccessD List Subject: [AccessD] A2K and Office 2003 Happy Halloween Everyone, I have a client that for reasons relating to Outlook has updated their systems to Office 2003, without Access 2003, while leaving Access 2000 so that my databases can run. I don't want to move the databases to Access 2003 because they are running fine in A2K and have been for years. However, they are running into some bumps in the road, particularly with exporting to Excel using Tools > Office Links. If anybody has an tips regarding the co-existence of Office 2003 with Access 2000 I would greatly appreciate it. Thank you, Jennifer Gross databasics Newbury Park, CA office: (805) 480-1921 fax: (805) 499-0467 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Nov 1 07:43:54 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 1 Nov 2007 08:43:54 -0400 Subject: [AccessD] Office 2007 Ribbon Bars Message-ID: <003701c81c84$dda41d00$647aa8c0@M90> I haven't been following the subject, and I am wondering if anyone has discovered a workaround to get rid of the new ribbon bars and get back the standard office menus that look and feel like 2003? I have a couple of customers with databases designed (crammed into) an 800x600 format back when the average monitor was a 14". Even though they purchased newer 17" monitors all the users are griping so bad about 1024 x 768 that the owners are caving in and staying at 800x600. Thus there is NO room for the newfangled toolbars. If they are going to upgrade they will have to keep the old menus or at least turn off the ribbon bars. I can do custom menus if those are still available, but the ribbon bars have to go. John W. Colby Colby Consulting www.ColbyConsulting.com From fuller.artful at gmail.com Thu Nov 1 07:56:28 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 1 Nov 2007 08:56:28 -0400 Subject: [AccessD] Office 2007 Ribbon Bars In-Reply-To: <003701c81c84$dda41d00$647aa8c0@M90> References: <003701c81c84$dda41d00$647aa8c0@M90> Message-ID: <29f585dd0711010556q279b56f1ha7ae175d4568ab33@mail.gmail.com> There is a commercial add-in that restores the old look. http://www.addintools.com/english/menuoffice/?gclid=CODuvoDZu48CFQ6CPAodl268cg . This reminds me of the petroleum companies. First they charge you to put lead into gasoline, then they charge you to take it out. A. On 11/1/07, jwcolby wrote: > > I haven't been following the subject, and I am wondering if anyone has > discovered a workaround to get rid of the new ribbon bars and get back the > standard office menus that look and feel like 2003? I have a couple of > customers with databases designed (crammed into) an 800x600 format back > when > the average monitor was a 14". Even though they purchased newer 17" > monitors all the users are griping so bad about 1024 x 768 that the owners > are caving in and staying at 800x600. Thus there is NO room for the > newfangled toolbars. If they are going to upgrade they will have to keep > the old menus or at least turn off the ribbon bars. I can do custom menus > if those are still available, but the ribbon bars have to go. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From max.wanadoo at gmail.com Thu Nov 1 08:10:43 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Thu, 1 Nov 2007 13:10:43 -0000 Subject: [AccessD] Office 2007 Ribbon Bars In-Reply-To: <29f585dd0711010556q279b56f1ha7ae175d4568ab33@mail.gmail.com> Message-ID: <007d01c81c88$9c7bfb00$8119fea9@LTVM> ...and then they charge double the total again if you live in the UK Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, November 01, 2007 12:56 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Office 2007 Ribbon Bars There is a commercial add-in that restores the old look. http://www.addintools.com/english/menuoffice/?gclid=CODuvoDZu48CFQ6CPAodl268 cg . This reminds me of the petroleum companies. First they charge you to put lead into gasoline, then they charge you to take it out. A. On 11/1/07, jwcolby wrote: > > I haven't been following the subject, and I am wondering if anyone has > discovered a workaround to get rid of the new ribbon bars and get back > the standard office menus that look and feel like 2003? I have a > couple of customers with databases designed (crammed into) an 800x600 > format back when the average monitor was a 14". Even though they > purchased newer 17" > monitors all the users are griping so bad about 1024 x 768 that the > owners are caving in and staying at 800x600. Thus there is NO room > for the newfangled toolbars. If they are going to upgrade they will > have to keep the old menus or at least turn off the ribbon bars. I > can do custom menus if those are still available, but the ribbon bars have to go. > > John W. Colby > Colby Consulting > 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 Nov 1 08:24:45 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 1 Nov 2007 09:24:45 -0400 Subject: [AccessD] Office 2007 Ribbon Bars In-Reply-To: <29f585dd0711010556q279b56f1ha7ae175d4568ab33@mail.gmail.com> References: <003701c81c84$dda41d00$647aa8c0@M90> <29f585dd0711010556q279b56f1ha7ae175d4568ab33@mail.gmail.com> Message-ID: <004301c81c8a$92240d80$647aa8c0@M90> Yes, I found that. Notice that the product for each office application is a separate package and costs $16 (per user I assume?). In the end all I care about is Access but still... John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, November 01, 2007 8:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Office 2007 Ribbon Bars There is a commercial add-in that restores the old look. http://www.addintools.com/english/menuoffice/?gclid=CODuvoDZu48CFQ6CPAodl268 cg . This reminds me of the petroleum companies. First they charge you to put lead into gasoline, then they charge you to take it out. A. On 11/1/07, jwcolby wrote: > > I haven't been following the subject, and I am wondering if anyone has > discovered a workaround to get rid of the new ribbon bars and get back > the standard office menus that look and feel like 2003? I have a > couple of customers with databases designed (crammed into) an 800x600 > format back when the average monitor was a 14". Even though they > purchased newer 17" > monitors all the users are griping so bad about 1024 x 768 that the > owners are caving in and staying at 800x600. Thus there is NO room > for the newfangled toolbars. If they are going to upgrade they will > have to keep the old menus or at least turn off the ribbon bars. I > can do custom menus if those are still available, but the ribbon bars have to go. > > John W. Colby > Colby Consulting > 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 john at winhaven.net Thu Nov 1 09:17:34 2007 From: john at winhaven.net (John Bartow) Date: Thu, 1 Nov 2007 09:17:34 -0500 Subject: [AccessD] A2K and Office 2003 In-Reply-To: <002c01c81c7c$f7e854e0$647aa8c0@M90> References: <00eb01c81c09$29e5f980$6501a8c0@jefferson> <002c01c81c7c$f7e854e0$647aa8c0@M90> Message-ID: <005701c81c91$f2ad52e0$6402a8c0@ScuzzPaq> I had never tried this while I had all versions of office installed and unfortunately I uninstalled all O2k apps a couple of months ago. Could this be due to the Office tools installed during the upgrade to Outlook 2003? I'll have to look through all my PCs and see if there is one with only O2k left on it. - I think I have a win2k PC like that. If no one else has this setup, I'll upgrade it to Outlook 2003 and see what happens. Fun stuff, eh? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby That is fascinating because I have a client with the same issue. Outlook only upgraded to 2003, the rest left at 2000, can't export to Excel. -----Original Message----- From: accessd-bounces at databaseadvisors.com If anybody has an tips regarding the co-existence of Office 2003 with Access 2000 I would greatly appreciate it. From bill_patten at embarqmail.com Thu Nov 1 10:13:41 2007 From: bill_patten at embarqmail.com (Bill Patten) Date: Thu, 1 Nov 2007 08:13:41 -0700 Subject: [AccessD] Office 2007 Ribbon Bars In-Reply-To: <003701c81c84$dda41d00$647aa8c0@M90> References: <003701c81c84$dda41d00$647aa8c0@M90> Message-ID: <30988884F445408690F38E55F7D99BA1@BPCS> This site has several suggestions on the ribbon. I normally turn off Access menus and use my own, and used the "Want my databse created in A2003 do display my own menubar only" from URL below. http://www.accessribbon.de/en/index.php?FAQ#VerweisError I added notes that may or may not be useful but include them anyway. >From my personal Tech-Tips. NOTE: does not remove ribbon the first time, must close and reopen??? 5/07 (Not needed on mine because done in open routine) Remove the tick from: A2003: "Tools" / "Startup" / "Allow Build-in Toolbars" Select your menubar from the drop-down "Menu Bar" Click on main menu, then select Access Options at the bottom Then current database and scroll to the Ribbon and tool Options A2007: "Office Button" / Button "Access Options" / "Current Database" / "Ribbon and Toolbar Options" / "Allow Build-in Toolbars" Select your menubar from the drop-down "Menu Bar". Unclick allow built-in toolbars Click Allow full Menus and allow Default Shortcut Menus Note I can set the CurrentProject.Properties.Add "AllowBuiltinToolbars", True to false Key Words Remove Ribbon from 2007 ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Thursday, November 01, 2007 5:43 AM Subject: [AccessD] Office 2007 Ribbon Bars I haven't been following the subject, and I am wondering if anyone has discovered a workaround to get rid of the new ribbon bars and get back the standard office menus that look and feel like 2003? I have a couple of customers with databases designed (crammed into) an 800x600 format back when the average monitor was a 14". Even though they purchased newer 17" monitors all the users are griping so bad about 1024 x 768 that the owners are caving in and staying at 800x600. Thus there is NO room for the newfangled toolbars. If they are going to upgrade they will have to keep the old menus or at least turn off the ribbon bars. I can do custom menus if those are still available, but the ribbon bars have to go. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheygood at abestsystems.com Thu Nov 1 11:28:03 2007 From: bheygood at abestsystems.com (Bob Heygood) Date: Thu, 1 Nov 2007 09:28:03 -0700 Subject: [AccessD] Counting Co IDs In-Reply-To: <200711010201.lA121Ea9026644@databaseadvisors.com> References: <054781CF8ED948F797CE5E75B02C58E0@creativesystemdesigns.com> <200711010201.lA121Ea9026644@databaseadvisors.com> Message-ID: <005d01c81ca4$2feffb50$800101df@speedy> Hello to the list, I have a table which contains records each of which have a CoID (Company ID), a JID (Job ID) and some responses to questions; some Boolean and some currency. It is a requirement for me to create a query for a report. A problem I have run into is I need to provide a count of companies that had a response to a question grouped by JID. Like: JID Question Num Companies Answer Responding 2 Q1Yes 3 2 Q1No 5 3 Q1Yes 9 3 Q1No 7 5 Q1Yes 31 5 Q1No 74 8 Q1Yes 3 8 Q1No 0 Seems like I could get this from some SQL Totals Statement/Query. From jimdettman at verizon.net Thu Nov 1 11:15:11 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 01 Nov 2007 12:15:11 -0400 Subject: [AccessD] Office 2007 Ribbon Bars In-Reply-To: <003701c81c84$dda41d00$647aa8c0@M90> References: <003701c81c84$dda41d00$647aa8c0@M90> Message-ID: <013c01c81ca2$6143eba0$8abea8c0@XPS> John, Got this, but I haven't tried it: For those of you who want to completely get rid of the ribbon--here are the steps: 1. Create a new table called USysRibbons. 2. Add two fields RibbonName (text) and RibbonXML (Memo). 3. Create a new record with the name "Blank" (doesn't really matter what you call it). Also add the following XML: 4. Restart your database. 5. Go into the Office Button | Access Options. Click on the Current Database. 6. In the Toolbars Option set the Custom Ribbon Id to Blank (name in step 3). 7. Restart the database. HTH, Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, November 01, 2007 8:44 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Office 2007 Ribbon Bars I haven't been following the subject, and I am wondering if anyone has discovered a workaround to get rid of the new ribbon bars and get back the standard office menus that look and feel like 2003? I have a couple of customers with databases designed (crammed into) an 800x600 format back when the average monitor was a 14". Even though they purchased newer 17" monitors all the users are griping so bad about 1024 x 768 that the owners are caving in and staying at 800x600. Thus there is NO room for the newfangled toolbars. If they are going to upgrade they will have to keep the old menus or at least turn off the ribbon bars. I can do custom menus if those are still available, but the ribbon bars have to go. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Thu Nov 1 11:46:53 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 1 Nov 2007 12:46:53 -0400 Subject: [AccessD] Counting Co IDs References: <054781CF8ED948F797CE5E75B02C58E0@creativesystemdesigns.com><200711010201.lA121Ea9026644@databaseadvisors.com> <005d01c81ca4$2feffb50$800101df@speedy> Message-ID: <00fa01c81ca6$d0f364e0$4b3a8343@SusanOne> Have you tried a Totals view? Set JID to GROUP BY and use SUM on the columns you want to total. Susan H. > Hello to the list, > > I have a table which contains records each of which have a CoID (Company > ID), a JID (Job ID) and some responses to questions; some Boolean and some > currency. > It is a requirement for me to create a query for a report. > > A problem I have run into is I need to provide a count of companies that > had > a response to a question grouped by JID. Like: > > JID Question Num Companies > Answer Responding > > 2 Q1Yes 3 > 2 Q1No 5 > 3 Q1Yes 9 > 3 Q1No 7 > 5 Q1Yes 31 > 5 Q1No 74 > 8 Q1Yes 3 > 8 Q1No 0 > > > > Seems like I could get this from some SQL Totals Statement/Query. > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Nov 1 11:56:59 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 1 Nov 2007 09:56:59 -0700 Subject: [AccessD] Office 2007 Ribbon Bars In-Reply-To: <013c01c81ca2$6143eba0$8abea8c0@XPS> References: <003701c81c84$dda41d00$647aa8c0@M90> <013c01c81ca2$6143eba0$8abea8c0@XPS> Message-ID: Um ... Office/2006?? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, November 01, 2007 9:15 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office 2007 Ribbon Bars John, Got this, but I haven't tried it: For those of you who want to completely get rid of the ribbon--here are the steps: 1. Create a new table called USysRibbons. 2. Add two fields RibbonName (text) and RibbonXML (Memo). 3. Create a new record with the name "Blank" (doesn't really matter what you call it). Also add the following XML: 4. Restart your database. 5. Go into the Office Button | Access Options. Click on the Current Database. 6. In the Toolbars Option set the Custom Ribbon Id to Blank (name in step 3). 7. Restart the database. HTH, Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, November 01, 2007 8:44 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Office 2007 Ribbon Bars I haven't been following the subject, and I am wondering if anyone has discovered a workaround to get rid of the new ribbon bars and get back the standard office menus that look and feel like 2003? I have a couple of customers with databases designed (crammed into) an 800x600 format back when the average monitor was a 14". Even though they purchased newer 17" monitors all the users are griping so bad about 1024 x 768 that the owners are caving in and staying at 800x600. Thus there is NO room for the newfangled toolbars. If they are going to upgrade they will have to keep the old menus or at least turn off the ribbon bars. I can do custom menus if those are still available, but the ribbon bars have to go. John W. Colby Colby Consulting 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 Gustav at cactus.dk Thu Nov 1 12:15:06 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 01 Nov 2007 18:15:06 +0100 Subject: [AccessD] Office 2007 Ribbon Bars Message-ID: Hi Jim No cigar here. Neither with 2006 replaced with 2007. /gustav >>> jimdettman at verizon.net 01-11-2007 17:15:11 >>> John, Got this, but I haven't tried it: For those of you who want to completely get rid of the ribbon--here are the steps: 1. Create a new table called USysRibbons. 2. Add two fields RibbonName (text) and RibbonXML (Memo). 3. Create a new record with the name "Blank" (doesn't really matter what you call it). Also add the following XML: 4. Restart your database. 5. Go into the Office Button | Access Options. Click on the Current Database. 6. In the Toolbars Option set the Custom Ribbon Id to Blank (name in step 3). 7. Restart the database. HTH, Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, November 01, 2007 8:44 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Office 2007 Ribbon Bars I haven't been following the subject, and I am wondering if anyone has discovered a workaround to get rid of the new ribbon bars and get back the standard office menus that look and feel like 2003? I have a couple of customers with databases designed (crammed into) an 800x600 format back when the average monitor was a 14". Even though they purchased newer 17" monitors all the users are griping so bad about 1024 x 768 that the owners are caving in and staying at 800x600. Thus there is NO room for the newfangled toolbars. If they are going to upgrade they will have to keep the old menus or at least turn off the ribbon bars. I can do custom menus if those are still available, but the ribbon bars have to go. John W. Colby Colby Consulting www.ColbyConsulting.com From DWUTKA at Marlow.com Thu Nov 1 12:24:23 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 1 Nov 2007 12:24:23 -0500 Subject: [AccessD] The perfect combo! (A little OT) Message-ID: We recently bought a backup/restore system called Acronis. Great software package. (Bought a server with a few terabytes of drive space too). Anywho, Acronis has a rather unique restore process. With a Windows 9x system, you could take a hard drive out of one machine, and put it in another with completely different hardware, and after a gazillion 'found new hardware' prompts, you'd eventually load Windows again on the new machine. Windows NT and 2000 were no where near as friendly with new hardware. Acronis does a 'true image' restore, however, that lets you restore a system on a completely different machine. Pretty slick, and works about 95% of the time. Virtual PC has been mentioned on this list before too. It's a PC emulator. You can install all sorts of OSes on virtual hard drives (which are just files on your real hard drives, though you can setup a real hard drive as a 'virtual' hard drive in VPC). This post is about something I've been doing the last few weeks, which I think is just plain cool. If you use these two software packages, you can pretty easily create Virtual PCs from live machines. Two examples: Our Intranet died about a month ago. One of the hard drives crashed. It was in a RAID, but the only machine that had the same sized drives was my desktop. (80 gig SCSI drives). So we cannibalized my desktop to bring the Intranet back up. We then bought a new machine for the Intranet. (current machine was a glorified desktop, new machine an actual rack server). The old Intranet was Windows 2000 Server (on a PIII 1ghz processor with 768 megs of RAM, a mirrored OS volume, and a RAID 5 data volume), new machine Windows 2003 Server (a few gigs of ram, and I think a Xeon processor). Anywho, there's no easy way to 'move' an IIS 5.0 'web' to an IIS 6.0 web (though in IIS 6 you can now save a website to a file to restore...that's nice...now.). So I manually moved our Intranet to the new machine. Didn't mind doing it that way, since over the years, our Intranet has a lot of unused stuff on it, so I just moved what was being used...... But, now I want my hard drives back (especially since I talked my boss into letting me 'build' a new machine for my desktop). But I don't want to just scrap the old web. VPC and Acronis to the rescue. Ran Acronis to backup the Intranet's drives/system state. Created two VPC drives. Booted the VPC environment with an Acronis bootable CD, whalla, I now have our old Intranet server running in a virtual environment! Worked like a charm (though, admittedly, this particular restore was the first and only one that didn't boot right from the get go, had to do a Windows 2000 repair...thus the 95% comment). With this Virtual PC environment, I can do EVERYTHING I could do with the old system, hit it with Remote Administrator, hit the old Intranet with my web browser, computer management, hit the drives remotely, etc. It's just like the old Intranet is still there, but in reality, it's running in a VPC environment on my 'newly rebuilt' desktop. The second example is with Goldmine (a contact/customer management) software package. We bought a new version about 3 years ago (which means it's an older version now). Our account managers are still not using it, and one of their claims is that all their contacts are in Outlook. So I spent a week or two combining everyone's Outlook contacts (lots of fun), and now I want to import it into Goldmine. But who wants to do a huge data import on a live system? Sure, it's SQL Server based, so I could back it up, do the import, and restore it if something goofs...but all of that could be down time for a live system. (In this particular case, I don't think anyone is using it, but that's besides the point). Once again, VPC and Acronis to the rescue. Did a backup of the live Goldmine server. Created a VPC environment and restored Goldmine too it. This one was a little trickier from a setup standpoint. With the Intranet situation, the new server was MINET2003, and the old server was MINET. When I had moved everything over, we renamed the old machine MinetOLD, and the new machine to MINET. So when I created the virtual environment, I just took the physical minetOld offline. But with Goldmine, I wanted to created a 'duplicate' server. Can't have two machines with the same name on the same domain. So, to accomplish this, I 'disabled' the network card of the virtual goldmine, switched it to a workgroup (to take it off the domain), renamed it, then enabled the NIC, and joined the domain again...and for the Goldmine software, there was one .ini file (on the virtual server) to get the clients to see the new virtual server. Now I have a duplicate server on the network, that I can completely destroy if I want. And to bring it back to the original state, I have two files (about 5 gigs total), that I just copy and boot up to again. Now, I know with using an .mdb as a data source, you can copy and 'restore' a database without all this mumbo jumbo. However, I know a lot of you are working with SQL Server and Oracle backends. Some are using web interfaces. All of these 'servers' can take time to backup and restore, especially when you are just playing around to see what affects what. This software combo can really be a huge time saver! Drew 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 BusinessSensitve 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 jimdettman at verizon.net Thu Nov 1 13:00:40 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 01 Nov 2007 14:00:40 -0400 Subject: [AccessD] Office 2007 Ribbon Bars In-Reply-To: References: Message-ID: <021401c81cb1$1df82550$8abea8c0@XPS> Bummer. Picked it up somewhere but never got around to trying it. My one and only 2007 project to date fell through. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, November 01, 2007 1:15 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Office 2007 Ribbon Bars Hi Jim No cigar here. Neither with 2006 replaced with 2007. /gustav >>> jimdettman at verizon.net 01-11-2007 17:15:11 >>> John, Got this, but I haven't tried it: For those of you who want to completely get rid of the ribbon--here are the steps: 1. Create a new table called USysRibbons. 2. Add two fields RibbonName (text) and RibbonXML (Memo). 3. Create a new record with the name "Blank" (doesn't really matter what you call it). Also add the following XML: 4. Restart your database. 5. Go into the Office Button | Access Options. Click on the Current Database. 6. In the Toolbars Option set the Custom Ribbon Id to Blank (name in step 3). 7. Restart the database. HTH, Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, November 01, 2007 8:44 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Office 2007 Ribbon Bars I haven't been following the subject, and I am wondering if anyone has discovered a workaround to get rid of the new ribbon bars and get back the standard office menus that look and feel like 2003? I have a couple of customers with databases designed (crammed into) an 800x600 format back when the average monitor was a 14". Even though they purchased newer 17" monitors all the users are griping so bad about 1024 x 768 that the owners are caving in and staying at 800x600. Thus there is NO room for the newfangled toolbars. If they are going to upgrade they will have to keep the old menus or at least turn off the ribbon bars. I can do custom menus if those are still available, but the ribbon bars have to go. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Nov 1 13:04:07 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 1 Nov 2007 11:04:07 -0700 Subject: [AccessD] The perfect combo! (A little OT) In-Reply-To: References: Message-ID: I've been very impressed with TrueImage, from Acronis, although I've only used it for my own backups and the occasional restore. Nice thing is it can restore at the file level, which is far better than other apps I've seen. Thanks for the info Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, November 01, 2007 10:24 AM To: Access Developers discussion and problem solving Subject: [AccessD] The perfect combo! (A little OT) We recently bought a backup/restore system called Acronis. Great software package. (Bought a server with a few terabytes of drive space too). Anywho, Acronis has a rather unique restore process. With a Windows 9x system, you could take a hard drive out of one machine, and put it in another with completely different hardware, and after a gazillion 'found new hardware' prompts, you'd eventually load Windows again on the new machine. Windows NT and 2000 were no where near as friendly with new hardware. Acronis does a 'true image' restore, however, that lets you restore a system on a completely different machine. Pretty slick, and works about 95% of the time. Virtual PC has been mentioned on this list before too. It's a PC emulator. You can install all sorts of OSes on virtual hard drives (which are just files on your real hard drives, though you can setup a real hard drive as a 'virtual' hard drive in VPC). This post is about something I've been doing the last few weeks, which I think is just plain cool. If you use these two software packages, you can pretty easily create Virtual PCs from live machines. Two examples: Our Intranet died about a month ago. One of the hard drives crashed. It was in a RAID, but the only machine that had the same sized drives was my desktop. (80 gig SCSI drives). So we cannibalized my desktop to bring the Intranet back up. We then bought a new machine for the Intranet. (current machine was a glorified desktop, new machine an actual rack server). The old Intranet was Windows 2000 Server (on a PIII 1ghz processor with 768 megs of RAM, a mirrored OS volume, and a RAID 5 data volume), new machine Windows 2003 Server (a few gigs of ram, and I think a Xeon processor). Anywho, there's no easy way to 'move' an IIS 5.0 'web' to an IIS 6.0 web (though in IIS 6 you can now save a website to a file to restore...that's nice...now.). So I manually moved our Intranet to the new machine. Didn't mind doing it that way, since over the years, our Intranet has a lot of unused stuff on it, so I just moved what was being used...... But, now I want my hard drives back (especially since I talked my boss into letting me 'build' a new machine for my desktop). But I don't want to just scrap the old web. VPC and Acronis to the rescue. Ran Acronis to backup the Intranet's drives/system state. Created two VPC drives. Booted the VPC environment with an Acronis bootable CD, whalla, I now have our old Intranet server running in a virtual environment! Worked like a charm (though, admittedly, this particular restore was the first and only one that didn't boot right from the get go, had to do a Windows 2000 repair...thus the 95% comment). With this Virtual PC environment, I can do EVERYTHING I could do with the old system, hit it with Remote Administrator, hit the old Intranet with my web browser, computer management, hit the drives remotely, etc. It's just like the old Intranet is still there, but in reality, it's running in a VPC environment on my 'newly rebuilt' desktop. The second example is with Goldmine (a contact/customer management) software package. We bought a new version about 3 years ago (which means it's an older version now). Our account managers are still not using it, and one of their claims is that all their contacts are in Outlook. So I spent a week or two combining everyone's Outlook contacts (lots of fun), and now I want to import it into Goldmine. But who wants to do a huge data import on a live system? Sure, it's SQL Server based, so I could back it up, do the import, and restore it if something goofs...but all of that could be down time for a live system. (In this particular case, I don't think anyone is using it, but that's besides the point). Once again, VPC and Acronis to the rescue. Did a backup of the live Goldmine server. Created a VPC environment and restored Goldmine too it. This one was a little trickier from a setup standpoint. With the Intranet situation, the new server was MINET2003, and the old server was MINET. When I had moved everything over, we renamed the old machine MinetOLD, and the new machine to MINET. So when I created the virtual environment, I just took the physical minetOld offline. But with Goldmine, I wanted to created a 'duplicate' server. Can't have two machines with the same name on the same domain. So, to accomplish this, I 'disabled' the network card of the virtual goldmine, switched it to a workgroup (to take it off the domain), renamed it, then enabled the NIC, and joined the domain again...and for the Goldmine software, there was one .ini file (on the virtual server) to get the clients to see the new virtual server. Now I have a duplicate server on the network, that I can completely destroy if I want. And to bring it back to the original state, I have two files (about 5 gigs total), that I just copy and boot up to again. Now, I know with using an .mdb as a data source, you can copy and 'restore' a database without all this mumbo jumbo. However, I know a lot of you are working with SQL Server and Oracle backends. Some are using web interfaces. All of these 'servers' can take time to backup and restore, especially when you are just playing around to see what affects what. This software combo can really be a huge time saver! From cfoust at infostatsystems.com Thu Nov 1 13:07:49 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 1 Nov 2007 11:07:49 -0700 Subject: [AccessD] Office 2007 Ribbon Bars In-Reply-To: <021401c81cb1$1df82550$8abea8c0@XPS> References: <021401c81cb1$1df82550$8abea8c0@XPS> Message-ID: I might very well work with the right XML, but that doesn't look right. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, November 01, 2007 11:01 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office 2007 Ribbon Bars Bummer. Picked it up somewhere but never got around to trying it. My one and only 2007 project to date fell through. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, November 01, 2007 1:15 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Office 2007 Ribbon Bars Hi Jim No cigar here. Neither with 2006 replaced with 2007. /gustav >>> jimdettman at verizon.net 01-11-2007 17:15:11 >>> John, Got this, but I haven't tried it: For those of you who want to completely get rid of the ribbon--here are the steps: 1. Create a new table called USysRibbons. 2. Add two fields RibbonName (text) and RibbonXML (Memo). 3. Create a new record with the name "Blank" (doesn't really matter what you call it). Also add the following XML: 4. Restart your database. 5. Go into the Office Button | Access Options. Click on the Current Database. 6. In the Toolbars Option set the Custom Ribbon Id to Blank (name in step 3). 7. Restart the database. HTH, Jim. From jimdettman at verizon.net Thu Nov 1 14:07:56 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 01 Nov 2007 15:07:56 -0400 Subject: [AccessD] Office 2007 Ribbon Bars In-Reply-To: References: <003701c81c84$dda41d00$647aa8c0@M90> <013c01c81ca2$6143eba0$8abea8c0@XPS> Message-ID: <027701c81cba$83b4ad10$8abea8c0@XPS> Looks like I picked it off one of the Office Blogs. It's discussed here along with another method: http://www.utteraccess.com/forums/printthread.php?Cat=&Board=91&main=1302379 &type=thread In that thread, it says: "Couldn't get it to work. I looked at other websites - they gave nearly identical instructions. Couldn't get it to work. I gave up on the USysRibbons table idea and posted here. I followed the example by freakazeud, which worked. I was able to customize the ideas given by him, with very little problem, other than the issues we've discussed above here. I FINALLY figured out that it looks like the XML code in step 3 (Iin the quote above) is missing a tag. Funny thing is that this exact sample XML code is on at least 5 other websites. Looks like a bad example of copy/paste. So, I may toy around with it some more, and put the XML code for the ribbon I have developed, and put that in the USysRibbons table, and see what happens. " Also, the last post may be of interest: " Re: Disabling Ribbon Bar Hi, I found in the Access 2007 a "How to" page that discloses the cleanest way to get rid of the ribbon altogether and display your custom menu and toolbars. Go to "Developer Help" - "How Do I" - "Miscellaneous". The key item I got is that in the mdb's startup options, you *must* select the name of your custom menu bar and persist it to the database using Access' startup options window. And you must have the "Allow Full Menus" and "Enable Built In Toolbars" options set to off. These options must have been set *before* your mdb is opened in Access 2007. Through trial-and-error (as you did), I found that it is not enough to set the startup menubar on the fly with VBA code. I do, however, use VBA to display my desired toolbars. All of this is without the existence of the USysRibbons table. But to be complete in sharing, I do have the Sys table but have the ribbon name cleared in Access 2007 startup options." Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, November 01, 2007 12:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Office 2007 Ribbon Bars Um ... Office/2006?? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, November 01, 2007 9:15 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office 2007 Ribbon Bars John, Got this, but I haven't tried it: For those of you who want to completely get rid of the ribbon--here are the steps: 1. Create a new table called USysRibbons. 2. Add two fields RibbonName (text) and RibbonXML (Memo). 3. Create a new record with the name "Blank" (doesn't really matter what you call it). Also add the following XML: 4. Restart your database. 5. Go into the Office Button | Access Options. Click on the Current Database. 6. In the Toolbars Option set the Custom Ribbon Id to Blank (name in step 3). 7. Restart the database. HTH, Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, November 01, 2007 8:44 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Office 2007 Ribbon Bars I haven't been following the subject, and I am wondering if anyone has discovered a workaround to get rid of the new ribbon bars and get back the standard office menus that look and feel like 2003? I have a couple of customers with databases designed (crammed into) an 800x600 format back when the average monitor was a 14". Even though they purchased newer 17" monitors all the users are griping so bad about 1024 x 768 that the owners are caving in and staying at 800x600. Thus there is NO room for the newfangled toolbars. If they are going to upgrade they will have to keep the old menus or at least turn off the ribbon bars. I can do custom menus if those are still available, but the ribbon bars have to go. John W. Colby Colby Consulting 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From EdTesiny at oasas.state.ny.us Thu Nov 1 14:29:02 2007 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Thu, 1 Nov 2007 15:29:02 -0400 Subject: [AccessD] Running Sum Message-ID: Hi List, I have a query with admission rates data for August and September by providers. I'm trying to get a running sum across the two months for each provider. Put another way, for August we have an admission rate and I want August admissions added to Septembers on Septembers row like ProviderNo Report_Date CalRunTot Actual Rates 3 8/1/07 2.46 2.46 3 9/1/07 3.45 .99 5 8/1/07 8.21 8.21 5 9/1/07 9.95 1.74 Hope this doesn't get all mixed up in transmission, current SQL is below SELECT qry_MATS_RunSum4.Provider_No AS Provnum, qry_MATS_RunSum4.Provider_No, qry_MATS_RunSum4.Provider_Name, qry_MATS_RunSum4.report_date, qry_MATS_RunSum4.AdRate, qry_MATS_RunSum4.RunTot, DSum("adrate","qry_MATS_RunSum4","Provider_no<=" & [provnum] & " ") AS CalRunTot FROM qry_MATS_RunSum4; MTIA Ed Edward P. Tesiny Assistant Director for Evaluation Bureau of Evaluation and Practice Improvement New York State OASAS 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 Email: EdTesiny at oasas.state.ny.us From bheygood at abestsystems.com Thu Nov 1 14:55:17 2007 From: bheygood at abestsystems.com (Bob Heygood) Date: Thu, 1 Nov 2007 12:55:17 -0700 Subject: [AccessD] Counting Co IDs In-Reply-To: <00fa01c81ca6$d0f364e0$4b3a8343@SusanOne> References: <054781CF8ED948F797CE5E75B02C58E0@creativesystemdesigns.com><200711010201.lA121Ea9026644@databaseadvisors.com><005d01c81ca4$2feffb50$800101df@speedy> <00fa01c81ca6$d0f364e0$4b3a8343@SusanOne> Message-ID: <007b01c81cc1$20590570$800101df@speedy> Thanks for getting back to me. What I need is to count the number of companies. It is the last piece of data in my example that I am looking for. How many different companies responded to the question and many yes and how many no. TIA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, November 01, 2007 9:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Counting Co IDs Have you tried a Totals view? Set JID to GROUP BY and use SUM on the columns you want to total. Susan H. > Hello to the list, > > I have a table which contains records each of which have a CoID > (Company ID), a JID (Job ID) and some responses to questions; some > Boolean and some currency. > It is a requirement for me to create a query for a report. > > A problem I have run into is I need to provide a count of companies > that had a response to a question grouped by JID. Like: > > JID Question Num Companies > Answer Responding > > 2 Q1Yes 3 > 2 Q1No 5 > 3 Q1Yes 9 > 3 Q1No 7 > 5 Q1Yes 31 > 5 Q1No 74 > 8 Q1Yes 3 > 8 Q1No 0 > > > > Seems like I could get this from some SQL Totals Statement/Query. > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Thu Nov 1 15:03:33 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 1 Nov 2007 16:03:33 -0400 Subject: [AccessD] Counting Co IDs References: <054781CF8ED948F797CE5E75B02C58E0@creativesystemdesigns.com><200711010201.lA121Ea9026644@databaseadvisors.com><005d01c81ca4$2feffb50$800101df@speedy><00fa01c81ca6$d0f364e0$4b3a8343@SusanOne> <007b01c81cc1$20590570$800101df@speedy> Message-ID: <024701c81cc2$4ad44e80$4b3a8343@SusanOne> Totals view will do the trick, use the Count aggregate. That will return just the one value though. If you need additional details, you'll need a subquery. Susan H. > What I need is to count the number of companies. > It is the last piece of data in my example that I am looking for. > How many different companies responded to the question and many yes and > how > many no. From bheygood at abestsystems.com Thu Nov 1 15:12:32 2007 From: bheygood at abestsystems.com (Bob Heygood) Date: Thu, 1 Nov 2007 13:12:32 -0700 Subject: [AccessD] Counting Co IDs In-Reply-To: <024701c81cc2$4ad44e80$4b3a8343@SusanOne> References: <054781CF8ED948F797CE5E75B02C58E0@creativesystemdesigns.com><200711010201.lA121Ea9026644@databaseadvisors.com><005d01c81ca4$2feffb50$800101df@speedy><00fa01c81ca6$d0f364e0$4b3a8343@SusanOne><007b01c81cc1$20590570$800101df@speedy> <024701c81cc2$4ad44e80$4b3a8343@SusanOne> Message-ID: <008001c81cc3$8af101b0$800101df@speedy> I think that that will just "count" the CoIDs, I want to know how many different ones are represented. One of the issues is I won't know before hand how many to allot for.... I may not be doing a good job of defining this either.... TIA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, November 01, 2007 1:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Counting Co IDs Totals view will do the trick, use the Count aggregate. That will return just the one value though. If you need additional details, you'll need a subquery. Susan H. > What I need is to count the number of companies. > It is the last piece of data in my example that I am looking for. > How many different companies responded to the question and many yes > and how many no. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Thu Nov 1 15:21:34 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 1 Nov 2007 16:21:34 -0400 Subject: [AccessD] Counting Co IDs References: <054781CF8ED948F797CE5E75B02C58E0@creativesystemdesigns.com><200711010201.lA121Ea9026644@databaseadvisors.com><005d01c81ca4$2feffb50$800101df@speedy><00fa01c81ca6$d0f364e0$4b3a8343@SusanOne><007b01c81cc1$20590570$800101df@speedy><024701c81cc2$4ad44e80$4b3a8343@SusanOne> <008001c81cc3$8af101b0$800101df@speedy> Message-ID: <028d01c81cc4$d2384550$4b3a8343@SusanOne> I know there's a simple way to do it, but I can't recall -- will have to review some old tips. Susan H. >I think that that will just "count" the CoIDs, I want to know how many > different ones are represented. > One of the issues is I won't know before hand how many to allot for.... > > I may not be doing a good job of defining this either.... From accessd at shaw.ca Thu Nov 1 15:52:34 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 01 Nov 2007 13:52:34 -0700 Subject: [AccessD] Office 2007 Ribbon Bars In-Reply-To: <013c01c81ca2$6143eba0$8abea8c0@XPS> Message-ID: Hi Jim: If that works it sounds assume. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, November 01, 2007 9:15 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office 2007 Ribbon Bars John, Got this, but I haven't tried it: For those of you who want to completely get rid of the ribbon--here are the steps: 1. Create a new table called USysRibbons. 2. Add two fields RibbonName (text) and RibbonXML (Memo). 3. Create a new record with the name "Blank" (doesn't really matter what you call it). Also add the following XML: 4. Restart your database. 5. Go into the Office Button | Access Options. Click on the Current Database. 6. In the Toolbars Option set the Custom Ribbon Id to Blank (name in step 3). 7. Restart the database. HTH, Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, November 01, 2007 8:44 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Office 2007 Ribbon Bars I haven't been following the subject, and I am wondering if anyone has discovered a workaround to get rid of the new ribbon bars and get back the standard office menus that look and feel like 2003? I have a couple of customers with databases designed (crammed into) an 800x600 format back when the average monitor was a 14". Even though they purchased newer 17" monitors all the users are griping so bad about 1024 x 768 that the owners are caving in and staying at 800x600. Thus there is NO room for the newfangled toolbars. If they are going to upgrade they will have to keep the old menus or at least turn off the ribbon bars. I can do custom menus if those are still available, but the ribbon bars have to go. John W. Colby Colby Consulting 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 garykjos at gmail.com Thu Nov 1 16:03:23 2007 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 1 Nov 2007 16:03:23 -0500 Subject: [AccessD] Counting Co IDs In-Reply-To: <008001c81cc3$8af101b0$800101df@speedy> References: <054781CF8ED948F797CE5E75B02C58E0@creativesystemdesigns.com> <200711010201.lA121Ea9026644@databaseadvisors.com> <005d01c81ca4$2feffb50$800101df@speedy> <00fa01c81ca6$d0f364e0$4b3a8343@SusanOne> <007b01c81cc1$20590570$800101df@speedy> <024701c81cc2$4ad44e80$4b3a8343@SusanOne> <008001c81cc3$8af101b0$800101df@speedy> Message-ID: I would probably do two queries, one to select and to possibly group and the second that uses the first as it's input that counts. GK On 11/1/07, Bob Heygood wrote: > I think that that will just "count" the CoIDs, I want to know how many > different ones are represented. > One of the issues is I won't know before hand how many to allot for.... > > I may not be doing a good job of defining this either.... > > TIA > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: Thursday, November 01, 2007 1:04 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Counting Co IDs > > Totals view will do the trick, use the Count aggregate. That will return > just the one value though. If you need additional details, you'll need a > subquery. > > Susan H. > > > What I need is to count the number of companies. > > It is the last piece of data in my example that I am looking for. > > How many different companies responded to the question and many yes > > and how many no. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From DWUTKA at Marlow.com Thu Nov 1 15:54:43 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 1 Nov 2007 15:54:43 -0500 Subject: [AccessD] The perfect combo! (A little OT) In-Reply-To: Message-ID: I like TrueImage too, though I must admit I can't say I'm super impressed. Don't get me wrong, it works, but I've seen a few quirks. (For example, we're still having difficulty doing a remote install, have to install the 'client' locally, before the server app can back it up. But other then that, it's great. If you already have TrueImage, you should check out restoring to a VPC environment. Virtual PC is free now, so it won't cost a dime to use it. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, November 01, 2007 1:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] The perfect combo! (A little OT) I've been very impressed with TrueImage, from Acronis, although I've only used it for my own backups and the occasional restore. Nice thing is it can restore at the file level, which is far better than other apps I've seen. Thanks for the info Charlotte Foust 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 BusinessSensitve 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 EdTesiny at oasas.state.ny.us Thu Nov 1 18:53:24 2007 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Thu, 1 Nov 2007 19:53:24 -0400 Subject: [AccessD] Running Sum cont'd Message-ID: Good Evening List, I sent a msg to accessd and it's on the web site but I never received a copy which I normally do. Did it get to the list? Maybe just a slow day... Ed From jengross at gte.net Thu Nov 1 18:55:22 2007 From: jengross at gte.net (Jennifer Gross) Date: Thu, 01 Nov 2007 16:55:22 -0700 Subject: [AccessD] A2K and Office 2003 In-Reply-To: <002c01c81c7c$f7e854e0$647aa8c0@M90> Message-ID: <00c901c81ce2$ade12820$6501a8c0@jefferson> Hi John, It turns out, after getting more of the story from the user, that she is running into something that I have run into as well. It also turns out that it is not the Tools > Office Links export to Excel, but the exports that I have coded. They work fine the first couple of times that you run them in one session, but after say 10 exports in one sitting, if you have closed Excel between exports, a bad copy of Excel hangs around and won't let the next export happen. I run into this problem when testing Access to Excel code, because I am over and over again exporting to Excel. Only a re-boot will get rid of that pesky Excel ghost. The trick I have found is to keep Excel open - I can close the workbooks, but have to leave the mother ship open. So, one of the lessons here is when the new network guy tells you that the users can't export to Excel anymore and since A2K and Excel 2003 don't play nice together how much of a problem would it be to move your code to Access 2003? I can turn to my mantra - "I bill by the hour" - and jump at the chance to re-code and debug and deal with the new 'features' of Access 2003, on a (billable) hourly basis. Or, I can save myself the headache and do my due diligence and dig to find out what is really going on. Problem solved, when you are doing 30 exports to Excel in one sitting, don't close Excel. I don't know what causes that and years ago gave up trying to figure out why it happens. I know this doesn't help your issue John, but it feels good to get it out. Jennifer -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, November 01, 2007 4:47 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2K and Office 2003 Jennifer, That is fascinating because I have a client with the same issue. Outlook only upgraded to 2003, the rest left at 2000, can't export to Excel. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jennifer Gross Sent: Wednesday, October 31, 2007 5:58 PM To: AccessD List Subject: [AccessD] A2K and Office 2003 Happy Halloween Everyone, I have a client that for reasons relating to Outlook has updated their systems to Office 2003, without Access 2003, while leaving Access 2000 so that my databases can run. I don't want to move the databases to Access 2003 because they are running fine in A2K and have been for years. However, they are running into some bumps in the road, particularly with exporting to Excel using Tools > Office Links. If anybody has an tips regarding the co-existence of Office 2003 with Access 2000 I would greatly appreciate it. Thank you, Jennifer Gross databasics Newbury Park, CA office: (805) 480-1921 fax: (805) 499-0467 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Nov 1 21:06:11 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 1 Nov 2007 22:06:11 -0400 Subject: [AccessD] good opportunity Message-ID: <045201c81cf5$e77e52c0$4b3a8343@SusanOne> I'd apply, but I don't have the .NET experience they're looking for. Susan H. From john at winhaven.net Thu Nov 1 23:38:58 2007 From: john at winhaven.net (John Bartow) Date: Thu, 1 Nov 2007 23:38:58 -0500 Subject: [AccessD] A2K and Office 2003 In-Reply-To: <00c901c81ce2$ade12820$6501a8c0@jefferson> References: <002c01c81c7c$f7e854e0$647aa8c0@M90> <00c901c81ce2$ade12820$6501a8c0@jefferson> Message-ID: <013201c81d0a$489c7230$6402a8c0@ScuzzPaq> Hi Jennifer, Is Excel showing in the process list when "ghosting"? John B. From jengross at gte.net Fri Nov 2 10:51:59 2007 From: jengross at gte.net (Jennifer Gross) Date: Fri, 02 Nov 2007 08:51:59 -0700 Subject: [AccessD] A2K and Office 2003 In-Reply-To: <013201c81d0a$489c7230$6402a8c0@ScuzzPaq> Message-ID: <008a01c81d68$5117aed0$6501a8c0@jefferson> Hi John, I have not had the opportunity to jump in and see what is going on when the problem happens for my client - they run Windows 2000 Server, so I would be able to see a processes list. My development machine runs Windows 98 so I am not getting a processes list, just an application list - and yes, Excel is showing on the application list - and an End Task won't shut the thing down. If I recall I will get a Not Responding - End Now prompt, but even End Now will not get rid of the bugger. A reboot is all that will clear things up for me with Windows 98. Jennifer -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Thursday, November 01, 2007 9:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2K and Office 2003 Hi Jennifer, Is Excel showing in the process list when "ghosting"? John B. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Fri Nov 2 12:26:58 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 2 Nov 2007 13:26:58 -0400 Subject: [AccessD] Running Sum cont'd In-Reply-To: References: Message-ID: On Nov 1, 2007 7:53 PM, Tesiny, Ed wrote: > Good Evening List, > I sent a msg to accessd and it's on the web site but I never received a copy which I normally do. Did it get to the list? > Maybe just a slow day... Yep it did Ed. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From garykjos at gmail.com Fri Nov 2 12:45:08 2007 From: garykjos at gmail.com (Gary Kjos) Date: Fri, 2 Nov 2007 12:45:08 -0500 Subject: [AccessD] Running Sum cont'd In-Reply-To: References: Message-ID: Yes I saw it too. I don't have an answer but I saw it. I know you can do running sum in a report but I wouldn't know how to do it in a report. Or I might export to Excel and do it there. GK On 11/1/07, Tesiny, Ed wrote: > Good Evening List, > I sent a msg to accessd and it's on the web site but I never received a copy which I normally do. Did it get to the list? > Maybe just a slow day... > Ed > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From garykjos at gmail.com Fri Nov 2 12:59:18 2007 From: garykjos at gmail.com (Gary Kjos) Date: Fri, 2 Nov 2007 12:59:18 -0500 Subject: [AccessD] Running Sum cont'd In-Reply-To: References: Message-ID: I meant I wouldn't know how to do it in a QUERY....my fingers were not correctly pusing the correct keys that my brain was telling them to..... GK On 11/2/07, Gary Kjos wrote: > Yes I saw it too. I don't have an answer but I saw it. I know you can > do running sum in a report but I wouldn't know how to do it in a > report. Or I might export to Excel and do it there. > > GK > > On 11/1/07, Tesiny, Ed wrote: > > Good Evening List, > > I sent a msg to accessd and it's on the web site but I never received a copy which I normally do. Did it get to the list? > > Maybe just a slow day... > > Ed > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > Gary Kjos > garykjos at gmail.com > -- Gary Kjos garykjos at gmail.com From Gustav at cactus.dk Fri Nov 2 13:01:38 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 02 Nov 2007 19:01:38 +0100 Subject: [AccessD] Running Sum Message-ID: Hi Ed To calculate a running sum or total, DSum may be used but it's faster to use a subquery. Basically looks like this: SELECT S.TransDate, S.Amount, (Select Sum([Amount]) From tblTransaction As T Where T.TransDate <= S.TransDate) AS Balance FROM tblTransaction AS S ORDER BY S.TransDate; I your case something like this (air code, not tested): SELECT S.Provider_No As Provnum, S.[Report Date], Sum(S.RunTot) As DayRunTot, (Select Sum([RunTot]) From qry_MATS_RunSum4 As T Where T.Provider_No = S.Provider_No And T.[Report Date] <= S.[Report Date]) AS CalRunTot FROM qry_MATS_RunSum4 AS S GROUP BY S.Provider_No, S.[Report Date] ORDER BY S.Provider_No, S.[Report Date]; /gustav >>> EdTesiny at oasas.state.ny.us 01-11-2007 20:29 >>> Hi List, I have a query with admission rates data for August and September by providers. I'm trying to get a running sum across the two months for each provider. Put another way, for August we have an admission rate and I want August admissions added to Septembers on Septembers row like ProviderNo Report_Date CalRunTot Actual Rates 3 8/1/07 2.46 2.46 3 9/1/07 3.45 .99 5 8/1/07 8.21 8.21 5 9/1/07 9.95 1.74 Hope this doesn't get all mixed up in transmission, current SQL is below SELECT qry_MATS_RunSum4.Provider_No AS Provnum, qry_MATS_RunSum4.Provider_No, qry_MATS_RunSum4.Provider_Name, qry_MATS_RunSum4.report_date, qry_MATS_RunSum4.AdRate, qry_MATS_RunSum4.RunTot, DSum("adrate","qry_MATS_RunSum4","Provider_no<=" & [provnum] & " ") AS CalRunTot FROM qry_MATS_RunSum4; MTIA Ed Edward P. Tesiny Assistant Director for Evaluation Bureau of Evaluation and Practice Improvement New York State OASAS 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 Email: EdTesiny at oasas.state.ny.us From wdhindman at dejpolsystems.com Fri Nov 2 13:45:35 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 2 Nov 2007 14:45:35 -0400 Subject: [AccessD] ...gurus only References: Message-ID: <001601c81d80$8e6df790$0c10a8c0@jisshowsbs.local> ...ok, you too, eh :) ...given: fields w x y z max series data1 1 1 1 2 data2 1 5 5 3 data3 1 4 3 3 4 data4 2 3 3 2 data5 1 1 1 1 1 4 data6 1 1 1 1) where max is the largest number in w/x/y/z and 2) where series is the total fields between the first one containing a number and the last containing a number 3) where empty fields contain "" rather than nulls ...two days and I've yet to come up with an answer to fill the max and series fields from the data in w/x/y/z. ...help! William From ssharkins at gmail.com Fri Nov 2 13:58:45 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Nov 2007 14:58:45 -0400 Subject: [AccessD] ...gurus only References: <001601c81d80$8e6df790$0c10a8c0@jisshowsbs.local> Message-ID: <003601c81d82$669a6e90$4b3a8343@SusanOne> Is this a crosstab? Susan H. > ...ok, you too, eh :) > > ...given: > > fields w x y z max series > data1 1 1 1 2 > data2 1 5 5 3 > data3 1 4 3 3 4 > data4 2 3 3 2 > data5 1 1 1 1 1 4 > data6 1 1 1 > > 1) where max is the largest number in w/x/y/z and > 2) where series is the total fields between the first one containing a > number and the last containing a number > 3) where empty fields contain "" rather than nulls > > ...two days and I've yet to come up with an answer to fill the max and > series fields from the data in w/x/y/z. > > ...help! > > William > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From EdTesiny at oasas.state.ny.us Fri Nov 2 14:17:54 2007 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Fri, 2 Nov 2007 15:17:54 -0400 Subject: [AccessD] Running Sum In-Reply-To: References: Message-ID: Gustav, Thank you very much, I can stop banging my head against the wall. Couple of tweaks and display the data in a chart and we're good to go. Thanks again. Ed Ed Tesiny EdTesiny at oasas.state.ny.us > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Gustav Brock > Sent: Friday, November 02, 2007 2:02 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Running Sum > > Hi Ed > > To calculate a running sum or total, DSum may be used but > it's faster to use a subquery. > Basically looks like this: > > SELECT > S.TransDate, > S.Amount, > (Select > Sum([Amount]) > From > tblTransaction As T > Where > T.TransDate <= S.TransDate) AS > Balance > FROM > tblTransaction AS S > ORDER BY > S.TransDate; > > I your case something like this (air code, not tested): > > SELECT > S.Provider_No As Provnum, > S.[Report Date], > Sum(S.RunTot) As DayRunTot, > (Select > Sum([RunTot]) > From > qry_MATS_RunSum4 As T > Where > T.Provider_No = S.Provider_No > And > T.[Report Date] <= S.[Report Date]) AS > CalRunTot > FROM > qry_MATS_RunSum4 AS S > GROUP BY > S.Provider_No, > S.[Report Date] > ORDER BY > S.Provider_No, > S.[Report Date]; > > /gustav > > >>> EdTesiny at oasas.state.ny.us 01-11-2007 20:29 >>> > Hi List, > I have a query with admission rates data for August and September by > providers. I'm trying to get a running sum across the two months for > each provider. Put another way, for August we have an admission rate > and I want August admissions added to Septembers on > Septembers row like > > ProviderNo Report_Date CalRunTot Actual Rates > 3 8/1/07 2.46 > 2.46 > 3 9/1/07 3.45 > .99 > > 5 8/1/07 8.21 > 8.21 > > 5 9/1/07 9.95 > 1.74 > > Hope this doesn't get all mixed up in transmission, current SQL is > below > > SELECT qry_MATS_RunSum4.Provider_No AS Provnum, > qry_MATS_RunSum4.Provider_No, qry_MATS_RunSum4.Provider_Name, > qry_MATS_RunSum4.report_date, qry_MATS_RunSum4.AdRate, > qry_MATS_RunSum4.RunTot, > DSum("adrate","qry_MATS_RunSum4","Provider_no<=" & [provnum] & " ") AS > CalRunTot > FROM qry_MATS_RunSum4; > > MTIA > Ed > > Edward P. Tesiny > Assistant Director for Evaluation > Bureau of Evaluation and Practice Improvement > New York State OASAS > 1450 Western Ave. > Albany, New York 12203-3526 > Phone: (518) 485-7189 > Fax: (518) 485-5769 > Email: EdTesiny at oasas.state.ny.us > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Fri Nov 2 14:24:03 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 2 Nov 2007 15:24:03 -0400 Subject: [AccessD] ...gurus only References: <001601c81d80$8e6df790$0c10a8c0@jisshowsbs.local> <003601c81d82$669a6e90$4b3a8343@SusanOne> Message-ID: <000501c81d85$ee2b9a70$0c10a8c0@jisshowsbs.local> ...the table was built from a crosstab query ...why? William ----- Original Message ----- From: "Susan Harkins" To: "Access Developers discussion and problem solving" Sent: Friday, November 02, 2007 2:58 PM Subject: Re: [AccessD] ...gurus only > Is this a crosstab? > > Susan H. > > >> ...ok, you too, eh :) >> >> ...given: >> >> fields w x y z max series >> data1 1 1 1 2 >> data2 1 5 5 3 >> data3 1 4 3 3 4 >> data4 2 3 3 2 >> data5 1 1 1 1 1 4 >> data6 1 1 1 >> >> 1) where max is the largest number in w/x/y/z and >> 2) where series is the total fields between the first one containing a >> number and the last containing a number >> 3) where empty fields contain "" rather than nulls >> >> ...two days and I've yet to come up with an answer to fill the max and >> series fields from the data in w/x/y/z. >> >> ...help! >> >> William >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> 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 Nov 2 14:29:34 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Nov 2007 15:29:34 -0400 Subject: [AccessD] ...gurus only References: <001601c81d80$8e6df790$0c10a8c0@jisshowsbs.local><003601c81d82$669a6e90$4b3a8343@SusanOne> <000501c81d85$ee2b9a70$0c10a8c0@jisshowsbs.local> Message-ID: <007e01c81d86$b53bafb0$4b3a8343@SusanOne> Well, it does look like a crosstab and I thought if you could do it in the crosstab, might be easier, but no, I don't have a solution for you. Susan H. > ...the table was built from a crosstab query ...why? From DWUTKA at Marlow.com Fri Nov 2 14:31:19 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Fri, 2 Nov 2007 14:31:19 -0500 Subject: [AccessD] ...gurus only In-Reply-To: <000501c81d85$ee2b9a70$0c10a8c0@jisshowsbs.local> Message-ID: Hang on William, got a solution for you...have it posted in a minute...one quick question, when you said the fields aren't null, but are "", are you saying that they are text fields? Just curious, not sure if I need to force the data to be numeric... I'll have it posted in a minute. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, November 02, 2007 2:24 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ...gurus only ...the table was built from a crosstab query ...why? William ----- Original Message ----- From: "Susan Harkins" To: "Access Developers discussion and problem solving" Sent: Friday, November 02, 2007 2:58 PM Subject: Re: [AccessD] ...gurus only > Is this a crosstab? > > Susan H. > > >> ...ok, you too, eh :) >> >> ...given: >> >> fields w x y z max series >> data1 1 1 1 2 >> data2 1 5 5 3 >> data3 1 4 3 3 4 >> data4 2 3 3 2 >> data5 1 1 1 1 1 4 >> data6 1 1 1 >> >> 1) where max is the largest number in w/x/y/z and >> 2) where series is the total fields between the first one containing a >> number and the last containing a number >> 3) where empty fields contain "" rather than nulls >> >> ...two days and I've yet to come up with an answer to fill the max and >> series fields from the data in w/x/y/z. >> >> ...help! >> >> William >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 BusinessSensitve 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 rockysmolin at bchacc.com Fri Nov 2 14:37:27 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 2 Nov 2007 12:37:27 -0700 Subject: [AccessD] ...gurus only In-Reply-To: <001601c81d80$8e6df790$0c10a8c0@jisshowsbs.local> References: <001601c81d80$8e6df790$0c10a8c0@jisshowsbs.local> Message-ID: <00a401c81d87$cd0beb40$0301a8c0@HAL9005> This looks like an easy job for a bit of code. And a real tough job for queries. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, November 02, 2007 11:46 AM To: Access Developers discussion and problem solving Subject: [AccessD] ...gurus only ...ok, you too, eh :) ...given: fields w x y z max series data1 1 1 1 2 data2 1 5 5 3 data3 1 4 3 3 4 data4 2 3 3 2 data5 1 1 1 1 1 4 data6 1 1 1 1) where max is the largest number in w/x/y/z and 2) where series is the total fields between the first one containing a number and the last containing a number 3) where empty fields contain "" rather than nulls ...two days and I've yet to come up with an answer to fill the max and series fields from the data in w/x/y/z. ...help! William -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.18/1104 - Release Date: 11/1/2007 6:47 PM From Gustav at cactus.dk Fri Nov 2 14:40:18 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 02 Nov 2007 20:40:18 +0100 Subject: [AccessD] ...gurus only Message-ID: Hi William Here is one method using Choose(): SELECT ID, w, x, y, z, IIf(Val("" & [w])>Val("" & [x]), Val("" & [w]), Val("" & [x])) AS Max12, IIf(Val("" & [y])>Val("" & [z]), Val("" & [y]), Val("" & [z])) AS Max34, IIf(Val("" & [w])>0, 1, IIf(Val("" & [x])>0, 2, IIf(Val("" & [y])>0, 3, IIf(Val("" & [z])>0, 4, 0)))) AS First, IIf(Val("" & [z])>0, 4, IIf(Val("" & [y])>0, 3, IIf(Val("" & [x])>0, 2, IIf(Val("" & [w])>0, 1, 0)))) AS Last, IIf([Max12]>[Max34], [Max12], [Max34]) AS Max, IIf([First]=[Last], Val(Choose([First],[w],[x],[y],[z])), Val(Choose([First],[w],[x],[y],[z]))+Val(Choose([Last],[w],[x],[y],[z]))) AS Series FROM tblGuru; This will return, which differs from your example but is according to your specification: Max Series 1 2 5 6 4 4 3 5 1 2 1 1 /gustav >>> wdhindman at dejpolsystems.com 02-11-2007 19:45:35 >>> ...ok, you too, eh :) ...given: fields w x y z max series data1 1 1 1 2 data2 1 5 5 3 data3 1 4 3 3 4 data4 2 3 3 2 data5 1 1 1 1 1 4 data6 1 1 1 1) where max is the largest number in w/x/y/z and 2) where series is the total fields between the first one containing a number and the last containing a number 3) where empty fields contain "" rather than nulls ...two days and I've yet to come up with an answer to fill the max and series fields from the data in w/x/y/z. ...help! William From wdhindman at dejpolsystems.com Fri Nov 2 14:46:00 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 2 Nov 2007 15:46:00 -0400 Subject: [AccessD] ...gurus only References: Message-ID: <000501c81d88$ff0d2b30$0c10a8c0@jisshowsbs.local> ...ah me ...leave it to you to catch that one, no wonder I've been spinning in circles ...the fields are indeed long integers though I can convert them readily :) William ----- Original Message ----- From: "Drew Wutka" To: "Access Developers discussion and problem solving" Sent: Friday, November 02, 2007 3:31 PM Subject: Re: [AccessD] ...gurus only > Hang on William, got a solution for you...have it posted in a > minute...one quick question, when you said the fields aren't null, but > are "", are you saying that they are text fields? Just curious, not > sure if I need to force the data to be numeric... I'll have it posted in > a minute. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Friday, November 02, 2007 2:24 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] ...gurus only > > ...the table was built from a crosstab query ...why? > > William > > ----- Original Message ----- > From: "Susan Harkins" > To: "Access Developers discussion and problem solving" > > Sent: Friday, November 02, 2007 2:58 PM > Subject: Re: [AccessD] ...gurus only > > >> Is this a crosstab? >> >> Susan H. >> >> >>> ...ok, you too, eh :) >>> >>> ...given: >>> >>> fields w x y z max series >>> data1 1 1 1 2 >>> data2 1 5 5 3 >>> data3 1 4 3 3 4 >>> data4 2 3 3 2 >>> data5 1 1 1 1 1 4 >>> data6 1 1 1 >>> >>> 1) where max is the largest number in w/x/y/z and >>> 2) where series is the total fields between the first one containing > a >>> number and the last containing a number >>> 3) where empty fields contain "" rather than nulls >>> >>> ...two days and I've yet to come up with an answer to fill the max > and >>> series fields from the data in w/x/y/z. >>> >>> ...help! >>> >>> William >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/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 BusinessSensitve 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 wdhindman at dejpolsystems.com Fri Nov 2 14:46:57 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 2 Nov 2007 15:46:57 -0400 Subject: [AccessD] ...gurus only References: <001601c81d80$8e6df790$0c10a8c0@jisshowsbs.local><003601c81d82$669a6e90$4b3a8343@SusanOne><000501c81d85$ee2b9a70$0c10a8c0@jisshowsbs.local> <007e01c81d86$b53bafb0$4b3a8343@SusanOne> Message-ID: <000901c81d89$20fac6d0$0c10a8c0@jisshowsbs.local> ...its a possibility Susan but I can't see a way do it. William ----- Original Message ----- From: "Susan Harkins" To: "Access Developers discussion and problem solving" Sent: Friday, November 02, 2007 3:29 PM Subject: Re: [AccessD] ...gurus only > Well, it does look like a crosstab and I thought if you could do it in the > crosstab, might be easier, but no, I don't have a solution for you. > > Susan H. > > >> ...the table was built from a crosstab query ...why? > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Fri Nov 2 15:05:02 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 2 Nov 2007 16:05:02 -0400 Subject: [AccessD] ...gurus only References: Message-ID: <000f01c81d8b$a7abe860$0c10a8c0@jisshowsbs.local> ...thanks gustav but: ...I'm busted again ...there was an error in the data3 max ...sigh ...given: fields w x y z max series data1 1 1 1 2 data2 1 5 5 3 data3 1 4 3 4 4 data4 2 3 3 2 data5 1 1 1 1 1 4 data6 1 1 1 1) where max is the largest number in w/x/y/z and 2) where series is the total number of fields between the first one containing a number and the last containing a number, not the total of the field contents. 3) where w/x/y/z are long integers for some stupid reason since it will allways be a single digit ...I ask for guru help and everyone starts exposing why I need it :( ...there is a desperate shortage of caffiene in my bloodstream ...that's my story and I'm sticking to it :) William ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, November 02, 2007 3:40 PM Subject: Re: [AccessD] ...gurus only > Hi William > > Here is one method using Choose(): > > SELECT > ID, > w, > x, > y, > z, > IIf(Val("" & [w])>Val("" & [x]), > Val("" & [w]), > Val("" & [x])) AS Max12, > IIf(Val("" & [y])>Val("" & [z]), > Val("" & [y]), > Val("" & [z])) AS Max34, > IIf(Val("" & [w])>0, > 1, > IIf(Val("" & [x])>0, > 2, > IIf(Val("" & [y])>0, > 3, > IIf(Val("" & [z])>0, > 4, > 0)))) AS > First, > IIf(Val("" & [z])>0, > 4, > IIf(Val("" & [y])>0, > 3, > IIf(Val("" & [x])>0, > 2, > IIf(Val("" & [w])>0, > 1, > 0)))) AS > Last, > IIf([Max12]>[Max34], > [Max12], > [Max34]) AS > Max, > IIf([First]=[Last], > Val(Choose([First],[w],[x],[y],[z])), > > Val(Choose([First],[w],[x],[y],[z]))+Val(Choose([Last],[w],[x],[y],[z]))) > AS > Series > FROM > tblGuru; > > > This will return, which differs from your example but is according to your > specification: > > Max Series > 1 2 > 5 6 > 4 4 > 3 5 > 1 2 > 1 1 > > /gustav > >>>> wdhindman at dejpolsystems.com 02-11-2007 19:45:35 >>> > ...ok, you too, eh :) > > ...given: > > fields w x y z max series > data1 1 1 1 2 > data2 1 5 5 3 > data3 1 4 3 3 4 > data4 2 3 3 2 > data5 1 1 1 1 1 4 > data6 1 1 1 > > 1) where max is the largest number in w/x/y/z and > 2) where series is the total fields between the first one containing a > number and the last containing a number > 3) where empty fields contain "" rather than nulls > > ...two days and I've yet to come up with an answer to fill the max and > series fields from the data in w/x/y/z. > > ...help! > > William > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From DWUTKA at Marlow.com Fri Nov 2 15:08:01 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Fri, 2 Nov 2007 15:08:01 -0500 Subject: [AccessD] ...gurus only In-Reply-To: <000501c81d88$ff0d2b30$0c10a8c0@jisshowsbs.local> Message-ID: To do this with just queries isn't too difficult, though the series (by your definition) requires a little logic checking. You could probably do this with just one query, but what I tested uses two. A Union query, and then a totals query. The Union query takes your W,X,Y, and Z fields and puts them in the same field: SELECT ALL W As Field, IIF(Not IsNull([W]),1,0) AS FieldHasData, ID FROM tblWilliam UNION ALL SELECT X As Field, IIF(Not IsNull([X]),1,IIF((Not IsNull([W])) AND (Not IsNull([Y]) OR Not IsNull([Z])),1,0)) AS FieldHasData, ID FROM tblWilliam UNION ALL SELECT Y As Field, IIF(Not IsNull([Y]),1,IIF((Not IsNull([W]) OR Not IsNull([Y])) AND Not IsNull([Z]),1,0)) AS FieldHasData, ID FROM tblWilliam UNION ALL SELECT Z As Field, IIF(Not IsNull([Z]),1,0) AS FieldHasData, ID FROM tblWilliam; Note: My test table has ID as an AutoNumber, and then fields W,X,Y, And Z as long integers. It's important to use the ALL statement in this thing, because Union queries default to not showing records with duplicate data. Next, we can now use a simple totals query to get the results you want: SELECT tblWilliam.ID, Sum(qryUnionedFields.FieldHasData) AS SumOfFieldHasData, tblWilliam.W, tblWilliam.X, tblWilliam.Y, tblWilliam.Z, Max(qryUnionedFields.Field) AS MaxOfField FROM tblWilliam INNER JOIN qryUnionedFields ON tblWilliam.ID = qryUnionedFields.ID GROUP BY tblWilliam.ID, tblWilliam.W, tblWilliam.X, tblWilliam.Y, tblWilliam.Z ORDER BY tblWilliam.ID; Note that the Max field is simple, it's just Maxing the values in the union query based on the ID field. The series is summing that 'middle' field in the Union query, which, by the logic we put in the union query, shows a 1 if it needs to be counted in the series 'sum'. I'll send you the sample db I whipped this up in, offline. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, November 02, 2007 2:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ...gurus only ...ah me ...leave it to you to catch that one, no wonder I've been spinning in circles ...the fields are indeed long integers though I can convert them readily :) William 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 BusinessSensitve 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 wdhindman at dejpolsystems.com Fri Nov 2 15:16:09 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 2 Nov 2007 16:16:09 -0400 Subject: [AccessD] ...gurus only References: <001601c81d80$8e6df790$0c10a8c0@jisshowsbs.local> <00a401c81d87$cd0beb40$0301a8c0@HAL9005> Message-ID: <001001c81d8d$3579fb40$0c10a8c0@jisshowsbs.local> ...looks can be deceiving :) William ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Friday, November 02, 2007 3:37 PM Subject: Re: [AccessD] ...gurus only > This looks like an easy job for a bit of code. And a real tough job for > queries. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Friday, November 02, 2007 11:46 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] ...gurus only > > ...ok, you too, eh :) > > ...given: > > fields w x y z max series > data1 1 1 1 2 > data2 1 5 5 3 > data3 1 4 3 3 4 > data4 2 3 3 2 > data5 1 1 1 1 1 4 > data6 1 1 1 > > 1) where max is the largest number in w/x/y/z and > 2) where series is the total fields between the first one containing a > number and the last containing a number > 3) where empty fields contain "" rather than nulls > > ...two days and I've yet to come up with an answer to fill the max and > series fields from the data in w/x/y/z. > > ...help! > > William > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.15.18/1104 - Release Date: > 11/1/2007 > 6:47 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Nov 2 15:16:55 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 02 Nov 2007 21:16:55 +0100 Subject: [AccessD] ...gurus only Message-ID: Hi William 1) No problem. 2) Sorry, now I understand. Use this for Series: IIf([First]+[Last]=0, 0, 1+[Last]-[First]) AS Series 3) If you expect "" for empty fields, values must be strings. That's why I use Val() to convert to Integers. /gustav >>> wdhindman at dejpolsystems.com 02-11-2007 21:05:02 >>> ...thanks gustav but: ...I'm busted again ...there was an error in the data3 max ...sigh ...given: fields w x y z max series data1 1 1 1 2 data2 1 5 5 3 data3 1 4 3 4 4 data4 2 3 3 2 data5 1 1 1 1 1 4 data6 1 1 1 1) where max is the largest number in w/x/y/z and 2) where series is the total number of fields between the first one containing a number and the last containing a number, not the total of the field contents. 3) where w/x/y/z are long integers for some stupid reason since it will allways be a single digit ...I ask for guru help and everyone starts exposing why I need it :( ...there is a desperate shortage of caffiene in my bloodstream ...that's my story and I'm sticking to it :) William ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, November 02, 2007 3:40 PM Subject: Re: [AccessD] ...gurus only > Hi William > > Here is one method using Choose(): > > SELECT > ID, > w, > x, > y, > z, > IIf(Val("" & [w])>Val("" & [x]), > Val("" & [w]), > Val("" & [x])) AS Max12, > IIf(Val("" & [y])>Val("" & [z]), > Val("" & [y]), > Val("" & [z])) AS Max34, > IIf(Val("" & [w])>0, > 1, > IIf(Val("" & [x])>0, > 2, > IIf(Val("" & [y])>0, > 3, > IIf(Val("" & [z])>0, > 4, > 0)))) AS > First, > IIf(Val("" & [z])>0, > 4, > IIf(Val("" & [y])>0, > 3, > IIf(Val("" & [x])>0, > 2, > IIf(Val("" & [w])>0, > 1, > 0)))) AS > Last, > IIf([Max12]>[Max34], > [Max12], > [Max34]) AS > Max, > IIf([First]=[Last], > Val(Choose([First],[w],[x],[y],[z])), > > Val(Choose([First],[w],[x],[y],[z]))+Val(Choose([Last],[w],[x],[y],[z]))) > AS > Series > FROM > tblGuru; > > > This will return, which differs from your example but is according to your > specification: > > Max Series > 1 2 > 5 6 > 4 4 > 3 5 > 1 2 > 1 1 > > /gustav > >>>> wdhindman at dejpolsystems.com 02-11-2007 19:45:35 >>> > ...ok, you too, eh :) > > ...given: > > fields w x y z max series > data1 1 1 1 2 > data2 1 5 5 3 > data3 1 4 3 3 4 > data4 2 3 3 2 > data5 1 1 1 1 1 4 > data6 1 1 1 > > 1) where max is the largest number in w/x/y/z and > 2) where series is the total fields between the first one containing a > number and the last containing a number > 3) where empty fields contain "" rather than nulls > > ...two days and I've yet to come up with an answer to fill the max and > series fields from the data in w/x/y/z. > > ...help! > > William From wdhindman at dejpolsystems.com Fri Nov 2 15:22:19 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 2 Nov 2007 16:22:19 -0400 Subject: [AccessD] ...gurus only References: Message-ID: <001401c81d8e$11e94180$0c10a8c0@jisshowsbs.local> ...sigh ...I've probably tried at least 50 different qry approaches before trying to write code to do it ...I'll give this one a shot ...tks :) William ----- Original Message ----- From: "Drew Wutka" To: "Access Developers discussion and problem solving" Sent: Friday, November 02, 2007 4:08 PM Subject: Re: [AccessD] ...gurus only > To do this with just queries isn't too difficult, though the series (by > your definition) requires a little logic checking. You could probably > do this with just one query, but what I tested uses two. A Union query, > and then a totals query. The Union query takes your W,X,Y, and Z fields > and puts them in the same field: > > SELECT ALL W As Field, IIF(Not IsNull([W]),1,0) AS FieldHasData, ID > FROM tblWilliam > UNION ALL SELECT X As Field, IIF(Not IsNull([X]),1,IIF((Not IsNull([W])) > AND (Not IsNull([Y]) OR Not IsNull([Z])),1,0)) AS FieldHasData, ID > FROM tblWilliam > UNION ALL SELECT Y As Field, IIF(Not IsNull([Y]),1,IIF((Not IsNull([W]) > OR Not IsNull([Y])) AND Not IsNull([Z]),1,0)) AS FieldHasData, ID > FROM tblWilliam > UNION ALL SELECT Z As Field, IIF(Not IsNull([Z]),1,0) AS FieldHasData, > ID > FROM tblWilliam; > > Note: My test table has ID as an AutoNumber, and then fields W,X,Y, And > Z as long integers. It's important to use the ALL statement in this > thing, because Union queries default to not showing records with > duplicate data. > > Next, we can now use a simple totals query to get the results you want: > > SELECT tblWilliam.ID, Sum(qryUnionedFields.FieldHasData) AS > SumOfFieldHasData, tblWilliam.W, tblWilliam.X, tblWilliam.Y, > tblWilliam.Z, Max(qryUnionedFields.Field) AS MaxOfField > FROM tblWilliam INNER JOIN qryUnionedFields ON tblWilliam.ID = > qryUnionedFields.ID > GROUP BY tblWilliam.ID, tblWilliam.W, tblWilliam.X, tblWilliam.Y, > tblWilliam.Z > ORDER BY tblWilliam.ID; > > Note that the Max field is simple, it's just Maxing the values in the > union query based on the ID field. The series is summing that 'middle' > field in the Union query, which, by the logic we put in the union query, > shows a 1 if it needs to be counted in the series 'sum'. > > I'll send you the sample db I whipped this up in, offline. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Friday, November 02, 2007 2:46 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] ...gurus only > > ...ah me ...leave it to you to catch that one, no wonder I've been > spinning > in circles ...the fields are indeed long integers though I can convert > them > readily :) > > William > > 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 BusinessSensitve 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 wdhindman at dejpolsystems.com Fri Nov 2 15:32:10 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 2 Nov 2007 16:32:10 -0400 Subject: [AccessD] ...gurus only References: Message-ID: <002001c81d8f$72364ff0$0c10a8c0@jisshowsbs.local> ...tks gustav ...I'll give this a shot ...suddenly my cup runneth over ...ain't no place like AccessD :) ...now if only I could learn to swallow my pride and just ask before spending days running in circles. William ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, November 02, 2007 4:16 PM Subject: Re: [AccessD] ...gurus only > Hi William > > 1) No problem. > > 2) Sorry, now I understand. > Use this for Series: > > IIf([First]+[Last]=0, > 0, > 1+[Last]-[First]) AS > Series > > 3) If you expect "" for empty fields, values must be strings. That's why I > use Val() to convert to Integers. > > /gustav > > >>>> wdhindman at dejpolsystems.com 02-11-2007 21:05:02 >>> > ...thanks gustav but: > ...I'm busted again ...there was an error in the data3 max ...sigh > ...given: > > fields w x y z max series > data1 1 1 1 2 > data2 1 5 5 3 > data3 1 4 3 4 4 > data4 2 3 3 2 > data5 1 1 1 1 1 4 > data6 1 1 1 > > 1) where max is the largest number in w/x/y/z and > 2) where series is the total number of fields between the first one > containing a > number and the last containing a number, not the total of the field > contents. > 3) where w/x/y/z are long integers for some stupid reason since it will > allways be a single digit > > ...I ask for guru help and everyone starts exposing why I need it :( > ...there is a desperate shortage of caffiene in my bloodstream ...that's > my > story and I'm sticking to it :) > > William > > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Friday, November 02, 2007 3:40 PM > Subject: Re: [AccessD] ...gurus only > > >> Hi William >> >> Here is one method using Choose(): >> >> SELECT >> ID, >> w, >> x, >> y, >> z, >> IIf(Val("" & [w])>Val("" & [x]), >> Val("" & [w]), >> Val("" & [x])) AS Max12, >> IIf(Val("" & [y])>Val("" & [z]), >> Val("" & [y]), >> Val("" & [z])) AS Max34, >> IIf(Val("" & [w])>0, >> 1, >> IIf(Val("" & [x])>0, >> 2, >> IIf(Val("" & [y])>0, >> 3, >> IIf(Val("" & [z])>0, >> 4, >> 0)))) AS >> First, >> IIf(Val("" & [z])>0, >> 4, >> IIf(Val("" & [y])>0, >> 3, >> IIf(Val("" & [x])>0, >> 2, >> IIf(Val("" & [w])>0, >> 1, >> 0)))) AS >> Last, >> IIf([Max12]>[Max34], >> [Max12], >> [Max34]) AS >> Max, >> IIf([First]=[Last], >> Val(Choose([First],[w],[x],[y],[z])), >> >> Val(Choose([First],[w],[x],[y],[z]))+Val(Choose([Last],[w],[x],[y],[z]))) >> AS >> Series >> FROM >> tblGuru; >> >> >> This will return, which differs from your example but is according to >> your >> specification: >> >> Max Series >> 1 2 >> 5 6 >> 4 4 >> 3 5 >> 1 2 >> 1 1 >> >> /gustav >> >>>>> wdhindman at dejpolsystems.com 02-11-2007 19:45:35 >>> >> ...ok, you too, eh :) >> >> ...given: >> >> fields w x y z max series >> data1 1 1 1 2 >> data2 1 5 5 3 >> data3 1 4 3 3 4 >> data4 2 3 3 2 >> data5 1 1 1 1 1 4 >> data6 1 1 1 >> >> 1) where max is the largest number in w/x/y/z and >> 2) where series is the total fields between the first one containing a >> number and the last containing a number >> 3) where empty fields contain "" rather than nulls >> >> ...two days and I've yet to come up with an answer to fill the max and >> series fields from the data in w/x/y/z. >> >> ...help! >> >> William > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From DWUTKA at Marlow.com Fri Nov 2 15:25:59 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Fri, 2 Nov 2007 15:25:59 -0500 Subject: [AccessD] ...gurus only (Better Solution) In-Reply-To: Message-ID: That'll teach me to do this stuff without a smoke break all afternoon. Just realized there's an even easier way to do this. Instead of all that logic in the union query, we can get the same results mathematically. Here's the new Union Query: SELECT ALL W As Field, IIF(Not IsNull([W]),1,null) AS FieldHasData, ID FROM tblWilliam UNION ALL SELECT X As Field, IIF(Not IsNull([X]),2,null) AS FieldHasData, ID FROM tblWilliam UNION ALL SELECT Y As Field, IIF(Not IsNull([Y]),3,null) AS FieldHasData, ID FROM tblWilliam UNION ALL SELECT Z As Field, IIF(Not IsNull([Z]),4,null) AS FieldHasData, ID FROM tblWilliam; Note that all the goofy logic is gone. Instead, if that field is not null, it gets a value equal to it's position (1 through 4, equating to W,X,Y,and Z). If it doesn't have a value, then FieldHasData is Null. With that in mind, instead of summing that field, we make the Series field be the Max-Min of FieldHasData + 1. Here's the new totals query: SELECT tblWilliam.ID, Max([FieldHasData])-Min([FieldHasData])+1 AS Series, tblWilliam.W, tblWilliam.X, tblWilliam.Y, tblWilliam.Z, Max(qryUnionedFields.Field) AS MaxOfField FROM tblWilliam INNER JOIN qryUnionedFields ON tblWilliam.ID = qryUnionedFields.ID GROUP BY tblWilliam.ID, tblWilliam.W, tblWilliam.X, tblWilliam.Y, tblWilliam.Z ORDER BY tblWilliam.ID; That way, if you need to add or remove fields, all you have to do is add another line to the union query (and add the field to the totals query), and the only 'check' would be to make sure that the 'true' part of the IIF statement is sequenced (1, 2, 3,...etc). Next time you have a problem like this, start with 'Drew, I'm trying too..... now, go smoke, and tell me how to do that. ' ;) Drew 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 BusinessSensitve 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 Gustav at cactus.dk Fri Nov 2 15:39:41 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 02 Nov 2007 21:39:41 +0100 Subject: [AccessD] ...gurus only Message-ID: Hi William It might be a sign of stress ... Friday beer and weekend and fun is approaching! /gustav >>> wdhindman at dejpolsystems.com 02-11-2007 21:32:10 >>> ...tks gustav ...I'll give this a shot ...suddenly my cup runneth over ...ain't no place like AccessD :) ...now if only I could learn to swallow my pride and just ask before spending days running in circles. William From DWUTKA at Marlow.com Fri Nov 2 15:38:43 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Fri, 2 Nov 2007 15:38:43 -0500 Subject: [AccessD] ...gurus only In-Reply-To: <001001c81d8d$3579fb40$0c10a8c0@jisshowsbs.local> Message-ID: LOL, I'll tell ya, if I learned anything about SQL in my years playing with Access, it's that using plain old queries, such as what the wizard does automatically for you is like riding a bike. Using union queries and subqueries is like riding a space shuttle. You can go A LOT further in it, though it's slightly more complex to operate! ;) The key is to remember that queries are great for dealing with vertical data (columns). You can sum a column simply by saying Sum([SomeField]), and it doesn't matter if there are a million records, it sums it off that one line. But if you need to Sum a Row, you have to build it [SomeField]+[AnotherField]+[YetAnotherField]. This works, but if more fields are added, it can be a pain, cause you have to adjust the statements. With a Union Query, you can take the horizontal, and make it vertical...which, admittedly, if you add more fields, you still have to change the union query (unless you build it on the fly), but it's much cleaner, and easier to deal with. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, November 02, 2007 3:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ...gurus only ...looks can be deceiving :) William ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Friday, November 02, 2007 3:37 PM Subject: Re: [AccessD] ...gurus only > This looks like an easy job for a bit of code. And a real tough job for > queries. > > Rocky > 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 BusinessSensitve 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 markamatte at hotmail.com Fri Nov 2 15:44:24 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 2 Nov 2007 20:44:24 +0000 Subject: [AccessD] ...gurus only In-Reply-To: <002001c81d8f$72364ff0$0c10a8c0@jisshowsbs.local> References: <002001c81d8f$72364ff0$0c10a8c0@jisshowsbs.local> Message-ID: > ...now if only I could learn to swallow my pride and just ask before > spending days running in circles. ...ouch...you're gonna hate this suggestion. Guessing from your description below...you used about 3 fields in your original table to get this output. We'll use the fields: field1=Set---this is where your data1,data2 stuff went field2=Value---this is where your 1,2,5,4,2,3,4...went field3=Ltr--(letter)...where your w,x,y,z Assuming this is how your data is stored...the results you want can be achieved using a single crosstab. Good Luck, Mark A. Matte ************SQL************* TRANSFORM Sum(tblDataTest.Value) AS SumOfValueSELECT tblDataTest.Set, Max(tblDataTest.Value) AS MaxOfValue, Count(*) AS SeriesFROM tblDataTestGROUP BY tblDataTest.SetPIVOT tblDataTest.Ltr; ************SQL************* > From: wdhindman at dejpolsystems.com> To: accessd at databaseadvisors.com> Date: Fri, 2 Nov 2007 16:32:10 -0400> Subject: Re: [AccessD] ...gurus only> > ...tks gustav ...I'll give this a shot ...suddenly my cup runneth over > ...ain't no place like AccessD :)> ...now if only I could learn to swallow my pride and just ask before > spending days running in circles.> > William> > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Friday, November 02, 2007 4:16 PM> Subject: Re: [AccessD] ...gurus only> > > > Hi William> >> > 1) No problem.> >> > 2) Sorry, now I understand.> > Use this for Series:> >> > IIf([First]+[Last]=0,> > 0,> > 1+[Last]-[First]) AS> > Series> >> > 3) If you expect "" for empty fields, values must be strings. That's why I > > use Val() to convert to Integers.> >> > /gustav> >> >> >>>> wdhindman at dejpolsystems.com 02-11-2007 21:05:02 >>>> > ...thanks gustav but:> > ...I'm busted again ...there was an error in the data3 max ...sigh> > ...given:> >> > fields w x y z max series> > data1 1 1 1 2> > data2 1 5 5 3> > data3 1 4 3 4 4> > data4 2 3 3 2> > data5 1 1 1 1 1 4> > data6 1 1 1> >> > 1) where max is the largest number in w/x/y/z and> > 2) where series is the total number of fields between the first one> > containing a> > number and the last containing a number, not the total of the field> > contents.> > 3) where w/x/y/z are long integers for some stupid reason since it will> > allways be a single digit> >> > ...I ask for guru help and everyone starts exposing why I need it :(> > ...there is a desperate shortage of caffiene in my bloodstream ...that's > > my> > story and I'm sticking to it :)> >> > William> >> > ----- Original Message ----- > > From: "Gustav Brock" > > To: > > Sent: Friday, November 02, 2007 3:40 PM> > Subject: Re: [AccessD] ...gurus only> >> >> >> Hi William> >>> >> Here is one method using Choose():> >>> >> SELECT> >> ID,> >> w,> >> x,> >> y,> >> z,> >> IIf(Val("" & [w])>Val("" & [x]),> >> Val("" & [w]),> >> Val("" & [x])) AS Max12,> >> IIf(Val("" & [y])>Val("" & [z]),> >> Val("" & [y]),> >> Val("" & [z])) AS Max34,> >> IIf(Val("" & [w])>0,> >> 1,> >> IIf(Val("" & [x])>0,> >> 2,> >> IIf(Val("" & [y])>0,> >> 3,> >> IIf(Val("" & [z])>0,> >> 4,> >> 0)))) AS> >> First,> >> IIf(Val("" & [z])>0,> >> 4,> >> IIf(Val("" & [y])>0,> >> 3,> >> IIf(Val("" & [x])>0,> >> 2,> >> IIf(Val("" & [w])>0,> >> 1,> >> 0)))) AS> >> Last,> >> IIf([Max12]>[Max34],> >> [Max12],> >> [Max34]) AS> >> Max,> >> IIf([First]=[Last],> >> Val(Choose([First],[w],[x],[y],[z])),> >>> >> Val(Choose([First],[w],[x],[y],[z]))+Val(Choose([Last],[w],[x],[y],[z])))> >> AS> >> Series> >> FROM> >> tblGuru;> >>> >>> >> This will return, which differs from your example but is according to > >> your> >> specification:> >>> >> Max Series> >> 1 2> >> 5 6> >> 4 4> >> 3 5> >> 1 2> >> 1 1> >>> >> /gustav> >>> >>>>> wdhindman at dejpolsystems.com 02-11-2007 19:45:35 >>>> >> ...ok, you too, eh :)> >>> >> ...given:> >>> >> fields w x y z max series> >> data1 1 1 1 2> >> data2 1 5 5 3> >> data3 1 4 3 3 4> >> data4 2 3 3 2> >> data5 1 1 1 1 1 4> >> data6 1 1 1> >>> >> 1) where max is the largest number in w/x/y/z and> >> 2) where series is the total fields between the first one containing a> >> number and the last containing a number> >> 3) where empty fields contain "" rather than nulls> >>> >> ...two days and I've yet to come up with an answer to fill the max and> >> series fields from the data in w/x/y/z.> >>> >> ...help!> >>> >> William> >> >> >> > -- > > AccessD mailing list> > AccessD at databaseadvisors.com> > http://databaseadvisors.com/mailman/listinfo/accessd> > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list> AccessD at databaseadvisors.com> http://databaseadvisors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com _________________________________________________________________ Peek-a-boo FREE Tricks & Treats for You! http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us From DWUTKA at Marlow.com Fri Nov 2 15:55:31 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Fri, 2 Nov 2007 15:55:31 -0500 Subject: [AccessD] ...gurus only In-Reply-To: <001401c81d8e$11e94180$0c10a8c0@jisshowsbs.local> Message-ID: No problem, but don't use THIS example, use my second one, which just posted. This example uses logic for that 'FieldHasData' field, which if you have more or less fields, you're going to go bonkers writing that. My 'fix' is FAR easier. To Add a field, you would just add the following line to the union query: UNION ALL SELECT XYZ As Field, IIF(Not IsNull([XYZ]),5,null) AS FieldHasData, ID FROM tblWilliam; And then add the XYZ field to the totals query (which you can do through the query builder). The only 'trick' is making sure that the true part of the IIF field is sequential in the order that you want to check the series in. Honestly, I wrote the example in less time then it would have taken to write code for it...plus, the finished result is just a plain old query, which is easy to push into a form or report. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, November 02, 2007 3:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ...gurus only ...sigh ...I've probably tried at least 50 different qry approaches before trying to write code to do it ...I'll give this one a shot ...tks :) William ----- Original Message ----- From: "Drew Wutka" To: "Access Developers discussion and problem solving" Sent: Friday, November 02, 2007 4:08 PM Subject: Re: [AccessD] ...gurus only > To do this with just queries isn't too difficult, though the series (by > your definition) requires a little logic checking. You could probably > do this with just one query, but what I tested uses two. A Union query, > and then a totals query. The Union query takes your W,X,Y, and Z fields > and puts them in the same field: > > SELECT ALL W As Field, IIF(Not IsNull([W]),1,0) AS FieldHasData, ID > FROM tblWilliam > UNION ALL SELECT X As Field, IIF(Not IsNull([X]),1,IIF((Not IsNull([W])) > AND (Not IsNull([Y]) OR Not IsNull([Z])),1,0)) AS FieldHasData, ID > FROM tblWilliam > UNION ALL SELECT Y As Field, IIF(Not IsNull([Y]),1,IIF((Not IsNull([W]) > OR Not IsNull([Y])) AND Not IsNull([Z]),1,0)) AS FieldHasData, ID > FROM tblWilliam > UNION ALL SELECT Z As Field, IIF(Not IsNull([Z]),1,0) AS FieldHasData, > ID > FROM tblWilliam; > > Note: My test table has ID as an AutoNumber, and then fields W,X,Y, And > Z as long integers. It's important to use the ALL statement in this > thing, because Union queries default to not showing records with > duplicate data. > > Next, we can now use a simple totals query to get the results you want: > > SELECT tblWilliam.ID, Sum(qryUnionedFields.FieldHasData) AS > SumOfFieldHasData, tblWilliam.W, tblWilliam.X, tblWilliam.Y, > tblWilliam.Z, Max(qryUnionedFields.Field) AS MaxOfField > FROM tblWilliam INNER JOIN qryUnionedFields ON tblWilliam.ID = > qryUnionedFields.ID > GROUP BY tblWilliam.ID, tblWilliam.W, tblWilliam.X, tblWilliam.Y, > tblWilliam.Z > ORDER BY tblWilliam.ID; > > Note that the Max field is simple, it's just Maxing the values in the > union query based on the ID field. The series is summing that 'middle' > field in the Union query, which, by the logic we put in the union query, > shows a 1 if it needs to be counted in the series 'sum'. > > I'll send you the sample db I whipped this up in, offline. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Friday, November 02, 2007 2:46 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] ...gurus only > > ...ah me ...leave it to you to catch that one, no wonder I've been > spinning > in circles ...the fields are indeed long integers though I can convert > them > readily :) > > William > > 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 BusinessSensitve 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 BusinessSensitve 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 ab-mi at post3.tele.dk Fri Nov 2 16:17:12 2007 From: ab-mi at post3.tele.dk (Asger Blond) Date: Fri, 2 Nov 2007 22:17:12 +0100 Subject: [AccessD] ...gurus only In-Reply-To: <001601c81d80$8e6df790$0c10a8c0@jisshowsbs.local> Message-ID: <000001c81d95$bc8d7960$2101a8c0@AB> If empty fields contain "" rather than nulls, then the fields are supposed to be text - and you could use a query like this: SELECT w, x, y, z, IIf([x]>[w] Or [y]>[x] Or [z]>[y],IIf([y]>[x] Or ([z]>[y] And [z]>[x]),IIf([z]>[y],[z],[y]),[x]),[w]) AS [Max], -(IsNumeric([w])+IsNumeric([x])+IsNumeric([y])+IsNumeric([z])) AS [Series] FROM tblTest Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af William Hindman Sendt: 2. november 2007 19:46 Til: Access Developers discussion and problem solving Emne: [AccessD] ...gurus only ...ok, you too, eh :) ...given: fields w x y z max series data1 1 1 1 2 data2 1 5 5 3 data3 1 4 3 3 4 data4 2 3 3 2 data5 1 1 1 1 1 4 data6 1 1 1 1) where max is the largest number in w/x/y/z and 2) where series is the total fields between the first one containing a number and the last containing a number 3) where empty fields contain "" rather than nulls ...two days and I've yet to come up with an answer to fill the max and series fields from the data in w/x/y/z. ...help! William -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Fri Nov 2 16:15:48 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Nov 2007 17:15:48 -0400 Subject: [AccessD] ...gurus only References: <002001c81d8f$72364ff0$0c10a8c0@jisshowsbs.local> Message-ID: <010e01c81d95$8d6e0730$4b3a8343@SusanOne> > Assuming this is how your data is stored...the results you want can be > achieved using a single crosstab. =======That's what I thought. Susan H. From dwaters at usinternet.com Fri Nov 2 16:32:10 2007 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 2 Nov 2007 16:32:10 -0500 Subject: [AccessD] ...gurus only In-Reply-To: <001601c81d80$8e6df790$0c10a8c0@jisshowsbs.local> References: <001601c81d80$8e6df790$0c10a8c0@jisshowsbs.local> Message-ID: <001801c81d97$d3cd3f50$0200a8c0@danwaters> Hi William, I can envision doing this while looping through the recordset. But what I would do that's a little different is to not refer to w,x,y, or z, but rather use the index value of the fields. So instead of rst("w") use rst(1) (or is it rst(0)??). If you replace 1 with lngField you can give yourself some control over what the code is doing. You'll need to walk through the fields for max like: Do while lngField<=4 If lngMax < rst(lngField) then lngMax = rst(lngField) endif lngField = lngField + 1 loop rst("Max") = lngMax Then do something similar for your total fields column. Hope this helps! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, November 02, 2007 1:46 PM To: Access Developers discussion and problem solving Subject: [AccessD] ...gurus only ...ok, you too, eh :) ...given: fields w x y z max series data1 1 1 1 2 data2 1 5 5 3 data3 1 4 3 3 4 data4 2 3 3 2 data5 1 1 1 1 1 4 data6 1 1 1 1) where max is the largest number in w/x/y/z and 2) where series is the total fields between the first one containing a number and the last containing a number 3) where empty fields contain "" rather than nulls ...two days and I've yet to come up with an answer to fill the max and series fields from the data in w/x/y/z. ...help! William -- 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 Fri Nov 2 18:27:57 2007 From: ab-mi at post3.tele.dk (Asger Blond) Date: Sat, 3 Nov 2007 00:27:57 +0100 Subject: [AccessD] ...gurus only In-Reply-To: <000001c81d95$bc8d7960$2101a8c0@AB> Message-ID: <000101c81da8$004b5f70$2101a8c0@AB> --correction, the query should be like this (supposing text data type and empty string "" as empty field value): SELECT w, x, y, z, IIf(val(x)>val(w) Or val(y)>val(w) Or val(z)>val(w), IIf(val(y)>val(x) Or val(z)>val(x), IIf(val(z)>val(y),val(z),val(y)),val(x)),val(w)) AS Max, -(IsNumeric(w)+IsNumeric(x)+IsNumeric(y)+IsNumeric(z)) AS Series FROM tblTest Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Asger Blond Sendt: 2. november 2007 22:17 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] ...gurus only If empty fields contain "" rather than nulls, then the fields are supposed to be text - and you could use a query like this: SELECT w, x, y, z, IIf([x]>[w] Or [y]>[x] Or [z]>[y],IIf([y]>[x] Or ([z]>[y] And [z]>[x]),IIf([z]>[y],[z],[y]),[x]),[w]) AS [Max], -(IsNumeric([w])+IsNumeric([x])+IsNumeric([y])+IsNumeric([z])) AS [Series] FROM tblTest Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af William Hindman Sendt: 2. november 2007 19:46 Til: Access Developers discussion and problem solving Emne: [AccessD] ...gurus only ...ok, you too, eh :) ...given: fields w x y z max series data1 1 1 1 2 data2 1 5 5 3 data3 1 4 3 3 4 data4 2 3 3 2 data5 1 1 1 1 1 4 data6 1 1 1 1) where max is the largest number in w/x/y/z and 2) where series is the total fields between the first one containing a number and the last containing a number 3) where empty fields contain "" rather than nulls ...two days and I've yet to come up with an answer to fill the max and series fields from the data in w/x/y/z. ...help! William -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 users.mns.ru Sat Nov 3 01:56:19 2007 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sat, 3 Nov 2007 09:56:19 +0300 Subject: [AccessD] OT: If he would have not arrived today, it could not be understood... Message-ID: <000001c81de6$a38bc970$6401a8c0@nant> Hi All, This post is a way off-topic and it's not easy weekend reading but I dare to post it here because it's related to the people of many nations and I expect this my post will be let through by moderators who allowed to have here a rather heated discussion about fires in California... No, I do not expect a heated discussion of this OT thread here. Just read it. This post has excerpts from an article published on 31-OCT-2007 here: http://www.kommersant.ru/doc.aspx?DocsID=820588 Here is its automated translation: http://www.translate.ru/url/tran_url.asp?lang=ru&url=http%3A%2F%2Fwww.kommer sant.ru%2Fdoc.aspx%3FDocsID%3D820588&direction=re&template=General&cp1=NO&cp 2=NO&autotranslate=on&transliterate=on&psubmit2.x=44&psubmit2.y=6 Below are the excerpts, which I tried to make more readable than referred above automated translation. My short comments are in brackets marked with (SS: ...). As you can find this article is far from being "an apologetics to the nowadays Russian Authorities"... I'm sorry that is all I can do now. Read on till the end and then you should get what a lot of people feel and think here. Thank you. <<<< If he would have not arrived today, it could not be understood... ================================================================= ...Yesterday, in Day of Memory of Victims of Political Reprisals, the president of Russia Vladimir Putin has arrived to Butovo where are buried more than 20 thousand of people shot to death in 1937-1938.... ...Here are buried more than 20 thousands of persons, - speaks diakon Dmitrij, and these are only about whom we precisely know. More than three hundreds of them are canonized, these are those from approximately thousand who passed on church affairs: not only clerics, but also church heads, and simply active laymen. First Russian pilot Danilevsky, troupe of one Baltic theatre with its full complement lays here... People of sixty nationalities are buried here: Greeks, Japanese, Germans... even an Epiopian... ...You go on a sanded pathway, and you realize, that what you now feel is "the ground burning under foots". To not touch it, to not tramble it down that is all what is required from you now. Because you never ever walk over the tombs before. Leaves rustle under foots, as pieces of polyfoam in hands. And you feel "frost on your skin"... ... - For us it is a real tragedy, - he (SS:Mr. Putin) has continued - the scale of this tragedy is enormous - millions of persons were banished, have been shot to death. And that were first of all people with their own opinion who were not afraid to openly express this their opinion... The most effective people, color of the nation were destroyed.... ...I (SS:this artcle author continues), maybe, first time have seen the confused president. - That's a complete crazyness (SS: umopomrachenie <- RUS), - has murmured the president. - it seems, that it is impossible to do that. For what?! (SS: for what all that people were executed to death?)... ...Father Cyril, the grandson of one of shot on this field, has made a helpless gesture and has added, that here the executors have shot the boy of twelve years. It was authorized to shoot only from fifteen, and they have attributed in the documents three superfluous years to the boy (to be "authorized" to kill him "legally"). They have also shot the seventy years old grandmother, and it is not clear for what reason she was shot do death.... ... - But memory is necessary to us not in itself, - spoke president. - but to determine the ways for development of the country... Political disputes, fights, struggle of opinions are necessary, but it is necessary, that this process would have not been destructive - it should be creative Now it should become clearer, why "United Russia" (SS: the most powerful political party here leaded by Mr.Putin for this year's December Russian Parliament Elections) will not participate in pre-election debate. These debate, probably, risk to become destructive for them (SS: for "United Russia" party).... >>>> -- Shamil From wdhindman at dejpolsystems.com Sat Nov 3 08:07:12 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sat, 3 Nov 2007 09:07:12 -0400 Subject: [AccessD] OT: If he would have not arrived today, it could not be understood... References: <000001c81de6$a38bc970$6401a8c0@nant> Message-ID: <001001c81e1a$73975660$6b706c4c@jisshowsbs.local> ...I don't "get" the last paragraph Shamil ...did you post this on OT? William ----- Original Message ----- From: "Shamil Salakhetdinov" To: "'Access-D'" Sent: Saturday, November 03, 2007 2:56 AM Subject: [AccessD] OT: If he would have not arrived today,it could not be understood... > > Hi All, > > This post is a way off-topic and it's not easy weekend reading but I dare > to > post it here because it's related to the people of many nations and I > expect > this my post will be let through by moderators who allowed to have here a > rather heated discussion about fires in California... > > No, I do not expect a heated discussion of this OT thread here. Just read > it. > > This post has excerpts from an article published on 31-OCT-2007 here: > > http://www.kommersant.ru/doc.aspx?DocsID=820588 > > Here is its automated translation: > > http://www.translate.ru/url/tran_url.asp?lang=ru&url=http%3A%2F%2Fwww.kommer > sant.ru%2Fdoc.aspx%3FDocsID%3D820588&direction=re&template=General&cp1=NO&cp > 2=NO&autotranslate=on&transliterate=on&psubmit2.x=44&psubmit2.y=6 > > Below are the excerpts, which I tried to make more readable than referred > above automated translation. My short comments are in brackets marked with > (SS: ...). As you can find this article is far from being "an apologetics > to > the nowadays Russian Authorities"... > > I'm sorry that is all I can do now. Read on till the end and then you > should > get what a lot of people feel and think here. Thank you. > > <<<< > If he would have not arrived today, it could not be understood... > ================================================================= > > ...Yesterday, in Day of Memory of Victims of Political Reprisals, the > president of Russia Vladimir Putin has arrived to Butovo where are buried > more than 20 thousand of people shot to death in 1937-1938.... > > ...Here are buried more than 20 thousands of persons, - speaks diakon > Dmitrij, and these are only about whom we precisely know. More than three > hundreds of them are canonized, these are those from approximately > thousand > who passed on church affairs: not only clerics, but also church heads, and > simply active laymen. First Russian pilot Danilevsky, troupe of one Baltic > theatre with its full complement lays here... People of sixty > nationalities > are buried here: Greeks, Japanese, Germans... even an Epiopian... > > ...You go on a sanded pathway, and you realize, that what you now feel is > "the ground burning under foots". To not touch it, to not tramble it down > that is all what is required from you now. Because you never ever walk > over > the tombs before. Leaves rustle under foots, as pieces of polyfoam in > hands. > And you feel "frost on your skin"... > > ... - For us it is a real tragedy, - he (SS:Mr. Putin) has continued - > the > scale of this tragedy is enormous - millions of persons were banished, > have > been shot to death. And that were first of all people with their own > opinion > who were not afraid to openly express this their opinion... The most > effective people, color of the nation were destroyed.... > > ...I (SS:this artcle author continues), maybe, first time have seen the > confused president. > > - That's a complete crazyness (SS: umopomrachenie <- RUS), - has murmured > the president. - it seems, that it is impossible to do that. For what?! > (SS: for what all that people were executed to death?)... > > ...Father Cyril, the grandson of one of shot on this field, has made a > helpless gesture and has added, that here the executors have shot the boy > of > twelve years. It was authorized to shoot only from fifteen, and they have > attributed in the documents three superfluous years to the boy (to be > "authorized" to kill him "legally"). They have also shot the seventy years > old grandmother, and it is not clear for what reason she was shot do > death.... > > ... - But memory is necessary to us not in itself, - spoke president. - > but > to determine the ways for development of the country... Political > disputes, > fights, struggle of opinions are necessary, but it is necessary, that this > process would have not been destructive - it should be creative > > Now it should become clearer, why "United Russia" (SS: the most powerful > political party here leaded by Mr.Putin for this year's December Russian > Parliament Elections) will not participate in pre-election debate. These > debate, probably, risk to become destructive for them (SS: for "United > Russia" party).... > >>>>> > > > -- > Shamil > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sat Nov 3 09:02:40 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 3 Nov 2007 07:02:40 -0700 Subject: [AccessD] OT: If he would have not arrived today, it could not be understood... In-Reply-To: <000001c81de6$a38bc970$6401a8c0@nant> References: <000001c81de6$a38bc970$6401a8c0@nant> Message-ID: <006701c81e22$32b3e1b0$0301a8c0@HAL9005> Shamil: "Political disputes, fights, struggle of opinions are necessary, but it is necessary, that this process would have not been destructive - it should be creative" Is this a coded way of saying that opposing views are not 'creative' and therefore not welcome in the debate? Is he trying to engineer a way to stay in power as a strong ruler if not dictator and undo or move away from the democratic reforms? Rocky Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, November 02, 2007 11:56 PM To: 'Access-D' Subject: [AccessD] OT: If he would have not arrived today,it could not be understood... Hi All, This post is a way off-topic and it's not easy weekend reading but I dare to post it here because it's related to the people of many nations and I expect this my post will be let through by moderators who allowed to have here a rather heated discussion about fires in California... No, I do not expect a heated discussion of this OT thread here. Just read it. This post has excerpts from an article published on 31-OCT-2007 here: http://www.kommersant.ru/doc.aspx?DocsID=820588 Here is its automated translation: http://www.translate.ru/url/tran_url.asp?lang=ru&url=http%3A%2F%2Fwww.kommer sant.ru%2Fdoc.aspx%3FDocsID%3D820588&direction=re&template=General&cp1=NO&cp 2=NO&autotranslate=on&transliterate=on&psubmit2.x=44&psubmit2.y=6 Below are the excerpts, which I tried to make more readable than referred above automated translation. My short comments are in brackets marked with (SS: ...). As you can find this article is far from being "an apologetics to the nowadays Russian Authorities"... I'm sorry that is all I can do now. Read on till the end and then you should get what a lot of people feel and think here. Thank you. <<<< If he would have not arrived today, it could not be understood... ================================================================= ...Yesterday, in Day of Memory of Victims of Political Reprisals, the president of Russia Vladimir Putin has arrived to Butovo where are buried more than 20 thousand of people shot to death in 1937-1938.... ...Here are buried more than 20 thousands of persons, - speaks diakon Dmitrij, and these are only about whom we precisely know. More than three hundreds of them are canonized, these are those from approximately thousand who passed on church affairs: not only clerics, but also church heads, and simply active laymen. First Russian pilot Danilevsky, troupe of one Baltic theatre with its full complement lays here... People of sixty nationalities are buried here: Greeks, Japanese, Germans... even an Epiopian... ...You go on a sanded pathway, and you realize, that what you now feel is "the ground burning under foots". To not touch it, to not tramble it down that is all what is required from you now. Because you never ever walk over the tombs before. Leaves rustle under foots, as pieces of polyfoam in hands. And you feel "frost on your skin"... ... - For us it is a real tragedy, - he (SS:Mr. Putin) has continued - the scale of this tragedy is enormous - millions of persons were banished, have been shot to death. And that were first of all people with their own opinion who were not afraid to openly express this their opinion... The most effective people, color of the nation were destroyed.... ...I (SS:this artcle author continues), maybe, first time have seen the confused president. - That's a complete crazyness (SS: umopomrachenie <- RUS), - has murmured the president. - it seems, that it is impossible to do that. For what?! (SS: for what all that people were executed to death?)... ...Father Cyril, the grandson of one of shot on this field, has made a helpless gesture and has added, that here the executors have shot the boy of twelve years. It was authorized to shoot only from fifteen, and they have attributed in the documents three superfluous years to the boy (to be "authorized" to kill him "legally"). They have also shot the seventy years old grandmother, and it is not clear for what reason she was shot do death.... ... - But memory is necessary to us not in itself, - spoke president. - but to determine the ways for development of the country... Political disputes, fights, struggle of opinions are necessary, but it is necessary, that this process would have not been destructive - it should be creative Now it should become clearer, why "United Russia" (SS: the most powerful political party here leaded by Mr.Putin for this year's December Russian Parliament Elections) will not participate in pre-election debate. These debate, probably, risk to become destructive for them (SS: for "United Russia" party).... >>>> -- Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.19/1106 - Release Date: 11/2/2007 9:46 PM From tinanfields at torchlake.com Sat Nov 3 11:10:09 2007 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 03 Nov 2007 12:10:09 -0400 Subject: [AccessD] Insert a new line in an expression? Message-ID: <472C9D61.1010701@torchlake.com> It seems that this should be easy, but I'm not getting it. I have a table of registered voters with their physical addresses and mailing addresses if other than the physical address. The physical address fields were laid out according to excellent rules, separated into house numbers, directional prefix, roadway name, roadway type, directional suffix, and residential extension. But, the mailing address fields were just MailAddr1, MailAddr2, MailAddr3, MailAddr4, and MailAddr5 text fields, with no consistent data entry rules - so there were PO Box numbers in MailAddr1 or MailAddr2, alone or in combination with city name, state name, and sometimes zip code. In order to use the data for mailing, I spent yesterday cleaning up the mailing address fields so that a "full" street address if any is in MailAddr1, PO Boxes are in MailAddr2, City, State, and Zip are in MailAddr3, MailAddr4, and MailAddr5 respectively. Now, I am trying to generate a report with these addresses. In some cases there are both a street address and a PO Box number, such as 2651 Gunny's Way NE, PO Box 1534. But, I don't want a blank line appearing for blank street addresses or PO Box addresses, so I'm trying to put them together in an expression. What I want to do is insert a carriage return character after the street address to put the PO Box on its own print line. I have this expression so far: =Trim(Iif([MailAddr1] Is Not Null, [MailAddr1]&" ","")&[MailAddr2]) which strings them out nicely, with a space between them. Instead of the " " I want to have ASCII 13 or the Access vba equivalent. I have tried vbCrLf, but Access sticks square brackets around it and demands a value for it as a parameter. (I've tried a bunch of other stuff, too, but just in case this turns out to be way easy, I am not going to spill the beans about my many failed efforts.) How do I do this? TIA Tina From joeo at appoli.com Sat Nov 3 11:51:40 2007 From: joeo at appoli.com (Joe O'Connell) Date: Sat, 3 Nov 2007 12:51:40 -0400 Subject: [AccessD] Insert a new line in an expression? In-Reply-To: <472C9D61.1010701@torchlake.com> References: <472C9D61.1010701@torchlake.com> Message-ID: Tina, You need both Carriage Return (ASCII 13) and Line Fee (ASCII 10). Use Chr(13) & Chr(10) instead of " ". Joe -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Saturday, November 03, 2007 12:10 PM To: Access Developers discussion and problem solving Subject: [AccessD] Insert a new line in an expression? It seems that this should be easy, but I'm not getting it. I have a table of registered voters with their physical addresses and mailing addresses if other than the physical address. The physical address fields were laid out according to excellent rules, separated into house numbers, directional prefix, roadway name, roadway type, directional suffix, and residential extension. But, the mailing address fields were just MailAddr1, MailAddr2, MailAddr3, MailAddr4, and MailAddr5 text fields, with no consistent data entry rules - so there were PO Box numbers in MailAddr1 or MailAddr2, alone or in combination with city name, state name, and sometimes zip code. In order to use the data for mailing, I spent yesterday cleaning up the mailing address fields so that a "full" street address if any is in MailAddr1, PO Boxes are in MailAddr2, City, State, and Zip are in MailAddr3, MailAddr4, and MailAddr5 respectively. Now, I am trying to generate a report with these addresses. In some cases there are both a street address and a PO Box number, such as 2651 Gunny's Way NE, PO Box 1534. But, I don't want a blank line appearing for blank street addresses or PO Box addresses, so I'm trying to put them together in an expression. What I want to do is insert a carriage return character after the street address to put the PO Box on its own print line. I have this expression so far: =Trim(Iif([MailAddr1] Is Not Null, [MailAddr1]&" ","")&[MailAddr2]) which strings them out nicely, with a space between them. Instead of the " " I want to have ASCII 13 or the Access vba equivalent. I have tried vbCrLf, but Access sticks square brackets around it and demands a value for it as a parameter. (I've tried a bunch of other stuff, too, but just in case this turns out to be way easy, I am not going to spill the beans about my many failed efforts.) How do I do this? TIA Tina -- 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 Nov 3 11:55:08 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 3 Nov 2007 12:55:08 -0400 Subject: [AccessD] Insert a new line in an expression? In-Reply-To: References: <472C9D61.1010701@torchlake.com> Message-ID: <29f585dd0711030955t59b4435dy307b9823d1ce6285@mail.gmail.com> Or use the constant vbCrLf. Arthur On 11/3/07, Joe O'Connell wrote: > > Tina, > > You need both Carriage Return (ASCII 13) and Line Fee (ASCII 10). Use > Chr(13) & Chr(10) instead of " ". > > Joe > From tinanfields at torchlake.com Sat Nov 3 12:29:46 2007 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 03 Nov 2007 13:29:46 -0400 Subject: [AccessD] Insert a new line in an expression? In-Reply-To: References: <472C9D61.1010701@torchlake.com> Message-ID: <472CB00A.4020804@torchlake.com> Joe, Yes, when I make it: =Trim(Iif([MailAddr1] Is Not Null, [MailAddr1] & Chr(13) & Chr(10), "") & [MailAddr2]) it works. Tina Joe O'Connell wrote: > Tina, > > You need both Carriage Return (ASCII 13) and Line Fee (ASCII 10). Use > Chr(13) & Chr(10) instead of " ". > > Joe > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris > Fields > Sent: Saturday, November 03, 2007 12:10 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Insert a new line in an expression? > > It seems that this should be easy, but I'm not getting it. I have a > table of registered voters with their physical addresses and mailing > addresses if other than the physical address. The physical address > fields were laid out according to excellent rules, separated into house > numbers, directional prefix, roadway name, roadway type, directional > suffix, and residential extension. But, the mailing address fields were > > just MailAddr1, MailAddr2, MailAddr3, MailAddr4, and MailAddr5 text > fields, with no consistent data entry rules - so there were PO Box > numbers in MailAddr1 or MailAddr2, alone or in combination with city > name, state name, and sometimes zip code. In order to use the data for > mailing, I spent yesterday cleaning up the mailing address fields so > that a "full" street address if any is in MailAddr1, PO Boxes are in > MailAddr2, City, State, and Zip are in MailAddr3, MailAddr4, and > MailAddr5 respectively. > > Now, I am trying to generate a report with these addresses. In some > cases there are both a street address and a PO Box number, such as 2651 > Gunny's Way NE, PO Box 1534. But, I don't want a blank line appearing > for blank street addresses or PO Box addresses, so I'm trying to put > them together in an expression. What I want to do is insert a carriage > return character after the street address to put the PO Box on its own > print line. > > I have this expression so far: > =Trim(Iif([MailAddr1] Is Not Null, [MailAddr1]&" ","")&[MailAddr2]) > which strings them out nicely, with a space between them. Instead of > the " " I want to have ASCII 13 or the Access vba equivalent. I have > tried vbCrLf, but Access sticks square brackets around it and demands a > value for it as a parameter. (I've tried a bunch of other stuff, too, > but just in case this turns out to be way easy, I am not going to spill > the beans about my many failed efforts.) > > How do I do this? > > TIA > Tina > From tinanfields at torchlake.com Sat Nov 3 12:35:17 2007 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 03 Nov 2007 13:35:17 -0400 Subject: [AccessD] Insert a new line in an expression? In-Reply-To: <29f585dd0711030955t59b4435dy307b9823d1ce6285@mail.gmail.com> References: <472C9D61.1010701@torchlake.com> <29f585dd0711030955t59b4435dy307b9823d1ce6285@mail.gmail.com> Message-ID: <472CB155.6090906@torchlake.com> Arthur, I wanted to use that constant, but I am not succeeding. When I write: =Trim( Iif( [MailAddr1] Is Not Null, [MailAddr1] & vbCrLf, "")& [MailAddr2]) Access treats vbCrLf not as a constant but as a parameter. What am I doing wrong? Tina Arthur Fuller wrote: > Or use the constant vbCrLf. > > Arthur > > On 11/3/07, Joe O'Connell wrote: > >> Tina, >> >> You need both Carriage Return (ASCII 13) and Line Fee (ASCII 10). Use >> Chr(13) & Chr(10) instead of " ". >> >> Joe >> >> From ssharkins at gmail.com Sat Nov 3 12:43:10 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 3 Nov 2007 13:43:10 -0400 Subject: [AccessD] Insert a new line in an expression? References: <472C9D61.1010701@torchlake.com> <29f585dd0711030955t59b4435dy307b9823d1ce6285@mail.gmail.com> <472CB155.6090906@torchlake.com> Message-ID: <003e01c81e41$0293b040$4b3a8343@SusanOne> > When I write: > =Trim( Iif( [MailAddr1] Is Not Null, [MailAddr1] & vbCrLf, "")& > [MailAddr2]) > Access treats vbCrLf not as a constant but as a parameter. =====Is this in a query expression? I don't think you can use vb constants in a query expression. Susan H. From max.wanadoo at gmail.com Sat Nov 3 12:56:16 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Sat, 3 Nov 2007 17:56:16 -0000 Subject: [AccessD] Insert a new line in an expression? In-Reply-To: <472C9D61.1010701@torchlake.com> Message-ID: <000001c81e42$d5d24060$8119fea9@LTVM> Hi Tina, I use a rather long function as shown below. I have actually trimmed this down considerable for your use as it actually does a whole bunch of other things for me. For your requirements this should suffice. It uses concatenation with nulls. This means it stores contents into variants instead of strings (although they are named as string for my own use. Eg strTitle instead of varTitle, change if you prefer). As I say, it is rather lengthy because I never know what data I am going to have and need to have a full address constructed correctly. Hope I have removed anything useful. HTH Max Function tryIt() MsgBox pfFormatPersonAddress(11200) End Function Function pfFormatPersonAddress(lngPID As Long) As String Dim dbs As DAO.Database, rst As DAO.Recordset, sql As String Dim bBadPostalArea As Boolean bBadPostalArea = False ' could be overseas Dim strAddrCode As String Dim lngTitleID As Variant, lngSuffixID As Variant Dim lngFKDistrictID As Variant, lngFKTownID As Variant Dim lngFKCountyID As Variant, lngFKPostalAreaID As Variant Dim lngFKCountryID As Variant Dim strTitle As Variant, strSuffix As Variant Dim strFirstName As Variant, strSecondName As Variant Dim strSurname As Variant Dim strHouseName As Variant, strHouseNum As Variant Dim strStreet As Variant Dim strPostalDistrict As Variant, strIn As Variant Dim strCountry As Variant, strCounty As Variant, strTown As Variant Dim strDefaultPostCode As String Dim strDistrict As Variant Dim varAddr As Variant, strLine As Variant Dim strOverseasPostCode As Variant ' rst variables that are being updated Dim strAddrName As Variant Dim strAddrMembName As Variant Dim strAddrShort As Variant Dim strAddrSingle As Variant Dim strAddrFull As Variant Dim strPostalArea As String Dim lngLocationID As Long Set dbs = CurrentDb sql = "Select * from mcmPeople where PersonID=" & lngPID Set rst = dbs.OpenRecordset(sql) If rst.EOF Then MsgBox "Cannot Find Person With PID: " & lngPID GoTo exithere End If ' Change empty strings to nulls so that empty vars are all set to null ' we can then use the '+' sign to avoid having empty lines If Nz(rst!FKTitleID, 0) = 0 Then lngTitleID = 0 Else lngTitleID = rst!FKTitleID If Nz(rst!FKSuffixID, 0) = 0 Then lngSuffixID = 0 Else lngSuffixID = rst!FKSuffixID If Nz(rst!FKPostalAreaID, 0) = 0 Then lngFKPostalAreaID = 0 Else lngFKPostalAreaID = rst!FKPostalAreaID If Nz(rst!FKDistrictID, 0) = 0 Then lngFKDistrictID = 0 Else lngFKDistrictID = rst!FKDistrictID If Nz(rst!FKTownID, 0) = 0 Then lngFKTownID = 0 Else lngFKTownID = rst!FKTownID If Nz(rst!FKCountyID, 0) = 0 Then lngFKCountyID = 0 Else lngFKCountyID = rst!FKCountyID If Nz(rst!FKCountryID, 0) = 0 Then lngFKCountryID = 0 Else lngFKCountryID = rst!FKCountryID If Len(Trim(rst!FirstName)) = 0 Or rst!FirstName = "" Then strFirstName = Null Else strFirstName = rst!FirstName If Len(Trim(rst!SecondName)) = 0 Or rst!SecondName = "" Or IsNull(rst!SecondName) Then strSecondName = Null Else strSecondName = rst!SecondName End If If Len(Trim(rst!Surname)) = 0 Or rst!Surname = "" Then strSurname = Null Else strSurname = rst!Surname If Len(Trim(rst!HouseName)) = 0 Or rst!HouseName = "" Then strHouseName = Null Else strHouseName = rst!HouseName If Len(Trim(rst!HouseNum)) = 0 Or rst!HouseNum = "" Then strHouseNum = Null Else strHouseNum = rst!HouseNum If Len(Trim(rst!Street)) = 0 Or rst!Street = "" Then strStreet = Null Else strStreet = rst!Street If Len(Trim(rst!PostalDistrict)) = 0 Or rst!PostalDistrict = "" Then strPostalDistrict = Null Else strPostalDistrict = rst!PostalDistrict If Len(Trim(rst!InCode)) = 0 Or rst!InCode = "" Then strIn = Null Else strIn = rst!InCode If Len(Trim(rst!OverseasPostCode)) = 0 Or rst!OverseasPostCode = "" Then strOverseasPostCode = Null Else strIn = rst!OverseasPostCode '============================================================== ' NAMES **************** ' sometime we only have an Initial for the first name If Not IsNull(strFirstName) And Len(strFirstName) = 1 Then strFirstName = strFirstName & "." End If strAddrName = Trim(((strTitle + " ") & (strFirstName + " ") & _ (Left(strSecondName, 1) + ". ") & (strSurname + " ") & (strSuffix + ""))) '& " (" & rst!PersonID & ")" strAddrFull = strAddrName ' only goes into full address If Not IsNull(strHouseName) Then strAddrFull = strAddrFull & vbCrLf & strHouseName End If strLine = (strHouseNum + " ") & (strStreet + " ") If Not Nz(strLine) & "!" = "!" Then strAddrFull = strAddrFull & vbCrLf & strLine End If ' get 3rd line of address or do nothing - not even a blank line strDistrict = Trim(Nz(DLookup("District", "mcmGeoDistricts", "DistrictID=" & lngFKDistrictID), Null)) strAddrShort = strAddrShort & strDistrict & vbCrLf strAddrSingle = strAddrSingle & (strDistrict + ", ") If Not Nz(strDistrict) & "!" = "!" Then strAddrFull = strAddrFull & vbCrLf & strDistrict End If ' get 4th line of address or do nothing - not even a blank line strTown = Trim(UCase$(Nz(DLookup("Town", "mcmGeoTowns", "TownID=" & Nz(lngFKTownID, 0)), " "))) strAddrShort = strAddrShort & (strTown + ", ") strAddrSingle = strAddrSingle & (strTown + ", ") If Not Nz(strTown) & "!" = "!" Then strAddrFull = strAddrFull & vbCrLf & strTown End If ' get 5th line of address or do nothing - not even a blank line If lngFKCountyID = 65 And Left(strTown, 6) = "Dublin" Then ' Skip if County Dublin and Dublin is in the town Else strCounty = Trim(Nz(DLookup("County", "mcmGeoCountys", "CountyID=" & Nz(lngFKCountyID, 0)), Null)) strDefaultPostCode = Trim(Nz(DLookup("FKPostalAreaID", "mcmGeoCountys", "CountyID=" & Nz(lngFKCountyID, 0)), "")) If Trim(Nz(strTown, "")) <> Trim(Nz(strCounty, "")) Then strAddrShort = strAddrShort & (strCounty + ", ") strAddrSingle = strAddrSingle & (strCounty + ", ") If Not Nz(strCounty) & "!" = "!" Then strAddrFull = strAddrFull & vbCrLf & strCounty End If End If End If ' See if we can get a default postcode in there if not one held from the [mcmGeoCountys] Tabls If Nz(rst!FKPostalAreaID, 0) = 0 And Len(Trim(strDefaultPostCode)) > 0 Then lngFKPostalAreaID = DLookup("PostalAreaID", "mcmGeoPostalAreas", "PostalArea='" & strDefaultPostCode & "'") If lngFKPostalAreaID = 0 Then lngFKPostalAreaID = 153 ' ZZ uknown End If If Not rst!FKPostalAreaID = lngFKPostalAreaID Or IsNull(rst!FKPostalAreaID) Then rst!FKPostalAreaID = lngFKPostalAreaID End If End If ' get 6th line of address or do nothing - not even a blank line strPostalArea = Nz(DLookup("Postalarea", "mcmGeoPostalAreas", "PostalAreaID=" & Nz(lngFKPostalAreaID, 0)), "") strLine = Trim(((strPostalArea + "") & (strPostalDistrict + " ") & (strIn + " "))) If InStr("ZZ/OV/IE/IS/IN", Left(strLine, 2)) > 0 Then ' ignore ireland and overseas and unknown Else 'MsgBox lngFKPostalAreaID & vbCrLf & strPostalDistrict & vbCrLf & strLine strAddrShort = strAddrShort & (strLine + ", ") strAddrSingle = strAddrSingle & (strLine + ", ") If Not Nz(strLine) & "!" = "!" Then strAddrFull = strAddrFull & vbCrLf & strLine End If End If strCountry = Nz(DLookup("Country", "mcmGeoCountrys", "CountryID=" & Nz(lngFKCountryID, 0)), Null) If Not InStr("England/Scotland/Wales", strCountry) > 0 Then strAddrShort = strAddrShort & strCountry strAddrSingle = strAddrSingle & strCountry If Not Nz(strCountry) & "!" = "!" Then strAddrFull = strAddrFull & vbCrLf & strCountry End If Else strAddrSingle = Trim(strAddrSingle) If Right(strAddrSingle, 1) = "," Then strAddrSingle = Left(strAddrSingle, Len(strAddrSingle) - 1) strAddrShort = Trim(strAddrShort) If Right(strAddrShort, 1) = "," Then strAddrShort = Left(strAddrShort, Len(strAddrShort) - 1) End If pfFormatPersonAddress = strAddrFull exithere: Set dbs = Nothing: Set rst = Nothing Exit Function errhandler: Select Case Err.Number Case Else MsgBox "Address Error: " & Err.Number & vbCrLf & Err.Description End Select Resume exithere End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Saturday, November 03, 2007 4:10 PM To: Access Developers discussion and problem solving Subject: [AccessD] Insert a new line in an expression? It seems that this should be easy, but I'm not getting it. I have a table of registered voters with their physical addresses and mailing addresses if other than the physical address. The physical address fields were laid out according to excellent rules, separated into house numbers, directional prefix, roadway name, roadway type, directional suffix, and residential extension. But, the mailing address fields were just MailAddr1, MailAddr2, MailAddr3, MailAddr4, and MailAddr5 text fields, with no consistent data entry rules - so there were PO Box numbers in MailAddr1 or MailAddr2, alone or in combination with city name, state name, and sometimes zip code. In order to use the data for mailing, I spent yesterday cleaning up the mailing address fields so that a "full" street address if any is in MailAddr1, PO Boxes are in MailAddr2, City, State, and Zip are in MailAddr3, MailAddr4, and MailAddr5 respectively. Now, I am trying to generate a report with these addresses. In some cases there are both a street address and a PO Box number, such as 2651 Gunny's Way NE, PO Box 1534. But, I don't want a blank line appearing for blank street addresses or PO Box addresses, so I'm trying to put them together in an expression. What I want to do is insert a carriage return character after the street address to put the PO Box on its own print line. I have this expression so far: =Trim(Iif([MailAddr1] Is Not Null, [MailAddr1]&" ","")&[MailAddr2]) which strings them out nicely, with a space between them. Instead of the " " I want to have ASCII 13 or the Access vba equivalent. I have tried vbCrLf, but Access sticks square brackets around it and demands a value for it as a parameter. (I've tried a bunch of other stuff, too, but just in case this turns out to be way easy, I am not going to spill the beans about my many failed efforts.) How do I do this? TIA Tina -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Sat Nov 3 14:25:50 2007 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 03 Nov 2007 15:25:50 -0400 Subject: [AccessD] Insert a new line in an expression? In-Reply-To: <003e01c81e41$0293b040$4b3a8343@SusanOne> References: <472C9D61.1010701@torchlake.com> <29f585dd0711030955t59b4435dy307b9823d1ce6285@mail.gmail.com> <472CB155.6090906@torchlake.com> <003e01c81e41$0293b040$4b3a8343@SusanOne> Message-ID: <472CCB3E.6060601@torchlake.com> Hi Susan, It's in a textbox control on a report. Does that have the same constraints as a query? Thanks for thinking about it for me. Tina Susan Harkins wrote: >> When I write: >> =Trim( Iif( [MailAddr1] Is Not Null, [MailAddr1] & vbCrLf, "")& >> [MailAddr2]) >> Access treats vbCrLf not as a constant but as a parameter. >> > > =====Is this in a query expression? I don't think you can use vb constants > in a query expression. > > Susan H. > > From ssharkins at gmail.com Sat Nov 3 15:18:08 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 3 Nov 2007 16:18:08 -0400 Subject: [AccessD] Insert a new line in an expression? References: <472C9D61.1010701@torchlake.com> <29f585dd0711030955t59b4435dy307b9823d1ce6285@mail.gmail.com> <472CB155.6090906@torchlake.com><003e01c81e41$0293b040$4b3a8343@SusanOne> <472CCB3E.6060601@torchlake.com> Message-ID: <007a01c81e56$a938c5b0$4b3a8343@SusanOne> Someone smarter than me will need to verify this, but I don't think you can use vb constants outside of a module. Susan H. > Hi Susan, > It's in a textbox control on a report. Does that have the same > constraints as a query? > Thanks for thinking about it for me. > Tina > > Susan Harkins wrote: >>> When I write: >>> =Trim( Iif( [MailAddr1] Is Not Null, [MailAddr1] & vbCrLf, "")& >>> [MailAddr2]) >>> Access treats vbCrLf not as a constant but as a parameter. >>> >> >> =====Is this in a query expression? I don't think you can use vb >> constants >> in a query expression. >> >> Susan H. >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Nov 3 16:21:31 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 3 Nov 2007 17:21:31 -0400 Subject: [AccessD] Insert a new line in an expression? In-Reply-To: <007a01c81e56$a938c5b0$4b3a8343@SusanOne> References: <472C9D61.1010701@torchlake.com> <29f585dd0711030955t59b4435dy307b9823d1ce6285@mail.gmail.com> <472CB155.6090906@torchlake.com><003e01c81e41$0293b040$4b3a8343@SusanOne><472CCB3E.6060601@torchlake.com> <007a01c81e56$a938c5b0$4b3a8343@SusanOne> Message-ID: <000001c81e5f$827ac730$647aa8c0@M90> You can, but they need to be declared public. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, November 03, 2007 4:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Insert a new line in an expression? Someone smarter than me will need to verify this, but I don't think you can use vb constants outside of a module. Susan H. > Hi Susan, > It's in a textbox control on a report. Does that have the same > constraints as a query? > Thanks for thinking about it for me. > Tina > > Susan Harkins wrote: >>> When I write: >>> =Trim( Iif( [MailAddr1] Is Not Null, [MailAddr1] & vbCrLf, "")& >>> [MailAddr2]) >>> Access treats vbCrLf not as a constant but as a parameter. >>> >> >> =====Is this in a query expression? I don't think you can use vb >> constants in a query expression. >> >> Susan H. >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Sat Nov 3 16:49:05 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 3 Nov 2007 17:49:05 -0400 Subject: [AccessD] Insert a new line in an expression? References: <472C9D61.1010701@torchlake.com> <29f585dd0711030955t59b4435dy307b9823d1ce6285@mail.gmail.com> <472CB155.6090906@torchlake.com><003e01c81e41$0293b040$4b3a8343@SusanOne><472CCB3E.6060601@torchlake.com><007a01c81e56$a938c5b0$4b3a8343@SusanOne> <000001c81e5f$827ac730$647aa8c0@M90> Message-ID: <017801c81e63$5d4ea590$4b3a8343@SusanOne> OH! Now that's interesting -- so if you declare a vb constant as a Public constant in a module, you can then use them in expression outside the module? If that's what you're saying, that's slick. I wouldn't have thought of it at all. Susan H. > You can, but they need to be declared public. > > Someone smarter than me will need to verify this, but I don't think you > can > use vb constants outside of a module. From accessd at shaw.ca Sat Nov 3 17:08:11 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 03 Nov 2007 15:08:11 -0700 Subject: [AccessD] OT: If he would have not arrived today, it could not be understood... In-Reply-To: <000001c81de6$a38bc970$6401a8c0@nant> Message-ID: It is a horrific event...definitely OT but of such a stature that it should have precedence. We on the North West Coast, outside the continental US, live such sheltered lives. Even though it happened many years ago, we all watched it on the news with an air of shock and disbelief. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, November 02, 2007 11:56 PM To: 'Access-D' Subject: [AccessD] OT: If he would have not arrived today,it could not be understood... Hi All, This post is a way off-topic and it's not easy weekend reading but I dare to post it here because it's related to the people of many nations and I expect this my post will be let through by moderators who allowed to have here a rather heated discussion about fires in California... No, I do not expect a heated discussion of this OT thread here. Just read it. This post has excerpts from an article published on 31-OCT-2007 here: http://www.kommersant.ru/doc.aspx?DocsID=820588 Here is its automated translation: http://www.translate.ru/url/tran_url.asp?lang=ru&url=http%3A%2F%2Fwww.kommer sant.ru%2Fdoc.aspx%3FDocsID%3D820588&direction=re&template=General&cp1=NO&cp 2=NO&autotranslate=on&transliterate=on&psubmit2.x=44&psubmit2.y=6 Below are the excerpts, which I tried to make more readable than referred above automated translation. My short comments are in brackets marked with (SS: ...). As you can find this article is far from being "an apologetics to the nowadays Russian Authorities"... I'm sorry that is all I can do now. Read on till the end and then you should get what a lot of people feel and think here. Thank you. <<<< If he would have not arrived today, it could not be understood... ================================================================= ...Yesterday, in Day of Memory of Victims of Political Reprisals, the president of Russia Vladimir Putin has arrived to Butovo where are buried more than 20 thousand of people shot to death in 1937-1938.... ...Here are buried more than 20 thousands of persons, - speaks diakon Dmitrij, and these are only about whom we precisely know. More than three hundreds of them are canonized, these are those from approximately thousand who passed on church affairs: not only clerics, but also church heads, and simply active laymen. First Russian pilot Danilevsky, troupe of one Baltic theatre with its full complement lays here... People of sixty nationalities are buried here: Greeks, Japanese, Germans... even an Epiopian... ...You go on a sanded pathway, and you realize, that what you now feel is "the ground burning under foots". To not touch it, to not tramble it down that is all what is required from you now. Because you never ever walk over the tombs before. Leaves rustle under foots, as pieces of polyfoam in hands. And you feel "frost on your skin"... ... - For us it is a real tragedy, - he (SS:Mr. Putin) has continued - the scale of this tragedy is enormous - millions of persons were banished, have been shot to death. And that were first of all people with their own opinion who were not afraid to openly express this their opinion... The most effective people, color of the nation were destroyed.... ...I (SS:this artcle author continues), maybe, first time have seen the confused president. - That's a complete crazyness (SS: umopomrachenie <- RUS), - has murmured the president. - it seems, that it is impossible to do that. For what?! (SS: for what all that people were executed to death?)... ...Father Cyril, the grandson of one of shot on this field, has made a helpless gesture and has added, that here the executors have shot the boy of twelve years. It was authorized to shoot only from fifteen, and they have attributed in the documents three superfluous years to the boy (to be "authorized" to kill him "legally"). They have also shot the seventy years old grandmother, and it is not clear for what reason she was shot do death.... ... - But memory is necessary to us not in itself, - spoke president. - but to determine the ways for development of the country... Political disputes, fights, struggle of opinions are necessary, but it is necessary, that this process would have not been destructive - it should be creative Now it should become clearer, why "United Russia" (SS: the most powerful political party here leaded by Mr.Putin for this year's December Russian Parliament Elections) will not participate in pre-election debate. These debate, probably, risk to become destructive for them (SS: for "United Russia" party).... >>>> -- Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Sat Nov 3 17:49:27 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Sat, 3 Nov 2007 22:49:27 +0000 Subject: [AccessD] Insert a new line in an expression? In-Reply-To: <472CCB3E.6060601@torchlake.com> References: <472C9D61.1010701@torchlake.com> <29f585dd0711030955t59b4435dy307b9823d1ce6285@mail.gmail.com> <472CB155.6090906@torchlake.com> <003e01c81e41$0293b040$4b3a8343@SusanOne> <472CCB3E.6060601@torchlake.com> Message-ID: That being the case...why not set the textbox height to 0 and the property 'CanGrow' to true...and this should give you the desired effect. I use this all of the time for addresses on postcards and letters. If the PO box doesn't exist...the line won't appear on the report . Let me know if you have questions. I can even send a sample offline come Monday if need be. Thanks, Mark A. Matte> Date: Sat, 3 Nov 2007 15:25:50 -0400> From: tinanfields at torchlake.com> To: accessd at databaseadvisors.com> Subject: Re: [AccessD] Insert a new line in an expression?> > Hi Susan,> It's in a textbox control on a report. Does that have the same > constraints as a query?> Thanks for thinking about it for me.> Tina> > Susan Harkins wrote:> >> When I write:> >> =Trim( Iif( [MailAddr1] Is Not Null, [MailAddr1] & vbCrLf, "")& > >> [MailAddr2])> >> Access treats vbCrLf not as a constant but as a parameter.> >> > >> > =====Is this in a query expression? I don't think you can use vb constants > > in a query expression.> >> > Susan H. > >> > > -- > AccessD mailing list> AccessD at databaseadvisors.com> http://databaseadvisors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com _________________________________________________________________ Boo!?Scare away worms, viruses and so much more! Try Windows Live OneCare! http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews From kp at sdsonline.net Sat Nov 3 17:57:22 2007 From: kp at sdsonline.net (Kath Pelletti) Date: Sun, 4 Nov 2007 09:57:22 +1100 Subject: [AccessD] highest value of 4 variables - urgent Message-ID: <000801c81e6c$e5ae0f30$6701a8c0@DELLAPTOP> maybe i am having a vague moment - but what function can I use to get the highest value of 4 variables, eg: eg. I want to know x where x is the highest of (var1, var2, var3, var4) ta ______________________________________ Kath Pelletti From rockysmolin at bchacc.com Sat Nov 3 18:29:56 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 3 Nov 2007 16:29:56 -0700 Subject: [AccessD] highest value of 4 variables - urgent In-Reply-To: <000801c81e6c$e5ae0f30$6701a8c0@DELLAPTOP> References: <000801c81e6c$e5ae0f30$6701a8c0@DELLAPTOP> Message-ID: <008101c81e71$720e80f0$0301a8c0@HAL9005> Brute Force? Function GetHigh as Variant GetHigh = var1 If var2 > GetHigh Then GetHigh = var2 If var3 > GetHigh Then GetHigh = var3 If var4 > GetHigh Then GetHigh = var4 End Function I'm sure there's a more elegant way... Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Saturday, November 03, 2007 3:57 PM To: Access D Normal List Subject: [AccessD] highest value of 4 variables - urgent maybe i am having a vague moment - but what function can I use to get the highest value of 4 variables, eg: eg. I want to know x where x is the highest of (var1, var2, var3, var4) ta ______________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.19/1106 - Release Date: 11/2/2007 9:46 PM From kp at sdsonline.net Sat Nov 3 18:35:43 2007 From: kp at sdsonline.net (Kath Pelletti) Date: Sun, 4 Nov 2007 10:35:43 +1100 Subject: [AccessD] highest value of 4 variables - urgent References: <000801c81e6c$e5ae0f30$6701a8c0@DELLAPTOP> <008101c81e71$720e80f0$0301a8c0@HAL9005> Message-ID: <000901c81e72$40ab91f0$6701a8c0@DELLAPTOP> That's where I am with it too Rocky - until I get another solution I will go with this.....(but I'm sure there will be something that we both can't remember?) Ta ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Sunday, November 04, 2007 10:29 AM Subject: Re: [AccessD] highest value of 4 variables - urgent > Brute Force? > > Function GetHigh as Variant > > GetHigh = var1 > If var2 > GetHigh Then GetHigh = var2 > If var3 > GetHigh Then GetHigh = var3 > If var4 > GetHigh Then GetHigh = var4 > > End Function > > I'm sure there's a more elegant way... > > Rocky > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti > Sent: Saturday, November 03, 2007 3:57 PM > To: Access D Normal List > Subject: [AccessD] highest value of 4 variables - urgent > > maybe i am having a vague moment - but what function can I use to get the > highest value of 4 variables, eg: > > > eg. I want to know x where x is the highest of (var1, var2, var3, var4) > > ta > ______________________________________ > Kath Pelletti > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.15.19/1106 - Release Date: > 11/2/2007 > 9:46 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From shamil at users.mns.ru Sat Nov 3 18:59:00 2007 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sun, 4 Nov 2007 02:59:00 +0300 Subject: [AccessD] OT: If he would have not arrived today, it could not be understood... In-Reply-To: <006701c81e22$32b3e1b0$0301a8c0@HAL9005> Message-ID: <000701c81e75$81731930$6401a8c0@nant> <<< "Political disputes, fights, struggle of opinions are necessary, but it is necessary, that this process would have not been destructive - it should be creative" Is this a coded way of saying that opposing views are not 'creative' and therefore not welcome in the debate? >>> Hi Rocky and William, I'd think that this is rather clear statement that opposing views are not welcomed by nowadays Russian Authorities... In four months it will become clearer what this "coded way of saying" means... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, November 03, 2007 5:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: If he would have not arrived today,it could not be understood... Shamil: "Political disputes, fights, struggle of opinions are necessary, but it is necessary, that this process would have not been destructive - it should be creative" Is this a coded way of saying that opposing views are not 'creative' and therefore not welcome in the debate? Is he trying to engineer a way to stay in power as a strong ruler if not dictator and undo or move away from the democratic reforms? Rocky <<< tail skipped for brevity >>> From mmattys at rochester.rr.com Sat Nov 3 18:57:48 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Sat, 3 Nov 2007 19:57:48 -0400 Subject: [AccessD] highest value of 4 variables - urgent References: <000801c81e6c$e5ae0f30$6701a8c0@DELLAPTOP> <008101c81e71$720e80f0$0301a8c0@HAL9005> <000901c81e72$40ab91f0$6701a8c0@DELLAPTOP> Message-ID: <003b01c81e75$5e8ffa00$0202a8c0@Laptop> Remember this? (Just kidding, but it is from NeatCode.mdb) Sub ShellSortArray(A() As Variant) Dim i As Long, j As Long Dim Low As Long, Hi As Long Dim PushPop As Variant Low = LBound(A) Hi = UBound(A) j = (Hi - Low + 1) \ 2 Do While j > 0 For i = Low To Hi - j If A(i) > A(i + j) Then PushPop = A(i) A(i) = A(i + j) A(i + j) = PushPop End If Next i For i = Hi - j To Low Step -1 If A(i) > A(i + j) Then PushPop = A(i) A(i) = A(i + j) A(i + j) = PushPop End If Next i j = j \ 2 Loop End Sub Function TestShellSortArray() Dim vA() As Variant Dim i As Long vA = Array(64, 16, 8, 32, 40, 48, 24, 56) ShellSortArray vA() For i = LBound(vA()) To UBound(vA()) Debug.Print vA(i) Next End Function Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Kath Pelletti" To: "Access Developers discussion and problem solving" Sent: Saturday, November 03, 2007 7:35 PM Subject: Re: [AccessD] highest value of 4 variables - urgent > That's where I am with it too Rocky - until I get another solution I will > go > with this.....(but I'm sure there will be something that we both can't > remember?) > > Ta > ----- Original Message ----- > From: "Rocky Smolin at Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Sunday, November 04, 2007 10:29 AM > Subject: Re: [AccessD] highest value of 4 variables - urgent > > >> Brute Force? >> >> Function GetHigh as Variant >> >> GetHigh = var1 >> If var2 > GetHigh Then GetHigh = var2 >> If var3 > GetHigh Then GetHigh = var3 >> If var4 > GetHigh Then GetHigh = var4 >> >> End Function >> >> I'm sure there's a more elegant way... >> >> Rocky >> >> >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti >> Sent: Saturday, November 03, 2007 3:57 PM >> To: Access D Normal List >> Subject: [AccessD] highest value of 4 variables - urgent >> >> maybe i am having a vague moment - but what function can I use to get the >> highest value of 4 variables, eg: >> >> >> eg. I want to know x where x is the highest of (var1, var2, var3, var4) >> >> ta >> ______________________________________ >> Kath Pelletti >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.503 / Virus Database: 269.15.19/1106 - Release Date: >> 11/2/2007 >> 9:46 PM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sat Nov 3 19:10:46 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 3 Nov 2007 17:10:46 -0700 Subject: [AccessD] OT: If he would have not arrived today, it could not be understood... In-Reply-To: <000701c81e75$81731930$6401a8c0@nant> References: <006701c81e22$32b3e1b0$0301a8c0@HAL9005> <000701c81e75$81731930$6401a8c0@nant> Message-ID: <008801c81e77$25e78310$0301a8c0@HAL9005> What happens in four months? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, November 03, 2007 4:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: If he would have not arrived today,it could not be understood... <<< "Political disputes, fights, struggle of opinions are necessary, but it is necessary, that this process would have not been destructive - it should be creative" Is this a coded way of saying that opposing views are not 'creative' and therefore not welcome in the debate? >>> Hi Rocky and William, I'd think that this is rather clear statement that opposing views are not welcomed by nowadays Russian Authorities... In four months it will become clearer what this "coded way of saying" means... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, November 03, 2007 5:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: If he would have not arrived today,it could not be understood... Shamil: "Political disputes, fights, struggle of opinions are necessary, but it is necessary, that this process would have not been destructive - it should be creative" Is this a coded way of saying that opposing views are not 'creative' and therefore not welcome in the debate? Is he trying to engineer a way to stay in power as a strong ruler if not dictator and undo or move away from the democratic reforms? Rocky <<< tail skipped for brevity >>> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.19/1106 - Release Date: 11/2/2007 9:46 PM From rockysmolin at bchacc.com Sat Nov 3 19:12:39 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 3 Nov 2007 17:12:39 -0700 Subject: [AccessD] highest value of 4 variables - urgent In-Reply-To: <000901c81e72$40ab91f0$6701a8c0@DELLAPTOP> References: <000801c81e6c$e5ae0f30$6701a8c0@DELLAPTOP><008101c81e71$720e80f0$0301a8c0@HAL9005> <000901c81e72$40ab91f0$6701a8c0@DELLAPTOP> Message-ID: <008901c81e77$69931ed0$0301a8c0@HAL9005> Yeah, there must be something like Max(var1, var2, var3, var4) Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Saturday, November 03, 2007 4:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] highest value of 4 variables - urgent That's where I am with it too Rocky - until I get another solution I will go with this.....(but I'm sure there will be something that we both can't remember?) Ta ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Sunday, November 04, 2007 10:29 AM Subject: Re: [AccessD] highest value of 4 variables - urgent > Brute Force? > > Function GetHigh as Variant > > GetHigh = var1 > If var2 > GetHigh Then GetHigh = var2 > If var3 > GetHigh Then GetHigh = var3 > If var4 > GetHigh Then GetHigh = var4 > > End Function > > I'm sure there's a more elegant way... > > Rocky > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti > Sent: Saturday, November 03, 2007 3:57 PM > To: Access D Normal List > Subject: [AccessD] highest value of 4 variables - urgent > > maybe i am having a vague moment - but what function can I use to get the > highest value of 4 variables, eg: > > > eg. I want to know x where x is the highest of (var1, var2, var3, var4) > > ta > ______________________________________ > Kath Pelletti > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.15.19/1106 - Release Date: > 11/2/2007 > 9:46 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.19/1106 - Release Date: 11/2/2007 9:46 PM From kp at sdsonline.net Sat Nov 3 19:13:52 2007 From: kp at sdsonline.net (Kath Pelletti) Date: Sun, 4 Nov 2007 11:13:52 +1100 Subject: [AccessD] highest value of 4 variables - urgent References: <000801c81e6c$e5ae0f30$6701a8c0@DELLAPTOP><008101c81e71$720e80f0$0301a8c0@HAL9005><000901c81e72$40ab91f0$6701a8c0@DELLAPTOP> <003b01c81e75$5e8ffa00$0202a8c0@Laptop> Message-ID: <001701c81e77$95302100$6701a8c0@DELLAPTOP> good one michael - how could i have forgotten ??? :) i'll play with that and see if I can just get the highest rather than all values sort low-high. thanks ----- Original Message ----- From: "Michael R Mattys" To: "Access Developers discussion and problem solving" Sent: Sunday, November 04, 2007 10:57 AM Subject: Re: [AccessD] highest value of 4 variables - urgent > Remember this? (Just kidding, but it is from NeatCode.mdb) > > Sub ShellSortArray(A() As Variant) > Dim i As Long, j As Long > Dim Low As Long, Hi As Long > Dim PushPop As Variant > Low = LBound(A) > Hi = UBound(A) > j = (Hi - Low + 1) \ 2 > Do While j > 0 > For i = Low To Hi - j > If A(i) > A(i + j) Then > PushPop = A(i) > A(i) = A(i + j) > A(i + j) = PushPop > End If > Next i > For i = Hi - j To Low Step -1 > If A(i) > A(i + j) Then > PushPop = A(i) > A(i) = A(i + j) > A(i + j) = PushPop > End If > Next i > j = j \ 2 > Loop > End Sub > > Function TestShellSortArray() > Dim vA() As Variant > Dim i As Long > vA = Array(64, 16, 8, 32, 40, 48, 24, 56) > ShellSortArray vA() > For i = LBound(vA()) To UBound(vA()) > Debug.Print vA(i) > Next > End Function > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "Kath Pelletti" > To: "Access Developers discussion and problem solving" > > Sent: Saturday, November 03, 2007 7:35 PM > Subject: Re: [AccessD] highest value of 4 variables - urgent > > >> That's where I am with it too Rocky - until I get another solution I will >> go >> with this.....(but I'm sure there will be something that we both can't >> remember?) >> >> Ta >> ----- Original Message ----- >> From: "Rocky Smolin at Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Sunday, November 04, 2007 10:29 AM >> Subject: Re: [AccessD] highest value of 4 variables - urgent >> >> >>> Brute Force? >>> >>> Function GetHigh as Variant >>> >>> GetHigh = var1 >>> If var2 > GetHigh Then GetHigh = var2 >>> If var3 > GetHigh Then GetHigh = var3 >>> If var4 > GetHigh Then GetHigh = var4 >>> >>> End Function >>> >>> I'm sure there's a more elegant way... >>> >>> Rocky >>> >>> >>> >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti >>> Sent: Saturday, November 03, 2007 3:57 PM >>> To: Access D Normal List >>> Subject: [AccessD] highest value of 4 variables - urgent >>> >>> maybe i am having a vague moment - but what function can I use to get >>> the >>> highest value of 4 variables, eg: >>> >>> >>> eg. I want to know x where x is the highest of (var1, var2, var3, var4) >>> >>> ta >>> ______________________________________ >>> Kath Pelletti >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> No virus found in this incoming message. >>> Checked by AVG Free Edition. >>> Version: 7.5.503 / Virus Database: 269.15.19/1106 - Release Date: >>> 11/2/2007 >>> 9:46 PM >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From kp at sdsonline.net Sat Nov 3 19:14:58 2007 From: kp at sdsonline.net (Kath Pelletti) Date: Sun, 4 Nov 2007 11:14:58 +1100 Subject: [AccessD] highest value of 4 variables - urgent References: <000801c81e6c$e5ae0f30$6701a8c0@DELLAPTOP><008101c81e71$720e80f0$0301a8c0@HAL9005><000901c81e72$40ab91f0$6701a8c0@DELLAPTOP> <008901c81e77$69931ed0$0301a8c0@HAL9005> Message-ID: <002101c81e77$bcdcd630$6701a8c0@DELLAPTOP> I would have thought so? ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Sunday, November 04, 2007 11:12 AM Subject: Re: [AccessD] highest value of 4 variables - urgent > Yeah, there must be something like Max(var1, var2, var3, var4) > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti > Sent: Saturday, November 03, 2007 4:36 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] highest value of 4 variables - urgent > > That's where I am with it too Rocky - until I get another solution I will > go > with this.....(but I'm sure there will be something that we both can't > remember?) > > Ta > ----- Original Message ----- > From: "Rocky Smolin at Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Sunday, November 04, 2007 10:29 AM > Subject: Re: [AccessD] highest value of 4 variables - urgent > > >> Brute Force? >> >> Function GetHigh as Variant >> >> GetHigh = var1 >> If var2 > GetHigh Then GetHigh = var2 >> If var3 > GetHigh Then GetHigh = var3 >> If var4 > GetHigh Then GetHigh = var4 >> >> End Function >> >> I'm sure there's a more elegant way... >> >> Rocky >> >> >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti >> Sent: Saturday, November 03, 2007 3:57 PM >> To: Access D Normal List >> Subject: [AccessD] highest value of 4 variables - urgent >> >> maybe i am having a vague moment - but what function can I use to get the >> highest value of 4 variables, eg: >> >> >> eg. I want to know x where x is the highest of (var1, var2, var3, var4) >> >> ta >> ______________________________________ >> Kath Pelletti >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.503 / Virus Database: 269.15.19/1106 - Release Date: >> 11/2/2007 >> 9:46 PM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/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 incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.15.19/1106 - Release Date: > 11/2/2007 > 9:46 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mmattys at rochester.rr.com Sat Nov 3 19:23:20 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Sat, 3 Nov 2007 20:23:20 -0400 Subject: [AccessD] highest value of 4 variables - urgent References: <000801c81e6c$e5ae0f30$6701a8c0@DELLAPTOP> <008101c81e71$720e80f0$0301a8c0@HAL9005> <000901c81e72$40ab91f0$6701a8c0@DELLAPTOP> <003b01c81e75$5e8ffa00$0202a8c0@Laptop> <001701c81e77$95302100$6701a8c0@DELLAPTOP> Message-ID: <005c01c81e78$e84146c0$0202a8c0@Laptop> Kathy, Min and Max are LBound and the UBound. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Kath Pelletti" To: "Access Developers discussion and problem solving" Sent: Saturday, November 03, 2007 8:13 PM Subject: Re: [AccessD] highest value of 4 variables - urgent > good one michael - how could i have forgotten ??? :) > > i'll play with that and see if I can just get the highest rather than all > values sort low-high. > > thanks From tinanfields at torchlake.com Sat Nov 3 19:51:40 2007 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 03 Nov 2007 20:51:40 -0400 Subject: [AccessD] Insert a new line in an expression? In-Reply-To: References: <472C9D61.1010701@torchlake.com> <29f585dd0711030955t59b4435dy307b9823d1ce6285@mail.gmail.com> <472CB155.6090906@torchlake.com> <003e01c81e41$0293b040$4b3a8343@SusanOne> <472CCB3E.6060601@torchlake.com> Message-ID: <472D179C.2020304@torchlake.com> Mark, Now that's slick! Thanks for the tip. Tina Mark A Matte wrote: > That being the case...why not set the textbox height to 0 and the property 'CanGrow' to true...and this should give you the desired effect. I use this all of the time for addresses on postcards and letters. If the PO box doesn't exist...the line won't appear on the report . > > Let me know if you have questions. I can even send a sample offline come Monday if need be. > > Thanks, > > Mark A. Matte> Date: Sat, 3 Nov 2007 15:25:50 -0400> From: tinanfields at torchlake.com> To: accessd at databaseadvisors.com> Subject: Re: [AccessD] Insert a new line in an expression?> > Hi Susan,> It's in a textbox control on a report. Does that have the same > constraints as a query?> Thanks for thinking about it for me.> Tina> > Susan Harkins wrote:> >> When I write:> >> =Trim( Iif( [MailAddr1] Is Not Null, [MailAddr1] & vbCrLf, "")& > >> [MailAddr2])> >> Access treats vbCrLf not as a constant but as a parameter.> >> > >> > =====Is this in a query expression? I don't think you can use vb constants > > in a query expression.> >> > Susan H. > >> > > -- > AccessD mailing list> AccessD at databaseadvisors.com> http://databaseadvisors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com > _________________________________________________________________ > Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare! > http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews > From andy at minstersystems.co.uk Sun Nov 4 02:04:30 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sun, 4 Nov 2007 08:04:30 -0000 Subject: [AccessD] highest value of 4 variables - urgent In-Reply-To: <002101c81e77$bcdcd630$6701a8c0@DELLAPTOP> Message-ID: <000c01c81eb9$57482cb0$cefa033e@minster33c3r25> If you write yourself a general purpose Max function along the lines of Function Max(var1, var2) If var1>var2 then Max=var1 Else Max=var2 End if End Function then you can just Result=Max(Max(Max(var4,var3),var2),var1) -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Kath Pelletti > Sent: 04 November 2007 00:15 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] highest value of 4 variables - urgent > > > I would have thought so? > > ----- Original Message ----- > From: "Rocky Smolin at Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Sunday, November 04, 2007 11:12 AM > Subject: Re: [AccessD] highest value of 4 variables - urgent > > > > Yeah, there must be something like Max(var1, var2, var3, var4) > > > > Rocky > > > > > > > > > > > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath > > Pelletti > > Sent: Saturday, November 03, 2007 4:36 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] highest value of 4 variables - urgent > > > > That's where I am with it too Rocky - until I get another > solution I > > will > > go > > with this.....(but I'm sure there will be something that we > both can't > > remember?) > > > > Ta > > ----- Original Message ----- > > From: "Rocky Smolin at Beach Access Software" > > > To: "'Access Developers discussion and problem solving'" > > > > Sent: Sunday, November 04, 2007 10:29 AM > > Subject: Re: [AccessD] highest value of 4 variables - urgent > > > > > >> Brute Force? > >> > >> Function GetHigh as Variant > >> > >> GetHigh = var1 > >> If var2 > GetHigh Then GetHigh = var2 > >> If var3 > GetHigh Then GetHigh = var3 > >> If var4 > GetHigh Then GetHigh = var4 > >> > >> End Function > >> > >> I'm sure there's a more elegant way... > >> > >> Rocky > >> > >> > >> > >> > >> > >> -----Original Message----- > >> From: accessd-bounces at databaseadvisors.com > >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath > >> Pelletti > >> Sent: Saturday, November 03, 2007 3:57 PM > >> To: Access D Normal List > >> Subject: [AccessD] highest value of 4 variables - urgent > >> > >> maybe i am having a vague moment - but what function can I > use to get > >> the highest value of 4 variables, eg: > >> > >> > >> eg. I want to know x where x is the highest of (var1, var2, var3, > >> var4) > >> > >> ta > >> ______________________________________ > >> Kath Pelletti > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > >> No virus found in this incoming message. > >> Checked by AVG Free Edition. > >> Version: 7.5.503 / Virus Database: 269.15.19/1106 - Release Date: > >> 11/2/2007 9:46 PM > >> > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/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 incoming message. > > Checked by AVG Free Edition. > > Version: 7.5.503 / Virus Database: 269.15.19/1106 - Release Date: > > 11/2/2007 > > 9:46 PM > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From spike at tenbus.co.uk Sun Nov 4 02:27:06 2007 From: spike at tenbus.co.uk (Webadmin - Tenbus) Date: Sun, 04 Nov 2007 08:27:06 +0000 Subject: [AccessD] highest value of 4 variables - urgent In-Reply-To: <000c01c81eb9$57482cb0$cefa033e@minster33c3r25> References: <000c01c81eb9$57482cb0$cefa033e@minster33c3r25> Message-ID: <472D825A.2090400@tenbus.co.uk> That's neat Andy! One to file away. Regards Chris Foote Andy Lacey wrote: > If you write yourself a general purpose Max function along the lines of > > Function Max(var1, var2) > > If var1>var2 then > Max=var1 > Else > Max=var2 > End if > End Function > > then you can just > > Result=Max(Max(Max(var4,var3),var2),var1) > > -- Andy Lacey > http://www.minstersystems.co.uk From kp at sdsonline.net Mon Nov 5 02:39:37 2007 From: kp at sdsonline.net (Kath Pelletti) Date: Mon, 5 Nov 2007 19:39:37 +1100 Subject: [AccessD] highest value of 4 variables - urgent References: <000c01c81eb9$57482cb0$cefa033e@minster33c3r25> Message-ID: <000901c81f87$6713dc60$6701a8c0@DELLAPTOP> thx andy Kath ----- Original Message ----- From: "Andy Lacey" To: "'Access Developers discussion and problem solving'" Sent: Sunday, November 04, 2007 7:04 PM Subject: Re: [AccessD] highest value of 4 variables - urgent > If you write yourself a general purpose Max function along the lines of > > Function Max(var1, var2) > > If var1>var2 then > Max=var1 > Else > Max=var2 > End if > End Function > > then you can just > > Result=Max(Max(Max(var4,var3),var2),var1) > > -- Andy Lacey > http://www.minstersystems.co.uk > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> Kath Pelletti >> Sent: 04 November 2007 00:15 >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] highest value of 4 variables - urgent >> >> >> I would have thought so? >> >> ----- Original Message ----- >> From: "Rocky Smolin at Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Sunday, November 04, 2007 11:12 AM >> Subject: Re: [AccessD] highest value of 4 variables - urgent >> >> >> > Yeah, there must be something like Max(var1, var2, var3, var4) >> > >> > Rocky >> > >> > >> > >> > >> > >> > >> > >> > >> > -----Original Message----- >> > From: accessd-bounces at databaseadvisors.com >> > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath >> > Pelletti >> > Sent: Saturday, November 03, 2007 4:36 PM >> > To: Access Developers discussion and problem solving >> > Subject: Re: [AccessD] highest value of 4 variables - urgent >> > >> > That's where I am with it too Rocky - until I get another >> solution I >> > will >> > go >> > with this.....(but I'm sure there will be something that we >> both can't >> > remember?) >> > >> > Ta >> > ----- Original Message ----- >> > From: "Rocky Smolin at Beach Access Software" >> >> > To: "'Access Developers discussion and problem solving'" >> > >> > Sent: Sunday, November 04, 2007 10:29 AM >> > Subject: Re: [AccessD] highest value of 4 variables - urgent >> > >> > >> >> Brute Force? >> >> >> >> Function GetHigh as Variant >> >> >> >> GetHigh = var1 >> >> If var2 > GetHigh Then GetHigh = var2 >> >> If var3 > GetHigh Then GetHigh = var3 >> >> If var4 > GetHigh Then GetHigh = var4 >> >> >> >> End Function >> >> >> >> I'm sure there's a more elegant way... >> >> >> >> Rocky >> >> >> >> >> >> >> >> >> >> >> >> -----Original Message----- >> >> From: accessd-bounces at databaseadvisors.com >> >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath >> >> Pelletti >> >> Sent: Saturday, November 03, 2007 3:57 PM >> >> To: Access D Normal List >> >> Subject: [AccessD] highest value of 4 variables - urgent >> >> >> >> maybe i am having a vague moment - but what function can I >> use to get >> >> the highest value of 4 variables, eg: >> >> >> >> >> >> eg. I want to know x where x is the highest of (var1, var2, var3, >> >> var4) >> >> >> >> ta >> >> ______________________________________ >> >> Kath Pelletti >> >> -- >> >> AccessD mailing list >> >> AccessD at databaseadvisors.com >> >> http://databaseadvisors.com/mailman/listinfo/accessd >> >> Website: http://www.databaseadvisors.com >> >> >> >> No virus found in this incoming message. >> >> Checked by AVG Free Edition. >> >> Version: 7.5.503 / Virus Database: 269.15.19/1106 - Release Date: >> >> 11/2/2007 9:46 PM >> >> >> >> >> >> -- >> >> AccessD mailing list >> >> AccessD at databaseadvisors.com >> >> http://databaseadvisors.com/mailman/listinfo/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 incoming message. >> > Checked by AVG Free Edition. >> > Version: 7.5.503 / Virus Database: 269.15.19/1106 - Release Date: >> > 11/2/2007 >> > 9:46 PM >> > >> > >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From adtp at airtelbroadband.in Sun Nov 4 05:56:45 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Sun, 4 Nov 2007 17:26:45 +0530 Subject: [AccessD] highest value of 4 variables - urgent References: <000c01c81eb9$57482cb0$cefa033e@minster33c3r25> Message-ID: <006b01c81ed9$d2a69c50$7357a27a@personalec1122> That is cute Andy! My compliments for such elegant solution. A.D.Tejpal ------------ ----- Original Message ----- From: Andy Lacey To: 'Access Developers discussion and problem solving' Sent: Sunday, November 04, 2007 13:34 Subject: Re: [AccessD] highest value of 4 variables - urgent If you write yourself a general purpose Max function along the lines of Function Max(var1, var2) If var1>var2 then Max=var1 Else Max=var2 End if End Function then you can just Result=Max(Max(Max(var4,var3),var2),var1) -- Andy Lacey http://www.minstersystems.co.uk From wdhindman at dejpolsystems.com Sun Nov 4 06:20:41 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sun, 4 Nov 2007 07:20:41 -0500 Subject: [AccessD] highest value of 4 variables - urgent References: <000c01c81eb9$57482cb0$cefa033e@minster33c3r25> Message-ID: <000c01c81edd$1e646200$6b706c4c@jisshowsbs.local> ...pop! ...into ye olde code bin :) William ----- Original Message ----- From: "Andy Lacey" To: "'Access Developers discussion and problem solving'" Sent: Sunday, November 04, 2007 3:04 AM Subject: Re: [AccessD] highest value of 4 variables - urgent > If you write yourself a general purpose Max function along the lines of > > Function Max(var1, var2) > > If var1>var2 then > Max=var1 > Else > Max=var2 > End if > End Function > > then you can just > > Result=Max(Max(Max(var4,var3),var2),var1) > > -- Andy Lacey > http://www.minstersystems.co.uk > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> Kath Pelletti >> Sent: 04 November 2007 00:15 >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] highest value of 4 variables - urgent >> >> >> I would have thought so? >> >> ----- Original Message ----- >> From: "Rocky Smolin at Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Sunday, November 04, 2007 11:12 AM >> Subject: Re: [AccessD] highest value of 4 variables - urgent >> >> >> > Yeah, there must be something like Max(var1, var2, var3, var4) >> > >> > Rocky >> > >> > >> > >> > >> > >> > >> > >> > >> > -----Original Message----- >> > From: accessd-bounces at databaseadvisors.com >> > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath >> > Pelletti >> > Sent: Saturday, November 03, 2007 4:36 PM >> > To: Access Developers discussion and problem solving >> > Subject: Re: [AccessD] highest value of 4 variables - urgent >> > >> > That's where I am with it too Rocky - until I get another >> solution I >> > will >> > go >> > with this.....(but I'm sure there will be something that we >> both can't >> > remember?) >> > >> > Ta >> > ----- Original Message ----- >> > From: "Rocky Smolin at Beach Access Software" >> >> > To: "'Access Developers discussion and problem solving'" >> > >> > Sent: Sunday, November 04, 2007 10:29 AM >> > Subject: Re: [AccessD] highest value of 4 variables - urgent >> > >> > >> >> Brute Force? >> >> >> >> Function GetHigh as Variant >> >> >> >> GetHigh = var1 >> >> If var2 > GetHigh Then GetHigh = var2 >> >> If var3 > GetHigh Then GetHigh = var3 >> >> If var4 > GetHigh Then GetHigh = var4 >> >> >> >> End Function >> >> >> >> I'm sure there's a more elegant way... >> >> >> >> Rocky >> >> >> >> >> >> >> >> >> >> >> >> -----Original Message----- >> >> From: accessd-bounces at databaseadvisors.com >> >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath >> >> Pelletti >> >> Sent: Saturday, November 03, 2007 3:57 PM >> >> To: Access D Normal List >> >> Subject: [AccessD] highest value of 4 variables - urgent >> >> >> >> maybe i am having a vague moment - but what function can I >> use to get >> >> the highest value of 4 variables, eg: >> >> >> >> >> >> eg. I want to know x where x is the highest of (var1, var2, var3, >> >> var4) >> >> >> >> ta >> >> ______________________________________ >> >> Kath Pelletti >> >> -- >> >> AccessD mailing list >> >> AccessD at databaseadvisors.com >> >> http://databaseadvisors.com/mailman/listinfo/accessd >> >> Website: http://www.databaseadvisors.com >> >> >> >> No virus found in this incoming message. >> >> Checked by AVG Free Edition. >> >> Version: 7.5.503 / Virus Database: 269.15.19/1106 - Release Date: >> >> 11/2/2007 9:46 PM >> >> >> >> >> >> -- >> >> AccessD mailing list >> >> AccessD at databaseadvisors.com >> >> http://databaseadvisors.com/mailman/listinfo/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 incoming message. >> > Checked by AVG Free Edition. >> > Version: 7.5.503 / Virus Database: 269.15.19/1106 - Release Date: >> > 11/2/2007 >> > 9:46 PM >> > >> > >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> 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 Nov 4 06:31:45 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 4 Nov 2007 07:31:45 -0500 Subject: [AccessD] highest value of 4 variables - urgent In-Reply-To: <000801c81e6c$e5ae0f30$6701a8c0@DELLAPTOP> References: <000801c81e6c$e5ae0f30$6701a8c0@DELLAPTOP> Message-ID: <000301c81ede$aa371a10$647aa8c0@M90> Probably the easiest way to do this is to turn the set of variables into an array of variables. '.Comments : '.Parameters: '.Sets : '.Returns : '.Created by: Colby Consulting '.Created : 11/4/2007 7:27:49 AM Function MaxOfVars(ParamArray varValues() As Variant) On Error GoTo Err_MaxOfVars Dim lvarVal As Variant Dim lvarMax As Variant lvarMax = varValues(0) For Each lvarVal In varValues If lvarVal > lvarMax Then lvarMax = lvarVal End If Next lvarVal MaxOfVars = lvarMax Exit_MaxOfVars: Exit Function Err_MaxOfVars: Select Case Err Case 9 'No values passed in. Return what you want here. Will currently return a null MaxOfVars = null Resume Exit_MaxOfVars Case Else MsgBox Err.Description, , "Error in Function Module1.MaxOfVars" Resume Exit_MaxOfVars End Select Resume 0 '.FOR TROUBLESHOOTING End Function Then you can simply: 1) Set the lvarMax = the first value in the array 2) Iterate through the array 3) Check if lvarVal > lvarMax 4) If it is set lvarmax = lvarVal 5) When you are done lvarMax is equal to the largest value in the array 6) Return lvarMax 7) if nothing is passed in you hit the error handler with a value of 9 and return a null Now you can pass in any number of values and always get back the max value regardless of the number passed in. BTW, the function is tested and works. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Saturday, November 03, 2007 6:57 PM To: Access D Normal List Subject: [AccessD] highest value of 4 variables - urgent maybe i am having a vague moment - but what function can I use to get the highest value of 4 variables, eg: eg. I want to know x where x is the highest of (var1, var2, var3, var4) ta ______________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sun Nov 4 06:32:39 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 4 Nov 2007 07:32:39 -0500 Subject: [AccessD] highest value of 4 variables - urgent In-Reply-To: <000c01c81edd$1e646200$6b706c4c@jisshowsbs.local> References: <000c01c81eb9$57482cb0$cefa033e@minster33c3r25> <000c01c81edd$1e646200$6b706c4c@jisshowsbs.local> Message-ID: <000401c81ede$c9e61050$647aa8c0@M90> Yes, but now you have to do that N times. I have a better solution coming. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Sunday, November 04, 2007 7:21 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] highest value of 4 variables - urgent ...pop! ...into ye olde code bin :) William ----- Original Message ----- From: "Andy Lacey" To: "'Access Developers discussion and problem solving'" Sent: Sunday, November 04, 2007 3:04 AM Subject: Re: [AccessD] highest value of 4 variables - urgent > If you write yourself a general purpose Max function along the lines of > > Function Max(var1, var2) > > If var1>var2 then > Max=var1 > Else > Max=var2 > End if > End Function > > then you can just > > Result=Max(Max(Max(var4,var3),var2),var1) > > -- Andy Lacey > http://www.minstersystems.co.uk > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> Kath Pelletti >> Sent: 04 November 2007 00:15 >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] highest value of 4 variables - urgent >> >> >> I would have thought so? >> >> ----- Original Message ----- >> From: "Rocky Smolin at Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Sunday, November 04, 2007 11:12 AM >> Subject: Re: [AccessD] highest value of 4 variables - urgent >> >> >> > Yeah, there must be something like Max(var1, var2, var3, var4) >> > >> > Rocky >> > >> > >> > >> > >> > >> > >> > >> > >> > -----Original Message----- >> > From: accessd-bounces at databaseadvisors.com >> > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath >> > Pelletti >> > Sent: Saturday, November 03, 2007 4:36 PM >> > To: Access Developers discussion and problem solving >> > Subject: Re: [AccessD] highest value of 4 variables - urgent >> > >> > That's where I am with it too Rocky - until I get another >> solution I >> > will >> > go >> > with this.....(but I'm sure there will be something that we >> both can't >> > remember?) >> > >> > Ta >> > ----- Original Message ----- >> > From: "Rocky Smolin at Beach Access Software" >> >> > To: "'Access Developers discussion and problem solving'" >> > >> > Sent: Sunday, November 04, 2007 10:29 AM >> > Subject: Re: [AccessD] highest value of 4 variables - urgent >> > >> > >> >> Brute Force? >> >> >> >> Function GetHigh as Variant >> >> >> >> GetHigh = var1 >> >> If var2 > GetHigh Then GetHigh = var2 >> >> If var3 > GetHigh Then GetHigh = var3 >> >> If var4 > GetHigh Then GetHigh = var4 >> >> >> >> End Function >> >> >> >> I'm sure there's a more elegant way... >> >> >> >> Rocky >> >> >> >> >> >> >> >> >> >> >> >> -----Original Message----- >> >> From: accessd-bounces at databaseadvisors.com >> >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath >> >> Pelletti >> >> Sent: Saturday, November 03, 2007 3:57 PM >> >> To: Access D Normal List >> >> Subject: [AccessD] highest value of 4 variables - urgent >> >> >> >> maybe i am having a vague moment - but what function can I >> use to get >> >> the highest value of 4 variables, eg: >> >> >> >> >> >> eg. I want to know x where x is the highest of (var1, var2, var3, >> >> var4) >> >> >> >> ta >> >> ______________________________________ >> >> Kath Pelletti >> >> -- >> >> AccessD mailing list >> >> AccessD at databaseadvisors.com >> >> http://databaseadvisors.com/mailman/listinfo/accessd >> >> Website: http://www.databaseadvisors.com >> >> >> >> No virus found in this incoming message. >> >> Checked by AVG Free Edition. >> >> Version: 7.5.503 / Virus Database: 269.15.19/1106 - Release Date: >> >> 11/2/2007 9:46 PM >> >> >> >> >> >> -- >> >> AccessD mailing list >> >> AccessD at databaseadvisors.com >> >> http://databaseadvisors.com/mailman/listinfo/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 incoming message. >> > Checked by AVG Free Edition. >> > Version: 7.5.503 / Virus Database: 269.15.19/1106 - Release Date: >> > 11/2/2007 >> > 9:46 PM >> > >> > >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 4 06:37:43 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 4 Nov 2007 07:37:43 -0500 Subject: [AccessD] highest value of 4 variables - urgent In-Reply-To: <000301c81ede$aa371a10$647aa8c0@M90> References: <000801c81e6c$e5ae0f30$6701a8c0@DELLAPTOP> <000301c81ede$aa371a10$647aa8c0@M90> Message-ID: <000501c81edf$7f415ef0$647aa8c0@M90> BTW. to test this simply go to the debug window and enter: ?MaxOfVars(4,2,5,4,8,4,9,0) and hit enter. Place a breakpoint at lvarmax=varvalues(0) and then step if you want to watch it run. Next do ?MaxOfVars(5,2,6,7,4) Next do ?MaxOfVars() John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Sunday, November 04, 2007 7:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] highest value of 4 variables - urgent Probably the easiest way to do this is to turn the set of variables into an array of variables. '.Comments : '.Parameters: '.Sets : '.Returns : '.Created by: Colby Consulting '.Created : 11/4/2007 7:27:49 AM Function MaxOfVars(ParamArray varValues() As Variant) On Error GoTo Err_MaxOfVars Dim lvarVal As Variant Dim lvarMax As Variant lvarMax = varValues(0) For Each lvarVal In varValues If lvarVal > lvarMax Then lvarMax = lvarVal End If Next lvarVal MaxOfVars = lvarMax Exit_MaxOfVars: Exit Function Err_MaxOfVars: Select Case Err Case 9 'No values passed in. Return what you want here. Will currently return a null MaxOfVars = null Resume Exit_MaxOfVars Case Else MsgBox Err.Description, , "Error in Function Module1.MaxOfVars" Resume Exit_MaxOfVars End Select Resume 0 '.FOR TROUBLESHOOTING End Function Then you can simply: 1) Set the lvarMax = the first value in the array 2) Iterate through the array 3) Check if lvarVal > lvarMax 4) If it is set lvarmax = lvarVal 5) When you are done lvarMax is equal to the largest value in the array 6) Return lvarMax 7) if nothing is passed in you hit the error handler with a value of 9 and return a null Now you can pass in any number of values and always get back the max value regardless of the number passed in. BTW, the function is tested and works. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Saturday, November 03, 2007 6:57 PM To: Access D Normal List Subject: [AccessD] highest value of 4 variables - urgent maybe i am having a vague moment - but what function can I use to get the highest value of 4 variables, eg: eg. I want to know x where x is the highest of (var1, var2, var3, var4) ta ______________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 4 06:40:14 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 4 Nov 2007 07:40:14 -0500 Subject: [AccessD] highest value of 4 variables - urgent In-Reply-To: <000301c81ede$aa371a10$647aa8c0@M90> References: <000801c81e6c$e5ae0f30$6701a8c0@DELLAPTOP> <000301c81ede$aa371a10$647aa8c0@M90> Message-ID: <000601c81edf$d93af880$647aa8c0@M90> For some reason the On Error and DIM statements got yanked up on the same line as the function. Just move them back down into their own line. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Sunday, November 04, 2007 7:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] highest value of 4 variables - urgent Probably the easiest way to do this is to turn the set of variables into an array of variables. '.Comments : '.Parameters: '.Sets : '.Returns : '.Created by: Colby Consulting '.Created : 11/4/2007 7:27:49 AM Function MaxOfVars(ParamArray varValues() As Variant) On Error GoTo Err_MaxOfVars Dim lvarVal As Variant Dim lvarMax As Variant lvarMax = varValues(0) For Each lvarVal In varValues If lvarVal > lvarMax Then lvarMax = lvarVal End If Next lvarVal MaxOfVars = lvarMax Exit_MaxOfVars: Exit Function Err_MaxOfVars: Select Case Err Case 9 'No values passed in. Return what you want here. Will currently return a null MaxOfVars = null Resume Exit_MaxOfVars Case Else MsgBox Err.Description, , "Error in Function Module1.MaxOfVars" Resume Exit_MaxOfVars End Select Resume 0 '.FOR TROUBLESHOOTING End Function Then you can simply: 1) Set the lvarMax = the first value in the array 2) Iterate through the array 3) Check if lvarVal > lvarMax 4) If it is set lvarmax = lvarVal 5) When you are done lvarMax is equal to the largest value in the array 6) Return lvarMax 7) if nothing is passed in you hit the error handler with a value of 9 and return a null Now you can pass in any number of values and always get back the max value regardless of the number passed in. BTW, the function is tested and works. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Saturday, November 03, 2007 6:57 PM To: Access D Normal List Subject: [AccessD] highest value of 4 variables - urgent maybe i am having a vague moment - but what function can I use to get the highest value of 4 variables, eg: eg. I want to know x where x is the highest of (var1, var2, var3, var4) ta ______________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 4 07:17:30 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 4 Nov 2007 05:17:30 -0800 Subject: [AccessD] Packagers/Installers Message-ID: <000601c81ee5$0dd472b0$0301a8c0@HAL9005> Dear List: I use the Wise/Sagekey combination to package a couple of commercial applications. Always found it to be top notch. Does anyone have experience with other packagers, good or bad, particularly Windows Installer? Thanks in advance Rocky From rockysmolin at bchacc.com Sun Nov 4 10:19:01 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 4 Nov 2007 08:19:01 -0800 Subject: [AccessD] Packagers/Installers In-Reply-To: <000601c81ee5$0dd472b0$0301a8c0@HAL9005> References: <000601c81ee5$0dd472b0$0301a8c0@HAL9005> Message-ID: <002c01c81efe$69bc3e50$0301a8c0@HAL9005> Another question about the Windows Installer - I vaguely remember there being some problem with it that you didn't have with a commercial installer like Wise. But I can't remember. Does anyone recall this? MTIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, November 04, 2007 5:18 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Packagers/Installers Dear List: I use the Wise/Sagekey combination to package a couple of commercial applications. Always found it to be top notch. Does anyone have experience with other packagers, good or bad, particularly Windows Installer? Thanks in advance Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.20/1108 - Release Date: 11/3/2007 9:42 PM From jwcolby at colbyconsulting.com Sun Nov 4 11:53:19 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 4 Nov 2007 12:53:19 -0500 Subject: [AccessD] highest value of 4 variables - urgent In-Reply-To: <003b01c81e75$5e8ffa00$0202a8c0@Laptop> References: <000801c81e6c$e5ae0f30$6701a8c0@DELLAPTOP><008101c81e71$720e80f0$0301a8c0@HAL9005><000901c81e72$40ab91f0$6701a8c0@DELLAPTOP> <003b01c81e75$5e8ffa00$0202a8c0@Laptop> Message-ID: <000701c81f0b$96988b60$647aa8c0@M90> LOL, the least you could have done is dig up the quicksort. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Saturday, November 03, 2007 7:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] highest value of 4 variables - urgent Remember this? (Just kidding, but it is from NeatCode.mdb) Sub ShellSortArray(A() As Variant) Dim i As Long, j As Long Dim Low As Long, Hi As Long Dim PushPop As Variant Low = LBound(A) Hi = UBound(A) j = (Hi - Low + 1) \ 2 Do While j > 0 For i = Low To Hi - j If A(i) > A(i + j) Then PushPop = A(i) A(i) = A(i + j) A(i + j) = PushPop End If Next i For i = Hi - j To Low Step -1 If A(i) > A(i + j) Then PushPop = A(i) A(i) = A(i + j) A(i + j) = PushPop End If Next i j = j \ 2 Loop End Sub Function TestShellSortArray() Dim vA() As Variant Dim i As Long vA = Array(64, 16, 8, 32, 40, 48, 24, 56) ShellSortArray vA() For i = LBound(vA()) To UBound(vA()) Debug.Print vA(i) Next End Function Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Kath Pelletti" To: "Access Developers discussion and problem solving" Sent: Saturday, November 03, 2007 7:35 PM Subject: Re: [AccessD] highest value of 4 variables - urgent > That's where I am with it too Rocky - until I get another solution I will > go > with this.....(but I'm sure there will be something that we both can't > remember?) > > Ta > ----- Original Message ----- > From: "Rocky Smolin at Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Sunday, November 04, 2007 10:29 AM > Subject: Re: [AccessD] highest value of 4 variables - urgent > > >> Brute Force? >> >> Function GetHigh as Variant >> >> GetHigh = var1 >> If var2 > GetHigh Then GetHigh = var2 >> If var3 > GetHigh Then GetHigh = var3 >> If var4 > GetHigh Then GetHigh = var4 >> >> End Function >> >> I'm sure there's a more elegant way... >> >> Rocky >> >> >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti >> Sent: Saturday, November 03, 2007 3:57 PM >> To: Access D Normal List >> Subject: [AccessD] highest value of 4 variables - urgent >> >> maybe i am having a vague moment - but what function can I use to get the >> highest value of 4 variables, eg: >> >> >> eg. I want to know x where x is the highest of (var1, var2, var3, var4) >> >> ta >> ______________________________________ >> Kath Pelletti >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.503 / Virus Database: 269.15.19/1106 - Release Date: >> 11/2/2007 >> 9:46 PM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kp at sdsonline.net Mon Nov 5 15:40:05 2007 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 6 Nov 2007 08:40:05 +1100 Subject: [AccessD] highest value of 4 variables - urgent References: <000801c81e6c$e5ae0f30$6701a8c0@DELLAPTOP> <000301c81ede$aa371a10$647aa8c0@M90> Message-ID: <001901c81ff4$6edf0510$6701a8c0@DELLAPTOP> that's great John - thanks. ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Sunday, November 04, 2007 11:31 PM Subject: Re: [AccessD] highest value of 4 variables - urgent > Probably the easiest way to do this is to turn the set of variables into > an > array of variables. > > '.Comments : > '.Parameters: > '.Sets : > '.Returns : > '.Created by: Colby Consulting > '.Created : 11/4/2007 7:27:49 AM > Function MaxOfVars(ParamArray varValues() As Variant) > On Error GoTo Err_MaxOfVars > Dim lvarVal As Variant > Dim lvarMax As Variant > lvarMax = varValues(0) > For Each lvarVal In varValues > If lvarVal > lvarMax Then > lvarMax = lvarVal > End If > Next lvarVal > MaxOfVars = lvarMax > Exit_MaxOfVars: > Exit Function > Err_MaxOfVars: > Select Case Err > Case 9 'No values passed in. Return what you want here. Will > currently return a null > MaxOfVars = null > Resume Exit_MaxOfVars > Case Else > MsgBox Err.Description, , "Error in Function Module1.MaxOfVars" > Resume Exit_MaxOfVars > End Select > Resume 0 '.FOR TROUBLESHOOTING > End Function > Then you can simply: > > 1) Set the lvarMax = the first value in the array > 2) Iterate through the array > 3) Check if lvarVal > lvarMax > 4) If it is set lvarmax = lvarVal > 5) When you are done lvarMax is equal to the largest value in the array > 6) Return lvarMax > > 7) if nothing is passed in you hit the error handler with a value of 9 and > return a null > > Now you can pass in any number of values and always get back the max value > regardless of the number passed in. > > BTW, the function is tested and works. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti > Sent: Saturday, November 03, 2007 6:57 PM > To: Access D Normal List > Subject: [AccessD] highest value of 4 variables - urgent > > maybe i am having a vague moment - but what function can I use to get the > highest value of 4 variables, eg: > > > eg. I want to know x where x is the highest of (var1, var2, var3, var4) > > ta > ______________________________________ > Kath Pelletti > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From kp at sdsonline.net Mon Nov 5 16:38:09 2007 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 6 Nov 2007 09:38:09 +1100 Subject: [AccessD] move report control 2007 Message-ID: <000601c81ffc$8b94bee0$6701a8c0@DELLAPTOP> ...going mad here and don't seem to be able to find this in 'help' 2007 or anywhere else.... How do I move a bound control (in report design) independently of its label? (Where has the 'finger' gone?) I have also tried to cut and paste the label and put it back (used to work in 2003 - they became separate items) but this doesn't work in 2007? tia Kath ______________________________________ Kath Pelletti From gustav at cactus.dk Sun Nov 4 16:49:46 2007 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 04 Nov 2007 23:49:46 +0100 Subject: [AccessD] Svar: highest value of 4 variables - urgent Message-ID: >>> kp at sdsonline.net 03-11-07 23:57 >>> maybe i am having a vague moment - but what function can I use to get the highest value of 4 variables, eg: eg. I want to know x where x is the highest of (var1, var2, var3, var4) ta ______________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Nov 4 16:49:47 2007 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 04 Nov 2007 23:49:47 +0100 Subject: [AccessD] Svar: highest value of 4 variables - urgent Message-ID: >>> kp at sdsonline.net 03-11-07 23:57 >>> maybe i am having a vague moment - but what function can I use to get the highest value of 4 variables, eg: eg. I want to know x where x is the highest of (var1, var2, var3, var4) ta ______________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Nov 4 16:49:46 2007 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 04 Nov 2007 23:49:46 +0100 Subject: [AccessD] Svar: highest value of 4 variables - urgent Message-ID: >>> kp at sdsonline.net 03-11-07 23:57 >>> maybe i am having a vague moment - but what function can I use to get the highest value of 4 variables, eg: eg. I want to know x where x is the highest of (var1, var2, var3, var4) ta ______________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Nov 4 16:49:46 2007 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 04 Nov 2007 23:49:46 +0100 Subject: [AccessD] Svar: highest value of 4 variables - urgent Message-ID: >>> kp at sdsonline.net 03-11-07 23:57 >>> maybe i am having a vague moment - but what function can I use to get the highest value of 4 variables, eg: eg. I want to know x where x is the highest of (var1, var2, var3, var4) ta ______________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Nov 4 16:49:46 2007 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 04 Nov 2007 23:49:46 +0100 Subject: [AccessD] Svar: highest value of 4 variables - urgent Message-ID: >>> kp at sdsonline.net 03-11-07 23:57 >>> maybe i am having a vague moment - but what function can I use to get the highest value of 4 variables, eg: eg. I want to know x where x is the highest of (var1, var2, var3, var4) ta ______________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Nov 4 16:49:46 2007 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 04 Nov 2007 23:49:46 +0100 Subject: [AccessD] Svar: highest value of 4 variables - urgent Message-ID: >>> kp at sdsonline.net 03-11-07 23:57 >>> maybe i am having a vague moment - but what function can I use to get the highest value of 4 variables, eg: eg. I want to know x where x is the highest of (var1, var2, var3, var4) ta ______________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Nov 4 16:49:47 2007 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 04 Nov 2007 23:49:47 +0100 Subject: [AccessD] Svar: highest value of 4 variables - urgent Message-ID: >>> kp at sdsonline.net 03-11-07 23:57 >>> maybe i am having a vague moment - but what function can I use to get the highest value of 4 variables, eg: eg. I want to know x where x is the highest of (var1, var2, var3, var4) ta ______________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Nov 4 16:49:46 2007 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 04 Nov 2007 23:49:46 +0100 Subject: [AccessD] Svar: highest value of 4 variables - urgent Message-ID: >>> kp at sdsonline.net 03-11-07 23:57 >>> maybe i am having a vague moment - but what function can I use to get the highest value of 4 variables, eg: eg. I want to know x where x is the highest of (var1, var2, var3, var4) ta ______________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Nov 4 16:49:47 2007 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 04 Nov 2007 23:49:47 +0100 Subject: [AccessD] Svar: highest value of 4 variables - urgent Message-ID: >>> kp at sdsonline.net 03-11-07 23:57 >>> maybe i am having a vague moment - but what function can I use to get the highest value of 4 variables, eg: eg. I want to know x where x is the highest of (var1, var2, var3, var4) ta ______________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Nov 4 16:49:47 2007 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 04 Nov 2007 23:49:47 +0100 Subject: [AccessD] Svar: highest value of 4 variables - urgent Message-ID: >>> kp at sdsonline.net 03-11-07 23:57 >>> maybe i am having a vague moment - but what function can I use to get the highest value of 4 variables, eg: eg. I want to know x where x is the highest of (var1, var2, var3, var4) ta ______________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Nov 4 16:49:47 2007 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 04 Nov 2007 23:49:47 +0100 Subject: [AccessD] Svar: highest value of 4 variables - urgent Message-ID: >>> kp at sdsonline.net 03-11-07 23:57 >>> maybe i am having a vague moment - but what function can I use to get the highest value of 4 variables, eg: eg. I want to know x where x is the highest of (var1, var2, var3, var4) ta ______________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Nov 4 16:54:17 2007 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 04 Nov 2007 23:54:17 +0100 Subject: [AccessD] highest value of 4 variables - urgent Message-ID: Hi Kath I'm with JC. This is an excellent example to demonstrate the power of ParamArray. Here's an example specific for dates that I have used: Public Function DateMax(ParamArray avarDates() As Variant) As Date ' Return maximum date/time value of elements in ' array avarDates(). ' If no elements of array avarDates() are dates, ' value of cdatEmpty is returned. ' ' 2003-09-30. Cactus Data ApS, CPH. ' Return value for an empty array. Const cdatEmpty As Date = #1/1/100# Dim varDate As Variant Dim varDateMax As Variant For Each varDate In avarDates() If IsDate(varDate) Then If VarType(varDate) <> vbDate Then varDate = CDate(varDate) End If If varDate > varDateMax Then varDateMax = varDate End If End If Next If IsEmpty(varDateMax) Then varDateMax = cdatEmpty End If DateMax = varDateMax End Function /gustav >>> kp at sdsonline.net 03-11-07 23:57 >>> maybe i am having a vague moment - but what function can I use to get the highest value of 4 variables, eg: eg. I want to know x where x is the highest of (var1, var2, var3, var4) ta ______________________________________ Kath Pelletti From gustav at cactus.dk Sun Nov 4 16:56:08 2007 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 04 Nov 2007 23:56:08 +0100 Subject: [AccessD] Svar: highest value of 4 variables - urgent Message-ID: Sorry for the empty posts, the cat stepped on the Enter key ... /gustav From jwcolby at colbyconsulting.com Sun Nov 4 17:05:46 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 4 Nov 2007 18:05:46 -0500 Subject: [AccessD] Svar: highest value of 4 variables - urgent In-Reply-To: References: Message-ID: <000f01c81f37$3c4e5cd0$647aa8c0@M90> ROTFL. Now I've heard everything. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, November 04, 2007 5:56 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Svar: highest value of 4 variables - urgent Sorry for the empty posts, the cat stepped on the Enter key ... /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kp at sdsonline.net Mon Nov 5 17:13:10 2007 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 6 Nov 2007 10:13:10 +1100 Subject: [AccessD] highest value of 4 variables - urgent References: Message-ID: <003201c82001$6f5337c0$6701a8c0@DELLAPTOP> thanks Gustav - I have never really mastered arrays in vba (used to use them a lot in Cobol, RPG - but many moons ago). So thanks to you and John for the examples. Kath ----- Original Message ----- From: "Gustav Brock" To: Sent: Monday, November 05, 2007 9:54 AM Subject: Re: [AccessD] highest value of 4 variables - urgent > Hi Kath > > I'm with JC. This is an excellent example to demonstrate the power of > ParamArray. Here's an example specific for dates that I have used: > > Public Function DateMax(ParamArray avarDates() As Variant) As Date > > ' Return maximum date/time value of elements in > ' array avarDates(). > ' If no elements of array avarDates() are dates, > ' value of cdatEmpty is returned. > ' > ' 2003-09-30. Cactus Data ApS, CPH. > > ' Return value for an empty array. > Const cdatEmpty As Date = #1/1/100# > > Dim varDate As Variant > Dim varDateMax As Variant > > For Each varDate In avarDates() > If IsDate(varDate) Then > If VarType(varDate) <> vbDate Then > varDate = CDate(varDate) > End If > If varDate > varDateMax Then > varDateMax = varDate > End If > End If > Next > > If IsEmpty(varDateMax) Then > varDateMax = cdatEmpty > End If > > DateMax = varDateMax > > End Function > > /gustav > > >>>> kp at sdsonline.net 03-11-07 23:57 >>> > maybe i am having a vague moment - but what function can I use to get the > highest value of 4 variables, eg: > > > eg. I want to know x where x is the highest of (var1, var2, var3, var4) > > ta > ______________________________________ > Kath Pelletti > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mmattys at rochester.rr.com Sun Nov 4 17:16:40 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Sun, 4 Nov 2007 18:16:40 -0500 Subject: [AccessD] highest value of 4 variables - urgent References: <000801c81e6c$e5ae0f30$6701a8c0@DELLAPTOP> <008101c81e71$720e80f0$0301a8c0@HAL9005> <000901c81e72$40ab91f0$6701a8c0@DELLAPTOP> <003b01c81e75$5e8ffa00$0202a8c0@Laptop> <000701c81f0b$96988b60$647aa8c0@M90> Message-ID: <008b01c81f38$cab24710$0202a8c0@Laptop> Oh, Sorry. Sub QuickSort(A() As Integer, ByVal Low As Integer, ByVal Hi As Integer) ' ' Very fast sort: n Log n comparisons ' ' Calling convention: ' Redim A(1 To 20) as Integer ' QuickSort A(), 1, 20 ' Dim MidValue As Integer, i As Integer, j As Integer, Temp As Integer If Hi <= Low Then Exit Sub MidValue = A((Low + Hi) \ 2) i = Low j = Hi Do While i <= j If A(i) >= MidValue And A(j) <= MidValue Then Temp = A(i) A(i) = A(j) A(j) = Temp i = i + 1 j = j - 1 Else If A(i) < MidValue Then i = i + 1 If A(j) > MidValue Then j = j - 1 End If Loop QuickSort A(), Low, j QuickSort A(), i, Hi End Sub Function TestQuickSort() ReDim A(1 To 8) As Integer A(1) = 64: A(2) = 16: A(3) = 8: A(4) = 32: A(5) = 40: A(6) = 48: A(7) = 24: A(8) = 56 QuickSort A(), 1, 8 Debug.Print "Min: " & A(1) & " and Max:" & A(8) End Function Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Sunday, November 04, 2007 12:53 PM Subject: Re: [AccessD] highest value of 4 variables - urgent > LOL, the least you could have done is dig up the quicksort. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R > Mattys > Sent: Saturday, November 03, 2007 7:58 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] highest value of 4 variables - urgent > > Remember this? (Just kidding, but it is from NeatCode.mdb) > > Sub ShellSortArray(A() As Variant) > Dim i As Long, j As Long > Dim Low As Long, Hi As Long > Dim PushPop As Variant > Low = LBound(A) > Hi = UBound(A) > j = (Hi - Low + 1) \ 2 > Do While j > 0 > For i = Low To Hi - j > If A(i) > A(i + j) Then > PushPop = A(i) > A(i) = A(i + j) > A(i + j) = PushPop > End If > Next i > For i = Hi - j To Low Step -1 > If A(i) > A(i + j) Then > PushPop = A(i) > A(i) = A(i + j) > A(i + j) = PushPop > End If > Next i > j = j \ 2 > Loop > End Sub > > Function TestShellSortArray() > Dim vA() As Variant > Dim i As Long > vA = Array(64, 16, 8, 32, 40, 48, 24, 56) > ShellSortArray vA() > For i = LBound(vA()) To UBound(vA()) > Debug.Print vA(i) > Next > End Function > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "Kath Pelletti" > To: "Access Developers discussion and problem solving" > > Sent: Saturday, November 03, 2007 7:35 PM > Subject: Re: [AccessD] highest value of 4 variables - urgent > > >> That's where I am with it too Rocky - until I get another solution I will >> go >> with this.....(but I'm sure there will be something that we both can't >> remember?) >> >> Ta >> ----- Original Message ----- >> From: "Rocky Smolin at Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Sunday, November 04, 2007 10:29 AM >> Subject: Re: [AccessD] highest value of 4 variables - urgent >> >> >>> Brute Force? >>> >>> Function GetHigh as Variant >>> >>> GetHigh = var1 >>> If var2 > GetHigh Then GetHigh = var2 >>> If var3 > GetHigh Then GetHigh = var3 >>> If var4 > GetHigh Then GetHigh = var4 >>> >>> End Function >>> >>> I'm sure there's a more elegant way... >>> >>> Rocky >>> >>> >>> >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti >>> Sent: Saturday, November 03, 2007 3:57 PM >>> To: Access D Normal List >>> Subject: [AccessD] highest value of 4 variables - urgent >>> >>> maybe i am having a vague moment - but what function can I use to get >>> the >>> highest value of 4 variables, eg: >>> >>> >>> eg. I want to know x where x is the highest of (var1, var2, var3, var4) >>> >>> ta >>> ______________________________________ >>> Kath Pelletti >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> No virus found in this incoming message. >>> Checked by AVG Free Edition. >>> Version: 7.5.503 / Virus Database: 269.15.19/1106 - Release Date: >>> 11/2/2007 >>> 9:46 PM >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Sun Nov 4 18:22:15 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 4 Nov 2007 19:22:15 -0500 Subject: [AccessD] move report control 2007 References: <000601c81ffc$8b94bee0$6701a8c0@DELLAPTOP> Message-ID: <007801c81f41$f2c52200$4b3a8343@SusanOne> You don't need the finger anymore, they move independently of one another without it. Susan H. > How do I move a bound control (in report design) independently of its > label? (Where has the 'finger' gone?) I have also tried to cut and paste > the label and put it back (used to work in 2003 - they became separate > items) but this doesn't work in 2007? From jwcolby at colbyconsulting.com Sun Nov 4 18:38:54 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 4 Nov 2007 19:38:54 -0500 Subject: [AccessD] highest value of 4 variables - urgent In-Reply-To: <003201c82001$6f5337c0$6701a8c0@DELLAPTOP> References: <003201c82001$6f5337c0$6701a8c0@DELLAPTOP> Message-ID: <001001c81f44$427f3810$647aa8c0@M90> The nice thing about the param array in this case is that you can pass in as many values as you wish to the function. In addition you can use the for next iterator to step through the array. Those two concepts allow a very quick and easy solution to this kind of problem, and additionally create a generic solution that fits not only your specific need but any set of numbers. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Monday, November 05, 2007 6:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] highest value of 4 variables - urgent thanks Gustav - I have never really mastered arrays in vba (used to use them a lot in Cobol, RPG - but many moons ago). So thanks to you and John for the examples. Kath ----- Original Message ----- From: "Gustav Brock" To: Sent: Monday, November 05, 2007 9:54 AM Subject: Re: [AccessD] highest value of 4 variables - urgent > Hi Kath > > I'm with JC. This is an excellent example to demonstrate the power of > ParamArray. Here's an example specific for dates that I have used: > > Public Function DateMax(ParamArray avarDates() As Variant) As Date > > ' Return maximum date/time value of elements in > ' array avarDates(). > ' If no elements of array avarDates() are dates, > ' value of cdatEmpty is returned. > ' > ' 2003-09-30. Cactus Data ApS, CPH. > > ' Return value for an empty array. > Const cdatEmpty As Date = #1/1/100# > > Dim varDate As Variant > Dim varDateMax As Variant > > For Each varDate In avarDates() > If IsDate(varDate) Then > If VarType(varDate) <> vbDate Then > varDate = CDate(varDate) > End If > If varDate > varDateMax Then > varDateMax = varDate > End If > End If > Next > > If IsEmpty(varDateMax) Then > varDateMax = cdatEmpty > End If > > DateMax = varDateMax > > End Function > > /gustav > > >>>> kp at sdsonline.net 03-11-07 23:57 >>> > maybe i am having a vague moment - but what function can I use to get the > highest value of 4 variables, eg: > > > eg. I want to know x where x is the highest of (var1, var2, var3, var4) > > ta > ______________________________________ > Kath Pelletti > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kp at sdsonline.net Mon Nov 5 18:39:51 2007 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 6 Nov 2007 11:39:51 +1100 Subject: [AccessD] move report control 2007 References: <000601c81ffc$8b94bee0$6701a8c0@DELLAPTOP> <007801c81f41$f2c52200$4b3a8343@SusanOne> Message-ID: <000501c8200d$8b8c71c0$6701a8c0@DELLAPTOP> I'm not finding that? When I move the bound control the attached label moves and vice versa......I know there is a new thing called control layout but I am definitely in design view. For now I had to delete the labels completely and add new labels using toolbox, then copy/paste for more. Then they are unattached. There must be an easier way....unforunately I'm working to a (late) deadline....this'll do for now. thx Kath ----- Original Message ----- From: "Susan Harkins" To: "Access Developers discussion and problem solving" Sent: Monday, November 05, 2007 11:22 AM Subject: Re: [AccessD] move report control 2007 > You don't need the finger anymore, they move independently of one another > without it. > > Susan H. > >> How do I move a bound control (in report design) independently of its >> label? (Where has the 'finger' gone?) I have also tried to cut and paste >> the label and put it back (used to work in 2003 - they became separate >> items) but this doesn't work in 2007? > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From kp at sdsonline.net Mon Nov 5 18:45:25 2007 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 6 Nov 2007 11:45:25 +1100 Subject: [AccessD] highest value of 4 variables - urgent References: <003201c82001$6f5337c0$6701a8c0@DELLAPTOP> <001001c81f44$427f3810$647aa8c0@M90> Message-ID: <000b01c8200e$525e1e70$6701a8c0@DELLAPTOP> exactly - the unlimited aspect is perfect.. ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 05, 2007 11:38 AM Subject: Re: [AccessD] highest value of 4 variables - urgent > The nice thing about the param array in this case is that you can pass in > as > many values as you wish to the function. In addition you can use the for > next iterator to step through the array. Those two concepts allow a very > quick and easy solution to this kind of problem, and additionally create a > generic solution that fits not only your specific need but any set of > numbers. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti > Sent: Monday, November 05, 2007 6:13 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] highest value of 4 variables - urgent > > thanks Gustav - I have never really mastered arrays in vba (used to use > them > a lot in Cobol, RPG - but many moons ago). > > So thanks to you and John for the examples. > > Kath > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Monday, November 05, 2007 9:54 AM > Subject: Re: [AccessD] highest value of 4 variables - urgent > > >> Hi Kath >> >> I'm with JC. This is an excellent example to demonstrate the power of >> ParamArray. Here's an example specific for dates that I have used: >> >> Public Function DateMax(ParamArray avarDates() As Variant) As Date >> >> ' Return maximum date/time value of elements in >> ' array avarDates(). >> ' If no elements of array avarDates() are dates, >> ' value of cdatEmpty is returned. >> ' >> ' 2003-09-30. Cactus Data ApS, CPH. >> >> ' Return value for an empty array. >> Const cdatEmpty As Date = #1/1/100# >> >> Dim varDate As Variant >> Dim varDateMax As Variant >> >> For Each varDate In avarDates() >> If IsDate(varDate) Then >> If VarType(varDate) <> vbDate Then >> varDate = CDate(varDate) >> End If >> If varDate > varDateMax Then >> varDateMax = varDate >> End If >> End If >> Next >> >> If IsEmpty(varDateMax) Then >> varDateMax = cdatEmpty >> End If >> >> DateMax = varDateMax >> >> End Function >> >> /gustav >> >> >>>>> kp at sdsonline.net 03-11-07 23:57 >>> >> maybe i am having a vague moment - but what function can I use to get the >> highest value of 4 variables, eg: >> >> >> eg. I want to know x where x is the highest of (var1, var2, var3, var4) >> >> ta >> ______________________________________ >> Kath Pelletti >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Sun Nov 4 18:52:07 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 4 Nov 2007 19:52:07 -0500 Subject: [AccessD] move report control 2007 References: <000601c81ffc$8b94bee0$6701a8c0@DELLAPTOP><007801c81f41$f2c52200$4b3a8343@SusanOne> <000501c8200d$8b8c71c0$6701a8c0@DELLAPTOP> Message-ID: <00b901c81f46$1cb98070$4b3a8343@SusanOne> Sorry about that -- I was thinking about form controls. I checked out reports. If the label and control are in the same section, you can easily delete one or the other. If they're in different sections, they seem glued together with that arrangement deal. Susan H. > I'm not finding that? When I move the bound control the attached label > moves > and vice versa......I know there is a new thing called control layout but > I > am definitely in design view. > > For now I had to delete the labels completely and add new labels using > toolbox, then copy/paste for more. Then they are unattached. > There must be an easier way....unforunately I'm working to a (late) > deadline....this'll do for now. > > thx > Kath > > ----- Original Message ----- > From: "Susan Harkins" > To: "Access Developers discussion and problem solving" > > Sent: Monday, November 05, 2007 11:22 AM > Subject: Re: [AccessD] move report control 2007 > > >> You don't need the finger anymore, they move independently of one another >> without it. >> >> Susan H. >> >>> How do I move a bound control (in report design) independently of its >>> label? (Where has the 'finger' gone?) I have also tried to cut and paste >>> the label and put it back (used to work in 2003 - they became separate >>> items) but this doesn't work in 2007? >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> 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 Nov 4 21:43:52 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 4 Nov 2007 22:43:52 -0500 Subject: [AccessD] Automate internet speed test Message-ID: <000001c81f5e$169576a0$647aa8c0@M90> I am having a big problem with my internet speed. I am paying for 5 mbit and getting 5 mbit, sometimes, and .5 mbit at others. I currently use speedtest.net for the simple reason that they keep a history of all of my tests, and I can download the results. I have done tests to all over the world just out of interest, mexico, ireland, london, isreal, india etc. It is fascinating to see how well I reach all of these places. Back to my problem. In order to troubleshoot this problem I need to do a test on a regular basis to try and establish the times of day that the problem occurs. I would like to automate hitting speedtest.net so I don't have to do so manually, but I do not know how to even begin doing such a thing. Is it possible to do what I want to do, to have a program that I write open a web site and "click on" a specific location on the screen, or by some other means to accomplish what I do with the mouse right now? John W. Colby Colby Consulting www.ColbyConsulting.com From darren at activebilling.com.au Sun Nov 4 22:06:57 2007 From: darren at activebilling.com.au (Darren D) Date: Mon, 5 Nov 2007 15:06:57 +1100 Subject: [AccessD] Automate internet speed test In-Reply-To: <000001c81f5e$169576a0$647aa8c0@M90> Message-ID: <200711050406.lA546lij029990@databaseadvisors.com> Hi John There would be a few ways to do this - Maybe explore the Windows Scheduler Another way - A simple one - Would be to do this in access (so you can control everything) using a Microsoft Web Browser control on a form Drop a Microsoft Web Control onto a form and feed it the URL you desire - even the 'clicked' url at Speedtest.net can be fed to it EG assume you called the dropped control "BrowserControl" Pass it the parameter of the URL - Me.BrowserControl.Navigate "http:// Speedtest.net" Then you could have it sit in the systray or minimised then using timers or time compare etc get it to 'run' at any time you wish etc Useful for other things to - can be re-used Darren ----------------- T: 1300 301 731 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, 5 November 2007 2:44 PM To: 'Access Developers discussion and problem solving'; 'Discussion of Hardware and Software issues' Subject: [AccessD] Automate internet speed test I am having a big problem with my internet speed. I am paying for 5 mbit and getting 5 mbit, sometimes, and .5 mbit at others. I currently use speedtest.net for the simple reason that they keep a history of all of my tests, and I can download the results. I have done tests to all over the world just out of interest, mexico, ireland, london, isreal, india etc. It is fascinating to see how well I reach all of these places. Back to my problem. In order to troubleshoot this problem I need to do a test on a regular basis to try and establish the times of day that the problem occurs. I would like to automate hitting speedtest.net so I don't have to do so manually, but I do not know how to even begin doing such a thing. Is it possible to do what I want to do, to have a program that I write open a web site and "click on" a specific location on the screen, or by some other means to accomplish what I do with the mouse right now? John W. Colby Colby Consulting 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 Sun Nov 4 22:15:28 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 4 Nov 2007 23:15:28 -0500 Subject: [AccessD] Automate internet speed test In-Reply-To: <200711050406.lA546lij029990@databaseadvisors.com> References: <000001c81f5e$169576a0$647aa8c0@M90> <200711050406.lA546lij029990@databaseadvisors.com> Message-ID: <000101c81f62$7fd23dc0$647aa8c0@M90> How do I determine the "clicked url"? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren D Sent: Sunday, November 04, 2007 11:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Automate internet speed test Hi John There would be a few ways to do this - Maybe explore the Windows Scheduler Another way - A simple one - Would be to do this in access (so you can control everything) using a Microsoft Web Browser control on a form Drop a Microsoft Web Control onto a form and feed it the URL you desire - even the 'clicked' url at Speedtest.net can be fed to it EG assume you called the dropped control "BrowserControl" Pass it the parameter of the URL - Me.BrowserControl.Navigate "http:// Speedtest.net" Then you could have it sit in the systray or minimised then using timers or time compare etc get it to 'run' at any time you wish etc Useful for other things to - can be re-used Darren ----------------- T: 1300 301 731 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, 5 November 2007 2:44 PM To: 'Access Developers discussion and problem solving'; 'Discussion of Hardware and Software issues' Subject: [AccessD] Automate internet speed test I am having a big problem with my internet speed. I am paying for 5 mbit and getting 5 mbit, sometimes, and .5 mbit at others. I currently use speedtest.net for the simple reason that they keep a history of all of my tests, and I can download the results. I have done tests to all over the world just out of interest, mexico, ireland, london, isreal, india etc. It is fascinating to see how well I reach all of these places. Back to my problem. In order to troubleshoot this problem I need to do a test on a regular basis to try and establish the times of day that the problem occurs. I would like to automate hitting speedtest.net so I don't have to do so manually, but I do not know how to even begin doing such a thing. Is it possible to do what I want to do, to have a program that I write open a web site and "click on" a specific location on the screen, or by some other means to accomplish what I do with the mouse right now? John W. Colby Colby Consulting 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 Sun Nov 4 22:16:57 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 4 Nov 2007 23:16:57 -0500 Subject: [AccessD] Automate internet speed test In-Reply-To: <200711050406.lA546lij029990@databaseadvisors.com> References: <000001c81f5e$169576a0$647aa8c0@M90> <200711050406.lA546lij029990@databaseadvisors.com> Message-ID: <000201c81f62$b549fc40$647aa8c0@M90> This thing is a flash control, apparently with "hot spots" in it. I don't know how to determine what goes on behind the scenes when I click one of the hotspots. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren D Sent: Sunday, November 04, 2007 11:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Automate internet speed test Hi John There would be a few ways to do this - Maybe explore the Windows Scheduler Another way - A simple one - Would be to do this in access (so you can control everything) using a Microsoft Web Browser control on a form Drop a Microsoft Web Control onto a form and feed it the URL you desire - even the 'clicked' url at Speedtest.net can be fed to it EG assume you called the dropped control "BrowserControl" Pass it the parameter of the URL - Me.BrowserControl.Navigate "http:// Speedtest.net" Then you could have it sit in the systray or minimised then using timers or time compare etc get it to 'run' at any time you wish etc Useful for other things to - can be re-used Darren ----------------- T: 1300 301 731 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, 5 November 2007 2:44 PM To: 'Access Developers discussion and problem solving'; 'Discussion of Hardware and Software issues' Subject: [AccessD] Automate internet speed test I am having a big problem with my internet speed. I am paying for 5 mbit and getting 5 mbit, sometimes, and .5 mbit at others. I currently use speedtest.net for the simple reason that they keep a history of all of my tests, and I can download the results. I have done tests to all over the world just out of interest, mexico, ireland, london, isreal, india etc. It is fascinating to see how well I reach all of these places. Back to my problem. In order to troubleshoot this problem I need to do a test on a regular basis to try and establish the times of day that the problem occurs. I would like to automate hitting speedtest.net so I don't have to do so manually, but I do not know how to even begin doing such a thing. Is it possible to do what I want to do, to have a program that I write open a web site and "click on" a specific location on the screen, or by some other means to accomplish what I do with the mouse right now? John W. Colby Colby Consulting 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 stuart at lexacorp.com.pg Sun Nov 4 23:28:09 2007 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 05 Nov 2007 15:28:09 +1000 Subject: [AccessD] Automate internet speed test In-Reply-To: <000001c81f5e$169576a0$647aa8c0@M90> References: <000001c81f5e$169576a0$647aa8c0@M90> Message-ID: <472EA9E9.9386.53860945@stuart.lexacorp.com.pg> On 4 Nov 2007 at 22:43, jwcolby wrote: > > Is it possible to do what I want to do, to have a program that I write open > a web site and "click on" a specific location on the screen, or by some > other means to accomplish what I do with the mouse right now? > AutoIt was original written to do just this sort of thing. http://www.autoitscript.com/autoit3/ AutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI and general scripting. It uses a combination of simulated keystrokes, mouse movement and window/control manipulation in order to automate tasks in a way not possible or reliable with other languages (e.g. VBScript and SendKeys). AutoIt is also very small, self-contained and will run on all versions of Windows out-of-the-box with no annoying "runtimes" required! AutoIt was initially designed for PC "roll out" situations to reliably automate and configure thousands of PCs. Over time it has become a powerful language that supports complex expressions, user functions, loops and everything else that veteran scripters would expect From darren at activebilling.com.au Mon Nov 5 00:55:20 2007 From: darren at activebilling.com.au (Darren D) Date: Mon, 5 Nov 2007 17:55:20 +1100 Subject: [AccessD] Automate internet speed test In-Reply-To: <000201c81f62$b549fc40$647aa8c0@M90> Message-ID: <200711050655.lA56tBgf022331@databaseadvisors.com> Howdy Mmm flash control - nope not sure how to determine that either - Sorry - Just assumed it was an html thingy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, 5 November 2007 3:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Automate internet speed test This thing is a flash control, apparently with "hot spots" in it. I don't know how to determine what goes on behind the scenes when I click one of the hotspots. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren D Sent: Sunday, November 04, 2007 11:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Automate internet speed test Hi John There would be a few ways to do this - Maybe explore the Windows Scheduler Another way - A simple one - Would be to do this in access (so you can control everything) using a Microsoft Web Browser control on a form Drop a Microsoft Web Control onto a form and feed it the URL you desire - even the 'clicked' url at Speedtest.net can be fed to it EG assume you called the dropped control "BrowserControl" Pass it the parameter of the URL - Me.BrowserControl.Navigate "http:// Speedtest.net" Then you could have it sit in the systray or minimised then using timers or time compare etc get it to 'run' at any time you wish etc Useful for other things to - can be re-used Darren ----------------- T: 1300 301 731 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, 5 November 2007 2:44 PM To: 'Access Developers discussion and problem solving'; 'Discussion of Hardware and Software issues' Subject: [AccessD] Automate internet speed test I am having a big problem with my internet speed. I am paying for 5 mbit and getting 5 mbit, sometimes, and .5 mbit at others. I currently use speedtest.net for the simple reason that they keep a history of all of my tests, and I can download the results. I have done tests to all over the world just out of interest, mexico, ireland, london, isreal, india etc. It is fascinating to see how well I reach all of these places. Back to my problem. In order to troubleshoot this problem I need to do a test on a regular basis to try and establish the times of day that the problem occurs. I would like to automate hitting speedtest.net so I don't have to do so manually, but I do not know how to even begin doing such a thing. Is it possible to do what I want to do, to have a program that I write open a web site and "click on" a specific location on the screen, or by some other means to accomplish what I do with the mouse right now? John W. Colby Colby Consulting 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Nov 5 01:07:59 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 5 Nov 2007 02:07:59 -0500 Subject: [AccessD] Automate internet speed test In-Reply-To: <472EA9E9.9386.53860945@stuart.lexacorp.com.pg> References: <000001c81f5e$169576a0$647aa8c0@M90> <472EA9E9.9386.53860945@stuart.lexacorp.com.pg> Message-ID: <000601c81f7a$99c254a0$647aa8c0@M90> This is way cool. However I am running into an issue setting the focus to the active window (the flash control). The window info tool tells me it is "MozillaWindowClass8" but I am trying things like Run("C:\Program Files\Mozilla Firefox\firefox.exe") ;mousemove(692,90) WinWaitActive("Mozilla Firefox Start Page - Mozilla Firefox") MouseClick("left",692,95) sleep(5000) WinActivate("MozillaWindowClass8") WinWaitActive("MozillaWindowClass8") mouseclick("left",356,136) and it gets all the way to opening the window and waiting for the flash to stabilize but it does not activate that MozillaWindowClass8. IOW the final mouse click moves relative to the firefox bookmark bar at the top of firefox, not relative to the boundaries of the flash control. I don't know how to get an absolute position on the screen, the mouse position in the window info tool keeps resetting as it moves into and out of sub windows inside of firefox. I continue to play but not sure if I will figure this one out. this widget is really cool though. It would be even cooler if it would "record macros" like Excel for instance. I find no way to do that. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, November 05, 2007 12:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Automate internet speed test On 4 Nov 2007 at 22:43, jwcolby wrote: > > Is it possible to do what I want to do, to have a program that I write > open a web site and "click on" a specific location on the screen, or > by some other means to accomplish what I do with the mouse right now? > AutoIt was original written to do just this sort of thing. http://www.autoitscript.com/autoit3/ AutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI and general scripting. It uses a combination of simulated keystrokes, mouse movement and window/control manipulation in order to automate tasks in a way not possible or reliable with other languages (e.g. VBScript and SendKeys). AutoIt is also very small, self-contained and will run on all versions of Windows out-of-the-box with no annoying "runtimes" required! AutoIt was initially designed for PC "roll out" situations to reliably automate and configure thousands of PCs. Over time it has become a powerful language that supports complex expressions, user functions, loops and everything else that veteran scripters would expect -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Nov 5 01:23:12 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 5 Nov 2007 02:23:12 -0500 Subject: [AccessD] Automate internet speed test In-Reply-To: <000601c81f7a$99c254a0$647aa8c0@M90> References: <000001c81f5e$169576a0$647aa8c0@M90><472EA9E9.9386.53860945@stuart.lexacorp.com.pg> <000601c81f7a$99c254a0$647aa8c0@M90> Message-ID: <000701c81f7c$ba310680$647aa8c0@M90> I got it! Boy was THAT easy. It took about 1 hour from download to finished script. It's crude but it works. The finished script looks like: Run("C:\Program Files\Mozilla Firefox\firefox.exe") WinWaitActive("Mozilla Firefox Start Page - Mozilla Firefox") MouseClick("left",692,95) sleep(10000) ;mouseclick("left",356,136) ;V=136+251=387 ;H=356+263=619 mouseclick("left",619,397) Basically the Window Info tool tells you the H/V offsets of the window, which you add on to the position within the window. Thanks a million for pointing out this tool, it works a treat as our brethren across the pond would say. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 05, 2007 2:08 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Automate internet speed test This is way cool. However I am running into an issue setting the focus to the active window (the flash control). The window info tool tells me it is "MozillaWindowClass8" but I am trying things like Run("C:\Program Files\Mozilla Firefox\firefox.exe") ;mousemove(692,90) WinWaitActive("Mozilla Firefox Start Page - Mozilla Firefox") MouseClick("left",692,95) sleep(5000) WinActivate("MozillaWindowClass8") WinWaitActive("MozillaWindowClass8") mouseclick("left",356,136) and it gets all the way to opening the window and waiting for the flash to stabilize but it does not activate that MozillaWindowClass8. IOW the final mouse click moves relative to the firefox bookmark bar at the top of firefox, not relative to the boundaries of the flash control. I don't know how to get an absolute position on the screen, the mouse position in the window info tool keeps resetting as it moves into and out of sub windows inside of firefox. I continue to play but not sure if I will figure this one out. this widget is really cool though. It would be even cooler if it would "record macros" like Excel for instance. I find no way to do that. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, November 05, 2007 12:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Automate internet speed test On 4 Nov 2007 at 22:43, jwcolby wrote: > > Is it possible to do what I want to do, to have a program that I write > open a web site and "click on" a specific location on the screen, or > by some other means to accomplish what I do with the mouse right now? > AutoIt was original written to do just this sort of thing. http://www.autoitscript.com/autoit3/ AutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI and general scripting. It uses a combination of simulated keystrokes, mouse movement and window/control manipulation in order to automate tasks in a way not possible or reliable with other languages (e.g. VBScript and SendKeys). AutoIt is also very small, self-contained and will run on all versions of Windows out-of-the-box with no annoying "runtimes" required! AutoIt was initially designed for PC "roll out" situations to reliably automate and configure thousands of PCs. Over time it has become a powerful language that supports complex expressions, user functions, loops and everything else that veteran scripters would expect -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Mon Nov 5 06:03:36 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 5 Nov 2007 12:03:36 -0000 Subject: [AccessD] highest value of 4 variables - urgent In-Reply-To: <000501c81edf$7f415ef0$647aa8c0@M90> Message-ID: <009101c81fa3$e60e5b50$cefa033e@minster33c3r25> Hats off to you JC. Your solution beats mine easy. I'll be using this principle. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 04 November 2007 12:38 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] highest value of 4 variables - urgent > > > BTW. to test this simply go to the debug window and enter: > > ?MaxOfVars(4,2,5,4,8,4,9,0) > > and hit enter. > > Place a breakpoint at lvarmax=varvalues(0) and then step if > you want to watch it run. > > Next do > > ?MaxOfVars(5,2,6,7,4) > > Next do > > ?MaxOfVars() > > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Sunday, November 04, 2007 7:32 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] highest value of 4 variables - urgent > > Probably the easiest way to do this is to turn the set of > variables into an array of variables. > > '.Comments : > '.Parameters: > '.Sets : > '.Returns : > '.Created by: Colby Consulting > '.Created : 11/4/2007 7:27:49 AM > Function MaxOfVars(ParamArray varValues() As Variant) On > Error GoTo Err_MaxOfVars Dim lvarVal As Variant Dim lvarMax As Variant > lvarMax = varValues(0) > For Each lvarVal In varValues > If lvarVal > lvarMax Then > lvarMax = lvarVal > End If > Next lvarVal > MaxOfVars = lvarMax > Exit_MaxOfVars: > Exit Function > Err_MaxOfVars: > Select Case Err > Case 9 'No values passed in. Return what you want here. Will > currently return a null > MaxOfVars = null > Resume Exit_MaxOfVars > Case Else > MsgBox Err.Description, , "Error in Function > Module1.MaxOfVars" > Resume Exit_MaxOfVars > End Select > Resume 0 '.FOR TROUBLESHOOTING > End Function > Then you can simply: > > 1) Set the lvarMax = the first value in the array > 2) Iterate through the array > 3) Check if lvarVal > lvarMax > 4) If it is set lvarmax = lvarVal > 5) When you are done lvarMax is equal to the largest value in > the array > 6) Return lvarMax > > 7) if nothing is passed in you hit the error handler with a > value of 9 and return a null > > Now you can pass in any number of values and always get back > the max value regardless of the number passed in. > > BTW, the function is tested and works. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Kath Pelletti > Sent: Saturday, November 03, 2007 6:57 PM > To: Access D Normal List > Subject: [AccessD] highest value of 4 variables - urgent > > maybe i am having a vague moment - but what function can I > use to get the highest value of 4 variables, eg: > > > eg. I want to know x where x is the highest of (var1, var2, > var3, var4) > > ta > ______________________________________ > Kath Pelletti > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 5 06:39:08 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 05 Nov 2007 07:39:08 -0500 Subject: [AccessD] Automate internet speed test In-Reply-To: <000701c81f7c$ba310680$647aa8c0@M90> References: <000001c81f5e$169576a0$647aa8c0@M90><472EA9E9.9386.53860945@stuart.lexacorp.com.pg> <000601c81f7a$99c254a0$647aa8c0@M90> <000701c81f7c$ba310680$647aa8c0@M90> Message-ID: <015201c81fa8$dc29c1b0$8abea8c0@XPS> John, Know you already have your answer, but I would also suggest a look at DSL Reports (www.dslreports.com). It has a tools section with a lot of different tools (including Smokeping, which is what you were basically looking for) for testing and troubleshooting Internet connections, plus a bunch of FAQ's on what to do about results. Just about all of it is free. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 05, 2007 2:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Automate internet speed test I got it! Boy was THAT easy. It took about 1 hour from download to finished script. It's crude but it works. The finished script looks like: Run("C:\Program Files\Mozilla Firefox\firefox.exe") WinWaitActive("Mozilla Firefox Start Page - Mozilla Firefox") MouseClick("left",692,95) sleep(10000) ;mouseclick("left",356,136) ;V=136+251=387 ;H=356+263=619 mouseclick("left",619,397) Basically the Window Info tool tells you the H/V offsets of the window, which you add on to the position within the window. Thanks a million for pointing out this tool, it works a treat as our brethren across the pond would say. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 05, 2007 2:08 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Automate internet speed test This is way cool. However I am running into an issue setting the focus to the active window (the flash control). The window info tool tells me it is "MozillaWindowClass8" but I am trying things like Run("C:\Program Files\Mozilla Firefox\firefox.exe") ;mousemove(692,90) WinWaitActive("Mozilla Firefox Start Page - Mozilla Firefox") MouseClick("left",692,95) sleep(5000) WinActivate("MozillaWindowClass8") WinWaitActive("MozillaWindowClass8") mouseclick("left",356,136) and it gets all the way to opening the window and waiting for the flash to stabilize but it does not activate that MozillaWindowClass8. IOW the final mouse click moves relative to the firefox bookmark bar at the top of firefox, not relative to the boundaries of the flash control. I don't know how to get an absolute position on the screen, the mouse position in the window info tool keeps resetting as it moves into and out of sub windows inside of firefox. I continue to play but not sure if I will figure this one out. this widget is really cool though. It would be even cooler if it would "record macros" like Excel for instance. I find no way to do that. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, November 05, 2007 12:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Automate internet speed test On 4 Nov 2007 at 22:43, jwcolby wrote: > > Is it possible to do what I want to do, to have a program that I write > open a web site and "click on" a specific location on the screen, or > by some other means to accomplish what I do with the mouse right now? > AutoIt was original written to do just this sort of thing. http://www.autoitscript.com/autoit3/ AutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI and general scripting. It uses a combination of simulated keystrokes, mouse movement and window/control manipulation in order to automate tasks in a way not possible or reliable with other languages (e.g. VBScript and SendKeys). AutoIt is also very small, self-contained and will run on all versions of Windows out-of-the-box with no annoying "runtimes" required! AutoIt was initially designed for PC "roll out" situations to reliably automate and configure thousands of PCs. Over time it has become a powerful language that supports complex expressions, user functions, loops and everything else that veteran scripters would expect -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 5 06:40:24 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 5 Nov 2007 07:40:24 -0500 Subject: [AccessD] Broken link at DatabaseAdvisors.com Message-ID: <000e01c81fa9$09ba7d90$647aa8c0@M90> We have a broken link to the mdb demo file for newsletter 200503 - How to create an FTP Client within Access. And I need it! 8~( John W. Colby Colby Consulting www.ColbyConsulting.com From adtejpal at gmail.com Mon Nov 5 07:12:46 2007 From: adtejpal at gmail.com (A.D.TEJPAL) Date: Mon, 5 Nov 2007 18:42:46 +0530 Subject: [AccessD] ...gurus only References: <000801c81e6c$e5ae0f30$6701a8c0@DELLAPTOP><008101c81e71$720e80f0$0301a8c0@HAL9005><000901c81e72$40ab91f0$6701a8c0@DELLAPTOP> <003b01c81e75$5e8ffa00$0202a8c0@Laptop> Message-ID: <00a101c81fad$bcdef230$3b57a27a@personalec1122> William, If the number of value columns in crosstab style source table is likely to vary, a generic solution could be suggested, envisaging programmatic creation of required queries. On the other hand, if you are in a position to use the original data in normalized state, a single crosstab query could be suggested. It would fetch the desired results, including the two extra columns (one showing max of values across columns and the other showing total number of columns spanned by the two outermost columns carrying explicit values). Best wishes, A.D.Tejpal ------------ ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Saturday, November 03, 2007 00:15 Subject: [AccessD] ...gurus only ...ok, you too, eh :) ...given: fields w x y z max series data1 1 1 1 2 data2 1 5 5 3 data3 1 4 3 3 4 data4 2 3 3 2 data5 1 1 1 1 1 4 data6 1 1 1 1) where max is the largest number in w/x/y/z and 2) where series is the total fields between the first one containing a number and the last containing a number 3) where empty fields contain "" rather than nulls ...two days and I've yet to come up with an answer to fill the max and series fields from the data in w/x/y/z. ...help! William From jwcolby at colbyconsulting.com Mon Nov 5 07:49:21 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 5 Nov 2007 08:49:21 -0500 Subject: [AccessD] newsletter 200503 - How to create an FTP Client within Access In-Reply-To: <000e01c81fa9$09ba7d90$647aa8c0@M90> References: <000e01c81fa9$09ba7d90$647aa8c0@M90> Message-ID: <000001c81fb2$ac10efd0$647aa8c0@M90> I have tried to compile the code as shown on the web page and the class is missing a method and won't compile. Is anyone out there using this and can you help me out here? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 05, 2007 7:40 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Broken link at DatabaseAdvisors.com We have a broken link to the mdb demo file for newsletter 200503 - How to create an FTP Client within Access. And I need it! 8~( John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Nov 5 08:22:08 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 5 Nov 2007 06:22:08 -0800 Subject: [AccessD] Timing Form Open Message-ID: <001a01c81fb7$3fea8730$0301a8c0@HAL9005> Dear List: I have a form which opens very slowly on the clients machine over a network. So I need to speed up the open. But first I need a benchmark. I tried capturing the time at the start and end of the Open event and then displaying a message box with the start, end, and elapsed times. But after I click OK on the message box there's still more stuff going on. I see Calculating... in the status at the bottom left which I think indicates that it's still evaluating the record source. And I think the slowness is from the recordsource query and/or the row sources of the combo boxes. So I need to capture the elapsed time from the very beginning to the very end of the open and load process. The start time is trivial, I think - first statement in the Open event timStart = Now. But where to I capture the stop time? If I can get the real elapsed time then I can begin to tweak the record and row sources - add indexes, simplify, etc. But I need an accurate measure of elapsed time. MTIA Rocky From jwcolby at colbyconsulting.com Mon Nov 5 08:45:06 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 5 Nov 2007 09:45:06 -0500 Subject: [AccessD] Timing Form Open In-Reply-To: <001a01c81fb7$3fea8730$0301a8c0@HAL9005> References: <001a01c81fb7$3fea8730$0301a8c0@HAL9005> Message-ID: <002701c81fba$76d97500$647aa8c0@M90> Rocky, You need to back out from the form itself and time the "Docmd.Open" code. Start the timer just before calling docmd.open and then capture the times when that call returns. BTW as you probably know I have a class available for doing this kind of thing. The simplest class ever created that can be called a class (or so I modestly claim). Option Compare Database Option Explicit ' Private Declare Function apiGetTime Lib "winmm.dll" _ Alias "timeGetTime" () As Long Private lngStartTime As Long 'THESE FUNCTIONS / SUBS ARE USED TO IMPLEMENT CLASS FUNCTIONALITY '*+Class function / sub declaration Function EndTimer() EndTimer = apiGetTime() - lngStartTime End Function Sub StartTimer() lngStartTime = apiGetTime() End Sub '*-Class function / sub declaration Private Sub Class_Initialize() StartTimer End Sub in the code that opens your form: dim lclsTimer as clsTimer set lclsTimer = new clsTimer docmd.open ... 'open your form here msgbox lclsTimer.EndTimer John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 05, 2007 9:22 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Timing Form Open Dear List: I have a form which opens very slowly on the clients machine over a network. So I need to speed up the open. But first I need a benchmark. I tried capturing the time at the start and end of the Open event and then displaying a message box with the start, end, and elapsed times. But after I click OK on the message box there's still more stuff going on. I see Calculating... in the status at the bottom left which I think indicates that it's still evaluating the record source. And I think the slowness is from the recordsource query and/or the row sources of the combo boxes. So I need to capture the elapsed time from the very beginning to the very end of the open and load process. The start time is trivial, I think - first statement in the Open event timStart = Now. But where to I capture the stop time? If I can get the real elapsed time then I can begin to tweak the record and row sources - add indexes, simplify, etc. But I need an accurate measure of elapsed time. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheygood at abestsystems.com Mon Nov 5 08:44:15 2007 From: bheygood at abestsystems.com (Bob Heygood) Date: Mon, 5 Nov 2007 06:44:15 -0800 Subject: [AccessD] Counting Co IDs In-Reply-To: References: <054781CF8ED948F797CE5E75B02C58E0@creativesystemdesigns.com><200711010201.lA121Ea9026644@databaseadvisors.com><005d01c81ca4$2feffb50$800101df@speedy><00fa01c81ca6$d0f364e0$4b3a8343@SusanOne><007b01c81cc1$20590570$800101df@speedy><024701c81cc2$4ad44e80$4b3a8343@SusanOne><008001c81cc3$8af101b0$800101df@speedy> Message-ID: <003f01c81fba$5656b400$800101df@speedy> Well thanks to the Friday morning Access users and beach watchers in SD we came up with a solution. More accurately, Mike Dwyer whipped it out on a napkin. Here goes: SELECT a.jid, a.q1, Count(*) AS NumCompanies FROM [select distinct jid,q1,coid from responses where q1 is not null]. AS a GROUP BY a.jid, a.q1; Funny tho, if you look at the QBE, no trace of the sub query..... I guess it is only capable of so much. Thanks again to all who contributed. Bob Heygood -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Thursday, November 01, 2007 2:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Counting Co IDs I would probably do two queries, one to select and to possibly group and the second that uses the first as it's input that counts. GK On 11/1/07, Bob Heygood wrote: > I think that that will just "count" the CoIDs, I want to know how many > different ones are represented. > One of the issues is I won't know before hand how many to allot for.... > > I may not be doing a good job of defining this either.... > > TIA > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan > Harkins > Sent: Thursday, November 01, 2007 1:04 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Counting Co IDs > > Totals view will do the trick, use the Count aggregate. That will > return just the one value though. If you need additional details, > you'll need a subquery. > > Susan H. > > > What I need is to count the number of companies. > > It is the last piece of data in my example that I am looking for. > > How many different companies responded to the question and many yes > > and how many no. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Mon Nov 5 09:30:16 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 5 Nov 2007 15:30:16 +0000 Subject: [AccessD] newsletter 200503 - How to create an FTP Client within Access In-Reply-To: <000001c81fb2$ac10efd0$647aa8c0@M90> References: <000e01c81fa9$09ba7d90$647aa8c0@M90> <000001c81fb2$ac10efd0$647aa8c0@M90> Message-ID: John, I sent you a file offline...I believe it is the original demo file that accompanied the code you are referencing. Everything I use I have pulled out of that mdb. Good luck, Mark A. Matte> From: jwcolby at colbyconsulting.com> To: accessd at databaseadvisors.com> Date: Mon, 5 Nov 2007 08:49:21 -0500> Subject: [AccessD] newsletter 200503 - How to create an FTP Client within Access> > I have tried to compile the code as shown on the web page and the class is> missing a method and won't compile. Is anyone out there using this and can> you help me out here?> > > John W. Colby> Colby Consulting> www.ColbyConsulting.com > -----Original Message-----> From: accessd-bounces at databaseadvisors.com> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby> Sent: Monday, November 05, 2007 7:40 AM> To: 'Access Developers discussion and problem solving'> Subject: [AccessD] Broken link at DatabaseAdvisors.com> > We have a broken link to the mdb demo file for newsletter 200503 - How to> create an FTP Client within Access.> > And I need it! 8~(> > John W. Colby> Colby Consulting> 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 _________________________________________________________________ Peek-a-boo FREE Tricks & Treats for You! http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us From fuller.artful at gmail.com Mon Nov 5 09:31:45 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 5 Nov 2007 10:31:45 -0500 Subject: [AccessD] Counting Co IDs In-Reply-To: <003f01c81fba$5656b400$800101df@speedy> References: <054781CF8ED948F797CE5E75B02C58E0@creativesystemdesigns.com> <200711010201.lA121Ea9026644@databaseadvisors.com> <005d01c81ca4$2feffb50$800101df@speedy> <00fa01c81ca6$d0f364e0$4b3a8343@SusanOne> <007b01c81cc1$20590570$800101df@speedy> <024701c81cc2$4ad44e80$4b3a8343@SusanOne> <008001c81cc3$8af101b0$800101df@speedy> <003f01c81fba$5656b400$800101df@speedy> Message-ID: <29f585dd0711050731u996f618o5206d0f100dd89a0@mail.gmail.com> Not that you need it in this case, but it's worth mentioning a seldom-used flavor of the Count() syntax. Here's one that works against the AdventureWorks sample database: Select Count(Distinct CustomerID) from Sales.SalesOrderHeader A. On 11/5/07, Bob Heygood wrote: > > Well thanks to the Friday morning Access users and beach watchers in SD we > came up with a solution. More accurately, Mike Dwyer whipped it out on a > napkin. Here goes: > > SELECT a.jid, a.q1, Count(*) AS NumCompanies > FROM [select distinct jid,q1,coid from responses where q1 is not null]. AS > a > GROUP BY a.jid, a.q1; > From ssharkins at gmail.com Mon Nov 5 09:36:02 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 5 Nov 2007 10:36:02 -0500 Subject: [AccessD] Counting Co IDs References: <054781CF8ED948F797CE5E75B02C58E0@creativesystemdesigns.com><200711010201.lA121Ea9026644@databaseadvisors.com><005d01c81ca4$2feffb50$800101df@speedy><00fa01c81ca6$d0f364e0$4b3a8343@SusanOne><007b01c81cc1$20590570$800101df@speedy><024701c81cc2$4ad44e80$4b3a8343@SusanOne><008001c81cc3$8af101b0$800101df@speedy><003f01c81fba$5656b400$800101df@speedy> <29f585dd0711050731u996f618o5206d0f100dd89a0@mail.gmail.com> Message-ID: <005f01c81fc1$f8f16d20$4b3a8343@SusanOne> Well that's cool -- I'll have to take a look at that one! Susan H. > Not that you need it in this case, but it's worth mentioning a seldom-used > flavor of the Count() syntax. Here's one that works against the > AdventureWorks sample database: > > Select Count(Distinct CustomerID) from Sales.SalesOrderHeader From jwcolby at colbyconsulting.com Mon Nov 5 09:42:30 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 5 Nov 2007 10:42:30 -0500 Subject: [AccessD] newsletter 200503 - How to create an FTP Client within Access In-Reply-To: References: <000e01c81fa9$09ba7d90$647aa8c0@M90><000001c81fb2$ac10efd0$647aa8c0@M90> Message-ID: <003101c81fc2$7a9264b0$647aa8c0@M90> It hasn't appeared yet. Thanks for the assistance. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Monday, November 05, 2007 10:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] newsletter 200503 - How to create an FTP Client within Access John, I sent you a file offline...I believe it is the original demo file that accompanied the code you are referencing. Everything I use I have pulled out of that mdb. Good luck, Mark A. Matte> From: jwcolby at colbyconsulting.com> To: accessd at databaseadvisors.com> Date: Mon, 5 Nov 2007 08:49:21 -0500> Subject: [AccessD] newsletter 200503 - How to create an FTP Client within Access> > I have tried to compile the code as shown on the web page and the class is> missing a method and won't compile. Is anyone out there using this and can> you help me out here?> > > John W. Colby> Colby Consulting> www.ColbyConsulting.com > -----Original Message-----> From: accessd-bounces at databaseadvisors.com> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby> Sent: Monday, November 05, 2007 7:40 AM> To: 'Access Developers discussion and problem solving'> Subject: [AccessD] Broken link at DatabaseAdvisors.com> > We have a broken link to the mdb demo file for newsletter 200503 - How! to> create an FTP Client within Access.> > And I need it! 8~(> > John W. Colby> Colby Consulting> 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 _________________________________________________________________ Peek-a-boo FREE Tricks & Treats for You! http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Mon Nov 5 09:50:26 2007 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 5 Nov 2007 09:50:26 -0600 Subject: [AccessD] Counting Co IDs In-Reply-To: <003f01c81fba$5656b400$800101df@speedy> References: <054781CF8ED948F797CE5E75B02C58E0@creativesystemdesigns.com><200711010201.lA121Ea9026644@databaseadvisors.com><005d01c81ca4$2feffb50$800101df@speedy><00fa01c81ca6$d0f364e0$4b3a8343@SusanOne><007b01c81cc1$20590570$800101df@speedy><024701c81cc2$4ad44e80$4b3a8343@SusanOne><008001c81cc3$8af101b0$800101df@speedy> <003f01c81fba$5656b400$800101df@speedy> Message-ID: <002d01c81fc3$95ccf460$0200a8c0@danwaters> Bob, I 'think' that you will need to replace the square brackets around your subquery with parentheses. Try that and then look at the QBE. I have written simple subqueries in the QBE, so they do display there. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Monday, November 05, 2007 8:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Counting Co IDs Well thanks to the Friday morning Access users and beach watchers in SD we came up with a solution. More accurately, Mike Dwyer whipped it out on a napkin. Here goes: SELECT a.jid, a.q1, Count(*) AS NumCompanies FROM [select distinct jid,q1,coid from responses where q1 is not null]. AS a GROUP BY a.jid, a.q1; Funny tho, if you look at the QBE, no trace of the sub query..... I guess it is only capable of so much. Thanks again to all who contributed. Bob Heygood -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Thursday, November 01, 2007 2:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Counting Co IDs I would probably do two queries, one to select and to possibly group and the second that uses the first as it's input that counts. GK On 11/1/07, Bob Heygood wrote: > I think that that will just "count" the CoIDs, I want to know how many > different ones are represented. > One of the issues is I won't know before hand how many to allot for.... > > I may not be doing a good job of defining this either.... > > TIA > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan > Harkins > Sent: Thursday, November 01, 2007 1:04 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Counting Co IDs > > Totals view will do the trick, use the Count aggregate. That will > return just the one value though. If you need additional details, > you'll need a subquery. > > Susan H. > > > What I need is to count the number of companies. > > It is the last piece of data in my example that I am looking for. > > How many different companies responded to the question and many yes > > and how many no. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Mon Nov 5 09:58:20 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Mon, 5 Nov 2007 15:58:20 -0000 Subject: [AccessD] newsletter 200503 - How to create an FTP Clientwithin Access In-Reply-To: <003101c81fc2$7a9264b0$647aa8c0@M90> Message-ID: <00d201c81fc4$b0e1fab0$8119fea9@LTVM> Hi, I also had this problem when I downloaded this module. Is it possible to have it corrected so that it is downloadable again please. Thanks Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 05, 2007 3:43 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] newsletter 200503 - How to create an FTP Clientwithin Access It hasn't appeared yet. Thanks for the assistance. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Monday, November 05, 2007 10:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] newsletter 200503 - How to create an FTP Client within Access John, I sent you a file offline...I believe it is the original demo file that accompanied the code you are referencing. Everything I use I have pulled out of that mdb. Good luck, Mark A. Matte> From: jwcolby at colbyconsulting.com> To: accessd at databaseadvisors.com> Date: Mon, 5 Nov 2007 08:49:21 -0500> Subject: [AccessD] newsletter 200503 - How to create an FTP Client within Access> > I have tried to compile the code as shown on the web page and the class is> missing a method and won't compile. Is anyone out there using this and can> you help me out here?> > > John W. Colby> Colby Consulting> www.ColbyConsulting.com > -----Original Message-----> From: accessd-bounces at databaseadvisors.com> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby> Sent: Monday, November 05, 2007 7:40 AM> To: 'Access Developers discussion and problem solving'> Subject: [AccessD] Broken link at DatabaseAdvisors.com> > We have a broken link to the mdb demo file for newsletter 200503 - How! to> create an FTP Client within Access.> > And I need it! 8~(> > John W. Colby> Colby Consulting> 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 _________________________________________________________________ Peek-a-boo FREE Tricks & Treats for You! http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Nov 5 10:06:17 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 5 Nov 2007 08:06:17 -0800 Subject: [AccessD] Packagers/Installers In-Reply-To: <000601c81ee5$0dd472b0$0301a8c0@HAL9005> References: <000601c81ee5$0dd472b0$0301a8c0@HAL9005> Message-ID: We used Wise and Sagekey for years with our Access apps, but we switched to InstallShield for the .Net apps. I've always like Installshiled, and I used to use it for my own Access runtime installs. Sagekey provides scripts for InstallShield too. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, November 04, 2007 5:17 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Packagers/Installers Dear List: I use the Wise/Sagekey combination to package a couple of commercial applications. Always found it to be top notch. Does anyone have experience with other packagers, good or bad, particularly Windows Installer? Thanks in advance Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Nov 5 10:07:43 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 5 Nov 2007 08:07:43 -0800 Subject: [AccessD] Packagers/Installers In-Reply-To: <002c01c81efe$69bc3e50$0301a8c0@HAL9005> References: <000601c81ee5$0dd472b0$0301a8c0@HAL9005> <002c01c81efe$69bc3e50$0301a8c0@HAL9005> Message-ID: The thing I remember about it was that you couldn't put a shortcut on the desktop with it. You had to create a VB script to install a shortcut. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, November 04, 2007 8:19 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Packagers/Installers Another question about the Windows Installer - I vaguely remember there being some problem with it that you didn't have with a commercial installer like Wise. But I can't remember. Does anyone recall this? MTIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, November 04, 2007 5:18 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Packagers/Installers Dear List: I use the Wise/Sagekey combination to package a couple of commercial applications. Always found it to be top notch. Does anyone have experience with other packagers, good or bad, particularly Windows Installer? Thanks in advance Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.20/1108 - Release Date: 11/3/2007 9:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Nov 5 10:15:25 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 5 Nov 2007 08:15:25 -0800 Subject: [AccessD] Counting Co IDs In-Reply-To: <002d01c81fc3$95ccf460$0200a8c0@danwaters> References: <054781CF8ED948F797CE5E75B02C58E0@creativesystemdesigns.com><200711010201.lA121Ea9026644@databaseadvisors.com><005d01c81ca4$2feffb50$800101df@speedy><00fa01c81ca6$d0f364e0$4b3a8343@SusanOne><007b01c81cc1$20590570$800101df@speedy><024701c81cc2$4ad44e80$4b3a8343@SusanOne><008001c81cc3$8af101b0$800101df@speedy><003f01c81fba$5656b400$800101df@speedy> <002d01c81fc3$95ccf460$0200a8c0@danwaters> Message-ID: You can write it with parens, but the query engine will replace them with square brackets and a period anyhow. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, November 05, 2007 7:50 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Counting Co IDs Bob, I 'think' that you will need to replace the square brackets around your subquery with parentheses. Try that and then look at the QBE. I have written simple subqueries in the QBE, so they do display there. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Monday, November 05, 2007 8:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Counting Co IDs Well thanks to the Friday morning Access users and beach watchers in SD we came up with a solution. More accurately, Mike Dwyer whipped it out on a napkin. Here goes: SELECT a.jid, a.q1, Count(*) AS NumCompanies FROM [select distinct jid,q1,coid from responses where q1 is not null]. AS a GROUP BY a.jid, a.q1; Funny tho, if you look at the QBE, no trace of the sub query..... I guess it is only capable of so much. Thanks again to all who contributed. Bob Heygood -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Thursday, November 01, 2007 2:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Counting Co IDs I would probably do two queries, one to select and to possibly group and the second that uses the first as it's input that counts. GK On 11/1/07, Bob Heygood wrote: > I think that that will just "count" the CoIDs, I want to know how many > different ones are represented. > One of the issues is I won't know before hand how many to allot for.... > > I may not be doing a good job of defining this either.... > > TIA > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan > Harkins > Sent: Thursday, November 01, 2007 1:04 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Counting Co IDs > > Totals view will do the trick, use the Count aggregate. That will > return just the one value though. If you need additional details, > you'll need a subquery. > > Susan H. > > > What I need is to count the number of companies. > > It is the last piece of data in my example that I am looking for. > > How many different companies responded to the question and many yes > > and how many no. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Mon Nov 5 10:31:49 2007 From: john at winhaven.net (John Bartow) Date: Mon, 5 Nov 2007 10:31:49 -0600 Subject: [AccessD] newsletter 200503 - How to create an FTP Client withinAccess In-Reply-To: <000001c81fb2$ac10efd0$647aa8c0@M90> References: <000e01c81fa9$09ba7d90$647aa8c0@M90> <000001c81fb2$ac10efd0$647aa8c0@M90> Message-ID: <00dc01c81fc9$5df56530$6402a8c0@ScuzzPaq> Sorry about the newsletter/link problem. Our webmaster he will correct it a soon as he can. Thanks for your patience. John Bartow, President Database Advisors, Inc. Email: mailto:president at databaseadvisors.com Website: http://www.databaseadvisors.com From Gustav at cactus.dk Mon Nov 5 11:50:19 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 05 Nov 2007 18:50:19 +0100 Subject: [AccessD] Counting Co IDs Message-ID: Hi Susan This is MS SQL Server or MySQL syntax. Unfortunately, it doesn't work in any version of JET SQL. /gustav >>> ssharkins at gmail.com 05-11-2007 16:36:02 >>> Well that's cool -- I'll have to take a look at that one! Susan H. > Not that you need it in this case, but it's worth mentioning a seldom-used > flavor of the Count() syntax. Here's one that works against the > AdventureWorks sample database: > > Select Count(Distinct CustomerID) from Sales.SalesOrderHeader From ssharkins at gmail.com Mon Nov 5 11:57:31 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 5 Nov 2007 12:57:31 -0500 Subject: [AccessD] Counting Co IDs References: Message-ID: <015701c81fd5$950f6b90$4b3a8343@SusanOne> Thanks Gustav -- I would've tried it in Access. Susan H. > Hi Susan > > This is MS SQL Server or MySQL syntax. Unfortunately, it doesn't work in > any version of JET SQL. > From fireonice at hotmail.com Mon Nov 5 12:07:02 2007 From: fireonice at hotmail.com (James Miller) Date: Mon, 5 Nov 2007 10:07:02 -0800 Subject: [AccessD] Easy question Message-ID: Okay. I know this is probably something really easy I'm overlooking, but right now I'm drawing a blank and hope someone can point me in the right direction. I have a form with two checkboxes on it.. form is tied to a table. and when the checkboxes are "true" I have a text box that appears for some text to be typed in. when the checkbox is unchecked, the text box is set so the visibility is false.. This works fine on my form, until you move to the next record. and then no matter what state the checkbox is, the textbox will be visible or not depending on how it was left on the last record. (I hope that made sense). My question is, what event do I need to add my code to, so that it will set the textbox properties correctly after the new record appears on the form. I have tried all the events I can think of, and none work.. I'm assuming there should be a way to capture the record change event, but I can't seem to find where to do that. Any pointers would be greatly appreciated!! I know this is probably so easy... LOL James From markamatte at hotmail.com Mon Nov 5 12:12:35 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 5 Nov 2007 18:12:35 +0000 Subject: [AccessD] OT..Test email format IGNORE In-Reply-To: <002001c81d8f$72364ff0$0c10a8c0@jisshowsbs.local> References: <002001c81d8f$72364ff0$0c10a8c0@jisshowsbs.local> Message-ID: > ...now if only I could learn to swallow my pride and just ask before > spending days running in circles. ...ouch...you're gonna hate this suggestion. Guessing from your description below...you used about 3 fields in your original table to get this output. We'll use the fields:field1=Set---this is where your data1,data2 stuff wentfield2=Value---this is where your 1,2,5,4,2,3,4...wentfield3=Ltr--(letter)...where your w,x,y,z Assuming this is how your data is stored...the results you want can be achieved using a single crosstab. Good Luck, Mark A. Matte ************SQL*************TRANSFORM Sum(tblDataTest.Value) AS SumOfValueSELECT tblDataTest.Set, Max(tblDataTest.Value) AS MaxOfValue, Count(*) AS SeriesFROM tblDataTestGROUP BY tblDataTest.SetPIVOT tblDataTest.Ltr;************SQL*************> From: wdhindman at dejpolsystems.com> To: accessd at databaseadvisors.com> Date: Fri, 2 Nov 2007 16:32:10 -0400> Subject: Re: [AccessD] ...gurus only> > ...tks gustav ...I'll give this a shot ...suddenly my cup runneth over > ...ain't no place like AccessD :)> ...now if only I could learn to swallow my pride and just ask before > spending days running in circles.> > William> > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Friday, November 02, 2007 4:16 PM> Subject: Re: [AccessD] ...gurus only> > > > Hi William> >> > 1) No problem.> >> > 2) Sorry, now I understand.> > Use this for Series:> >> > IIf([First]+[Last]=0,> > 0,> > 1+[Last]-[First]) AS> > Series> >> > 3) If you expect "" for empty fields, values must be strings. That's why I > > use Val() to convert to Integers.> >> > /gustav> >> >> >>>> wdhindman at dejpolsystems.com 02-11-2007 21:05:02 >>>> > ...thanks gustav but:> > ...I'm busted again ...there was an error in the data3 max ...sigh> > ...given:> >> > fields w x y z max series> > data1 1 1 1 2> > data2 1 5 5 3> > data3 1 4 3 4 4> > data4 2 3 3 2> > data5 1 1 1 1 1 4> > data6 1 1 1> >> > 1) where max is the largest number in w/x/y/z and> > 2) where series is the total number of fields between the first one> > containing a> > number and the last containing a number, not the total of the field> > contents.> > 3) where w/x/y/z are long integers for some stupid reason since it will> > allways be a single digit> >> > ...I ask for guru help and everyone starts exposing why I need it :(> > ...there is a desperate shortage of caffiene in my bloodstream ...that's > > my> > story and I'm sticking to it :)> >> > William> >> > ----- Original Message ----- > > From: "Gustav Brock" > > To: > > Sent: Friday, November 02, 2007 3:40 PM> > Subject: Re: [AccessD] ...gurus only> >> >> >> Hi William> >>> >> Here is one method using Choose():> >>> >> SELECT> >> ID,> >> w,> >> x,> >> y,> >> z,> >> IIf(Val("" & [w])>Val("" & [x]),> >> Val("" & [w]),> >> Val("" & [x])) AS Max12,> >> IIf(Val("" & [y])>Val("" & [z]),> >> Val("" & [y]),> >> Val("" & [z])) AS Max34,> >> IIf(Val("" & [w])>0,> >> 1,> >> IIf(Val("" & [x])>0,> >> 2,> >> IIf(Val("" & [y])>0,> >> 3,> >> IIf(Val("" & [z])>0,> >> 4,> >> 0)))) AS> >> First,> >> IIf(Val("" & [z])>0,> >> 4,> >> IIf(Val("" & [y])>0,> >> 3,> >> IIf(Val("" & [x])>0,> >> 2,> >> IIf(Val("" & [w])>0,> >> 1,> >> 0)))) AS> >> Last,> >> IIf([Max12]>[Max34],> >> [Max12],> >> [Max34]) AS> >> Max,> >> IIf([First]=[Last],> >> Val(Choose([First],[w],[x],[y],[z])),> >>> >> Val(Choose([First],[w],[x],[y],[z]))+Val(Choose([Last],[w],[x],[y],[z])))> >> AS> >> Series> >> FROM> >> tblGuru;> >>> >>> >> This will return, which differs from your example but is according to > >> your> >> specification:> >>> >> Max Series> >> 1 2> >> 5 6> >> 4 4> >> 3 5> >> 1 2> >> 1 1> >>> >> /gustav> >>> >>>>> wdhindman at dejpolsystems.com 02-11-2007 19:45:35 >>>> >> ...ok, you too, eh :)> >>> >> ...given:> >>> >> fields w x y z max series> >> data1 1 1 1 2> >> data2 1 5 5 3> >> data3 1 4 3 3 4> >> data4 2 3 3 2> >> data5 1 1 1 1 1 4> >> data6 1 1 1> >>> >> 1) where max is the largest number in w/x/y/z and> >> 2) where series is the total fields between the first one containing a> >> number and the last containing a number> >> 3) where empty fields contain "" rather than nulls> >>> >> ...two days and I've yet to come up with an answer to fill the max and> >> series fields from the data in w/x/y/z.> >>> >> ...help!> >>> >> William> >> >> >> > -- > > AccessD mailing list> > AccessD at databaseadvisors.com> > http://databaseadvisors.com/mailman/listinfo/accessd> > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list> AccessD at databaseadvisors.com> http://databaseadvisors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com _________________________________________________________________ Climb to the top of the charts!? Play Star Shuffle:? the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct From markamatte at hotmail.com Mon Nov 5 12:24:23 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 5 Nov 2007 18:24:23 +0000 Subject: [AccessD] Private_Format In-Reply-To: <002001c81d8f$72364ff0$0c10a8c0@jisshowsbs.local> References: <002001c81d8f$72364ff0$0c10a8c0@jisshowsbs.local> Message-ID: Gustav, Thanks for pointing this out as I typically don't read my own posts. I'm not sure what the problem is...I think this is happening when I reply to the list...as a test I will send this email to you directly...then hit "back" and send it to the list...please let me know the results. Thanks, Mark A. Matte From: markamatte at hotmail.comTo: accessd at databaseadvisors.comSubject: RE: [AccessD] ...gurus onlyDate: Fri, 2 Nov 2007 20:44:24 +0000 > ...now if only I could learn to swallow my pride and just ask before > spending days running in circles. ...ouch...you're gonna hate this suggestion. Guessing from your description below...you used about 3 fields in your original table to get this output. We'll use the fields:field1=Set---this is where your data1,data2 stuff wentfield2=Value---this is where your 1,2,5,4,2,3,4...wentfield3=Ltr--(letter)...where your w,x,y,z Assuming this is how your data is stored...the results you want can be achieved using a single crosstab. Good Luck, Mark A. Matte ************SQL*************TRANSFORM Sum(tblDataTest.Value) AS SumOfValueSELECT tblDataTest.Set, Max(tblDataTest.Value) AS MaxOfValue, Count(*) AS SeriesFROM tblDataTestGROUP BY tblDataTest.SetPIVOT tblDataTest.Ltr;************SQL*************> From: wdhindman at dejpolsystems.com> To: accessd at databaseadvisors.com> Date: Fri, 2 Nov 2007 16:32:10 -0400> Subject: Re: [AccessD] ...gurus only> > ...tks gustav ...I'll give this a shot ...suddenly my cup runneth over > ...ain't no place like AccessD :)> ...now if only I could learn to swallow my pride and just ask before > spending days running in circles.> > William> > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Friday, November 02, 2007 4:16 PM> Subject: Re: [AccessD] ...gurus only> > > > Hi William> >> > 1) No problem.> >> > 2) Sorry, now I understand.> > Use this for Series:> >> > IIf([First]+[Last]=0,> > 0,> > 1+[Last]-[First]) AS> > Series> >> > 3) If you expect "" for empty fields, values must be strings. That's why I > > use Val() to convert to Integers.> >> > /gustav> >> >> >>>> wdhindman at dejpolsystems.com 02-11-2007 21:05:02 >>>> > ...thanks gustav but:> > ...I'm busted again ...there was an error in the data3 max ...sigh> > ...given:> >> > fields w x y z max series> > data1 1 1 1 2> > data2 1 5 5 3> > data3 1 4 3 4 4> > data4 2 3 3 2> > data5 1 1 1 1 1 4> > data6 1 1 1> >> > 1) where max is the largest number in w/x/y/z and> > 2) where series is the total number of fields between the first one> > containing a> > number and the last containing a number, not the total of the field> > contents.> > 3) where w/x/y/z are long integers for some stupid reason since it will> > allways be a single digit> >> > ...I ask for guru help and everyone starts exposing why I need it :(> > ...there is a desperate shortage of caffiene in my bloodstream ...that's > > my> > story and I'm sticking to it :)> >> > William> >> > ----- Original Message ----- > > From: "Gustav Brock" > > To: > > Sent: Friday, November 02, 2007 3:40 PM> > Subject: Re: [AccessD] ...gurus only> >> >> >> Hi William> >>> >> Here is one method using Choose():> >>> >> SELECT> >> ID,> >> w,> >> x,> >> y,> >> z,> >> IIf(Val("" & [w])>Val("" & [x]),> >> Val("" & [w]),> >> Val("" & [x])) AS Max12,> >> IIf(Val("" & [y])>Val("" & [z]),> >> Val("" & [y]),> >> Val("" & [z])) AS Max34,> >> IIf(Val("" & [w])>0,> >> 1,> >> IIf(Val("" & [x])>0,> >> 2,> >> IIf(Val("" & [y])>0,> >> 3,> >> IIf(Val("" & [z])>0,> >> 4,> >> 0)))) AS> >> First,> >> IIf(Val("" & [z])>0,> >> 4,> >> IIf(Val("" & [y])>0,> >> 3,> >> IIf(Val("" & [x])>0,> >> 2,> >> IIf(Val("" & [w])>0,> >> 1,> >> 0)))) AS> >> Last,> >> IIf([Max12]>[Max34],> >> [Max12],> >> [Max34]) AS> >> Max,> >> IIf([First]=[Last],> >> Val(Choose([First],[w],[x],[y],[z])),> >>> >> Val(Choose([First],[w],[x],[y],[z]))+Val(Choose([Last],[w],[x],[y],[z])))> >> AS> >> Series> >> FROM> >> tblGuru;> >>> >>> >> This will return, which differs from your example but is according to > >> your> >> specification:> >>> >> Max Series> >> 1 2> >> 5 6> >> 4 4> >> 3 5> >> 1 2> >> 1 1> >>> >> /gustav> >>> >>>>> wdhindman at dejpolsystems.com 02-11-2007 19:45:35 >>>> >> ...ok, you too, eh :)> >>> >> ...given:> >>> >> fields w x y z max series> >> data1 1 1 1 2> >> data2 1 5 5 3> >> data3 1 4 3 3 4> >> data4 2 3 3 2> >> data5 1 1 1 1 1 4> >> data6 1 1 1> >>> >> 1) where max is the largest number in w/x/y/z and> >> 2) where series is the total fields between the first one containing a> >> number and the last containing a number> >> 3) where empty fields contain "" rather than nulls> >>> >> ...two days and I've yet to come up with an answer to fill the max and> >> series fields from the data in w/x/y/z.> >>> >> ...help!> >>> >> William> >> >> >> > -- > > AccessD mailing list> > AccessD at databaseadvisors.com> > http://databaseadvisors.com/mailman/listinfo/accessd> > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list> AccessD at databaseadvisors.com> http://databaseadvisors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com Peek-a-boo FREE Tricks & Treats for You! Get 'em! _________________________________________________________________ Peek-a-boo FREE Tricks & Treats for You! http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us From garykjos at gmail.com Mon Nov 5 12:40:04 2007 From: garykjos at gmail.com (Gary Kjos) Date: Mon, 5 Nov 2007 12:40:04 -0600 Subject: [AccessD] Easy question In-Reply-To: References: Message-ID: I beleive it would be the "On Current" Event of the form where you would evaluate the value of your fields and set the visibility on or off as needed. GK On 11/5/07, James Miller wrote: > Okay. I know this is probably something really easy I'm overlooking, but > right now I'm drawing a blank and hope someone can point me in the right > direction. > > > > I have a form with two checkboxes on it.. form is tied to a table. and when > the checkboxes are "true" I have a text box that appears for some text to be > typed in. when the checkbox is unchecked, the text box is set so the > visibility is false.. This works fine on my form, until you move to the > next record. and then no matter what state the checkbox is, the textbox will > be visible or not depending on how it was left on the last record. (I hope > that made sense). > > > > My question is, what event do I need to add my code to, so that it will set > the textbox properties correctly after the new record appears on the form. > I have tried all the events I can think of, and none work.. I'm assuming > there should be a way to capture the record change event, but I can't seem > to find where to do that. > > > > Any pointers would be greatly appreciated!! I know this is probably so > easy... LOL > > > > James > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From garykjos at gmail.com Mon Nov 5 12:43:32 2007 From: garykjos at gmail.com (Gary Kjos) Date: Mon, 5 Nov 2007 12:43:32 -0600 Subject: [AccessD] OT..Test email format IGNORE In-Reply-To: References: <002001c81d8f$72364ff0$0c10a8c0@jisshowsbs.local> Message-ID: Quite a lot of weirdness going on here Mark. I'd say the test FAILED. GK On 11/5/07, Mark A Matte wrote: > > > ...now if only I could learn to swallow my pride and just ask before > spending days running in circles. ...ouch...you're gonna hate this suggestion. Guessing from your description below...you used about 3 fields in your original table to get this output. We'll use the fields:field1=Set---this is where your data1,data2 stuff wentfield2=Value---this is where your 1,2,5,4,2,3,4...wentfield3=Ltr--(letter)...where your w,x,y,z Assuming this is how your data is stored...the results you want can be achieved using a single crosstab. Good Luck, Mark A. Matte ************SQL*************TRANSFORM Sum(tblDataTest.Value) AS SumOfValueSELECT tblDataTest.Set, Max(tblDataTest.Value) AS MaxOfValue, Count(*) AS SeriesFROM tblDataTestGROUP BY tblDataTest.SetPIVOT tblDataTest.Ltr;************SQL*************> From: wdhindman at dejpolsystems.com> To: accessd at databaseadvisors.com> Date: Fri, 2 Nov 2007 16:32:10 -0400> Subject: Re: [AccessD] ...gurus only> > ...tks gustav ...I'll give this a shot ...suddenly my cup runneth over > ...ain't no place like AccessD :)> ...now if only I could learn to swallow my pride and just ask before > spending days running in circles.> > William> > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Friday, November 02, 2007 4:16 PM> Subject: Re: [AccessD] ...gurus only> > > > Hi William> >> > 1) No problem.> >> > 2) Sorry, now I understand.> > Use this for Series:> >> > IIf([First]+[Last]=0,> > 0,> > 1+[Last]-[First]) AS> > Series> >> > 3) If you expect "" for empty fields, values must be strings. That's why I > > use Val() to convert to Integers.> >> > /gustav> >> >> >>>> wdhindman at dejpolsystems.com 02-11-2007 21:05:02 >>>> > ...thanks gustav but:> > ...I'm busted again ...there was an error in the data3 max ...sigh> > ...given:> >> > fields w x y z max series> > data1 1 1 1 2> > data2 1 5 5 3> > data3 1 4 3 4 4> > data4 2 3 3 2> > data5 1 1 1 1 1 4> > data6 1 1 1> >> > 1) where max is the largest number in w/x/y/z and> > 2) where series is the total number of fields between the first one> > containing a> > number and the last containing a number, not the total of the field> > contents.> > 3) where w/x/y/z are long integers for some stupid reason since it will> > allways be a single digit> >> > ...I ask for guru help and everyone starts exposing why I need it :(> > ...there is a desperate shortage of caffiene in my bloodstream ...that's > > my> > story and I'm sticking to it :)> >> > William> >> > ----- Original Message ----- > > From: "Gustav Brock" > > To: > > Sent: Friday, November 02, 2007 3:40 PM> > Subject: Re: [AccessD] ...gurus only> >> >> >> Hi William> >>> >> Here is one method using Choose():> >>> >> SELECT> >> ID,> >> w,> >> x,> >> y,> >> z,> >> IIf(Val("" & [w])>Val("" & [x]),> >> Val("" & [w]),> >> Val("" & [x])) AS Max12,> >> IIf(Val("" & [y])>Val("" & [z]),> >> Val("" & [y]),> >> Val("" & [z])) AS Max34,> >> IIf(Val("" & [w])>0,> >> 1,> >> IIf(Val("" & [x])>0,> >> 2,> >> IIf(Val("" & [y])>0,> >> 3,> >> IIf(Val("" & [z])>0,> >> 4,> >> 0)))) AS> >> First,> >> IIf(Val("" & [z])>0,> >> 4,> >> IIf(Val("" & [y])>0,> >> 3,> >> IIf(Val("" & [x])>0,> >> 2,> >> IIf(Val("" & [w])>0,> >> 1,> >> 0)))) AS> >> Last,> >> IIf([Max12]>[Max34],> >> [Max12],> >> [Max34]) AS> >> Max,> >> IIf([First]=[Last],> >> Val(Choose([First],[w],[x],[y],[z])),> >>> >> Val(Choose([First],[w],[x],[y],[z]))+Val(Choose([Last],[w],[x],[y],[z])))> >> AS> >> Series> >> FROM> >> tblGuru;> >>> >>> >> This will return, which differs from your example but is according to > >> your> >> specification:> >>> >> Max Series> >> 1 2> >> 5 6> >> 4 4> >> 3 5> >> 1 2> >> 1 1> >>> >> /gustav> >>> >>>>> wdhindman at dejpolsystems.com 02-11-2007 19:45:35 >>>> >> ...ok, you too, eh :)> >>> >> ...given:> >>> >> fields w x y z max series> >> data1 1 1 1 2> >> data2 1 5 5 3> >> data3 1 4 3 3 4> >> data4 2 3 3 2> >> data5 1 1 1 1 1 4> >> data6 1 1 1> >>> >> 1) where max is the largest number in w/x/y/z and> >> 2) where series is the total fields between the first one containing a> >> number and the last containing a number> >> 3) where empty fields contain "" rather than nulls> >>> >> ...two days and I've yet to come up with an answer to fill the max and> >> series fields from the data in w/x/y/z.> >>> >> ...help!> >>> >> William> >> >> >> > -- > > AccessD mailing list> > AccessD at databaseadvisors.com> > http://databaseadvisors.com/mailman/listinfo/accessd> > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list> AccessD at databaseadvisors.com> http://databaseadvisors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com > _________________________________________________________________ > Climb to the top of the charts! Play Star Shuffle: the word scramble challenge with star power. > http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From jwcolby at colbyconsulting.com Mon Nov 5 12:57:53 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 5 Nov 2007 13:57:53 -0500 Subject: [AccessD] Easy question In-Reply-To: References: Message-ID: <004601c81fdd$c5b05400$647aa8c0@M90> I would guess that this is happening because you are testing for a true / false in the checkbox and when you hit the new record the checkbox is null. Is the actual checkbox control default value false? As to your question OnCurrent is the event that fires when the form moves from record to record. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of James Miller Sent: Monday, November 05, 2007 1:07 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Easy question Okay. I know this is probably something really easy I'm overlooking, but right now I'm drawing a blank and hope someone can point me in the right direction. I have a form with two checkboxes on it.. form is tied to a table. and when the checkboxes are "true" I have a text box that appears for some text to be typed in. when the checkbox is unchecked, the text box is set so the visibility is false.. This works fine on my form, until you move to the next record. and then no matter what state the checkbox is, the textbox will be visible or not depending on how it was left on the last record. (I hope that made sense). My question is, what event do I need to add my code to, so that it will set the textbox properties correctly after the new record appears on the form. I have tried all the events I can think of, and none work.. I'm assuming there should be a way to capture the record change event, but I can't seem to find where to do that. Any pointers would be greatly appreciated!! I know this is probably so easy... LOL James -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fireonice at hotmail.com Mon Nov 5 12:58:10 2007 From: fireonice at hotmail.com (James Miller) Date: Mon, 5 Nov 2007 10:58:10 -0800 Subject: [AccessD] Easy question In-Reply-To: References: Message-ID: Thanks Gary! Man, I feel silly now, because I knew it had to be something easy I was overlooking... that did the trick! Thanks again, James -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Monday, November 05, 2007 10:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Easy question I beleive it would be the "On Current" Event of the form where you would evaluate the value of your fields and set the visibility on or off as needed. GK From JHewson at karta.com Mon Nov 5 13:03:44 2007 From: JHewson at karta.com (Jim Hewson) Date: Mon, 5 Nov 2007 13:03:44 -0600 Subject: [AccessD] Easy question In-Reply-To: <012001c81fd6$aaaff5e0$000fe1a0$@com> References: <012001c81fd6$aaaff5e0$000fe1a0$@com> Message-ID: <3918C60D59E7D84BBE11101EB0FDEF6F0BFD4A@karta-exc-int.Karta.com> Have you tried a refresh when moving to the next record? Jim jhewson at karta.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of James Miller Sent: Monday, November 05, 2007 12:07 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Easy question Okay. I know this is probably something really easy I'm overlooking, but right now I'm drawing a blank and hope someone can point me in the right direction. I have a form with two checkboxes on it.. form is tied to a table. and when the checkboxes are "true" I have a text box that appears for some text to be typed in. when the checkbox is unchecked, the text box is set so the visibility is false.. This works fine on my form, until you move to the next record. and then no matter what state the checkbox is, the textbox will be visible or not depending on how it was left on the last record. (I hope that made sense). My question is, what event do I need to add my code to, so that it will set the textbox properties correctly after the new record appears on the form. I have tried all the events I can think of, and none work.. I'm assuming there should be a way to capture the record change event, but I can't seem to find where to do that. Any pointers would be greatly appreciated!! I know this is probably so easy... LOL James -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Nov 5 13:10:56 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 5 Nov 2007 11:10:56 -0800 Subject: [AccessD] Packagers/Installers In-Reply-To: References: <000601c81ee5$0dd472b0$0301a8c0@HAL9005><002c01c81efe$69bc3e50$0301a8c0@HAL9005> Message-ID: <000101c81fdf$985933d0$0301a8c0@HAL9005> That's the kind of stuff I was looking for. There's got to be some reason why Wise and Instalshield exist. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 05, 2007 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Packagers/Installers The thing I remember about it was that you couldn't put a shortcut on the desktop with it. You had to create a VB script to install a shortcut. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, November 04, 2007 8:19 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Packagers/Installers Another question about the Windows Installer - I vaguely remember there being some problem with it that you didn't have with a commercial installer like Wise. But I can't remember. Does anyone recall this? MTIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, November 04, 2007 5:18 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Packagers/Installers Dear List: I use the Wise/Sagekey combination to package a couple of commercial applications. Always found it to be top notch. Does anyone have experience with other packagers, good or bad, particularly Windows Installer? Thanks in advance Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.20/1108 - Release Date: 11/3/2007 9:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.21/1110 - Release Date: 11/4/2007 9:37 PM From viner at EUnet.yu Mon Nov 5 13:13:13 2007 From: viner at EUnet.yu (viner) Date: Mon, 5 Nov 2007 20:13:13 +0100 Subject: [AccessD] Timetable sample needed Message-ID: <006f01c81fdf$fef13d90$dd0cf0d5@IPC> Hi, I need a sample timetable application for a school, if possible written in Access. TIA, Ervin From reuben at gfconsultants.com Mon Nov 5 13:19:39 2007 From: reuben at gfconsultants.com (Reuben Cummings) Date: Mon, 5 Nov 2007 14:19:39 -0500 Subject: [AccessD] Timetable sample needed In-Reply-To: <006f01c81fdf$fef13d90$dd0cf0d5@IPC> Message-ID: What do you mean "timetable application"? What are you trying to accomplish? Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of viner > Sent: Monday, November 05, 2007 2:13 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Timetable sample needed > > > Hi, > I need a sample timetable application for a school, if possible > written in Access. > TIA, > Ervin > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From markamatte at hotmail.com Mon Nov 5 13:24:54 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 5 Nov 2007 19:24:54 +0000 Subject: [AccessD] OT: Test Laptop In-Reply-To: <002001c81d8f$72364ff0$0c10a8c0@jisshowsbs.local> References: <002001c81d8f$72364ff0$0c10a8c0@jisshowsbs.local> Message-ID: Sorry for the tests everyone!!! From: markamatte at hotmail.comTo: accessd at databaseadvisors.comSubject: [AccessD] Private_FormatDate: Mon, 5 Nov 2007 18:24:23 +0000 Gustav, Thanks for pointing this out as I typically don't read my own posts. I'm not sure what the problem is...I think this is happening when I reply to the list...as a test I will send this email to you directly...then hit "back" and send it to the list...please let me know the results. Thanks, Mark A. Matte From: markamatte at hotmail.comTo: accessd at databaseadvisors.comSubject: RE: [AccessD] ...gurus onlyDate: Fri, 2 Nov 2007 20:44:24 +0000 > ...now if only I could learn to swallow my pride and just ask before > spending days running in circles. ...ouch...you're gonna hate this suggestion. Guessing from your description below...you used about 3 fields in your original table to get this output. We'll use the fields:field1=Set---this is where your data1,data2 stuff wentfield2=Value---this is where your 1,2,5,4,2,3,4...wentfield3=Ltr--(letter)...where your w,x,y,z Assuming this is how your data is stored...the results you want can be achieved using a single crosstab. Good Luck, Mark A. Matte ************SQL*************TRANSFORM Sum(tblDataTest.Value) AS SumOfValueSELECT tblDataTest.Set, Max(tblDataTest.Value) AS MaxOfValue, Count(*) AS SeriesFROM tblDataTestGROUP BY tblDataTest.SetPIVOT tblDataTest.Ltr;************SQL*************> From: wdhindman at dejpolsystems.com> To: accessd at databaseadvisors.com> Date: Fri, 2 Nov 2007 16:32:10 -0400> Subject: Re: [AccessD] ...gurus only> > ...tks gustav ...I'll give this a shot ...suddenly my cup runneth over > ...ain't no place like AccessD :)> ...now if only I could learn to swallow my pride and just ask before > spending days running in circles.> > William> > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Friday, November 02, 2007 4:16 PM> Subject: Re: [AccessD] ...gurus only> > > > Hi William> >> > 1) No problem.> >> > 2) Sorry, now I understand.> > Use this for Series:> >> > IIf([First]+[Last]=0,> > 0,> > 1+[Last]-[First]) AS> > Series> >> > 3) If you expect "" for empty fields, values must be strings. That's why I > > use Val() to convert to Integers.> >> > /gustav> >> >> >>>> wdhindman at dejpolsystems.com 02-11-2007 21:05:02 >>>> > ...thanks gustav but:> > ...I'm busted again ...there was an error in the data3 max ...sigh> > ...given:> >> > fields w x y z max series> > data1 1 1 1 2> > data2 1 5 5 3> > data3 1 4 3 4 4> > data4 2 3 3 2> > data5 1 1 1 1 1 4> > data6 1 1 1> >> > 1) where max is the largest number in w/x/y/z and> > 2) where series is the total number of fields between the first one> > containing a> > number and the last containing a number, not the total of the field> > contents.> > 3) where w/x/y/z are long integers for some stupid reason since it will> > allways be a single digit> >> > ...I ask for guru help and everyone starts exposing why I need it :(> > ...there is a desperate shortage of caffiene in my bloodstream ...that's > > my> > story and I'm sticking to it :)> >> > William> >> > ----- Original Message ----- > > From: "Gustav Brock" > > To: > > Sent: Friday, November 02, 2007 3:40 PM> > Subject: Re: [AccessD] ...gurus only> >> >> >> Hi William> >>> >> Here is one method using Choose():> >>> >> SELECT> >> ID,> >> w,> >> x,> >> y,> >> z,> >> IIf(Val("" & [w])>Val("" & [x]),> >> Val("" & [w]),> >> Val("" & [x])) AS Max12,> >> IIf(Val("" & [y])>Val("" & [z]),> >> Val("" & [y]),> >> Val("" & [z])) AS Max34,> >> IIf(Val("" & [w])>0,> >> 1,> >> IIf(Val("" & [x])>0,> >> 2,> >> IIf(Val("" & [y])>0,> >> 3,> >> IIf(Val("" & [z])>0,> >> 4,> >> 0)))) AS> >> First,> >> IIf(Val("" & [z])>0,> >> 4,> >> IIf(Val("" & [y])>0,> >> 3,> >> IIf(Val("" & [x])>0,> >> 2,> >> IIf(Val("" & [w])>0,> >> 1,> >> 0)))) AS> >> Last,> >> IIf([Max12]>[Max34],> >> [Max12],> >> [Max34]) AS> >> Max,> >> IIf([First]=[Last],> >> Val(Choose([First],[w],[x],[y],[z])),> >>> >> Val(Choose([First],[w],[x],[y],[z]))+Val(Choose([Last],[w],[x],[y],[z])))> >> AS> >> Series> >> FROM> >> tblGuru;> >>> >>> >> This will return, which differs from your example but is according to > >> your> >> specification:> >>> >> Max Series> >> 1 2> >> 5 6> >> 4 4> >> 3 5> >> 1 2> >> 1 1> >>> >> /gustav> >>> >>>>> wdhindman at dejpolsystems.com 02-11-2007 19:45:35 >>>> >> ...ok, you too, eh :)> >>> >> ...given:> >>> >> fields w x y z max series> >> data1 1 1 1 2> >> data2 1 5 5 3> >> data3 1 4 3 3 4> >> data4 2 3 3 2> >> data5 1 1 1 1 1 4> >> data6 1 1 1> >>> >> 1) where max is the largest number in w/x/y/z and> >> 2) where series is the total fields between the first one containing a> >> number and the last containing a number> >> 3) where empty fields contain "" rather than nulls> >>> >> ...two days and I've yet to come up with an answer to fill the max and> >> series fields from the data in w/x/y/z.> >>> >> ...help!> >>> >> William> >> >> >> > -- > > AccessD mailing list> > AccessD at databaseadvisors.com> > http://databaseadvisors.com/mailman/listinfo/accessd> > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list> AccessD at databaseadvisors.com> http://databaseadvisors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com Peek-a-boo FREE Tricks & Treats for You! Get 'em! Peek-a-boo FREE Tricks & Treats for You! Get 'em! _________________________________________________________________ Windows Live Hotmail and Microsoft Office Outlook ? together at last. ?Get it now. http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL100626971033 From markamatte at hotmail.com Mon Nov 5 13:26:09 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 5 Nov 2007 19:26:09 +0000 Subject: [AccessD] OT: Test DeskTop In-Reply-To: <002001c81d8f$72364ff0$0c10a8c0@jisshowsbs.local> References: <002001c81d8f$72364ff0$0c10a8c0@jisshowsbs.local> Message-ID: From: markamatte at hotmail.comTo: accessd at databaseadvisors.comSubject: [AccessD] OT: Test LaptopDate: Mon, 5 Nov 2007 19:24:54 +0000 Sorry for the tests everyone!!! From: markamatte at hotmail.comTo: accessd at databaseadvisors.comSubject: [AccessD] Private_FormatDate: Mon, 5 Nov 2007 18:24:23 +0000 Gustav, Thanks for pointing this out as I typically don't read my own posts. I'm not sure what the problem is...I think this is happening when I reply to the list...as a test I will send this email to you directly...then hit "back" and send it to the list...please let me know the results. Thanks, Mark A. Matte From: markamatte at hotmail.comTo: accessd at databaseadvisors.comSubject: RE: [AccessD] ...gurus onlyDate: Fri, 2 Nov 2007 20:44:24 +0000 > ...now if only I could learn to swallow my pride and just ask before > spending days running in circles. ...ouch...you're gonna hate this suggestion. Guessing from your description below...you used about 3 fields in your original table to get this output. We'll use the fields:field1=Set---this is where your data1,data2 stuff wentfield2=Value---this is where your 1,2,5,4,2,3,4...wentfield3=Ltr--(letter)...where your w,x,y,z Assuming this is how your data is stored...the results you want can be achieved using a single crosstab. Good Luck, Mark A. Matte ************SQL*************TRANSFORM Sum(tblDataTest.Value) AS SumOfValueSELECT tblDataTest.Set, Max(tblDataTest.Value) AS MaxOfValue, Count(*) AS SeriesFROM tblDataTestGROUP BY tblDataTest.SetPIVOT tblDataTest.Ltr;************SQL*************> From: wdhindman at dejpolsystems.com> To: accessd at databaseadvisors.com> Date: Fri, 2 Nov 2007 16:32:10 -0400> Subject: Re: [AccessD] ...gurus only> > ...tks gustav ...I'll give this a shot ...suddenly my cup runneth over > ...ain't no place like AccessD :)> ...now if only I could learn to swallow my pride and just ask before > spending days running in circles.> > William> > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Friday, November 02, 2007 4:16 PM> Subject: Re: [AccessD] ...gurus only> > > > Hi William> >> > 1) No problem.> >> > 2) Sorry, now I understand.> > Use this for Series:> >> > IIf([First]+[Last]=0,> > 0,> > 1+[Last]-[First]) AS> > Series> >> > 3) If you expect "" for empty fields, values must be strings. That's why I > > use Val() to convert to Integers.> >> > /gustav> >> >> >>>> wdhindman at dejpolsystems.com 02-11-2007 21:05:02 >>>> > ...thanks gustav but:> > ...I'm busted again ...there was an error in the data3 max ...sigh> > ...given:> >> > fields w x y z max series> > data1 1 1 1 2> > data2 1 5 5 3> > data3 1 4 3 4 4> > data4 2 3 3 2> > data5 1 1 1 1 1 4> > data6 1 1 1> >> > 1) where max is the largest number in w/x/y/z and> > 2) where series is the total number of fields between the first one> > containing a> > number and the last containing a number, not the total of the field> > contents.> > 3) where w/x/y/z are long integers for some stupid reason since it will> > allways be a single digit> >> > ...I ask for guru help and everyone starts exposing why I need it :(> > ...there is a desperate shortage of caffiene in my bloodstream ...that's > > my> > story and I'm sticking to it :)> >> > William> >> > ----- Original Message ----- > > From: "Gustav Brock" > > To: > > Sent: Friday, November 02, 2007 3:40 PM> > Subject: Re: [AccessD] ...gurus only> >> >> >> Hi William> >>> >> Here is one method using Choose():> >>> >> SELECT> >> ID,> >> w,> >> x,> >> y,> >> z,> >> IIf(Val("" & [w])>Val("" & [x]),> >> Val("" & [w]),> >> Val("" & [x])) AS Max12,> >> IIf(Val("" & [y])>Val("" & [z]),> >> Val("" & [y]),> >> Val("" & [z])) AS Max34,> >> IIf(Val("" & [w])>0,> >> 1,> >> IIf(Val("" & [x])>0,> >> 2,> >> IIf(Val("" & [y])>0,> >> 3,> >> IIf(Val("" & [z])>0,> >> 4,> >> 0)))) AS> >> First,> >> IIf(Val("" & [z])>0,> >> 4,> >> IIf(Val("" & [y])>0,> >> 3,> >> IIf(Val("" & [x])>0,> >> 2,> >> IIf(Val("" & [w])>0,> >> 1,> >> 0)))) AS> >> Last,> >> IIf([Max12]>[Max34],> >> [Max12],> >> [Max34]) AS> >> Max,> >> IIf([First]=[Last],> >> Val(Choose([First],[w],[x],[y],[z])),> >>> >> Val(Choose([First],[w],[x],[y],[z]))+Val(Choose([Last],[w],[x],[y],[z])))> >> AS> >> Series> >> FROM> >> tblGuru;> >>> >>> >> This will return, which differs from your example but is according to > >> your> >> specification:> >>> >> Max Series> >> 1 2> >> 5 6> >> 4 4> >> 3 5> >> 1 2> >> 1 1> >>> >> /gustav> >>> >>>>> wdhindman at dejpolsystems.com 02-11-2007 19:45:35 >>>> >> ...ok, you too, eh :)> >>> >> ...given:> >>> >> fields w x y z max series> >> data1 1 1 1 2> >> data2 1 5 5 3> >> data3 1 4 3 3 4> >> data4 2 3 3 2> >> data5 1 1 1 1 1 4> >> data6 1 1 1> >>> >> 1) where max is the largest number in w/x/y/z and> >> 2) where series is the total fields between the first one containing a> >> number and the last containing a number> >> 3) where empty fields contain "" rather than nulls> >>> >> ...two days and I've yet to come up with an answer to fill the max and> >> series fields from the data in w/x/y/z.> >>> >> ...help!> >>> >> William> >> >> >> > -- > > AccessD mailing list> > AccessD at databaseadvisors.com> > http://databaseadvisors.com/mailman/listinfo/accessd> > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list> AccessD at databaseadvisors.com> http://databaseadvisors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com Peek-a-boo FREE Tricks & Treats for You! Get 'em! Peek-a-boo FREE Tricks & Treats for You! Get 'em! Windows Live Hotmail and Microsoft Office Outlook ? together at last. Get it now! _________________________________________________________________ Climb to the top of the charts!? Play Star Shuffle:? the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct From markamatte at hotmail.com Mon Nov 5 13:27:59 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 5 Nov 2007 19:27:59 +0000 Subject: [AccessD] OT: Test XP_Conv In-Reply-To: <002001c81d8f$72364ff0$0c10a8c0@jisshowsbs.local> References: <002001c81d8f$72364ff0$0c10a8c0@jisshowsbs.local> Message-ID: From: markamatte at hotmail.comTo: accessd at databaseadvisors.comSubject: [AccessD] OT: Test DeskTopDate: Mon, 5 Nov 2007 19:26:09 +0000 From: markamatte at hotmail.comTo: accessd at databaseadvisors.comSubject: [AccessD] OT: Test LaptopDate: Mon, 5 Nov 2007 19:24:54 +0000 Sorry for the tests everyone!!! From: markamatte at hotmail.comTo: accessd at databaseadvisors.comSubject: [AccessD] Private_FormatDate: Mon, 5 Nov 2007 18:24:23 +0000 Gustav, Thanks for pointing this out as I typically don't read my own posts. I'm not sure what the problem is...I think this is happening when I reply to the list...as a test I will send this email to you directly...then hit "back" and send it to the list...please let me know the results. Thanks, Mark A. Matte From: markamatte at hotmail.comTo: accessd at databaseadvisors.comSubject: RE: [AccessD] ...gurus onlyDate: Fri, 2 Nov 2007 20:44:24 +0000 > ...now if only I could learn to swallow my pride and just ask before > spending days running in circles. ...ouch...you're gonna hate this suggestion. Guessing from your description below...you used about 3 fields in your original table to get this output. We'll use the fields:field1=Set---this is where your data1,data2 stuff wentfield2=Value---this is where your 1,2,5,4,2,3,4...wentfield3=Ltr--(letter)...where your w,x,y,z Assuming this is how your data is stored...the results you want can be achieved using a single crosstab. Good Luck, Mark A. Matte ************SQL*************TRANSFORM Sum(tblDataTest.Value) AS SumOfValueSELECT tblDataTest.Set, Max(tblDataTest.Value) AS MaxOfValue, Count(*) AS SeriesFROM tblDataTestGROUP BY tblDataTest.SetPIVOT tblDataTest.Ltr;************SQL*************> From: wdhindman at dejpolsystems.com> To: accessd at databaseadvisors.com> Date: Fri, 2 Nov 2007 16:32:10 -0400> Subject: Re: [AccessD] ...gurus only> > ...tks gustav ...I'll give this a shot ...suddenly my cup runneth over > ...ain't no place like AccessD :)> ...now if only I could learn to swallow my pride and just ask before > spending days running in circles.> > William> > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Friday, November 02, 2007 4:16 PM> Subject: Re: [AccessD] ...gurus only> > > > Hi William> >> > 1) No problem.> >> > 2) Sorry, now I understand.> > Use this for Series:> >> > IIf([First]+[Last]=0,> > 0,> > 1+[Last]-[First]) AS> > Series> >> > 3) If you expect "" for empty fields, values must be strings. That's why I > > use Val() to convert to Integers.> >> > /gustav> >> >> >>>> wdhindman at dejpolsystems.com 02-11-2007 21:05:02 >>>> > ...thanks gustav but:> > ...I'm busted again ...there was an error in the data3 max ...sigh> > ...given:> >> > fields w x y z max series> > data1 1 1 1 2> > data2 1 5 5 3> > data3 1 4 3 4 4> > data4 2 3 3 2> > data5 1 1 1 1 1 4> > data6 1 1 1> >> > 1) where max is the largest number in w/x/y/z and> > 2) where series is the total number of fields between the first one> > containing a> > number and the last containing a number, not the total of the field> > contents.> > 3) where w/x/y/z are long integers for some stupid reason since it will> > allways be a single digit> >> > ...I ask for guru help and everyone starts exposing why I need it :(> > ...there is a desperate shortage of caffiene in my bloodstream ...that's > > my> > story and I'm sticking to it :)> >> > William> >> > ----- Original Message ----- > > From: "Gustav Brock" > > To: > > Sent: Friday, November 02, 2007 3:40 PM> > Subject: Re: [AccessD] ...gurus only> >> >> >> Hi William> >>> >> Here is one method using Choose():> >>> >> SELECT> >> ID,> >> w,> >> x,> >> y,> >> z,> >> IIf(Val("" & [w])>Val("" & [x]),> >> Val("" & [w]),> >> Val("" & [x])) AS Max12,> >> IIf(Val("" & [y])>Val("" & [z]),> >> Val("" & [y]),> >> Val("" & [z])) AS Max34,> >> IIf(Val("" & [w])>0,> >> 1,> >> IIf(Val("" & [x])>0,> >> 2,> >> IIf(Val("" & [y])>0,> >> 3,> >> IIf(Val("" & [z])>0,> >> 4,> >> 0)))) AS> >> First,> >> IIf(Val("" & [z])>0,> >> 4,> >> IIf(Val("" & [y])>0,> >> 3,> >> IIf(Val("" & [x])>0,> >> 2,> >> IIf(Val("" & [w])>0,> >> 1,> >> 0)))) AS> >> Last,> >> IIf([Max12]>[Max34],> >> [Max12],> >> [Max34]) AS> >> Max,> >> IIf([First]=[Last],> >> Val(Choose([First],[w],[x],[y],[z])),> >>> >> Val(Choose([First],[w],[x],[y],[z]))+Val(Choose([Last],[w],[x],[y],[z])))> >> AS> >> Series> >> FROM> >> tblGuru;> >>> >>> >> This will return, which differs from your example but is according to > >> your> >> specification:> >>> >> Max Series> >> 1 2> >> 5 6> >> 4 4> >> 3 5> >> 1 2> >> 1 1> >>> >> /gustav> >>> >>>>> wdhindman at dejpolsystems.com 02-11-2007 19:45:35 >>>> >> ...ok, you too, eh :)> >>> >> ...given:> >>> >> fields w x y z max series> >> data1 1 1 1 2> >> data2 1 5 5 3> >> data3 1 4 3 3 4> >> data4 2 3 3 2> >> data5 1 1 1 1 1 4> >> data6 1 1 1> >>> >> 1) where max is the largest number in w/x/y/z and> >> 2) where series is the total fields between the first one containing a> >> number and the last containing a number> >> 3) where empty fields contain "" rather than nulls> >>> >> ...two days and I've yet to come up with an answer to fill the max and> >> series fields from the data in w/x/y/z.> >>> >> ...help!> >>> >> William> >> >> >> > -- > > AccessD mailing list> > AccessD at databaseadvisors.com> > http://databaseadvisors.com/mailman/listinfo/accessd> > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list> AccessD at databaseadvisors.com> http://databaseadvisors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com Peek-a-boo FREE Tricks & Treats for You! Get 'em! Peek-a-boo FREE Tricks & Treats for You! Get 'em! Windows Live Hotmail and Microsoft Office Outlook ? together at last. Get it now! Climb to the top of the charts! Play Star Shuffle: the word scramble challenge with star power. Play Now! _________________________________________________________________ Windows Live Hotmail and Microsoft Office Outlook ? together at last. ?Get it now. http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL100626971033 From markamatte at hotmail.com Mon Nov 5 13:40:17 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 5 Nov 2007 19:40:17 +0000 Subject: [AccessD] My AccessD Email Format In-Reply-To: References: <002001c81d8f$72364ff0$0c10a8c0@jisshowsbs.local> Message-ID: Hello All, I have received some offline emails from the list concerning the format of my emails. As I do not typically read my own posts...I was not aware. Thank you all for letting me know. I have sent from multiple machines...1 of which nothing has changed on in the last year...and the results are the same. When I reply to an email...What I view seems to be fine...what is in the SENT folder seems to be fine...but when I get the email back from the list...everything past what I added is all run together without CR or spaces. I have sent the same message to people directly...I'm waiting to hear how it went...If I send it to myself...it comes through correct. Any ideas? Thanks, Mark A. Matte _________________________________________________________________ Boo!?Scare away worms, viruses and so much more! Try Windows Live OneCare! http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews From ssharkins at gmail.com Mon Nov 5 13:47:10 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 5 Nov 2007 14:47:10 -0500 Subject: [AccessD] My AccessD Email Format References: <002001c81d8f$72364ff0$0c10a8c0@jisshowsbs.local> Message-ID: <008701c81fe4$a90c2890$4b3a8343@SusanOne> I have sent the same message to people directly...I'm waiting to hear how it went...If I send it to myself...it comes through correct. Any ideas? =======For what it's worth, this one came through fine. Susan H. From viner at EUnet.yu Mon Nov 5 13:51:34 2007 From: viner at EUnet.yu (viner) Date: Mon, 5 Nov 2007 20:51:34 +0100 Subject: [AccessD] Timetable sample needed References: Message-ID: <001201c81fe5$4c50ba70$690ef0d5@IPC> Hi Reuben, I'm trying to make a timetable for school, to avoid clashes in "tutor, room, class" situation. Something like iMagic Timetable Master, http://www.imagictimetablesoftware.com/ TIA, Ervin ----- Original Message ----- From: "Reuben Cummings" To: "Access Developers discussion and problem solving" Sent: Monday, November 05, 2007 8:19 PM Subject: Re: [AccessD] Timetable sample needed > What do you mean "timetable application"? What are you trying to > accomplish? > > Reuben Cummings > GFC, LLC > 812.523.1017 > > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of viner >> Sent: Monday, November 05, 2007 2:13 PM >> To: AccessD at databaseadvisors.com >> Subject: [AccessD] Timetable sample needed >> >> >> Hi, >> I need a sample timetable application for a school, if possible >> written in Access. >> TIA, >> Ervin >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Nov 5 13:55:39 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 5 Nov 2007 11:55:39 -0800 Subject: [AccessD] Spell Check In-Reply-To: <002401c81a60$70c6d2c0$0200a8c0@danwaters> References: <007d01c81a57$3f1b2680$0301a8c0@HAL9005><002301c81a5c$68c54010$0200a8c0@danwaters><008b01c81a5e$6cebf470$0301a8c0@HAL9005> <002401c81a60$70c6d2c0$0200a8c0@danwaters> Message-ID: <000201c81fe5$d7514ae0$0301a8c0@HAL9005> Dan: Here's what I ended up with. My requirement was not as general case as yours. Just to spell check a specific bound field on a filtered form - all records. DoCmd.GoToRecord , , acFirst Do While Me.NewRecord = False Me.TimeEntryNarrative.SetFocus Me.TimeEntryNarrative.SelStart = 0 If Not IsNull(Me.TimeEntryNarrative) Then Me.TimeEntryNarrative.SelLength = Len(Me.TimeEntryNarrative) DoCmd.SetWarnings False DoCmd.RunCommand acCmdSpelling DoCmd.SetWarnings True End If DoCmd.GoToRecord , , acNext Loop SendKeys "{ESC}" The send keys at the end is to cancel the new record. Thanks for the code. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, October 29, 2007 12:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Spell Check The code I listed was a little simplified. In my app I have a User Settings form. One of the settings is if a user wants the auto-spellcheck turned on. That value is stored in a tblPeopleMain field, and it's value is True by default. The reason this is only checking a specific field is because all the text in that field is selected in code. I've never tried to run acCmdSpelling without selecting text first! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, October 29, 2007 2:04 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Spell Check That will definitely help. I'll probably define some hot key to trigger the spell check since the user may want it off - or maybe a check box and use the enter/exit approach. The DoCmd.RunCommand acCmdSpelling if call separately, does that normally run on all the text boxes on the form or just the text box that has the focus? Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, October 29, 2007 11:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Spell Check Hi Rocky, To do spellchecking on textboxes I use this code I've developed through trial & error. It works pretty well - although I've had one 'user' try to paste a long email into a textbox field and then crash the whole database. I retrained him in alternate methods! First, you need to declare a modular variable for each form you'll be using this in like this: Private MvarOriginalText As Variant Second, you need to enter the following into the Enter and Exit events of each textbox (here called memDescription): Private Sub memDescription_Enter() MvarOriginalText = memDescription End Sub Private Sub memDescription_Exit(Delete As Integer) Call SpellCheckField(memDescription, MvarOriginalText) MvarOriginalText = memDescription End Sub Third, put these two procedures into a standard module: Public Sub SpellCheckField(varField As Variant, varOriginalFieldText As Variant) If IsNull(varField) Or varField = "" Then Exit Sub End If If varField = varOriginalFieldText Then Exit Sub End If Call Spellcheck Exit Sub End Sub Public Sub Spellcheck() Dim ctl As Control Dim lngText As Long Dim varFieldContents As Variant Set ctl = Screen.ActiveControl If Not ctl.ControlType = acTextBox Then Exit Sub End If If ctl.Locked = True Then Exit Sub End If If ctl.Enabled = False Then Exit Sub End If ctl.SelStart = 0 ctl.SelLength = Len(ctl.Text) DoCmd.SetWarnings False DoCmd.RunCommand acCmdSpelling DoCmd.SetWarnings True Set ctl = Nothing Exit Sub End Sub This ends up working the way a person would probably intuitively expect automatic spellchecking to work. The user doesn't have to take any action, it just pops up the spellchecking window if something is misspelled, and doesn't do anything at all if all the text is spelled correctly. Hope this helps! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, October 29, 2007 1:12 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Spell Check Dear List: Is there a way through code to trigger the spell checker on a specific field? I think the F7 hotkey does all the fields. 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.12/1097 - Release Date: 10/28/2007 1:58 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.12/1097 - Release Date: 10/28/2007 1:58 PM From carbonnb at gmail.com Mon Nov 5 14:03:32 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Mon, 5 Nov 2007 15:03:32 -0500 Subject: [AccessD] My AccessD Email Format In-Reply-To: References: <002001c81d8f$72364ff0$0c10a8c0@jisshowsbs.local> Message-ID: On Nov 5, 2007 2:40 PM, Mark A Matte wrote: > > Hello All, > > I have received some offline emails from the list concerning the format of my emails. As I do not typically read my own posts...I was not aware. Thank you all for letting me know. > > I have sent from multiple machines...1 of which nothing has changed on in the last year...and the results are the same. When I reply to an email...What I view seems to be fine...what is in the SENT folder seems to be fine...but when I get the email back from the list...everything past what I added is all run together without CR or spaces. > > I have sent the same message to people directly...I'm waiting to hear how it went...If I send it to myself...it comes through correct. > > Any ideas? My guess (not having time to look carefully as I;'m in the middle of 3 projects with deadlines in less than an hour) is that it the HTML email to plain text converter in the mailing list software. Try setting your e-mail client to send only plain ascii text and not html. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From sdhi at kalamazoo.net Mon Nov 5 14:22:16 2007 From: sdhi at kalamazoo.net (Sheri Hixson) Date: Mon, 5 Nov 2007 15:22:16 -0500 Subject: [AccessD] Replace/delete first 4 characters Message-ID: <00a201c81fe9$8f08d1a0$b000000a@nw8000> I have a column in a table that contains info as shown below: 123 123.456 123 123.456 410 410.435 555 555.123 789 789.678 910 910.321 The first 3 characters are duplicated in 5,6,7. How do I remove the first three characters, and the space, from each record in this column so that the results would be: 123.456 123.456 410.435 555.123 789.678 910.321 Any help would be appreciated! Thanks, Dee From doug at starntech.com Mon Nov 5 14:38:53 2007 From: doug at starntech.com (Doug Barnes) Date: Mon, 5 Nov 2007 15:38:53 -0500 Subject: [AccessD] Packagers/Installers In-Reply-To: <000101c81fdf$985933d0$0301a8c0@HAL9005> Message-ID: Another installer is Inno Setup, which is free. Also, download the Inno Tool to accompany. Douglas Barnes Starn Technical Services P.O. Box 1172 15957 Conneaut Lake Road, Suite 7 Meadville, PA 16335 P: 814.724.1045 F: 814.337.3460 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 05, 2007 2:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Packagers/Installers That's the kind of stuff I was looking for. There's got to be some reason why Wise and Instalshield exist. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 05, 2007 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Packagers/Installers The thing I remember about it was that you couldn't put a shortcut on the desktop with it. You had to create a VB script to install a shortcut. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, November 04, 2007 8:19 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Packagers/Installers Another question about the Windows Installer - I vaguely remember there being some problem with it that you didn't have with a commercial installer like Wise. But I can't remember. Does anyone recall this? MTIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, November 04, 2007 5:18 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Packagers/Installers Dear List: I use the Wise/Sagekey combination to package a couple of commercial applications. Always found it to be top notch. Does anyone have experience with other packagers, good or bad, particularly Windows Installer? Thanks in advance Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.20/1108 - Release Date: 11/3/2007 9:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.21/1110 - Release Date: 11/4/2007 9:37 PM -- 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 Nov 5 14:40:43 2007 From: Chester_Kaup at KinderMorgan.com (Kaup, Chester) Date: Mon, 5 Nov 2007 14:40:43 -0600 Subject: [AccessD] Replace/delete first 4 characters In-Reply-To: <00a201c81fe9$8f08d1a0$b000000a@nw8000> References: <00a201c81fe9$8f08d1a0$b000000a@nw8000> Message-ID: For example if your data is in table1 and field1 use this function Mid([Table1]![Field1],5,7) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Sheri Hixson Sent: Monday, November 05, 2007 2:22 PM To: accessD at databaseadvisors.com Subject: [AccessD] Replace/delete first 4 characters I have a column in a table that contains info as shown below: 123 123.456 123 123.456 410 410.435 555 555.123 789 789.678 910 910.321 The first 3 characters are duplicated in 5,6,7. How do I remove the first three characters, and the space, from each record in this column so that the results would be: 123.456 123.456 410.435 555.123 789.678 910.321 Any help would be appreciated! Thanks, Dee -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Mon Nov 5 14:47:16 2007 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 5 Nov 2007 14:47:16 -0600 Subject: [AccessD] Spell Check In-Reply-To: <000201c81fe5$d7514ae0$0301a8c0@HAL9005> References: <007d01c81a57$3f1b2680$0301a8c0@HAL9005><002301c81a5c$68c54010$0200a8c0@danwaters><008b01c81a5e$6cebf470$0301a8c0@HAL9005><002401c81a60$70c6d2c0$0200a8c0@danwaters> <000201c81fe5$d7514ae0$0301a8c0@HAL9005> Message-ID: <004101c81fed$0d601510$0200a8c0@danwaters> Very Clever! I'll remember this. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 05, 2007 1:56 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Spell Check Dan: Here's what I ended up with. My requirement was not as general case as yours. Just to spell check a specific bound field on a filtered form - all records. DoCmd.GoToRecord , , acFirst Do While Me.NewRecord = False Me.TimeEntryNarrative.SetFocus Me.TimeEntryNarrative.SelStart = 0 If Not IsNull(Me.TimeEntryNarrative) Then Me.TimeEntryNarrative.SelLength = Len(Me.TimeEntryNarrative) DoCmd.SetWarnings False DoCmd.RunCommand acCmdSpelling DoCmd.SetWarnings True End If DoCmd.GoToRecord , , acNext Loop SendKeys "{ESC}" The send keys at the end is to cancel the new record. Thanks for the code. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, October 29, 2007 12:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Spell Check The code I listed was a little simplified. In my app I have a User Settings form. One of the settings is if a user wants the auto-spellcheck turned on. That value is stored in a tblPeopleMain field, and it's value is True by default. The reason this is only checking a specific field is because all the text in that field is selected in code. I've never tried to run acCmdSpelling without selecting text first! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, October 29, 2007 2:04 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Spell Check That will definitely help. I'll probably define some hot key to trigger the spell check since the user may want it off - or maybe a check box and use the enter/exit approach. The DoCmd.RunCommand acCmdSpelling if call separately, does that normally run on all the text boxes on the form or just the text box that has the focus? Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, October 29, 2007 11:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Spell Check Hi Rocky, To do spellchecking on textboxes I use this code I've developed through trial & error. It works pretty well - although I've had one 'user' try to paste a long email into a textbox field and then crash the whole database. I retrained him in alternate methods! First, you need to declare a modular variable for each form you'll be using this in like this: Private MvarOriginalText As Variant Second, you need to enter the following into the Enter and Exit events of each textbox (here called memDescription): Private Sub memDescription_Enter() MvarOriginalText = memDescription End Sub Private Sub memDescription_Exit(Delete As Integer) Call SpellCheckField(memDescription, MvarOriginalText) MvarOriginalText = memDescription End Sub Third, put these two procedures into a standard module: Public Sub SpellCheckField(varField As Variant, varOriginalFieldText As Variant) If IsNull(varField) Or varField = "" Then Exit Sub End If If varField = varOriginalFieldText Then Exit Sub End If Call Spellcheck Exit Sub End Sub Public Sub Spellcheck() Dim ctl As Control Dim lngText As Long Dim varFieldContents As Variant Set ctl = Screen.ActiveControl If Not ctl.ControlType = acTextBox Then Exit Sub End If If ctl.Locked = True Then Exit Sub End If If ctl.Enabled = False Then Exit Sub End If ctl.SelStart = 0 ctl.SelLength = Len(ctl.Text) DoCmd.SetWarnings False DoCmd.RunCommand acCmdSpelling DoCmd.SetWarnings True Set ctl = Nothing Exit Sub End Sub This ends up working the way a person would probably intuitively expect automatic spellchecking to work. The user doesn't have to take any action, it just pops up the spellchecking window if something is misspelled, and doesn't do anything at all if all the text is spelled correctly. Hope this helps! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, October 29, 2007 1:12 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Spell Check Dear List: Is there a way through code to trigger the spell checker on a specific field? I think the F7 hotkey does all the fields. 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.12/1097 - Release Date: 10/28/2007 1:58 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.12/1097 - Release Date: 10/28/2007 1:58 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at Marlow.com Mon Nov 5 15:04:19 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 5 Nov 2007 15:04:19 -0600 Subject: [AccessD] Replace/delete first 4 characters In-Reply-To: <00a201c81fe9$8f08d1a0$b000000a@nw8000> Message-ID: If this a permanent change, this would work: UPDATE tblYourTableName SET YourFieldName=Mid(YourFieldName,5) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Sheri Hixson Sent: Monday, November 05, 2007 2:22 PM To: accessD at databaseadvisors.com Subject: [AccessD] Replace/delete first 4 characters I have a column in a table that contains info as shown below: 123 123.456 123 123.456 410 410.435 555 555.123 789 789.678 910 910.321 The first 3 characters are duplicated in 5,6,7. How do I remove the first three characters, and the space, from each record in this column so that the results would be: 123.456 123.456 410.435 555.123 789.678 910.321 Any help would be appreciated! Thanks, Dee -- 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 BusinessSensitve 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 markamatte at hotmail.com Mon Nov 5 15:30:27 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 5 Nov 2007 21:30:27 +0000 Subject: [AccessD] My AccessD Email Format In-Reply-To: References: <002001c81d8f$72364ff0$0c10a8c0@jisshowsbs.local> Message-ID: the HTML> email to plain text converter in the mailing list software.> > Try setting your e-mail client to send only plain ascii text and not html.> I use hotmail...anyone else use it...and have any idea if that is an option? Thanks, Mark A. Matte > Date: Mon, 5 Nov 2007 15:03:32 -0500> From: carbonnb at gmail.com> To: accessd at databaseadvisors.com> Subject: Re: [AccessD] My AccessD Email Format> > On Nov 5, 2007 2:40 PM, Mark A Matte wrote:> >> > Hello All,> >> > I have received some offline emails from the list concerning the format of my emails. As I do not typically read my own posts...I was not aware. Thank you all for letting me know.> >> > I have sent from multiple machines...1 of which nothing has changed on in the last year...and the results are the same. When I reply to an email...What I view seems to be fine...what is in the SENT folder seems to be fine...but when I get the email back from the list...everything past what I added is all run together without CR or spaces.> >> > I have sent the same message to people directly...I'm waiting to hear how it went...If I send it to myself...it comes through correct.> >> > Any ideas?> > My guess (not having time to look carefully as I;'m in the middle of 3> projects with deadlines in less than an hour) is that it the HTML> email to plain text converter in the mailing list software.> > Try setting your e-mail client to send only plain ascii text and not html.> > -- > Bryan Carbonnell - carbonnb at gmail.com> Life's journey is not to arrive at the grave safely in a well> preserved body, but rather to skid in sideways, totally worn out,> shouting "What a great ride!"> -- > AccessD mailing list> AccessD at databaseadvisors.com> http://databaseadvisors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com _________________________________________________________________ Climb to the top of the charts!? Play Star Shuffle:? the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct From carbonnb at gmail.com Mon Nov 5 19:37:11 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Mon, 5 Nov 2007 20:37:11 -0500 Subject: [AccessD] My AccessD Email Format In-Reply-To: References: <002001c81d8f$72364ff0$0c10a8c0@jisshowsbs.local> Message-ID: On Nov 5, 2007 4:30 PM, Mark A Matte wrote: > > the HTML> email to plain text converter in the mailing list software.> > Try setting your e-mail client to send only plain ascii text and not html.> > > I use hotmail...anyone else use it...and have any idea if that is an option? Which version? MSN Hotmail or the new and broken Windows Live Hotmail? http://email.about.com/od/hotmailtips/qt/et_plain_text.htm will tell you how to do it in MSN Hotmail. If you are using the Windows Live Hotmail, time to find another way to send to the list. You can't send in plain acsii text from Windows Live Hotmail. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From adtp at airtelbroadband.in Mon Nov 5 22:38:23 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Tue, 6 Nov 2007 10:08:23 +0530 Subject: [AccessD] ...gurus only References: <002001c81d8f$72364ff0$0c10a8c0@jisshows bs.local> Message-ID: <008b01c8202e$f5e09620$df57a27a@personalec1122> William, If the number of value columns in crosstab style source table is likely to vary, a generic solution could be suggested, envisaging programmatic creation of required queries. On the other hand, if you are in a position to use the original data in normalized state, a single crosstab query could be suggested. It would fetch the desired results, including the two extra columns (one showing max of values across columns and the other showing total number of columns spanned by the two outermost columns carrying explicit values). Best wishes, A.D.Tejpal ------------ ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Saturday, November 03, 2007 00:15 Subject: [AccessD] ...gurus only ...ok, you too, eh :) ...given: fields w x y z max series data1 1 1 1 2 data2 1 5 5 3 data3 1 4 3 3 4 data4 2 3 3 2 data5 1 1 1 1 1 4 data6 1 1 1 1) where max is the largest number in w/x/y/z and 2) where series is the total fields between the first one containing a number and the last containing a number 3) where empty fields contain "" rather than nulls ...two days and I've yet to come up with an answer to fill the max and series fields from the data in w/x/y/z. ...help! William From Gustav at cactus.dk Tue Nov 6 03:23:20 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 06 Nov 2007 10:23:20 +0100 Subject: [AccessD] Private_Format Message-ID: Hi Mark et al The problem is that the plain text body of the message from Hotmail is garbled as no line breaks exist. This is a direct cut and paste of the encoded body part in the mail you sent directly to me. Here's a snip: --- From: markamatte at hotmail.comTo: accessd at databaseadvisors.comSubject: RE: [A= ccessD] ...gurus onlyDate: Fri, 2 Nov 2007 20:44:24 +0000 > ...now if only I could learn to swallow my pride and just ask before > sp= ending days running in circles. ...ouch...you're gonna hate this suggestion= . Guessing from your description below...you used about 3 fields in your or= iginal table to get this output. We'll use the fields:field1=3DSet---this = is where your data1,data2 stuff wentfield2=3DValue---this is where your 1,2= ,5,4,2,3,4...wentfield3=3DLtr--(letter)...where your w,x,y,z Assuming this = is how your data is stored...the results you want can be achieved using a s= ingle crosstab. --- However, also an HTML part is included, and if your mail client defaults to HTML, it will read that for quoting. That looks similar to this snip: --- From: markamatte at hotmail.com To: accessd at databaseadvisors.com Subject: RE: [AccessD] ...gurus only Date: Fri, 2 Nov 2007 20:44:24 +0000 > ...now if only I could learn to swallow my pride and just ask before > spending days running in circles. ...ouch...you're gonna hate this suggestion. Guessing from your description below...you used about 3 fields in your original table to get this output. We'll use the fields: field1=Set---this is where your data1,data2 stuff went field2=Value---this is where your 1,2,5,4,2,3,4...went field3=Ltr--(letter)...where your w,x,y,z Assuming this is how your data is stored...the results you want can be achieved using a single crosstab. --- No problem here. So the issue is, that Hotmail generates garbled plain text and mail clients (including the mail reader part of the list server) faithfully reads that part for quoting or forwarding to the list. As I don't use Hotmail while other list members do you may discuss with these if some option can be changed to address this issue. /gustav From reuben at gfconsultants.com Tue Nov 6 08:00:22 2007 From: reuben at gfconsultants.com (Reuben Cummings) Date: Tue, 6 Nov 2007 09:00:22 -0500 Subject: [AccessD] Timetable sample needed In-Reply-To: <001201c81fe5$4c50ba70$690ef0d5@IPC> Message-ID: I don't know of anything, but I've passed this on to my wife, the teacher, who is heavily involved in software selections in her system. Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of viner > Sent: Monday, November 05, 2007 2:52 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Timetable sample needed > > > Hi Reuben, > I'm trying to make a timetable for school, to avoid clashes in "tutor, > room, class" situation. Something like iMagic Timetable Master, > http://www.imagictimetablesoftware.com/ > TIA, > Ervin > ----- Original Message ----- > From: "Reuben Cummings" > To: "Access Developers discussion and problem solving" > > Sent: Monday, November 05, 2007 8:19 PM > Subject: Re: [AccessD] Timetable sample needed > > > > What do you mean "timetable application"? What are you trying to > > accomplish? > > > > Reuben Cummings > > GFC, LLC > > 812.523.1017 > > > > > >> -----Original Message----- > >> From: accessd-bounces at databaseadvisors.com > >> [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of viner > >> Sent: Monday, November 05, 2007 2:13 PM > >> To: AccessD at databaseadvisors.com > >> Subject: [AccessD] Timetable sample needed > >> > >> > >> Hi, > >> I need a sample timetable application for a school, if possible > >> written in Access. > >> TIA, > >> Ervin > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From markamatte at hotmail.com Tue Nov 6 08:29:34 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 6 Nov 2007 14:29:34 +0000 Subject: [AccessD] OT...View Test In-Reply-To: References: <001201c81fe5$4c50ba70$690ef0d5@IPC> Message-ID: Sorry for the tests... ok...changed a view on my email... > From: reuben at gfconsultants.com > To: accessd at databaseadvisors.com > Date: Tue, 6 Nov 2007 09:00:22 -0500 > Subject: Re: [AccessD] Timetable sample needed > > I don't know of anything, but I've passed this on to my wife, the teacher, > who is heavily involved in software selections in her system. > > Reuben Cummings > GFC, LLC > 812.523.1017 > > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of viner >> Sent: Monday, November 05, 2007 2:52 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Timetable sample needed >> >> >> Hi Reuben, >> I'm trying to make a timetable for school, to avoid clashes in "tutor, >> room, class" situation. Something like iMagic Timetable Master, >> http://www.imagictimetablesoftware.com/ >> TIA, >> Ervin >> ----- Original Message ----- >> From: "Reuben Cummings" >> To: "Access Developers discussion and problem solving" >> >> Sent: Monday, November 05, 2007 8:19 PM >> Subject: Re: [AccessD] Timetable sample needed >> >> >>> What do you mean "timetable application"? What are you trying to >>> accomplish? >>> >>> Reuben Cummings >>> GFC, LLC >>> 812.523.1017 >>> >>> >>>> -----Original Message----- >>>> From: accessd-bounces at databaseadvisors.com >>>> [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of viner >>>> Sent: Monday, November 05, 2007 2:13 PM >>>> To: AccessD at databaseadvisors.com >>>> Subject: [AccessD] Timetable sample needed >>>> >>>> >>>> Hi, >>>> I need a sample timetable application for a school, if possible >>>> written in Access. >>>> TIA, >>>> Ervin >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>> >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Climb to the top of the charts!? Play Star Shuffle:? the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct From reuben at gfconsultants.com Tue Nov 6 08:43:18 2007 From: reuben at gfconsultants.com (Reuben Cummings) Date: Tue, 6 Nov 2007 09:43:18 -0500 Subject: [AccessD] Timetable sample needed In-Reply-To: Message-ID: My wife suggested looking at these people... http://www.sti-k12.com/ I'm guessing it's a little overkill. A friend of mine has written a scheduling app for things like resteraunts - would that help? I haven't spoken to him in quite a while so it may be tough to run him down. Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Reuben > Cummings > Sent: Tuesday, November 06, 2007 9:00 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Timetable sample needed > > > I don't know of anything, but I've passed this on to my wife, the teacher, > who is heavily involved in software selections in her system. > > Reuben Cummings > GFC, LLC > 812.523.1017 > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of viner > > Sent: Monday, November 05, 2007 2:52 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Timetable sample needed > > > > > > Hi Reuben, > > I'm trying to make a timetable for school, to avoid clashes in "tutor, > > room, class" situation. Something like iMagic Timetable Master, > > http://www.imagictimetablesoftware.com/ > > TIA, > > Ervin > > ----- Original Message ----- > > From: "Reuben Cummings" > > To: "Access Developers discussion and problem solving" > > > > Sent: Monday, November 05, 2007 8:19 PM > > Subject: Re: [AccessD] Timetable sample needed > > > > > > > What do you mean "timetable application"? What are you trying to > > > accomplish? > > > > > > Reuben Cummings > > > GFC, LLC > > > 812.523.1017 > > > > > > > > >> -----Original Message----- > > >> From: accessd-bounces at databaseadvisors.com > > >> [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of viner > > >> Sent: Monday, November 05, 2007 2:13 PM > > >> To: AccessD at databaseadvisors.com > > >> Subject: [AccessD] Timetable sample needed > > >> > > >> > > >> Hi, > > >> I need a sample timetable application for a school, if possible > > >> written in Access. > > >> TIA, > > >> Ervin > > >> -- > > >> AccessD mailing list > > >> AccessD at databaseadvisors.com > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > >> Website: http://www.databaseadvisors.com > > >> > > > > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From garykjos at gmail.com Tue Nov 6 08:56:35 2007 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 6 Nov 2007 08:56:35 -0600 Subject: [AccessD] OT...View Test In-Reply-To: References: <001201c81fe5$4c50ba70$690ef0d5@IPC> Message-ID: Looks good here. Gary On 11/6/07, Mark A Matte wrote: > > Sorry for the tests... > > ok...changed a view on my email... > > > > From: reuben at gfconsultants.com > > To: accessd at databaseadvisors.com > > Date: Tue, 6 Nov 2007 09:00:22 -0500 > > Subject: Re: [AccessD] Timetable sample needed > > > > I don't know of anything, but I've passed this on to my wife, the teacher, > > who is heavily involved in software selections in her system. > > > > Reuben Cummings > > GFC, LLC > > 812.523.1017 > > > > > >> -----Original Message----- > >> From: accessd-bounces at databaseadvisors.com > >> [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of viner > >> Sent: Monday, November 05, 2007 2:52 PM > >> To: Access Developers discussion and problem solving > >> Subject: Re: [AccessD] Timetable sample needed > >> > >> > >> Hi Reuben, > >> I'm trying to make a timetable for school, to avoid clashes in "tutor, > >> room, class" situation. Something like iMagic Timetable Master, > >> http://www.imagictimetablesoftware.com/ > >> TIA, > >> Ervin > >> ----- Original Message ----- > >> From: "Reuben Cummings" > >> To: "Access Developers discussion and problem solving" > >> > >> Sent: Monday, November 05, 2007 8:19 PM > >> Subject: Re: [AccessD] Timetable sample needed > >> > >> > >>> What do you mean "timetable application"? What are you trying to > >>> accomplish? > >>> > >>> Reuben Cummings > >>> GFC, LLC > >>> 812.523.1017 > >>> > >>> > >>>> -----Original Message----- > >>>> From: accessd-bounces at databaseadvisors.com > >>>> [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of viner > >>>> Sent: Monday, November 05, 2007 2:13 PM > >>>> To: AccessD at databaseadvisors.com > >>>> Subject: [AccessD] Timetable sample needed > >>>> > >>>> > >>>> Hi, > >>>> I need a sample timetable application for a school, if possible > >>>> written in Access. > >>>> TIA, > >>>> Ervin > >>>> -- > >>>> AccessD mailing list > >>>> AccessD at databaseadvisors.com > >>>> http://databaseadvisors.com/mailman/listinfo/accessd > >>>> Website: http://www.databaseadvisors.com > >>>> > >>> > >>> > >>> > >>> -- > >>> AccessD mailing list > >>> AccessD at databaseadvisors.com > >>> http://databaseadvisors.com/mailman/listinfo/accessd > >>> Website: http://www.databaseadvisors.com > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _________________________________________________________________ > Climb to the top of the charts! Play Star Shuffle: the word scramble challenge with star power. > http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From carbonnb at gmail.com Tue Nov 6 09:01:24 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 6 Nov 2007 10:01:24 -0500 Subject: [AccessD] OT...View Test In-Reply-To: References: <001201c81fe5$4c50ba70$690ef0d5@IPC> Message-ID: On Nov 6, 2007 9:29 AM, Mark A Matte wrote: > > Sorry for the tests... > > ok...changed a view on my email... Much better. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From Gustav at cactus.dk Tue Nov 6 09:06:06 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 06 Nov 2007 16:06:06 +0100 Subject: [AccessD] OT...View Test Message-ID: Hi Matt That made a big change. Thanks! /gustav >>> markamatte at hotmail.com 06-11-2007 15:29 >>> Sorry for the tests... ok...changed a view on my email... > From: reuben at gfconsultants.com > To: accessd at databaseadvisors.com > Date: Tue, 6 Nov 2007 09:00:22 -0500 > Subject: Re: [AccessD] Timetable sample needed > > I don't know of anything, but I've passed this on to my wife, the teacher, > who is heavily involved in software selections in her system. > > Reuben Cummings > GFC, LLC > 812.523.1017 From ssharkins at gmail.com Tue Nov 6 13:51:59 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 6 Nov 2007 14:51:59 -0500 Subject: [AccessD] storing last item on the page Message-ID: <001601c820ae$821c9a10$4b3a8343@SusanOne> I have four unbound text controls -- two in the header and two in the footer -- to display the first and last items on each page. I've got three of them working as follows: I use the control's Control Source property to display the first item in the header and the last item in the footer. I use the following to update the footer's first item. Private Sub PageHeaderSection_Format(Cancel As Integer, FormatCount As Integer) 'Store first item on page for footer. Dim strFirst As String strFirst = Me.txtHeaderFirst Me.txtFooterFirst = strFirst End Sub I tried the following to update the header's last item, but it doesn't work: Private Sub PageFooterSection_Format(Cancel As Integer, FormatCount As Integer) 'Return last item on each page for header. Dim strLast As String strLast = Me.txtFooterLast Me.txtHeaderLast = strLast End Sub The first page displays nothing and all subsequent pages display the last item from the previous page, not the current page. How do I grab the last item on the current page? Susan H. From ssharkins at gmail.com Tue Nov 6 19:29:17 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 6 Nov 2007 20:29:17 -0500 Subject: [AccessD] report control not displaying right value Message-ID: <001601c820dd$a367a8c0$4b3a8343@SusanOne> The following code is a simple solution, I thought, to displaying the last item on a page in the page header section. I've dropped in a few Debug statements to verify that the collection is storing and retrieving the right items, but the control always displays the first item on the page. I'm clueless -- I have no idea what's happening here. Basically, during the first pass (I'm using the report Pages property to force a second formatting run), I'm storing the last item on each page -- the value of txtFooterLast -- in a Collection object. That part works fine. Then, the report retrieves those values using the page number as the index value. The Debug statements verify that the right values are in the collection, however, txtHeaderLast doesn't display the results of col(Me.Page) -- it displays the first value on the page, not the value retrieved from the Collection. I just don't have any explanation. Option Compare Database Option Explicit Dim col As New Collection Private Sub PageFooterSection_Format(Cancel As Integer, FormatCount As Integer) Debug.Print Me.Page Debug.Print col(Me.Page) Me.txtHeaderLast = col(Me.Page) Debug.Print Me.txtHeaderLast.Value End Sub Private Sub PageHeaderSection_Format(Cancel As Integer, FormatCount As Integer) Me.txtFooterFirst = Me.txtHeaderFirst Me.txtHeaderLast = Me.txtFooterLast If Me.Pages = 0 Then col.Add Me.txtFooterLast, CStr(Me.Page) End If End Sub Private Sub Report_Close() Set col = Nothing End Sub From jwcolby at colbyconsulting.com Tue Nov 6 20:51:29 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 6 Nov 2007 21:51:29 -0500 Subject: [AccessD] OT: A great night observing Message-ID: <003a01c820e9$19c48f00$6c7aa8c0@M90> I had good skies tonight and spent about an hour out looking at the north east quadrant of the skies. I went out specifically to see if I could find the comet Holmes. It turned out to be dead easy using Starry Nights. The program loads the location of comets and satellites and so forth so I was able to print out a star chart with the location of Holmes. It took all of about 2 minutes to find it. It is HUGE, although it is now growing so big that it is really just a big ball of gas with a very slightly brighter center area. I dragged my son Robbie and my wife Mary out to see it. Quite cool. Of course it is also quite cold now (about 38 degrees out right now) so Robbie and Mary quickly hurried back in the house. I stayed out to try and hunt down something else interesting. Being totally new to this stuff I have a lot of difficulty finding things, in fact even knowing where I am looking. I was trying to find the owl cluster and from there the little dumbbell nebula M76 but was not able to do so. I THINK I found the Andromeda galaxy M31. However looking at the chart now (inside the house) I notice that there are three M objects m110, m32 and M31 quite close together and I did not notice any other fuzzy in the immediate neighborhood so perhaps I (once again) was not looking where I thought I was. The area I was looking at was close to directly over head, which makes using the finder a pain. Anyway, it was a fun evening. I spent about an hour out there until my ears were starting to get numb and it was time to pack it in. Saturday the "local" astronomy club is supposed to be meeting at a dark site, specific location to be determined. I hope to make it to the gathering. My telescope is an 8" DOB, an Orion Skyquest XT8 and it has a computerized object locator, a "digital setting circle" which, if I could figure out how to do the scope setup and calibration, would then allow me to "push to" just about any object visible at my location. I am hoping to get some instruction on how to do this from club members Saturday night. John W. Colby Colby Consulting www.ColbyConsulting.com From adtp at airtelbroadband.in Wed Nov 7 00:15:41 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Wed, 7 Nov 2007 11:45:41 +0530 Subject: [AccessD] storing last item on the page References: <001601c820ae$821c9a10$4b3a8343@SusanOne> Message-ID: <003301c82105$babcfd40$8c57a27a@personalec1122> Susan, For displaying the first and last items of report's detail section in its page header as well as footer, you have used four unbound text boxes as follows: (a) Page Header section: TxtHeaderFirst and TxtHeaderLast (b) Page Footer section: TxtFooterFirst and TxtFooterLast Assignment of values to TxtHeaderLast, located in page header section involves backward reference and therefore requires pre-building of array based upon first pass of formatting. For ensuring a complete prior cycle of formatting, you have correctly placed a calculated textbox having [Pages] as a component of its expression. Sample code in report's module, as given below, should get you the desired results. Title is the name of control in detail section, whose first & last values are required to be displayed in page header & footer. Best wishes, A.D.Tejpal ------------ Sample code in report's module '================================= ' Declarations section ' Report level global array variable Private ArLastVal() As String '-------------------------------------------------- Private Sub PageFooterSection_Format(Cancel _ As Integer, FormatCount As Integer) Me.TxtFooterLast = Me.Title If Me.Pages = 0 Then ArLastVal([Page]) = Me.Title ReDim Preserve ArLastVal([Page] + 1) End If End Sub '-------------------------------------------------- Private Sub PageHeaderSection_Format(Cancel _ As Integer, FormatCount As Integer) Me.TxtHeaderFirst = Me.Title Me.TxtFooterFirst = Me.Title Me.TxtHeaderLast = ArLastVal([Page]) End Sub '-------------------------------------------------- Private Sub Report_Open(Cancel As Integer) ReDim Preserve ArLastVal(1) End Sub '================================= ----- Original Message ----- From: Susan Harkins To: AccessD at databaseadvisors.com Sent: Wednesday, November 07, 2007 01:21 Subject: [AccessD] storing last item on the page I have four unbound text controls -- two in the header and two in the footer -- to display the first and last items on each page. I've got three of them working as follows: I use the control's Control Source property to display the first item in the header and the last item in the footer. I use the following to update the footer's first item. Private Sub PageHeaderSection_Format(Cancel As Integer, FormatCount As Integer) 'Store first item on page for footer. Dim strFirst As String strFirst = Me.txtHeaderFirst Me.txtFooterFirst = strFirst End Sub I tried the following to update the header's last item, but it doesn't work: Private Sub PageFooterSection_Format(Cancel As Integer, FormatCount As Integer) 'Return last item on each page for header. Dim strLast As String strLast = Me.txtFooterLast Me.txtHeaderLast = strLast End Sub The first page displays nothing and all subsequent pages display the last item from the previous page, not the current page. How do I grab the last item on the current page? Susan H. From Gustav at cactus.dk Wed Nov 7 03:31:19 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 07 Nov 2007 10:31:19 +0100 Subject: [AccessD] report control not displaying right value Message-ID: Hi Susan Have you tried moving this line to the OnPrint event: Me.txtHeaderLast = col(Me.Page) /gustav >>> ssharkins at gmail.com 07-11-2007 02:29 >>> The following code is a simple solution, I thought, to displaying the last item on a page in the page header section. I've dropped in a few Debug statements to verify that the collection is storing and retrieving the right items, but the control always displays the first item on the page. I'm clueless -- I have no idea what's happening here. Basically, during the first pass (I'm using the report Pages property to force a second formatting run), I'm storing the last item on each page -- the value of txtFooterLast -- in a Collection object. That part works fine. Then, the report retrieves those values using the page number as the index value. The Debug statements verify that the right values are in the collection, however, txtHeaderLast doesn't display the results of col(Me.Page) -- it displays the first value on the page, not the value retrieved from the Collection. I just don't have any explanation. Option Compare Database Option Explicit Dim col As New Collection Private Sub PageFooterSection_Format(Cancel As Integer, FormatCount As Integer) Debug.Print Me.Page Debug.Print col(Me.Page) Me.txtHeaderLast = col(Me.Page) Debug.Print Me.txtHeaderLast.Value End Sub Private Sub PageHeaderSection_Format(Cancel As Integer, FormatCount As Integer) Me.txtFooterFirst = Me.txtHeaderFirst Me.txtHeaderLast = Me.txtFooterLast If Me.Pages = 0 Then col.Add Me.txtFooterLast, CStr(Me.Page) End If End Sub Private Sub Report_Close() Set col = Nothing End Sub From ssharkins at gmail.com Wed Nov 7 06:41:10 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 7 Nov 2007 07:41:10 -0500 Subject: [AccessD] report control not displaying right value References: Message-ID: <003d01c8213b$99d1a6e0$4b3a8343@SusanOne> I've put it everywhere, but I'll try again, just in case! ;) Susan H. > Hi Susan > > Have you tried moving this line to the OnPrint event: > > Me.txtHeaderLast = col(Me.Page) > > /gustav > >>>> ssharkins at gmail.com 07-11-2007 02:29 >>> > The following code is a simple solution, I thought, to displaying the last > item on a page in the page header section. I've dropped in a few Debug > statements to verify that the collection is storing and retrieving the > right > items, but the control always displays the first item on the page. I'm > clueless -- I have no idea what's happening here. > > Basically, during the first pass (I'm using the report Pages property to > force a second formatting run), I'm storing the last item on each page -- > the value of txtFooterLast -- in a Collection object. That part works > fine. > Then, the report retrieves those values using the page number as the index > value. The Debug statements verify that the right values are in the > collection, however, txtHeaderLast doesn't display the results of > col(Me.Page) -- it displays the first value on the page, not the value > retrieved from the Collection. I just don't have any explanation. > > Option Compare Database > Option Explicit > Dim col As New Collection > > > Private Sub PageFooterSection_Format(Cancel As Integer, FormatCount As > Integer) > Debug.Print Me.Page > Debug.Print col(Me.Page) > Me.txtHeaderLast = col(Me.Page) > Debug.Print Me.txtHeaderLast.Value > End Sub > > Private Sub PageHeaderSection_Format(Cancel As Integer, FormatCount As > Integer) > Me.txtFooterFirst = Me.txtHeaderFirst > Me.txtHeaderLast = Me.txtFooterLast > If Me.Pages = 0 Then > col.Add Me.txtFooterLast, CStr(Me.Page) > End If > End Sub > > Private Sub Report_Close() > Set col = Nothing > End Sub > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From ssharkins at gmail.com Wed Nov 7 06:41:59 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 7 Nov 2007 07:41:59 -0500 Subject: [AccessD] storing last item on the page References: <001601c820ae$821c9a10$4b3a8343@SusanOne> <003301c82105$babcfd40$8c57a27a@personalec1122> Message-ID: <003f01c8213b$9abb4390$4b3a8343@SusanOne> I'm not convinced an array is necessary -- I've seen that solution. Have you seen the collection solution I tried and posted late last night? Susan H. > Susan, > > For displaying the first and last items of report's detail section in > its page header as well as footer, you have used four unbound text boxes > as follows: > > (a) Page Header section: TxtHeaderFirst and TxtHeaderLast > (b) Page Footer section: TxtFooterFirst and TxtFooterLast > > Assignment of values to TxtHeaderLast, located in page header section > involves backward reference and therefore requires pre-building of array > based upon first pass of formatting. For ensuring a complete prior cycle > of formatting, you have correctly placed a calculated textbox having > [Pages] as a component of its expression. > > Sample code in report's module, as given below, should get you the > desired results. Title is the name of control in detail section, whose > first & last values are required to be displayed in page header & footer. > > Best wishes, > A.D.Tejpal > ------------ > > Sample code in report's module > '================================= > ' Declarations section > ' Report level global array variable > Private ArLastVal() As String > '-------------------------------------------------- > > Private Sub PageFooterSection_Format(Cancel _ > As Integer, FormatCount As Integer) > Me.TxtFooterLast = Me.Title > > If Me.Pages = 0 Then > ArLastVal([Page]) = Me.Title > ReDim Preserve ArLastVal([Page] + 1) > End If > End Sub > '-------------------------------------------------- > > Private Sub PageHeaderSection_Format(Cancel _ > As Integer, FormatCount As Integer) > Me.TxtHeaderFirst = Me.Title > Me.TxtFooterFirst = Me.Title > Me.TxtHeaderLast = ArLastVal([Page]) > End Sub > '-------------------------------------------------- > > Private Sub Report_Open(Cancel As Integer) > ReDim Preserve ArLastVal(1) > End Sub > '================================= > > ----- Original Message ----- > From: Susan Harkins > To: AccessD at databaseadvisors.com > Sent: Wednesday, November 07, 2007 01:21 > Subject: [AccessD] storing last item on the page > > > I have four unbound text controls -- two in the header and two in the > footer -- to display the first and last items on each page. > > I've got three of them working as follows: > > I use the control's Control Source property to display the first item in > the > header and the last item in the footer. I use the following to update the > footer's first item. > > Private Sub PageHeaderSection_Format(Cancel As Integer, FormatCount As > Integer) > 'Store first item on page for footer. > Dim strFirst As String > strFirst = Me.txtHeaderFirst > Me.txtFooterFirst = strFirst > End Sub > > I tried the following to update the header's last item, but it doesn't > work: > > Private Sub PageFooterSection_Format(Cancel As Integer, FormatCount As > Integer) > 'Return last item on each page for header. > Dim strLast As String > strLast = Me.txtFooterLast > Me.txtHeaderLast = strLast > End Sub > > The first page displays nothing and all subsequent pages display the last > item from the previous page, not the current page. > > How do I grab the last item on the current page? > > Susan H. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Nov 7 09:22:12 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 7 Nov 2007 10:22:12 -0500 Subject: [AccessD] Office 2007 Message-ID: <004701c82151$f8d86d20$6c7aa8c0@M90> I got my action pack the other day and now want to install Office 2007, just for testing, but I do want to install Office Accounting 2007 (and actually try to use it) and am wondering if anyone is shouting "don't go there". My intention is to leave Office 2003 installed for development. Does anyone have experience that would tell me not to do this? John W. Colby Colby Consulting www.ColbyConsulting.com From cfoust at infostatsystems.com Wed Nov 7 10:00:56 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 7 Nov 2007 08:00:56 -0800 Subject: [AccessD] Office 2007 In-Reply-To: <004701c82151$f8d86d20$6c7aa8c0@M90> References: <004701c82151$f8d86d20$6c7aa8c0@M90> Message-ID: DON'T DO THAT!! Is that loud enough? I installed 2007 on my laptop and came to regret it. Office 2003 and Office 2007 installers do NOT like each other, and the Office 2007 installer takes about 5 minutes to run when you've opened 2003 last. The 2003 installer does the same thing if you opened 2007 last, but at least it doesn't take so long. Outlook 2007 is OK and the least like the rest of Office 2007 insofar as menus, etc. If you want to install it, do it on a virtual PC, which I didn't do from lack of warning. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, November 07, 2007 7:22 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Office 2007 I got my action pack the other day and now want to install Office 2007, just for testing, but I do want to install Office Accounting 2007 (and actually try to use it) and am wondering if anyone is shouting "don't go there". My intention is to leave Office 2003 installed for development. Does anyone have experience that would tell me not to do this? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Wed Nov 7 10:01:21 2007 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 7 Nov 2007 10:01:21 -0600 Subject: [AccessD] Office 2007 In-Reply-To: <004701c82151$f8d86d20$6c7aa8c0@M90> References: <004701c82151$f8d86d20$6c7aa8c0@M90> Message-ID: Yes. Put it on a different system would be my recommendation. They don't play well together. Outlook will definately not work in multiple versions on the same system. The other Office 2007 apps will cause a "install" step every time you try to open something in the 2003 version. If you have another system to play with the Office 2007 stuff on I would load them there instead of on your primary system. GK On 11/7/07, jwcolby wrote: > I got my action pack the other day and now want to install Office 2007, just > for testing, but I do want to install Office Accounting 2007 (and actually > try to use it) and am wondering if anyone is shouting "don't go there". My > intention is to leave Office 2003 installed for development. Does anyone > have experience that would tell me not to do this? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From mmattys at rochester.rr.com Wed Nov 7 10:19:28 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Wed, 7 Nov 2007 11:19:28 -0500 Subject: [AccessD] Office 2007 References: <004701c82151$f8d86d20$6c7aa8c0@M90> Message-ID: <003801c82159$f9e7e7b0$0202a8c0@Laptop> Yep. Every time I try to instantiate a new database in code, it says "Can't create object" because of the installer. My COM addins won't work the first time! Arrgh!!! Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 07, 2007 11:00 AM Subject: Re: [AccessD] Office 2007 > DON'T DO THAT!! Is that loud enough? I installed 2007 on my laptop and > came to regret it. Office 2003 and Office 2007 installers do NOT like > each other, and the Office 2007 installer takes about 5 minutes to run > when you've opened 2003 last. The 2003 installer does the same thing if > you opened 2007 last, but at least it doesn't take so long. Outlook > 2007 is OK and the least like the rest of Office 2007 insofar as menus, > etc. If you want to install it, do it on a virtual PC, which I didn't > do from lack of warning. > > Charlotte Foust From jwcolby at colbyconsulting.com Wed Nov 7 10:23:43 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 7 Nov 2007 11:23:43 -0500 Subject: [AccessD] Office 2007 In-Reply-To: References: <004701c82151$f8d86d20$6c7aa8c0@M90> Message-ID: <004801c8215a$90f94e50$6c7aa8c0@M90> Thanks Gary and Charlotte, Two votes against is enough for me. I do have a server I can throw it on and will do that. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Wednesday, November 07, 2007 11:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Office 2007 Yes. Put it on a different system would be my recommendation. They don't play well together. Outlook will definately not work in multiple versions on the same system. The other Office 2007 apps will cause a "install" step every time you try to open something in the 2003 version. If you have another system to play with the Office 2007 stuff on I would load them there instead of on your primary system. GK On 11/7/07, jwcolby wrote: > I got my action pack the other day and now want to install Office > 2007, just for testing, but I do want to install Office Accounting > 2007 (and actually try to use it) and am wondering if anyone is > shouting "don't go there". My intention is to leave Office 2003 > installed for development. Does anyone have experience that would tell me not to do this? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BarbaraRyan at cox.net Wed Nov 7 11:50:13 2007 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Wed, 7 Nov 2007 12:50:13 -0500 Subject: [AccessD] Crosstab Report Message-ID: <044e01c82166$a64ec4e0$0a00a8c0@PCRURI35> I have created a crosstab report which contains 14 columns of data. If the underlying crosstab query yields more than 14 columns, I want to add a new page to display the remaining columns. The data on the report is populated via code using a recordset based on the crosstab query. I am currently reading through the recordset and populating 14 columns of data, then doing a page break, an "rs.Movefirst", then reading thru the recordset extracting data beginning in the 15th column. However, the Detail Format and Print events do not fire. What am I missing? Thanks, Barb Ryan From markamatte at hotmail.com Wed Nov 7 13:43:44 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 7 Nov 2007 19:43:44 +0000 Subject: [AccessD] Crosstab Report In-Reply-To: <044e01c82166$a64ec4e0$0a00a8c0@PCRURI35> References: <044e01c82166$a64ec4e0$0a00a8c0@PCRURI35> Message-ID: Hi Barb, It sounds like your 15th column is the same record as your first 14...can you put a page break in the middle of a record? Could you move your 15th(or more) columns off the page to the right...forcing a new page when printed or viewed? Thanks, Mark A. Matte > From: BarbaraRyan at cox.net > To: AccessD at databaseadvisors.com > Date: Wed, 7 Nov 2007 12:50:13 -0500 > Subject: [AccessD] Crosstab Report > > I have created a crosstab report which contains 14 columns of data. If the underlying crosstab query yields more than 14 columns, I want to add a new page to display the remaining columns. The data on the report is populated via code using a recordset based on the crosstab query. > > I am currently reading through the recordset and populating 14 columns of data, then doing a page break, an "rs.Movefirst", then reading thru the recordset extracting data beginning in the 15th column. However, the Detail Format and Print events do not fire. > > What am I missing? > > Thanks, > Barb Ryan > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Boo!?Scare away worms, viruses and so much more! Try Windows Live OneCare! http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews From Chester_Kaup at kindermorgan.com Wed Nov 7 14:32:20 2007 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 7 Nov 2007 14:32:20 -0600 Subject: [AccessD] How to update form source? Message-ID: I have a form on which the user clicks a button to see 90 days worth of data from a source table. When the button is clicked a query runs that puts 90 days worth of data in a table. Another form then opens and displays this data. On the top of the form are two text boxes. One text box contains the start date of the data and the other the end date of the data. These boxes can be edited allowing the user to see some time interval of data other than 90 days. When the date is changed in the text box code attempts to run a query to update the table the displayed data is based on. The query will not run though because the table is open. I could use some ideas on how to do this. 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 fuller.artful at gmail.com Wed Nov 7 15:02:02 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 7 Nov 2007 16:02:02 -0500 Subject: [AccessD] How to update form source? In-Reply-To: References: Message-ID: <29f585dd0711071302w209588acu7f7c838e32004fdd@mail.gmail.com> Instead of running a query to update the table, change the recordsource of the form and/or its filterBy. I have used this approach several times and it works very well. A. On 11/7/07, Kaup, Chester wrote: > > I have a form on which the user clicks a button to see 90 days worth of > data from a source table. When the button is clicked a query runs that > puts 90 days worth of data in a table. Another form then opens and > displays this data. On the top of the form are two text boxes. One text > box contains the start date of the data and the other the end date of > the data. These boxes can be edited allowing the user to see some time > interval of data other than 90 days. When the date is changed in the > text box code attempts to run a query to update the table the displayed > data is based on. The query will not run though because the table is > open. I could use some ideas on how to do this. 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 Lambert.Heenan at AIG.com Wed Nov 7 15:03:05 2007 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 7 Nov 2007 16:03:05 -0500 Subject: [AccessD] How to update form source? Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED730F@XLIVMBX35bkup.aig.com> Chester, Instead of copying the data from the source table to another table, just use the source table itself and apply a filter to the form so only the selected time period is displayed. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, November 07, 2007 3:32 PM To: Access Developers discussion and problem solving Subject: [AccessD] How to update form source? I have a form on which the user clicks a button to see 90 days worth of data from a source table. When the button is clicked a query runs that puts 90 days worth of data in a table. Another form then opens and displays this data. On the top of the form are two text boxes. One text box contains the start date of the data and the other the end date of the data. These boxes can be edited allowing the user to see some time interval of data other than 90 days. When the date is changed in the text box code attempts to run a query to update the table the displayed data is based on. The query will not run though because the table is open. I could use some ideas on how to do this. 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 jengross at gte.net Wed Nov 7 15:38:51 2007 From: jengross at gte.net (Jennifer Gross) Date: Wed, 07 Nov 2007 13:38:51 -0800 Subject: [AccessD] Packagers/Installers In-Reply-To: <000601c81ee5$0dd472b0$0301a8c0@HAL9005> Message-ID: <002101c82186$9bbbf5a0$6501a8c0@jefferson> Hi Rocky, I have used the Wise/SageKey combination since Access 97. I have always been more than happy with this combination. I would be interested to find out if you find a reason to switch. Jennifer -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, November 04, 2007 5:18 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Packagers/Installers Dear List: I use the Wise/Sagekey combination to package a couple of commercial applications. Always found it to be top notch. Does anyone have experience with other packagers, good or bad, particularly Windows Installer? Thanks in advance Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Wed Nov 7 16:42:10 2007 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 7 Nov 2007 16:42:10 -0600 Subject: [AccessD] How to update form source? In-Reply-To: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED730F@XLIVMBX35bkup.aig.com> References: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED730F@XLIVMBX35bkup.aig.com> Message-ID: This is my experience using the filter property in code. It works great. Thanks. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Wednesday, November 07, 2007 3:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] How to update form source? Chester, Instead of copying the data from the source table to another table, just use the source table itself and apply a filter to the form so only the selected time period is displayed. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, November 07, 2007 3:32 PM To: Access Developers discussion and problem solving Subject: [AccessD] How to update form source? I have a form on which the user clicks a button to see 90 days worth of data from a source table. When the button is clicked a query runs that puts 90 days worth of data in a table. Another form then opens and displays this data. On the top of the form are two text boxes. One text box contains the start date of the data and the other the end date of the data. These boxes can be edited allowing the user to see some time interval of data other than 90 days. When the date is changed in the text box code attempts to run a query to update the table the displayed data is based on. The query will not run though because the table is open. I could use some ideas on how to do this. 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 adtp at airtelbroadband.in Wed Nov 7 23:12:09 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Thu, 8 Nov 2007 10:42:09 +0530 Subject: [AccessD] Crosstab Report References: <044e01c82166$a64ec4e0$0a00a8c0@PCRURI35> Message-ID: <013e01c821c6$126306a0$0100007f@personalec1122> Barb, You can try the following: 1 - Place adequate number of extra unbound text boxes so as to cover maximum likely columns over and above 14. These text boxes should normally be in a hidden state and can all be overlapping, located at left edge of the report. 2 - Depending upon the actual number of extra columns (beyond 14) in the record source, unhide the required number of text boxes, assign appropriate control source and move these to suitable positions at right of report, by manipulating the Left & Top properties. Starting reference would be Left value for last text box (representing 14th column) + Width of this text box + suitable margin (in twips). With above measures, the report will generate extra pages as required on account of additional columns. Best wishes, A.D.Tejpal ------------ ----- Original Message ----- From: Barbara Ryan To: Access List Sent: Wednesday, November 07, 2007 23:20 Subject: [AccessD] Crosstab Report I have created a crosstab report which contains 14 columns of data. If the underlying crosstab query yields more than 14 columns, I want to add a new page to display the remaining columns. The data on the report is populated via code using a recordset based on the crosstab query. I am currently reading through the recordset and populating 14 columns of data, then doing a page break, an "rs.Movefirst", then reading thru the recordset extracting data beginning in the 15th column. However, the Detail Format and Print events do not fire. What am I missing? Thanks, Barb Ryan From Gustav at cactus.dk Thu Nov 8 05:09:47 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 08 Nov 2007 12:09:47 +0100 Subject: [AccessD] Dot Net, where to start? Videos Message-ID: Hi all For those of still wondering if or how to start with Visual Studio, please note that a whole series of videos are readily available. Visual Basic (quite close to VBA): http://msdn2.microsoft.com/en-us/vbasic/bb466226.aspx C# (recommended by several including me): http://msdn2.microsoft.com/en-us/vcsharp/bb798022.aspx and many others subjects - including SQL Server - as well, see the right sidebar. These videos are so short that you can keep your concentration up and turn any 15 minutes of spare time you may encounter into something useful! /gustav From jwcolby at colbyconsulting.com Thu Nov 8 05:24:44 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 8 Nov 2007 06:24:44 -0500 Subject: [AccessD] Dot Net, where to start? Videos In-Reply-To: References: Message-ID: <000901c821f9$f7377800$6c7aa8c0@M90> Gustav, Thanks for those pointers. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, November 08, 2007 6:10 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? Videos Hi all For those of still wondering if or how to start with Visual Studio, please note that a whole series of videos are readily available. Visual Basic (quite close to VBA): http://msdn2.microsoft.com/en-us/vbasic/bb466226.aspx C# (recommended by several including me): http://msdn2.microsoft.com/en-us/vcsharp/bb798022.aspx and many others subjects - including SQL Server - as well, see the right sidebar. These videos are so short that you can keep your concentration up and turn any 15 minutes of spare time you may encounter into something useful! /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Thu Nov 8 08:53:57 2007 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 8 Nov 2007 08:53:57 -0600 Subject: [AccessD] Svar: highest value of 4 variables - urgent In-Reply-To: References: Message-ID: That was weird. Is the cat's name d?j? vu? Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, November 04, 2007 4:56 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Svar: highest value of 4 variables - urgent Sorry for the empty posts, the cat stepped on the Enter key ... /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Gustav at cactus.dk Thu Nov 8 09:09:34 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 08 Nov 2007 16:09:34 +0100 Subject: [AccessD] Svar: highest value of 4 variables - urgent Message-ID: Hi Jim No, "it" is normally called (blush) Gustav ... /gustav >>> Jim.Hale at fleetpride.com 08-11-2007 15:53:57 >>> That was weird. Is the cat's name d?j? vu? Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, November 04, 2007 4:56 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Svar: highest value of 4 variables - urgent Sorry for the empty posts, the cat stepped on the Enter key ... /gustav From max.wanadoo at gmail.com Thu Nov 8 09:24:35 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Thu, 8 Nov 2007 15:24:35 -0000 Subject: [AccessD] Svar: highest value of 4 variables - urgent In-Reply-To: Message-ID: <01bc01c8221b$790b6370$8119fea9@LTVM> Now, that is weird 'cos my dog is called.....wait for it....Max Max Mine looks like me....Does yours look like you? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, November 08, 2007 3:10 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Svar: highest value of 4 variables - urgent Hi Jim No, "it" is normally called (blush) Gustav ... /gustav >>> Jim.Hale at fleetpride.com 08-11-2007 15:53:57 >>> That was weird. Is the cat's name d?j? vu? Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, November 04, 2007 4:56 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Svar: highest value of 4 variables - urgent Sorry for the empty posts, the cat stepped on the Enter key ... /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Thu Nov 8 09:37:46 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 08 Nov 2007 16:37:46 +0100 Subject: [AccessD] Svar: highest value of 4 variables - urgent Message-ID: Hi Max Some say yes, I'm not sure, but the miauw sounds the same! /gustav >>> max.wanadoo at gmail.com 08-11-2007 16:24:35 >>> Now, that is weird 'cos my dog is called.....wait for it....Max Max Mine looks like me....Does yours look like you? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, November 08, 2007 3:10 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Svar: highest value of 4 variables - urgent Hi Jim No, "it" is normally called (blush) Gustav ... /gustav >>> Jim.Hale at fleetpride.com 08-11-2007 15:53:57 >>> That was weird. Is the cat's name d?j? vu? Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, November 04, 2007 4:56 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Svar: highest value of 4 variables - urgent Sorry for the empty posts, the cat stepped on the Enter key ... /gustav From miscellany at mvps.org Thu Nov 8 14:50:25 2007 From: miscellany at mvps.org (Steve Schapel) Date: Fri, 09 Nov 2007 09:50:25 +1300 Subject: [AccessD] Dot Net, where to start? Videos In-Reply-To: References: Message-ID: <47337691.6040904@mvps.org> Yep, 15 minutes is about my maximum concentration span too. :-) Thanks a lot, Gustav, they look like a very good resource. Regards Steve Gustav Brock wrote: > Hi all > > For those of still wondering if or how to start with Visual Studio, please note that a whole series of videos are readily available. > > Visual Basic (quite close to VBA): > http://msdn2.microsoft.com/en-us/vbasic/bb466226.aspx > > C# (recommended by several including me): > http://msdn2.microsoft.com/en-us/vcsharp/bb798022.aspx > > and many others subjects - including SQL Server - as well, see the right sidebar. > > These videos are so short that you can keep your concentration up and turn any 15 minutes of spare time you may encounter into something useful! > > /gustav > > From Mwp.Reid at qub.ac.uk Thu Nov 8 14:56:30 2007 From: Mwp.Reid at qub.ac.uk (Martin W Reid) Date: Thu, 8 Nov 2007 20:56:30 +0000 Subject: [AccessD] Dot Net, where to start? Videos In-Reply-To: <47337691.6040904@mvps.org> References: ,<47337691.6040904@mvps.org> Message-ID: Been on a .NET Sharepoint course all week. Feels like my head is melting!! Martin Martin WP Reid Information Services Queen's University Riddel Hall 185 Stranmillis Road Belfast BT9 5EE Tel : 02890974465 Email : mwp.reid at qub.ac.uk ________________________________________ From: accessd-bounces at databaseadvisors.com [accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel [miscellany at mvps.org] Sent: 08 November 2007 20:50 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? Videos Yep, 15 minutes is about my maximum concentration span too. :-) Thanks a lot, Gustav, they look like a very good resource. Regards Steve Gustav Brock wrote: > Hi all > > For those of still wondering if or how to start with Visual Studio, please note that a whole series of videos are readily available. > > Visual Basic (quite close to VBA): > http://msdn2.microsoft.com/en-us/vbasic/bb466226.aspx > > C# (recommended by several including me): > http://msdn2.microsoft.com/en-us/vcsharp/bb798022.aspx > > and many others subjects - including SQL Server - as well, see the right sidebar. > > These videos are so short that you can keep your concentration up and turn any 15 minutes of spare time you may encounter into something useful! > > /gustav > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Nov 8 16:32:14 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 8 Nov 2007 14:32:14 -0800 Subject: [AccessD] JIT Forms Message-ID: <00a901c82257$3656b390$0301a8c0@HAL9005> JC: I have a form with about 16 tabs, a bunch of combo boxes, and a bunch of sub-forms. It will not surprise you to learn that it is taking an unacceptably long time to open - 60 seconds on a smallish database over a wireless connection to my laptop (trying to simulate a slow server). I remember something about a form like this that you had and, I believe, loading the combo boxes and sub forms only when a tab got the focus? The combo boxes are bound so I can't wait to put in the row source until they're clicked. But I could load the row source when the tab was activated - store the row source in the tag and load it if it's not there. But there's no activate or got focus event for a tab. There is a mouse move event but I'm not sure that will do to trigger loading of the Row Source and the sub-forms. How did you solve the problem? Regards, Rocky From jwcolby at colbyconsulting.com Thu Nov 8 17:14:27 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 8 Nov 2007 18:14:27 -0500 Subject: [AccessD] JIT Forms In-Reply-To: <00a901c82257$3656b390$0301a8c0@HAL9005> References: <00a901c82257$3656b390$0301a8c0@HAL9005> Message-ID: <000401c8225d$23c64b40$6c7aa8c0@M90> I am running out the door but I will discuss JIT subforms when I get home from dinner / theater. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 08, 2007 5:32 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] JIT Forms JC: I have a form with about 16 tabs, a bunch of combo boxes, and a bunch of sub-forms. It will not surprise you to learn that it is taking an unacceptably long time to open - 60 seconds on a smallish database over a wireless connection to my laptop (trying to simulate a slow server). I remember something about a form like this that you had and, I believe, loading the combo boxes and sub forms only when a tab got the focus? The combo boxes are bound so I can't wait to put in the row source until they're clicked. But I could load the row source when the tab was activated - store the row source in the tag and load it if it's not there. But there's no activate or got focus event for a tab. There is a mouse move event but I'm not sure that will do to trigger loading of the Row Source and the sub-forms. How did you solve the problem? Regards, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darren at activebilling.com.au Thu Nov 8 17:37:12 2007 From: darren at activebilling.com.au (Darren D) Date: Fri, 9 Nov 2007 10:37:12 +1100 Subject: [AccessD] JIT Forms In-Reply-To: <00a901c82257$3656b390$0301a8c0@HAL9005> Message-ID: <200711082337.lA8Nb536031641@databaseadvisors.com> Hi Rocky Not so sure about JC's cool JIT logic But there is an OnChange event for Tabs - Way cool very powerful and easy to manipulate See below for some Code snips below I am using for a 10 Tab Form Now it is a snip so some of it may not work correctly etc ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Private Sub tabMain_Change() On Err GoTo Err_tabMain_Change Dim intClientID As Integer intClientID = Me.tabMain Dim tbc As Control Dim pg As Page Dim ctl As Control Dim db As DAO.Database Dim selSQL As String Dim rs As DAO.Recordset Set tbc = Me!tabMain Set pg = tbc.Pages(tbc.Value) 'Current page Set db = CurrentDb selSQL = "SELECT tblClients.ClientID, tblClients.ClientName, tblClients.DatabaseName, tblClients.ClientAbbrev, tblClients.IsCurrent, tblClients.IsNowDeleted FROM tblClients WHERE (((tblClients.IsCurrent)=-1) AND ((tblClients.IsNowDeleted) Is Null Or (tblClients.IsNowDeleted)=0));" Set rs = db.OpenRecordset(selSQL) 'reset things to true or false if true may exist for more thant 1 tab If pg.Name = "pgOptions" Then ' Option Page - Don't show everything for the clients - Show the setup options only Forms!xfrmBeast!subfrmOptions.SourceObject = "sub_frmBeastOptions" Forms!xfrmBeast!subfrmLocalOptions.SourceObject = "sub_frmLocalOptions" Me.subfrmMain.Visible = False Me.tabOptions.Visible = True Me.subfrmNotes.Visible = False Me.subfrmContacts.Visible = False Me.tabSupport.Visible = False 'Determine what controls get seen or used For Each ctl In Me.Controls If ctl.Tag <> "" Then ctl.Enabled = False End If Next ElseIf Me("pg" & Me.tabMain).Caption = "Active" Then ElseIf Me("pg" & Me.tabMain).Caption = "SomeText" Then Me.cmdBFM.Enabled = False Else For Each ctl In Me.Controls If ctl.Tag <> "" Then ctl.Enabled = True End If Next Me.tabOptions.Visible = False End If Me.subfrmMain.Requery Me.subfrmNotes.Requery Me.subfrmContacts.Requery Me.txtClientID = Forms!xfrmBeast.tabMain txtInvoiceSearch = "" txtAccountNo = "" If intClientID = 0 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "General Contacts" Me.subfrmNotes.Form.lblAdviceNotes.Caption = "General Notes" Me.lblMain.Caption = "Options and Settings" txtInvoiceSearch.Enabled = False txtAccountNo.Enabled = False ElseIf intClientID = 1 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Active Contacts" Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Active Info" Me.lblMain.Caption = "Details about...us" txtInvoiceSearch.Enabled = False txtAccountNo.Enabled = False ElseIf intClientID = 2 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Contacts for Client: " & Me("pg" & intClientID).Caption Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Notes For Client: " & Me("pg" & intClientID).Caption Me.lblMain.Caption = "Bureau Details for: " & Me("pg" & intClientID).Caption txtInvoiceSearch.Enabled = True txtAccountNo.Enabled = True ElseIf intClientID > 1 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Contacts for Client: " & Me("pg" & intClientID).Caption Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Notes For Client: " & Me("pg" & intClientID).Caption Me.lblMain.Caption = "Bureau Details for: " & Me("pg" & intClientID).Caption txtInvoiceSearch.Enabled = True txtAccountNo.Enabled = True End If rs.Close db.Close Set rs = Nothing Set db = Nothing Exit_tabMain_Change: Exit Sub Err_tabMain_Change: MsgBox Err.Number & " " & Err.Description, vbCritical, "Error in tbMain Change" Resume Exit_tabMain_Change End Sub Many thanks Have a great day Darren ----------------- T: 1300 301 731 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, 9 November 2007 9:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] JIT Forms JC: I have a form with about 16 tabs, a bunch of combo boxes, and a bunch of sub-forms. It will not surprise you to learn that it is taking an unacceptably long time to open - 60 seconds on a smallish database over a wireless connection to my laptop (trying to simulate a slow server). I remember something about a form like this that you had and, I believe, loading the combo boxes and sub forms only when a tab got the focus? The combo boxes are bound so I can't wait to put in the row source until they're clicked. But I could load the row source when the tab was activated - store the row source in the tag and load it if it's not there. But there's no activate or got focus event for a tab. There is a mouse move event but I'm not sure that will do to trigger loading of the Row Source and the sub-forms. How did you solve the problem? Regards, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Thu Nov 8 18:03:46 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 8 Nov 2007 19:03:46 -0500 Subject: [AccessD] JIT Forms References: <00a901c82257$3656b390$0301a8c0@HAL9005> Message-ID: <000801c82264$00674120$ef706c4c@jisshowsbs.local> Rocky ...JC's JIT code was the first thing I bought when I was starting out in Access ...he was still living in Pueblo, Mexico back then ...we had many an AccessD discussion about which was the best way to do this ...anyway, he used to keep a copy on his website (which is stll a disaster area) but I can't find it now ...so I zipped a code library copy I have of his code, an A2k3 version, and sent it to you offline. William ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Thursday, November 08, 2007 5:32 PM Subject: [AccessD] JIT Forms > JC: > > I have a form with about 16 tabs, a bunch of combo boxes, and a bunch of > sub-forms. It will not surprise you to learn that it is taking an > unacceptably long time to open - 60 seconds on a smallish database over a > wireless connection to my laptop (trying to simulate a slow server). > > I remember something about a form like this that you had and, I believe, > loading the combo boxes and sub forms only when a tab got the focus? The > combo boxes are bound so I can't wait to put in the row source until > they're > clicked. But I could load the row source when the tab was activated - > store > the row source in the tag and load it if it's not there. But there's no > activate or got focus event for a tab. There is a mouse move event but > I'm > not sure that will do to trigger loading of the Row Source and the > sub-forms. > > How did you solve the problem? > > Regards, > > 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 Nov 8 19:19:00 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 8 Nov 2007 17:19:00 -0800 Subject: [AccessD] JIT Forms In-Reply-To: <200711082337.lA8Nb536031641@databaseadvisors.com> References: <00a901c82257$3656b390$0301a8c0@HAL9005> <200711082337.lA8Nb536031641@databaseadvisors.com> Message-ID: <00c901c8226e$82232f30$0301a8c0@HAL9005> Aha. That's what I was looking for. Change event. Too bad there isn't a GotFocus or Activate event for each page. But this will work. I can do a Select Case on the page and load the controls for that page in the case for each tab. That will work! Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren D Sent: Thursday, November 08, 2007 3:37 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Hi Rocky Not so sure about JC's cool JIT logic But there is an OnChange event for Tabs - Way cool very powerful and easy to manipulate See below for some Code snips below I am using for a 10 Tab Form Now it is a snip so some of it may not work correctly etc ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Private Sub tabMain_Change() On Err GoTo Err_tabMain_Change Dim intClientID As Integer intClientID = Me.tabMain Dim tbc As Control Dim pg As Page Dim ctl As Control Dim db As DAO.Database Dim selSQL As String Dim rs As DAO.Recordset Set tbc = Me!tabMain Set pg = tbc.Pages(tbc.Value) 'Current page Set db = CurrentDb selSQL = "SELECT tblClients.ClientID, tblClients.ClientName, tblClients.DatabaseName, tblClients.ClientAbbrev, tblClients.IsCurrent, tblClients.IsNowDeleted FROM tblClients WHERE (((tblClients.IsCurrent)=-1) AND ((tblClients.IsNowDeleted) Is Null Or (tblClients.IsNowDeleted)=0));" Set rs = db.OpenRecordset(selSQL) 'reset things to true or false if true may exist for more thant 1 tab If pg.Name = "pgOptions" Then ' Option Page - Don't show everything for the clients - Show the setup options only Forms!xfrmBeast!subfrmOptions.SourceObject = "sub_frmBeastOptions" Forms!xfrmBeast!subfrmLocalOptions.SourceObject = "sub_frmLocalOptions" Me.subfrmMain.Visible = False Me.tabOptions.Visible = True Me.subfrmNotes.Visible = False Me.subfrmContacts.Visible = False Me.tabSupport.Visible = False 'Determine what controls get seen or used For Each ctl In Me.Controls If ctl.Tag <> "" Then ctl.Enabled = False End If Next ElseIf Me("pg" & Me.tabMain).Caption = "Active" Then ElseIf Me("pg" & Me.tabMain).Caption = "SomeText" Then Me.cmdBFM.Enabled = False Else For Each ctl In Me.Controls If ctl.Tag <> "" Then ctl.Enabled = True End If Next Me.tabOptions.Visible = False End If Me.subfrmMain.Requery Me.subfrmNotes.Requery Me.subfrmContacts.Requery Me.txtClientID = Forms!xfrmBeast.tabMain txtInvoiceSearch = "" txtAccountNo = "" If intClientID = 0 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "General Contacts" Me.subfrmNotes.Form.lblAdviceNotes.Caption = "General Notes" Me.lblMain.Caption = "Options and Settings" txtInvoiceSearch.Enabled = False txtAccountNo.Enabled = False ElseIf intClientID = 1 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Active Contacts" Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Active Info" Me.lblMain.Caption = "Details about...us" txtInvoiceSearch.Enabled = False txtAccountNo.Enabled = False ElseIf intClientID = 2 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Contacts for Client: " & Me("pg" & intClientID).Caption Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Notes For Client: " & Me("pg" & intClientID).Caption Me.lblMain.Caption = "Bureau Details for: " & Me("pg" & intClientID).Caption txtInvoiceSearch.Enabled = True txtAccountNo.Enabled = True ElseIf intClientID > 1 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Contacts for Client: " & Me("pg" & intClientID).Caption Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Notes For Client: " & Me("pg" & intClientID).Caption Me.lblMain.Caption = "Bureau Details for: " & Me("pg" & intClientID).Caption txtInvoiceSearch.Enabled = True txtAccountNo.Enabled = True End If rs.Close db.Close Set rs = Nothing Set db = Nothing Exit_tabMain_Change: Exit Sub Err_tabMain_Change: MsgBox Err.Number & " " & Err.Description, vbCritical, "Error in tbMain Change" Resume Exit_tabMain_Change End Sub Many thanks Have a great day Darren ----------------- T: 1300 301 731 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, 9 November 2007 9:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] JIT Forms JC: I have a form with about 16 tabs, a bunch of combo boxes, and a bunch of sub-forms. It will not surprise you to learn that it is taking an unacceptably long time to open - 60 seconds on a smallish database over a wireless connection to my laptop (trying to simulate a slow server). I remember something about a form like this that you had and, I believe, loading the combo boxes and sub forms only when a tab got the focus? The combo boxes are bound so I can't wait to put in the row source until they're clicked. But I could load the row source when the tab was activated - store the row source in the tag and load it if it's not there. But there's no activate or got focus event for a tab. There is a mouse move event but I'm not sure that will do to trigger loading of the Row Source and the sub-forms. How did you solve the problem? Regards, 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.24/1117 - Release Date: 11/7/2007 10:52 PM From jwcolby at colbyconsulting.com Thu Nov 8 21:35:48 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 8 Nov 2007 22:35:48 -0500 Subject: [AccessD] JIT Forms In-Reply-To: <00c901c8226e$82232f30$0301a8c0@HAL9005> References: <00a901c82257$3656b390$0301a8c0@HAL9005><200711082337.lA8Nb536031641@databaseadvisors.com> <00c901c8226e$82232f30$0301a8c0@HAL9005> Message-ID: <000801c82281$9f58ed70$6c7aa8c0@M90> And that is really about all there is to it. Except... You need to be careful about the Link Master / child properties. I leave them set and just change the source object IIRC. Beyond that you need to make the decision whether to leave the subforms bound or unbind them as the user clicks off the tab. And no I don't do anything about loading the combos specifically. Since only the combos on the specific subforms loading are at issue, this will not tend to be a problem. Since everyone else jumped in with info I will let you ask if you need more than that. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 08, 2007 8:19 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Aha. That's what I was looking for. Change event. Too bad there isn't a GotFocus or Activate event for each page. But this will work. I can do a Select Case on the page and load the controls for that page in the case for each tab. That will work! Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren D Sent: Thursday, November 08, 2007 3:37 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Hi Rocky Not so sure about JC's cool JIT logic But there is an OnChange event for Tabs - Way cool very powerful and easy to manipulate See below for some Code snips below I am using for a 10 Tab Form Now it is a snip so some of it may not work correctly etc ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Private Sub tabMain_Change() On Err GoTo Err_tabMain_Change Dim intClientID As Integer intClientID = Me.tabMain Dim tbc As Control Dim pg As Page Dim ctl As Control Dim db As DAO.Database Dim selSQL As String Dim rs As DAO.Recordset Set tbc = Me!tabMain Set pg = tbc.Pages(tbc.Value) 'Current page Set db = CurrentDb selSQL = "SELECT tblClients.ClientID, tblClients.ClientName, tblClients.DatabaseName, tblClients.ClientAbbrev, tblClients.IsCurrent, tblClients.IsNowDeleted FROM tblClients WHERE (((tblClients.IsCurrent)=-1) AND ((tblClients.IsNowDeleted) Is Null Or (tblClients.IsNowDeleted)=0));" Set rs = db.OpenRecordset(selSQL) 'reset things to true or false if true may exist for more thant 1 tab If pg.Name = "pgOptions" Then ' Option Page - Don't show everything for the clients - Show the setup options only Forms!xfrmBeast!subfrmOptions.SourceObject = "sub_frmBeastOptions" Forms!xfrmBeast!subfrmLocalOptions.SourceObject = "sub_frmLocalOptions" Me.subfrmMain.Visible = False Me.tabOptions.Visible = True Me.subfrmNotes.Visible = False Me.subfrmContacts.Visible = False Me.tabSupport.Visible = False 'Determine what controls get seen or used For Each ctl In Me.Controls If ctl.Tag <> "" Then ctl.Enabled = False End If Next ElseIf Me("pg" & Me.tabMain).Caption = "Active" Then ElseIf Me("pg" & Me.tabMain).Caption = "SomeText" Then Me.cmdBFM.Enabled = False Else For Each ctl In Me.Controls If ctl.Tag <> "" Then ctl.Enabled = True End If Next Me.tabOptions.Visible = False End If Me.subfrmMain.Requery Me.subfrmNotes.Requery Me.subfrmContacts.Requery Me.txtClientID = Forms!xfrmBeast.tabMain txtInvoiceSearch = "" txtAccountNo = "" If intClientID = 0 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "General Contacts" Me.subfrmNotes.Form.lblAdviceNotes.Caption = "General Notes" Me.lblMain.Caption = "Options and Settings" txtInvoiceSearch.Enabled = False txtAccountNo.Enabled = False ElseIf intClientID = 1 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Active Contacts" Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Active Info" Me.lblMain.Caption = "Details about...us" txtInvoiceSearch.Enabled = False txtAccountNo.Enabled = False ElseIf intClientID = 2 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Contacts for Client: " & Me("pg" & intClientID).Caption Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Notes For Client: " & Me("pg" & intClientID).Caption Me.lblMain.Caption = "Bureau Details for: " & Me("pg" & intClientID).Caption txtInvoiceSearch.Enabled = True txtAccountNo.Enabled = True ElseIf intClientID > 1 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Contacts for Client: " & Me("pg" & intClientID).Caption Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Notes For Client: " & Me("pg" & intClientID).Caption Me.lblMain.Caption = "Bureau Details for: " & Me("pg" & intClientID).Caption txtInvoiceSearch.Enabled = True txtAccountNo.Enabled = True End If rs.Close db.Close Set rs = Nothing Set db = Nothing Exit_tabMain_Change: Exit Sub Err_tabMain_Change: MsgBox Err.Number & " " & Err.Description, vbCritical, "Error in tbMain Change" Resume Exit_tabMain_Change End Sub Many thanks Have a great day Darren ----------------- T: 1300 301 731 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, 9 November 2007 9:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] JIT Forms JC: I have a form with about 16 tabs, a bunch of combo boxes, and a bunch of sub-forms. It will not surprise you to learn that it is taking an unacceptably long time to open - 60 seconds on a smallish database over a wireless connection to my laptop (trying to simulate a slow server). I remember something about a form like this that you had and, I believe, loading the combo boxes and sub forms only when a tab got the focus? The combo boxes are bound so I can't wait to put in the row source until they're clicked. But I could load the row source when the tab was activated - store the row source in the tag and load it if it's not there. But there's no activate or got focus event for a tab. There is a mouse move event but I'm not sure that will do to trigger loading of the Row Source and the sub-forms. How did you solve the problem? Regards, 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.24/1117 - Release Date: 11/7/2007 10:52 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Nov 8 22:40:09 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 8 Nov 2007 20:40:09 -0800 Subject: [AccessD] JIT Forms In-Reply-To: <000801c82281$9f58ed70$6c7aa8c0@M90> References: <00a901c82257$3656b390$0301a8c0@HAL9005><200711082337.lA8Nb536031641@databaseadvisors.com><00c901c8226e$82232f30$0301a8c0@HAL9005> <000801c82281$9f58ed70$6c7aa8c0@M90> Message-ID: <00f801c8228a$9c178f00$0301a8c0@HAL9005> I'm good to go. Thanks. However, converting all the combos and subforms to JIT still did not yield an acceptable opening time. The reocrdsource for the main form is retrieving all the records and the navigation buttons are at the bottom of the form. I have asked the client if users would really use those buttons to move from one record to another. I'm thinking not. In which case retrieving one record might be the hot ticket. Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, November 08, 2007 7:36 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms And that is really about all there is to it. Except... You need to be careful about the Link Master / child properties. I leave them set and just change the source object IIRC. Beyond that you need to make the decision whether to leave the subforms bound or unbind them as the user clicks off the tab. And no I don't do anything about loading the combos specifically. Since only the combos on the specific subforms loading are at issue, this will not tend to be a problem. Since everyone else jumped in with info I will let you ask if you need more than that. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 08, 2007 8:19 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Aha. That's what I was looking for. Change event. Too bad there isn't a GotFocus or Activate event for each page. But this will work. I can do a Select Case on the page and load the controls for that page in the case for each tab. That will work! Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren D Sent: Thursday, November 08, 2007 3:37 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Hi Rocky Not so sure about JC's cool JIT logic But there is an OnChange event for Tabs - Way cool very powerful and easy to manipulate See below for some Code snips below I am using for a 10 Tab Form Now it is a snip so some of it may not work correctly etc ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Private Sub tabMain_Change() On Err GoTo Err_tabMain_Change Dim intClientID As Integer intClientID = Me.tabMain Dim tbc As Control Dim pg As Page Dim ctl As Control Dim db As DAO.Database Dim selSQL As String Dim rs As DAO.Recordset Set tbc = Me!tabMain Set pg = tbc.Pages(tbc.Value) 'Current page Set db = CurrentDb selSQL = "SELECT tblClients.ClientID, tblClients.ClientName, tblClients.DatabaseName, tblClients.ClientAbbrev, tblClients.IsCurrent, tblClients.IsNowDeleted FROM tblClients WHERE (((tblClients.IsCurrent)=-1) AND ((tblClients.IsNowDeleted) Is Null Or (tblClients.IsNowDeleted)=0));" Set rs = db.OpenRecordset(selSQL) 'reset things to true or false if true may exist for more thant 1 tab If pg.Name = "pgOptions" Then ' Option Page - Don't show everything for the clients - Show the setup options only Forms!xfrmBeast!subfrmOptions.SourceObject = "sub_frmBeastOptions" Forms!xfrmBeast!subfrmLocalOptions.SourceObject = "sub_frmLocalOptions" Me.subfrmMain.Visible = False Me.tabOptions.Visible = True Me.subfrmNotes.Visible = False Me.subfrmContacts.Visible = False Me.tabSupport.Visible = False 'Determine what controls get seen or used For Each ctl In Me.Controls If ctl.Tag <> "" Then ctl.Enabled = False End If Next ElseIf Me("pg" & Me.tabMain).Caption = "Active" Then ElseIf Me("pg" & Me.tabMain).Caption = "SomeText" Then Me.cmdBFM.Enabled = False Else For Each ctl In Me.Controls If ctl.Tag <> "" Then ctl.Enabled = True End If Next Me.tabOptions.Visible = False End If Me.subfrmMain.Requery Me.subfrmNotes.Requery Me.subfrmContacts.Requery Me.txtClientID = Forms!xfrmBeast.tabMain txtInvoiceSearch = "" txtAccountNo = "" If intClientID = 0 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "General Contacts" Me.subfrmNotes.Form.lblAdviceNotes.Caption = "General Notes" Me.lblMain.Caption = "Options and Settings" txtInvoiceSearch.Enabled = False txtAccountNo.Enabled = False ElseIf intClientID = 1 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Active Contacts" Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Active Info" Me.lblMain.Caption = "Details about...us" txtInvoiceSearch.Enabled = False txtAccountNo.Enabled = False ElseIf intClientID = 2 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Contacts for Client: " & Me("pg" & intClientID).Caption Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Notes For Client: " & Me("pg" & intClientID).Caption Me.lblMain.Caption = "Bureau Details for: " & Me("pg" & intClientID).Caption txtInvoiceSearch.Enabled = True txtAccountNo.Enabled = True ElseIf intClientID > 1 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Contacts for Client: " & Me("pg" & intClientID).Caption Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Notes For Client: " & Me("pg" & intClientID).Caption Me.lblMain.Caption = "Bureau Details for: " & Me("pg" & intClientID).Caption txtInvoiceSearch.Enabled = True txtAccountNo.Enabled = True End If rs.Close db.Close Set rs = Nothing Set db = Nothing Exit_tabMain_Change: Exit Sub Err_tabMain_Change: MsgBox Err.Number & " " & Err.Description, vbCritical, "Error in tbMain Change" Resume Exit_tabMain_Change End Sub Many thanks Have a great day Darren ----------------- T: 1300 301 731 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, 9 November 2007 9:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] JIT Forms JC: I have a form with about 16 tabs, a bunch of combo boxes, and a bunch of sub-forms. It will not surprise you to learn that it is taking an unacceptably long time to open - 60 seconds on a smallish database over a wireless connection to my laptop (trying to simulate a slow server). I remember something about a form like this that you had and, I believe, loading the combo boxes and sub forms only when a tab got the focus? The combo boxes are bound so I can't wait to put in the row source until they're clicked. But I could load the row source when the tab was activated - store the row source in the tag and load it if it's not there. But there's no activate or got focus event for a tab. There is a mouse move event but I'm not sure that will do to trigger loading of the Row Source and the sub-forms. How did you solve the problem? Regards, 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.24/1117 - Release Date: 11/7/2007 10:52 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.26/1119 - Release Date: 11/8/2007 5:55 PM From adtp at airtelbroadband.in Fri Nov 9 01:49:16 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Fri, 9 Nov 2007 13:19:16 +0530 Subject: [AccessD] storing last item on the page References: <001601c820ae$821c9a10$4b3a8343@SusanOne><003301c82105$babcfd40$ 8c57a27a@personalec1122> <003f01c8213b$9abb4390$4b3a8343@SusanOne> Message-ID: <004101c822a5$4dd21160$8a57a27a@personalec1122> You have not given any reason as to why you wish to avoid array based solution. Apparently, you are keen to implement collection based solution as an alternative. In your second post, describing the unsuccessful attempt to work out collection based solution, you stated "I'm clueless -- I have no idea what's happening here." It is observed that the following factors are contributing to the problem: 1 - You have landed into an interesting pitfall typical of collections. Whenever a collection's Add method is used, you have to be careful as to what exactly is being added. If you use the syntax col.Add Me.MyControl, it becomes a collection of control objects. For making it a collection of control contents, you have to use Value property of the control. 2 - Page Footer is the appropriate place to grab a value from last record of detail section and add it to the collection. You are wrongly using Page Header for this purpose. 3 - You are using Page Footer to assign a value (from collection) to txtHeaderLast. In view of the nature of forward time flow during report execution, the effect of such assignment materializes only on the next page. This defeats the very purpose of building a collection of last values in forced first pass of formatting. The proper place for making such an assignment is Page Header (preferably its print event, as by then, building up of collection during prior formatting pass, is complete). Sample code in report's module, as given below, demonstrates collection based solution. All the four controls (TxtHeaderFirst, TxtHeaderLast, TxtFooterFirst, TxtFooterLast) are unbound. In the sample code, "Title" is the name of control in detail section whose first and last values are required to be displayed in page header as well as footer. You can substitute the name of actual control in your report, suitably. A.D.Tejpal ------------ Code in report's module '================================== ' Declarations section Private col As New Collection '--------------------------------------------------- Private Sub PageFooterSection_Format(Cancel _ As Integer, FormatCount As Integer) Me.TxtFooterLast = Me.Title If Me.Pages = 0 Then col.Add Me.Title.Value, CStr(Me.Page) ' (A) End If ' Caution - There is a potential pitfall here. ' In statement (A), while adding items to ' collection, Value property of the control ' in question MUST be used. Otherwise, ' it will become a collection of control ' objects (not the contents as intended), ' leading to weird results. End Sub '--------------------------------------------------- Private Sub PageHeaderSection_Format(Cancel _ As Integer, FormatCount As Integer) Me.TxtHeaderFirst = Me.Title Me.TxtFooterFirst = Me.Title End Sub '--------------------------------------------------- Private Sub PageHeaderSection_Print(Cancel _ As Integer, PrintCount As Integer) Me.TxtHeaderLast = col(CStr(Me.Page)) End Sub '--------------------------------------------------- Private Sub Report_Close() Set col = Nothing End Sub '================================== ----- Original Message ----- From: Susan Harkins To: Access Developers discussion and problem solving Sent: Wednesday, November 07, 2007 18:11 Subject: Re: [AccessD] storing last item on the page I'm not convinced an array is necessary -- I've seen that solution. Have you seen the collection solution I tried and posted late last night? Susan H. From jwcolby at colbyconsulting.com Fri Nov 9 06:11:20 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 9 Nov 2007 07:11:20 -0500 Subject: [AccessD] JIT Forms In-Reply-To: <00f801c8228a$9c178f00$0301a8c0@HAL9005> References: <00a901c82257$3656b390$0301a8c0@HAL9005><200711082337.lA8Nb536031641@databaseadvisors.com><00c901c8226e$82232f30$0301a8c0@HAL9005><000801c82281$9f58ed70$6c7aa8c0@M90> <00f801c8228a$9c178f00$0301a8c0@HAL9005> Message-ID: <001801c822c9$a3fc7020$6c7aa8c0@M90> And in the end that is what I had to do, retrieve only one record. That is the superior solution for any large table. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 08, 2007 11:40 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms I'm good to go. Thanks. However, converting all the combos and subforms to JIT still did not yield an acceptable opening time. The reocrdsource for the main form is retrieving all the records and the navigation buttons are at the bottom of the form. I have asked the client if users would really use those buttons to move from one record to another. I'm thinking not. In which case retrieving one record might be the hot ticket. Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, November 08, 2007 7:36 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms And that is really about all there is to it. Except... You need to be careful about the Link Master / child properties. I leave them set and just change the source object IIRC. Beyond that you need to make the decision whether to leave the subforms bound or unbind them as the user clicks off the tab. And no I don't do anything about loading the combos specifically. Since only the combos on the specific subforms loading are at issue, this will not tend to be a problem. Since everyone else jumped in with info I will let you ask if you need more than that. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 08, 2007 8:19 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Aha. That's what I was looking for. Change event. Too bad there isn't a GotFocus or Activate event for each page. But this will work. I can do a Select Case on the page and load the controls for that page in the case for each tab. That will work! Thanks Rocky From jwcolby at colbyconsulting.com Fri Nov 9 06:16:02 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 9 Nov 2007 07:16:02 -0500 Subject: [AccessD] storing last item on the page In-Reply-To: <004101c822a5$4dd21160$8a57a27a@personalec1122> References: <001601c820ae$821c9a10$4b3a8343@SusanOne><003301c82105$babcfd40$8c57a27a@personalec1122> <003f01c8213b$9abb4390$4b3a8343@SusanOne> <004101c822a5$4dd21160$8a57a27a@personalec1122> Message-ID: <001901c822ca$4bd900b0$6c7aa8c0@M90> A.D. An array can store a control just as easily. And yes, you need to be aware of what you are storing, since if you store a control a number of things can occur that can be confusing. For example, if you store a control, the value of the control can change between when you stored that control and when you use it, and in fact can continue to change as long as the collection is stored. OTOH, if you store the control's VALUE then that value is captured in time, and while the control may continue to change, it's value back when it was stored will still be available. It really depends on what you need to do, but you definitely need to keep this in mind. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Friday, November 09, 2007 2:49 AM To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Subject: Re: [AccessD] storing last item on the page You have not given any reason as to why you wish to avoid array based solution. Apparently, you are keen to implement collection based solution as an alternative. In your second post, describing the unsuccessful attempt to work out collection based solution, you stated "I'm clueless -- I have no idea what's happening here." It is observed that the following factors are contributing to the problem: 1 - You have landed into an interesting pitfall typical of collections. Whenever a collection's Add method is used, you have to be careful as to what exactly is being added. If you use the syntax col.Add Me.MyControl, it becomes a collection of control objects. For making it a collection of control contents, you have to use Value property of the control. 2 - Page Footer is the appropriate place to grab a value from last record of detail section and add it to the collection. You are wrongly using Page Header for this purpose. 3 - You are using Page Footer to assign a value (from collection) to txtHeaderLast. In view of the nature of forward time flow during report execution, the effect of such assignment materializes only on the next page. This defeats the very purpose of building a collection of last values in forced first pass of formatting. The proper place for making such an assignment is Page Header (preferably its print event, as by then, building up of collection during prior formatting pass, is complete). Sample code in report's module, as given below, demonstrates collection based solution. All the four controls (TxtHeaderFirst, TxtHeaderLast, TxtFooterFirst, TxtFooterLast) are unbound. In the sample code, "Title" is the name of control in detail section whose first and last values are required to be displayed in page header as well as footer. You can substitute the name of actual control in your report, suitably. A.D.Tejpal ------------ Code in report's module '================================== ' Declarations section Private col As New Collection '--------------------------------------------------- Private Sub PageFooterSection_Format(Cancel _ As Integer, FormatCount As Integer) Me.TxtFooterLast = Me.Title If Me.Pages = 0 Then col.Add Me.Title.Value, CStr(Me.Page) ' (A) End If ' Caution - There is a potential pitfall here. ' In statement (A), while adding items to ' collection, Value property of the control ' in question MUST be used. Otherwise, ' it will become a collection of control ' objects (not the contents as intended), ' leading to weird results. End Sub '--------------------------------------------------- Private Sub PageHeaderSection_Format(Cancel _ As Integer, FormatCount As Integer) Me.TxtHeaderFirst = Me.Title Me.TxtFooterFirst = Me.Title End Sub '--------------------------------------------------- Private Sub PageHeaderSection_Print(Cancel _ As Integer, PrintCount As Integer) Me.TxtHeaderLast = col(CStr(Me.Page)) End Sub '--------------------------------------------------- Private Sub Report_Close() Set col = Nothing End Sub '================================== ----- Original Message ----- From: Susan Harkins To: Access Developers discussion and problem solving Sent: Wednesday, November 07, 2007 18:11 Subject: Re: [AccessD] storing last item on the page I'm not convinced an array is necessary -- I've seen that solution. Have you seen the collection solution I tried and posted late last night? 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 Nov 9 07:55:52 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 9 Nov 2007 08:55:52 -0500 Subject: [AccessD] storing last item on the page References: <001601c820ae$821c9a10$4b3a8343@SusanOne><003301c82105$babcfd40$8c57a27a@personalec1122> <003f01c8213b$9abb4390$4b3a8343@SusanOne> <004101c822a5$4dd21160$8a57a27a@personalec1122> Message-ID: <009601c822d8$c937b250$4b3a8343@SusanOne> Thanks -- I'll see if anything here resolves this. I'm interested in a collection because I think, it is an easier solution for the average user. Arrays can be difficult for the average user to apply to their own work. A collection, used in this manner, won't require any special attention from the user. Of course, if I can't get it to work, how much easier can it be????????? ;) Susan H. > You have not given any reason as to why you wish to avoid array based > solution. Apparently, you are keen to implement collection based solution > as an alternative. > > In your second post, describing the unsuccessful attempt to work out > collection based solution, you stated "I'm clueless -- I have no idea > what's happening here." It is observed that the following factors are > contributing to the problem: > > 1 - You have landed into an interesting pitfall typical of collections. > Whenever a collection's Add method is used, you have to be careful as to > what exactly is being added. If you use the syntax col.Add Me.MyControl, > it becomes a collection of control objects. For making it a collection of > control contents, you have to use Value property of the control. > > 2 - Page Footer is the appropriate place to grab a value from last > record of detail section and add it to the collection. You are wrongly > using Page Header for this purpose. > > 3 - You are using Page Footer to assign a value (from collection) to > txtHeaderLast. In view of the nature of forward time flow during report > execution, the effect of such assignment materializes only on the next > page. This defeats the very purpose of building a collection of last > values in forced first pass of formatting. The proper place for making > such an assignment is Page Header (preferably its print event, as by then, > building up of collection during prior formatting pass, is complete). > > Sample code in report's module, as given below, demonstrates collection > based solution. All the four controls (TxtHeaderFirst, TxtHeaderLast, > TxtFooterFirst, TxtFooterLast) are unbound. In the sample code, "Title" is > the name of control in detail section whose first and last values are > required to be displayed in page header as well as footer. You can > substitute the name of actual control in your report, suitably. > > A.D.Tejpal > ------------ > > Code in report's module > '================================== > ' Declarations section > Private col As New Collection > '--------------------------------------------------- > > Private Sub PageFooterSection_Format(Cancel _ > As Integer, FormatCount As Integer) > > Me.TxtFooterLast = Me.Title > > If Me.Pages = 0 Then > col.Add Me.Title.Value, CStr(Me.Page) ' (A) > End If > > ' Caution - There is a potential pitfall here. > ' In statement (A), while adding items to > ' collection, Value property of the control > ' in question MUST be used. Otherwise, > ' it will become a collection of control > ' objects (not the contents as intended), > ' leading to weird results. > End Sub > '--------------------------------------------------- > > Private Sub PageHeaderSection_Format(Cancel _ > As Integer, FormatCount As Integer) > Me.TxtHeaderFirst = Me.Title > Me.TxtFooterFirst = Me.Title > End Sub > '--------------------------------------------------- > > Private Sub PageHeaderSection_Print(Cancel _ > As Integer, PrintCount As Integer) > Me.TxtHeaderLast = col(CStr(Me.Page)) > End Sub > '--------------------------------------------------- > > Private Sub Report_Close() > Set col = Nothing > End Sub > '================================== > > ----- Original Message ----- > From: Susan Harkins > To: Access Developers discussion and problem solving > Sent: Wednesday, November 07, 2007 18:11 > Subject: Re: [AccessD] storing last item on the page > > > I'm not convinced an array is necessary -- I've seen that solution. Have > you > seen the collection solution I tried and posted late last night? > > 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 Nov 9 07:59:41 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 9 Nov 2007 08:59:41 -0500 Subject: [AccessD] storing last item on the page References: <001601c820ae$821c9a10$4b3a8343@SusanOne><003301c82105$babcfd40$8c57a27a@personalec1122><003f01c8213b$9abb4390$4b3a8343@SusanOne><004101c822a5$4dd21160$8a57a27a@personalec1122> <001901c822ca$4bd900b0$6c7aa8c0@M90> Message-ID: <009701c822d8$ca3dfec0$4b3a8343@SusanOne> I'm storing the value and the page number, and both are correct and in synch. The value that the text box is actually the last item from the previous page, not the current page, so there seems to be some discrepancy between page number and value between the time those values are retrieved and the time the code actually displays the value. The values are correct, they're just being applied incorrectly. A.D.'s comment about using the wrong events might be the answer I need. Susan H. > A.D. > > An array can store a control just as easily. And yes, you need to be > aware > of what you are storing, since if you store a control a number of things > can > occur that can be confusing. For example, if you store a control, the > value > of the control can change between when you stored that control and when > you > use it, and in fact can continue to change as long as the collection is > stored. OTOH, if you store the control's VALUE then that value is > captured > in time, and while the control may continue to change, it's value back > when > it was stored will still be available. It really depends on what you need > to do, but you definitely need to keep this in mind. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL > Sent: Friday, November 09, 2007 2:49 AM > To: Access Developers discussion and problem solving > Cc: A.D.TEJPAL > Subject: Re: [AccessD] storing last item on the page > > You have not given any reason as to why you wish to avoid array based > solution. Apparently, you are keen to implement collection based solution > as > an alternative. > > In your second post, describing the unsuccessful attempt to work out > collection based solution, you stated "I'm clueless -- I have no idea > what's happening here." It is observed that the following factors are > contributing to the problem: > > 1 - You have landed into an interesting pitfall typical of collections. > Whenever a collection's Add method is used, you have to be careful as to > what exactly is being added. If you use the syntax col.Add Me.MyControl, > it > becomes a collection of control objects. For making it a collection of > control contents, you have to use Value property of the control. > > 2 - Page Footer is the appropriate place to grab a value from last > record of detail section and add it to the collection. You are wrongly > using > Page Header for this purpose. > > 3 - You are using Page Footer to assign a value (from collection) to > txtHeaderLast. In view of the nature of forward time flow during report > execution, the effect of such assignment materializes only on the next > page. > This defeats the very purpose of building a collection of last values in > forced first pass of formatting. The proper place for making such an > assignment is Page Header (preferably its print event, as by then, > building > up of collection during prior formatting pass, is complete). > > Sample code in report's module, as given below, demonstrates collection > based solution. All the four controls (TxtHeaderFirst, TxtHeaderLast, > TxtFooterFirst, TxtFooterLast) are unbound. In the sample code, "Title" is > the name of control in detail section whose first and last values are > required to be displayed in page header as well as footer. You can > substitute the name of actual control in your report, suitably. > > A.D.Tejpal > ------------ > > Code in report's module > '================================== > ' Declarations section > Private col As New Collection > '--------------------------------------------------- > > Private Sub PageFooterSection_Format(Cancel _ > As Integer, FormatCount As Integer) > > Me.TxtFooterLast = Me.Title > > If Me.Pages = 0 Then > col.Add Me.Title.Value, CStr(Me.Page) ' (A) > End If > > ' Caution - There is a potential pitfall here. > ' In statement (A), while adding items to > ' collection, Value property of the control > ' in question MUST be used. Otherwise, > ' it will become a collection of control > ' objects (not the contents as intended), > ' leading to weird results. > End Sub > '--------------------------------------------------- > > Private Sub PageHeaderSection_Format(Cancel _ > As Integer, FormatCount As Integer) > Me.TxtHeaderFirst = Me.Title > Me.TxtFooterFirst = Me.Title > End Sub > '--------------------------------------------------- > > Private Sub PageHeaderSection_Print(Cancel _ > As Integer, PrintCount As Integer) > Me.TxtHeaderLast = col(CStr(Me.Page)) End Sub > '--------------------------------------------------- > > Private Sub Report_Close() > Set col = Nothing > End Sub > '================================== > > ----- Original Message ----- > From: Susan Harkins > To: Access Developers discussion and problem solving > Sent: Wednesday, November 07, 2007 18:11 > Subject: Re: [AccessD] storing last item on the page > > > I'm not convinced an array is necessary -- I've seen that solution. Have > you > seen the collection solution I tried and posted late last night? > > Susan H. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From ssharkins at gmail.com Fri Nov 9 08:56:10 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 9 Nov 2007 09:56:10 -0500 Subject: [AccessD] storing last item on the page References: <001601c820ae$821c9a10$4b3a8343@SusanOne><003301c82105$babcfd40$8c57a27a@personalec1122> <003f01c8213b$9abb4390$4b3a8343@SusanOne> <004101c822a5$4dd21160$8a57a27a@personalec1122> Message-ID: <002b01c822e0$ae5fc5f0$4b3a8343@SusanOne> A.D., you are a genius -- you are right, I had the code right, just executing it in reverse! Private Sub PageFooterSection_Format(Cancel As Integer, FormatCount As Integer) Me.txtFooterFirst = Me.txtHeaderFirst Me.txtHeaderLast = Me.txtFooterLast If Me.Pages = 0 Then col.Add Me.txtFooterLast.Value, CStr(Me.Page) End If End Sub Private Sub PageHeaderSection_Print(Cancel As Integer, PrintCount As Integer) Me.txtHeaderLast = col(Me.Page) End Sub Private Sub Report_Close() Set col = Nothing End Sub It's working perfectly now -- thank you A.D. I was going to rearrange things this morning, after sleeping on the problem last night, but your message helped a lot. I would've been working purely on speculation and you gave me a map. ;) Now, I don't know if anyone else agrees with me, but I think this is much simpler than the more common array solution. Susan H. > 2 - Page Footer is the appropriate place to grab a value from last > record of detail section and add it to the collection. You are wrongly > using Page Header for this purpose. > > 3 - You are using Page Footer to assign a value (from collection) to > txtHeaderLast. In view of the nature of forward time flow during report > execution, the effect of such assignment materializes only on the next > page. This defeats the very purpose of building a collection of last > values in forced first pass of formatting. The proper place for making > such an assignment is Page Header (preferably its print event, as by then, > building up of collection during prior formatting pass, is complete). > > Sample code in report's module, as given below, demonstrates collection > based solution. All the four controls (TxtHeaderFirst, TxtHeaderLast, > TxtFooterFirst, TxtFooterLast) are unbound. In the sample code, "Title" is > the name of control in detail section whose first and last values are > required to be displayed in page header as well as footer. You can > substitute the name of actual control in your report, suitably. > > A.D.Tejpal From ssharkins at gmail.com Fri Nov 9 09:36:45 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 9 Nov 2007 10:36:45 -0500 Subject: [AccessD] storing last item on the page References: <001601c820ae$821c9a10$4b3a8343@SusanOne><003301c82105$babcfd40$8c57a27a@personalec1122> <003f01c8213b$9abb4390$4b3a8343@SusanOne> <004101c822a5$4dd21160$8a57a27a@personalec1122> Message-ID: <00a301c822e6$57e00220$4b3a8343@SusanOne> Small correction to the previous code I posted -- I had to move the Me.txtFooterFirst statement back to the PageHeaderSection event. Susan H. Private Sub PageFooterSection_Format(Cancel As Integer, FormatCount As Integer) 'Me.txtFooterFirst = Me.txtHeaderFirst Me.txtHeaderLast = Me.txtFooterLast If Me.Pages = 0 Then col.Add Me.txtFooterLast.Value, CStr(Me.Page) End If End Sub Private Sub PageHeaderSection_Print(Cancel As Integer, PrintCount As Integer) Me.txtFooterFirst = Me.txtHeaderFirst Me.txtHeaderLast = col(Me.Page) End Sub Private Sub Report_Close() Set col = Nothing End Sub ----- Original Message ----- From: "A.D.TEJPAL" To: "Access Developers discussion and problem solving" Cc: "A.D.TEJPAL" Sent: Friday, November 09, 2007 2:49 AM Subject: Re: [AccessD] storing last item on the page > You have not given any reason as to why you wish to avoid array based > solution. Apparently, you are keen to implement collection based solution > as an alternative. > > In your second post, describing the unsuccessful attempt to work out > collection based solution, you stated "I'm clueless -- I have no idea > what's happening here." It is observed that the following factors are > contributing to the problem: > > 1 - You have landed into an interesting pitfall typical of collections. > Whenever a collection's Add method is used, you have to be careful as to > what exactly is being added. If you use the syntax col.Add Me.MyControl, > it becomes a collection of control objects. For making it a collection of > control contents, you have to use Value property of the control. > > 2 - Page Footer is the appropriate place to grab a value from last > record of detail section and add it to the collection. You are wrongly > using Page Header for this purpose. > > 3 - You are using Page Footer to assign a value (from collection) to > txtHeaderLast. In view of the nature of forward time flow during report > execution, the effect of such assignment materializes only on the next > page. This defeats the very purpose of building a collection of last > values in forced first pass of formatting. The proper place for making > such an assignment is Page Header (preferably its print event, as by then, > building up of collection during prior formatting pass, is complete). > > Sample code in report's module, as given below, demonstrates collection > based solution. All the four controls (TxtHeaderFirst, TxtHeaderLast, > TxtFooterFirst, TxtFooterLast) are unbound. In the sample code, "Title" is > the name of control in detail section whose first and last values are > required to be displayed in page header as well as footer. You can > substitute the name of actual control in your report, suitably. > > A.D.Tejpal > ------------ > > Code in report's module > '================================== > ' Declarations section > Private col As New Collection > '--------------------------------------------------- > > Private Sub PageFooterSection_Format(Cancel _ > As Integer, FormatCount As Integer) > > Me.TxtFooterLast = Me.Title > > If Me.Pages = 0 Then > col.Add Me.Title.Value, CStr(Me.Page) ' (A) > End If > > ' Caution - There is a potential pitfall here. > ' In statement (A), while adding items to > ' collection, Value property of the control > ' in question MUST be used. Otherwise, > ' it will become a collection of control > ' objects (not the contents as intended), > ' leading to weird results. > End Sub > '--------------------------------------------------- > > Private Sub PageHeaderSection_Format(Cancel _ > As Integer, FormatCount As Integer) > Me.TxtHeaderFirst = Me.Title > Me.TxtFooterFirst = Me.Title > End Sub > '--------------------------------------------------- > > Private Sub PageHeaderSection_Print(Cancel _ > As Integer, PrintCount As Integer) > Me.TxtHeaderLast = col(CStr(Me.Page)) > End Sub > '--------------------------------------------------- > > Private Sub Report_Close() > Set col = Nothing > End Sub > '================================== > > ----- Original Message ----- > From: Susan Harkins > To: Access Developers discussion and problem solving > Sent: Wednesday, November 07, 2007 18:11 > Subject: Re: [AccessD] storing last item on the page > > > I'm not convinced an array is necessary -- I've seen that solution. Have > you > seen the collection solution I tried and posted late last night? > > Susan H. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Nov 9 09:45:04 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 9 Nov 2007 07:45:04 -0800 Subject: [AccessD] JIT Forms In-Reply-To: <00f801c8228a$9c178f00$0301a8c0@HAL9005> References: <00a901c82257$3656b390$0301a8c0@HAL9005><200711082337.lA8Nb536031641@databaseadvisors.com><00c901c8226e$82232f30$0301a8c0@HAL9005><000801c82281$9f58ed70$6c7aa8c0@M90> <00f801c8228a$9c178f00$0301a8c0@HAL9005> Message-ID: Rocky, If you bind just subforms, not the main form, you solve that problem. Basically, all you need in the main form is the fields to link to, although, they don't have to be in bound controls, so you could populate them from code for each tab. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 08, 2007 8:40 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms I'm good to go. Thanks. However, converting all the combos and subforms to JIT still did not yield an acceptable opening time. The reocrdsource for the main form is retrieving all the records and the navigation buttons are at the bottom of the form. I have asked the client if users would really use those buttons to move from one record to another. I'm thinking not. In which case retrieving one record might be the hot ticket. Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, November 08, 2007 7:36 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms And that is really about all there is to it. Except... You need to be careful about the Link Master / child properties. I leave them set and just change the source object IIRC. Beyond that you need to make the decision whether to leave the subforms bound or unbind them as the user clicks off the tab. And no I don't do anything about loading the combos specifically. Since only the combos on the specific subforms loading are at issue, this will not tend to be a problem. Since everyone else jumped in with info I will let you ask if you need more than that. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 08, 2007 8:19 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Aha. That's what I was looking for. Change event. Too bad there isn't a GotFocus or Activate event for each page. But this will work. I can do a Select Case on the page and load the controls for that page in the case for each tab. That will work! Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren D Sent: Thursday, November 08, 2007 3:37 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Hi Rocky Not so sure about JC's cool JIT logic But there is an OnChange event for Tabs - Way cool very powerful and easy to manipulate See below for some Code snips below I am using for a 10 Tab Form Now it is a snip so some of it may not work correctly etc ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Private Sub tabMain_Change() On Err GoTo Err_tabMain_Change Dim intClientID As Integer intClientID = Me.tabMain Dim tbc As Control Dim pg As Page Dim ctl As Control Dim db As DAO.Database Dim selSQL As String Dim rs As DAO.Recordset Set tbc = Me!tabMain Set pg = tbc.Pages(tbc.Value) 'Current page Set db = CurrentDb selSQL = "SELECT tblClients.ClientID, tblClients.ClientName, tblClients.DatabaseName, tblClients.ClientAbbrev, tblClients.IsCurrent, tblClients.IsNowDeleted FROM tblClients WHERE (((tblClients.IsCurrent)=-1) AND ((tblClients.IsNowDeleted) Is Null Or (tblClients.IsNowDeleted)=0));" Set rs = db.OpenRecordset(selSQL) 'reset things to true or false if true may exist for more thant 1 tab If pg.Name = "pgOptions" Then ' Option Page - Don't show everything for the clients - Show the setup options only Forms!xfrmBeast!subfrmOptions.SourceObject = "sub_frmBeastOptions" Forms!xfrmBeast!subfrmLocalOptions.SourceObject = "sub_frmLocalOptions" Me.subfrmMain.Visible = False Me.tabOptions.Visible = True Me.subfrmNotes.Visible = False Me.subfrmContacts.Visible = False Me.tabSupport.Visible = False 'Determine what controls get seen or used For Each ctl In Me.Controls If ctl.Tag <> "" Then ctl.Enabled = False End If Next ElseIf Me("pg" & Me.tabMain).Caption = "Active" Then ElseIf Me("pg" & Me.tabMain).Caption = "SomeText" Then Me.cmdBFM.Enabled = False Else For Each ctl In Me.Controls If ctl.Tag <> "" Then ctl.Enabled = True End If Next Me.tabOptions.Visible = False End If Me.subfrmMain.Requery Me.subfrmNotes.Requery Me.subfrmContacts.Requery Me.txtClientID = Forms!xfrmBeast.tabMain txtInvoiceSearch = "" txtAccountNo = "" If intClientID = 0 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "General Contacts" Me.subfrmNotes.Form.lblAdviceNotes.Caption = "General Notes" Me.lblMain.Caption = "Options and Settings" txtInvoiceSearch.Enabled = False txtAccountNo.Enabled = False ElseIf intClientID = 1 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Active Contacts" Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Active Info" Me.lblMain.Caption = "Details about...us" txtInvoiceSearch.Enabled = False txtAccountNo.Enabled = False ElseIf intClientID = 2 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Contacts for Client: " & Me("pg" & intClientID).Caption Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Notes For Client: " & Me("pg" & intClientID).Caption Me.lblMain.Caption = "Bureau Details for: " & Me("pg" & intClientID).Caption txtInvoiceSearch.Enabled = True txtAccountNo.Enabled = True ElseIf intClientID > 1 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Contacts for Client: " & Me("pg" & intClientID).Caption Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Notes For Client: " & Me("pg" & intClientID).Caption Me.lblMain.Caption = "Bureau Details for: " & Me("pg" & intClientID).Caption txtInvoiceSearch.Enabled = True txtAccountNo.Enabled = True End If rs.Close db.Close Set rs = Nothing Set db = Nothing Exit_tabMain_Change: Exit Sub Err_tabMain_Change: MsgBox Err.Number & " " & Err.Description, vbCritical, "Error in tbMain Change" Resume Exit_tabMain_Change End Sub Many thanks Have a great day Darren ----------------- T: 1300 301 731 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, 9 November 2007 9:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] JIT Forms JC: I have a form with about 16 tabs, a bunch of combo boxes, and a bunch of sub-forms. It will not surprise you to learn that it is taking an unacceptably long time to open - 60 seconds on a smallish database over a wireless connection to my laptop (trying to simulate a slow server). I remember something about a form like this that you had and, I believe, loading the combo boxes and sub forms only when a tab got the focus? The combo boxes are bound so I can't wait to put in the row source until they're clicked. But I could load the row source when the tab was activated - store the row source in the tag and load it if it's not there. But there's no activate or got focus event for a tab. There is a mouse move event but I'm not sure that will do to trigger loading of the Row Source and the sub-forms. How did you solve the problem? Regards, 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.24/1117 - Release Date: 11/7/2007 10:52 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.26/1119 - Release Date: 11/8/2007 5:55 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Nov 9 10:10:25 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 9 Nov 2007 11:10:25 -0500 Subject: [AccessD] JIT Forms In-Reply-To: References: <00a901c82257$3656b390$0301a8c0@HAL9005><200711082337.lA8Nb536031641@databaseadvisors.com><00c901c8226e$82232f30$0301a8c0@HAL9005><000801c82281$9f58ed70$6c7aa8c0@M90><00f801c8228a$9c178f00$0301a8c0@HAL9005> Message-ID: <002601c822eb$09fbe060$6c7aa8c0@M90> Charlotte, I don't understand what you are saying here. What problem are you solving? Binding the subforms before they are actually viewed causes the form to slow down as it loads all of the subforms and their respective controls, even though the user may in fact never visit the subforms (that tab). So leave the subform controls with no source object (form name) until the tab is clicked on (JIT subforms). Now in the query for the main form just specify a filter for the PKID of the parent object, claimID if the form displays claims, CustomerID if the form displays customers etc. By feeding the query one specific PKID it will pull only that one record for the main form. The subforms on the tabs do not load until the tab is clicked. That is about as fast as you are going to get to actually load the form and its data. So what are you saying? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, November 09, 2007 10:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] JIT Forms Rocky, If you bind just subforms, not the main form, you solve that problem. Basically, all you need in the main form is the fields to link to, although, they don't have to be in bound controls, so you could populate them from code for each tab. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 08, 2007 8:40 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms I'm good to go. Thanks. However, converting all the combos and subforms to JIT still did not yield an acceptable opening time. The reocrdsource for the main form is retrieving all the records and the navigation buttons are at the bottom of the form. I have asked the client if users would really use those buttons to move from one record to another. I'm thinking not. In which case retrieving one record might be the hot ticket. Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, November 08, 2007 7:36 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms And that is really about all there is to it. Except... You need to be careful about the Link Master / child properties. I leave them set and just change the source object IIRC. Beyond that you need to make the decision whether to leave the subforms bound or unbind them as the user clicks off the tab. And no I don't do anything about loading the combos specifically. Since only the combos on the specific subforms loading are at issue, this will not tend to be a problem. Since everyone else jumped in with info I will let you ask if you need more than that. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 08, 2007 8:19 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Aha. That's what I was looking for. Change event. Too bad there isn't a GotFocus or Activate event for each page. But this will work. I can do a Select Case on the page and load the controls for that page in the case for each tab. That will work! Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren D Sent: Thursday, November 08, 2007 3:37 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Hi Rocky Not so sure about JC's cool JIT logic But there is an OnChange event for Tabs - Way cool very powerful and easy to manipulate See below for some Code snips below I am using for a 10 Tab Form Now it is a snip so some of it may not work correctly etc ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Private Sub tabMain_Change() On Err GoTo Err_tabMain_Change Dim intClientID As Integer intClientID = Me.tabMain Dim tbc As Control Dim pg As Page Dim ctl As Control Dim db As DAO.Database Dim selSQL As String Dim rs As DAO.Recordset Set tbc = Me!tabMain Set pg = tbc.Pages(tbc.Value) 'Current page Set db = CurrentDb selSQL = "SELECT tblClients.ClientID, tblClients.ClientName, tblClients.DatabaseName, tblClients.ClientAbbrev, tblClients.IsCurrent, tblClients.IsNowDeleted FROM tblClients WHERE (((tblClients.IsCurrent)=-1) AND ((tblClients.IsNowDeleted) Is Null Or (tblClients.IsNowDeleted)=0));" Set rs = db.OpenRecordset(selSQL) 'reset things to true or false if true may exist for more thant 1 tab If pg.Name = "pgOptions" Then ' Option Page - Don't show everything for the clients - Show the setup options only Forms!xfrmBeast!subfrmOptions.SourceObject = "sub_frmBeastOptions" Forms!xfrmBeast!subfrmLocalOptions.SourceObject = "sub_frmLocalOptions" Me.subfrmMain.Visible = False Me.tabOptions.Visible = True Me.subfrmNotes.Visible = False Me.subfrmContacts.Visible = False Me.tabSupport.Visible = False 'Determine what controls get seen or used For Each ctl In Me.Controls If ctl.Tag <> "" Then ctl.Enabled = False End If Next ElseIf Me("pg" & Me.tabMain).Caption = "Active" Then ElseIf Me("pg" & Me.tabMain).Caption = "SomeText" Then Me.cmdBFM.Enabled = False Else For Each ctl In Me.Controls If ctl.Tag <> "" Then ctl.Enabled = True End If Next Me.tabOptions.Visible = False End If Me.subfrmMain.Requery Me.subfrmNotes.Requery Me.subfrmContacts.Requery Me.txtClientID = Forms!xfrmBeast.tabMain txtInvoiceSearch = "" txtAccountNo = "" If intClientID = 0 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "General Contacts" Me.subfrmNotes.Form.lblAdviceNotes.Caption = "General Notes" Me.lblMain.Caption = "Options and Settings" txtInvoiceSearch.Enabled = False txtAccountNo.Enabled = False ElseIf intClientID = 1 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Active Contacts" Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Active Info" Me.lblMain.Caption = "Details about...us" txtInvoiceSearch.Enabled = False txtAccountNo.Enabled = False ElseIf intClientID = 2 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Contacts for Client: " & Me("pg" & intClientID).Caption Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Notes For Client: " & Me("pg" & intClientID).Caption Me.lblMain.Caption = "Bureau Details for: " & Me("pg" & intClientID).Caption txtInvoiceSearch.Enabled = True txtAccountNo.Enabled = True ElseIf intClientID > 1 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Contacts for Client: " & Me("pg" & intClientID).Caption Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Notes For Client: " & Me("pg" & intClientID).Caption Me.lblMain.Caption = "Bureau Details for: " & Me("pg" & intClientID).Caption txtInvoiceSearch.Enabled = True txtAccountNo.Enabled = True End If rs.Close db.Close Set rs = Nothing Set db = Nothing Exit_tabMain_Change: Exit Sub Err_tabMain_Change: MsgBox Err.Number & " " & Err.Description, vbCritical, "Error in tbMain Change" Resume Exit_tabMain_Change End Sub Many thanks Have a great day Darren ----------------- T: 1300 301 731 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, 9 November 2007 9:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] JIT Forms JC: I have a form with about 16 tabs, a bunch of combo boxes, and a bunch of sub-forms. It will not surprise you to learn that it is taking an unacceptably long time to open - 60 seconds on a smallish database over a wireless connection to my laptop (trying to simulate a slow server). I remember something about a form like this that you had and, I believe, loading the combo boxes and sub forms only when a tab got the focus? The combo boxes are bound so I can't wait to put in the row source until they're clicked. But I could load the row source when the tab was activated - store the row source in the tag and load it if it's not there. But there's no activate or got focus event for a tab. There is a mouse move event but I'm not sure that will do to trigger loading of the Row Source and the sub-forms. How did you solve the problem? Regards, 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.24/1117 - Release Date: 11/7/2007 10:52 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.26/1119 - Release Date: 11/8/2007 5:55 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Nov 9 11:34:46 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 9 Nov 2007 09:34:46 -0800 Subject: [AccessD] JIT Forms In-Reply-To: <002601c822eb$09fbe060$6c7aa8c0@M90> References: <00a901c82257$3656b390$0301a8c0@HAL9005><200711082337.lA8Nb536031641@databaseadvisors.com><00c901c8226e$82232f30$0301a8c0@HAL9005><000801c82281$9f58ed70$6c7aa8c0@M90><00f801c8228a$9c178f00$0301a8c0@HAL9005> <002601c822eb$09fbe060$6c7aa8c0@M90> Message-ID: I'm not suggesting binding subforms until they're loaded, John. I don't do that either. I'm saying you don't need a full dataset behind the parent form if all your subforms are going to be bound WHEN THEY'RE LOADED. You can get by with a snapshot of the key fields at most. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, November 09, 2007 8:10 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Charlotte, I don't understand what you are saying here. What problem are you solving? Binding the subforms before they are actually viewed causes the form to slow down as it loads all of the subforms and their respective controls, even though the user may in fact never visit the subforms (that tab). So leave the subform controls with no source object (form name) until the tab is clicked on (JIT subforms). Now in the query for the main form just specify a filter for the PKID of the parent object, claimID if the form displays claims, CustomerID if the form displays customers etc. By feeding the query one specific PKID it will pull only that one record for the main form. The subforms on the tabs do not load until the tab is clicked. That is about as fast as you are going to get to actually load the form and its data. So what are you saying? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, November 09, 2007 10:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] JIT Forms Rocky, If you bind just subforms, not the main form, you solve that problem. Basically, all you need in the main form is the fields to link to, although, they don't have to be in bound controls, so you could populate them from code for each tab. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 08, 2007 8:40 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms I'm good to go. Thanks. However, converting all the combos and subforms to JIT still did not yield an acceptable opening time. The reocrdsource for the main form is retrieving all the records and the navigation buttons are at the bottom of the form. I have asked the client if users would really use those buttons to move from one record to another. I'm thinking not. In which case retrieving one record might be the hot ticket. Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, November 08, 2007 7:36 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms And that is really about all there is to it. Except... You need to be careful about the Link Master / child properties. I leave them set and just change the source object IIRC. Beyond that you need to make the decision whether to leave the subforms bound or unbind them as the user clicks off the tab. And no I don't do anything about loading the combos specifically. Since only the combos on the specific subforms loading are at issue, this will not tend to be a problem. Since everyone else jumped in with info I will let you ask if you need more than that. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 08, 2007 8:19 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Aha. That's what I was looking for. Change event. Too bad there isn't a GotFocus or Activate event for each page. But this will work. I can do a Select Case on the page and load the controls for that page in the case for each tab. That will work! Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren D Sent: Thursday, November 08, 2007 3:37 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Hi Rocky Not so sure about JC's cool JIT logic But there is an OnChange event for Tabs - Way cool very powerful and easy to manipulate See below for some Code snips below I am using for a 10 Tab Form Now it is a snip so some of it may not work correctly etc ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Private Sub tabMain_Change() On Err GoTo Err_tabMain_Change Dim intClientID As Integer intClientID = Me.tabMain Dim tbc As Control Dim pg As Page Dim ctl As Control Dim db As DAO.Database Dim selSQL As String Dim rs As DAO.Recordset Set tbc = Me!tabMain Set pg = tbc.Pages(tbc.Value) 'Current page Set db = CurrentDb selSQL = "SELECT tblClients.ClientID, tblClients.ClientName, tblClients.DatabaseName, tblClients.ClientAbbrev, tblClients.IsCurrent, tblClients.IsNowDeleted FROM tblClients WHERE (((tblClients.IsCurrent)=-1) AND ((tblClients.IsNowDeleted) Is Null Or (tblClients.IsNowDeleted)=0));" Set rs = db.OpenRecordset(selSQL) 'reset things to true or false if true may exist for more thant 1 tab If pg.Name = "pgOptions" Then ' Option Page - Don't show everything for the clients - Show the setup options only Forms!xfrmBeast!subfrmOptions.SourceObject = "sub_frmBeastOptions" Forms!xfrmBeast!subfrmLocalOptions.SourceObject = "sub_frmLocalOptions" Me.subfrmMain.Visible = False Me.tabOptions.Visible = True Me.subfrmNotes.Visible = False Me.subfrmContacts.Visible = False Me.tabSupport.Visible = False 'Determine what controls get seen or used For Each ctl In Me.Controls If ctl.Tag <> "" Then ctl.Enabled = False End If Next ElseIf Me("pg" & Me.tabMain).Caption = "Active" Then ElseIf Me("pg" & Me.tabMain).Caption = "SomeText" Then Me.cmdBFM.Enabled = False Else For Each ctl In Me.Controls If ctl.Tag <> "" Then ctl.Enabled = True End If Next Me.tabOptions.Visible = False End If Me.subfrmMain.Requery Me.subfrmNotes.Requery Me.subfrmContacts.Requery Me.txtClientID = Forms!xfrmBeast.tabMain txtInvoiceSearch = "" txtAccountNo = "" If intClientID = 0 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "General Contacts" Me.subfrmNotes.Form.lblAdviceNotes.Caption = "General Notes" Me.lblMain.Caption = "Options and Settings" txtInvoiceSearch.Enabled = False txtAccountNo.Enabled = False ElseIf intClientID = 1 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Active Contacts" Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Active Info" Me.lblMain.Caption = "Details about...us" txtInvoiceSearch.Enabled = False txtAccountNo.Enabled = False ElseIf intClientID = 2 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Contacts for Client: " & Me("pg" & intClientID).Caption Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Notes For Client: " & Me("pg" & intClientID).Caption Me.lblMain.Caption = "Bureau Details for: " & Me("pg" & intClientID).Caption txtInvoiceSearch.Enabled = True txtAccountNo.Enabled = True ElseIf intClientID > 1 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Contacts for Client: " & Me("pg" & intClientID).Caption Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Notes For Client: " & Me("pg" & intClientID).Caption Me.lblMain.Caption = "Bureau Details for: " & Me("pg" & intClientID).Caption txtInvoiceSearch.Enabled = True txtAccountNo.Enabled = True End If rs.Close db.Close Set rs = Nothing Set db = Nothing Exit_tabMain_Change: Exit Sub Err_tabMain_Change: MsgBox Err.Number & " " & Err.Description, vbCritical, "Error in tbMain Change" Resume Exit_tabMain_Change End Sub Many thanks Have a great day Darren ----------------- T: 1300 301 731 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, 9 November 2007 9:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] JIT Forms JC: I have a form with about 16 tabs, a bunch of combo boxes, and a bunch of sub-forms. It will not surprise you to learn that it is taking an unacceptably long time to open - 60 seconds on a smallish database over a wireless connection to my laptop (trying to simulate a slow server). I remember something about a form like this that you had and, I believe, loading the combo boxes and sub forms only when a tab got the focus? The combo boxes are bound so I can't wait to put in the row source until they're clicked. But I could load the row source when the tab was activated - store the row source in the tag and load it if it's not there. But there's no activate or got focus event for a tab. There is a mouse move event but I'm not sure that will do to trigger loading of the Row Source and the sub-forms. How did you solve the problem? Regards, 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.24/1117 - Release Date: 11/7/2007 10:52 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.26/1119 - Release Date: 11/8/2007 5:55 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 9 11:56:16 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 9 Nov 2007 09:56:16 -0800 Subject: [AccessD] JIT Forms In-Reply-To: References: <00a901c82257$3656b390$0301a8c0@HAL9005><200711082337.lA8Nb536031641@databaseadvisors.com><00c901c8226e$82232f30$0301a8c0@HAL9005><000801c82281$9f58ed70$6c7aa8c0@M90><00f801c8228a$9c178f00$0301a8c0@HAL9005><002601c822eb$09fbe060$6c7aa8c0@M90> Message-ID: <003c01c822f9$d36c9990$0301a8c0@HAL9005> Unfortunately, in my case. MOST of the bound fields are not in subforms but scattered throughout the multiple tabs. I think we're going for the one record or very few records approach by modifying the Record Source on the fly rather than using form filters as it is now. Hopefully that reduces what's coming over the wire. Brings up another question - if a filter is set on Open, do all the records come over anyway and access just makes the filtered subset available to the form? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, November 09, 2007 9:35 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] JIT Forms I'm not suggesting binding subforms until they're loaded, John. I don't do that either. I'm saying you don't need a full dataset behind the parent form if all your subforms are going to be bound WHEN THEY'RE LOADED. You can get by with a snapshot of the key fields at most. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, November 09, 2007 8:10 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Charlotte, I don't understand what you are saying here. What problem are you solving? Binding the subforms before they are actually viewed causes the form to slow down as it loads all of the subforms and their respective controls, even though the user may in fact never visit the subforms (that tab). So leave the subform controls with no source object (form name) until the tab is clicked on (JIT subforms). Now in the query for the main form just specify a filter for the PKID of the parent object, claimID if the form displays claims, CustomerID if the form displays customers etc. By feeding the query one specific PKID it will pull only that one record for the main form. The subforms on the tabs do not load until the tab is clicked. That is about as fast as you are going to get to actually load the form and its data. So what are you saying? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, November 09, 2007 10:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] JIT Forms Rocky, If you bind just subforms, not the main form, you solve that problem. Basically, all you need in the main form is the fields to link to, although, they don't have to be in bound controls, so you could populate them from code for each tab. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 08, 2007 8:40 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms I'm good to go. Thanks. However, converting all the combos and subforms to JIT still did not yield an acceptable opening time. The reocrdsource for the main form is retrieving all the records and the navigation buttons are at the bottom of the form. I have asked the client if users would really use those buttons to move from one record to another. I'm thinking not. In which case retrieving one record might be the hot ticket. Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, November 08, 2007 7:36 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms And that is really about all there is to it. Except... You need to be careful about the Link Master / child properties. I leave them set and just change the source object IIRC. Beyond that you need to make the decision whether to leave the subforms bound or unbind them as the user clicks off the tab. And no I don't do anything about loading the combos specifically. Since only the combos on the specific subforms loading are at issue, this will not tend to be a problem. Since everyone else jumped in with info I will let you ask if you need more than that. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 08, 2007 8:19 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Aha. That's what I was looking for. Change event. Too bad there isn't a GotFocus or Activate event for each page. But this will work. I can do a Select Case on the page and load the controls for that page in the case for each tab. That will work! Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren D Sent: Thursday, November 08, 2007 3:37 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Hi Rocky Not so sure about JC's cool JIT logic But there is an OnChange event for Tabs - Way cool very powerful and easy to manipulate See below for some Code snips below I am using for a 10 Tab Form Now it is a snip so some of it may not work correctly etc ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Private Sub tabMain_Change() On Err GoTo Err_tabMain_Change Dim intClientID As Integer intClientID = Me.tabMain Dim tbc As Control Dim pg As Page Dim ctl As Control Dim db As DAO.Database Dim selSQL As String Dim rs As DAO.Recordset Set tbc = Me!tabMain Set pg = tbc.Pages(tbc.Value) 'Current page Set db = CurrentDb selSQL = "SELECT tblClients.ClientID, tblClients.ClientName, tblClients.DatabaseName, tblClients.ClientAbbrev, tblClients.IsCurrent, tblClients.IsNowDeleted FROM tblClients WHERE (((tblClients.IsCurrent)=-1) AND ((tblClients.IsNowDeleted) Is Null Or (tblClients.IsNowDeleted)=0));" Set rs = db.OpenRecordset(selSQL) 'reset things to true or false if true may exist for more thant 1 tab If pg.Name = "pgOptions" Then ' Option Page - Don't show everything for the clients - Show the setup options only Forms!xfrmBeast!subfrmOptions.SourceObject = "sub_frmBeastOptions" Forms!xfrmBeast!subfrmLocalOptions.SourceObject = "sub_frmLocalOptions" Me.subfrmMain.Visible = False Me.tabOptions.Visible = True Me.subfrmNotes.Visible = False Me.subfrmContacts.Visible = False Me.tabSupport.Visible = False 'Determine what controls get seen or used For Each ctl In Me.Controls If ctl.Tag <> "" Then ctl.Enabled = False End If Next ElseIf Me("pg" & Me.tabMain).Caption = "Active" Then ElseIf Me("pg" & Me.tabMain).Caption = "SomeText" Then Me.cmdBFM.Enabled = False Else For Each ctl In Me.Controls If ctl.Tag <> "" Then ctl.Enabled = True End If Next Me.tabOptions.Visible = False End If Me.subfrmMain.Requery Me.subfrmNotes.Requery Me.subfrmContacts.Requery Me.txtClientID = Forms!xfrmBeast.tabMain txtInvoiceSearch = "" txtAccountNo = "" If intClientID = 0 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "General Contacts" Me.subfrmNotes.Form.lblAdviceNotes.Caption = "General Notes" Me.lblMain.Caption = "Options and Settings" txtInvoiceSearch.Enabled = False txtAccountNo.Enabled = False ElseIf intClientID = 1 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Active Contacts" Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Active Info" Me.lblMain.Caption = "Details about...us" txtInvoiceSearch.Enabled = False txtAccountNo.Enabled = False ElseIf intClientID = 2 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Contacts for Client: " & Me("pg" & intClientID).Caption Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Notes For Client: " & Me("pg" & intClientID).Caption Me.lblMain.Caption = "Bureau Details for: " & Me("pg" & intClientID).Caption txtInvoiceSearch.Enabled = True txtAccountNo.Enabled = True ElseIf intClientID > 1 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Contacts for Client: " & Me("pg" & intClientID).Caption Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Notes For Client: " & Me("pg" & intClientID).Caption Me.lblMain.Caption = "Bureau Details for: " & Me("pg" & intClientID).Caption txtInvoiceSearch.Enabled = True txtAccountNo.Enabled = True End If rs.Close db.Close Set rs = Nothing Set db = Nothing Exit_tabMain_Change: Exit Sub Err_tabMain_Change: MsgBox Err.Number & " " & Err.Description, vbCritical, "Error in tbMain Change" Resume Exit_tabMain_Change End Sub Many thanks Have a great day Darren ----------------- T: 1300 301 731 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, 9 November 2007 9:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] JIT Forms JC: I have a form with about 16 tabs, a bunch of combo boxes, and a bunch of sub-forms. It will not surprise you to learn that it is taking an unacceptably long time to open - 60 seconds on a smallish database over a wireless connection to my laptop (trying to simulate a slow server). I remember something about a form like this that you had and, I believe, loading the combo boxes and sub forms only when a tab got the focus? The combo boxes are bound so I can't wait to put in the row source until they're clicked. But I could load the row source when the tab was activated - store the row source in the tag and load it if it's not there. But there's no activate or got focus event for a tab. There is a mouse move event but I'm not sure that will do to trigger loading of the Row Source and the sub-forms. How did you solve the problem? Regards, 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.24/1117 - Release Date: 11/7/2007 10:52 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.26/1119 - Release Date: 11/8/2007 5:55 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.26/1119 - Release Date: 11/8/2007 5:55 PM From jwcolby at colbyconsulting.com Fri Nov 9 12:15:41 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 9 Nov 2007 13:15:41 -0500 Subject: [AccessD] JIT Forms In-Reply-To: <003c01c822f9$d36c9990$0301a8c0@HAL9005> References: <00a901c82257$3656b390$0301a8c0@HAL9005><200711082337.lA8Nb536031641@databaseadvisors.com><00c901c8226e$82232f30$0301a8c0@HAL9005><000801c82281$9f58ed70$6c7aa8c0@M90><00f801c8228a$9c178f00$0301a8c0@HAL9005><002601c822eb$09fbe060$6c7aa8c0@M90> <003c01c822f9$d36c9990$0301a8c0@HAL9005> Message-ID: <002d01c822fc$8a618910$6c7aa8c0@M90> I think so. What I do is set one of my fltr "ClientID", someClientID and then place fltr("ClientID") in the ClientID field (where) of the source query for the form to cause the form to filter down to a single record. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, November 09, 2007 12:56 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Unfortunately, in my case. MOST of the bound fields are not in subforms but scattered throughout the multiple tabs. I think we're going for the one record or very few records approach by modifying the Record Source on the fly rather than using form filters as it is now. Hopefully that reduces what's coming over the wire. Brings up another question - if a filter is set on Open, do all the records come over anyway and access just makes the filtered subset available to the form? Rocky From rockysmolin at bchacc.com Fri Nov 9 12:36:17 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 9 Nov 2007 10:36:17 -0800 Subject: [AccessD] JIT Forms In-Reply-To: <002d01c822fc$8a618910$6c7aa8c0@M90> References: <00a901c82257$3656b390$0301a8c0@HAL9005><200711082337.lA8Nb536031641@databaseadvisors.com><00c901c8226e$82232f30$0301a8c0@HAL9005><000801c82281$9f58ed70$6c7aa8c0@M90><00f801c8228a$9c178f00$0301a8c0@HAL9005><002601c822eb$09fbe060$6c7aa8c0@M90><003c01c822f9$d36c9990$0301a8c0@HAL9005> <002d01c822fc$8a618910$6c7aa8c0@M90> Message-ID: <005001c822ff$6ad92640$0301a8c0@HAL9005> So then you can't be opening the form with the record source set, yes? Because it's likely to execute before you put the filter in the filter in the ClientID field. So are you setting the Record Source after putting the filter into ClientID? And, if so, what's the advantage of just modifying the Record Source in the open (or maybe load?) event and adding the WHERE clause based on the record ID that you want to fetch? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, November 09, 2007 10:16 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms I think so. What I do is set one of my fltr "ClientID", someClientID and then place fltr("ClientID") in the ClientID field (where) of the source query for the form to cause the form to filter down to a single record. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, November 09, 2007 12:56 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Unfortunately, in my case. MOST of the bound fields are not in subforms but scattered throughout the multiple tabs. I think we're going for the one record or very few records approach by modifying the Record Source on the fly rather than using form filters as it is now. Hopefully that reduces what's coming over the wire. Brings up another question - if a filter is set on Open, do all the records come over anyway and access just makes the filtered subset available to the form? Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.26/1119 - Release Date: 11/8/2007 5:55 PM From andy at minstersystems.co.uk Fri Nov 9 12:48:00 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 9 Nov 2007 18:48:00 -0000 Subject: [AccessD] JIT Forms In-Reply-To: <005001c822ff$6ad92640$0301a8c0@HAL9005> Message-ID: <01fd01c82301$10c95ab0$cefa033e@minster33c3r25> What you might want to do Rocky is set the form's recordsource to something wich returns no records, eg WHERE Keyfield=-1. Then you can manipulate the Recordsource when you want to select record or move back and forth, knowing that initially you'll get no records. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin at Beach Access Software > Sent: 09 November 2007 18:36 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] JIT Forms > > > So then you can't be opening the form with the record source > set, yes? Because it's likely to execute before you put the > filter in the filter in the ClientID field. So are you > setting the Record Source after putting the filter into ClientID? > > And, if so, what's the advantage of just modifying the Record > Source in the open (or maybe load?) event and adding the > WHERE clause based on the record ID that you want to fetch? > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Friday, November 09, 2007 10:16 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] JIT Forms > > I think so. What I do is set one of my > > fltr "ClientID", someClientID > > and then place fltr("ClientID") in the ClientID field (where) > of the source query for the form to cause the form to filter > down to a single record. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin at Beach Access Software > Sent: Friday, November 09, 2007 12:56 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] JIT Forms > > Unfortunately, in my case. MOST of the bound fields are not > in subforms but scattered throughout the multiple tabs. > > I think we're going for the one record or very few records > approach by modifying the Record Source on the fly rather > than using form filters as it is now. Hopefully that reduces > what's coming over the wire. > > Brings up another question - if a filter is set on Open, do > all the records come over anyway and access just makes the > filtered subset available to the form? > > Rocky > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.15.26/1119 - Release > Date: 11/8/2007 5:55 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From rockysmolin at bchacc.com Fri Nov 9 12:54:13 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 9 Nov 2007 10:54:13 -0800 Subject: [AccessD] JIT Forms In-Reply-To: <01fd01c82301$10c95ab0$cefa033e@minster33c3r25> References: <005001c822ff$6ad92640$0301a8c0@HAL9005> <01fd01c82301$10c95ab0$cefa033e@minster33c3r25> Message-ID: <005a01c82301$ec1074a0$0301a8c0@HAL9005> Capital idea! Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Friday, November 09, 2007 10:48 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms What you might want to do Rocky is set the form's recordsource to something wich returns no records, eg WHERE Keyfield=-1. Then you can manipulate the Recordsource when you want to select record or move back and forth, knowing that initially you'll get no records. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: 09 November 2007 18:36 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] JIT Forms > > > So then you can't be opening the form with the record source set, yes? > Because it's likely to execute before you put the filter in the filter > in the ClientID field. So are you setting the Record Source after > putting the filter into ClientID? > > And, if so, what's the advantage of just modifying the Record Source > in the open (or maybe load?) event and adding the WHERE clause based > on the record ID that you want to fetch? > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Friday, November 09, 2007 10:16 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] JIT Forms > > I think so. What I do is set one of my > > fltr "ClientID", someClientID > > and then place fltr("ClientID") in the ClientID field (where) of the > source query for the form to cause the form to filter down to a single > record. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Friday, November 09, 2007 12:56 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] JIT Forms > > Unfortunately, in my case. MOST of the bound fields are not in > subforms but scattered throughout the multiple tabs. > > I think we're going for the one record or very few records approach by > modifying the Record Source on the fly rather than using form filters > as it is now. Hopefully that reduces what's coming over the wire. > > Brings up another question - if a filter is set on Open, do all the > records come over anyway and access just makes the filtered subset > available to the form? > > Rocky > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.15.26/1119 - Release > Date: 11/8/2007 5:55 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.26/1119 - Release Date: 11/8/2007 5:55 PM From jwcolby at colbyconsulting.com Fri Nov 9 14:09:26 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 9 Nov 2007 15:09:26 -0500 Subject: [AccessD] JIT Forms In-Reply-To: <005001c822ff$6ad92640$0301a8c0@HAL9005> References: <00a901c82257$3656b390$0301a8c0@HAL9005><200711082337.lA8Nb536031641@databaseadvisors.com><00c901c8226e$82232f30$0301a8c0@HAL9005><000801c82281$9f58ed70$6c7aa8c0@M90><00f801c8228a$9c178f00$0301a8c0@HAL9005><002601c822eb$09fbe060$6c7aa8c0@M90><003c01c822f9$d36c9990$0301a8c0@HAL9005><002d01c822fc$8a618910$6c7aa8c0@M90> <005001c822ff$6ad92640$0301a8c0@HAL9005> Message-ID: <003201c8230c$6dfd0fa0$6c7aa8c0@M90> Nope, the code that opens the form sets the filter, then opens the form. In this kind of situation you will always be selecting some item (claim, person etc) so the code that selects that person then sets the filter and opens the form. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, November 09, 2007 1:36 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms So then you can't be opening the form with the record source set, yes? Because it's likely to execute before you put the filter in the filter in the ClientID field. So are you setting the Record Source after putting the filter into ClientID? And, if so, what's the advantage of just modifying the Record Source in the open (or maybe load?) event and adding the WHERE clause based on the record ID that you want to fetch? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, November 09, 2007 10:16 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms I think so. What I do is set one of my fltr "ClientID", someClientID and then place fltr("ClientID") in the ClientID field (where) of the source query for the form to cause the form to filter down to a single record. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, November 09, 2007 12:56 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Unfortunately, in my case. MOST of the bound fields are not in subforms but scattered throughout the multiple tabs. I think we're going for the one record or very few records approach by modifying the Record Source on the fly rather than using form filters as it is now. Hopefully that reduces what's coming over the wire. Brings up another question - if a filter is set on Open, do all the records come over anyway and access just makes the filtered subset available to the form? Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.26/1119 - Release Date: 11/8/2007 5:55 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Fri Nov 9 14:47:37 2007 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 9 Nov 2007 14:47:37 -0600 Subject: [AccessD] JIT Forms In-Reply-To: <003201c8230c$6dfd0fa0$6c7aa8c0@M90> References: <00a901c82257$3656b390$0301a8c0@HAL9005><200711082337.lA8Nb536031641@databaseadvisors.com><00c901c8226e$82232f30$0301a8c0@HAL9005><000801c82281$9f58ed70$6c7aa8c0@M90><00f801c8228a$9c178f00$0301a8c0@HAL9005><002601c822eb$09fbe060$6c7aa8c0@M90><003c01c822f9$d36c9990$0301a8c0@HAL9005><002d01c822fc$8a618910$6c7aa8c0@M90><005001c822ff$6ad92640$0301a8c0@HAL9005> <003201c8230c$6dfd0fa0$6c7aa8c0@M90> Message-ID: <003401c82311$c33f4960$0200a8c0@danwaters> John - I've been briefly following this thread. Is this being done with an Access BE or with a SQL Server BE? If Access, how much improvement did you see? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, November 09, 2007 2:09 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Nope, the code that opens the form sets the filter, then opens the form. In this kind of situation you will always be selecting some item (claim, person etc) so the code that selects that person then sets the filter and opens the form. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, November 09, 2007 1:36 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms So then you can't be opening the form with the record source set, yes? Because it's likely to execute before you put the filter in the filter in the ClientID field. So are you setting the Record Source after putting the filter into ClientID? And, if so, what's the advantage of just modifying the Record Source in the open (or maybe load?) event and adding the WHERE clause based on the record ID that you want to fetch? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, November 09, 2007 10:16 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms I think so. What I do is set one of my fltr "ClientID", someClientID and then place fltr("ClientID") in the ClientID field (where) of the source query for the form to cause the form to filter down to a single record. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, November 09, 2007 12:56 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Unfortunately, in my case. MOST of the bound fields are not in subforms but scattered throughout the multiple tabs. I think we're going for the one record or very few records approach by modifying the Record Source on the fly rather than using form filters as it is now. Hopefully that reduces what's coming over the wire. Brings up another question - if a filter is set on Open, do all the records come over anyway and access just makes the filtered subset available to the form? Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.26/1119 - Release Date: 11/8/2007 5:55 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 9 15:13:18 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 9 Nov 2007 16:13:18 -0500 Subject: [AccessD] JIT Forms In-Reply-To: <003401c82311$c33f4960$0200a8c0@danwaters> References: <00a901c82257$3656b390$0301a8c0@HAL9005><200711082337.lA8Nb536031641@databaseadvisors.com><00c901c8226e$82232f30$0301a8c0@HAL9005><000801c82281$9f58ed70$6c7aa8c0@M90><00f801c8228a$9c178f00$0301a8c0@HAL9005><002601c822eb$09fbe060$6c7aa8c0@M90><003c01c822f9$d36c9990$0301a8c0@HAL9005><002d01c822fc$8a618910$6c7aa8c0@M90><005001c822ff$6ad92640$0301a8c0@HAL9005><003201c8230c$6dfd0fa0$6c7aa8c0@M90> <003401c82311$c33f4960$0200a8c0@danwaters> Message-ID: <003a01c82315$5a7e9670$6c7aa8c0@M90> Dan, In fact the data store is not the issue, although in my experience an Access data store is often faster than a SQL Server data store. It really doesn't matter however. What you are trying to do in either case is to reduce the data pulled. This discussion is about two strategies, not related. 1) Pull only one record for the main form 2) Use JIT subforms for the child records for the main form. These two strategies increase the speed ("feel") of the system for very different reasons. Pulling only one record for the main form obviously increases the speed simply because the form will not open until a bunch of records are pulled. It does NOT wait for all of them but it does wait for about 100 or so (if there are that many). Thus by pulling just one, the form opens as soon as that one record loads. The JIT subforms increases the speed for a different reason, that being that subforms populate before the main form. Thus the main form has to wait for all the subforms to populate before the main form populates and displays. Obviously, the more subforms, the larger the gains of going to JIT subforms. By implementing both of these strategies you can IN SOME INSTANCES decrease the load time of the main form immensely. In some cases the load time decrease will not be noticeable. It really depends on a number of factors including the number of people in the database, the speed of the network and amount of network traffic, the number of records being pulled in the main form and the number of subforms. It is therefore impossible to generalize about how much it will help, but it will always help some amount. I can tell you that when both of these strategies were applied I dropped the form open time of a VERY complex form with 25 users on a slow network on slow machines from 15-25 seconds down to 3-7 seconds. That is worth doing! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, November 09, 2007 3:48 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms John - I've been briefly following this thread. Is this being done with an Access BE or with a SQL Server BE? If Access, how much improvement did you see? Dan From adtp at airtelbroadband.in Fri Nov 9 23:17:59 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Sat, 10 Nov 2007 10:47:59 +0530 Subject: [AccessD] storing last item on the page References: <001601c820ae$821c9a10$4b3a8343@SusanOne><003301c82105$babcfd40$ 8c57a27a@personalec1122><003f01c8213b$9abb4390$4b3a8343@SusanOne><004101c82 2a5$4dd21160$8a57a27a@personalec1122> <002b01c822e0$ae5fc5f0$4b3a8343@SusanOne> Message-ID: <013401c82361$370678b0$0157a27a@personalec1122> You are most welcome Susan! Thanks for the generous compliment. Glad you could make a success of it. A.D.Tejpal ------------ ----- Original Message ----- From: Susan Harkins To: Access Developers discussion and problem solving Sent: Friday, November 09, 2007 20:26 Subject: Re: [AccessD] storing last item on the page A.D., you are a genius -- you are right, I had the code right, just executing it in reverse! Private Sub PageFooterSection_Format(Cancel As Integer, FormatCount As Integer) Me.txtFooterFirst = Me.txtHeaderFirst Me.txtHeaderLast = Me.txtFooterLast If Me.Pages = 0 Then col.Add Me.txtFooterLast.Value, CStr(Me.Page) End If End Sub Private Sub PageHeaderSection_Print(Cancel As Integer, PrintCount As Integer) Me.txtHeaderLast = col(Me.Page) End Sub Private Sub Report_Close() Set col = Nothing End Sub It's working perfectly now -- thank you A.D. I was going to rearrange things this morning, after sleeping on the problem last night, but your message helped a lot. I would've been working purely on speculation and you gave me a map. ;) Now, I don't know if anyone else agrees with me, but I think this is much simpler than the more common array solution. Susan H. > 2 - Page Footer is the appropriate place to grab a value from last > record of detail section and add it to the collection. You are wrongly > using Page Header for this purpose. > > 3 - You are using Page Footer to assign a value (from collection) to > txtHeaderLast. In view of the nature of forward time flow during report > execution, the effect of such assignment materializes only on the next > page. This defeats the very purpose of building a collection of last > values in forced first pass of formatting. The proper place for making > such an assignment is Page Header (preferably its print event, as by then, > building up of collection during prior formatting pass, is complete). > > Sample code in report's module, as given below, demonstrates collection > based solution. All the four controls (TxtHeaderFirst, TxtHeaderLast, > TxtFooterFirst, TxtFooterLast) are unbound. In the sample code, "Title" is > the name of control in detail section whose first and last values are > required to be displayed in page header as well as footer. You can > substitute the name of actual control in your report, suitably. > > A.D.Tejpal From adtp at airtelbroadband.in Sat Nov 10 00:15:29 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Sat, 10 Nov 2007 11:45:29 +0530 Subject: [AccessD] storing last item on the page References: <001601c820ae$821c9a10$4b3a8343@SusanOne><003301c82105$babcfd40$ 8c57a27a@personalec1122><003f01c8213b$9abb4390$4b3a8343@SusanOne><004101c82 2a5$4dd21160$8a57a27a@personalec1122> <001901c822ca$4bd900b0$6c7aa8c0@M90> Message-ID: <013501c82361$375052f0$0157a27a@personalec1122> John, That is exactly the point. The requirement in this particular case was "point of time value as per flow of report execution". Hence the need for ensuring a collection of the then value held by the control and not the control object itself. Susan's objective was to store page-wise contents of TxtFooterLast (located in page footer) in a collection. With her original code, each element of this collection happened to become a pointer to the text box TxtFooterLast itself, even though Debug.Print statement did show the correct point of time value (as Value happens to be the default property of a text box control). For example, on a three page report, where TxtFooterLast displays "A", "B", "C" respectively on the three pages, the actual collection became: TxtFooterLast, TxtFooterLast, TxtFooterLast (instead of intended "A", "B", "C" as per Debug.Print statement) Best wishes, A.D.Tejpal ------------ ----- Original Message ----- From: jwcolby To: 'Access Developers discussion and problem solving' Sent: Friday, November 09, 2007 17:46 Subject: Re: [AccessD] storing last item on the page A.D. An array can store a control just as easily. And yes, you need to be aware of what you are storing, since if you store a control a number of things can occur that can be confusing. For example, if you store a control, the value of the control can change between when you stored that control and when you use it, and in fact can continue to change as long as the collection is stored. OTOH, if you store the control's VALUE then that value is captured in time, and while the control may continue to change, it's value back when it was stored will still be available. It really depends on what you need to do, but you definitely need to keep this in mind. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Friday, November 09, 2007 2:49 AM To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Subject: Re: [AccessD] storing last item on the page You have not given any reason as to why you wish to avoid array based solution. Apparently, you are keen to implement collection based solution as an alternative. In your second post, describing the unsuccessful attempt to work out collection based solution, you stated "I'm clueless -- I have no idea what's happening here." It is observed that the following factors are contributing to the problem: 1 - You have landed into an interesting pitfall typical of collections. Whenever a collection's Add method is used, you have to be careful as to what exactly is being added. If you use the syntax col.Add Me.MyControl, it becomes a collection of control objects. For making it a collection of control contents, you have to use Value property of the control. 2 - Page Footer is the appropriate place to grab a value from last record of detail section and add it to the collection. You are wrongly using Page Header for this purpose. 3 - You are using Page Footer to assign a value (from collection) to txtHeaderLast. In view of the nature of forward time flow during report execution, the effect of such assignment materializes only on the next page. This defeats the very purpose of building a collection of last values in forced first pass of formatting. The proper place for making such an assignment is Page Header (preferably its print event, as by then, building up of collection during prior formatting pass, is complete). Sample code in report's module, as given below, demonstrates collection based solution. All the four controls (TxtHeaderFirst, TxtHeaderLast, TxtFooterFirst, TxtFooterLast) are unbound. In the sample code, "Title" is the name of control in detail section whose first and last values are required to be displayed in page header as well as footer. You can substitute the name of actual control in your report, suitably. A.D.Tejpal ------------ Code in report's module '================================== ' Declarations section Private col As New Collection '--------------------------------------------------- Private Sub PageFooterSection_Format(Cancel _ As Integer, FormatCount As Integer) Me.TxtFooterLast = Me.Title If Me.Pages = 0 Then col.Add Me.Title.Value, CStr(Me.Page) ' (A) End If ' Caution - There is a potential pitfall here. ' In statement (A), while adding items to ' collection, Value property of the control ' in question MUST be used. Otherwise, ' it will become a collection of control ' objects (not the contents as intended), ' leading to weird results. End Sub '--------------------------------------------------- Private Sub PageHeaderSection_Format(Cancel _ As Integer, FormatCount As Integer) Me.TxtHeaderFirst = Me.Title Me.TxtFooterFirst = Me.Title End Sub '--------------------------------------------------- Private Sub PageHeaderSection_Print(Cancel _ As Integer, PrintCount As Integer) Me.TxtHeaderLast = col(CStr(Me.Page)) End Sub '--------------------------------------------------- Private Sub Report_Close() Set col = Nothing End Sub '================================== ----- Original Message ----- From: Susan Harkins To: Access Developers discussion and problem solving Sent: Wednesday, November 07, 2007 18:11 Subject: Re: [AccessD] storing last item on the page I'm not convinced an array is necessary -- I've seen that solution. Have you seen the collection solution I tried and posted late last night? Susan H. From adtp at airtelbroadband.in Sat Nov 10 07:13:51 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Sat, 10 Nov 2007 18:43:51 +0530 Subject: [AccessD] storing last item on the page References: <001601c820ae$821c9a10$4b3a8343@SusanOne><003301c82105$babcfd40$ 8c57a27a@personalec1122><003f01c8213b$9abb4390$4b3a8343@SusanOne><004101c82 2a5$4dd21160$8a57a27a@personalec1122> <00a301c822e6$57e00220$4b3a8343@SusanOne> Message-ID: <006f01c8239b$b4e504b0$7157a27a@personalec1122> In your code, second statement in page footer's format event is also redundant. The real assignment for txtHeaderLast is taking place in page header's print event. First two lines of existing code block can be removed. The only portion required in page footer's format event is the block of three lines meant to build up the collection. In page header's print event, while retrieving information from collection object, you have used number argument, which returns values as per index position in collection. This method does not take advantage of key strings that you have embedded (via CStr(Me.Page) as the second argument) while adding to the collection. Though in the present case, your results are not affected (being a simple situation), it is considered preferable in the interest of greater reliability to retrieve values using key (where available) instead of number index (specially if the collection is likely to get disturbed for some reason). Second statement in page header's print event would then become: Me.txtHeaderLast = col(CStr(Me.Page)) On the other hand, if you wish to continue using number index, it is not necessary to provide the second argument (for key string) in collection's Add method. The existing statement in page footer's format event would then become: col.Add Me.txtFooterLast.Value A.D.Tejpal ------------ ----- Original Message ----- From: Susan Harkins To: Access Developers discussion and problem solving Sent: Friday, November 09, 2007 21:06 Subject: Re: [AccessD] storing last item on the page Small correction to the previous code I posted -- I had to move the Me.txtFooterFirst statement back to the PageHeaderSection event. Susan H. Private Sub PageFooterSection_Format(Cancel As Integer, FormatCount As Integer) 'Me.txtFooterFirst = Me.txtHeaderFirst Me.txtHeaderLast = Me.txtFooterLast If Me.Pages = 0 Then col.Add Me.txtFooterLast.Value, CStr(Me.Page) End If End Sub Private Sub PageHeaderSection_Print(Cancel As Integer, PrintCount As Integer) Me.txtFooterFirst = Me.txtHeaderFirst Me.txtHeaderLast = col(Me.Page) End Sub Private Sub Report_Close() Set col = Nothing End Sub From dwaters at usinternet.com Sat Nov 10 07:18:51 2007 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 10 Nov 2007 07:18:51 -0600 Subject: [AccessD] Access 2000 Security Patches - Not Included in Office Update Message-ID: <001101c8239c$3cff6520$0200a8c0@danwaters> Tony Toews is reporting on his blog that Access 2000 Security Patches are NOT automatically included with Office Update. But he does describe how to get them: http://msmvps.com/blogs/access/archive/2007/11/09/access-2000-security-patch es.aspx (Watch Wrap) Dan Waters From ssharkins at gmail.com Sat Nov 10 08:33:49 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 10 Nov 2007 09:33:49 -0500 Subject: [AccessD] storing last item on the page References: <001601c820ae$821c9a10$4b3a8343@SusanOne><003301c82105$babcfd40$8c57a27a@personalec1122><003f01c8213b$9abb4390$4b3a8343@SusanOne><004101c822a5$4dd21160$8a57a27a@personalec1122> <00a301c822e6$57e00220$4b3a8343@SusanOne> <006f01c8239b$b4e504b0$7157a27a@personalec1122> Message-ID: <002501c823a6$b905fda0$4b3a8343@SusanOne> > In your code, second statement in page footer's format event is also > redundant. The real assignment for txtHeaderLast is taking place in page > header's print event. First two lines of existing code block can be > removed. The only portion required in page footer's format event is the > block of three lines meant to build up the collection. ======Oh, you're right. I think that's just a residual from my original attempt and I did a bad job of cleaning up. Thanks for pointing that out. > > In page header's print event, while retrieving information from > collection object, you have used number argument, which returns values as > per index position in collection. This method does not take advantage of > key strings that you have embedded (via CStr(Me.Page) as the second > argument) while adding to the collection. Though in the present case, your > results are not affected (being a simple situation), it is considered > preferable in the interest of greater reliability to retrieve values using > key (where available) instead of number index (specially if the collection > is likely to get disturbed for some reason). Second statement in page > header's print event would then become: > > Me.txtHeaderLast = col(CStr(Me.Page)) > > On the other hand, if you wish to continue using number index, it is > not necessary to provide the second argument (for key string) in > collection's Add method. The existing statement in page footer's format > event would then become: > > col.Add Me.txtFooterLast.Value =======I don't understand what you're saying. I'm really sorry -- let me ask a few questions, so you don't have to repeat yourself. I do see the inconsistency now that you point it out -- I use CStr(Me.Page) to store that value as a string, as required by the Collection object, but then I used Me.Page to retrieve members -- so I think what you're saying is that the code isn't even using the Me.Page value to retrieve values? That's where I get lost. If not the Me.Page value, then what? Thanks for your help. Susan H. From bheid at sc.rr.com Sat Nov 10 16:21:23 2007 From: bheid at sc.rr.com (Bobby Heid) Date: Sat, 10 Nov 2007 17:21:23 -0500 Subject: [AccessD] OT: A great night observing In-Reply-To: <003a01c820e9$19c48f00$6c7aa8c0@M90> References: <003a01c820e9$19c48f00$6c7aa8c0@M90> Message-ID: <000f01c823e8$073444f0$159cced0$@rr.com> John, Did you ever get that scope that we talked about? If so, which one? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 06, 2007 9:51 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: A great night observing I had good skies tonight and spent about an hour out looking at the north east quadrant of the skies. I went out specifically to see if I could find the comet Holmes. It turned out to be dead easy using Starry Nights. The program loads the location of comets and satellites and so forth so I was able to print out a star chart with the location of Holmes. It took all of about 2 minutes to find it. It is HUGE, although it is now growing so big that it is really just a big ball of gas with a very slightly brighter center area. I dragged my son Robbie and my wife Mary out to see it. Quite cool. Of course it is also quite cold now (about 38 degrees out right now) so Robbie and Mary quickly hurried back in the house. I stayed out to try and hunt down something else interesting. Being totally new to this stuff I have a lot of difficulty finding things, in fact even knowing where I am looking. I was trying to find the owl cluster and from there the little dumbbell nebula M76 but was not able to do so. I THINK I found the Andromeda galaxy M31. However looking at the chart now (inside the house) I notice that there are three M objects m110, m32 and M31 quite close together and I did not notice any other fuzzy in the immediate neighborhood so perhaps I (once again) was not looking where I thought I was. The area I was looking at was close to directly over head, which makes using the finder a pain. Anyway, it was a fun evening. I spent about an hour out there until my ears were starting to get numb and it was time to pack it in. Saturday the "local" astronomy club is supposed to be meeting at a dark site, specific location to be determined. I hope to make it to the gathering. My telescope is an 8" DOB, an Orion Skyquest XT8 and it has a computerized object locator, a "digital setting circle" which, if I could figure out how to do the scope setup and calibration, would then allow me to "push to" just about any object visible at my location. I am hoping to get some instruction on how to do this from club members Saturday night. John W. Colby Colby Consulting www.ColbyConsulting.com From jwcolby at colbyconsulting.com Sat Nov 10 18:15:16 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 10 Nov 2007 19:15:16 -0500 Subject: [AccessD] OT: A great night observing In-Reply-To: <000f01c823e8$073444f0$159cced0$@rr.com> References: <003a01c820e9$19c48f00$6c7aa8c0@M90> <000f01c823e8$073444f0$159cced0$@rr.com> Message-ID: <005901c823f7$f0bf6af0$6c7aa8c0@M90> I ended up buying a used 8" DOB Orion Intelliscope with digital setting circles and a "push to" computer. The computer will allow you to enter a target object and push the scope manually. The computer will count down to zero as you get closer and closer. When the computer reads 0,0 then you are looking at the object. I have yet to figure that out but I have used the scope manually (without the computer). 8" is nice, and it is easily luggable. I would like to get a 10" or 12" some day but it will be awhile, and I want to use what I have to get to know the skies before I go looking at a bigger scope. If I can Figure out the computer then it will help me actually find some of the many available. I think I found Andromeda the other night. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Saturday, November 10, 2007 5:21 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: A great night observing John, Did you ever get that scope that we talked about? If so, which one? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 06, 2007 9:51 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: A great night observing I had good skies tonight and spent about an hour out looking at the north east quadrant of the skies. I went out specifically to see if I could find the comet Holmes. It turned out to be dead easy using Starry Nights. The program loads the location of comets and satellites and so forth so I was able to print out a star chart with the location of Holmes. It took all of about 2 minutes to find it. It is HUGE, although it is now growing so big that it is really just a big ball of gas with a very slightly brighter center area. I dragged my son Robbie and my wife Mary out to see it. Quite cool. Of course it is also quite cold now (about 38 degrees out right now) so Robbie and Mary quickly hurried back in the house. I stayed out to try and hunt down something else interesting. Being totally new to this stuff I have a lot of difficulty finding things, in fact even knowing where I am looking. I was trying to find the owl cluster and from there the little dumbbell nebula M76 but was not able to do so. I THINK I found the Andromeda galaxy M31. However looking at the chart now (inside the house) I notice that there are three M objects m110, m32 and M31 quite close together and I did not notice any other fuzzy in the immediate neighborhood so perhaps I (once again) was not looking where I thought I was. The area I was looking at was close to directly over head, which makes using the finder a pain. Anyway, it was a fun evening. I spent about an hour out there until my ears were starting to get numb and it was time to pack it in. Saturday the "local" astronomy club is supposed to be meeting at a dark site, specific location to be determined. I hope to make it to the gathering. My telescope is an 8" DOB, an Orion Skyquest XT8 and it has a computerized object locator, a "digital setting circle" which, if I could figure out how to do the scope setup and calibration, would then allow me to "push to" just about any object visible at my location. I am hoping to get some instruction on how to do this from club members Saturday night. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sun Nov 11 13:07:54 2007 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 11 Nov 2007 13:07:54 -0600 Subject: [AccessD] Insert Into with Null Fields Message-ID: <000701c82496$29f8ba80$0200a8c0@danwaters> Sometimes when I write an INSERT INTO string, I have to take into account that a text box or memo field might be null. If there is one possibility of a Null, I have to write and choose from 2 different strings, if there are two possibilities of Null fields, then I have to write and choose from 4 different strings, and so on. Is there a way out of this? Thanks! Dan From ssharkins at gmail.com Sun Nov 11 13:49:18 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 11 Nov 2007 14:49:18 -0500 Subject: [AccessD] Insert Into with Null Fields References: <000701c82496$29f8ba80$0200a8c0@danwaters> Message-ID: <017601c8249b$f4bdf640$4b3a8343@SusanOne> > Sometimes when I write an INSERT INTO string, I have to take into account > that a text box or memo field might be null. If there is one possibility > of > a Null, I have to write and choose from 2 different strings, if there are > two possibilities of Null fields, then I have to write and choose from 4 > different strings, and so on. > > Is there a way out of this? =========I don't understand the need for mutliple statements. Can you provide a simple example? Susan H. From dwaters at usinternet.com Sun Nov 11 14:10:08 2007 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 11 Nov 2007 14:10:08 -0600 Subject: [AccessD] Insert Into with Null Fields In-Reply-To: <017601c8249b$f4bdf640$4b3a8343@SusanOne> References: <000701c82496$29f8ba80$0200a8c0@danwaters> <017601c8249b$f4bdf640$4b3a8343@SusanOne> Message-ID: <000801c8249e$dbce4420$0200a8c0@danwaters> Hi Susan, If IsNull(txtA) then Stg = "INSERT INTO tblMain ( B, C )" _ & " VALUES ('" & txtB & "', '" & txtC & "')" Else Stg = "INSERT INTO tblMain ( A, B, C )" _ & " VALUES ('" & txtA & "', '" & txtB & "', '" & txtC & "')" End If Trying to insert a Null value creates an error. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, November 11, 2007 1:49 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Insert Into with Null Fields > Sometimes when I write an INSERT INTO string, I have to take into account > that a text box or memo field might be null. If there is one possibility > of > a Null, I have to write and choose from 2 different strings, if there are > two possibilities of Null fields, then I have to write and choose from 4 > different strings, and so on. > > Is there a way out of this? =========I don't understand the need for mutliple statements. Can you provide a simple example? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jengross at gte.net Sun Nov 11 14:41:33 2007 From: jengross at gte.net (Jennifer Gross) Date: Sun, 11 Nov 2007 12:41:33 -0800 Subject: [AccessD] Insert Into with Null Fields In-Reply-To: <000801c8249e$dbce4420$0200a8c0@danwaters> Message-ID: <007401c824a3$3f2b2340$6501a8c0@jefferson> Hi Dan, Perhaps setting the Allow Nulls property of the field in the table to true will work. Jennifer -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, November 11, 2007 12:10 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Insert Into with Null Fields Hi Susan, If IsNull(txtA) then Stg = "INSERT INTO tblMain ( B, C )" _ & " VALUES ('" & txtB & "', '" & txtC & "')" Else Stg = "INSERT INTO tblMain ( A, B, C )" _ & " VALUES ('" & txtA & "', '" & txtB & "', '" & txtC & "')" End If Trying to insert a Null value creates an error. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, November 11, 2007 1:49 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Insert Into with Null Fields > Sometimes when I write an INSERT INTO string, I have to take into > account that a text box or memo field might be null. If there is one > possibility of a Null, I have to write and choose from 2 different > strings, if there are two possibilities of Null fields, then I have to > write and choose from 4 different strings, and so on. > > Is there a way out of this? =========I don't understand the need for mutliple statements. Can you provide a simple example? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Sun Nov 11 17:26:56 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 11 Nov 2007 18:26:56 -0500 Subject: [AccessD] Explanation of ! in Nz function Message-ID: <008801c824ba$5c66b110$4b3a8343@SusanOne> Would someone please explain the use of the ! character in the following function: Nz(!CustomerID) I've never seen this before. Susan H. From jengross at gte.net Sun Nov 11 17:53:20 2007 From: jengross at gte.net (Jennifer Gross) Date: Sun, 11 Nov 2007 15:53:20 -0800 Subject: [AccessD] Explanation of ! in Nz function In-Reply-To: <008801c824ba$5c66b110$4b3a8343@SusanOne> Message-ID: <009b01c824be$0b6e18d0$6501a8c0@jefferson> Hi Susan, My guess is that it is wrapped inside of a With statement so that you don't have to specifically indicate the name of the recordset. Jennifer -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, November 11, 2007 3:27 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Explanation of ! in Nz function Would someone please explain the use of the ! character in the following function: Nz(!CustomerID) I've never seen this before. 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 Sun Nov 11 18:04:00 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 11 Nov 2007 19:04:00 -0500 Subject: [AccessD] Explanation of ! in Nz function References: <009b01c824be$0b6e18d0$6501a8c0@jefferson> Message-ID: <00c301c824bf$9f264ce0$4b3a8343@SusanOne> OH! I hadn't thought of that -- thanks. I'm sure you're right. Susan H. > Hi Susan, > > My guess is that it is wrapped inside of a With statement so that you > don't have to specifically indicate the name of the recordset. From ssharkins at gmail.com Sun Nov 11 18:18:08 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 11 Nov 2007 19:18:08 -0500 Subject: [AccessD] Insert Into with Null Fields References: <000701c82496$29f8ba80$0200a8c0@danwaters><017601c8249b$f4bdf640$4b3a8343@SusanOne> <000801c8249e$dbce4420$0200a8c0@danwaters> Message-ID: <00ce01c824c1$845721d0$4b3a8343@SusanOne> INSERT INTO doesn't care if a value doesn't exist, it only cares about the placeholder. When txtA is empty, insert a zero-length string. If IsNull(txtA) then txtA = '' Stg = "INSERT INTO tblMain ( A, B, C )" _ & " VALUES ('" & txtA & "', '" & txtB & "', '" & txtC & "')" Susan H. ----- Original Message ----- From: "Dan Waters" To: "'Access Developers discussion and problem solving'" Sent: Sunday, November 11, 2007 3:10 PM Subject: Re: [AccessD] Insert Into with Null Fields > Hi Susan, > > If IsNull(txtA) then > Stg = "INSERT INTO tblMain ( B, C )" _ > & " VALUES ('" & txtB & "', '" & txtC & "')" > Else > Stg = "INSERT INTO tblMain ( A, B, C )" _ > & " VALUES ('" & txtA & "', '" & txtB & "', '" & txtC & "')" > End If > > Trying to insert a Null value creates an error. > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: Sunday, November 11, 2007 1:49 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Insert Into with Null Fields > > > >> Sometimes when I write an INSERT INTO string, I have to take into account >> that a text box or memo field might be null. If there is one possibility >> of >> a Null, I have to write and choose from 2 different strings, if there are >> two possibilities of Null fields, then I have to write and choose from 4 >> different strings, and so on. >> >> Is there a way out of this? > > =========I don't understand the need for mutliple statements. Can you > provide a simple example? > > Susan H. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sun Nov 11 18:49:30 2007 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 11 Nov 2007 18:49:30 -0600 Subject: [AccessD] Insert Into with Null Fields In-Reply-To: <00ce01c824c1$845721d0$4b3a8343@SusanOne> References: <000701c82496$29f8ba80$0200a8c0@danwaters><017601c8249b$f4bdf640$4b3a8343@SusanOne><000801c8249e$dbce4420$0200a8c0@danwaters> <00ce01c824c1$845721d0$4b3a8343@SusanOne> Message-ID: <000001c824c5$e2cf41d0$0200a8c0@danwaters> Thanks Susan! I'll try this out. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, November 11, 2007 6:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Insert Into with Null Fields INSERT INTO doesn't care if a value doesn't exist, it only cares about the placeholder. When txtA is empty, insert a zero-length string. If IsNull(txtA) then txtA = '' Stg = "INSERT INTO tblMain ( A, B, C )" _ & " VALUES ('" & txtA & "', '" & txtB & "', '" & txtC & "')" Susan H. ----- Original Message ----- From: "Dan Waters" To: "'Access Developers discussion and problem solving'" Sent: Sunday, November 11, 2007 3:10 PM Subject: Re: [AccessD] Insert Into with Null Fields > Hi Susan, > > If IsNull(txtA) then > Stg = "INSERT INTO tblMain ( B, C )" _ > & " VALUES ('" & txtB & "', '" & txtC & "')" > Else > Stg = "INSERT INTO tblMain ( A, B, C )" _ > & " VALUES ('" & txtA & "', '" & txtB & "', '" & txtC & "')" > End If > > Trying to insert a Null value creates an error. > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: Sunday, November 11, 2007 1:49 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Insert Into with Null Fields > > > >> Sometimes when I write an INSERT INTO string, I have to take into account >> that a text box or memo field might be null. If there is one possibility >> of >> a Null, I have to write and choose from 2 different strings, if there are >> two possibilities of Null fields, then I have to write and choose from 4 >> different strings, and so on. >> >> Is there a way out of this? > > =========I don't understand the need for mutliple statements. Can you > provide a simple example? > > Susan H. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Sun Nov 11 18:55:10 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 11 Nov 2007 19:55:10 -0500 Subject: [AccessD] Insert Into with Null Fields References: <000701c82496$29f8ba80$0200a8c0@danwaters><017601c8249b$f4bdf640$4b3a8343@SusanOne><000801c8249e$dbce4420$0200a8c0@danwaters><00ce01c824c1$845721d0$4b3a8343@SusanOne> <000001c824c5$e2cf41d0$0200a8c0@danwaters> Message-ID: <001601c824c6$af2c26d0$4b3a8343@SusanOne> Dan, just in case -- that placeholder -- '' is two single quotation marks, not one double quotation mark. I should've mentioned before. Susan H. > Thanks Susan! > > I'll try this out. > > Dan > > INSERT INTO doesn't care if a value doesn't exist, it only cares about the > placeholder. When txtA is empty, insert a zero-length string. > > If IsNull(txtA) then txtA = '' > > Stg = "INSERT INTO tblMain ( A, B, C )" _ > & " VALUES ('" & txtA & "', '" & txtB & "', '" & txtC & "')" > > Susan H. From adtp at airtelbroadband.in Sun Nov 11 23:57:58 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Mon, 12 Nov 2007 11:27:58 +0530 Subject: [AccessD] storing last item on the page References: <001601c820ae$821c9a10$4b3a8343@SusanOne><003301c82105$babcfd40$ 8c57a27a@personalec1122><003f01c8213b$9abb4390$4b3a8343@SusanOne><004101c82 2a5$4dd21160$8a57a27a@personalec1122><00a301c822e6$57e00220$4b3a8343@SusanO ne><006f01c8239b$b4e504b0$7157a27a@personalec1122> <002501c823a6$b905fda0$4b3a8343@SusanOne> Message-ID: <00bb01c824f1$07fb3100$bb57a27a@personalec1122> While using collection's Add method, second argument is optional and gets stored as the key for identifying the particular element. As a parallel, it is like the primary key value for a record. Let us presume that txtFooterLast displays "LV-1", "LV-2", "LV-3" and "LV-4" on page number 1 to 4 respectively. Your Add statement reads: col.Add Me.txtFooterLast.Value, CStr(Me.Page) This means that "1" to "4" get stored as the key string values for elements "LV-1" to "LV-4" respectively of the collection. In this state, the index position of the four elements is 1 to 4. The results fetched by the following two statements for page 3 will be identical: (a) Syntax: col(CStr(Me.Page)) - using key: col("3") fetches "LV-3" (b) Syntax: col(Me.Page) - using index position: col(3) also fetches "LV-3" If, for some reason (although not likely in this particular case), second element of collection were to be removed, and then re-added as "LLVV-2" with key "2" for page 2, the existing 3rd & 4th elements will move up to 2nd & 3rd positions respectively, while the newly added element "LLVV-2" will occupy the last i.e. fourth position (unless you take special care to specify its position in Add statement by making use of optional third & fourth arguments). In this state, syntax as per (a) above, using key string will still fetch the correct value "LV-3" for page 3. However, with the other syntax as per (b) above, using index position, incorrect value of "LV-4" will get fetched for page 3. It is therefore considered a preferable practice to use key values (if available) for retrieving information from a collection. It is observed that you have already taken the trouble of embedding the key strings during Add process. That being so, better use it for retrieval (i.e. col(CStr(Me.Page)) in preference to col(Me.Page)). Reverting to our parallel with a recordset, it is like using the primary key value rather than record number while locating a record. As mentioned earlier, your current exercise does not run the risk of collection once built, getting disturbed. As such, if you are particularly keen to keep everything absolutely simple, you can avoid using the second argument in Add method. That statement would become: col.Add Me.txtFooterLast.Value And then you can continue to use the following statement for retrieval: Me.txtHeaderLast = col(Me.Page) A.D.Tejpal ------------ ----- Original Message ----- From: Susan Harkins To: Access Developers discussion and problem solving Sent: Saturday, November 10, 2007 20:03 Subject: Re: [AccessD] storing last item on the page > In your code, second statement in page footer's format event is also > redundant. The real assignment for txtHeaderLast is taking place in page > header's print event. First two lines of existing code block can be > removed. The only portion required in page footer's format event is the > block of three lines meant to build up the collection. ======Oh, you're right. I think that's just a residual from my original attempt and I did a bad job of cleaning up. Thanks for pointing that out. > > In page header's print event, while retrieving information from > collection object, you have used number argument, which returns values as > per index position in collection. This method does not take advantage of > key strings that you have embedded (via CStr(Me.Page) as the second > argument) while adding to the collection. Though in the present case, your > results are not affected (being a simple situation), it is considered > preferable in the interest of greater reliability to retrieve values using > key (where available) instead of number index (specially if the collection > is likely to get disturbed for some reason). Second statement in page > header's print event would then become: > > Me.txtHeaderLast = col(CStr(Me.Page)) > > On the other hand, if you wish to continue using number index, it is > not necessary to provide the second argument (for key string) in > collection's Add method. The existing statement in page footer's format > event would then become: > > col.Add Me.txtFooterLast.Value =======I don't understand what you're saying. I'm really sorry -- let me ask a few questions, so you don't have to repeat yourself. I do see the inconsistency now that you point it out -- I use CStr(Me.Page) to store that value as a string, as required by the Collection object, but then I used Me.Page to retrieve members -- so I think what you're saying is that the code isn't even using the Me.Page value to retrieve values? That's where I get lost. If not the Me.Page value, then what? Thanks for your help. Susan H. From Gustav at cactus.dk Mon Nov 12 02:43:16 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 12 Nov 2007 09:43:16 +0100 Subject: [AccessD] Insert Into with Null Fields Message-ID: Hi Dan If your fields doesn't allow for zero length strings but do accept Nulls, you can use: ' Replace zero-length strings with 'Null' and wrap strings in quotes. varA = IIf(Len(Nz(txtA), vbNullString)=0, "Null", "'" & txtA & "'") varB = IIf(Len(Nz(txtB), vbNullString)=0, "Null", "'" & txtB & "'") varC = IIf(Len(Nz(txtC), vbNullString)=0, "Null", "'" & txtC & "'") ' Build SQL string with the word Null for empty variables. Stg = "INSERT INTO tblMain ( A, B, C )" _ & " VALUES (" & varA & ", " & varB & ", " & varC & ")" /gustav >>> dwaters at usinternet.com 11-11-2007 20:07 >>> Sometimes when I write an INSERT INTO string, I have to take into account that a text box or memo field might be null. If there is one possibility of a Null, I have to write and choose from 2 different strings, if there are two possibilities of Null fields, then I have to write and choose from 4 different strings, and so on. Is there a way out of this? Thanks! Dan From ssharkins at gmail.com Mon Nov 12 06:56:20 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 12 Nov 2007 07:56:20 -0500 Subject: [AccessD] storing last item on the page References: <001601c820ae$821c9a10$4b3a8343@SusanOne><003301c82105$babcfd40$8c57a27a@personalec1122><003f01c8213b$9abb4390$4b3a8343@SusanOne><004101c822a5$4dd21160$8a57a27a@personalec1122><00a301c822e6$57e00220$4b3a8343@SusanOne><006f01c8239b$b4e504b0$7157a27a@personalec1122> <002501c823a6$b905fda0$4b3a8343@SusanOne> <00bb01c824f1$07fb3100$bb57a27a@personalec1122> Message-ID: <008601c8252b$7254a330$4b3a8343@SusanOne> I worked through this a little last night and you're right. I totally missed the logic there -- thanks. But I do have a question for you. > This means that "1" to "4" get stored as the key string values for > elements "LV-1" to "LV-4" respectively of the collection. In this state, > the index position of the four elements is 1 to 4. The results fetched by > the following two statements for page 3 will be identical: > > (a) Syntax: col(CStr(Me.Page)) - using key: > col("3") fetches "LV-3" > > (b) Syntax: col(Me.Page) - using index position: > col(3) also fetches "LV-3" > > If, for some reason (although not likely in this particular case), > second element of collection were to be removed, and then re-added as > "LLVV-2" with key "2" for page 2, the existing 3rd & 4th elements will > move up to 2nd & 3rd positions respectively, while the newly added element > "LLVV-2" will occupy the last i.e. fourth position (unless you take > special care to specify its position in Add statement by making use of > optional third & fourth arguments). ======The whole point of using Me.Page as the key value was to make sure there was an identical match when I retrieved the value using Me.Page. I see where storing Me.Page as the key is unnecessary in this particular case. But wouldn't storing Me.Page as the key keep the above from happening? It sounds like the key value is retrieving by position and not by actual value? Susan H. From dwaters at usinternet.com Mon Nov 12 07:44:56 2007 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 12 Nov 2007 07:44:56 -0600 Subject: [AccessD] Insert Into with Null Fields In-Reply-To: References: Message-ID: <000901c82532$365fa710$0200a8c0@danwaters> Gustav, This is interesting! This looks like something of a syntax trick to build the string you want. Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, November 12, 2007 2:43 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Insert Into with Null Fields Hi Dan If your fields doesn't allow for zero length strings but do accept Nulls, you can use: ' Replace zero-length strings with 'Null' and wrap strings in quotes. varA = IIf(Len(Nz(txtA), vbNullString)=0, "Null", "'" & txtA & "'") varB = IIf(Len(Nz(txtB), vbNullString)=0, "Null", "'" & txtB & "'") varC = IIf(Len(Nz(txtC), vbNullString)=0, "Null", "'" & txtC & "'") ' Build SQL string with the word Null for empty variables. Stg = "INSERT INTO tblMain ( A, B, C )" _ & " VALUES (" & varA & ", " & varB & ", " & varC & ")" /gustav >>> dwaters at usinternet.com 11-11-2007 20:07 >>> Sometimes when I write an INSERT INTO string, I have to take into account that a text box or memo field might be null. If there is one possibility of a Null, I have to write and choose from 2 different strings, if there are two possibilities of Null fields, then I have to write and choose from 4 different strings, and so on. Is there a way out of this? Thanks! Dan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at airtelbroadband.in Mon Nov 12 07:53:41 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Mon, 12 Nov 2007 19:23:41 +0530 Subject: [AccessD] storing last item on the page References: <001601c820ae$821c9a10$4b3a8343@SusanOne><003301c82105$babcfd40$ 8c57a27a@personalec1122><003f01c8213b$9abb4390$4b3a8343@SusanOne><004101c82 2a5$4dd21160$8a57a27a@personalec1122><00a301c822e6$57e00220$4b3a8343@SusanO ne><006f01c8239b$b4e504b0$7157a27a@personalec1122><002501c823a6$b905fda0$4b 3a8343@SusanOne><00bb01c824f1$07fb3100$bb57a27a@personalec1122> <008601c8252b$7254a330$4b3a8343@SusanOne> Message-ID: <006501c82533$901eda40$9957a27a@personalec1122> If you do wish to pass the second argument (which is optional) to serve as key, it has to be a string. That is why you correctly used CStr(Me.Page) instead of mere Me.Page. For element pertaining to page 3, key becomes "3", while its index position (i.e. element number is 3). If you retrieve by using col(Me.Page) for page 3, it translates to col(3). It gets you the third element in collection, irrespective of its key. If retrieval is made by using col(CStr(Me.Page)), it will translate to col("3") and get you the element having "3" as its key, irrespective of its position in the collection. In your particular case, being a simple undisturbed collection, the results in either case are identical. A.D.Tejpal ------------ ----- Original Message ----- From: Susan Harkins To: Access Developers discussion and problem solving Sent: Monday, November 12, 2007 18:26 Subject: Re: [AccessD] storing last item on the page I worked through this a little last night and you're right. I totally missed the logic there -- thanks. But I do have a question for you. > This means that "1" to "4" get stored as the key string values for > elements "LV-1" to "LV-4" respectively of the collection. In this state, > the index position of the four elements is 1 to 4. The results fetched by > the following two statements for page 3 will be identical: > > (a) Syntax: col(CStr(Me.Page)) - using key: > col("3") fetches "LV-3" > > (b) Syntax: col(Me.Page) - using index position: > col(3) also fetches "LV-3" > > If, for some reason (although not likely in this particular case), > second element of collection were to be removed, and then re-added as > "LLVV-2" with key "2" for page 2, the existing 3rd & 4th elements will > move up to 2nd & 3rd positions respectively, while the newly added element > "LLVV-2" will occupy the last i.e. fourth position (unless you take > special care to specify its position in Add statement by making use of > optional third & fourth arguments). ======The whole point of using Me.Page as the key value was to make sure there was an identical match when I retrieved the value using Me.Page. I see where storing Me.Page as the key is unnecessary in this particular case. But wouldn't storing Me.Page as the key keep the above from happening? It sounds like the key value is retrieving by position and not by actual value? Susan H. From ssharkins at gmail.com Mon Nov 12 08:08:26 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 12 Nov 2007 09:08:26 -0500 Subject: [AccessD] storing last item on the page References: <001601c820ae$821c9a10$4b3a8343@SusanOne><003301c82105$babcfd40$8c57a27a@personalec1122><003f01c8213b$9abb4390$4b3a8343@SusanOne><004101c822a5$4dd21160$8a57a27a@personalec1122><00a301c822e6$57e00220$4b3a8343@SusanOne><006f01c8239b$b4e504b0$7157a27a@personalec1122><002501c823a6$b905fda0$4b3a8343@SusanOne><00bb01c824f1$07fb3100$bb57a27a@personalec1122> <008601c8252b$7254a330$4b3a8343@SusanOne> <006501c82533$901eda40$9957a27a@personalec1122> Message-ID: <001501c82535$8088c300$4b3a8343@SusanOne> OH!!!! I get it -- thanks so much A.P. -- that definitely clears things up for me. Susan H. > If you do wish to pass the second argument (which is optional) to serve > as key, it has to be a string. That is why you correctly used > CStr(Me.Page) instead of mere Me.Page. For element pertaining to page 3, > key becomes "3", while its index position (i.e. element number is 3). > > If you retrieve by using col(Me.Page) for page 3, it translates to > col(3). It gets you the third element in collection, irrespective of its > key. If retrieval is made by using col(CStr(Me.Page)), it will translate > to col("3") and get you the element having "3" as its key, irrespective of > its position in the collection. In your particular case, being a simple > undisturbed collection, the results in either case are identical. > > A.D.Tejpal > ------------ > > ----- Original Message ----- > From: Susan Harkins > To: Access Developers discussion and problem solving > Sent: Monday, November 12, 2007 18:26 > Subject: Re: [AccessD] storing last item on the page > > > I worked through this a little last night and you're right. I totally > missed > the logic there -- thanks. But I do have a question for you. > > > > This means that "1" to "4" get stored as the key string values for > > elements "LV-1" to "LV-4" respectively of the collection. In this > state, > > the index position of the four elements is 1 to 4. The results fetched > by > > the following two statements for page 3 will be identical: > > > > (a) Syntax: col(CStr(Me.Page)) - using key: > > col("3") fetches "LV-3" > > > > (b) Syntax: col(Me.Page) - using index position: > > col(3) also fetches "LV-3" > > > > If, for some reason (although not likely in this particular case), > > second element of collection were to be removed, and then re-added as > > "LLVV-2" with key "2" for page 2, the existing 3rd & 4th elements will > > move up to 2nd & 3rd positions respectively, while the newly added > element > > "LLVV-2" will occupy the last i.e. fourth position (unless you take > > special care to specify its position in Add statement by making use of > > optional third & fourth arguments). > > ======The whole point of using Me.Page as the key value was to make sure > there was an identical match when I retrieved the value using Me.Page. I > see > where storing Me.Page as the key is unnecessary in this particular case. > But > wouldn't storing Me.Page as the key keep the above from happening? It > sounds > like the key value is retrieving by position and not by actual value? > > Susan H. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Nov 12 09:11:59 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 12 Nov 2007 07:11:59 -0800 Subject: [AccessD] Conditional Formatting - Current Record Message-ID: <003901c8253e$5f6c9210$0301a8c0@HAL9005> Dear List: I am trying to use conditional formatting to change the background color of a control when it is the current record. Control is actually on a sub-form but I don't think that's relevant. What is the expression I need in the conditional formatting dialog box to do this? MTIA Rocky From dwaters at usinternet.com Mon Nov 12 09:28:57 2007 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 12 Nov 2007 09:28:57 -0600 Subject: [AccessD] Conditional Formatting - Current Record In-Reply-To: <003901c8253e$5f6c9210$0301a8c0@HAL9005> References: <003901c8253e$5f6c9210$0301a8c0@HAL9005> Message-ID: <001001c82540$be3afa50$0200a8c0@danwaters> Rocky, In design view, the select the text box or combobox. Go to conditional formatting. Select 'Field has Focus'. Select your background color. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 12, 2007 9:12 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Conditional Formatting - Current Record Dear List: I am trying to use conditional formatting to change the background color of a control when it is the current record. Control is actually on a sub-form but I don't think that's relevant. What is the expression I need in the conditional formatting dialog box to do this? 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 Mon Nov 12 09:53:10 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 12 Nov 2007 07:53:10 -0800 Subject: [AccessD] Conditional Formatting - Current Record In-Reply-To: <001001c82540$be3afa50$0200a8c0@danwaters> References: <003901c8253e$5f6c9210$0301a8c0@HAL9005> <001001c82540$be3afa50$0200a8c0@danwaters> Message-ID: <005c01c82544$2018d000$0301a8c0@HAL9005> Dan: It doesn't work because the field never gets the focus. I did this on another app and the way I did it was to put a text box on the detail section, move to back and change the color of the text box when the record got the focus. There's no conditional formatting of the detail section. I was able to do this in an expression by comparing the Autonumber ID of the current record with an invisible text box in the header section. But it was a simple bound form with no subforms. That won't work in this case - the subform data is coming from another table. There must be some trick to telling the conditional formatting to operate on the current record only. Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, November 12, 2007 7:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Conditional Formatting - Current Record Rocky, In design view, the select the text box or combobox. Go to conditional formatting. Select 'Field has Focus'. Select your background color. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 12, 2007 9:12 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Conditional Formatting - Current Record Dear List: I am trying to use conditional formatting to change the background color of a control when it is the current record. Control is actually on a sub-form but I don't think that's relevant. What is the expression I need in the conditional formatting dialog box to do this? 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.30/1125 - Release Date: 11/11/2007 9:50 PM From jwcolby at colbyconsulting.com Mon Nov 12 10:01:12 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 12 Nov 2007 11:01:12 -0500 Subject: [AccessD] summing in a crosstab Message-ID: <00b201c82545$3faa5dc0$6c7aa8c0@M90> I am doing a count like this 10 11 12 13 14 15 16 17 etc AK AL AR AZ This is by state, by boat length. However the user wants the boat lengths grouped, i.e. a single column for 10-15, 15-20 etc. where I have summed the counts for 10,11,12,13,14, and 15 and display that in a single column. Is this possible in a single query or am I going to have to go to a separate query to sum the lengths by state and then add that in to the crosstab somehow? John W. Colby Colby Consulting www.ColbyConsulting.com From Gustav at cactus.dk Mon Nov 12 10:15:41 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 12 Nov 2007 17:15:41 +0100 Subject: [AccessD] summing in a crosstab Message-ID: Hi John The "secret" function Partition (look up the on-line help) is what you are looking for. /gustav >>> jwcolby at colbyconsulting.com 12-11-2007 17:01 >>> I am doing a count like this 10 11 12 13 14 15 16 17 etc AK AL AR AZ This is by state, by boat length. However the user wants the boat lengths grouped, i.e. a single column for 10-15, 15-20 etc. where I have summed the counts for 10,11,12,13,14, and 15 and display that in a single column. Is this possible in a single query or am I going to have to go to a separate query to sum the lengths by state and then add that in to the crosstab somehow? John W. Colby Colby Consulting www.ColbyConsulting.com From adtp at airtelbroadband.in Mon Nov 12 12:06:10 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Mon, 12 Nov 2007 23:36:10 +0530 Subject: [AccessD] Insert Into with Null Fields References: <000701c82496$29f8ba80$0200a8c0@danwaters><017601c8249b$f4bdf640 $4b3a8343@SusanOne> <000801c8249e$dbce4420$0200a8c0@danwaters> Message-ID: <00fd01c82556$e1d1b010$9557a27a@personalec1122> Dan, As an interesting alternative with significant advantages, VALUES clause can be replaced by SELECT clause. Sample code in form's module, as given at (A) below, demonstrates this approach. If it happens to be a subform, the code given at (B) below would be applicable. With this technique, all your problems should stand resolved. Some of the advantages inherent in this method are: 1 - While building the SQL string, you don't have to worry about data type. 2 - If the source text box is blank, Null value gets inserted in the destination field (Required property set to No). 3 - If there are any embedded quotes (whether single, double or various combinations of these) in the contents of source text box, the same get faithfully transferred to destination field without needing any special treatment. If such a task were to be implemented via VALUES clause, tedious prior fixing of such embedded quotes would have been necessary. Note - As form based parameters are involved, DoCmd.RunSQL method has been used instead of CurrentDb.Execute. Best wishes, A.D.Tejpal ------------ A - Code in independent form's module F_Main is the name of this form. TxtA, TxtB and TxtC are text boxes whose values are to be appended to fields A, B & C respectively in table T_Main. (T_Dummy is a single field single record table). '===================================== Private Sub CmdAppend_Click() Dim Qst As String Qst = "INSERT INTO T_Main (A, B, C) " & _ "SELECT Forms!F_Main!TxtA, " & _ "Forms!F_Main!TxtB, " & _ "Forms!F_Main!TxtC FROM T_Dummy;" DoCmd.SetWarnings False DoCmd.RunSQL Qst DoCmd.SetWarnings True End Sub '===================================== B - Code in subform's module F_Main is the name of parent form. SF_Sub is the name of control serving as container for the subform. Txt1, Txt2 and Txt3 are text boxes on the subform whose values are to be appended to fields A, B & C respectively in table T_Main. (T_Dummy is a single field single record table). '===================================== Private Sub CmdAppend_Click() Dim Qst As String Qst = "INSERT INTO T_Main (A, B, C) " & _ "SELECT Forms!F_Main!SF_Sub!Txt1, " & _ "Forms!F_Main!SF_Sub!Txt2, " & _ "Forms!F_Main!SF_Sub!Txt3 FROM T_Dummy;" DoCmd.SetWarnings False DoCmd.RunSQL Qst DoCmd.SetWarnings True End Sub '===================================== ----- Original Message ----- From: Dan Waters To: 'Access Developers discussion and problem solving' Sent: Monday, November 12, 2007 01:40 Subject: Re: [AccessD] Insert Into with Null Fields Hi Susan, If IsNull(txtA) then Stg = "INSERT INTO tblMain ( B, C )" _ & " VALUES ('" & txtB & "', '" & txtC & "')" Else Stg = "INSERT INTO tblMain ( A, B, C )" _ & " VALUES ('" & txtA & "', '" & txtB & "', '" & txtC & "')" End If Trying to insert a Null value creates an error. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, November 11, 2007 1:49 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Insert Into with Null Fields > Sometimes when I write an INSERT INTO string, I have to take into account > that a text box or memo field might be null. If there is one possibility > of a Null, I have to write and choose from 2 different strings, if there are > two possibilities of Null fields, then I have to write and choose from 4 > different strings, and so on. > > Is there a way out of this? =========I don't understand the need for mutliple statements. Can you provide a simple example? Susan H. From dwaters at usinternet.com Mon Nov 12 12:34:50 2007 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 12 Nov 2007 12:34:50 -0600 Subject: [AccessD] Insert Into with Null Fields In-Reply-To: <00fd01c82556$e1d1b010$9557a27a@personalec1122> References: <000701c82496$29f8ba80$0200a8c0@danwaters><017601c8249b$f4bdf640$4b3a8343@SusanOne> <000801c8249e$dbce4420$0200a8c0@danwaters> <00fd01c82556$e1d1b010$9557a27a@personalec1122> Message-ID: <001c01c8255a$b62c73b0$0200a8c0@danwaters> Hello A.D. This is absolutely clever! Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Monday, November 12, 2007 12:06 PM To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Subject: Re: [AccessD] Insert Into with Null Fields Dan, As an interesting alternative with significant advantages, VALUES clause can be replaced by SELECT clause. Sample code in form's module, as given at (A) below, demonstrates this approach. If it happens to be a subform, the code given at (B) below would be applicable. With this technique, all your problems should stand resolved. Some of the advantages inherent in this method are: 1 - While building the SQL string, you don't have to worry about data type. 2 - If the source text box is blank, Null value gets inserted in the destination field (Required property set to No). 3 - If there are any embedded quotes (whether single, double or various combinations of these) in the contents of source text box, the same get faithfully transferred to destination field without needing any special treatment. If such a task were to be implemented via VALUES clause, tedious prior fixing of such embedded quotes would have been necessary. Note - As form based parameters are involved, DoCmd.RunSQL method has been used instead of CurrentDb.Execute. Best wishes, A.D.Tejpal ------------ A - Code in independent form's module F_Main is the name of this form. TxtA, TxtB and TxtC are text boxes whose values are to be appended to fields A, B & C respectively in table T_Main. (T_Dummy is a single field single record table). '===================================== Private Sub CmdAppend_Click() Dim Qst As String Qst = "INSERT INTO T_Main (A, B, C) " & _ "SELECT Forms!F_Main!TxtA, " & _ "Forms!F_Main!TxtB, " & _ "Forms!F_Main!TxtC FROM T_Dummy;" DoCmd.SetWarnings False DoCmd.RunSQL Qst DoCmd.SetWarnings True End Sub '===================================== B - Code in subform's module F_Main is the name of parent form. SF_Sub is the name of control serving as container for the subform. Txt1, Txt2 and Txt3 are text boxes on the subform whose values are to be appended to fields A, B & C respectively in table T_Main. (T_Dummy is a single field single record table). '===================================== Private Sub CmdAppend_Click() Dim Qst As String Qst = "INSERT INTO T_Main (A, B, C) " & _ "SELECT Forms!F_Main!SF_Sub!Txt1, " & _ "Forms!F_Main!SF_Sub!Txt2, " & _ "Forms!F_Main!SF_Sub!Txt3 FROM T_Dummy;" DoCmd.SetWarnings False DoCmd.RunSQL Qst DoCmd.SetWarnings True End Sub '===================================== ----- Original Message ----- From: Dan Waters To: 'Access Developers discussion and problem solving' Sent: Monday, November 12, 2007 01:40 Subject: Re: [AccessD] Insert Into with Null Fields Hi Susan, If IsNull(txtA) then Stg = "INSERT INTO tblMain ( B, C )" _ & " VALUES ('" & txtB & "', '" & txtC & "')" Else Stg = "INSERT INTO tblMain ( A, B, C )" _ & " VALUES ('" & txtA & "', '" & txtB & "', '" & txtC & "')" End If Trying to insert a Null value creates an error. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, November 11, 2007 1:49 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Insert Into with Null Fields > Sometimes when I write an INSERT INTO string, I have to take into account > that a text box or memo field might be null. If there is one possibility > of a Null, I have to write and choose from 2 different strings, if there are > two possibilities of Null fields, then I have to write and choose from 4 > different strings, and so on. > > Is there a way out of this? =========I don't understand the need for mutliple statements. Can you provide a simple example? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at airtelbroadband.in Mon Nov 12 13:13:56 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Tue, 13 Nov 2007 00:43:56 +0530 Subject: [AccessD] Conditional Formatting - Current Record References: <003901c8253e$5f6c9210$0301a8c0@HAL9005><001001c82540$be3afa50$0 200a8c0@danwaters> <005c01c82544$2018d000$0301a8c0@HAL9005> Message-ID: <01d001c82560$4abb34d0$9557a27a@personalec1122> Rocky, My sample db's mentioned below, might be of interest to you. (a) Form_SubformHighLightCurrentRow (b) HighLightDataSheetRows (c) ContFormsKeyNavAndHighLightMultiSelect (d) Form_HighLightUpdatedFields These are available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. You could adapt the underlying approach suitably, for your specific needs. Best wishes, A.D.Tejpal ------------ ----- Original Message ----- From: Rocky Smolin at Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Monday, November 12, 2007 21:23 Subject: Re: [AccessD] Conditional Formatting - Current Record Dan: It doesn't work because the field never gets the focus. I did this on another app and the way I did it was to put a text box on the detail section, move to back and change the color of the text box when the record got the focus. There's no conditional formatting of the detail section. I was able to do this in an expression by comparing the Autonumber ID of the current record with an invisible text box in the header section. But it was a simple bound form with no subforms. That won't work in this case - the subform data is coming from another table. There must be some trick to telling the conditional formatting to operate on the current record only. Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, November 12, 2007 7:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Conditional Formatting - Current Record Rocky, In design view, the select the text box or combobox. Go to conditional formatting. Select 'Field has Focus'. Select your background color. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 12, 2007 9:12 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Conditional Formatting - Current Record Dear List: I am trying to use conditional formatting to change the background color of a control when it is the current record. Control is actually on a sub-form but I don't think that's relevant. What is the expression I need in the conditional formatting dialog box to do this? MTIA Rocky From adtp at airtelbroadband.in Mon Nov 12 13:19:55 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Tue, 13 Nov 2007 00:49:55 +0530 Subject: [AccessD] Insert Into with Null Fields References: <000701c82496$29f8ba80$0200a8c0@danwaters><017601c8249b$f4bdf640 $4b3a8343@SusanOne><000801c8249e$dbce4420$0200a8c0@danwaters><00fd01c82556$ e1d1b010$9557a27a@personalec1122> <001c01c8255a$b62c73b0$0200a8c0@danwaters> Message-ID: <01e401c82561$1c987cb0$9557a27a@personalec1122> You are most welcome Dan! A.D.Tejpal ------------ ----- Original Message ----- From: Dan Waters To: 'Access Developers discussion and problem solving' Sent: Tuesday, November 13, 2007 00:04 Subject: Re: [AccessD] Insert Into with Null Fields Hello A.D. This is absolutely clever! Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Monday, November 12, 2007 12:06 PM To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Subject: Re: [AccessD] Insert Into with Null Fields Dan, As an interesting alternative with significant advantages, VALUES clause can be replaced by SELECT clause. Sample code in form's module, as given at (A) below, demonstrates this approach. If it happens to be a subform, the code given at (B) below would be applicable. With this technique, all your problems should stand resolved. Some of the advantages inherent in this method are: 1 - While building the SQL string, you don't have to worry about data type. 2 - If the source text box is blank, Null value gets inserted in the destination field (Required property set to No). 3 - If there are any embedded quotes (whether single, double or various combinations of these) in the contents of source text box, the same get faithfully transferred to destination field without needing any special treatment. If such a task were to be implemented via VALUES clause, tedious prior fixing of such embedded quotes would have been necessary. Note - As form based parameters are involved, DoCmd.RunSQL method has been used instead of CurrentDb.Execute. Best wishes, A.D.Tejpal ------------ A - Code in independent form's module F_Main is the name of this form. TxtA, TxtB and TxtC are text boxes whose values are to be appended to fields A, B & C respectively in table T_Main. (T_Dummy is a single field single record table). '===================================== Private Sub CmdAppend_Click() Dim Qst As String Qst = "INSERT INTO T_Main (A, B, C) " & _ "SELECT Forms!F_Main!TxtA, " & _ "Forms!F_Main!TxtB, " & _ "Forms!F_Main!TxtC FROM T_Dummy;" DoCmd.SetWarnings False DoCmd.RunSQL Qst DoCmd.SetWarnings True End Sub '===================================== B - Code in subform's module F_Main is the name of parent form. SF_Sub is the name of control serving as container for the subform. Txt1, Txt2 and Txt3 are text boxes on the subform whose values are to be appended to fields A, B & C respectively in table T_Main. (T_Dummy is a single field single record table). '===================================== Private Sub CmdAppend_Click() Dim Qst As String Qst = "INSERT INTO T_Main (A, B, C) " & _ "SELECT Forms!F_Main!SF_Sub!Txt1, " & _ "Forms!F_Main!SF_Sub!Txt2, " & _ "Forms!F_Main!SF_Sub!Txt3 FROM T_Dummy;" DoCmd.SetWarnings False DoCmd.RunSQL Qst DoCmd.SetWarnings True End Sub '===================================== ----- Original Message ----- From: Dan Waters To: 'Access Developers discussion and problem solving' Sent: Monday, November 12, 2007 01:40 Subject: Re: [AccessD] Insert Into with Null Fields Hi Susan, If IsNull(txtA) then Stg = "INSERT INTO tblMain ( B, C )" _ & " VALUES ('" & txtB & "', '" & txtC & "')" Else Stg = "INSERT INTO tblMain ( A, B, C )" _ & " VALUES ('" & txtA & "', '" & txtB & "', '" & txtC & "')" End If Trying to insert a Null value creates an error. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, November 11, 2007 1:49 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Insert Into with Null Fields > Sometimes when I write an INSERT INTO string, I have to take into account > that a text box or memo field might be null. If there is one possibility > of a Null, I have to write and choose from 2 different strings, if there are > two possibilities of Null fields, then I have to write and choose from 4 > different strings, and so on. > > Is there a way out of this? =========I don't understand the need for mutliple statements. Can you provide a simple example? Susan H. From fuller.artful at gmail.com Mon Nov 12 13:46:50 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 12 Nov 2007 14:46:50 -0500 Subject: [AccessD] recordset count = -1? Message-ID: <29f585dd0711121146q112b7cf2x652e9a61aaba5069@mail.gmail.com> I've got a DAO recordset and codes that does rs.moveFirst and rs.MoveLastand debug.print rs.RecordCount, but it consistently returns -1, when I know there are records in the set. What am I doing wrong? TIA, Arthur From ssharkins at gmail.com Mon Nov 12 14:09:55 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 12 Nov 2007 15:09:55 -0500 Subject: [AccessD] recordset count = -1? References: <29f585dd0711121146q112b7cf2x652e9a61aaba5069@mail.gmail.com> Message-ID: <00db01c82568$0111f640$4b3a8343@SusanOne> Oh my... this is an old one Arthur -- so old, I can't even remember the exact cure -- I think it has to do with the type of cursor. I wrote about it years ago, I'll see if I can find the article. Charlotte will know. Maybe she'll see this. Susan H. > I've got a DAO recordset and codes that does rs.moveFirst and > rs.MoveLastand > debug.print rs.RecordCount, but it consistently returns -1, when I know > there are records in the set. What am I doing wrong? From rockysmolin at bchacc.com Mon Nov 12 14:30:46 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 12 Nov 2007 12:30:46 -0800 Subject: [AccessD] Conditional Formatting - Current Record In-Reply-To: <01d001c82560$4abb34d0$9557a27a@personalec1122> References: <003901c8253e$5f6c9210$0301a8c0@HAL9005><001001c82540$be3afa50$0200a8c0@danwaters> <005c01c82544$2018d000$0301a8c0@HAL9005> <01d001c82560$4abb34d0$9557a27a@personalec1122> Message-ID: <000101c8256a$e8143a60$0301a8c0@HAL9005> Thanks A.D. - I think that ranking scheme will work. Regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Monday, November 12, 2007 11:14 AM To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Subject: Re: [AccessD] Conditional Formatting - Current Record Rocky, My sample db's mentioned below, might be of interest to you. (a) Form_SubformHighLightCurrentRow (b) HighLightDataSheetRows (c) ContFormsKeyNavAndHighLightMultiSelect (d) Form_HighLightUpdatedFields These are available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. You could adapt the underlying approach suitably, for your specific needs. Best wishes, A.D.Tejpal ------------ ----- Original Message ----- From: Rocky Smolin at Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Monday, November 12, 2007 21:23 Subject: Re: [AccessD] Conditional Formatting - Current Record Dan: It doesn't work because the field never gets the focus. I did this on another app and the way I did it was to put a text box on the detail section, move to back and change the color of the text box when the record got the focus. There's no conditional formatting of the detail section. I was able to do this in an expression by comparing the Autonumber ID of the current record with an invisible text box in the header section. But it was a simple bound form with no subforms. That won't work in this case - the subform data is coming from another table. There must be some trick to telling the conditional formatting to operate on the current record only. Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, November 12, 2007 7:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Conditional Formatting - Current Record Rocky, In design view, the select the text box or combobox. Go to conditional formatting. Select 'Field has Focus'. Select your background color. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 12, 2007 9:12 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Conditional Formatting - Current Record Dear List: I am trying to use conditional formatting to change the background color of a control when it is the current record. Control is actually on a sub-form but I don't think that's relevant. What is the expression I need in the conditional formatting dialog box to do this? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.30/1125 - Release Date: 11/11/2007 9:50 PM From cfoust at infostatsystems.com Mon Nov 12 14:52:24 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 12 Nov 2007 12:52:24 -0800 Subject: [AccessD] recordset count = -1? In-Reply-To: <29f585dd0711121146q112b7cf2x652e9a61aaba5069@mail.gmail.com> References: <29f585dd0711121146q112b7cf2x652e9a61aaba5069@mail.gmail.com> Message-ID: Are you sure it's a DAO recordset, Arthur? ADO recordsets commonly return 0 or -1. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, November 12, 2007 11:47 AM To: Access Developers discussion and problem solving Subject: [AccessD] recordset count = -1? I've got a DAO recordset and codes that does rs.moveFirst and rs.MoveLastand debug.print rs.RecordCount, but it consistently returns -1, when I know there are records in the set. What am I doing wrong? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Nov 12 14:54:04 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 12 Nov 2007 12:54:04 -0800 Subject: [AccessD] recordset count = -1? In-Reply-To: <00db01c82568$0111f640$4b3a8343@SusanOne> References: <29f585dd0711121146q112b7cf2x652e9a61aaba5069@mail.gmail.com> <00db01c82568$0111f640$4b3a8343@SusanOne> Message-ID: Susan, You give me more credit than I deserve. I don't even work with DAO recordsets any more, so my memory is failing. I suspect a forward only type will do this, but can't remember for sure. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 12, 2007 12:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] recordset count = -1? Oh my... this is an old one Arthur -- so old, I can't even remember the exact cure -- I think it has to do with the type of cursor. I wrote about it years ago, I'll see if I can find the article. Charlotte will know. Maybe she'll see this. Susan H. > I've got a DAO recordset and codes that does rs.moveFirst and > rs.MoveLastand debug.print rs.RecordCount, but it consistently returns > -1, when I know there are records in the set. What am I doing wrong? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pharold at proftesting.com Mon Nov 12 15:04:21 2007 From: pharold at proftesting.com (Perry L Harold) Date: Mon, 12 Nov 2007 16:04:21 -0500 Subject: [AccessD] recordset count = -1? References: <29f585dd0711121146q112b7cf2x652e9a61aaba5069@mail.gmail.com> <00db01c82568$0111f640$4b3a8343@SusanOne> Message-ID: Is it client side or server side cursor? >From DEVX forum - "RecordCount for server side cursors returns "-1". oRS.Source = SQL_str oRS.CursorLocation = 3 'adUseClient oRS.Open" Perry Harold Professional Testing Inc -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 12, 2007 3:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] recordset count = -1? Oh my... this is an old one Arthur -- so old, I can't even remember the exact cure -- I think it has to do with the type of cursor. I wrote about it years ago, I'll see if I can find the article. Charlotte will know. Maybe she'll see this. Susan H. > I've got a DAO recordset and codes that does rs.moveFirst and > rs.MoveLastand debug.print rs.RecordCount, but it consistently returns > -1, when I know there are records in the set. What am I doing wrong? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Nov 12 15:05:01 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 12 Nov 2007 13:05:01 -0800 Subject: [AccessD] recordset count = -1? In-Reply-To: References: <29f585dd0711121146q112b7cf2x652e9a61aaba5069@mail.gmail.com><00db01c82568$0111f640$4b3a8343@SusanOne> Message-ID: <000a01c8256f$b185e980$0301a8c0@HAL9005> Arthur: Why don't you post your DIMs and opening statement? Maybe we'll see something there. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 12, 2007 12:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] recordset count = -1? Susan, You give me more credit than I deserve. I don't even work with DAO recordsets any more, so my memory is failing. I suspect a forward only type will do this, but can't remember for sure. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 12, 2007 12:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] recordset count = -1? Oh my... this is an old one Arthur -- so old, I can't even remember the exact cure -- I think it has to do with the type of cursor. I wrote about it years ago, I'll see if I can find the article. Charlotte will know. Maybe she'll see this. Susan H. > I've got a DAO recordset and codes that does rs.moveFirst and > rs.MoveLastand debug.print rs.RecordCount, but it consistently returns > -1, when I know there are records in the set. What am I doing wrong? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.30/1125 - Release Date: 11/11/2007 9:50 PM From jwcolby at colbyconsulting.com Mon Nov 12 15:09:19 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 12 Nov 2007 16:09:19 -0500 Subject: [AccessD] Pivot in SQL Server 2005 Message-ID: <00b801c82570$4af193d0$6c7aa8c0@M90> I just wrote my first Pivot table by hand in SQL Server 2005 and HOLY COW was that a PITA!!! Is there a wizard anywhere for doing this? John W. Colby Colby Consulting www.ColbyConsulting.com From jimdettman at verizon.net Mon Nov 12 15:51:44 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 12 Nov 2007 16:51:44 -0500 Subject: [AccessD] recordset count = -1? In-Reply-To: References: <29f585dd0711121146q112b7cf2x652e9a61aaba5069@mail.gmail.com> Message-ID: <004601c82576$3844c9e0$8abea8c0@XPS> DAO recordsets return -1 on forward only and snapshot sets. Also a set on a linked tabledef will always return -1 when you open the recordset with the table option. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 12, 2007 3:52 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] recordset count = -1? Are you sure it's a DAO recordset, Arthur? ADO recordsets commonly return 0 or -1. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, November 12, 2007 11:47 AM To: Access Developers discussion and problem solving Subject: [AccessD] recordset count = -1? I've got a DAO recordset and codes that does rs.moveFirst and rs.MoveLastand debug.print rs.RecordCount, but it consistently returns -1, when I know there are records in the set. What am I doing wrong? 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 ssharkins at gmail.com Mon Nov 12 16:16:23 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 12 Nov 2007 17:16:23 -0500 Subject: [AccessD] Access to Outlook Message-ID: <000b01c82579$ad1e6520$4b3a8343@SusanOne> I posted the following code on the tech list this weekend, but so far haven't resolved the problem I'm having. I'm trying to send Access values to Outlook as a new contact. The Set itm = itms.Add("IPM.Contact") statement returns a can't set object variable error. Susan H. Function SendContactsToOutlook() Dim rst As New ADODB.Recordset Dim cnn As New ADODB.Connection '--------- 'Must set reference to Outlook library '--------- Dim itms As Outlook.Items Dim itm As Outlook.ContactItem Set cnn = CurrentProject.Connection rst.Open "tblContacts", cnn 'Outlook Folder name is hardcoded Set itm = itms.Add("IPM.Contact") With itm .CustomerID = Nz(rst!CustomerID) .FirstName = Nz(rst!FirstName) .LastName = Nz(rst!LastName) .Department = Nz(rst!Department) .Birthday = Nz(rst!Department) .Close (olSave) 'DoCmd.RunCommand acCmdSaveRecord End With Set rst = Nothing Set cnn = Nothing Set itms = Nothing Set itm = Nothing End Function From Donald.A.McGillivray at sprint.com Mon Nov 12 16:33:12 2007 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Mon, 12 Nov 2007 16:33:12 -0600 Subject: [AccessD] Strange compile error Message-ID: Well, it's strange to me, anyway. When I compile my code using the Debug|Compile menu options, I get no errors. I have one procedure, however, which throws a compile error - not a runtime error - when I try to execute it. The code for that procedure is self-contained, with no calls to any other procedures. I'm scratching my head on this one. I suspect some sort of corruption, but don't know quite where to go looking or how to resolve. Can anybody suggest a solution - or a starting point? Thanks! Don McGillivray From ssharkins at gmail.com Mon Nov 12 16:34:13 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 12 Nov 2007 17:34:13 -0500 Subject: [AccessD] Fw: Access to Outlook Message-ID: <003001c8257c$281f4710$4b3a8343@SusanOne> I think I've figured it out, although I haven't tried it -- I'm going to have to create an Outlook Application and NameSpace object, via a MAPI folder. I didn't think it'd be this much work, but it is Outlook... Susan H. I posted the following code on the tech list this weekend, but so far haven't resolved the problem I'm having. I'm trying to send Access values to Outlook as a new contact. The Set itm = itms.Add("IPM.Contact") statement returns a can't set object variable error. Susan H. Function SendContactsToOutlook() Dim rst As New ADODB.Recordset Dim cnn As New ADODB.Connection '--------- 'Must set reference to Outlook library '--------- Dim itms As Outlook.Items Dim itm As Outlook.ContactItem Set cnn = CurrentProject.Connection rst.Open "tblContacts", cnn 'Outlook Folder name is hardcoded Set itm = itms.Add("IPM.Contact") With itm .CustomerID = Nz(rst!CustomerID) .FirstName = Nz(rst!FirstName) .LastName = Nz(rst!LastName) .Department = Nz(rst!Department) .Birthday = Nz(rst!Department) .Close (olSave) 'DoCmd.RunCommand acCmdSaveRecord End With Set rst = Nothing Set cnn = Nothing Set itms = Nothing Set itm = Nothing End Function From ssharkins at gmail.com Mon Nov 12 16:35:33 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 12 Nov 2007 17:35:33 -0500 Subject: [AccessD] Strange compile error References: Message-ID: <003501c8257c$58695690$4b3a8343@SusanOne> > > Can anybody suggest a solution - or a starting point? ======I'd copy the procedure to a Word file, delete it from the module, and compile. Then copy the procedure back, and recompile. Susan H. From Jim.Hale at FleetPride.com Mon Nov 12 16:43:15 2007 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 12 Nov 2007 16:43:15 -0600 Subject: [AccessD] recordset count = -1? In-Reply-To: References: <29f585dd0711121146q112b7cf2x652e9a61aaba5069@mail.gmail.com><00 db01c82568$0111f640$4b3a8343@SusanOne> Message-ID: Nah, I think she meant it is soooo ooold only Charlotte is old enough to remember. Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 12, 2007 2:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] recordset count = -1? Susan, You give me more credit than I deserve. I don't even work with DAO recordsets any more, so my memory is failing. I suspect a forward only type will do this, but can't remember for sure. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 12, 2007 12:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] recordset count = -1? Oh my... this is an old one Arthur -- so old, I can't even remember the exact cure -- I think it has to do with the type of cursor. I wrote about it years ago, I'll see if I can find the article. Charlotte will know. Maybe she'll see this. Susan H. *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From darren at activebilling.com.au Mon Nov 12 16:44:33 2007 From: darren at activebilling.com.au (Darren D) Date: Tue, 13 Nov 2007 09:44:33 +1100 Subject: [AccessD] Getting Results from SQL SVR into a Continuous form Message-ID: <200711122244.lACMijHL019663@databaseadvisors.com> Hi team Access 2003 I am running select statements to get results from an SQL dB Then looping through the rs object and populating temp tables with the results - Then I am 'binding' my forms to these temp tables for display This all works fine - no Prob - I was just wondering if it is possible to cut out the middle man - I mean ditch the temp tables and somehow populate a continuous form with the various results straight from the rs object EG Select AccountNo, AccountName, ContactPerson from tblAccounts may return say.10 records each with 3 fields of data How then do I get these results from the rs object in code into a continuous form without populating a temp table first? Also - Are there any advantages doing it this way or is using a temp table perfectly reasonable? Many thanks in advance Have a great day Darren From dw-murphy at cox.net Mon Nov 12 16:51:58 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Mon, 12 Nov 2007 14:51:58 -0800 Subject: [AccessD] Strange compile error In-Reply-To: Message-ID: <006101c8257e$a1d00250$0200a8c0@murphy3234aaf1> Have you tried decompiling the database? Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don [IT] Sent: Monday, November 12, 2007 2:33 PM To: accessd at databaseadvisors.com Subject: [AccessD] Strange compile error Well, it's strange to me, anyway. When I compile my code using the Debug|Compile menu options, I get no errors. I have one procedure, however, which throws a compile error - not a runtime error - when I try to execute it. The code for that procedure is self-contained, with no calls to any other procedures. I'm scratching my head on this one. I suspect some sort of corruption, but don't know quite where to go looking or how to resolve. Can anybody suggest a solution - or a starting point? Thanks! Don McGillivray -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Donald.A.McGillivray at sprint.com Mon Nov 12 17:09:10 2007 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Mon, 12 Nov 2007 17:09:10 -0600 Subject: [AccessD] Strange compile error In-Reply-To: <006101c8257e$a1d00250$0200a8c0@murphy3234aaf1> References: <006101c8257e$a1d00250$0200a8c0@murphy3234aaf1> Message-ID: Doug, I did try that, to no avail. I think I'll try Susan's suggestion and see what I get. Thanks! Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Monday, November 12, 2007 2:52 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strange compile error Have you tried decompiling the database? Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don [IT] Sent: Monday, November 12, 2007 2:33 PM To: accessd at databaseadvisors.com Subject: [AccessD] Strange compile error Well, it's strange to me, anyway. When I compile my code using the Debug|Compile menu options, I get no errors. I have one procedure, however, which throws a compile error - not a runtime error - when I try to execute it. The code for that procedure is self-contained, with no calls to any other procedures. I'm scratching my head on this one. I suspect some sort of corruption, but don't know quite where to go looking or how to resolve. Can anybody suggest a solution - or a starting point? Thanks! Don McGillivray -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Donald.A.McGillivray at sprint.com Mon Nov 12 17:44:28 2007 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Mon, 12 Nov 2007 17:44:28 -0600 Subject: [AccessD] Strange compile error In-Reply-To: <003501c8257c$58695690$4b3a8343@SusanOne> References: <003501c8257c$58695690$4b3a8343@SusanOne> Message-ID: Sheesh, I'm an idiot. Didn't notice that the procedure was part of a form's code module. Moved it to its own module, and all's well. Still, I didn't expect a compile error when trying to invoke a form level procedure in the immediate window, or should I? Seems like I've done that before and gotten a different error that was a bit more descriptive. Ah well, thanks for the ideas, nonetheless . . . Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 12, 2007 2:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Strange compile error > > Can anybody suggest a solution - or a starting point? ======I'd copy the procedure to a Word file, delete it from the module, and compile. Then copy the procedure back, and recompile. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Nov 12 17:49:29 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 12 Nov 2007 15:49:29 -0800 Subject: [AccessD] recordset count = -1? In-Reply-To: References: <29f585dd0711121146q112b7cf2x652e9a61aaba5069@mail.gmail.com><00db01c82568$0111f640$4b3a8343@SusanOne> Message-ID: Oooooh! You'd better duck. I swing a mean cane!! LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Monday, November 12, 2007 2:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] recordset count = -1? Nah, I think she meant it is soooo ooold only Charlotte is old enough to remember. Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 12, 2007 2:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] recordset count = -1? Susan, You give me more credit than I deserve. I don't even work with DAO recordsets any more, so my memory is failing. I suspect a forward only type will do this, but can't remember for sure. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 12, 2007 12:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] recordset count = -1? Oh my... this is an old one Arthur -- so old, I can't even remember the exact cure -- I think it has to do with the type of cursor. I wrote about it years ago, I'll see if I can find the article. Charlotte will know. Maybe she'll see this. Susan H. *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- 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 Nov 12 17:50:37 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 12 Nov 2007 18:50:37 -0500 Subject: [AccessD] Pass a recordset as parameter Message-ID: <29f585dd0711121550n544e108el979a352d1678450e@mail.gmail.com> Can one pass a recordset as a parameter to a function. I guess I could write a quick tester to determine this, but I'm in the middle of something else. If I could do this, I could seriously simplify some hairy code that I inherited. Just as an aside and casual invitation to start another lengthy debate, all this inherited code is based on dynamically building SQL statements using the values contained in a recordset. A typical example would be: sDocMemo = sDocMemo _ & " is too close to the pinch point. It is " & Nz(rsLCData!DisToPinchPoint1, 0) _ & " millimetres away and should be at least " _ & Nz(rsLCData!DsPP1_ShouldBe, 0) & " millimetres away from the Pinch Point." _ & " " & sBlankedBeamsText Oh God, I hate this style of coding. It makes me crazy. It may work but even with the logical line breaks it's hard as hell to read (or maybe I'm just getting too old for this business. There are a bunch of text-assembly blocks like this all stuck into one huge (1000+ lines) procedure. My plan is to break each text-assembly chunk out into a function that accepts a recordset as a parameter and builds the string and returns it. If I can't pass the recordset, then I'll grab its values and pass those instead, and break this 1000-liner into about 20 5-liners (or less lines per function), which fetch the text from a table and then whose content uses a syntax like this: The ///LCPosition1/// light curtain is too close to the pinch point. It is ///DisToPinchPoint1/// millimetres away and should be at least ///DsPP1_ShouldBe/// millimetres away from the Pinch Point. The given function will use Replace() to find the triple-shlash-delimited insertion-points and replace them with the passed parameters, then return the string. Anyone see any problems with this approach? TIA, Arthur From fuller.artful at gmail.com Mon Nov 12 17:52:31 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 12 Nov 2007 18:52:31 -0500 Subject: [AccessD] Getting Results from SQL SVR into a Continuous form In-Reply-To: <200711122244.lACMijHL019663@databaseadvisors.com> References: <200711122244.lACMijHL019663@databaseadvisors.com> Message-ID: <29f585dd0711121552xa066b03wcd094da4192a705d@mail.gmail.com> Why not eliminate both at once and instead create a sproc or view and use it as the record source? A. On 11/12/07, Darren D wrote: > > Hi team > > > > Access 2003 > > > > I am running select statements to get results from an SQL dB > > > > Then looping through the rs object and populating temp tables with the > results - > Then I am 'binding' my forms to these temp tables for display > > > > This all works fine - no Prob - I was just wondering if it is possible to > cut > out the middle man - > > > > I mean ditch the temp tables and somehow populate a continuous form with > the > various results straight from the rs object > > > > EG Select AccountNo, AccountName, ContactPerson from tblAccounts may > return > say.10 records each with 3 fields of data > > > > How then do I get these results from the rs object in code into a > continuous > form without populating a temp table first? > > > > Also - Are there any advantages doing it this way or is using a temp table > perfectly reasonable? > > > > Many thanks in advance > > > > Have a great day > > > > Darren > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darren at activebilling.com.au Mon Nov 12 18:06:46 2007 From: darren at activebilling.com.au (Darren D) Date: Tue, 13 Nov 2007 11:06:46 +1100 Subject: [AccessD] Getting Results from SQL SVR into a Continuous form In-Reply-To: <29f585dd0711121552xa066b03wcd094da4192a705d@mail.gmail.com> Message-ID: <200711130006.lAD06tAA029982@databaseadvisors.com> Hi Arthur This sounds very efficient - Cool Now the tricky bit... How do I 'bind' a continuous form in access 2003 (NOT ADP) to a SPROC or view in SQL SVR? Thanks Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, 13 November 2007 10:53 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Getting Results from SQL SVR into a Continuous form Why not eliminate both at once and instead create a sproc or view and use it as the record source? A. On 11/12/07, Darren D wrote: > > Hi team > > > > Access 2003 > > > > I am running select statements to get results from an SQL dB > > > > Then looping through the rs object and populating temp tables with the > results - > Then I am 'binding' my forms to these temp tables for display > > > > This all works fine - no Prob - I was just wondering if it is possible to > cut > out the middle man - > > > > I mean ditch the temp tables and somehow populate a continuous form with > the > various results straight from the rs object > > > > EG Select AccountNo, AccountName, ContactPerson from tblAccounts may > return > say.10 records each with 3 fields of data > > > > How then do I get these results from the rs object in code into a > continuous > form without populating a temp table first? > > > > Also - Are there any advantages doing it this way or is using a temp table > perfectly reasonable? > > > > Many thanks in advance > > > > Have a great day > > > > Darren > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Nov 12 18:23:50 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 12 Nov 2007 16:23:50 -0800 Subject: [AccessD] Blanks in text box Message-ID: <004901c8258b$77362c60$0301a8c0@HAL9005> Dear List: I am trapping keystrokes in a text box and setting a filter in a list box based on the current value in the text box. But it won't accept and retain trailing blanks. If my client wants to search on R & R for example, he presses R and the list box of names is filtered to all those beginning with R. if he then presses the space bar, it should show all the name beginning with R-blank. But of course, it strips the trailing blank. Is there some trick to getting the trailing blanks to be included in the string? MTIA Rocky From pcs at azizaz.com Mon Nov 12 18:26:45 2007 From: pcs at azizaz.com (pcs at azizaz.com) Date: Tue, 13 Nov 2007 10:26:45 +1000 (EST) Subject: [AccessD] Getting Results from SQL SVR into a Continuous form Message-ID: <20071113102645.DHJ48961@dommail.onthenet.com.au> Darren, Try: Set Forms(strFrm).Recordset = rs where rs is the recordset you have created and strForm is a string variable holding the name of your Form Regards Borge ---- Original message ---- >Date: Tue, 13 Nov 2007 11:06:46 +1100 >From: "Darren D" >Subject: Re: [AccessD] Getting Results from SQL SVR into a Continuous form >To: "'Access Developers discussion and problem solving'" > >Hi Arthur > >This sounds very efficient - Cool > >Now the tricky bit... > >How do I 'bind' a continuous form in access 2003 (NOT ADP) to a SPROC or view in >SQL SVR? > >Thanks > >Darren >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller >Sent: Tuesday, 13 November 2007 10:53 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Getting Results from SQL SVR into a Continuous form > >Why not eliminate both at once and instead create a sproc or view and use it >as the record source? > >A. > >On 11/12/07, Darren D wrote: >> >> Hi team >> >> >> >> Access 2003 >> >> >> >> I am running select statements to get results from an SQL dB >> >> >> >> Then looping through the rs object and populating temp tables with the >> results - >> Then I am 'binding' my forms to these temp tables for display >> >> >> >> This all works fine - no Prob - I was just wondering if it is possible to >> cut >> out the middle man - >> >> >> >> I mean ditch the temp tables and somehow populate a continuous form with >> the >> various results straight from the rs object >> >> >> >> EG Select AccountNo, AccountName, ContactPerson from tblAccounts may >> return >> say.10 records each with 3 fields of data >> >> >> >> How then do I get these results from the rs object in code into a >> continuous >> form without populating a temp table first? >> >> >> >> Also - Are there any advantages doing it this way or is using a temp table >> perfectly reasonable? >> >> >> >> Many thanks in advance >> >> >> >> Have a great day >> >> >> >> Darren >> >> >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From ssharkins at gmail.com Mon Nov 12 18:30:16 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 12 Nov 2007 19:30:16 -0500 Subject: [AccessD] recordset count = -1? References: <29f585dd0711121146q112b7cf2x652e9a61aaba5069@mail.gmail.com><00db01c82568$0111f640$4b3a8343@SusanOne> Message-ID: <005f01c8258d$3eacaf20$4b3a8343@SusanOne> OH NO YOU DON'T!!!!!!!! ;) I think Charlotte's about my age -- so be careful there! ;) Susan H. > > Nah, I think she meant it is soooo ooold only Charlotte is old enough to > remember. From jwcolby at colbyconsulting.com Mon Nov 12 18:51:29 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 12 Nov 2007 19:51:29 -0500 Subject: [AccessD] Strange compile error In-Reply-To: References: Message-ID: <00b901c8258f$5455f690$6c7aa8c0@M90> decompile it, then compile it, compact and repair John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don [IT] Sent: Monday, November 12, 2007 5:33 PM To: accessd at databaseadvisors.com Subject: [AccessD] Strange compile error Well, it's strange to me, anyway. When I compile my code using the Debug|Compile menu options, I get no errors. I have one procedure, however, which throws a compile error - not a runtime error - when I try to execute it. The code for that procedure is self-contained, with no calls to any other procedures. I'm scratching my head on this one. I suspect some sort of corruption, but don't know quite where to go looking or how to resolve. Can anybody suggest a solution - or a starting point? Thanks! Don McGillivray -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Nov 12 18:52:58 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 12 Nov 2007 19:52:58 -0500 Subject: [AccessD] Pass a recordset as parameter In-Reply-To: <29f585dd0711121550n544e108el979a352d1678450e@mail.gmail.com> References: <29f585dd0711121550n544e108el979a352d1678450e@mail.gmail.com> Message-ID: <00ba01c8258f$898624c0$6c7aa8c0@M90> Yes, you can. You can pass pretty much anything except a custom data type. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, November 12, 2007 6:51 PM To: Access Developers discussion and problem solving Subject: [AccessD] Pass a recordset as parameter Can one pass a recordset as a parameter to a function. I guess I could write a quick tester to determine this, but I'm in the middle of something else. If I could do this, I could seriously simplify some hairy code that I inherited. Just as an aside and casual invitation to start another lengthy debate, all this inherited code is based on dynamically building SQL statements using the values contained in a recordset. A typical example would be: sDocMemo = sDocMemo _ & " is too close to the pinch point. It is " & Nz(rsLCData!DisToPinchPoint1, 0) _ & " millimetres away and should be at least " _ & Nz(rsLCData!DsPP1_ShouldBe, 0) & " millimetres away from the Pinch Point." _ & " " & sBlankedBeamsText Oh God, I hate this style of coding. It makes me crazy. It may work but even with the logical line breaks it's hard as hell to read (or maybe I'm just getting too old for this business. There are a bunch of text-assembly blocks like this all stuck into one huge (1000+ lines) procedure. My plan is to break each text-assembly chunk out into a function that accepts a recordset as a parameter and builds the string and returns it. If I can't pass the recordset, then I'll grab its values and pass those instead, and break this 1000-liner into about 20 5-liners (or less lines per function), which fetch the text from a table and then whose content uses a syntax like this: The ///LCPosition1/// light curtain is too close to the pinch point. It is ///DisToPinchPoint1/// millimetres away and should be at least ///DsPP1_ShouldBe/// millimetres away from the Pinch Point. The given function will use Replace() to find the triple-shlash-delimited insertion-points and replace them with the passed parameters, then return the string. Anyone see any problems with this approach? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Nov 12 18:58:35 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 12 Nov 2007 16:58:35 -0800 Subject: [AccessD] Blanks in text box In-Reply-To: <004901c8258b$77362c60$0301a8c0@HAL9005> References: <004901c8258b$77362c60$0301a8c0@HAL9005> Message-ID: What is the "it" that won't accept and retain trailing blanks, Rocky, the list box, the textbox, the filter, or what? If you're trapping keystrokes, make sure you aren't including a Trim in there somewhere. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 12, 2007 4:24 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Blanks in text box Dear List: I am trapping keystrokes in a text box and setting a filter in a list box based on the current value in the text box. But it won't accept and retain trailing blanks. If my client wants to search on R & R for example, he presses R and the list box of names is filtered to all those beginning with R. if he then presses the space bar, it should show all the name beginning with R-blank. But of course, it strips the trailing blank. Is there some trick to getting the trailing blanks to be included in the string? 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 Mon Nov 12 19:47:17 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 12 Nov 2007 17:47:17 -0800 Subject: [AccessD] Blanks in text box In-Reply-To: References: <004901c8258b$77362c60$0301a8c0@HAL9005> Message-ID: <005401c82597$1f9b4ce0$0301a8c0@HAL9005> It the text box where I want to have the trailing blanks retained. I'm setting the filter for the text box in a subroutine that's called from the Change event of the text box. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 12, 2007 4:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Blanks in text box What is the "it" that won't accept and retain trailing blanks, Rocky, the list box, the textbox, the filter, or what? If you're trapping keystrokes, make sure you aren't including a Trim in there somewhere. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 12, 2007 4:24 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Blanks in text box Dear List: I am trapping keystrokes in a text box and setting a filter in a list box based on the current value in the text box. But it won't accept and retain trailing blanks. If my client wants to search on R & R for example, he presses R and the list box of names is filtered to all those beginning with R. if he then presses the space bar, it should show all the name beginning with R-blank. But of course, it strips the trailing blank. Is there some trick to getting the trailing blanks to be included in the string? 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.30/1125 - Release Date: 11/11/2007 9:50 PM From thewaddles at sbcglobal.net Mon Nov 12 20:28:40 2007 From: thewaddles at sbcglobal.net (Kevin Waddle) Date: Mon, 12 Nov 2007 18:28:40 -0800 Subject: [AccessD] Access to Outlook In-Reply-To: <000b01c82579$ad1e6520$4b3a8343@SusanOne> References: <000b01c82579$ad1e6520$4b3a8343@SusanOne> Message-ID: <014601c8259c$e82872f0$6600a8c0@TheWaddles> Susan, I built a sample table... tblContacts ID Full Name Company File As E-mail Phone ...and added the following code: Function to add reference to Outlook2003 Function to loop through tblContacts and add to Contacts in Outlook Sub to call the Functions Seems to work OK for me. HTH, Kevin Option Compare Database Option Explicit Function AddRefOutlook() As Boolean 'Add a reference to Outlook 2003 Dim strRef As String Dim ref As Reference strRef = "C:\Program Files\Microsoft Office\Office11\msoutl.olb" 'My Office install in on my G drive 'strRef = "G:\Program Files\Microsoft Office\Office11\msoutl.olb" On Error GoTo ErrorOnDLL Set ref = References.AddFromFile(strRef) Exit Function ErrorOnDLL: 'If the reference is already there then... If Err.Number = 32813 Then '...do something Debug.Print "reference is already there" AddRefOutlook = True Else Debug.Print Err.Number & " " & Err.Description AddRefOutlook = False End If End Function Function AddContacts() '--------- 'Must set reference to Outlook library '--------- Dim rst As New ADODB.Recordset Dim cnn As New ADODB.Connection Dim ol As New Outlook.Application Dim olns As Outlook.NameSpace Dim fldContacts As Outlook.MAPIFolder Dim itms As Outlook.Items Dim cf As Object Set cnn = CurrentProject.Connection Set ol = CreateObject("Outlook.Application") Set olns = ol.GetNamespace("MAPI") ' Which folder is the contacts list in? Set fldContacts = olns.GetDefaultFolder(olFolderContacts) Set itms = fldContacts.Items rst.Open "tblContacts", cnn rst.MoveFirst Do While Not rst.EOF Set cf = itms.Add("IPM.Contact") With cf .FullName = rst.Fields(1).Value .CompanyName = rst.Fields(2).Value .FileAs = rst.Fields(3).Value .Email1Address = rst.Fields(4).Value If Not IsNull(rst.Fields(5).Value) Then .PrimaryTelephoneNumber = rst.Fields(5).Value End If .Save End With Set cf = Nothing rst.MoveNext Loop Set ol = Nothing Set olns = Nothing Set fldContacts = Nothing Set itms = Nothing End Function Sub Test() Dim x As Variant x = AddRefOutlook x = AddContacts End Sub Famous Last Words: 'This should be easy...' -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 12, 2007 2:16 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Access to Outlook I posted the following code on the tech list this weekend, but so far haven't resolved the problem I'm having. I'm trying to send Access values to Outlook as a new contact. The Set itm = itms.Add("IPM.Contact") statement returns a can't set object variable error. Susan H. Function SendContactsToOutlook() Dim rst As New ADODB.Recordset Dim cnn As New ADODB.Connection '--------- 'Must set reference to Outlook library '--------- Dim itms As Outlook.Items Dim itm As Outlook.ContactItem Set cnn = CurrentProject.Connection rst.Open "tblContacts", cnn 'Outlook Folder name is hardcoded Set itm = itms.Add("IPM.Contact") With itm .CustomerID = Nz(rst!CustomerID) .FirstName = Nz(rst!FirstName) .LastName = Nz(rst!LastName) .Department = Nz(rst!Department) .Birthday = Nz(rst!Department) .Close (olSave) 'DoCmd.RunCommand acCmdSaveRecord End With Set rst = Nothing Set cnn = Nothing Set itms = Nothing Set itm = Nothing End Function -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Nov 13 04:37:36 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Nov 2007 05:37:36 -0500 Subject: [AccessD] SP to create C# classes Message-ID: <00d101c825e1$357b9520$6c7aa8c0@M90> I ran across this this morning. http://www.sqlservercentral.com/scripts/Miscellaneous/31997/ I have not tested it yet but thought that someone might find it useful. John W. Colby Colby Consulting www.ColbyConsulting.com From Gustav at cactus.dk Tue Nov 13 05:44:33 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 13 Nov 2007 12:44:33 +0100 Subject: [AccessD] SP to create C# classes Message-ID: Hi John Thanks! But what should the purpose be? Building a middle-tier? /gustav >>> jwcolby at colbyconsulting.com 13-11-2007 11:37 >>> I ran across this this morning. http://www.sqlservercentral.com/scripts/Miscellaneous/31997/ I have not tested it yet but thought that someone might find it useful. John W. Colby Colby Consulting www.ColbyConsulting.com From jwcolby at colbyconsulting.com Tue Nov 13 06:13:55 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Nov 2007 07:13:55 -0500 Subject: [AccessD] SP to create C# classes In-Reply-To: References: Message-ID: <00d901c825ee$a9cb0d40$6c7aa8c0@M90> Gustav, The purpose should be automated building of classes from tables. How many times I have wished for such a thing for Access (in fact built one myself and then lost it 8~( As for what to do with it... well suppose you had a table with 700 plus fields and you wanted to do something with that table that was difficult to do with SQL directly. You therefore need to import the data into classes so that you can programmatically manipulate the data... Before you can even begin you have to write a class with get/let and variable dim statements in the top of the class... How many days would it take you to write that one class? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, November 13, 2007 6:45 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SP to create C# classes Hi John Thanks! But what should the purpose be? Building a middle-tier? /gustav >>> jwcolby at colbyconsulting.com 13-11-2007 11:37 >>> I ran across this this morning. http://www.sqlservercentral.com/scripts/Miscellaneous/31997/ I have not tested it yet but thought that someone might find it useful. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Tue Nov 13 06:53:51 2007 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 13 Nov 2007 06:53:51 -0600 Subject: [AccessD] VB.Net / C# Guidelines Message-ID: <001201c825f4$3dbb9290$0200a8c0@danwaters> VB City is offering a free download (100 pages) of coding guidelines. http://submain.com/?nav=products.guidelines From jwcolby at colbyconsulting.com Tue Nov 13 06:53:49 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Nov 2007 07:53:49 -0500 Subject: [AccessD] merging records Message-ID: <00e401c825f4$3ca28170$6c7aa8c0@M90> I have tables of information about people. The tables represent polls that people have taken, so if a person takes a poll about brands of cigarettes smoked, the table would have a record about that person for that poll. If that same person took a poll about software used, the table would have a NEW record with information about the same person, but about the software that person used. And so forth and so on. Now I need to "roll up" all of the information about a person into a single record so that one record contains all of the information about that person contained in all of the records about that person in the table. Is this possible directly in SQL? Do I need to write code to iterate through the table finding each person and all the records for that person, and then consolidating the information from the second and subsequent records into the first record found? John W. Colby Colby Consulting www.ColbyConsulting.com From jwcolby at colbyconsulting.com Tue Nov 13 07:20:02 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Nov 2007 08:20:02 -0500 Subject: [AccessD] VB.Net / C# Guidelines In-Reply-To: <001201c825f4$3dbb9290$0200a8c0@danwaters> References: <001201c825f4$3dbb9290$0200a8c0@danwaters> Message-ID: <00e501c825f7$e696a000$6c7aa8c0@M90> Thanks Dan. You should post this to the VB list since it really about .Net. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, November 13, 2007 7:54 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] VB.Net / C# Guidelines VB City is offering a free download (100 pages) of coding guidelines. http://submain.com/?nav=products.guidelines -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Tue Nov 13 07:37:38 2007 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 13 Nov 2007 07:37:38 -0600 Subject: [AccessD] VB.Net / C# Guidelines In-Reply-To: <00e501c825f7$e696a000$6c7aa8c0@M90> References: <001201c825f4$3dbb9290$0200a8c0@danwaters> <00e501c825f7$e696a000$6c7aa8c0@M90> Message-ID: <001b01c825fa$5b7f4be0$0200a8c0@danwaters> I used to be signed up for that list, but there was almost no traffic on it. Has that changed recently? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 13, 2007 7:20 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines Thanks Dan. You should post this to the VB list since it really about .Net. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, November 13, 2007 7:54 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] VB.Net / C# Guidelines VB City is offering a free download (100 pages) of coding guidelines. http://submain.com/?nav=products.guidelines -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 13 07:52:49 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Nov 2007 08:52:49 -0500 Subject: [AccessD] VB.Net / C# Guidelines In-Reply-To: <001b01c825fa$5b7f4be0$0200a8c0@danwaters> References: <001201c825f4$3dbb9290$0200a8c0@danwaters><00e501c825f7$e696a000$6c7aa8c0@M90> <001b01c825fa$5b7f4be0$0200a8c0@danwaters> Message-ID: <00e801c825fc$7ac9c910$6c7aa8c0@M90> LOL, well... it goes in bursts. Critical mass is one of those strange things where people have to sign up and use it in order for others to observe that it is use and sign up and use it so that others observe that it is used. I do think that more and more of our AccessD members are trying out the .Net stuff and so hopefully we will gain critical mass someday. It won't happen without YOUR support however. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, November 13, 2007 8:38 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines I used to be signed up for that list, but there was almost no traffic on it. Has that changed recently? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 13, 2007 7:20 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines Thanks Dan. You should post this to the VB list since it really about .Net. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, November 13, 2007 7:54 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] VB.Net / C# Guidelines VB City is offering a free download (100 pages) of coding guidelines. http://submain.com/?nav=products.guidelines -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 13 08:11:13 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Nov 2007 09:11:13 -0500 Subject: [AccessD] An Excel 2007 Observation Message-ID: <00ea01c825ff$0cfb67b0$6c7aa8c0@M90> I installed Office 2007 on a server where I already had Office 2003 installed. I use Office 2003 (specifically Excel) on that machine quite a bit. this morning I just double clicked on a spreadsheet and it was loaded in Excel 2007 (Office 2007 apparently replaced my file type mappings). I checked the task manager memory usage and it was 20.6 mb for Excel with that specific spreadsheet. I then closed Excel 2007, opened Excel 2003 and then loaded the same spreadsheet. The memory usage was 10.5 mb. And BTW, there was no noticeable delay switching between the two versions, nor did it request a disk etc. I will do more testing on that subject later when the server isn't working heavily on SQL Server stuff. John W. Colby Colby Consulting www.ColbyConsulting.com From adtp at airtelbroadband.in Tue Nov 13 08:54:27 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Tue, 13 Nov 2007 20:24:27 +0530 Subject: [AccessD] Blanks in text box References: <004901c8258b$77362c60$0301a8c0@HAL9005> <005401c82597$1f9b4ce0$0301a8c0@HAL9005> Message-ID: <00c901c82605$35a1fe80$6c57a27a@personalec1122> Rocky, You wish to trap the trailing spaces in a text box, while using its contents for applying filter. This calls for certain special measures as trailing spaces (if any) get lost while exiting the text box. Sample code in form's module, as given below, demonstrates application of filter on a subform, duly taking into account the contents of text box (including trailing spaces if any) located on the parent form. Best wishes, A.D.Tejpal ------------ Sample code in form's module Txt1 is the name of text box where criteria string is entered. SF_Sub is the name of control holding the subform. Clicking command button named CmdFilter applies filter on subform records - duly taking into account the trailing blanks (if any) in text box Txt1 PCode is the name of field on which filter is applied. '================================= ' Declarations section Private RefTxt As String '-------------------------------------------------- Private Sub CmdFilter_Click() With Me.SF_Sub.Form .Filter = "PCode Like '" & RefTxt & "*'" .FilterOn = True End With End Sub '-------------------------------------------------- Private Sub Txt1_Change() RefTxt = ActiveControl.Text End Sub '-------------------------------------------------- Private Sub Txt1_Enter() RefTxt = ActiveControl.Text End Sub '================================= ----- Original Message ----- From: Rocky Smolin at Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Tuesday, November 13, 2007 07:17 Subject: Re: [AccessD] Blanks in text box It the text box where I want to have the trailing blanks retained. I'm setting the filter for the text box in a subroutine that's called from the Change event of the text box. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 12, 2007 4:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Blanks in text box What is the "it" that won't accept and retain trailing blanks, Rocky, the list box, the textbox, the filter, or what? If you're trapping keystrokes, make sure you aren't including a Trim in there somewhere. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 12, 2007 4:24 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Blanks in text box Dear List: I am trapping keystrokes in a text box and setting a filter in a list box based on the current value in the text box. But it won't accept and retain trailing blanks. If my client wants to search on R & R for example, he presses R and the list box of names is filtered to all those beginning with R. if he then presses the space bar, it should show all the name beginning with R-blank. But of course, it strips the trailing blank. Is there some trick to getting the trailing blanks to be included in the string? MTIA Rocky From dwaters at usinternet.com Tue Nov 13 09:08:59 2007 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 13 Nov 2007 09:08:59 -0600 Subject: [AccessD] VB.Net / C# Guidelines In-Reply-To: <00e801c825fc$7ac9c910$6c7aa8c0@M90> References: <001201c825f4$3dbb9290$0200a8c0@danwaters><00e501c825f7$e696a000$6c7aa8c0@M90><001b01c825fa$5b7f4be0$0200a8c0@danwaters> <00e801c825fc$7ac9c910$6c7aa8c0@M90> Message-ID: <002001c82607$1ec654c0$0200a8c0@danwaters> OK - my support exists! Maybe someday I'll be a VB.Net programmer. ;-) Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 13, 2007 7:53 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines LOL, well... it goes in bursts. Critical mass is one of those strange things where people have to sign up and use it in order for others to observe that it is use and sign up and use it so that others observe that it is used. I do think that more and more of our AccessD members are trying out the .Net stuff and so hopefully we will gain critical mass someday. It won't happen without YOUR support however. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, November 13, 2007 8:38 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines I used to be signed up for that list, but there was almost no traffic on it. Has that changed recently? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 13, 2007 7:20 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines Thanks Dan. You should post this to the VB list since it really about .Net. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, November 13, 2007 7:54 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] VB.Net / C# Guidelines VB City is offering a free download (100 pages) of coding guidelines. http://submain.com/?nav=products.guidelines -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmattys at rochester.rr.com Tue Nov 13 09:11:50 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Tue, 13 Nov 2007 10:11:50 -0500 Subject: [AccessD] An Excel 2007 Observation References: <00ea01c825ff$0cfb67b0$6c7aa8c0@M90> Message-ID: <007a01c82607$85a32fb0$0202a8c0@Laptop> Hi John, In your tests, try using the Common Dialog or OpenFileName API to open any version prior to Access 2007. Then use Start ... Run. That should be an interesting excursion. The explanation I've read for this is that the ProgID is unchanged between versions and therefore resolves to 2007. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 13, 2007 9:11 AM Subject: [AccessD] An Excel 2007 Observation >I installed Office 2007 on a server where I already had Office 2003 > installed. I use Office 2003 (specifically Excel) on that machine quite a > bit. this morning I just double clicked on a spreadsheet and it was > loaded > in Excel 2007 (Office 2007 apparently replaced my file type mappings). I > checked the task manager memory usage and it was 20.6 mb for Excel with > that > specific spreadsheet. I then closed Excel 2007, opened Excel 2003 and > then > loaded the same spreadsheet. The memory usage was 10.5 mb. > > And BTW, there was no noticeable delay switching between the two versions, > nor did it request a disk etc. I will do more testing on that subject > later > when the server isn't working heavily on SQL Server stuff. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com From cfoust at infostatsystems.com Tue Nov 13 09:24:41 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 13 Nov 2007 07:24:41 -0800 Subject: [AccessD] Blanks in text box In-Reply-To: <005401c82597$1f9b4ce0$0301a8c0@HAL9005> References: <004901c8258b$77362c60$0301a8c0@HAL9005> <005401c82597$1f9b4ce0$0301a8c0@HAL9005> Message-ID: So what does the resulting filter look like? Have you tried replacing a " " with a Space(1)? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 12, 2007 5:47 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Blanks in text box It the text box where I want to have the trailing blanks retained. I'm setting the filter for the text box in a subroutine that's called from the Change event of the text box. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 12, 2007 4:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Blanks in text box What is the "it" that won't accept and retain trailing blanks, Rocky, the list box, the textbox, the filter, or what? If you're trapping keystrokes, make sure you aren't including a Trim in there somewhere. Charlotte Foust From cfoust at infostatsystems.com Tue Nov 13 09:30:57 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 13 Nov 2007 07:30:57 -0800 Subject: [AccessD] SP to create C# classes In-Reply-To: <00d901c825ee$a9cb0d40$6c7aa8c0@M90> References: <00d901c825ee$a9cb0d40$6c7aa8c0@M90> Message-ID: You also use such classes to enforce business rules in the data tier rather than having to code them into the UI. We use such classes for virtually all interaction with the data, bind our forms, reports and controls to the classes, etc. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 13, 2007 4:14 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SP to create C# classes Gustav, The purpose should be automated building of classes from tables. How many times I have wished for such a thing for Access (in fact built one myself and then lost it 8~( As for what to do with it... well suppose you had a table with 700 plus fields and you wanted to do something with that table that was difficult to do with SQL directly. You therefore need to import the data into classes so that you can programmatically manipulate the data... Before you can even begin you have to write a class with get/let and variable dim statements in the top of the class... How many days would it take you to write that one class? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, November 13, 2007 6:45 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SP to create C# classes Hi John Thanks! But what should the purpose be? Building a middle-tier? /gustav >>> jwcolby at colbyconsulting.com 13-11-2007 11:37 >>> I ran across this this morning. http://www.sqlservercentral.com/scripts/Miscellaneous/31997/ I have not tested it yet but thought that someone might find it useful. John W. Colby Colby Consulting 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 cfoust at infostatsystems.com Tue Nov 13 09:33:11 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 13 Nov 2007 07:33:11 -0800 Subject: [AccessD] An Excel 2007 Observation In-Reply-To: <00ea01c825ff$0cfb67b0$6c7aa8c0@M90> References: <00ea01c825ff$0cfb67b0$6c7aa8c0@M90> Message-ID: Interesting, John. I didn't try it with Excel, since I replaced all the Office apps except Access with the 2007 version, and believe me, that one runs the installer. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 13, 2007 6:11 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] An Excel 2007 Observation I installed Office 2007 on a server where I already had Office 2003 installed. I use Office 2003 (specifically Excel) on that machine quite a bit. this morning I just double clicked on a spreadsheet and it was loaded in Excel 2007 (Office 2007 apparently replaced my file type mappings). I checked the task manager memory usage and it was 20.6 mb for Excel with that specific spreadsheet. I then closed Excel 2007, opened Excel 2003 and then loaded the same spreadsheet. The memory usage was 10.5 mb. And BTW, there was no noticeable delay switching between the two versions, nor did it request a disk etc. I will do more testing on that subject later when the server isn't working heavily on SQL Server stuff. John W. Colby Colby Consulting www.ColbyConsulting.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 Nov 13 09:44:34 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 13 Nov 2007 07:44:34 -0800 Subject: [AccessD] Blanks in text box In-Reply-To: References: <004901c8258b$77362c60$0301a8c0@HAL9005><005401c82597$1f9b4ce0$0301a8c0@HAL9005> Message-ID: <006001c8260c$17ad3730$0301a8c0@HAL9005> if I key in r and then a space the resulting filter is just an r. There are actually four text boxes like that which can add criteria to the row source of the list box. I do this four times adding Where clauses to the row source: If Me.txtFirstNameFilter <> "" Then If InStr(1, lstGoTo.RowSource, "WHERE ") <> 0 Then Me.lstGoTo.RowSource = Me.lstGoTo.RowSource & " AND " Else Me.lstGoTo.RowSource = Me.lstGoTo.RowSource & " WHERE " End If Me.lstGoTo.RowSource = Me.lstGoTo.RowSource _ & "tblPersonSearch.FirstName Like '" & Me.txtFirstNameFilter & "*'" End If Each of the four text boxes has a change event which calls the subroutine SetSelectNameRowSource from which the above snip was taken. I put a message box in to see what was getting to the sub from the change event: MsgBox "*" & Nz(Me.txtLastNameFilter) & "*" By the time the sub opens the trailing blank has been stripped. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 13, 2007 7:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Blanks in text box So what does the resulting filter look like? Have you tried replacing a " " with a Space(1)? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 12, 2007 5:47 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Blanks in text box It the text box where I want to have the trailing blanks retained. I'm setting the filter for the text box in a subroutine that's called from the Change event of the text box. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 12, 2007 4:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Blanks in text box What is the "it" that won't accept and retain trailing blanks, Rocky, the list box, the textbox, the filter, or what? If you're trapping keystrokes, make sure you aren't including a Trim in there somewhere. Charlotte Foust -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.30/1127 - Release Date: 11/12/2007 9:19 PM From fuller.artful at gmail.com Tue Nov 13 09:58:08 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 13 Nov 2007 10:58:08 -0500 Subject: [AccessD] Blanks in text box In-Reply-To: <006001c8260c$17ad3730$0301a8c0@HAL9005> References: <004901c8258b$77362c60$0301a8c0@HAL9005> <005401c82597$1f9b4ce0$0301a8c0@HAL9005> <006001c8260c$17ad3730$0301a8c0@HAL9005> Message-ID: <29f585dd0711130758m22473902gd14ab6fffc084344@mail.gmail.com> This does not strike me as surprising, since the same thing happens in the database itself. You can't store "aaaa " in a column. Access will trim it. So it's only natural that it would do the same for its form controls, isn't it? A. On 11/13/07, Rocky Smolin at Beach Access Software wrote: > > if I key in r and then a space the resulting filter is just an r. There > are > actually four text boxes like that which can add criteria to the row > source > of the list box. I do this four times adding Where clauses to the row > source: > > From accessd at vftt.co.uk Tue Nov 13 10:04:41 2007 From: accessd at vftt.co.uk (Pete Phillipps) Date: Tue, 13 Nov 2007 16:04:41 -0000 Subject: [AccessD] Test In-Reply-To: <015201c81fa8$dc29c1b0$8abea8c0@XPS> Message-ID: <037401c8260e$ea6b7e50$0301a8c0@kilchoan> Test - ignore Pete Phillipps From accessd at vftt.co.uk Tue Nov 13 10:05:29 2007 From: accessd at vftt.co.uk (Pete Phillipps) Date: Tue, 13 Nov 2007 16:05:29 -0000 Subject: [AccessD] Test 2 In-Reply-To: <015201c81fa8$dc29c1b0$8abea8c0@XPS> Message-ID: <037501c8260f$07e7dd20$0301a8c0@kilchoan> Test 2 - ignore again Pete Phillipps From rockysmolin at bchacc.com Tue Nov 13 10:12:19 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 13 Nov 2007 08:12:19 -0800 Subject: [AccessD] Blanks in text box In-Reply-To: <29f585dd0711130758m22473902gd14ab6fffc084344@mail.gmail.com> References: <004901c8258b$77362c60$0301a8c0@HAL9005><005401c82597$1f9b4ce0$0301a8c0@HAL9005><006001c8260c$17ad3730$0301a8c0@HAL9005> <29f585dd0711130758m22473902gd14ab6fffc084344@mail.gmail.com> Message-ID: <006c01c8260f$f7fb5df0$0301a8c0@HAL9005> Only natural. So now I'm faced with the problem of committing an unnatural act. Any ideas? Programming, that is. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, November 13, 2007 7:58 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Blanks in text box This does not strike me as surprising, since the same thing happens in the database itself. You can't store "aaaa " in a column. Access will trim it. So it's only natural that it would do the same for its form controls, isn't it? A. On 11/13/07, Rocky Smolin at Beach Access Software wrote: > > if I key in r and then a space the resulting filter is just an r. > There are actually four text boxes like that which can add criteria to > the row source of the list box. I do this four times adding Where > clauses to the row > source: > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.30/1127 - Release Date: 11/12/2007 9:19 PM From jwcolby at colbyconsulting.com Tue Nov 13 10:13:09 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Nov 2007 11:13:09 -0500 Subject: [AccessD] VB.Net / C# Guidelines In-Reply-To: <002001c82607$1ec654c0$0200a8c0@danwaters> References: <001201c825f4$3dbb9290$0200a8c0@danwaters><00e501c825f7$e696a000$6c7aa8c0@M90><001b01c825fa$5b7f4be0$0200a8c0@danwaters><00e801c825fc$7ac9c910$6c7aa8c0@M90> <002001c82607$1ec654c0$0200a8c0@danwaters> Message-ID: <000201c82610$15da7630$6c7aa8c0@M90> LOL, maybe someday I'll be a .Net programmer too. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, November 13, 2007 10:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines OK - my support exists! Maybe someday I'll be a VB.Net programmer. ;-) Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 13, 2007 7:53 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines LOL, well... it goes in bursts. Critical mass is one of those strange things where people have to sign up and use it in order for others to observe that it is use and sign up and use it so that others observe that it is used. I do think that more and more of our AccessD members are trying out the .Net stuff and so hopefully we will gain critical mass someday. It won't happen without YOUR support however. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, November 13, 2007 8:38 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines I used to be signed up for that list, but there was almost no traffic on it. Has that changed recently? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 13, 2007 7:20 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines Thanks Dan. You should post this to the VB list since it really about .Net. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, November 13, 2007 7:54 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] VB.Net / C# Guidelines VB City is offering a free download (100 pages) of coding guidelines. http://submain.com/?nav=products.guidelines -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Tue Nov 13 10:25:57 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 13 Nov 2007 16:25:57 +0000 Subject: [AccessD] Blanks in text box In-Reply-To: <29f585dd0711130758m22473902gd14ab6fffc084344@mail.gmail.com> References: <004901c8258b$77362c60$0301a8c0@HAL9005> <005401c82597$1f9b4ce0$0301a8c0@HAL9005> <006001c8260c$17ad3730$0301a8c0@HAL9005> <29f585dd0711130758m22473902gd14ab6fffc084344@mail.gmail.com> Message-ID: Rocky, It might be crude, but could you just force the string using something like (code below) on the BeforeUpdate of the text box? Thanks, Mark A. Matte CODE START Dim SpaceCheck Dim Length Dim TrimLength Dim FinalString FinalString = Me!Text0 Length = Len(Me!Text0.Text) TrimLength = Len(Trim(Me!Text0.Text)) If Length = TrimLength Then GoTo SKIP SpaceCheck = 0 Do Until SpaceCheck = Length FinalString = FinalString & Chr(32) SpaceCheck = Len(FinalString) Loop SKIP: MsgBox FinalString & "test" CODE END > Date: Tue, 13 Nov 2007 10:58:08 -0500 > From: fuller.artful at gmail.com > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Blanks in text box > > This does not strike me as surprising, since the same thing happens in the > database itself. You can't store "aaaa " in a column. Access will trim it. > So it's only natural that it would do the same for its form controls, isn't > it? > > A. > > On 11/13/07, Rocky Smolin at Beach Access Software > wrote: >> >> if I key in r and then a space the resulting filter is just an r. There >> are >> actually four text boxes like that which can add criteria to the row >> source >> of the list box. I do this four times adding Where clauses to the row >> source: >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Windows Live Hotmail and Microsoft Office Outlook ? together at last. ?Get it now. http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL100626971033 From fuller.artful at gmail.com Tue Nov 13 10:28:27 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 13 Nov 2007 11:28:27 -0500 Subject: [AccessD] Blanks in text box In-Reply-To: <006c01c8260f$f7fb5df0$0301a8c0@HAL9005> References: <004901c8258b$77362c60$0301a8c0@HAL9005> <005401c82597$1f9b4ce0$0301a8c0@HAL9005> <006001c8260c$17ad3730$0301a8c0@HAL9005> <29f585dd0711130758m22473902gd14ab6fffc084344@mail.gmail.com> <006c01c8260f$f7fb5df0$0301a8c0@HAL9005> Message-ID: <29f585dd0711130828p495da587t5cd69a5e1d82008d@mail.gmail.com> I re-read the thread from the top, and afaics the only thing you can do is "empower" the user with a little education. Otherwise, you have a significant problem enabling the user to enter "r " plus some other filter. If you allow the user to enter "r *" then you'll get the effect you desire, I think. A. On 11/13/07, Rocky Smolin at Beach Access Software wrote: > > Only natural. So now I'm faced with the problem of committing an > unnatural > act. Any ideas? Programming, that is. > > Rocky > From accessd at vftt.co.uk Tue Nov 13 10:31:30 2007 From: accessd at vftt.co.uk (Pete Phillipps) Date: Tue, 13 Nov 2007 16:31:30 -0000 Subject: [AccessD] Test 4 In-Reply-To: <015201c81fa8$dc29c1b0$8abea8c0@XPS> Message-ID: <038301c82612$a8d0eb70$0301a8c0@kilchoan> Test 4 - ignore Pete Phillipps From accessd at vftt.co.uk Tue Nov 13 10:33:35 2007 From: accessd at vftt.co.uk (Pete Phillipps) Date: Tue, 13 Nov 2007 16:33:35 -0000 Subject: [AccessD] Test 5 In-Reply-To: <015201c81fa8$dc29c1b0$8abea8c0@XPS> Message-ID: Yet another test -just ignore me fo now :-) Pete Phillipps From cfoust at infostatsystems.com Tue Nov 13 10:41:06 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 13 Nov 2007 08:41:06 -0800 Subject: [AccessD] VB.Net / C# Guidelines In-Reply-To: <000201c82610$15da7630$6c7aa8c0@M90> References: <001201c825f4$3dbb9290$0200a8c0@danwaters><00e501c825f7$e696a000$6c7aa8c0@M90><001b01c825fa$5b7f4be0$0200a8c0@danwaters><00e801c825fc$7ac9c910$6c7aa8c0@M90><002001c82607$1ec654c0$0200a8c0@danwaters> <000201c82610$15da7630$6c7aa8c0@M90> Message-ID: Hah! I'm still trying for that after 2 years of DOING it! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 13, 2007 8:13 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines LOL, maybe someday I'll be a .Net programmer too. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, November 13, 2007 10:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines OK - my support exists! Maybe someday I'll be a VB.Net programmer. ;-) Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 13, 2007 7:53 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines LOL, well... it goes in bursts. Critical mass is one of those strange things where people have to sign up and use it in order for others to observe that it is use and sign up and use it so that others observe that it is used. I do think that more and more of our AccessD members are trying out the .Net stuff and so hopefully we will gain critical mass someday. It won't happen without YOUR support however. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, November 13, 2007 8:38 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines I used to be signed up for that list, but there was almost no traffic on it. Has that changed recently? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 13, 2007 7:20 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines Thanks Dan. You should post this to the VB list since it really about .Net. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, November 13, 2007 7:54 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] VB.Net / C# Guidelines VB City is offering a free download (100 pages) of coding guidelines. http://submain.com/?nav=products.guidelines -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 13 10:45:04 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 13 Nov 2007 08:45:04 -0800 Subject: [AccessD] Blanks in text box In-Reply-To: <29f585dd0711130828p495da587t5cd69a5e1d82008d@mail.gmail.com> References: <004901c8258b$77362c60$0301a8c0@HAL9005><005401c82597$1f9b4ce0$0301a8c0@HAL9005><006001c8260c$17ad3730$0301a8c0@HAL9005><29f585dd0711130758m22473902gd14ab6fffc084344@mail.gmail.com><006c01c8260f$f7fb5df0$0301a8c0@HAL9005> <29f585dd0711130828p495da587t5cd69a5e1d82008d@mail.gmail.com> Message-ID: <007401c82614$8bf54e90$0301a8c0@HAL9005> Arthur: Yes, it will do wild cards. I'll see if that is a practical compromise. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, November 13, 2007 8:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Blanks in text box I re-read the thread from the top, and afaics the only thing you can do is "empower" the user with a little education. Otherwise, you have a significant problem enabling the user to enter "r " plus some other filter. If you allow the user to enter "r *" then you'll get the effect you desire, I think. A. On 11/13/07, Rocky Smolin at Beach Access Software wrote: > > Only natural. So now I'm faced with the problem of committing an > unnatural act. Any ideas? Programming, that is. > > Rocky > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.30/1127 - Release Date: 11/12/2007 9:19 PM From rockysmolin at bchacc.com Tue Nov 13 10:48:38 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 13 Nov 2007 08:48:38 -0800 Subject: [AccessD] Blanks in text box In-Reply-To: References: <004901c8258b$77362c60$0301a8c0@HAL9005><005401c82597$1f9b4ce0$0301a8c0@HAL9005><006001c8260c$17ad3730$0301a8c0@HAL9005> <29f585dd0711130758m22473902gd14ab6fffc084344@mail.gmail.com> Message-ID: <007501c82615$0afd99e0$0301a8c0@HAL9005> Mark: I'm not sure that will work because the space seems to be getting trimmed from the string before I get hold of it. I may have to use key trapping to see what key was pressed. And if blank add it manually to the string during the row source update. Regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, November 13, 2007 8:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Blanks in text box Rocky, It might be crude, but could you just force the string using something like (code below) on the BeforeUpdate of the text box? Thanks, Mark A. Matte CODE START Dim SpaceCheck Dim Length Dim TrimLength Dim FinalString FinalString = Me!Text0 Length = Len(Me!Text0.Text) TrimLength = Len(Trim(Me!Text0.Text)) If Length = TrimLength Then GoTo SKIP SpaceCheck = 0 Do Until SpaceCheck = Length FinalString = FinalString & Chr(32) SpaceCheck = Len(FinalString) Loop SKIP: MsgBox FinalString & "test" CODE END > Date: Tue, 13 Nov 2007 10:58:08 -0500 > From: fuller.artful at gmail.com > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Blanks in text box > > This does not strike me as surprising, since the same thing happens in > the database itself. You can't store "aaaa " in a column. Access will trim it. > So it's only natural that it would do the same for its form controls, > isn't it? > > A. > > On 11/13/07, Rocky Smolin at Beach Access Software > wrote: >> >> if I key in r and then a space the resulting filter is just an r. >> There are actually four text boxes like that which can add criteria >> to the row source of the list box. I do this four times adding Where >> clauses to the row >> source: >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Windows Live Hotmail and Microsoft Office Outlook ? together at last. ?Get it now. http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL10062697 1033 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.30/1127 - Release Date: 11/12/2007 9:19 PM From markamatte at hotmail.com Tue Nov 13 10:54:05 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 13 Nov 2007 16:54:05 +0000 Subject: [AccessD] Blanks in text box In-Reply-To: <007501c82615$0afd99e0$0301a8c0@HAL9005> References: <004901c8258b$77362c60$0301a8c0@HAL9005><005401c82597$1f9b4ce0$0301a8c0@HAL9005><006001c8260c$17ad3730$0301a8c0@HAL9005> <29f585dd0711130758m22473902gd14ab6fffc084344@mail.gmail.com> <007501c82615$0afd99e0$0301a8c0@HAL9005> Message-ID: Rocky, I can't see exactly what you are looking at...but in testing what is below...I was losing the spaces when I left the text box...thats why I placed the code on the before update...and in that case the spaces where passed to the code. Good luck, Mark > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Tue, 13 Nov 2007 08:48:38 -0800 > Subject: Re: [AccessD] Blanks in text box > > Mark: > > I'm not sure that will work because the space seems to be getting trimmed > from the string before I get hold of it. I may have to use key trapping to > see what key was pressed. And if blank add it manually to the string during > the row source update. > > Regards, > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > Sent: Tuesday, November 13, 2007 8:26 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Blanks in text box > > > Rocky, > > It might be crude, but could you just force the string using something like > (code below) on the BeforeUpdate of the text box? > > Thanks, > > Mark A. Matte > > CODE START > Dim SpaceCheck > Dim Length > Dim TrimLength > Dim FinalString > FinalString = Me!Text0 > Length = Len(Me!Text0.Text) > TrimLength = Len(Trim(Me!Text0.Text)) > If Length = TrimLength Then GoTo SKIP > SpaceCheck = 0 > Do Until SpaceCheck = Length > FinalString = FinalString & Chr(32) > SpaceCheck = Len(FinalString) > Loop > SKIP: > MsgBox FinalString & "test" > CODE END > >> Date: Tue, 13 Nov 2007 10:58:08 -0500 >> From: fuller.artful at gmail.com >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] Blanks in text box >> >> This does not strike me as surprising, since the same thing happens in >> the database itself. You can't store "aaaa " in a column. Access will trim > it. >> So it's only natural that it would do the same for its form controls, >> isn't it? >> >> A. >> >> On 11/13/07, Rocky Smolin at Beach Access Software >> wrote: >>> >>> if I key in r and then a space the resulting filter is just an r. >>> There are actually four text boxes like that which can add criteria >>> to the row source of the list box. I do this four times adding Where >>> clauses to the row >>> source: >>> >>> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > _________________________________________________________________ > Windows Live Hotmail and Microsoft Office Outlook ? together at last. Get > it now. > http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL10062697 > 1033 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.15.30/1127 - Release Date: 11/12/2007 > 9:19 PM > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Windows Live Hotmail and Microsoft Office Outlook ? together at last. ?Get it now. http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL100626971033 From rockysmolin at bchacc.com Tue Nov 13 11:05:56 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 13 Nov 2007 09:05:56 -0800 Subject: [AccessD] Blanks in text box In-Reply-To: References: <004901c8258b$77362c60$0301a8c0@HAL9005><005401c82597$1f9b4ce0$0301a8c0@HAL9005><006001c8260c$17ad3730$0301a8c0@HAL9005><29f585dd0711130758m22473902gd14ab6fffc084344@mail.gmail.com> <007501c82615$0afd99e0$0301a8c0@HAL9005> Message-ID: <007e01c82617$767a77e0$0301a8c0@HAL9005> Mark: My debug statement shows that even in the Before Update event the blank is already gone. So I still need a way to know if the user has pressed the space bar. I'm updating the row source after every keystroke. Your code seems to imply that at that point Text0 still has the trailing blanks. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, November 13, 2007 8:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Blanks in text box Rocky, I can't see exactly what you are looking at...but in testing what is below...I was losing the spaces when I left the text box...thats why I placed the code on the before update...and in that case the spaces where passed to the code. Good luck, Mark > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Tue, 13 Nov 2007 08:48:38 -0800 > Subject: Re: [AccessD] Blanks in text box > > Mark: > > I'm not sure that will work because the space seems to be getting > trimmed from the string before I get hold of it. I may have to use key > trapping to see what key was pressed. And if blank add it manually to > the string during the row source update. > > Regards, > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A > Matte > Sent: Tuesday, November 13, 2007 8:26 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Blanks in text box > > > Rocky, > > It might be crude, but could you just force the string using something > like (code below) on the BeforeUpdate of the text box? > > Thanks, > > Mark A. Matte > > CODE START > Dim SpaceCheck > Dim Length > Dim TrimLength > Dim FinalString > FinalString = Me!Text0 > Length = Len(Me!Text0.Text) > TrimLength = Len(Trim(Me!Text0.Text)) > If Length = TrimLength Then GoTo SKIP > SpaceCheck = 0 > Do Until SpaceCheck = Length > FinalString = FinalString & Chr(32) > SpaceCheck = Len(FinalString) > Loop > SKIP: > MsgBox FinalString & "test" > CODE END > From jwcolby at colbyconsulting.com Tue Nov 13 11:15:52 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Nov 2007 12:15:52 -0500 Subject: [AccessD] VB.Net / C# Guidelines In-Reply-To: References: <001201c825f4$3dbb9290$0200a8c0@danwaters><00e501c825f7$e696a000$6c7aa8c0@M90><001b01c825fa$5b7f4be0$0200a8c0@danwaters><00e801c825fc$7ac9c910$6c7aa8c0@M90><002001c82607$1ec654c0$0200a8c0@danwaters><000201c82610$15da7630$6c7aa8c0@M90> Message-ID: <000e01c82618$d89e4220$6c7aa8c0@M90> Yea, but you were still trying to be an Access programmer after how many years? Then you gave up and moved on to .Net! ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 13, 2007 11:41 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VB.Net / C# Guidelines Hah! I'm still trying for that after 2 years of DOING it! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 13, 2007 8:13 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines LOL, maybe someday I'll be a .Net programmer too. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, November 13, 2007 10:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines OK - my support exists! Maybe someday I'll be a VB.Net programmer. ;-) Dan From markamatte at hotmail.com Tue Nov 13 11:17:58 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 13 Nov 2007 17:17:58 +0000 Subject: [AccessD] From Access to Hosted site??? In-Reply-To: <007501c82615$0afd99e0$0301a8c0@HAL9005> References: <004901c8258b$77362c60$0301a8c0@HAL9005><005401c82597$1f9b4ce0$0301a8c0@HAL9005><006001c8260c$17ad3730$0301a8c0@HAL9005> <29f585dd0711130758m22473902gd14ab6fffc084344@mail.gmail.com> <007501c82615$0afd99e0$0301a8c0@HAL9005> Message-ID: Hello All, I have asked questions related to this topic before...and honestly, without this list I would have never got this thing to work as is...but now its time to expand. Currently, everything listed below is done in access on a machine at my house. I want to have it hosted somewhere. Here is what it does. 1. check for file on FTP every 5 minutes 2. gets ftp file 3. unzips file 4. imports file LOOP HERE 5. runs SQL against import 6. concantenates results of sql into string 7. emails string END LOOP Lets say the loop part happens about 1000 times with different SQLs and emails that are constantly changing.(SQL and email addresses are stored in a table) At this point lets pretend that there is not a user interface...I just need to replicate the above automated functionality on a hosted site (just not my house...and somewhere reliable). If I could just drop my Access db out somewhere and let it run...I would...or can I? I'm really lost at this point. I guess my question is..."To put this out on a server...what would be the 'engine' or driving force that would coordinate and execute these tasks?" I'm a quick study...and will tackle whatever language/db/platform I need to...I'm just having trouble with my game plan. I don't know where to start. Any guidence or suggestions would be greatly appreciated. Thanks Again, Mark A. Matte _________________________________________________________________ Boo!?Scare away worms, viruses and so much more! Try Windows Live OneCare! http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews From markamatte at hotmail.com Tue Nov 13 11:21:38 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 13 Nov 2007 17:21:38 +0000 Subject: [AccessD] Blanks in text box In-Reply-To: <007e01c82617$767a77e0$0301a8c0@HAL9005> References: <004901c8258b$77362c60$0301a8c0@HAL9005><005401c82597$1f9b4ce0$0301a8c0@HAL9005><006001c8260c$17ad3730$0301a8c0@HAL9005><29f585dd0711130758m22473902gd14ab6fffc084344@mail.gmail.com> <007501c82615$0afd99e0$0301a8c0@HAL9005> <007e01c82617$767a77e0$0301a8c0@HAL9005> Message-ID: Rocky, Yes the code impies that...kinda...lol. the following is true on the BeforeUpdate >> Me!Text0.Text has the trailing spaces >> Me!Text0 does NOT have trailing spaces Does that make sense? Thanks, Mark > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Tue, 13 Nov 2007 09:05:56 -0800 > Subject: Re: [AccessD] Blanks in text box > > Mark: > > My debug statement shows that even in the Before Update event the blank is > already gone. So I still need a way to know if the user has pressed the > space bar. I'm updating the row source after every keystroke. Your code > seems to imply that at that point Text0 still has the trailing blanks. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > Sent: Tuesday, November 13, 2007 8:54 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Blanks in text box > > > Rocky, > > I can't see exactly what you are looking at...but in testing what is > below...I was losing the spaces when I left the text box...thats why I > placed the code on the before update...and in that case the spaces where > passed to the code. > > Good luck, > > Mark > >> From: rockysmolin at bchacc.com >> To: accessd at databaseadvisors.com >> Date: Tue, 13 Nov 2007 08:48:38 -0800 >> Subject: Re: [AccessD] Blanks in text box >> >> Mark: >> >> I'm not sure that will work because the space seems to be getting >> trimmed from the string before I get hold of it. I may have to use key >> trapping to see what key was pressed. And if blank add it manually to >> the string during the row source update. >> >> Regards, >> >> Rocky >> >> >> >> >> >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A >> Matte >> Sent: Tuesday, November 13, 2007 8:26 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Blanks in text box >> >> >> Rocky, >> >> It might be crude, but could you just force the string using something >> like (code below) on the BeforeUpdate of the text box? >> >> Thanks, >> >> Mark A. Matte >> >> CODE START >> Dim SpaceCheck >> Dim Length >> Dim TrimLength >> Dim FinalString >> FinalString = Me!Text0 >> Length = Len(Me!Text0.Text) >> TrimLength = Len(Trim(Me!Text0.Text)) >> If Length = TrimLength Then GoTo SKIP >> SpaceCheck = 0 >> Do Until SpaceCheck = Length >> FinalString = FinalString & Chr(32) >> SpaceCheck = Len(FinalString) >> Loop >> SKIP: >> MsgBox FinalString & "test" >> CODE END >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Climb to the top of the charts!? Play Star Shuffle:? the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct From markamatte at hotmail.com Tue Nov 13 11:25:02 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 13 Nov 2007 17:25:02 +0000 Subject: [AccessD] Blanks in text box In-Reply-To: <007e01c82617$767a77e0$0301a8c0@HAL9005> References: <004901c8258b$77362c60$0301a8c0@HAL9005><005401c82597$1f9b4ce0$0301a8c0@HAL9005><006001c8260c$17ad3730$0301a8c0@HAL9005><29f585dd0711130758m22473902gd14ab6fffc084344@mail.gmail.com> <007501c82615$0afd99e0$0301a8c0@HAL9005> <007e01c82617$767a77e0$0301a8c0@HAL9005> Message-ID: Ok...I feel kinda silly now...after reading my last response...why not ignore all the funky loop thing I did and just: (Again on the BeforeUpdate) Dim FinalString FinalString = Me!Text0.Text MsgBox FinalString & "test" I think we try to make this complicated. Good Luck, Mark > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Tue, 13 Nov 2007 09:05:56 -0800 > Subject: Re: [AccessD] Blanks in text box > > Mark: > > My debug statement shows that even in the Before Update event the blank is > already gone. So I still need a way to know if the user has pressed the > space bar. I'm updating the row source after every keystroke. Your code > seems to imply that at that point Text0 still has the trailing blanks. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > Sent: Tuesday, November 13, 2007 8:54 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Blanks in text box > > > Rocky, > > I can't see exactly what you are looking at...but in testing what is > below...I was losing the spaces when I left the text box...thats why I > placed the code on the before update...and in that case the spaces where > passed to the code. > > Good luck, > > Mark > >> From: rockysmolin at bchacc.com >> To: accessd at databaseadvisors.com >> Date: Tue, 13 Nov 2007 08:48:38 -0800 >> Subject: Re: [AccessD] Blanks in text box >> >> Mark: >> >> I'm not sure that will work because the space seems to be getting >> trimmed from the string before I get hold of it. I may have to use key >> trapping to see what key was pressed. And if blank add it manually to >> the string during the row source update. >> >> Regards, >> >> Rocky >> >> >> >> >> >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A >> Matte >> Sent: Tuesday, November 13, 2007 8:26 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Blanks in text box >> >> >> Rocky, >> >> It might be crude, but could you just force the string using something >> like (code below) on the BeforeUpdate of the text box? >> >> Thanks, >> >> Mark A. Matte >> >> CODE START >> Dim SpaceCheck >> Dim Length >> Dim TrimLength >> Dim FinalString >> FinalString = Me!Text0 >> Length = Len(Me!Text0.Text) >> TrimLength = Len(Trim(Me!Text0.Text)) >> If Length = TrimLength Then GoTo SKIP >> SpaceCheck = 0 >> Do Until SpaceCheck = Length >> FinalString = FinalString & Chr(32) >> SpaceCheck = Len(FinalString) >> Loop >> SKIP: >> MsgBox FinalString & "test" >> CODE END >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Boo!?Scare away worms, viruses and so much more! Try Windows Live OneCare! http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews From jwcolby at colbyconsulting.com Tue Nov 13 11:25:09 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Nov 2007 12:25:09 -0500 Subject: [AccessD] Query builder Message-ID: <001201c8261a$24ba3f50$6c7aa8c0@M90> My client is asking if there is a tool I can buy to make me more productive in building the queries for the analysis he is asking me to do. Just a quick Google of "SQL Server query generator" gets me these: http://www.querytool.com/?gclid=COXT2a-i2o8CFQNlHgodhSWX1Q http://sqlmanager.net/products/tools/querybuilder http://www.activequerybuilder.com/ Has anyone ever used any of these or have any recommendations for other tools like these? John W. Colby Colby Consulting www.ColbyConsulting.com From cfoust at infostatsystems.com Tue Nov 13 11:28:57 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 13 Nov 2007 09:28:57 -0800 Subject: [AccessD] VB.Net / C# Guidelines In-Reply-To: <000e01c82618$d89e4220$6c7aa8c0@M90> References: <001201c825f4$3dbb9290$0200a8c0@danwaters><00e501c825f7$e696a000$6c7aa8c0@M90><001b01c825fa$5b7f4be0$0200a8c0@danwaters><00e801c825fc$7ac9c910$6c7aa8c0@M90><002001c82607$1ec654c0$0200a8c0@danwaters><000201c82610$15da7630$6c7aa8c0@M90> <000e01c82618$d89e4220$6c7aa8c0@M90> Message-ID: Hmmn.... If Me.DataBindings.ToString = "John Colby" Then Me.DataBindings.Clear() End If Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 13, 2007 9:16 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines Yea, but you were still trying to be an Access programmer after how many years? Then you gave up and moved on to .Net! ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 13, 2007 11:41 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VB.Net / C# Guidelines Hah! I'm still trying for that after 2 years of DOING it! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 13, 2007 8:13 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines LOL, maybe someday I'll be a .Net programmer too. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, November 13, 2007 10:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines OK - my support exists! Maybe someday I'll be a VB.Net programmer. ;-) Dan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue Nov 13 11:30:06 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 13 Nov 2007 09:30:06 -0800 Subject: [AccessD] Blanks in text box In-Reply-To: References: <004901c8258b$77362c60$0301a8c0@HAL9005><005401c82597$1f9b4ce0$0301a8c0@HAL9005><006001c8260c$17ad3730$0301a8c0@HAL9005><29f585dd0711130758m22473902gd14ab6fffc084344@mail.gmail.com><007501c82615$0afd99e0$0301a8c0@HAL9005> <007e01c82617$767a77e0$0301a8c0@HAL9005> Message-ID: <008801c8261a$d661fbd0$0301a8c0@HAL9005> Mark: I've been doing VBA long enough not to ask for sense. Just consistency. Let me try it again with .Text. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, November 13, 2007 9:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Blanks in text box Rocky, Yes the code impies that...kinda...lol. the following is true on the BeforeUpdate >> Me!Text0.Text has the trailing spaces Me!Text0 does NOT have >> trailing spaces Does that make sense? Thanks, Mark > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Tue, 13 Nov 2007 09:05:56 -0800 > Subject: Re: [AccessD] Blanks in text box > > Mark: > > My debug statement shows that even in the Before Update event the > blank is already gone. So I still need a way to know if the user has > pressed the space bar. I'm updating the row source after every > keystroke. Your code seems to imply that at that point Text0 still has the trailing blanks. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A > Matte > Sent: Tuesday, November 13, 2007 8:54 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Blanks in text box > > > Rocky, > > I can't see exactly what you are looking at...but in testing what is > below...I was losing the spaces when I left the text box...thats why I > placed the code on the before update...and in that case the spaces > where passed to the code. > > Good luck, > > Mark > >> From: rockysmolin at bchacc.com >> To: accessd at databaseadvisors.com >> Date: Tue, 13 Nov 2007 08:48:38 -0800 >> Subject: Re: [AccessD] Blanks in text box >> >> Mark: >> >> I'm not sure that will work because the space seems to be getting >> trimmed from the string before I get hold of it. I may have to use >> key trapping to see what key was pressed. And if blank add it >> manually to the string during the row source update. >> >> Regards, >> >> Rocky >> >> >> >> >> >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A >> Matte >> Sent: Tuesday, November 13, 2007 8:26 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Blanks in text box >> >> >> Rocky, >> >> It might be crude, but could you just force the string using >> something like (code below) on the BeforeUpdate of the text box? >> >> Thanks, >> >> Mark A. Matte >> >> CODE START >> Dim SpaceCheck >> Dim Length >> Dim TrimLength >> Dim FinalString >> FinalString = Me!Text0 >> Length = Len(Me!Text0.Text) >> TrimLength = Len(Trim(Me!Text0.Text)) If Length = TrimLength Then >> GoTo SKIP SpaceCheck = 0 Do Until SpaceCheck = Length FinalString = >> FinalString & Chr(32) SpaceCheck = Len(FinalString) Loop >> SKIP: >> MsgBox FinalString & "test" >> CODE END >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Climb to the top of the charts!? Play Star Shuffle:? the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.30/1127 - Release Date: 11/12/2007 9:19 PM From markamatte at hotmail.com Tue Nov 13 11:42:28 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 13 Nov 2007 17:42:28 +0000 Subject: [AccessD] Blanks in text box In-Reply-To: <008801c8261a$d661fbd0$0301a8c0@HAL9005> References: <004901c8258b$77362c60$0301a8c0@HAL9005><005401c82597$1f9b4ce0$0301a8c0@HAL9005><006001c8260c$17ad3730$0301a8c0@HAL9005><29f585dd0711130758m22473902gd14ab6fffc084344@mail.gmail.com><007501c82615$0afd99e0$0301a8c0@HAL9005> <007e01c82617$767a77e0$0301a8c0@HAL9005> <008801c8261a$d661fbd0$0301a8c0@HAL9005> Message-ID: Lately I have been making much sense and confusing myself...and others...so it was more of a reference to me. > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Tue, 13 Nov 2007 09:30:06 -0800 > Subject: Re: [AccessD] Blanks in text box > > Mark: > > I've been doing VBA long enough not to ask for sense. Just consistency. > Let me try it again with .Text. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > Sent: Tuesday, November 13, 2007 9:22 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Blanks in text box > > > Rocky, > > Yes the code impies that...kinda...lol. the following is true on the > BeforeUpdate > >>> Me!Text0.Text has the trailing spaces Me!Text0 does NOT have >>> trailing spaces > > Does that make sense? > > Thanks, > > Mark > >> From: rockysmolin at bchacc.com >> To: accessd at databaseadvisors.com >> Date: Tue, 13 Nov 2007 09:05:56 -0800 >> Subject: Re: [AccessD] Blanks in text box >> >> Mark: >> >> My debug statement shows that even in the Before Update event the >> blank is already gone. So I still need a way to know if the user has >> pressed the space bar. I'm updating the row source after every >> keystroke. Your code seems to imply that at that point Text0 still has the > trailing blanks. >> >> Rocky >> >> >> >> >> >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A >> Matte >> Sent: Tuesday, November 13, 2007 8:54 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Blanks in text box >> >> >> Rocky, >> >> I can't see exactly what you are looking at...but in testing what is >> below...I was losing the spaces when I left the text box...thats why I >> placed the code on the before update...and in that case the spaces >> where passed to the code. >> >> Good luck, >> >> Mark >> >>> From: rockysmolin at bchacc.com >>> To: accessd at databaseadvisors.com >>> Date: Tue, 13 Nov 2007 08:48:38 -0800 >>> Subject: Re: [AccessD] Blanks in text box >>> >>> Mark: >>> >>> I'm not sure that will work because the space seems to be getting >>> trimmed from the string before I get hold of it. I may have to use >>> key trapping to see what key was pressed. And if blank add it >>> manually to the string during the row source update. >>> >>> Regards, >>> >>> Rocky >>> >>> >>> >>> >>> >>> >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A >>> Matte >>> Sent: Tuesday, November 13, 2007 8:26 AM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] Blanks in text box >>> >>> >>> Rocky, >>> >>> It might be crude, but could you just force the string using >>> something like (code below) on the BeforeUpdate of the text box? >>> >>> Thanks, >>> >>> Mark A. Matte >>> >>> CODE START >>> Dim SpaceCheck >>> Dim Length >>> Dim TrimLength >>> Dim FinalString >>> FinalString = Me!Text0 >>> Length = Len(Me!Text0.Text) >>> TrimLength = Len(Trim(Me!Text0.Text)) If Length = TrimLength Then >>> GoTo SKIP SpaceCheck = 0 Do Until SpaceCheck = Length FinalString = >>> FinalString & Chr(32) SpaceCheck = Len(FinalString) Loop >>> SKIP: >>> MsgBox FinalString & "test" >>> CODE END >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > _________________________________________________________________ > Climb to the top of the charts! Play Star Shuffle: the word scramble > challenge with star power. > http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.15.30/1127 - Release Date: 11/12/2007 > 9:19 PM > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Windows Live Hotmail and Microsoft Office Outlook ? together at last. ?Get it now. http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL100626971033 From jwcolby at colbyconsulting.com Tue Nov 13 11:49:01 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Nov 2007 12:49:01 -0500 Subject: [AccessD] VB.Net / C# Guidelines In-Reply-To: References: <001201c825f4$3dbb9290$0200a8c0@danwaters><00e501c825f7$e696a000$6c7aa8c0@M90><001b01c825fa$5b7f4be0$0200a8c0@danwaters><00e801c825fc$7ac9c910$6c7aa8c0@M90><002001c82607$1ec654c0$0200a8c0@danwaters><000201c82610$15da7630$6c7aa8c0@M90><000e01c82618$d89e4220$6c7aa8c0@M90> Message-ID: <001401c8261d$7b2b6e10$6c7aa8c0@M90> ROTFL. If me.value = "Charlotte" then me.PokeWithAStick endif John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 13, 2007 12:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VB.Net / C# Guidelines Hmmn.... If Me.DataBindings.ToString = "John Colby" Then Me.DataBindings.Clear() End If Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 13, 2007 9:16 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines Yea, but you were still trying to be an Access programmer after how many years? Then you gave up and moved on to .Net! ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 13, 2007 11:41 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VB.Net / C# Guidelines Hah! I'm still trying for that after 2 years of DOING it! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 13, 2007 8:13 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines LOL, maybe someday I'll be a .Net programmer too. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, November 13, 2007 10:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines OK - my support exists! Maybe someday I'll be a VB.Net programmer. ;-) 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 DWUTKA at Marlow.com Tue Nov 13 11:49:53 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Tue, 13 Nov 2007 11:49:53 -0600 Subject: [AccessD] From Access to Hosted site??? In-Reply-To: Message-ID: Just curious, why don't you want this running from your house? Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, November 13, 2007 11:18 AM To: Access Developers discussion and problem solving Subject: [AccessD] From Access to Hosted site??? Hello All, I have asked questions related to this topic before...and honestly, without this list I would have never got this thing to work as is...but now its time to expand. Currently, everything listed below is done in access on a machine at my house. I want to have it hosted somewhere. Here is what it does. 1. check for file on FTP every 5 minutes 2. gets ftp file 3. unzips file 4. imports file LOOP HERE 5. runs SQL against import 6. concantenates results of sql into string 7. emails string END LOOP Lets say the loop part happens about 1000 times with different SQLs and emails that are constantly changing.(SQL and email addresses are stored in a table) At this point lets pretend that there is not a user interface...I just need to replicate the above automated functionality on a hosted site (just not my house...and somewhere reliable). If I could just drop my Access db out somewhere and let it run...I would...or can I? I'm really lost at this point. I guess my question is..."To put this out on a server...what would be the 'engine' or driving force that would coordinate and execute these tasks?" I'm a quick study...and will tackle whatever language/db/platform I need to...I'm just having trouble with my game plan. I don't know where to start. Any guidence or suggestions would be greatly appreciated. Thanks Again, Mark A. Matte _________________________________________________________________ Boo!?Scare away worms, viruses and so much more! Try Windows Live OneCare! http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews -- 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 BusinessSensitve 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 lmrazek at lcm-res.com Tue Nov 13 11:50:42 2007 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Tue, 13 Nov 2007 11:50:42 -0600 Subject: [AccessD] From Access to Hosted site??? In-Reply-To: References: <004901c8258b$77362c60$0301a8c0@HAL9005><005401c82597$1f9b4ce0$0301a8c0@HAL9005><006001c8260c$17ad3730$0301a8c0@HAL9005><29f585dd0711130758m22473902gd14ab6fffc084344@mail.gmail.com> <007501c82615$0afd99e0$0301a8c0@HAL9005> Message-ID: <046f01c8261d$b5c60620$0702a8c0@lcmdv8000> Hi Mark: If you're looking at running this on a hosted site, then you'll probably require a provider that offers a virtual private server or a dedicated server. Prices (and service) varies widely, but if you need to actually install and schedule an access app, this is the way you'll probably need to go. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, November 13, 2007 11:18 AM To: Access Developers discussion and problem solving Subject: [AccessD] From Access to Hosted site??? Hello All, I have asked questions related to this topic before...and honestly, without this list I would have never got this thing to work as is...but now its time to expand. Currently, everything listed below is done in access on a machine at my house. I want to have it hosted somewhere. Here is what it does. 1. check for file on FTP every 5 minutes 2. gets ftp file 3. unzips file 4. imports file LOOP HERE 5. runs SQL against import 6. concantenates results of sql into string 7. emails string END LOOP Lets say the loop part happens about 1000 times with different SQLs and emails that are constantly changing.(SQL and email addresses are stored in a table) At this point lets pretend that there is not a user interface...I just need to replicate the above automated functionality on a hosted site (just not my house...and somewhere reliable). If I could just drop my Access db out somewhere and let it run...I would...or can I? I'm really lost at this point. I guess my question is..."To put this out on a server...what would be the 'engine' or driving force that would coordinate and execute these tasks?" I'm a quick study...and will tackle whatever language/db/platform I need to...I'm just having trouble with my game plan. I don't know where to start. Any guidence or suggestions would be greatly appreciated. Thanks Again, Mark A. Matte _________________________________________________________________ Boo!?Scare away worms, viruses and so much more! Try Windows Live OneCare! http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailn ews -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Tue Nov 13 12:02:28 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 13 Nov 2007 18:02:28 +0000 Subject: [AccessD] From Access to Hosted site??? In-Reply-To: <046f01c8261d$b5c60620$0702a8c0@lcmdv8000> References: <004901c8258b$77362c60$0301a8c0@HAL9005><005401c82597$1f9b4ce0$0301a8c0@HAL9005><006001c8260c$17ad3730$0301a8c0@HAL9005><29f585dd0711130758m22473902gd14ab6fffc084344@mail.gmail.com> <007501c82615$0afd99e0$0301a8c0@HAL9005> <046f01c8261d$b5c60620$0702a8c0@lcmdv8000> Message-ID: Larry, The functionality is currently in Access. If I can go this route and leave it in access...I probably will. I am curious as to what other approaches listers would suggest. Thanks for the advice. Mark > From: lmrazek at lcm-res.com > To: accessd at databaseadvisors.com > Date: Tue, 13 Nov 2007 11:50:42 -0600 > Subject: Re: [AccessD] From Access to Hosted site??? > > Hi Mark: > > If you're looking at running this on a hosted site, then you'll probably > require a provider that offers a virtual private server or a dedicated > server. Prices (and service) varies widely, but if you need to actually > install and schedule an access app, this is the way you'll probably need to > go. > > Larry Mrazek > LCM Research, Inc. > www.lcm-res.com > lmrazek at lcm-res.com > ph. 314-432-5886 > mobile: 314-496-1645 > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > Sent: Tuesday, November 13, 2007 11:18 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] From Access to Hosted site??? > > > Hello All, > > I have asked questions related to this topic before...and honestly, without > this list I would have never got this thing to work as is...but now its time > to expand. Currently, everything listed below is done in access on a > machine at my house. I want to have it hosted somewhere. Here is what it > does. > > 1. check for file on FTP every 5 minutes 2. gets ftp file 3. unzips file > 4. imports file LOOP HERE 5. runs SQL against import 6. concantenates > results of sql into string 7. emails string END LOOP > > Lets say the loop part happens about 1000 times with different SQLs and > emails that are constantly changing.(SQL and email addresses are stored in a > table) > > At this point lets pretend that there is not a user interface...I just need > to replicate the above automated functionality on a hosted site (just not my > house...and somewhere reliable). > > If I could just drop my Access db out somewhere and let it run...I > would...or can I? > > I'm really lost at this point. I guess my question is..."To put this out on > a server...what would be the 'engine' or driving force that would coordinate > and execute these tasks?" > > I'm a quick study...and will tackle whatever language/db/platform I need > to...I'm just having trouble with my game plan. I don't know where to > start. > > Any guidence or suggestions would be greatly appreciated. > > Thanks Again, > > Mark A. Matte > > > > > > > _________________________________________________________________ > Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare! > http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailn > ews > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Windows Live Hotmail and Microsoft Office Outlook ? together at last. ?Get it now. http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL100626971033 From markamatte at hotmail.com Tue Nov 13 12:11:55 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 13 Nov 2007 18:11:55 +0000 Subject: [AccessD] From Access to Hosted site??? In-Reply-To: References: Message-ID: Drew, There are a few reasons: 1. There will eventually be a front end/UI/webpage for people to subscribe to this service and need to be available. 2. Right now I use docmd.sendobject to send the email..fine for a few emails...but I will need to send 1000s (hopefully)...thought it easier to pay for a site with email capability 3. I'm trying to get as mobile as possible...don't want to be tied to that single machine...site goes down...hosted =I call someone...Home=I fly home. Thanks, Mark A. Matte P.S...Most of the db's I have created were for very specific tasks...and never had a need to create something on this scale (availability scale)...typically never more than a few users. But my biggest uncertainty is what 'engine' can drive this thing. > Date: Tue, 13 Nov 2007 11:49:53 -0600 > From: DWUTKA at marlow.com > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] From Access to Hosted site??? > > Just curious, why don't you want this running from your house? > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > Sent: Tuesday, November 13, 2007 11:18 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] From Access to Hosted site??? > > > Hello All, > > I have asked questions related to this topic before...and honestly, without this list I would have never got this thing to work as is...but now its time to expand. Currently, everything listed below is done in access on a machine at my house. I want to have it hosted somewhere. Here is what it does. > > 1. check for file on FTP every 5 minutes > 2. gets ftp file > 3. unzips file > 4. imports file > LOOP HERE > 5. runs SQL against import > 6. concantenates results of sql into string > 7. emails string > END LOOP > > Lets say the loop part happens about 1000 times with different SQLs and emails that are constantly changing.(SQL and email addresses are stored in a table) > > At this point lets pretend that there is not a user interface...I just need to replicate the above automated functionality on a hosted site (just not my house...and somewhere reliable). > > If I could just drop my Access db out somewhere and let it run...I would...or can I? > > I'm really lost at this point. I guess my question is..."To put this out on a server...what would be the 'engine' or driving force that would coordinate and execute these tasks?" > > I'm a quick study...and will tackle whatever language/db/platform I need to...I'm just having trouble with my game plan. I don't know where to start. > > Any guidence or suggestions would be greatly appreciated. > > Thanks Again, > > Mark A. Matte > > > > > > > _________________________________________________________________ > Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare! > http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews > -- > 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 BusinessSensitve 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 _________________________________________________________________ Help yourself to FREE treats served up daily at the Messenger Caf?. Stop by today. http://www.cafemessenger.com/info/info_sweetstuff2.html?ocid=TXT_TAGLM_OctWLtagline From Gustav at cactus.dk Tue Nov 13 12:28:00 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 13 Nov 2007 19:28:00 +0100 Subject: [AccessD] Query builder Message-ID: Hi John A more comprehensive query and reporting tool from our (previous?) member, Rudolf Vanek, is DBxtra: http://www.dbxtra.com/ /gustav >>> jwcolby at colbyconsulting.com 13-11-2007 18:25 >>> My client is asking if there is a tool I can buy to make me more productive in building the queries for the analysis he is asking me to do. Just a quick Google of "SQL Server query generator" gets me these: http://www.querytool.com/?gclid=COXT2a-i2o8CFQNlHgodhSWX1Q http://sqlmanager.net/products/tools/querybuilder http://www.activequerybuilder.com/ Has anyone ever used any of these or have any recommendations for other tools like these? John W. Colby Colby Consulting www.ColbyConsulting.com From robert at webedb.com Tue Nov 13 13:23:51 2007 From: robert at webedb.com (Robert L. Stewart) Date: Tue, 13 Nov 2007 13:23:51 -0600 Subject: [AccessD] From Access to Hosted site??? In-Reply-To: References: Message-ID: <200711131926.lADJQr2O016019@databaseadvisors.com> I would use SQL Server, create a job, and schedule it to run every X minutes. The question would be if the hosting company would let you email from the SQL Server. At 11:50 AM 11/13/2007, you wrote: >Date: Tue, 13 Nov 2007 17:17:58 +0000 >From: Mark A Matte >Subject: [AccessD] From Access to Hosted site??? >To: Access Developers discussion and problem solving > >Message-ID: >Content-Type: text/plain; charset="iso-8859-1" > > >Hello All, > >I have asked questions related to this topic before...and honestly, >without this list I would have never got this thing to work as >is...but now its time to expand. Currently, everything listed below >is done in access on a machine at my house. I want to have it >hosted somewhere. Here is what it does. > >1. check for file on FTP every 5 minutes >2. gets ftp file >3. unzips file >4. imports file >LOOP HERE >5. runs SQL against import >6. concantenates results of sql into string >7. emails string >END LOOP > >Lets say the loop part happens about 1000 times with different SQLs >and emails that are constantly changing.(SQL and email addresses are >stored in a table) > >At this point lets pretend that there is not a user interface...I >just need to replicate the above automated functionality on a hosted >site (just not my house...and somewhere reliable). > >If I could just drop my Access db out somewhere and let it run...I >would...or can I? > >I'm really lost at this point. I guess my question is..."To put >this out on a server...what would be the 'engine' or driving force >that would coordinate and execute these tasks?" > >I'm a quick study...and will tackle whatever language/db/platform I >need to...I'm just having trouble with my game plan. I don't know >where to start. > >Any guidence or suggestions would be greatly appreciated. > >Thanks Again, > >Mark A. Matte > From jwcolby at colbyconsulting.com Tue Nov 13 14:13:43 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Nov 2007 15:13:43 -0500 Subject: [AccessD] 4 Core cpu Message-ID: <000401c82631$b1463340$6c7aa8c0@M90> Does anyone out there have a quad core processor? I am interested in how the 4 cores work with SQL Server specifically. I can tell you that moving to a dual core made a huge difference in "response time" for allowing me to do things simultaneously in SQL Server. I am running a compact database (I think / hope) and am also able to run queries, build indexes on other databases etc. I am just wondering how it looks with a quad core? John W. Colby Colby Consulting www.ColbyConsulting.com From DWUTKA at Marlow.com Tue Nov 13 14:43:22 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Tue, 13 Nov 2007 14:43:22 -0600 Subject: [AccessD] From Access to Hosted site??? In-Reply-To: Message-ID: I see (said the blind man, as he picked up the hammer and saw). Pretty much everything you want to do, you could do with a home setup. (Reliable ISP with a static IP address and domain name, UPS, server OS mirrored drives). I personally don't know of any hosting site out there that let's you host an Access application. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, November 13, 2007 12:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] From Access to Hosted site??? Drew, There are a few reasons: 1. There will eventually be a front end/UI/webpage for people to subscribe to this service and need to be available. 2. Right now I use docmd.sendobject to send the email..fine for a few emails...but I will need to send 1000s (hopefully)...thought it easier to pay for a site with email capability 3. I'm trying to get as mobile as possible...don't want to be tied to that single machine...site goes down...hosted =I call someone...Home=I fly home. Thanks, Mark A. Matte P.S...Most of the db's I have created were for very specific tasks...and never had a need to create something on this scale (availability scale)...typically never more than a few users. But my biggest uncertainty is what 'engine' can drive this thing. > Date: Tue, 13 Nov 2007 11:49:53 -0600 > From: DWUTKA at marlow.com > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] From Access to Hosted site??? > > Just curious, why don't you want this running from your house? > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > Sent: Tuesday, November 13, 2007 11:18 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] From Access to Hosted site??? > > > Hello All, > > I have asked questions related to this topic before...and honestly, without this list I would have never got this thing to work as is...but now its time to expand. Currently, everything listed below is done in access on a machine at my house. I want to have it hosted somewhere. Here is what it does. > > 1. check for file on FTP every 5 minutes > 2. gets ftp file > 3. unzips file > 4. imports file > LOOP HERE > 5. runs SQL against import > 6. concantenates results of sql into string > 7. emails string > END LOOP > > Lets say the loop part happens about 1000 times with different SQLs and emails that are constantly changing.(SQL and email addresses are stored in a table) > > At this point lets pretend that there is not a user interface...I just need to replicate the above automated functionality on a hosted site (just not my house...and somewhere reliable). > > If I could just drop my Access db out somewhere and let it run...I would...or can I? > > I'm really lost at this point. I guess my question is..."To put this out on a server...what would be the 'engine' or driving force that would coordinate and execute these tasks?" > > I'm a quick study...and will tackle whatever language/db/platform I need to...I'm just having trouble with my game plan. I don't know where to start. > > Any guidence or suggestions would be greatly appreciated. > > Thanks Again, > > Mark A. Matte > > > > > > > _________________________________________________________________ > Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare! > http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews > -- > 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 BusinessSensitve 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 _________________________________________________________________ Help yourself to FREE treats served up daily at the Messenger Caf?. Stop by today. http://www.cafemessenger.com/info/info_sweetstuff2.html?ocid=TXT_TAGLM_OctWLtagline -- 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 BusinessSensitve 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 markamatte at hotmail.com Tue Nov 13 15:26:37 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 13 Nov 2007 21:26:37 +0000 Subject: [AccessD] From Access to Hosted site??? In-Reply-To: References: Message-ID: So if I ask for advise...and you give it...and I follow...proverbial blind leading the blind??? I have a hammer AND a saw!!! If I can't leave it in Access...what should I use...and we are not talkng about record count...If I'm lucky...I might have 1000 records in my SQL table and then import(then delete) 3k every 30 minutes. What 'program' should I use to manage/execute the tasks listed below...every 30 minutes. Thanks, Mark > Date: Tue, 13 Nov 2007 14:43:22 -0600 > From: DWUTKA at marlow.com > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] From Access to Hosted site??? > > I see (said the blind man, as he picked up the hammer and saw). > > Pretty much everything you want to do, you could do with a home setup. (Reliable ISP with a static IP address and domain name, UPS, server OS mirrored drives). I personally don't know of any hosting site out there that let's you host an Access application. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > Sent: Tuesday, November 13, 2007 12:12 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] From Access to Hosted site??? > > > > > Drew, > > There are a few reasons: > > 1. There will eventually be a front end/UI/webpage for people to subscribe to this service and need to be available. > 2. Right now I use docmd.sendobject to send the email..fine for a few emails...but I will need to send 1000s (hopefully)...thought it easier to pay for a site with email capability > 3. I'm trying to get as mobile as possible...don't want to be tied to that single machine...site goes down...hosted =I call someone...Home=I fly home. > > Thanks, > > Mark A. Matte > > P.S...Most of the db's I have created were for very specific tasks...and never had a need to create something on this scale (availability scale)...typically never more than a few users. But my biggest uncertainty is what 'engine' can drive this thing. > > >> Date: Tue, 13 Nov 2007 11:49:53 -0600 >> From: DWUTKA at marlow.com >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] From Access to Hosted site??? >> >> Just curious, why don't you want this running from your house? >> >> Drew >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >> Sent: Tuesday, November 13, 2007 11:18 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] From Access to Hosted site??? >> >> >> Hello All, >> >> I have asked questions related to this topic before...and honestly, without this list I would have never got this thing to work as is...but now its time to expand. Currently, everything listed below is done in access on a machine at my house. I want to have it hosted somewhere. Here is what it does. >> >> 1. check for file on FTP every 5 minutes >> 2. gets ftp file >> 3. unzips file >> 4. imports file >> LOOP HERE >> 5. runs SQL against import >> 6. concantenates results of sql into string >> 7. emails string >> END LOOP >> >> Lets say the loop part happens about 1000 times with different SQLs and emails that are constantly changing.(SQL and email addresses are stored in a table) >> >> At this point lets pretend that there is not a user interface...I just need to replicate the above automated functionality on a hosted site (just not my house...and somewhere reliable). >> >> If I could just drop my Access db out somewhere and let it run...I would...or can I? >> >> I'm really lost at this point. I guess my question is..."To put this out on a server...what would be the 'engine' or driving force that would coordinate and execute these tasks?" >> >> I'm a quick study...and will tackle whatever language/db/platform I need to...I'm just having trouble with my game plan. I don't know where to start. >> >> Any guidence or suggestions would be greatly appreciated. >> >> Thanks Again, >> >> Mark A. Matte >> >> >> >> >> >> >> _________________________________________________________________ >> Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare! >> http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews >> -- >> 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 BusinessSensitve 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 > > _________________________________________________________________ > Help yourself to FREE treats served up daily at the Messenger Caf?. Stop by today. > http://www.cafemessenger.com/info/info_sweetstuff2.html?ocid=TXT_TAGLM_OctWLtagline > -- > 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 BusinessSensitve 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 _________________________________________________________________ Climb to the top of the charts!? Play Star Shuffle:? the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct From jwcolby at colbyconsulting.com Tue Nov 13 15:39:30 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Nov 2007 16:39:30 -0500 Subject: [AccessD] From Access to Hosted site??? In-Reply-To: References: Message-ID: <000901c8263d$ad521f40$6c7aa8c0@M90> For that size application I would go with a site hosted on your own machine (for now). I would tend to think vb.net / sql server. Once you get the application ported and running then move it to a hosting site. Lots of them will allow VB.Net applications to run. Until then you have total control over everything. Now, I can't claim 20/20 vision here since I do not host a web site from my home, but you can get a business account with the cable company, get pretty fair speeds, they know and are OK with web sites (over a business account) and you can get fixed IP addresses. Make it work, then swap it out to a pro web hosting site later. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, November 13, 2007 4:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] From Access to Hosted site??? So if I ask for advise...and you give it...and I follow...proverbial blind leading the blind??? I have a hammer AND a saw!!! If I can't leave it in Access...what should I use...and we are not talkng about record count...If I'm lucky...I might have 1000 records in my SQL table and then import(then delete) 3k every 30 minutes. What 'program' should I use to manage/execute the tasks listed below...every 30 minutes. Thanks, Mark > Date: Tue, 13 Nov 2007 14:43:22 -0600 > From: DWUTKA at marlow.com > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] From Access to Hosted site??? > > I see (said the blind man, as he picked up the hammer and saw). > > Pretty much everything you want to do, you could do with a home setup. (Reliable ISP with a static IP address and domain name, UPS, server OS mirrored drives). I personally don't know of any hosting site out there that let's you host an Access application. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A > Matte > Sent: Tuesday, November 13, 2007 12:12 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] From Access to Hosted site??? > > > > > Drew, > > There are a few reasons: > > 1. There will eventually be a front end/UI/webpage for people to subscribe to this service and need to be available. > 2. Right now I use docmd.sendobject to send the email..fine for a few > emails...but I will need to send 1000s (hopefully)...thought it easier to pay for a site with email capability 3. I'm trying to get as mobile as possible...don't want to be tied to that single machine...site goes down...hosted =I call someone...Home=I fly home. > > Thanks, > > Mark A. Matte > > P.S...Most of the db's I have created were for very specific tasks...and never had a need to create something on this scale (availability scale)...typically never more than a few users. But my biggest uncertainty is what 'engine' can drive this thing. > > >> Date: Tue, 13 Nov 2007 11:49:53 -0600 >> From: DWUTKA at marlow.com >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] From Access to Hosted site??? >> >> Just curious, why don't you want this running from your house? >> >> Drew >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A >> Matte >> Sent: Tuesday, November 13, 2007 11:18 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] From Access to Hosted site??? >> >> >> Hello All, >> >> I have asked questions related to this topic before...and honestly, without this list I would have never got this thing to work as is...but now its time to expand. Currently, everything listed below is done in access on a machine at my house. I want to have it hosted somewhere. Here is what it does. >> >> 1. check for file on FTP every 5 minutes 2. gets ftp file 3. unzips >> file 4. imports file LOOP HERE 5. runs SQL against import 6. >> concantenates results of sql into string 7. emails string END LOOP >> >> Lets say the loop part happens about 1000 times with different SQLs >> and emails that are constantly changing.(SQL and email addresses are >> stored in a table) >> >> At this point lets pretend that there is not a user interface...I just need to replicate the above automated functionality on a hosted site (just not my house...and somewhere reliable). >> >> If I could just drop my Access db out somewhere and let it run...I would...or can I? >> >> I'm really lost at this point. I guess my question is..."To put this out on a server...what would be the 'engine' or driving force that would coordinate and execute these tasks?" >> >> I'm a quick study...and will tackle whatever language/db/platform I need to...I'm just having trouble with my game plan. I don't know where to start. >> >> Any guidence or suggestions would be greatly appreciated. >> >> Thanks Again, >> >> Mark A. Matte >> >> >> >> >> >> >> _________________________________________________________________ >> Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare! >> http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_h >> otmailnews >> -- >> 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 BusinessSensitve 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 > > _________________________________________________________________ > Help yourself to FREE treats served up daily at the Messenger Caf?. Stop by today. > http://www.cafemessenger.com/info/info_sweetstuff2.html?ocid=TXT_TAGLM > _OctWLtagline > -- > 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 BusinessSensitve 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 _________________________________________________________________ Climb to the top of the charts!? Play Star Shuffle:? the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at Marlow.com Tue Nov 13 15:41:18 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Tue, 13 Nov 2007 15:41:18 -0600 Subject: [AccessD] From Access to Hosted site??? In-Reply-To: Message-ID: Good question. The problem is most hosting sites host web sites. So you can have an Access .mdb, but they aren't going to actively run it for you. There might be a company out there doing hosting like that, I just haven't heard of one. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, November 13, 2007 3:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] From Access to Hosted site??? So if I ask for advise...and you give it...and I follow...proverbial blind leading the blind??? I have a hammer AND a saw!!! If I can't leave it in Access...what should I use...and we are not talkng about record count...If I'm lucky...I might have 1000 records in my SQL table and then import(then delete) 3k every 30 minutes. What 'program' should I use to manage/execute the tasks listed below...every 30 minutes. Thanks, Mark > Date: Tue, 13 Nov 2007 14:43:22 -0600 > From: DWUTKA at marlow.com > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] From Access to Hosted site??? > > I see (said the blind man, as he picked up the hammer and saw). > > Pretty much everything you want to do, you could do with a home setup. (Reliable ISP with a static IP address and domain name, UPS, server OS mirrored drives). I personally don't know of any hosting site out there that let's you host an Access application. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > Sent: Tuesday, November 13, 2007 12:12 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] From Access to Hosted site??? > > > > > Drew, > > There are a few reasons: > > 1. There will eventually be a front end/UI/webpage for people to subscribe to this service and need to be available. > 2. Right now I use docmd.sendobject to send the email..fine for a few emails...but I will need to send 1000s (hopefully)...thought it easier to pay for a site with email capability > 3. I'm trying to get as mobile as possible...don't want to be tied to that single machine...site goes down...hosted =I call someone...Home=I fly home. > > Thanks, > > Mark A. Matte > > P.S...Most of the db's I have created were for very specific tasks...and never had a need to create something on this scale (availability scale)...typically never more than a few users. But my biggest uncertainty is what 'engine' can drive this thing. > > >> Date: Tue, 13 Nov 2007 11:49:53 -0600 >> From: DWUTKA at marlow.com >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] From Access to Hosted site??? >> >> Just curious, why don't you want this running from your house? >> >> Drew >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >> Sent: Tuesday, November 13, 2007 11:18 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] From Access to Hosted site??? >> >> >> Hello All, >> >> I have asked questions related to this topic before...and honestly, without this list I would have never got this thing to work as is...but now its time to expand. Currently, everything listed below is done in access on a machine at my house. I want to have it hosted somewhere. Here is what it does. >> >> 1. check for file on FTP every 5 minutes >> 2. gets ftp file >> 3. unzips file >> 4. imports file >> LOOP HERE >> 5. runs SQL against import >> 6. concantenates results of sql into string >> 7. emails string >> END LOOP >> >> Lets say the loop part happens about 1000 times with different SQLs and emails that are constantly changing.(SQL and email addresses are stored in a table) >> >> At this point lets pretend that there is not a user interface...I just need to replicate the above automated functionality on a hosted site (just not my house...and somewhere reliable). >> >> If I could just drop my Access db out somewhere and let it run...I would...or can I? >> >> I'm really lost at this point. I guess my question is..."To put this out on a server...what would be the 'engine' or driving force that would coordinate and execute these tasks?" >> >> I'm a quick study...and will tackle whatever language/db/platform I need to...I'm just having trouble with my game plan. I don't know where to start. >> >> Any guidence or suggestions would be greatly appreciated. >> >> Thanks Again, >> >> Mark A. Matte >> >> >> >> >> >> >> _________________________________________________________________ >> Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare! >> http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews >> -- >> 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 BusinessSensitve 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 > > _________________________________________________________________ > Help yourself to FREE treats served up daily at the Messenger Caf?. Stop by today. > http://www.cafemessenger.com/info/info_sweetstuff2.html?ocid=TXT_TAGLM_OctWLtagline > -- > 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 BusinessSensitve 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 _________________________________________________________________ Climb to the top of the charts!? Play Star Shuffle:? the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct -- 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 BusinessSensitve 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 jengross at gte.net Tue Nov 13 15:43:41 2007 From: jengross at gte.net (Jennifer Gross) Date: Tue, 13 Nov 2007 13:43:41 -0800 Subject: [AccessD] From Access to Hosted site??? In-Reply-To: Message-ID: <00de01c8263e$4293cef0$6501a8c0@jefferson> NetworkSolutions.com will let you host an Access app. I have been poking around for a hosting company and just happened to notice this a few weeks ago. Jennifer -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Tuesday, November 13, 2007 12:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] From Access to Hosted site??? I see (said the blind man, as he picked up the hammer and saw). Pretty much everything you want to do, you could do with a home setup. (Reliable ISP with a static IP address and domain name, UPS, server OS mirrored drives). I personally don't know of any hosting site out there that let's you host an Access application. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, November 13, 2007 12:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] From Access to Hosted site??? Drew, There are a few reasons: 1. There will eventually be a front end/UI/webpage for people to subscribe to this service and need to be available. 2. Right now I use docmd.sendobject to send the email..fine for a few emails...but I will need to send 1000s (hopefully)...thought it easier to pay for a site with email capability 3. I'm trying to get as mobile as possible...don't want to be tied to that single machine...site goes down...hosted =I call someone...Home=I fly home. Thanks, Mark A. Matte P.S...Most of the db's I have created were for very specific tasks...and never had a need to create something on this scale (availability scale)...typically never more than a few users. But my biggest uncertainty is what 'engine' can drive this thing. > Date: Tue, 13 Nov 2007 11:49:53 -0600 > From: DWUTKA at marlow.com > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] From Access to Hosted site??? > > Just curious, why don't you want this running from your house? > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > Sent: Tuesday, November 13, 2007 11:18 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] From Access to Hosted site??? > > > Hello All, > > I have asked questions related to this topic before...and honestly, > without this list I would have never got this thing to work as > is...but now its time to expand. Currently, everything listed below is > done in access on a machine at my house. I want to have it hosted > somewhere. Here is what it does. > > 1. check for file on FTP every 5 minutes > 2. gets ftp file > 3. unzips file > 4. imports file > LOOP HERE > 5. runs SQL against import > 6. concantenates results of sql into string > 7. emails string > END LOOP > > Lets say the loop part happens about 1000 times with different SQLs > and emails that are constantly changing.(SQL and email addresses are > stored in a table) > > At this point lets pretend that there is not a user interface...I just > need to replicate the above automated functionality on a hosted site > (just not my house...and somewhere reliable). > > If I could just drop my Access db out somewhere and let it run...I > would...or can I? > > I'm really lost at this point. I guess my question is..."To put this > out on a server...what would be the 'engine' or driving force that > would coordinate and execute these tasks?" > > I'm a quick study...and will tackle whatever language/db/platform I > need to...I'm just having trouble with my game plan. I don't know > where to start. > > Any guidence or suggestions would be greatly appreciated. > > Thanks Again, > > Mark A. Matte > > > > > > > _________________________________________________________________ > Boo! Scare away worms, viruses and so much more! Try Windows Live > OneCare! > http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotm ailnews > -- > 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 BusinessSensitve 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 _________________________________________________________________ Help yourself to FREE treats served up daily at the Messenger Caf?. Stop by today. http://www.cafemessenger.com/info/info_sweetstuff2.html?ocid=TXT_TAGLM_O ctWLtagline -- 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 BusinessSensitve 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 joeo at appoli.com Tue Nov 13 15:53:03 2007 From: joeo at appoli.com (Joe O'Connell) Date: Tue, 13 Nov 2007 16:53:03 -0500 Subject: [AccessD] From Access to Hosted site??? In-Reply-To: References: Message-ID: Mark, There is no reason why you cannot leave it in Access and utilize a third party hosting service. In addition to providing email services (both POP and Exchange), my company provides hosting services for many of our clients, including Terminal Services running Access applications. If you can provide details of your requirements, I will be able to provide a quote for hosting your application. What version of Access are you using? What are the bandwidth requirements? How long does it take to process each zip file? Is the usage constant throughout the day, or are there peaks and valleys? How large are the emails? Do you have a preference for the email system that is used? Are the emails text only or are they HTML? Joe O'Connell -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, November 13, 2007 4:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] From Access to Hosted site??? So if I ask for advise...and you give it...and I follow...proverbial blind leading the blind??? I have a hammer AND a saw!!! If I can't leave it in Access...what should I use...and we are not talkng about record count...If I'm lucky...I might have 1000 records in my SQL table and then import(then delete) 3k every 30 minutes. What 'program' should I use to manage/execute the tasks listed below...every 30 minutes. Thanks, Mark > Date: Tue, 13 Nov 2007 14:43:22 -0600 > From: DWUTKA at marlow.com > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] From Access to Hosted site??? > > I see (said the blind man, as he picked up the hammer and saw). > > Pretty much everything you want to do, you could do with a home setup. (Reliable ISP with a static IP address and domain name, UPS, server OS mirrored drives). I personally don't know of any hosting site out there that let's you host an Access application. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > Sent: Tuesday, November 13, 2007 12:12 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] From Access to Hosted site??? > > > > > Drew, > > There are a few reasons: > > 1. There will eventually be a front end/UI/webpage for people to subscribe to this service and need to be available. > 2. Right now I use docmd.sendobject to send the email..fine for a few emails...but I will need to send 1000s (hopefully)...thought it easier to pay for a site with email capability > 3. I'm trying to get as mobile as possible...don't want to be tied to that single machine...site goes down...hosted =I call someone...Home=I fly home. > > Thanks, > > Mark A. Matte > > P.S...Most of the db's I have created were for very specific tasks...and never had a need to create something on this scale (availability scale)...typically never more than a few users. But my biggest uncertainty is what 'engine' can drive this thing. > > >> Date: Tue, 13 Nov 2007 11:49:53 -0600 >> From: DWUTKA at marlow.com >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] From Access to Hosted site??? >> >> Just curious, why don't you want this running from your house? >> >> Drew >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >> Sent: Tuesday, November 13, 2007 11:18 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] From Access to Hosted site??? >> >> >> Hello All, >> >> I have asked questions related to this topic before...and honestly, without this list I would have never got this thing to work as is...but now its time to expand. Currently, everything listed below is done in access on a machine at my house. I want to have it hosted somewhere. Here is what it does. >> >> 1. check for file on FTP every 5 minutes >> 2. gets ftp file >> 3. unzips file >> 4. imports file >> LOOP HERE >> 5. runs SQL against import >> 6. concantenates results of sql into string >> 7. emails string >> END LOOP >> >> Lets say the loop part happens about 1000 times with different SQLs and emails that are constantly changing.(SQL and email addresses are stored in a table) >> >> At this point lets pretend that there is not a user interface...I just need to replicate the above automated functionality on a hosted site (just not my house...and somewhere reliable). >> >> If I could just drop my Access db out somewhere and let it run...I would...or can I? >> >> I'm really lost at this point. I guess my question is..."To put this out on a server...what would be the 'engine' or driving force that would coordinate and execute these tasks?" >> >> I'm a quick study...and will tackle whatever language/db/platform I need to...I'm just having trouble with my game plan. I don't know where to start. >> >> Any guidence or suggestions would be greatly appreciated. >> >> Thanks Again, >> >> Mark A. Matte >> >> >> >> >> >> >> _________________________________________________________________ >> Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare! >> http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews >> -- >> 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 BusinessSensitve 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 > > _________________________________________________________________ > Help yourself to FREE treats served up daily at the Messenger Caf?. Stop by today. > http://www.cafemessenger.com/info/info_sweetstuff2.html?ocid=TXT_TAGLM_OctWLtagline > -- > 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 BusinessSensitve 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 _________________________________________________________________ Climb to the top of the charts!? Play Star Shuffle:? the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lmrazek at lcm-res.com Tue Nov 13 15:55:09 2007 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Tue, 13 Nov 2007 15:55:09 -0600 Subject: [AccessD] From Access to Hosted site??? In-Reply-To: References: Message-ID: <04b201c8263f$dd3c2280$0702a8c0@lcmdv8000> The hosting companies that offer dedicated servers and virtual private servers will allow you to load anything you'd like, as long as it doesn't violate their terms of service (EX: no naughty sites, spamming, etc.). So if you go to a host like: http://www.maximumasp.com/products/virtualDedicated/, you'll find that you'll be able to install programs, reboot the server, etc, without having to risk downtime because the idiots behind you chopped up your buried phone line while building a new house ... (happened to me several times in the past few years). On my dedicated box, I've installed custom components (Browserhawk, SmarterMail, etc.), all without the help or approval of the host. You shouldn't have any problem at least installing a runtime version of Access on one of these hosts. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Tuesday, November 13, 2007 3:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] From Access to Hosted site??? Good question. The problem is most hosting sites host web sites. So you can have an Access .mdb, but they aren't going to actively run it for you. There might be a company out there doing hosting like that, I just haven't heard of one. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, November 13, 2007 3:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] From Access to Hosted site??? So if I ask for advise...and you give it...and I follow...proverbial blind leading the blind??? I have a hammer AND a saw!!! If I can't leave it in Access...what should I use...and we are not talkng about record count...If I'm lucky...I might have 1000 records in my SQL table and then import(then delete) 3k every 30 minutes. What 'program' should I use to manage/execute the tasks listed below...every 30 minutes. Thanks, Mark > Date: Tue, 13 Nov 2007 14:43:22 -0600 > From: DWUTKA at marlow.com > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] From Access to Hosted site??? > > I see (said the blind man, as he picked up the hammer and saw). > > Pretty much everything you want to do, you could do with a home setup. (Reliable ISP with a static IP address and domain name, UPS, server OS mirrored drives). I personally don't know of any hosting site out there that let's you host an Access application. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A > Matte > Sent: Tuesday, November 13, 2007 12:12 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] From Access to Hosted site??? > > > > > Drew, > > There are a few reasons: > > 1. There will eventually be a front end/UI/webpage for people to subscribe to this service and need to be available. > 2. Right now I use docmd.sendobject to send the email..fine for a few > emails...but I will need to send 1000s (hopefully)...thought it easier to pay for a site with email capability 3. I'm trying to get as mobile as possible...don't want to be tied to that single machine...site goes down...hosted =I call someone...Home=I fly home. > > Thanks, > > Mark A. Matte > > P.S...Most of the db's I have created were for very specific tasks...and never had a need to create something on this scale (availability scale)...typically never more than a few users. But my biggest uncertainty is what 'engine' can drive this thing. > > >> Date: Tue, 13 Nov 2007 11:49:53 -0600 >> From: DWUTKA at marlow.com >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] From Access to Hosted site??? >> >> Just curious, why don't you want this running from your house? >> >> Drew >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A >> Matte >> Sent: Tuesday, November 13, 2007 11:18 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] From Access to Hosted site??? >> >> >> Hello All, >> >> I have asked questions related to this topic before...and honestly, without this list I would have never got this thing to work as is...but now its time to expand. Currently, everything listed below is done in access on a machine at my house. I want to have it hosted somewhere. Here is what it does. >> >> 1. check for file on FTP every 5 minutes 2. gets ftp file 3. unzips >> file 4. imports file LOOP HERE 5. runs SQL against import 6. >> concantenates results of sql into string 7. emails string END LOOP >> >> Lets say the loop part happens about 1000 times with different SQLs >> and emails that are constantly changing.(SQL and email addresses are >> stored in a table) >> >> At this point lets pretend that there is not a user interface...I just need to replicate the above automated functionality on a hosted site (just not my house...and somewhere reliable). >> >> If I could just drop my Access db out somewhere and let it run...I would...or can I? >> >> I'm really lost at this point. I guess my question is..."To put this out on a server...what would be the 'engine' or driving force that would coordinate and execute these tasks?" >> >> I'm a quick study...and will tackle whatever language/db/platform I need to...I'm just having trouble with my game plan. I don't know where to start. >> >> Any guidence or suggestions would be greatly appreciated. >> >> Thanks Again, >> >> Mark A. Matte >> >> >> >> >> >> >> _________________________________________________________________ >> Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare! >> http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_h >> otmailnews >> -- >> 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 BusinessSensitve 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 > > _________________________________________________________________ > Help yourself to FREE treats served up daily at the Messenger Caf?. Stop by today. > http://www.cafemessenger.com/info/info_sweetstuff2.html?ocid=TXT_TAGLM > _OctWLtagline > -- > 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 BusinessSensitve 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 _________________________________________________________________ Climb to the top of the charts!? Play Star Shuffle:? the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct -- 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 BusinessSensitve 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 fhtapia at gmail.com Tue Nov 13 16:45:28 2007 From: fhtapia at gmail.com (Francisco Tapia) Date: Tue, 13 Nov 2007 14:45:28 -0800 Subject: [AccessD] [dba-SQLServer] Query builder In-Reply-To: <001201c8261a$24ba3f50$6c7aa8c0@M90> References: <001201c8261a$24ba3f50$6c7aa8c0@M90> Message-ID: If you're looking for tools I would check out the toolbelt from Red-Gate software http://www.red-gate.com/index.htm For standardizing your existing code you can use the sql refractor tool, but to build new queries quickly with intellisense-like technology, then use sql-prompt. I really do enjoy this tool. (I do have this and sql-compare plus sql backup from red gate, they tend to really put out quality software On Nov 13, 2007 9:25 AM, jwcolby wrote: > My client is asking if there is a tool I can buy to make me more > productive > in building the queries for the analysis he is asking me to do. Just a > quick Google of "SQL Server query generator" gets me these: > > http://www.querytool.com/?gclid=COXT2a-i2o8CFQNlHgodhSWX1Q > http://sqlmanager.net/products/tools/querybuilder > http://www.activequerybuilder.com/ > > Has anyone ever used any of these or have any recommendations for other > tools like these? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > -- -Francisco http://sqlthis.blogspot.com | Tsql and More... From adtp at airtelbroadband.in Wed Nov 14 00:03:05 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Wed, 14 Nov 2007 11:33:05 +0530 Subject: [AccessD] Blanks in text box References: <004901c8258b$77362c60$0301a8c0@HAL9005> <005401c82597$1f9b4ce0$0301a8c0@HAL9005> <00c901c82605$35a1fe80$6c57a27a@personalec1122> Message-ID: <018401c82684$14393090$0f57a27a@personalec1122> Rocky, Were you able to try the solution given in my post of 13-Nov-2007 ? A.D.Tejpal ------------ ----- Original Message ----- From: A.D.TEJPAL To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Sent: Tuesday, November 13, 2007 20:24 Subject: Re: [AccessD] Blanks in text box Rocky, You wish to trap the trailing spaces in a text box, while using its contents for applying filter. This calls for certain special measures as trailing spaces (if any) get lost while exiting the text box. Sample code in form's module, as given below, demonstrates application of filter on a subform, duly taking into account the contents of text box (including trailing spaces if any) located on the parent form. Best wishes, A.D.Tejpal ------------ Sample code in form's module Txt1 is the name of text box where criteria string is entered. SF_Sub is the name of control holding the subform. Clicking command button named CmdFilter applies filter on subform records - duly taking into account the trailing blanks (if any) in text box Txt1 PCode is the name of field on which filter is applied. '================================= ' Declarations section Private RefTxt As String '-------------------------------------------------- Private Sub CmdFilter_Click() With Me.SF_Sub.Form .Filter = "PCode Like '" & RefTxt & "*'" .FilterOn = True End With End Sub '-------------------------------------------------- Private Sub Txt1_Change() RefTxt = ActiveControl.Text End Sub '-------------------------------------------------- Private Sub Txt1_Enter() RefTxt = ActiveControl.Text End Sub '================================= ----- Original Message ----- From: Rocky Smolin at Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Tuesday, November 13, 2007 07:17 Subject: Re: [AccessD] Blanks in text box It the text box where I want to have the trailing blanks retained. I'm setting the filter for the text box in a subroutine that's called from the Change event of the text box. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 12, 2007 4:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Blanks in text box What is the "it" that won't accept and retain trailing blanks, Rocky, the list box, the textbox, the filter, or what? If you're trapping keystrokes, make sure you aren't including a Trim in there somewhere. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 12, 2007 4:24 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Blanks in text box Dear List: I am trapping keystrokes in a text box and setting a filter in a list box based on the current value in the text box. But it won't accept and retain trailing blanks. If my client wants to search on R & R for example, he presses R and the list box of names is filtered to all those beginning with R. if he then presses the space bar, it should show all the name beginning with R-blank. But of course, it strips the trailing blank. Is there some trick to getting the trailing blanks to be included in the string? MTIA Rocky From rockysmolin at bchacc.com Wed Nov 14 00:20:49 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 13 Nov 2007 22:20:49 -0800 Subject: [AccessD] Blanks in text box In-Reply-To: <018401c82684$14393090$0f57a27a@personalec1122> References: <004901c8258b$77362c60$0301a8c0@HAL9005> <005401c82597$1f9b4ce0$0301a8c0@HAL9005> <00c901c82605$35a1fe80$6c57a27a@personalec1122> <018401c82684$14393090$0f57a27a@personalec1122> Message-ID: <010c01c82686$808a0060$0301a8c0@HAL9005> A.D.: A modification. Or subset. Looking at your code I could see that it was the .Text property that I was missing. So instead of making the row source WHERE clauses from the text boxes, I stored the contents of the text boxes in strings using the .Text property (strLastName = Me.txtLastName.Text). The strings have the trailing blank so I use the strings to construct the WHERE clause instead of the contents of the text boxes. This works well to insert one blank. But it won't do more than one blank. I know how to solve this with a bit of code but I have to ask the client if that's really necessary. The original requirement for the blank was a company named R & R. The client wanted to filter on that. I think the need to filter on a string that contains two blanks is astronomically small. But I'll ask. With best regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, November 13, 2007 10:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Blanks in text box Rocky, Were you able to try the solution given in my post of 13-Nov-2007 ? A.D.Tejpal ------------ ----- Original Message ----- From: A.D.TEJPAL To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Sent: Tuesday, November 13, 2007 20:24 Subject: Re: [AccessD] Blanks in text box Rocky, You wish to trap the trailing spaces in a text box, while using its contents for applying filter. This calls for certain special measures as trailing spaces (if any) get lost while exiting the text box. Sample code in form's module, as given below, demonstrates application of filter on a subform, duly taking into account the contents of text box (including trailing spaces if any) located on the parent form. Best wishes, A.D.Tejpal ------------ Sample code in form's module Txt1 is the name of text box where criteria string is entered. SF_Sub is the name of control holding the subform. Clicking command button named CmdFilter applies filter on subform records - duly taking into account the trailing blanks (if any) in text box Txt1 PCode is the name of field on which filter is applied. '================================= ' Declarations section Private RefTxt As String '-------------------------------------------------- Private Sub CmdFilter_Click() With Me.SF_Sub.Form .Filter = "PCode Like '" & RefTxt & "*'" .FilterOn = True End With End Sub '-------------------------------------------------- Private Sub Txt1_Change() RefTxt = ActiveControl.Text End Sub '-------------------------------------------------- Private Sub Txt1_Enter() RefTxt = ActiveControl.Text End Sub '================================= ----- Original Message ----- From: Rocky Smolin at Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Tuesday, November 13, 2007 07:17 Subject: Re: [AccessD] Blanks in text box It the text box where I want to have the trailing blanks retained. I'm setting the filter for the text box in a subroutine that's called from the Change event of the text box. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 12, 2007 4:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Blanks in text box What is the "it" that won't accept and retain trailing blanks, Rocky, the list box, the textbox, the filter, or what? If you're trapping keystrokes, make sure you aren't including a Trim in there somewhere. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 12, 2007 4:24 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Blanks in text box Dear List: I am trapping keystrokes in a text box and setting a filter in a list box based on the current value in the text box. But it won't accept and retain trailing blanks. If my client wants to search on R & R for example, he presses R and the list box of names is filtered to all those beginning with R. if he then presses the space bar, it should show all the name beginning with R-blank. But of course, it strips the trailing blank. Is there some trick to getting the trailing blanks to be included in the string? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.31/1129 - Release Date: 11/13/2007 9:22 PM From adtp at airtelbroadband.in Wed Nov 14 07:09:34 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Wed, 14 Nov 2007 18:39:34 +0530 Subject: [AccessD] merging records References: <00e401c825f4$3ca28170$6c7aa8c0@M90> Message-ID: <002801c826bf$f7ba9b70$c657a27a@personalec1122> John, User defined function is found more convenient for such a situation. Sample query Q_Results, as given below, making use of function Fn_SurveyResults() given below, should get the desired results. PersonID, Qn and Ans are the fields (all text type) in table T_Survey. Best wishes, A.D.Tejpal ------------ Q_Results ================================== SELECT T_Survey.PersonID, Fn_SurveyResults([PersonID]) AS SurveyResult FROM T_Survey GROUP BY T_Survey.PersonID; ================================== Fn_SurveyResults() '================================== Function Fn_SurveyResults(Pid _ As String) As String Dim Qst As String, Txt As String Dim rst As DAO.Recordset Qst = "SELECT Qn, Ans " & _ "FROM T_Survey " & _ "WHERE PersonID = '" & _ Pid & "' ORDER BY Qn;" Set rst = DBEngine(0)(0).OpenRecordset(Qst) ' Note - For repeated calls from a query, ' DBEngine(0)(0) is preferred over ' CurrentDb Txt = "" Do Until rst.EOF Txt = Txt & ", [" & rst.Fields("Qn") & _ " - " & rst.Fields("Ans") & "]" rst.MoveNext Loop ' Get rid of leading comma if any If Len(Txt) > 0 Then Txt = Mid(Txt, 3) End If Fn_SurveyResults = Txt rst.Close Set rst = Nothing End Function '================================== ----- Original Message ----- From: jwcolby To: 'Access Developers discussion and problem solving' ; dba-sqlserver at databaseadvisors.com Sent: Tuesday, November 13, 2007 18:23 Subject: [AccessD] merging records I have tables of information about people. The tables represent polls that people have taken, so if a person takes a poll about brands of cigarettes smoked, the table would have a record about that person for that poll. If that same person took a poll about software used, the table would have a NEW record with information about the same person, but about the software that person used. And so forth and so on. Now I need to "roll up" all of the information about a person into a single record so that one record contains all of the information about that person contained in all of the records about that person in the table. Is this possible directly in SQL? Do I need to write code to iterate through the table finding each person and all the records for that person, and then consolidating the information from the second and subsequent records into the first record found? John W. Colby Colby Consulting www.ColbyConsulting.com From jwcolby at colbyconsulting.com Wed Nov 14 07:39:35 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 14 Nov 2007 08:39:35 -0500 Subject: [AccessD] merging records In-Reply-To: <002801c826bf$f7ba9b70$c657a27a@personalec1122> References: <00e401c825f4$3ca28170$6c7aa8c0@M90> <002801c826bf$f7ba9b70$c657a27a@personalec1122> Message-ID: <002001c826c3$cc055980$6c7aa8c0@M90> A.D., Thanks for the response. Unfortunately it is not that simple, i.e. there are about 700 fields, of which about 600 are responses to query questions. Each of those 600 fields will need to be merged with the alternate record. for example: FName LName Addr Smokes Softdrink Car John Colby 1723 N '' '' John Colby 1723 '' Pepsi '' John Colby 1723 '' '' Ford Escort In at least one table there are 600 fields. The fields are divided into "sets" of fields. One set is about boats - State registered, length, type, engine etc. Another set is about medications taken - Zoloft, Aspirin, Etc. Another set is about electronics purchased - stereo, cb, computers, cell phones etc. Thus there are entire sets of fields where there are answers, and potentially (other than name / address) those may be the ONLY fields with data, or potentially someone in the past has already merged the car fields and the medical fields but not the electronics fields. I am attempting to allow a form of data mining I guess, but not really. The user wants to be able to ask questions like "return name and address for all people who smoke and drive a Chevy and purchased CBs". Let's not get bogged down in "why would he ask that", I am not saying that he will, that is just an example. Let's simply assume that he can ask for where clauses on ANY combination of fields. Obviously if the answers to fields are scattered out in multiple records, then it becomes difficult to provide a name set who fit all the criteria because they don't fit all the criteria in any one record. Thus I need to merge the data for a single person at a single address into a single record. I can, and often but not always do, have several records for a given person at that same address. My gut tells me that this is a "software" kind of solution. There are just too many fields to manually type in all the field names that need merging. I need to be able to say something like... merge fields 78-740. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Wednesday, November 14, 2007 8:10 AM To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Subject: Re: [AccessD] merging records John, User defined function is found more convenient for such a situation. Sample query Q_Results, as given below, making use of function Fn_SurveyResults() given below, should get the desired results. PersonID, Qn and Ans are the fields (all text type) in table T_Survey. Best wishes, A.D.Tejpal ------------ Q_Results ================================== SELECT T_Survey.PersonID, Fn_SurveyResults([PersonID]) AS SurveyResult FROM T_Survey GROUP BY T_Survey.PersonID; ================================== Fn_SurveyResults() '================================== Function Fn_SurveyResults(Pid _ As String) As String Dim Qst As String, Txt As String Dim rst As DAO.Recordset Qst = "SELECT Qn, Ans " & _ "FROM T_Survey " & _ "WHERE PersonID = '" & _ Pid & "' ORDER BY Qn;" Set rst = DBEngine(0)(0).OpenRecordset(Qst) ' Note - For repeated calls from a query, ' DBEngine(0)(0) is preferred over ' CurrentDb Txt = "" Do Until rst.EOF Txt = Txt & ", [" & rst.Fields("Qn") & _ " - " & rst.Fields("Ans") & "]" rst.MoveNext Loop ' Get rid of leading comma if any If Len(Txt) > 0 Then Txt = Mid(Txt, 3) End If Fn_SurveyResults = Txt rst.Close Set rst = Nothing End Function '================================== ----- Original Message ----- From: jwcolby To: 'Access Developers discussion and problem solving' ; dba-sqlserver at databaseadvisors.com Sent: Tuesday, November 13, 2007 18:23 Subject: [AccessD] merging records I have tables of information about people. The tables represent polls that people have taken, so if a person takes a poll about brands of cigarettes smoked, the table would have a record about that person for that poll. If that same person took a poll about software used, the table would have a NEW record with information about the same person, but about the software that person used. And so forth and so on. Now I need to "roll up" all of the information about a person into a single record so that one record contains all of the information about that person contained in all of the records about that person in the table. Is this possible directly in SQL? Do I need to write code to iterate through the table finding each person and all the records for that person, and then consolidating the information from the second and subsequent records into the first record found? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at airtelbroadband.in Wed Nov 14 13:49:48 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Thu, 15 Nov 2007 01:19:48 +0530 Subject: [AccessD] merging records References: <00e401c825f4$3ca28170$6c7aa8c0@M90><002801c826bf$f7ba9b70$c657a 27a@personalec1122> <002001c826c3$cc055980$6c7aa8c0@M90> Message-ID: <001e01c826f7$b3738890$c857a27a@personalec1122> John, Apparently, each column carries only one significant value (over a group of records) for each combination of person & address. Your objective is to display only one compacted row per combination of person & address, showing only the significant values for survey results in various columns across the record. As a programmatic solution, the following course of action is suggested: 1 - Let the source table be named T_Data. Its first four fields are ID (PK), FirstName, LastName and Address, followed by large number of other fields (like Smokes etc) meant to hold survey response. 2 - Create an empty table named T_Result. Its structure should be identical to that of T_Data. 3 - Create a dummy table T_Dummy having one field. Populate it with one record. Having taken the above steps, if you run sample subroutine P_PopulateResultTable as given below, table T_Result will get populated with the compacted survey results in desired format. You might like to try it out and confirm whether it is in line with what you have been aiming at. Note - It has been tested on Access 2003 desktop (Access 2000 file format). Reference required - DAO 3.6 Best wishes, A.D.Tejpal ------------ Sample subroutine - for merging survey results T_data is source table. Results are appended to T_Result. '===================================== Sub P_PopulateResultTable() ' This subroutine merges the survey ' results for each person in source table ' T_Data and appends the outcome into ' destination table T_Result. Structure of T_Result ' is identical to that of T_Data ' T_Dummy is a single field single record table. Dim Qst As String, Txt As String Dim Fnm As String, Qst2 As String Dim Fv As Variant Dim rst1 As DAO.Recordset Dim rst2 As DAO.Recordset Dim fd As Field Dim tdf As TableDef Dim db As DAO.Database Const SourceTable As String = "T_Data" Const DestnTable As String = "T_Result" Const DummyTable As String = "T_Dummy" ' Comma separated string of all field names ' that do not directly carry survey response Const ExemptFields As String = _ "ID,FirstName,LastName,Address" Set db = DBEngine(0)(0) ' Clear destination table db.Execute "DELETE * FROM " & _ DestnTable & ";", dbFailOnError Qst = "SELECT FirstName, LastName, " & _ "Address FROM " & SourceTable & _ " GROUP BY FirstName, " & _ "LastName, Address;" Set rst1 = db.OpenRecordset(Qst) Set tdf = db.TableDefs(SourceTable) Do Until rst1.EOF Qst = "INSERT INTO " & DestnTable & _ " SELECT '" & _ rst1.Fields("FirstName") & "' AS " & _ "FirstName, '" & rst1.Fields("LastName") & _ "' AS LastName, '" & rst1.Fields("Address") & _ "' AS Address," For Each fd In tdf.Fields Fnm = fd.Name If InStr(ExemptFields, Fnm) > 0 Then Else Qst2 = "SELECT " & Fnm & _ " FROM " & SourceTable & _ " WHERE FirstName = '" & _ rst1.Fields("FirstName") & _ "' AND LastName = '" & _ rst1.Fields("LastName") & _ "' AND Address = '" & _ rst1.Fields("Address") & _ "' AND Len(" & Fnm & ") > 0;" Set rst2 = db.OpenRecordset(Qst2) If rst2.RecordCount > 0 Then Qst = Qst & " '" & rst2.Fields(0) & _ "' AS " & Fnm & "," Else Qst = Qst & " Null AS " & Fnm & "," End If End If Next ' Remove trailing comma Qst = Left(Qst, Len(Qst) - 1) Qst = Qst & " FROM " & DummyTable & ";" ' Append to destination table db.Execute Qst, dbFailOnError rst1.MoveNext Loop rst1.Close rst2.Close Set rst1 = Nothing Set rst2 = Nothing Set fd = Nothing Set tdf = Nothing Set db = Nothing End Sub '===================================== ----- Original Message ----- From: jwcolby To: 'Access Developers discussion and problem solving' Sent: Wednesday, November 14, 2007 19:09 Subject: Re: [AccessD] merging records A.D., Thanks for the response. Unfortunately it is not that simple, i.e. there are about 700 fields, of which about 600 are responses to query questions. Each of those 600 fields will need to be merged with the alternate record. for example: FName LName Addr Smokes Softdrink Car John Colby 1723 N '' '' John Colby 1723 '' Pepsi '' John Colby 1723 '' '' Ford Escort In at least one table there are 600 fields. The fields are divided into "sets" of fields. One set is about boats - State registered, length, type, engine etc. Another set is about medications taken - Zoloft, Aspirin, Etc. Another set is about electronics purchased - stereo, cb, computers, cell phones etc. << SNIPPED to prevent overall size crossing limits >> John W. Colby Colby Consulting www.ColbyConsulting.com From jwcolby at colbyconsulting.com Wed Nov 14 14:41:46 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 14 Nov 2007 15:41:46 -0500 Subject: [AccessD] merging records In-Reply-To: <001e01c826f7$b3738890$c857a27a@personalec1122> References: <00e401c825f4$3ca28170$6c7aa8c0@M90><002801c826bf$f7ba9b70$c657a27a@personalec1122> <002001c826c3$cc055980$6c7aa8c0@M90> <001e01c826f7$b3738890$c857a27a@personalec1122> Message-ID: <004401c826fe$c6bbe350$6c7aa8c0@M90> Precisely. I will most likely run this in VB.Net since it has to eventually process 50 million records. I long ago generated a hash field for the address, family (address+lastName) and Person (Address+Family+FirstName) so I have hash fields to allow me to find the "same person", ignoring such problems as John Colby and John W. Colby at the same address. This project is one of the reasons I was asking the question about iterating the fields of a class in .Net. If I build a class which is instantiated once for each record for a given person, I can then update the first instance using the data in the subsequent instances, and when done, write the first instance back to the table (or a new table). If I do it correctly the classes of the extraneous records can be told to delete their record in the table after each "person" recordset is scrubbed. I can put a system like this on autopilot to run over a week or month, however long it might take. And with 50 million records it is going to take awhile. But with a VB.Net program running in the background scrubbing the table, I can continue to use the table, with increasing accuracy as the table is being scrubbed. None of the other providers for my client has ever attempted to do this, for obvious reasons (it ain't easy!). John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Wednesday, November 14, 2007 2:50 PM To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Subject: Re: [AccessD] merging records John, Apparently, each column carries only one significant value (over a group of records) for each combination of person & address. Your objective is to display only one compacted row per combination of person & address, showing only the significant values for survey results in various columns across the record. As a programmatic solution, the following course of action is suggested: 1 - Let the source table be named T_Data. Its first four fields are ID (PK), FirstName, LastName and Address, followed by large number of other fields (like Smokes etc) meant to hold survey response. 2 - Create an empty table named T_Result. Its structure should be identical to that of T_Data. 3 - Create a dummy table T_Dummy having one field. Populate it with one record. Having taken the above steps, if you run sample subroutine P_PopulateResultTable as given below, table T_Result will get populated with the compacted survey results in desired format. You might like to try it out and confirm whether it is in line with what you have been aiming at. Note - It has been tested on Access 2003 desktop (Access 2000 file format). Reference required - DAO 3.6 Best wishes, A.D.Tejpal ------------ Sample subroutine - for merging survey results T_data is source table. Results are appended to T_Result. '===================================== Sub P_PopulateResultTable() ' This subroutine merges the survey ' results for each person in source table ' T_Data and appends the outcome into ' destination table T_Result. Structure of T_Result ' is identical to that of T_Data ' T_Dummy is a single field single record table. Dim Qst As String, Txt As String Dim Fnm As String, Qst2 As String Dim Fv As Variant Dim rst1 As DAO.Recordset Dim rst2 As DAO.Recordset Dim fd As Field Dim tdf As TableDef Dim db As DAO.Database Const SourceTable As String = "T_Data" Const DestnTable As String = "T_Result" Const DummyTable As String = "T_Dummy" ' Comma separated string of all field names ' that do not directly carry survey response Const ExemptFields As String = _ "ID,FirstName,LastName,Address" Set db = DBEngine(0)(0) ' Clear destination table db.Execute "DELETE * FROM " & _ DestnTable & ";", dbFailOnError Qst = "SELECT FirstName, LastName, " & _ "Address FROM " & SourceTable & _ " GROUP BY FirstName, " & _ "LastName, Address;" Set rst1 = db.OpenRecordset(Qst) Set tdf = db.TableDefs(SourceTable) Do Until rst1.EOF Qst = "INSERT INTO " & DestnTable & _ " SELECT '" & _ rst1.Fields("FirstName") & "' AS " & _ "FirstName, '" & rst1.Fields("LastName") & _ "' AS LastName, '" & rst1.Fields("Address") & _ "' AS Address," For Each fd In tdf.Fields Fnm = fd.Name If InStr(ExemptFields, Fnm) > 0 Then Else Qst2 = "SELECT " & Fnm & _ " FROM " & SourceTable & _ " WHERE FirstName = '" & _ rst1.Fields("FirstName") & _ "' AND LastName = '" & _ rst1.Fields("LastName") & _ "' AND Address = '" & _ rst1.Fields("Address") & _ "' AND Len(" & Fnm & ") > 0;" Set rst2 = db.OpenRecordset(Qst2) If rst2.RecordCount > 0 Then Qst = Qst & " '" & rst2.Fields(0) & _ "' AS " & Fnm & "," Else Qst = Qst & " Null AS " & Fnm & "," End If End If Next ' Remove trailing comma Qst = Left(Qst, Len(Qst) - 1) Qst = Qst & " FROM " & DummyTable & ";" ' Append to destination table db.Execute Qst, dbFailOnError rst1.MoveNext Loop rst1.Close rst2.Close Set rst1 = Nothing Set rst2 = Nothing Set fd = Nothing Set tdf = Nothing Set db = Nothing End Sub '===================================== ----- Original Message ----- From: jwcolby To: 'Access Developers discussion and problem solving' Sent: Wednesday, November 14, 2007 19:09 Subject: Re: [AccessD] merging records A.D., Thanks for the response. Unfortunately it is not that simple, i.e. there are about 700 fields, of which about 600 are responses to query questions. Each of those 600 fields will need to be merged with the alternate record. for example: FName LName Addr Smokes Softdrink Car John Colby 1723 N '' '' John Colby 1723 '' Pepsi '' John Colby 1723 '' '' Ford Escort In at least one table there are 600 fields. The fields are divided into "sets" of fields. One set is about boats - State registered, length, type, engine etc. Another set is about medications taken - Zoloft, Aspirin, Etc. Another set is about electronics purchased - stereo, cb, computers, cell phones etc. << SNIPPED to prevent overall size crossing limits >> John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Wed Nov 14 14:43:52 2007 From: robert at servicexp.com (Robert) Date: Wed, 14 Nov 2007 15:43:52 -0500 Subject: [AccessD] merging records In-Reply-To: <001e01c826f7$b3738890$c857a27a@personalec1122> References: <00e401c825f4$3ca28170$6c7aa8c0@M90><002801c826bf$f7ba9b70$c657a 27a@personalec1122> <002001c826c3$cc055980$6c7aa8c0@M90> <001e01c826f7$b3738890$c857a27a@personalec1122> Message-ID: <473B5E08.8010808@servicexp.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 A.D., Nice, that is very cooooool.... Robert A.D.TEJPAL wrote: > John, > > Apparently, each column carries only one significant value (over a group of records) for each combination of person & address. Your objective is to display only one compacted row per combination of person & address, showing only the significant values for survey results in various columns across the record. > > As a programmatic solution, the following course of action is suggested: > > 1 - Let the source table be named T_Data. Its first four fields are ID (PK), FirstName, LastName and Address, followed by large number of other fields (like Smokes etc) meant to hold survey response. > > 2 - Create an empty table named T_Result. Its structure should be identical to that of T_Data. > > 3 - Create a dummy table T_Dummy having one field. Populate it with one record. > > Having taken the above steps, if you run sample subroutine P_PopulateResultTable as given below, table T_Result will get populated with the compacted survey results in desired format. You might like to try it out and confirm whether it is in line with what you have been aiming at. > > Note - It has been tested on Access 2003 desktop (Access 2000 file format). Reference required - DAO 3.6 > > Best wishes, > A.D.Tejpal > ------------ > > Sample subroutine - for merging survey results > T_data is source table. Results are appended to T_Result. > '===================================== > Sub P_PopulateResultTable() > ' This subroutine merges the survey > ' results for each person in source table > ' T_Data and appends the outcome into > ' destination table T_Result. Structure of T_Result > ' is identical to that of T_Data > ' T_Dummy is a single field single record table. > > Dim Qst As String, Txt As String > Dim Fnm As String, Qst2 As String > Dim Fv As Variant > > Dim rst1 As DAO.Recordset > Dim rst2 As DAO.Recordset > Dim fd As Field > Dim tdf As TableDef > Dim db As DAO.Database > > Const SourceTable As String = "T_Data" > Const DestnTable As String = "T_Result" > Const DummyTable As String = "T_Dummy" > > ' Comma separated string of all field names > ' that do not directly carry survey response > Const ExemptFields As String = _ > "ID,FirstName,LastName,Address" > > Set db = DBEngine(0)(0) > > ' Clear destination table > db.Execute "DELETE * FROM " & _ > DestnTable & ";", dbFailOnError > > Qst = "SELECT FirstName, LastName, " & _ > "Address FROM " & SourceTable & _ > " GROUP BY FirstName, " & _ > "LastName, Address;" > Set rst1 = db.OpenRecordset(Qst) > > Set tdf = db.TableDefs(SourceTable) > > Do Until rst1.EOF > Qst = "INSERT INTO " & DestnTable & _ > " SELECT '" & _ > rst1.Fields("FirstName") & "' AS " & _ > "FirstName, '" & rst1.Fields("LastName") & _ > "' AS LastName, '" & rst1.Fields("Address") & _ > "' AS Address," > For Each fd In tdf.Fields > Fnm = fd.Name > If InStr(ExemptFields, Fnm) > 0 Then > Else > Qst2 = "SELECT " & Fnm & _ > " FROM " & SourceTable & _ > " WHERE FirstName = '" & _ > rst1.Fields("FirstName") & _ > "' AND LastName = '" & _ > rst1.Fields("LastName") & _ > "' AND Address = '" & _ > rst1.Fields("Address") & _ > "' AND Len(" & Fnm & ") > 0;" > Set rst2 = db.OpenRecordset(Qst2) > > If rst2.RecordCount > 0 Then > Qst = Qst & " '" & rst2.Fields(0) & _ > "' AS " & Fnm & "," > Else > Qst = Qst & " Null AS " & Fnm & "," > End If > > End If > Next > > ' Remove trailing comma > Qst = Left(Qst, Len(Qst) - 1) > Qst = Qst & " FROM " & DummyTable & ";" > > ' Append to destination table > db.Execute Qst, dbFailOnError > > rst1.MoveNext > Loop > > rst1.Close > rst2.Close > Set rst1 = Nothing > Set rst2 = Nothing > Set fd = Nothing > Set tdf = Nothing > Set db = Nothing > End Sub > '===================================== > > ----- Original Message ----- > From: jwcolby > To: 'Access Developers discussion and problem solving' > Sent: Wednesday, November 14, 2007 19:09 > Subject: Re: [AccessD] merging records > > > A.D., > > Thanks for the response. Unfortunately it is not that simple, i.e. there > are about 700 fields, of which about 600 are responses to query questions. > Each of those 600 fields will need to be merged with the alternate record. > for example: > > FName LName Addr Smokes Softdrink Car > John Colby 1723 N '' '' > John Colby 1723 '' Pepsi '' > John Colby 1723 '' '' Ford Escort > > In at least one table there are 600 fields. The fields are divided into > "sets" of fields. One set is about boats - State registered, length, type, > engine etc. Another set is about medications taken - Zoloft, Aspirin, Etc. > Another set is about electronics purchased - stereo, cb, computers, cell > phones etc. > > << SNIPPED to prevent overall size crossing limits >> > > John W. Colby > Colby Consulting > www.ColbyConsulting.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHO14H72dSYCwH8FQRAgB4AKCib+mOSRFqmWCrhBSxqrS0lIh5DwCgpOkC BvIeTD2jF0e2Skvfkla+kLY= =YHVF -----END PGP SIGNATURE----- From darren at activebilling.com.au Wed Nov 14 18:29:42 2007 From: darren at activebilling.com.au (Darren D) Date: Thu, 15 Nov 2007 11:29:42 +1100 Subject: [AccessD] Getting a Record Count using ADO Message-ID: <200711150029.lAF0Tr06021471@databaseadvisors.com> Hi All When I use DAO Recordsets I can simply do a rs.movelast and rs.MoveFirst to populate the rs and then can do an accurate rs.recordCount - Simple When using ADO - IF I use the line rs.movelast - I get a strange error about backward fetching "Run Time Error -2147217884(80040e24) Rowset does not support fetching backward If I rem the line rs.MoveLast - the code works Code Snip Below (The real code does some updates etc on a second recordset - snip not included for that) Anyone know about this - Is there a work around - I just want to compare one rs.recordCount with another rs2.RecordCount and if they differ then do something - else forget about it Make sense? Many thanks in advance DD '#############This is connecting a an SQL Server dB Dim conn1 As New ADODB.Connection Dim rs1 As New ADODB.Recordset Dim selSQL1 As String Dim intRecordCount As Integer Dim i As Integer selSQL1 = "SELECT * from BillRun" conn1 = f_SetSQLSVRConnection '<--SQL Server connections set up and passed from a function here conn1.Open rs1.Open selSQL1, conn1 intRecordCount = 0 With rs1 If Not rs1.BOF And Not rs1.EOF Then 'rs1.MoveLast <---- If I leave this line in - I get the error rs1.MoveFirst Do Until rs1.EOF End If End With rs1.MoveNext intRecordCount = intRecordCount + 1 Loop Else End If End With From ssharkins at gmail.com Wed Nov 14 19:12:08 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 14 Nov 2007 20:12:08 -0500 Subject: [AccessD] Getting a Record Count using ADO References: <200711150029.lAF0Tr06021471@databaseadvisors.com> Message-ID: <02de01c82724$8d560570$4b3a8343@SusanOne> ADO's default cursor type is Forward-Only. You can't move backward, so the MoveLast method returns an error. ADO cursors: dbOpenForwardOnly (the default): static copy, moves forward only dbOpenStatic static copy, all movement enabled dbOpenDynamic Updates are immediate and all types of movement are enabled (not supported by Jet OLEDB provider), so Jet defaults to adOpenKeyset dbOpenKeyset All records are updateable, but you can't see additions and deletions, all movements are enabled. Choose your poison wisely. :) Susan H. Subject: [AccessD] Getting a Record Count using ADO > Hi All > > > > When I use DAO Recordsets I can simply do a rs.movelast and rs.MoveFirst > to > populate the rs and then can do an accurate rs.recordCount - Simple > > When using ADO - IF I use the line rs.movelast - I get a strange error > about > backward fetching > > "Run Time Error -2147217884(80040e24) > > Rowset does not support fetching backward > > If I rem the line rs.MoveLast - the code works > > Code Snip Below (The real code does some updates etc on a second > recordset - > snip not included for that) > > Anyone know about this - Is there a work around - I just want to compare > one > rs.recordCount with another rs2.RecordCount and if they differ then do > something > - else forget about it > > Make sense? > > Many thanks in advance > > DD > > > > > > '#############This is connecting a an SQL Server dB > > Dim conn1 As New ADODB.Connection > > Dim rs1 As New ADODB.Recordset > > Dim selSQL1 As String > > Dim intRecordCount As Integer > > Dim i As Integer > > > > selSQL1 = "SELECT * from BillRun" > > conn1 = f_SetSQLSVRConnection '<--SQL Server connections set up and passed > from > a function here > > conn1.Open > > > > rs1.Open selSQL1, conn1 > > > > intRecordCount = 0 > > > > With rs1 > > If Not rs1.BOF And Not rs1.EOF Then > > 'rs1.MoveLast <---- If I leave this line in - I get the error > > rs1.MoveFirst > > > > Do Until rs1.EOF > > End If > > End With > > rs1.MoveNext > > intRecordCount = intRecordCount + 1 > > Loop > > Else > > End If > > End With > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From darren at activebilling.com.au Wed Nov 14 20:30:14 2007 From: darren at activebilling.com.au (Darren D) Date: Thu, 15 Nov 2007 13:30:14 +1100 Subject: [AccessD] Getting a Record Count using ADO In-Reply-To: <02de01c82724$8d560570$4b3a8343@SusanOne> Message-ID: <200711150230.lAF2UVSL019384@databaseadvisors.com> Hi Susan Brilliant - Many thanks I chose dbOpenStatic rs1.Open selSQL1, conn1 becomes rs1.Open selSQL1, conn1, dbOpenStatic Have a great day Darren ----------------- -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, 15 November 2007 12:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Getting a Record Count using ADO ADO's default cursor type is Forward-Only. You can't move backward, so the MoveLast method returns an error. ADO cursors: dbOpenForwardOnly (the default): static copy, moves forward only dbOpenStatic static copy, all movement enabled dbOpenDynamic Updates are immediate and all types of movement are enabled (not supported by Jet OLEDB provider), so Jet defaults to adOpenKeyset dbOpenKeyset All records are updateable, but you can't see additions and deletions, all movements are enabled. Choose your poison wisely. :) Susan H. Subject: [AccessD] Getting a Record Count using ADO > Hi All > > > > When I use DAO Recordsets I can simply do a rs.movelast and rs.MoveFirst > to > populate the rs and then can do an accurate rs.recordCount - Simple > > When using ADO - IF I use the line rs.movelast - I get a strange error > about > backward fetching > > "Run Time Error -2147217884(80040e24) > > Rowset does not support fetching backward > > If I rem the line rs.MoveLast - the code works > > Code Snip Below (The real code does some updates etc on a second > recordset - > snip not included for that) > > Anyone know about this - Is there a work around - I just want to compare > one > rs.recordCount with another rs2.RecordCount and if they differ then do > something > - else forget about it > > Make sense? > > Many thanks in advance > > DD > > > > > > '#############This is connecting a an SQL Server dB > > Dim conn1 As New ADODB.Connection > > Dim rs1 As New ADODB.Recordset > > Dim selSQL1 As String > > Dim intRecordCount As Integer > > Dim i As Integer > > > > selSQL1 = "SELECT * from BillRun" > > conn1 = f_SetSQLSVRConnection '<--SQL Server connections set up and passed > from > a function here > > conn1.Open > > > > rs1.Open selSQL1, conn1, dbOpenStatic > > > > intRecordCount = 0 > > > > With rs1 > > If Not rs1.BOF And Not rs1.EOF Then > > 'rs1.MoveLast <---- If I leave this line in - I get the error > > rs1.MoveFirst > > > > Do Until rs1.EOF > > End If > > End With > > rs1.MoveNext > > intRecordCount = intRecordCount + 1 > > Loop > > Else > > End If > > End With > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael at ddisolutions.com.au Wed Nov 14 20:55:00 2007 From: michael at ddisolutions.com.au (Michael Maddison) Date: Thu, 15 Nov 2007 13:55:00 +1100 Subject: [AccessD] Getting a Record Count using ADO References: <200711150230.lAF2UVSL019384@databaseadvisors.com> Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D0128A09A@ddi-01.DDI.local> Havn't used ADO for a while but I have 2 comments. I thought ADO didn't require movelast movefirst to get a rowcount? Rather then populating 2 recordsets (potentially expensive) why not just execute 2 select count(1) from table queries? Then populate the recordset if required. cheers Michael M Hi Susan Brilliant - Many thanks I chose dbOpenStatic rs1.Open selSQL1, conn1 becomes rs1.Open selSQL1, conn1, dbOpenStatic Have a great day Darren ----------------- -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, 15 November 2007 12:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Getting a Record Count using ADO ADO's default cursor type is Forward-Only. You can't move backward, so the MoveLast method returns an error. ADO cursors: dbOpenForwardOnly (the default): static copy, moves forward only dbOpenStatic static copy, all movement enabled dbOpenDynamic Updates are immediate and all types of movement are enabled (not supported by Jet OLEDB provider), so Jet defaults to adOpenKeyset dbOpenKeyset All records are updateable, but you can't see additions and deletions, all movements are enabled. Choose your poison wisely. :) Susan H. Subject: [AccessD] Getting a Record Count using ADO > Hi All > > > > When I use DAO Recordsets I can simply do a rs.movelast and > rs.MoveFirst to populate the rs and then can do an accurate > rs.recordCount - Simple > > When using ADO - IF I use the line rs.movelast - I get a strange error > about backward fetching > > "Run Time Error -2147217884(80040e24) > > Rowset does not support fetching backward > > If I rem the line rs.MoveLast - the code works > > Code Snip Below (The real code does some updates etc on a second > recordset - snip not included for that) > > Anyone know about this - Is there a work around - I just want to > compare one rs.recordCount with another rs2.RecordCount and if they > differ then do something > - else forget about it > > Make sense? > > Many thanks in advance > > DD > > > > > > '#############This is connecting a an SQL Server dB > > Dim conn1 As New ADODB.Connection > > Dim rs1 As New ADODB.Recordset > > Dim selSQL1 As String > > Dim intRecordCount As Integer > > Dim i As Integer > > > > selSQL1 = "SELECT * from BillRun" > > conn1 = f_SetSQLSVRConnection '<--SQL Server connections set up and > passed from a function here > > conn1.Open > > > > rs1.Open selSQL1, conn1, dbOpenStatic > > > > intRecordCount = 0 > > > > With rs1 > > If Not rs1.BOF And Not rs1.EOF Then > > 'rs1.MoveLast <---- If I leave this line in - I get the error > > rs1.MoveFirst > > > > Do Until rs1.EOF > > End If > > End With > > rs1.MoveNext > > intRecordCount = intRecordCount + 1 > > Loop > > Else > > End If > > End With > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pcs at azizaz.com Wed Nov 14 21:57:58 2007 From: pcs at azizaz.com (pcs at azizaz.com) Date: Thu, 15 Nov 2007 13:57:58 +1000 (EST) Subject: [AccessD] Getting a Record Count using ADO Message-ID: <20071115135758.DHO77064@dommail.onthenet.com.au> Darren, In ADO Just execute rs.RecordCount which works with : .CursorType = adOpenKeyset regards Borge ---- Original message ---- >Date: Thu, 15 Nov 2007 11:29:42 +1100 >From: "Darren D" >Subject: [AccessD] Getting a Record Count using ADO >To: "'Access Developers discussion and problem solving'" > >Hi All > > > >When I use DAO Recordsets I can simply do a rs.movelast and rs.MoveFirst to >populate the rs and then can do an accurate rs.recordCount - Simple > >When using ADO - IF I use the line rs.movelast - I get a strange error about >backward fetching > >"Run Time Error -2147217884(80040e24) > >Rowset does not support fetching backward > >If I rem the line rs.MoveLast - the code works > >Code Snip Below (The real code does some updates etc on a second recordset - >snip not included for that) > >Anyone know about this - Is there a work around - I just want to compare one >rs.recordCount with another rs2.RecordCount and if they differ then do something >- else forget about it > >Make sense? > >Many thanks in advance > >DD > > > > > >'#############This is connecting a an SQL Server dB > >Dim conn1 As New ADODB.Connection > >Dim rs1 As New ADODB.Recordset > >Dim selSQL1 As String > >Dim intRecordCount As Integer > >Dim i As Integer > > > >selSQL1 = "SELECT * from BillRun" > >conn1 = f_SetSQLSVRConnection '<--SQL Server connections set up and passed from >a function here > >conn1.Open > > > >rs1.Open selSQL1, conn1 > > > >intRecordCount = 0 > > > >With rs1 > > If Not rs1.BOF And Not rs1.EOF Then > > 'rs1.MoveLast <---- If I leave this line in - I get the error > > rs1.MoveFirst > > > > Do Until rs1.EOF > > End If > > End With > > rs1.MoveNext > > intRecordCount = intRecordCount + 1 > > Loop > > Else > > End If > >End With > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From adtp at airtelbroadband.in Wed Nov 14 22:51:59 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Thu, 15 Nov 2007 10:21:59 +0530 Subject: [AccessD] merging records References: <00e401c825f4$3ca28170$6c7aa8c0@M90><002801c826bf$f7ba9b70$c657a 27a@personalec1122><002001c826c3$cc055980$6c7aa8c0@M90><001e01c826f7$b3738 890$c857a27a@personalec1122> <473B5E08.8010808@servicexp.com> Message-ID: <012001c82743$96006700$a857a27a@personalec1122> Thanks Robert! So nice of you. A.D.Tejpal ------------ ----- Original Message ----- From: Robert To: Access Developers discussion and problem solving Sent: Thursday, November 15, 2007 02:13 Subject: Re: [AccessD] merging records -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 A.D., Nice, that is very cooooool.... Robert A.D.TEJPAL wrote: > John, > > Apparently, each column carries only one significant value (over a group of records) for each combination of person & address. Your objective is to display only one compacted row per combination of person & address, showing only the significant values for survey results in various columns across the record. > > As a programmatic solution, the following course of action is suggested: > > 1 - Let the source table be named T_Data. Its first four fields are ID (PK), FirstName, LastName and Address, followed by large number of other fields (like Smokes etc) meant to hold survey response. > > 2 - Create an empty table named T_Result. Its structure should be identical to that of T_Data. > > 3 - Create a dummy table T_Dummy having one field. Populate it with one record. > > Having taken the above steps, if you run sample subroutine P_PopulateResultTable as given below, table T_Result will get populated with the compacted survey results in desired format. You might like to try it out and confirm whether it is in line with what you have been aiming at. > > Note - It has been tested on Access 2003 desktop (Access 2000 file format). Reference required - DAO 3.6 > > Best wishes, > A.D.Tejpal > ------------ > > Sample subroutine - for merging survey results > T_data is source table. Results are appended to T_Result. > '===================================== > Sub P_PopulateResultTable() > ' This subroutine merges the survey > ' results for each person in source table > ' T_Data and appends the outcome into > ' destination table T_Result. Structure of T_Result > ' is identical to that of T_Data > ' T_Dummy is a single field single record table. > > Dim Qst As String, Txt As String > Dim Fnm As String, Qst2 As String > Dim Fv As Variant > > Dim rst1 As DAO.Recordset > Dim rst2 As DAO.Recordset > Dim fd As Field > Dim tdf As TableDef > Dim db As DAO.Database > > Const SourceTable As String = "T_Data" > Const DestnTable As String = "T_Result" > Const DummyTable As String = "T_Dummy" > > ' Comma separated string of all field names > ' that do not directly carry survey response > Const ExemptFields As String = _ > "ID,FirstName,LastName,Address" > > Set db = DBEngine(0)(0) > > ' Clear destination table > db.Execute "DELETE * FROM " & _ > DestnTable & ";", dbFailOnError > > Qst = "SELECT FirstName, LastName, " & _ > "Address FROM " & SourceTable & _ > " GROUP BY FirstName, " & _ > "LastName, Address;" > Set rst1 = db.OpenRecordset(Qst) > > Set tdf = db.TableDefs(SourceTable) > > Do Until rst1.EOF > Qst = "INSERT INTO " & DestnTable & _ > " SELECT '" & _ > rst1.Fields("FirstName") & "' AS " & _ > "FirstName, '" & rst1.Fields("LastName") & _ > "' AS LastName, '" & rst1.Fields("Address") & _ > "' AS Address," > For Each fd In tdf.Fields > Fnm = fd.Name > If InStr(ExemptFields, Fnm) > 0 Then > Else > Qst2 = "SELECT " & Fnm & _ > " FROM " & SourceTable & _ > " WHERE FirstName = '" & _ > rst1.Fields("FirstName") & _ > "' AND LastName = '" & _ > rst1.Fields("LastName") & _ > "' AND Address = '" & _ > rst1.Fields("Address") & _ > "' AND Len(" & Fnm & ") > 0;" > Set rst2 = db.OpenRecordset(Qst2) > > If rst2.RecordCount > 0 Then > Qst = Qst & " '" & rst2.Fields(0) & _ > "' AS " & Fnm & "," > Else > Qst = Qst & " Null AS " & Fnm & "," > End If > > End If > Next > > ' Remove trailing comma > Qst = Left(Qst, Len(Qst) - 1) > Qst = Qst & " FROM " & DummyTable & ";" > > ' Append to destination table > db.Execute Qst, dbFailOnError > > rst1.MoveNext > Loop > > rst1.Close > rst2.Close > Set rst1 = Nothing > Set rst2 = Nothing > Set fd = Nothing > Set tdf = Nothing > Set db = Nothing > End Sub > '===================================== From darren at activebilling.com.au Wed Nov 14 23:10:49 2007 From: darren at activebilling.com.au (Darren D) Date: Thu, 15 Nov 2007 16:10:49 +1100 Subject: [AccessD] Getting Results from SQL SVR into a Continuous form In-Reply-To: <20071113102645.DHJ48961@dommail.onthenet.com.au> Message-ID: <200711150511.lAF5BEkb003143@databaseadvisors.com> Hi Borge Thanks for the reply - I can see this is very efficient compared to the way I was doing it And - It works - kinda If I use code similar to Dim strForm As String strForm = "frmRunDetails" DoCmd.OpenForm strForm '"frmRunDetails" Set Forms(strForm).Recordset = rs1 And ensure the form is not bound to any table or query - I get only 1 row showing at a time Even though the form is a continuous form and there are plenty of rows to show I can scroll through all the records but only displaying one row at a time Is there a trick to get the form to show say 20 records of say 200 then let the user scroll as normal through 180 or so not showing? Also I have text boxes at the footer of the form showing up with #Error using the set RS method- They have things like...="Total Runs: " & Count([RunNo]) as their control source Any way around this too? Many thanks DD -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pcs at azizaz.com Sent: Tuesday, 13 November 2007 11:27 AM To: Access Developers discussion and problemsolving Subject: Re: [AccessD] Getting Results from SQL SVR into a Continuous form Darren, Try: Set Forms(strFrm).Recordset = rs where rs is the recordset you have created and strForm is a string variable holding the name of your Form Regards Borge ---- Original message ---- >Date: Tue, 13 Nov 2007 11:06:46 +1100 >From: "Darren D" >Subject: Re: [AccessD] Getting Results from SQL SVR into a Continuous form >To: "'Access Developers discussion and problem solving'" > >Hi Arthur > >This sounds very efficient - Cool > >Now the tricky bit... > >How do I 'bind' a continuous form in access 2003 (NOT ADP) to a SPROC or view in >SQL SVR? > >Thanks > >Darren >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller >Sent: Tuesday, 13 November 2007 10:53 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Getting Results from SQL SVR into a Continuous form > >Why not eliminate both at once and instead create a sproc or view and use it >as the record source? > >A. > >On 11/12/07, Darren D wrote: >> >> Hi team >> >> >> >> Access 2003 >> >> >> >> I am running select statements to get results from an SQL dB >> >> >> >> Then looping through the rs object and populating temp tables with the >> results - >> Then I am 'binding' my forms to these temp tables for display >> >> >> >> This all works fine - no Prob - I was just wondering if it is possible to >> cut >> out the middle man - >> >> >> >> I mean ditch the temp tables and somehow populate a continuous form with >> the >> various results straight from the rs object >> >> >> >> EG Select AccountNo, AccountName, ContactPerson from tblAccounts may >> return >> say.10 records each with 3 fields of data >> >> >> >> How then do I get these results from the rs object in code into a >> continuous >> form without populating a temp table first? >> >> >> >> Also - Are there any advantages doing it this way or is using a temp table >> perfectly reasonable? >> >> >> >> Many thanks in advance >> >> >> >> Have a great day >> >> >> >> Darren >> >> >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darren at activebilling.com.au Wed Nov 14 23:15:02 2007 From: darren at activebilling.com.au (Darren D) Date: Thu, 15 Nov 2007 16:15:02 +1100 Subject: [AccessD] Getting a Record Count using ADO In-Reply-To: <20071115135758.DHO77064@dommail.onthenet.com.au> Message-ID: <200711150515.lAF5FQlR007806@databaseadvisors.com> Hi Borge I am now realising I can get the rs1.RecordCount without 'populating' using rs1.MoveLast and rs1.MoveFirst - Cool - It is in place now But there are occasions where I do need to get to the last record so I can display the description of the last record on the users form EG In code in the line after rs1.MoveLast I have a line that reads Me.lblDisplay.Caption = "Current Run: " & rs!RunDescription Then the next line is .MoveFirst and then after that I do a loop and then I do all the .Update stuff after that Many thanks for your reply Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pcs at azizaz.com Sent: Thursday, 15 November 2007 2:58 PM To: Access Developers discussion and problemsolving Subject: Re: [AccessD] Getting a Record Count using ADO Darren, In ADO Just execute rs.RecordCount which works with : .CursorType = adOpenKeyset regards Borge ---- Original message ---- >Date: Thu, 15 Nov 2007 11:29:42 +1100 >From: "Darren D" >Subject: [AccessD] Getting a Record Count using ADO >To: "'Access Developers discussion and problem solving'" > >Hi All > > > >When I use DAO Recordsets I can simply do a rs.movelast and rs.MoveFirst to >populate the rs and then can do an accurate rs.recordCount - Simple > >When using ADO - IF I use the line rs.movelast - I get a strange error about >backward fetching > >"Run Time Error -2147217884(80040e24) > >Rowset does not support fetching backward > >If I rem the line rs.MoveLast - the code works > >Code Snip Below (The real code does some updates etc on a second recordset - >snip not included for that) > >Anyone know about this - Is there a work around - I just want to compare one >rs.recordCount with another rs2.RecordCount and if they differ then do something >- else forget about it > >Make sense? > >Many thanks in advance > >DD > > > > > >'#############This is connecting a an SQL Server dB > >Dim conn1 As New ADODB.Connection > >Dim rs1 As New ADODB.Recordset > >Dim selSQL1 As String > >Dim intRecordCount As Integer > >Dim i As Integer > > > >selSQL1 = "SELECT * from BillRun" > >conn1 = f_SetSQLSVRConnection '<--SQL Server connections set up and passed from >a function here > >conn1.Open > > > >rs1.Open selSQL1, conn1 > > > >intRecordCount = 0 > > > >With rs1 > > If Not rs1.BOF And Not rs1.EOF Then > > 'rs1.MoveLast <---- If I leave this line in - I get the error > > rs1.MoveFirst > > > > Do Until rs1.EOF > > End If > > End With > > rs1.MoveNext > > intRecordCount = intRecordCount + 1 > > Loop > > Else > > End If > >End With > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darren at activebilling.com.au Wed Nov 14 23:19:13 2007 From: darren at activebilling.com.au (Darren D) Date: Thu, 15 Nov 2007 16:19:13 +1100 Subject: [AccessD] Getting a Record Count using ADO In-Reply-To: <59A61174B1F5B54B97FD4ADDE71E7D0128A09A@ddi-01.DDI.local> Message-ID: <200711150519.lAF5JcXP009071@databaseadvisors.com> Hi Michael Excellent - this is what Borge Suggested too I have implemented it for the bits where I just need a record count And I use the full blown rs1.Movelast rs1.moveFirst then a Loop for the bits where I need to update a local table I am grateful for the replies Many thanks Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Thursday, 15 November 2007 1:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Getting a Record Count using ADO Havn't used ADO for a while but I have 2 comments. I thought ADO didn't require movelast movefirst to get a rowcount? Rather then populating 2 recordsets (potentially expensive) why not just execute 2 select count(1) from table queries? Then populate the recordset if required. cheers Michael M Hi Susan Brilliant - Many thanks I chose dbOpenStatic rs1.Open selSQL1, conn1 becomes rs1.Open selSQL1, conn1, dbOpenStatic Have a great day Darren ----------------- -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, 15 November 2007 12:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Getting a Record Count using ADO ADO's default cursor type is Forward-Only. You can't move backward, so the MoveLast method returns an error. ADO cursors: dbOpenForwardOnly (the default): static copy, moves forward only dbOpenStatic static copy, all movement enabled dbOpenDynamic Updates are immediate and all types of movement are enabled (not supported by Jet OLEDB provider), so Jet defaults to adOpenKeyset dbOpenKeyset All records are updateable, but you can't see additions and deletions, all movements are enabled. Choose your poison wisely. :) Susan H. Subject: [AccessD] Getting a Record Count using ADO > Hi All > > > > When I use DAO Recordsets I can simply do a rs.movelast and > rs.MoveFirst to populate the rs and then can do an accurate > rs.recordCount - Simple > > When using ADO - IF I use the line rs.movelast - I get a strange error > about backward fetching > > "Run Time Error -2147217884(80040e24) > > Rowset does not support fetching backward > > If I rem the line rs.MoveLast - the code works > > Code Snip Below (The real code does some updates etc on a second > recordset - snip not included for that) > > Anyone know about this - Is there a work around - I just want to > compare one rs.recordCount with another rs2.RecordCount and if they > differ then do something > - else forget about it > > Make sense? > > Many thanks in advance > > DD > > > > > > '#############This is connecting a an SQL Server dB > > Dim conn1 As New ADODB.Connection > > Dim rs1 As New ADODB.Recordset > > Dim selSQL1 As String > > Dim intRecordCount As Integer > > Dim i As Integer > > > > selSQL1 = "SELECT * from BillRun" > > conn1 = f_SetSQLSVRConnection '<--SQL Server connections set up and > passed from a function here > > conn1.Open > > > > rs1.Open selSQL1, conn1, dbOpenStatic > > > > intRecordCount = 0 > > > > With rs1 > > If Not rs1.BOF And Not rs1.EOF Then > > 'rs1.MoveLast <---- If I leave this line in - I get the error > > rs1.MoveFirst > > > > Do Until rs1.EOF > > End If > > End With > > rs1.MoveNext > > intRecordCount = intRecordCount + 1 > > Loop > > Else > > End If > > End With > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From joeget at vgernet.net Wed Nov 14 23:41:56 2007 From: joeget at vgernet.net (John Eget) Date: Thu, 15 Nov 2007 00:41:56 -0500 Subject: [AccessD] Access application to WEb Based Message-ID: <004a01c8274a$4156f460$4cc2f63f@JELaptop> My boss asked me today "What would be the effort to make an existing Microsoft Access application usable on the Web". I could find no references in any of the books I have as a reference. Any idea what I can say or where to look? Thanks for the thoughts and chuckles John From pcs at azizaz.com Thu Nov 15 00:11:44 2007 From: pcs at azizaz.com (pcs at azizaz.com) Date: Thu, 15 Nov 2007 16:11:44 +1000 (EST) Subject: [AccessD] Getting Results from SQL SVR into a Continuous form Message-ID: <20071115161144.DHO89409@dommail.onthenet.com.au> Darren, Sorry, no immediate suggestion to your question about the calculated text controls in the Footer... I don't fully understand how you have designed your Form... We normally split the UI into a Summary Form and a Detail Form... The Summary Form is a continous form that also allow us to scroll horizontal across the columns of a row.... There are usually a number of predefined selection criteria in the Form Footer (a combo box served up by an auxiliary table holding information about SPs that corresponds to each of these predefined selection criteria)..... On the Summary Form above the text control and label that forms each column we have another unbound text control that functions as a 'filter' - the user can enter filter criteria in any of these controls - if an ad hoc 'filter' like that is present it will work in conjunction with the predefined selection criteria that has been selected. The code module will then fetch the chunks of SQL that was used to create the SP (the auxiliary table holds the PK - Description - Name of SP - "Select Part" of SP in memo field - "Where Part" of SP in memo field - "Order By" Part in memo field) and along with the ad hoc filter provided the code will build the SQL string that now is to be used to fetch the record set from the Server instead of the straightforward SP. Using ADO recordset.... Clicking on a column will open the Detail Form on the PK of the Summary Form record... Using query on ODBC linked table(s) limited to one record selected by the PK provided.... On the Detail Form we have a combo box that gets populated with the sub set of records from the Summary Form limited to the first 100 if the Summary Form shows more than 100 records.... So, rather than scrolling on the Detail Form, the User clicks on the combo box to select another record from the subset arrived at on the Summary Form. On the Summary Form you normally show all the essential static information about the records at hand plus any additional fields that is relevant to search on ..... This provides the User with a very effective way of quickly drilling down to the subset of records that the User will be working on in more detail.... The record set on the Summary Form can be made up of any complex (and non-updatable) query .... I don't know if this is relevant to you... Borge ---- Original message ---- >Date: Thu, 15 Nov 2007 16:10:49 +1100 >From: "Darren D" >Subject: Re: [AccessD] Getting Results from SQL SVR into a Continuous form >To: "'Access Developers discussion and problem solving'" > >Hi Borge > >Thanks for the reply - I can see this is very efficient compared to the way I >was doing it >And - It works - kinda >If I use code similar to > > Dim strForm As String > strForm = "frmRunDetails" > DoCmd.OpenForm strForm '"frmRunDetails" > Set Forms(strForm).Recordset = rs1 > >And ensure the form is not bound to any table or query - I get only 1 row >showing at a time >Even though the form is a continuous form and there are plenty of rows to show >I can scroll through all the records but only displaying one row at a time > >Is there a trick to get the form to show say 20 records of say 200 then let the >user scroll as normal through 180 or so not showing? > >Also I have text boxes at the footer of the form showing up with #Error using >the set RS method- They have things like...="Total Runs: " & Count([RunNo]) as >their control source >Any way around this too? > >Many thanks > >DD > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pcs at azizaz.com >Sent: Tuesday, 13 November 2007 11:27 AM >To: Access Developers discussion and problemsolving >Subject: Re: [AccessD] Getting Results from SQL SVR into a Continuous form > >Darren, >Try: > >Set Forms(strFrm).Recordset = rs > >where rs is the recordset you have created and strForm is a >string variable holding the name of your Form > >Regards >Borge > >---- Original message ---- >>Date: Tue, 13 Nov 2007 11:06:46 +1100 >>From: "Darren D" >>Subject: Re: [AccessD] Getting Results from SQL SVR into a >Continuous form >>To: "'Access Developers discussion and problem solving'" > >> >>Hi Arthur >> >>This sounds very efficient - Cool >> >>Now the tricky bit... >> >>How do I 'bind' a continuous form in access 2003 (NOT ADP) to >a SPROC or view in >>SQL SVR? >> >>Thanks >> >>Darren >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >Arthur Fuller >>Sent: Tuesday, 13 November 2007 10:53 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] Getting Results from SQL SVR into a >Continuous form >> >>Why not eliminate both at once and instead create a sproc or >view and use it >>as the record source? >> >>A. >> >>On 11/12/07, Darren D wrote: >>> >>> Hi team >>> >>> >>> >>> Access 2003 >>> >>> >>> >>> I am running select statements to get results from an SQL dB >>> >>> >>> >>> Then looping through the rs object and populating temp >tables with the >>> results - >>> Then I am 'binding' my forms to these temp tables for display >>> >>> >>> >>> This all works fine - no Prob - I was just wondering if it >is possible to >>> cut >>> out the middle man - >>> >>> >>> >>> I mean ditch the temp tables and somehow populate a >continuous form with >>> the >>> various results straight from the rs object >>> >>> >>> >>> EG Select AccountNo, AccountName, ContactPerson from >tblAccounts may >>> return >>> say.10 records each with 3 fields of data >>> >>> >>> >>> How then do I get these results from the rs object in code >into a >>> continuous >>> form without populating a temp table first? >>> >>> >>> >>> Also - Are there any advantages doing it this way or is >using a temp table >>> perfectly reasonable? >>> >>> >>> >>> Many thanks in advance >>> >>> >>> >>> Have a great day >>> >>> >>> >>> Darren >>> >>> >>> >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From Gustav at cactus.dk Thu Nov 15 02:13:00 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 15 Nov 2007 09:13:00 +0100 Subject: [AccessD] merging records Message-ID: Hi A.D. But - as you have the DAO recordset present - why not use AddNew/Update to replace the slow "Insert Into .." SQL execution? /gustav >>> adtp at airtelbroadband.in 14-11-2007 20:49 >>> John, Apparently, each column carries only one significant value (over a group of records) for each combination of person & address. Your objective is to display only one compacted row per combination of person & address, showing only the significant values for survey results in various columns across the record. As a programmatic solution, the following course of action is suggested: 1 - Let the source table be named T_Data. Its first four fields are ID (PK), FirstName, LastName and Address, followed by large number of other fields (like Smokes etc) meant to hold survey response. 2 - Create an empty table named T_Result. Its structure should be identical to that of T_Data. 3 - Create a dummy table T_Dummy having one field. Populate it with one record. Having taken the above steps, if you run sample subroutine P_PopulateResultTable as given below, table T_Result will get populated with the compacted survey results in desired format. You might like to try it out and confirm whether it is in line with what you have been aiming at. Note - It has been tested on Access 2003 desktop (Access 2000 file format). Reference required - DAO 3.6 Best wishes, A.D.Tejpal ------------ Sample subroutine - for merging survey results T_data is source table. Results are appended to T_Result. '===================================== Sub P_PopulateResultTable() ' This subroutine merges the survey ' results for each person in source table ' T_Data and appends the outcome into ' destination table T_Result. Structure of T_Result ' is identical to that of T_Data ' T_Dummy is a single field single record table. Dim Qst As String, Txt As String Dim Fnm As String, Qst2 As String Dim Fv As Variant Dim rst1 As DAO.Recordset Dim rst2 As DAO.Recordset Dim fd As Field Dim tdf As TableDef Dim db As DAO.Database Const SourceTable As String = "T_Data" Const DestnTable As String = "T_Result" Const DummyTable As String = "T_Dummy" ' Comma separated string of all field names ' that do not directly carry survey response Const ExemptFields As String = _ "ID,FirstName,LastName,Address" Set db = DBEngine(0)(0) ' Clear destination table db.Execute "DELETE * FROM " & _ DestnTable & ";", dbFailOnError Qst = "SELECT FirstName, LastName, " & _ "Address FROM " & SourceTable & _ " GROUP BY FirstName, " & _ "LastName, Address;" Set rst1 = db.OpenRecordset(Qst) Set tdf = db.TableDefs(SourceTable) Do Until rst1.EOF Qst = "INSERT INTO " & DestnTable & _ " SELECT '" & _ rst1.Fields("FirstName") & "' AS " & _ "FirstName, '" & rst1.Fields("LastName") & _ "' AS LastName, '" & rst1.Fields("Address") & _ "' AS Address," For Each fd In tdf.Fields Fnm = fd.Name If InStr(ExemptFields, Fnm) > 0 Then Else Qst2 = "SELECT " & Fnm & _ " FROM " & SourceTable & _ " WHERE FirstName = '" & _ rst1.Fields("FirstName") & _ "' AND LastName = '" & _ rst1.Fields("LastName") & _ "' AND Address = '" & _ rst1.Fields("Address") & _ "' AND Len(" & Fnm & ") > 0;" Set rst2 = db.OpenRecordset(Qst2) If rst2.RecordCount > 0 Then Qst = Qst & " '" & rst2.Fields(0) & _ "' AS " & Fnm & "," Else Qst = Qst & " Null AS " & Fnm & "," End If End If Next ' Remove trailing comma Qst = Left(Qst, Len(Qst) - 1) Qst = Qst & " FROM " & DummyTable & ";" ' Append to destination table db.Execute Qst, dbFailOnError rst1.MoveNext Loop rst1.Close rst2.Close Set rst1 = Nothing Set rst2 = Nothing Set fd = Nothing Set tdf = Nothing Set db = Nothing End Sub '===================================== ----- Original Message ----- From: jwcolby To: 'Access Developers discussion and problem solving' Sent: Wednesday, November 14, 2007 19:09 Subject: Re: [AccessD] merging records A.D., Thanks for the response. Unfortunately it is not that simple, i.e. there are about 700 fields, of which about 600 are responses to query questions. Each of those 600 fields will need to be merged with the alternate record. for example: FName LName Addr Smokes Softdrink Car John Colby 1723 N '' '' John Colby 1723 '' Pepsi '' John Colby 1723 '' '' Ford Escort In at least one table there are 600 fields. The fields are divided into "sets" of fields. One set is about boats - State registered, length, type, engine etc. Another set is about medications taken - Zoloft, Aspirin, Etc. Another set is about electronics purchased - stereo, cb, computers, cell phones etc. << SNIPPED to prevent overall size crossing limits >> John W. Colby Colby Consulting www.ColbyConsulting.com From rockysmolin at bchacc.com Thu Nov 15 07:10:17 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 15 Nov 2007 05:10:17 -0800 Subject: [AccessD] Off-Site Backup Message-ID: <001f01c82788$de8012b0$0301a8c0@HAL9005> Dear List: Maybe a bit OT but hopefully some answers that will be useful to all. I've just been solicited by WinZip Computing to try their off-site backup product Carbonite. I occasionally FTP some stuff up to my web site for off site backup. Are any of you doing off-site through a third party product? And if so, which one? Recommendations? TIA Rocky From lmrazek at lcm-res.com Thu Nov 15 07:22:59 2007 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Thu, 15 Nov 2007 07:22:59 -0600 Subject: [AccessD] Off-Site Backup In-Reply-To: <001f01c82788$de8012b0$0301a8c0@HAL9005> References: <001f01c82788$de8012b0$0301a8c0@HAL9005> Message-ID: <061301c8278a$a4c7d970$0702a8c0@lcmdv8000> Hi Rocky: I'm using MozyPro (for clients and myself) ... www.mozy.com. I've like it, and have been impressed with the features. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 15, 2007 7:10 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Off-Site Backup Dear List: Maybe a bit OT but hopefully some answers that will be useful to all. I've just been solicited by WinZip Computing to try their off-site backup product Carbonite. I occasionally FTP some stuff up to my web site for off site backup. Are any of you doing off-site through a third party product? And if so, which one? Recommendations? 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 Nov 15 07:42:07 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 15 Nov 2007 05:42:07 -0800 Subject: [AccessD] Off-Site Backup In-Reply-To: <061301c8278a$a4c7d970$0702a8c0@lcmdv8000> References: <001f01c82788$de8012b0$0301a8c0@HAL9005> <061301c8278a$a4c7d970$0702a8c0@lcmdv8000> Message-ID: <002a01c8278d$511b6140$0301a8c0@HAL9005> Looks good from the web page. I couldn't figure out how much it costs, however, if you want more than 2GB. Guess you have to go with the Pro version. How much do you pay? T&R Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawrence Mrazek Sent: Thursday, November 15, 2007 5:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Hi Rocky: I'm using MozyPro (for clients and myself) ... www.mozy.com. I've like it, and have been impressed with the features. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 15, 2007 7:10 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Off-Site Backup Dear List: Maybe a bit OT but hopefully some answers that will be useful to all. I've just been solicited by WinZip Computing to try their off-site backup product Carbonite. I occasionally FTP some stuff up to my web site for off site backup. Are any of you doing off-site through a third party product? And if so, which one? Recommendations? 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: 11/14/2007 4:54 PM From wdhindman at dejpolsystems.com Thu Nov 15 07:44:30 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 15 Nov 2007 08:44:30 -0500 Subject: [AccessD] Off-Site Backup References: <001f01c82788$de8012b0$0301a8c0@HAL9005> Message-ID: <000901c8278d$a6170e60$ef706c4c@jisshowsbs.local> ...looked a number of times but the first problem was always been the length of time required to backup 40+ gigs over the net ...doesn't matter who the vendor is ...it would require days, not hours, over dsl for the first full backup and then incrementals can take hours themselves. ...but the real problem to me is system restoration on fail ...if file backup were my only consideration then web might be feasible ...but if the server fails and your only backup is the web then you're looking at a very, very long outage vs an hour fom tape and minutes from a hard disk b/u. William ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Thursday, November 15, 2007 8:10 AM Subject: [AccessD] Off-Site Backup > > Dear List: > > Maybe a bit OT but hopefully some answers that will be useful to all. > > I've just been solicited by WinZip Computing to try their off-site backup > product Carbonite. I occasionally FTP some stuff up to my web site for > off > site backup. > > Are any of you doing off-site through a third party product? And if so, > which one? Recommendations? > > TIA > > Rocky > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Nov 15 07:58:18 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Nov 2007 08:58:18 -0500 Subject: [AccessD] Off-Site Backup In-Reply-To: <000901c8278d$a6170e60$ef706c4c@jisshowsbs.local> References: <001f01c82788$de8012b0$0301a8c0@HAL9005> <000901c8278d$a6170e60$ef706c4c@jisshowsbs.local> Message-ID: <008801c8278f$93c8dc00$6c7aa8c0@M90> Agreed on all counts. I think web backup is great for some types of backup, specifically files such as company documents or pictures. I must say that security would be a concern of mine though. With all the issues of data theft... John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Thursday, November 15, 2007 8:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Off-Site Backup ...looked a number of times but the first problem was always been the length of time required to backup 40+ gigs over the net ...doesn't matter who the vendor is ...it would require days, not hours, over dsl for the first full backup and then incrementals can take hours themselves. ...but the real problem to me is system restoration on fail ...if file backup were my only consideration then web might be feasible ...but if the server fails and your only backup is the web then you're looking at a very, very long outage vs an hour fom tape and minutes from a hard disk b/u. William ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Thursday, November 15, 2007 8:10 AM Subject: [AccessD] Off-Site Backup > > Dear List: > > Maybe a bit OT but hopefully some answers that will be useful to all. > > I've just been solicited by WinZip Computing to try their off-site backup > product Carbonite. I occasionally FTP some stuff up to my web site for > off > site backup. > > Are any of you doing off-site through a third party product? And if so, > which one? Recommendations? > > 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 ssharkins at gmail.com Thu Nov 15 08:11:28 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 15 Nov 2007 09:11:28 -0500 Subject: [AccessD] Getting a Record Count using ADO References: <200711150230.lAF2UVSL019384@databaseadvisors.com> Message-ID: <007401c82791$b6a113d0$4b3a8343@SusanOne> This was a huge issue years ago when they switched the default library from DAO to ADO because the DAO default cursor worked correctly. Many developers didn't include an explicit cursor type and when they tried that in ADO, they got errors they didn't understand. What I find most interesting in the internal conversion of dynamic to keyset -- fascinating. Susan H. > Hi Susan > Brilliant - Many thanks > I chose dbOpenStatic > > rs1.Open selSQL1, conn1 > becomes > rs1.Open selSQL1, conn1, dbOpenStatic > Have a great day From max.wanadoo at gmail.com Thu Nov 15 08:32:44 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Thu, 15 Nov 2007 14:32:44 -0000 Subject: [AccessD] Off-Site Backup In-Reply-To: <002a01c8278d$511b6140$0301a8c0@HAL9005> Message-ID: <00ac01c82794$63558050$8119fea9@LTVM> Pricings are here: https://mozy.com/pro/pricing Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 15, 2007 1:42 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Looks good from the web page. I couldn't figure out how much it costs, however, if you want more than 2GB. Guess you have to go with the Pro version. How much do you pay? T&R Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawrence Mrazek Sent: Thursday, November 15, 2007 5:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Hi Rocky: I'm using MozyPro (for clients and myself) ... www.mozy.com. I've like it, and have been impressed with the features. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 15, 2007 7:10 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Off-Site Backup Dear List: Maybe a bit OT but hopefully some answers that will be useful to all. I've just been solicited by WinZip Computing to try their off-site backup product Carbonite. I occasionally FTP some stuff up to my web site for off site backup. Are any of you doing off-site through a third party product? And if so, which one? Recommendations? 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: 11/14/2007 4:54 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Nov 15 08:51:16 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 15 Nov 2007 06:51:16 -0800 Subject: [AccessD] Off-Site Backup In-Reply-To: <00ac01c82794$63558050$8119fea9@LTVM> References: <002a01c8278d$511b6140$0301a8c0@HAL9005> <00ac01c82794$63558050$8119fea9@LTVM> Message-ID: <003801c82796$f9fb9010$0301a8c0@HAL9005> Well, my local ghost backup runs to 35GB - so that gets me into about $20 a month. I can FTP my stuff myself to me web site - plenty of space there - it's just the discipline. I send the critical stuff up there sporadically in an encrypted zip file. The upload time is a killer, though. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Thursday, November 15, 2007 6:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Pricings are here: https://mozy.com/pro/pricing Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 15, 2007 1:42 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Looks good from the web page. I couldn't figure out how much it costs, however, if you want more than 2GB. Guess you have to go with the Pro version. How much do you pay? T&R Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawrence Mrazek Sent: Thursday, November 15, 2007 5:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Hi Rocky: I'm using MozyPro (for clients and myself) ... www.mozy.com. I've like it, and have been impressed with the features. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 15, 2007 7:10 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Off-Site Backup Dear List: Maybe a bit OT but hopefully some answers that will be useful to all. I've just been solicited by WinZip Computing to try their off-site backup product Carbonite. I occasionally FTP some stuff up to my web site for off site backup. Are any of you doing off-site through a third party product? And if so, which one? Recommendations? 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: 11/14/2007 4:54 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: 11/14/2007 4:54 PM From lmrazek at lcm-res.com Thu Nov 15 09:00:48 2007 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Thu, 15 Nov 2007 09:00:48 -0600 Subject: [AccessD] Access application to WEb Based In-Reply-To: <004a01c8274a$4156f460$4cc2f63f@JELaptop> References: <004a01c8274a$4156f460$4cc2f63f@JELaptop> Message-ID: <001901c82798$4e771b40$75010a0a@lcmdv8000> Hmmm ... This is one of those "it depends" questions. If you're looking to merely present tabular data on the web, with perhaps a couple of lookups, filters, etc. this wouldn't be a problem. However, if you're app has a lot of custom functions, business logic, etc., then it will be a much larger project. Is the focus to make the application "usable on the web" or do you merely need to enable remote access to the app? Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Eget Sent: Wednesday, November 14, 2007 11:42 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Access application to WEb Based My boss asked me today "What would be the effort to make an existing Microsoft Access application usable on the Web". I could find no references in any of the books I have as a reference. Any idea what I can say or where to look? Thanks for the thoughts and chuckles John -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Thu Nov 15 10:07:47 2007 From: john at winhaven.net (John Bartow) Date: Thu, 15 Nov 2007 10:07:47 -0600 Subject: [AccessD] Off-Site Backup In-Reply-To: <001f01c82788$de8012b0$0301a8c0@HAL9005> Message-ID: <200711151609.lAFG8wDN015591@databaseadvisors.com> Hi Rocky, These are enticing ideas aren't they? Seems everyone and their uncle is offering it today. After thorough evaluation, given the size of Access DB and Apps (prerequisite Access related content ;-) , I decided against this option. (Besides that fact that I also do a load of DP/graphics work so mdbs are actually quite small in size comparison.) I found that an external hard drive unit that can be kept off site is a more cost effective and much faster alternative. Given the difficulties that most of clients have using (especially restoring from) tape backup media for security backups procedures I have started to implement multiple removable hard drives instead. A simple USB or Fire wire cable connection is all it takes. For smaller size backups (35-90 GB) an Iomega Rev Drive is another option and can directly replace a daily/weekly/monthly tape backup rotation scheme as the removable Rev disks (which are a proprietary hard drive enclosure) are about the size of a tape cartridge. They had been selling a reasonably priced "starter kit" which included a drive unit, a number of disks and a backup software solution (although you can use any form of backup including a simple folder copy. Another option for you, given that you have space on your web server is to use an FTP client that you can schedule to do this automatically at night. There are a number of good FTP clients available that can do this. Some free. HTH John B From DWUTKA at Marlow.com Thu Nov 15 09:39:05 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 15 Nov 2007 09:39:05 -0600 Subject: [AccessD] Access application to WEb Based In-Reply-To: <004a01c8274a$4156f460$4cc2f63f@JELaptop> Message-ID: Depends on how complex it is, and how dependant you would be on client side code. For example, recording data into a table is a server side process. Selecting a value in one combo box, to display different values in another, while that can be done on the server side, it would really be a client side process. If there's a lot of client side stuff, you'll need to figure out how to do it. Personally, I have a few apps like that, where I know the end users all use IE, so I can get away with programming everything in VBScript. Pretty easy. Unknown browsers, and you better go with Javascript. There's also the option of ASP.Net, which provides a development environment that will appear a lot like access. I mainly build web interfaces, though I have converted a handful to web based applications. I'm sorry I can't give you a solid ratio of development time, but it's really going to depend on how the initial database is designed. I did a few that were mainly unbound (there were classes and collection that acted as a business layer). Those were very easy, because it was just a matter of building a web interface on top of that business layer, not too much different then just creating new forms/reports. In a completely bound interface, more time consuming, because then you are basically starting from scratch. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Eget Sent: Wednesday, November 14, 2007 11:42 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Access application to WEb Based My boss asked me today "What would be the effort to make an existing Microsoft Access application usable on the Web". I could find no references in any of the books I have as a reference. Any idea what I can say or where to look? Thanks for the thoughts and chuckles John -- 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 BusinessSensitve 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 Nov 15 10:18:49 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 15 Nov 2007 10:18:49 -0600 Subject: [AccessD] Off-Site Backup In-Reply-To: <003801c82796$f9fb9010$0301a8c0@HAL9005> Message-ID: At work we use Iron Mountain (www.ironmountain.com). But why don't you just get a big flash drive and put it on your key chain. You'll always have your critical stuff with you then. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 15, 2007 8:51 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Well, my local ghost backup runs to 35GB - so that gets me into about $20 a month. I can FTP my stuff myself to me web site - plenty of space there - it's just the discipline. I send the critical stuff up there sporadically in an encrypted zip file. The upload time is a killer, though. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Thursday, November 15, 2007 6:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Pricings are here: https://mozy.com/pro/pricing Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 15, 2007 1:42 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Looks good from the web page. I couldn't figure out how much it costs, however, if you want more than 2GB. Guess you have to go with the Pro version. How much do you pay? T&R Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawrence Mrazek Sent: Thursday, November 15, 2007 5:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Hi Rocky: I'm using MozyPro (for clients and myself) ... www.mozy.com. I've like it, and have been impressed with the features. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 15, 2007 7:10 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Off-Site Backup Dear List: Maybe a bit OT but hopefully some answers that will be useful to all. I've just been solicited by WinZip Computing to try their off-site backup product Carbonite. I occasionally FTP some stuff up to my web site for off site backup. Are any of you doing off-site through a third party product? And if so, which one? Recommendations? 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: 11/14/2007 4:54 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: 11/14/2007 4:54 PM -- 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 BusinessSensitve 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 Nov 15 11:42:13 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Nov 2007 12:42:13 -0500 Subject: [AccessD] Off-Site Backup In-Reply-To: References: <003801c82796$f9fb9010$0301a8c0@HAL9005> Message-ID: <009901c827ae$db89c0d0$6c7aa8c0@M90> LOL. Make sure that you use a good encryption scheme. I use TrueCrypt: http://www.truecrypt.org/downloads.php John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, November 15, 2007 11:19 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Off-Site Backup At work we use Iron Mountain (www.ironmountain.com). But why don't you just get a big flash drive and put it on your key chain. You'll always have your critical stuff with you then. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 15, 2007 8:51 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Well, my local ghost backup runs to 35GB - so that gets me into about $20 a month. I can FTP my stuff myself to me web site - plenty of space there - it's just the discipline. I send the critical stuff up there sporadically in an encrypted zip file. The upload time is a killer, though. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Thursday, November 15, 2007 6:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Pricings are here: https://mozy.com/pro/pricing Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 15, 2007 1:42 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Looks good from the web page. I couldn't figure out how much it costs, however, if you want more than 2GB. Guess you have to go with the Pro version. How much do you pay? T&R Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawrence Mrazek Sent: Thursday, November 15, 2007 5:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Hi Rocky: I'm using MozyPro (for clients and myself) ... www.mozy.com. I've like it, and have been impressed with the features. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 15, 2007 7:10 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Off-Site Backup Dear List: Maybe a bit OT but hopefully some answers that will be useful to all. I've just been solicited by WinZip Computing to try their off-site backup product Carbonite. I occasionally FTP some stuff up to my web site for off site backup. Are any of you doing off-site through a third party product? And if so, which one? Recommendations? 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: 11/14/2007 4:54 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: 11/14/2007 4:54 PM -- 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 BusinessSensitve 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 adtp at airtelbroadband.in Thu Nov 15 12:10:39 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Thu, 15 Nov 2007 23:40:39 +0530 Subject: [AccessD] merging records References: Message-ID: <012001c827b2$fe29bfb0$5e57a27a@personalec1122> Gustav, In its present version, the suggested procedure does not open any recordset for target table. After all the values meant to be inserted in various fields are lined up, the pertinent record gets inserted in destination table in one go via append query. As pointed out by you, pure recordset approach can also be adopted in lieu of append query method. John states that the number of fields involved is very large. That would require corresponding large number of assignment calls from one recordset to the other. It might be interesting if an actual trial could be conducted over a large data set, using append query visa-vis recordset approach. Perhaps John could do it and let us know. Best wishes, A.D.Tejpal ------------ ----- Original Message ----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Thursday, November 15, 2007 13:43 Subject: Re: [AccessD] merging records Hi A.D. But - as you have the DAO recordset present - why not use AddNew/Update to replace the slow "Insert Into .." SQL execution? /gustav >>> adtp at airtelbroadband.in 14-11-2007 20:49 >>> John, Apparently, each column carries only one significant value (over a group of records) for each combination of person & address. Your objective is to display only one compacted row per combination of person & address, showing only the significant values for survey results in various columns across the record. As a programmatic solution, the following course of action is suggested: 1 - Let the source table be named T_Data. Its first four fields are ID (PK), FirstName, LastName and Address, followed by large number of other fields (like Smokes etc) meant to hold survey response. 2 - Create an empty table named T_Result. Its structure should be identical to that of T_Data. 3 - Create a dummy table T_Dummy having one field. Populate it with one record. Having taken the above steps, if you run sample subroutine P_PopulateResultTable as given below, table T_Result will get populated with the compacted survey results in desired format. You might like to try it out and confirm whether it is in line with what you have been aiming at. Note - It has been tested on Access 2003 desktop (Access 2000 file format). Reference required - DAO 3.6 Best wishes, A.D.Tejpal ------------ Sample subroutine - for merging survey results T_data is source table. Results are appended to T_Result. '===================================== Sub P_PopulateResultTable() ' This subroutine merges the survey ' results for each person in source table ' T_Data and appends the outcome into ' destination table T_Result. Structure of T_Result ' is identical to that of T_Data ' T_Dummy is a single field single record table. Dim Qst As String, Txt As String Dim Fnm As String, Qst2 As String Dim Fv As Variant Dim rst1 As DAO.Recordset Dim rst2 As DAO.Recordset Dim fd As Field Dim tdf As TableDef Dim db As DAO.Database Const SourceTable As String = "T_Data" Const DestnTable As String = "T_Result" Const DummyTable As String = "T_Dummy" ' Comma separated string of all field names ' that do not directly carry survey response Const ExemptFields As String = _ "ID,FirstName,LastName,Address" Set db = DBEngine(0)(0) ' Clear destination table db.Execute "DELETE * FROM " & _ DestnTable & ";", dbFailOnError Qst = "SELECT FirstName, LastName, " & _ "Address FROM " & SourceTable & _ " GROUP BY FirstName, " & _ "LastName, Address;" Set rst1 = db.OpenRecordset(Qst) Set tdf = db.TableDefs(SourceTable) Do Until rst1.EOF Qst = "INSERT INTO " & DestnTable & _ " SELECT '" & _ rst1.Fields("FirstName") & "' AS " & _ "FirstName, '" & rst1.Fields("LastName") & _ "' AS LastName, '" & rst1.Fields("Address") & _ "' AS Address," For Each fd In tdf.Fields Fnm = fd.Name If InStr(ExemptFields, Fnm) > 0 Then Else Qst2 = "SELECT " & Fnm & _ " FROM " & SourceTable & _ " WHERE FirstName = '" & _ rst1.Fields("FirstName") & _ "' AND LastName = '" & _ rst1.Fields("LastName") & _ "' AND Address = '" & _ rst1.Fields("Address") & _ "' AND Len(" & Fnm & ") > 0;" Set rst2 = db.OpenRecordset(Qst2) If rst2.RecordCount > 0 Then Qst = Qst & " '" & rst2.Fields(0) & _ "' AS " & Fnm & "," Else Qst = Qst & " Null AS " & Fnm & "," End If End If Next ' Remove trailing comma Qst = Left(Qst, Len(Qst) - 1) Qst = Qst & " FROM " & DummyTable & ";" ' Append to destination table db.Execute Qst, dbFailOnError rst1.MoveNext Loop rst1.Close rst2.Close Set rst1 = Nothing Set rst2 = Nothing Set fd = Nothing Set tdf = Nothing Set db = Nothing End Sub '===================================== From Gustav at cactus.dk Thu Nov 15 12:13:03 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 15 Nov 2007 19:13:03 +0100 Subject: [AccessD] Programming Font Message-ID: Hi all I got so tired of the "normal" programming fonts that I did some research. The new font from MS for the purpose is Consolas, but it is too tight. Here's a great source on monospaced fonts for programming: http://cg.scs.carleton.ca/~luc/mono.html It also has a link for this site: http://c2.com/cgi/wiki?GoodProgrammerTypeface where I located this quite good font: http://www.ms-studio.com/FontSales/anonymous.html Also, the SaxMono and Verily and Share-Tech font here: http://www.dafont.com/theme.php?cat=503 I stopped at Dutchfonts - the page is huge and several links are broken. After all I ended up with Lucida Console which still is the best due to the readability of this test: 1. Number 1, lowercase L, lower/uppercase I: 1lIi 2. Zero, uppercase O, uppercase slashed O: 0O? 3. The four sets of brackets etc: <{[()]}> 4. Quote combo: ''""'"'" Other suggestions? /gustav From robert at webedb.com Thu Nov 15 13:15:02 2007 From: robert at webedb.com (Robert L. Stewart) Date: Thu, 15 Nov 2007 13:15:02 -0600 Subject: [AccessD] Off-Site Backup In-Reply-To: References: Message-ID: <200711151916.lAFJGhue025034@databaseadvisors.com> Rocky, You can get a 500 gb NAS unit for about $130 (Buy.com SimpleTech) Just get 2 of them and take one home at night, and bring the other one in the next morning. Rotating backup. Or, you can use something like I do for my photographs. I have an Addonics USB case that will hold 4 PATA drives. With what I have in it now, it is 1.32 tb. You could put 4 1tb drives in it and get 4 tb of storage. I have a full copy of all photos on each of the 4 drives. Plus, I have DVDs that cover everything also. I plan on getting a safe deposit box at the bank and putting the backup DVDs in there. Robert At 12:00 PM 11/15/2007, you wrote: >Date: Thu, 15 Nov 2007 05:10:17 -0800 >From: "Rocky Smolin at Beach Access Software" >Subject: [AccessD] Off-Site Backup >To: "'Access Developers discussion and problem solving'" > >Message-ID: <001f01c82788$de8012b0$0301a8c0 at HAL9005> >Content-Type: text/plain; charset="us-ascii" > > >Dear List: > >Maybe a bit OT but hopefully some answers that will be useful to all. > >I've just been solicited by WinZip Computing to try their off-site backup >product Carbonite. I occasionally FTP some stuff up to my web site for off >site backup. > >Are any of you doing off-site through a third party product? And if so, >which one? Recommendations? > >TIA > >Rocky From jwcolby at colbyconsulting.com Thu Nov 15 13:27:02 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Nov 2007 14:27:02 -0500 Subject: [AccessD] merging records In-Reply-To: <012001c827b2$fe29bfb0$5e57a27a@personalec1122> References: <012001c827b2$fe29bfb0$5e57a27a@personalec1122> Message-ID: <00ba01c827bd$8061bb90$6c7aa8c0@M90> A.D. I will get around to this, just not sure when. Running this through Access / VBA is probably a non starter since not only are there a lot of fields (>600), but also a lot of records (>50 million). Thus if this is ever to actually work it will need to be done in VB.Net. My experience so far is that VB.Net speeds things up by a factor of 10 or more. Even then I would suggest something like pulling the field names that will be actually used out and placing them (or maybe their numeric field position in the record object) in a collection. That way the code that iterates the fields becomes a simple "for each in colValidFld" construct instead of a constant comparison to see if they are in the string of non-valid fields. If you place the valid field names in the collection, then the For Each loop would "just have" the field names to build up the SQL statement. Additionally I think you can use the field names to index into the field collection to extract the values: rst.fields(strFldName).value Believe me, with 600 fields and 50 million records, it needs all the efficiency it can get. And BTW thanks for the code. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Thursday, November 15, 2007 1:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] merging records Gustav, In its present version, the suggested procedure does not open any recordset for target table. After all the values meant to be inserted in various fields are lined up, the pertinent record gets inserted in destination table in one go via append query. As pointed out by you, pure recordset approach can also be adopted in lieu of append query method. John states that the number of fields involved is very large. That would require corresponding large number of assignment calls from one recordset to the other. It might be interesting if an actual trial could be conducted over a large data set, using append query visa-vis recordset approach. Perhaps John could do it and let us know. Best wishes, A.D.Tejpal ------------ ----- Original Message ----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Thursday, November 15, 2007 13:43 Subject: Re: [AccessD] merging records Hi A.D. But - as you have the DAO recordset present - why not use AddNew/Update to replace the slow "Insert Into .." SQL execution? /gustav >>> adtp at airtelbroadband.in 14-11-2007 20:49 >>> John, Apparently, each column carries only one significant value (over a group of records) for each combination of person & address. Your objective is to display only one compacted row per combination of person & address, showing only the significant values for survey results in various columns across the record. As a programmatic solution, the following course of action is suggested: 1 - Let the source table be named T_Data. Its first four fields are ID (PK), FirstName, LastName and Address, followed by large number of other fields (like Smokes etc) meant to hold survey response. 2 - Create an empty table named T_Result. Its structure should be identical to that of T_Data. 3 - Create a dummy table T_Dummy having one field. Populate it with one record. Having taken the above steps, if you run sample subroutine P_PopulateResultTable as given below, table T_Result will get populated with the compacted survey results in desired format. You might like to try it out and confirm whether it is in line with what you have been aiming at. Note - It has been tested on Access 2003 desktop (Access 2000 file format). Reference required - DAO 3.6 Best wishes, A.D.Tejpal ------------ Sample subroutine - for merging survey results T_data is source table. Results are appended to T_Result. '===================================== Sub P_PopulateResultTable() ' This subroutine merges the survey ' results for each person in source table ' T_Data and appends the outcome into ' destination table T_Result. Structure of T_Result ' is identical to that of T_Data ' T_Dummy is a single field single record table. Dim Qst As String, Txt As String Dim Fnm As String, Qst2 As String Dim Fv As Variant Dim rst1 As DAO.Recordset Dim rst2 As DAO.Recordset Dim fd As Field Dim tdf As TableDef Dim db As DAO.Database Const SourceTable As String = "T_Data" Const DestnTable As String = "T_Result" Const DummyTable As String = "T_Dummy" ' Comma separated string of all field names ' that do not directly carry survey response Const ExemptFields As String = _ "ID,FirstName,LastName,Address" Set db = DBEngine(0)(0) ' Clear destination table db.Execute "DELETE * FROM " & _ DestnTable & ";", dbFailOnError Qst = "SELECT FirstName, LastName, " & _ "Address FROM " & SourceTable & _ " GROUP BY FirstName, " & _ "LastName, Address;" Set rst1 = db.OpenRecordset(Qst) Set tdf = db.TableDefs(SourceTable) Do Until rst1.EOF Qst = "INSERT INTO " & DestnTable & _ " SELECT '" & _ rst1.Fields("FirstName") & "' AS " & _ "FirstName, '" & rst1.Fields("LastName") & _ "' AS LastName, '" & rst1.Fields("Address") & _ "' AS Address," For Each fd In tdf.Fields Fnm = fd.Name If InStr(ExemptFields, Fnm) > 0 Then Else Qst2 = "SELECT " & Fnm & _ " FROM " & SourceTable & _ " WHERE FirstName = '" & _ rst1.Fields("FirstName") & _ "' AND LastName = '" & _ rst1.Fields("LastName") & _ "' AND Address = '" & _ rst1.Fields("Address") & _ "' AND Len(" & Fnm & ") > 0;" Set rst2 = db.OpenRecordset(Qst2) If rst2.RecordCount > 0 Then Qst = Qst & " '" & rst2.Fields(0) & _ "' AS " & Fnm & "," Else Qst = Qst & " Null AS " & Fnm & "," End If End If Next ' Remove trailing comma Qst = Left(Qst, Len(Qst) - 1) Qst = Qst & " FROM " & DummyTable & ";" ' Append to destination table db.Execute Qst, dbFailOnError rst1.MoveNext Loop rst1.Close rst2.Close Set rst1 = Nothing Set rst2 = Nothing Set fd = Nothing Set tdf = Nothing Set db = Nothing End Sub '===================================== -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From miscellany at mvps.org Thu Nov 15 13:34:58 2007 From: miscellany at mvps.org (Steve Schapel) Date: Fri, 16 Nov 2007 08:34:58 +1300 Subject: [AccessD] Off-Site Backup In-Reply-To: <001f01c82788$de8012b0$0301a8c0@HAL9005> References: <001f01c82788$de8012b0$0301a8c0@HAL9005> Message-ID: <473C9F62.40103@mvps.org> Rocky, I have been using Carbonite for over a year now, on my business computer, home computers and my server. Not only that, but I have referred a number of other people who are also using it bor business and personal machines. I highly recommend it. I have had absolutely no problems with it, it does the job exactly as advertised, and it completely removes the need to think or worry about data/document backup. And you can't beat the price. Of course, if you are talking about backup on the system level, disk imaging and whatnot, then that's in a different ballpark. Regards Steve Rocky Smolin at Beach Access Software wrote: > > Dear List: > > Maybe a bit OT but hopefully some answers that will be useful to all. > > I've just been solicited by WinZip Computing to try their off-site backup > product Carbonite. I occasionally FTP some stuff up to my web site for off > site backup. > > Are any of you doing off-site through a third party product? And if so, > which one? Recommendations? > > TIA > > Rocky > From kost36 at otenet.gr Thu Nov 15 13:49:44 2007 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Thu, 15 Nov 2007 21:49:44 +0200 Subject: [AccessD] MSAccess 2007 - Count days In-Reply-To: References: Message-ID: <6374B25FBE5348639828BDA880CB236B@kost36PC> Hi all, Does anybody know how it could be possible to count the work days between two days excluding weekends and local holidays To my coutry there are several dates as holidays and some of them are moving year by year many thank's to all /kostas From rockysmolin at bchacc.com Thu Nov 15 13:52:16 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 15 Nov 2007 11:52:16 -0800 Subject: [AccessD] Off-Site Backup In-Reply-To: References: <003801c82796$f9fb9010$0301a8c0@HAL9005> Message-ID: <001d01c827c1$06654290$0301a8c0@HAL9005> I'm backed up to an external HD. So I'm covered there. But I'd like an off-site. I had enough lead time in the fires to grab the EHD. But if I wasn't home it would not be good. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, November 15, 2007 8:19 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Off-Site Backup At work we use Iron Mountain (www.ironmountain.com). But why don't you just get a big flash drive and put it on your key chain. You'll always have your critical stuff with you then. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 15, 2007 8:51 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Well, my local ghost backup runs to 35GB - so that gets me into about $20 a month. I can FTP my stuff myself to me web site - plenty of space there - it's just the discipline. I send the critical stuff up there sporadically in an encrypted zip file. The upload time is a killer, though. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Thursday, November 15, 2007 6:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Pricings are here: https://mozy.com/pro/pricing Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 15, 2007 1:42 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Looks good from the web page. I couldn't figure out how much it costs, however, if you want more than 2GB. Guess you have to go with the Pro version. How much do you pay? T&R Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawrence Mrazek Sent: Thursday, November 15, 2007 5:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Hi Rocky: I'm using MozyPro (for clients and myself) ... www.mozy.com. I've like it, and have been impressed with the features. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 15, 2007 7:10 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Off-Site Backup Dear List: Maybe a bit OT but hopefully some answers that will be useful to all. I've just been solicited by WinZip Computing to try their off-site backup product Carbonite. I occasionally FTP some stuff up to my web site for off site backup. Are any of you doing off-site through a third party product? And if so, which one? Recommendations? 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: 11/14/2007 4:54 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: 11/14/2007 4:54 PM -- 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 BusinessSensitve 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: 11/14/2007 4:54 PM From rockysmolin at bchacc.com Thu Nov 15 13:53:06 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 15 Nov 2007 11:53:06 -0800 Subject: [AccessD] Off-Site Backup In-Reply-To: <200711151916.lAFJGhue025034@databaseadvisors.com> References: <200711151916.lAFJGhue025034@databaseadvisors.com> Message-ID: <001e01c827c1$24303690$0301a8c0@HAL9005> Only one fly in that ointment: I work at home. :o) Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Thursday, November 15, 2007 11:15 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Off-Site Backup Rocky, You can get a 500 gb NAS unit for about $130 (Buy.com SimpleTech) Just get 2 of them and take one home at night, and bring the other one in the next morning. Rotating backup. Or, you can use something like I do for my photographs. I have an Addonics USB case that will hold 4 PATA drives. With what I have in it now, it is 1.32 tb. You could put 4 1tb drives in it and get 4 tb of storage. I have a full copy of all photos on each of the 4 drives. Plus, I have DVDs that cover everything also. I plan on getting a safe deposit box at the bank and putting the backup DVDs in there. Robert At 12:00 PM 11/15/2007, you wrote: >Date: Thu, 15 Nov 2007 05:10:17 -0800 >From: "Rocky Smolin at Beach Access Software" >Subject: [AccessD] Off-Site Backup >To: "'Access Developers discussion and problem solving'" > >Message-ID: <001f01c82788$de8012b0$0301a8c0 at HAL9005> >Content-Type: text/plain; charset="us-ascii" > > >Dear List: > >Maybe a bit OT but hopefully some answers that will be useful to all. > >I've just been solicited by WinZip Computing to try their off-site >backup product Carbonite. I occasionally FTP some stuff up to my web >site for off site backup. > >Are any of you doing off-site through a third party product? And if >so, which one? Recommendations? > >TIA > >Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: 11/14/2007 4:54 PM From Jim.Hale at FleetPride.com Thu Nov 15 14:33:33 2007 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 15 Nov 2007 14:33:33 -0600 Subject: [AccessD] MSAccess 2007 - Count days In-Reply-To: <6374B25FBE5348639828BDA880CB236B@kost36PC> References: <6374B25FBE5348639828BDA880CB236B@kost36PC> Message-ID: I am sending you a database offline Regards, Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas Konstantinidis Sent: Thursday, November 15, 2007 1:50 PM To: Access Developers discussion and problem solving Subject: [AccessD] MSAccess 2007 - Count days Hi all, Does anybody know how it could be possible to count the work days between two days excluding weekends and local holidays To my coutry there are several dates as holidays and some of them are moving year by year many thank's to all /kostas -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From kost36 at otenet.gr Thu Nov 15 15:39:10 2007 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Thu, 15 Nov 2007 23:39:10 +0200 Subject: [AccessD] MSAccess 2007 - Count days In-Reply-To: References: <6374B25FBE5348639828BDA880CB236B@kost36PC> Message-ID: <1EC87BC14BCD4BD5B0701BE7FEF82E21@kost36PC> Jim, Excellent work but what I need to know is how many working days there are between two dates, so I will be able to count at all times the paid holydays of my fulltime employees thank's a lot /kostas ----- Original Message ----- From: "Hale, Jim" To: "Access Developers discussion and problem solving" Sent: Thursday, November 15, 2007 10:33 PM Subject: Re: [AccessD] MSAccess 2007 - Count days > > I am sending you a database offline > Regards, > Jim Hale > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas > Konstantinidis > Sent: Thursday, November 15, 2007 1:50 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] MSAccess 2007 - Count days > > Hi all, > > Does anybody know how it could be possible to count > the work days between two days excluding weekends and local holidays > To my coutry there are several dates as holidays and some of them > are moving year by year > > many thank's to all > > /kostas > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Thu Nov 15 15:49:28 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 15 Nov 2007 16:49:28 -0500 Subject: [AccessD] Off-Site Backup References: <003801c82796$f9fb9010$0301a8c0@HAL9005> <009901c827ae$db89c0d0$6c7aa8c0@M90> Message-ID: <002401c827d1$6638dd70$ef706c4c@jisshowsbs.local> ...I used to take a laptop with me to clients ...now I plug the stick into a usb port before bed each night and put it back on my neck after the morning shower ...any changes are updated while I sleep ...and no matter where I go during the day, all it takes is a usb port to go to work ...no more lugging a laptop around with me :) William ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Thursday, November 15, 2007 12:42 PM Subject: Re: [AccessD] Off-Site Backup > LOL. Make sure that you use a good encryption scheme. I use TrueCrypt: > > http://www.truecrypt.org/downloads.php > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka > Sent: Thursday, November 15, 2007 11:19 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Off-Site Backup > > At work we use Iron Mountain (www.ironmountain.com). > > But why don't you just get a big flash drive and put it on your key chain. > You'll always have your critical stuff with you then. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Thursday, November 15, 2007 8:51 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Off-Site Backup > > Well, my local ghost backup runs to 35GB - so that gets me into about $20 > a > month. I can FTP my stuff myself to me web site - plenty of space there > - > it's just the discipline. I send the critical stuff up there sporadically > in an encrypted zip file. The upload time is a killer, though. > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > max.wanadoo at gmail.com > Sent: Thursday, November 15, 2007 6:33 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Off-Site Backup > > Pricings are here: > > https://mozy.com/pro/pricing > > Max > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Thursday, November 15, 2007 1:42 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Off-Site Backup > > Looks good from the web page. I couldn't figure out how much it costs, > however, if you want more than 2GB. Guess you have to go with the Pro > version. How much do you pay? > > T&R > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawrence Mrazek > Sent: Thursday, November 15, 2007 5:23 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Off-Site Backup > > Hi Rocky: > > I'm using MozyPro (for clients and myself) ... www.mozy.com. I've like it, > and have been impressed with the features. > > Larry Mrazek > LCM Research, Inc. > www.lcm-res.com > lmrazek at lcm-res.com > ph. 314-432-5886 > mobile: 314-496-1645 > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Thursday, November 15, 2007 7:10 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Off-Site Backup > > > Dear List: > > Maybe a bit OT but hopefully some answers that will be useful to all. > > I've just been solicited by WinZip Computing to try their off-site backup > product Carbonite. I occasionally FTP some stuff up to my web site for > off > site backup. > > Are any of you doing off-site through a third party product? And if so, > which one? Recommendations? > > 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 > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: > 11/14/2007 > 4:54 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: > 11/14/2007 > 4:54 PM > > > -- > 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 BusinessSensitve > 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 Elizabeth.J.Doering at wellsfargo.com Thu Nov 15 16:05:12 2007 From: Elizabeth.J.Doering at wellsfargo.com (Elizabeth.J.Doering at wellsfargo.com) Date: Thu, 15 Nov 2007 16:05:12 -0600 Subject: [AccessD] MSAccess 2007 - Count days References: <6374B25FBE5348639828BDA880CB236B@kost36PC> <1EC87BC14BCD4BD5B0701BE7FEF82E21@kost36PC> Message-ID: Kostas, We keep a little table called Holiday, with the correct dates for all holidays, including those dreadful floating ones. Then before you count days, you query that table for how many are between your first date and your last date and you're all set. You could include weekend days in the table if you liked. HTH, Liz Liz Doering elizabeth.j.doering at wellsfargo.com 612.667.2447 This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas Konstantinidis Sent: Thursday, November 15, 2007 3:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MSAccess 2007 - Count days Jim, Excellent work but what I need to know is how many working days there are between two dates, so I will be able to count at all times the paid holydays of my fulltime employees thank's a lot /kostas ----- Original Message ----- From: "Hale, Jim" To: "Access Developers discussion and problem solving" Sent: Thursday, November 15, 2007 10:33 PM Subject: Re: [AccessD] MSAccess 2007 - Count days > > I am sending you a database offline > Regards, > Jim Hale > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas > Konstantinidis > Sent: Thursday, November 15, 2007 1:50 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] MSAccess 2007 - Count days > > Hi all, > > Does anybody know how it could be possible to count > the work days between two days excluding weekends and local holidays > To my coutry there are several dates as holidays and some of them > are moving year by year > > many thank's to all > > /kostas > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Nov 15 16:07:21 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 15 Nov 2007 14:07:21 -0800 Subject: [AccessD] MSAccess 2007 - Count days In-Reply-To: <6374B25FBE5348639828BDA880CB236B@kost36PC> References: <6374B25FBE5348639828BDA880CB236B@kost36PC> Message-ID: <003901c827d3$e5364160$0301a8c0@HAL9005> Kostas: I did this for my MRP system to calculate Order Date from Due Date minus lead time. But never found a slick way to doit other than looping backwards, starting with the due date, checking each date to see what day of the week it was and also checking the holiday calendar to see if it was a holiday - and decrementing a lead time counter each date that was determined to be a work day. Works fast enough but it's definitely brute force. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas Konstantinidis Sent: Thursday, November 15, 2007 11:50 AM To: Access Developers discussion and problem solving Subject: [AccessD] MSAccess 2007 - Count days Hi all, Does anybody know how it could be possible to count the work days between two days excluding weekends and local holidays To my coutry there are several dates as holidays and some of them are moving year by year many thank's to all /kostas -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: 11/14/2007 4:54 PM From gustav at cactus.dk Thu Nov 15 17:17:06 2007 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 16 Nov 2007 00:17:06 +0100 Subject: [AccessD] MSAccess 2007 - Count days Message-ID: Hi Kostas Here is the function we use: Public Function ISO_WorkdayDiff( _ ByVal datDateFrom As Date, _ ByVal datDateTo As Date) _ As Long ' Purpose: Calculate number of working days between dates datDateFrom and datDateTo. ' Assumes: 5 or 6 working days per week. Weekend is (Saturday and) Sunday. ' Limitation: Does not count for public holidays. ' May be freely used and distributed. ' 1999-04-23. Gustav Brock, Cactus Data ApS, Copenhagen ' 2000-10-03. Constants added. ' Option for 5 or 6 working days per week added. Const cbytWorkdaysOfWeek As Byte = 5 Dim bytSunday As Byte Dim intWeekdayDateFrom As Integer Dim intWeekdayDateTo As Integer Dim lngDays As Long Dim datDateTemp As Date ' Reverse dates if these have been input reversed. If datDateFrom > datDateTo Then datDateTemp = datDateFrom datDateFrom = datDateTo datDateTo = datDateTemp End If ' Find ISO weekday for Sunday. bytSunday = WeekDay(vbSunday, vbMonday) ' Find weekdays for the dates. intWeekdayDateFrom = WeekDay(datDateFrom, vbMonday) intWeekdayDateTo = WeekDay(datDateTo, vbMonday) ' Compensate weekdays' value for non-working days (weekends). intWeekdayDateFrom = intWeekdayDateFrom + (intWeekdayDateFrom = bytSunday) intWeekdayDateTo = intWeekdayDateTo + (intWeekdayDateTo = bytSunday) ' Calculate number of working days between the two weekdays, ignoring number of weeks. lngDays = intWeekdayDateTo - intWeekdayDateFrom - (cbytWorkdaysOfWeek * (intWeekdayDateTo < intWeekdayDateFrom)) ' Add number of working days between the weeks of the two dates. lngDays = lngDays + (cbytWorkdaysOfWeek * DateDiff("w", datDateFrom, datDateTo, vbMonday, vbFirstFourDays)) ISO_WorkdayDiff = lngDays End Function To exclude holidays, look up and count the holidays from a table of holidays not falling in weekends; substract this number from the count of working days. /gustav >>> kost36 at otenet.gr 15-11-07 20:49 >>> Hi all, Does anybody know how it could be possible to count the work days between two days excluding weekends and local holidays To my coutry there are several dates as holidays and some of them are moving year by year many thank's to all /kostas -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From R.Griffiths at bury.gov.uk Fri Nov 16 03:24:17 2007 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Fri, 16 Nov 2007 09:24:17 -0000 Subject: [AccessD] Off-Site Backup In-Reply-To: <473C9F62.40103@mvps.org> References: <001f01c82788$de8012b0$0301a8c0@HAL9005> <473C9F62.40103@mvps.org> Message-ID: <200711160908.lAG985121511@smarthost.yourcomms.net> Hi I use Carbonite. (?25 per year). This service has to be seen for what it is, simply off line backup. I have other local backup options as well. I see Carbonite as the last layer of support/backup. If my pc/hard disk and backup devices get stolen, irreparable etc the I can log on to any pc/laptop and get back the latest versions of my files. Richard -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: 15 November 2007 19:35 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Off-Site Backup Rocky, I have been using Carbonite for over a year now, on my business computer, home computers and my server. Not only that, but I have referred a number of other people who are also using it bor business and personal machines. I highly recommend it. I have had absolutely no problems with it, it does the job exactly as advertised, and it completely removes the need to think or worry about data/document backup. And you can't beat the price. Of course, if you are talking about backup on the system level, disk imaging and whatnot, then that's in a different ballpark. Regards Steve Rocky Smolin at Beach Access Software wrote: > > Dear List: > > Maybe a bit OT but hopefully some answers that will be useful to all. > > I've just been solicited by WinZip Computing to try their off-site backup > product Carbonite. I occasionally FTP some stuff up to my web site for off > site backup. > > Are any of you doing off-site through a third party product? And if so, > which one? Recommendations? > > TIA > > Rocky > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kost36 at otenet.gr Fri Nov 16 04:23:46 2007 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Fri, 16 Nov 2007 12:23:46 +0200 Subject: [AccessD] MSAccess 2007 - Count days In-Reply-To: References: Message-ID: Gustav, could you please show me the way to use that function I am not really familiar with function's code thank's a lot /kostas ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, November 16, 2007 1:17 AM Subject: Re: [AccessD] MSAccess 2007 - Count days > Hi Kostas > > Here is the function we use: > > Public Function ISO_WorkdayDiff( _ > ByVal datDateFrom As Date, _ > ByVal datDateTo As Date) _ > As Long > > ' Purpose: Calculate number of working days between dates datDateFrom and > datDateTo. > ' Assumes: 5 or 6 working days per week. Weekend is (Saturday and) Sunday. > ' Limitation: Does not count for public holidays. > ' May be freely used and distributed. > ' 1999-04-23. Gustav Brock, Cactus Data ApS, Copenhagen > ' 2000-10-03. Constants added. > ' Option for 5 or 6 working days per week added. > > Const cbytWorkdaysOfWeek As Byte = 5 > > Dim bytSunday As Byte > Dim intWeekdayDateFrom As Integer > Dim intWeekdayDateTo As Integer > Dim lngDays As Long > Dim datDateTemp As Date > > ' Reverse dates if these have been input reversed. > If datDateFrom > datDateTo Then > datDateTemp = datDateFrom > datDateFrom = datDateTo > datDateTo = datDateTemp > End If > > ' Find ISO weekday for Sunday. > bytSunday = WeekDay(vbSunday, vbMonday) > > ' Find weekdays for the dates. > intWeekdayDateFrom = WeekDay(datDateFrom, vbMonday) > intWeekdayDateTo = WeekDay(datDateTo, vbMonday) > > ' Compensate weekdays' value for non-working days (weekends). > intWeekdayDateFrom = intWeekdayDateFrom + (intWeekdayDateFrom = > bytSunday) > intWeekdayDateTo = intWeekdayDateTo + (intWeekdayDateTo = bytSunday) > > ' Calculate number of working days between the two weekdays, ignoring > number of weeks. > lngDays = intWeekdayDateTo - intWeekdayDateFrom - (cbytWorkdaysOfWeek * > (intWeekdayDateTo < intWeekdayDateFrom)) > ' Add number of working days between the weeks of the two dates. > lngDays = lngDays + (cbytWorkdaysOfWeek * DateDiff("w", datDateFrom, > datDateTo, vbMonday, vbFirstFourDays)) > > ISO_WorkdayDiff = lngDays > > End Function > > To exclude holidays, look up and count the holidays from a table of > holidays not falling in weekends; substract this number from the count of > working days. > > /gustav > >>>> kost36 at otenet.gr 15-11-07 20:49 >>> > Hi all, > > Does anybody know how it could be possible to count > the work days between two days excluding weekends and local holidays > To my coutry there are several dates as holidays and some of them > are moving year by year > > many thank's to all > > /kostas > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Fri Nov 16 07:30:19 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 16 Nov 2007 08:30:19 -0500 Subject: [AccessD] Grouping values in crosstab Message-ID: <002101c82854$d5b1c3a0$6c7aa8c0@M90> You might remember I asked if it is possible to group values in a field directly in a crosstab. For example a crosstab of length of boat by state where you group 7-15 the count of the values (lengths) in a crosstab column called 7 to 15. Well... I tried it directly in the crosstab. SELECT St as USState, [7,8,9,10,11,12,13,14] as '7 To 14' FROM( SELECT IR3863.dbo.vBaseBoatLength.St, IR3863.dbo.vBaseBoatLength.Boat_Length_4_through_50_feet FROM IR3863.dbo.vBaseBoatLength ) tmpBoatLength PIVOT ( COUNT(tmpBoatLength.Boat_Length_4_through_50_feet) FOR tmpBoatLength.Boat_Length_4_through_50_feet IN([7,8,9,10,11,12,13,14])) AS tmpBL ORDER BY USState vBaseBoatLength pulls the ST and Boat_Length_4_through_50_feet fields. The query did not complain and is currently running. I will report back when I get the counts, which I will then cross check against a simple count() where IN() query, but it certainly looks like it might be working. John W. Colby Colby Consulting www.ColbyConsulting.com From fuller.artful at gmail.com Fri Nov 16 08:24:26 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 16 Nov 2007 09:24:26 -0500 Subject: [AccessD] Hey, it's Friday Message-ID: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> Last night was my 60th birthday, and about 25 of my friends had a surprise party for me. I was completely clueless about its occurrence. I have a favourite Indian restaurant in Toronto called Shalimar, owned and operated by a good friend called Khalid, and ironically, I decided that that was where I wanted to have dinner last night. So I booked a reservation, little knowing that the entire restaurant had already been booked. Khalid managed to keep a straight voice when I called. My friend Norma and my sister Clare came with me, and there's a great bookstore/recordstore next door which I insisted upon visiting, little knowing that there was a party awaiting me next door. This is a small restaurant (always a good sign), and when I walked in, I saw that the whole place had been re-arranged, a dozen tables united into one enormous long table, and as I scanned the occupants I realized bit by bit that I knew everyone at the table, and finally it dawned on me. To break bread with good friends is a good thing. To find oneself as the centre of attention, so to speak, surrounded by good friends, is truly breathtaking -- and humbling. For some reason or other, I have a collection of quality people to call my friends. We had fabulous food, wonderful conversation and I even received some cool presents and cards. Forced at one point to stand and make a speech, all I could manage was to thank my friends for being my friends. I've known almost everyone in attendance for 30 or so years, some more. There were even emails from persons who could not attend, such as one of my oldest friends, Paul Grenkow, who teaches English in Beijing, who could not attend only because his wife was expected to give birth on the day. I'm a lucky man. I have wonderful friends. But I do caution you to think carefully about holding a surprise party for 60yo people. The heart palpitations are unbelievable. On the other hand, what better way to go. A. From adtp at airtelbroadband.in Fri Nov 16 08:24:42 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Fri, 16 Nov 2007 19:54:42 +0530 Subject: [AccessD] merging records References: <012001c827b2$fe29bfb0$5e57a27a@personalec1122> <00ba01c827bd$8061bb90$6c7aa8c0@M90> Message-ID: <004101c8285c$9b5880b0$1557a27a@personalec1122> You are welcome John! I have since optimized the subroutine still further. Taking into account the point raised by you, iteration through fields is now implemented based upon their number position. This eliminates the repeated check against InStr() function for excluding initial set of fields (not directly representing survey response). Instead, the loop starts at first survey field. In the sample case, position of this field, represented by constant PosOfFirstSurveyField is 5. You can substitute this figure by an appropriate value as required. Two versions of the optimized subroutine have been made out, one uses append query for final insertion, while the other depends upon recorset's AddNew method as suggested by Gustav. The first routine, named P_PopulateResultTableByAppQry() is placed below. The other one, named P_PopulateResultTableByRecordset() shall be sent by subsequent post, so as to avoid crossing the max size prescribed by the moderators. Best wishes, A.D.Tejpal ------------ Sample subroutine - for merging survey results T_data is source table. Compacted results (ignoring blanks) are appended to T_Result. '==================================== Sub P_PopulateResultTableByAppQry() ' This subroutine merges the survey ' results (ignoring blanks) for each person in source ' table T_Data and appends the compacted outcome ' into destination table T_Result. Structure of T_Result ' is identical to that of T_Data ' T_Dummy is a single field single record table. Dim Qst As String, Txt As String Dim Fnm As String, Qst2 As String Dim Cnt As Long Dim rst1 As DAO.Recordset Dim rst2 As DAO.Recordset Dim tdf As TableDef Dim db As DAO.Database Const SourceTable As String = "T_Data" Const DestnTable As String = "T_Result" Const DummyTable As String = "T_Dummy" Const PosOfFirstSurveyField As Long = 5 Set db = DBEngine(0)(0) ' Clear destination table db.Execute "DELETE FROM " & _ DestnTable & ";", dbFailOnError Qst = "SELECT FirstName, LastName, " & _ "Address FROM " & SourceTable & _ " GROUP BY FirstName, " & _ "LastName, Address;" Set rst1 = db.OpenRecordset(Qst) Set tdf = db.TableDefs(SourceTable) Do Until rst1.EOF ' Build first part of SQL for appending Person ' and address particulars Qst = "INSERT INTO " & DestnTable & _ " SELECT '" & _ rst1.Fields("FirstName") & "' AS " & _ "FirstName, '" & rst1.Fields("LastName") & _ "' AS LastName, '" & rst1.Fields("Address") & _ "' AS Address," ' Build balance portion of SQL for appending ' survey results (ignoring blanks), field-wise For Cnt = (PosOfFirstSurveyField - 1) _ To (tdf.Fields.Count - 1) Fnm = tdf.Fields(Cnt).Name Qst2 = "SELECT " & Fnm & _ " FROM " & SourceTable & _ " WHERE FirstName = '" & _ rst1.Fields("FirstName") & _ "' AND LastName = '" & _ rst1.Fields("LastName") & _ "' AND Address = '" & _ rst1.Fields("Address") & _ "' AND Len(" & Fnm & ") > 0;" Set rst2 = db.OpenRecordset(Qst2) ' This If/End If block is meant to prevent ' error (no current record) if rst2 is empty If rst2.RecordCount > 0 Then Qst = Qst & " '" & rst2.Fields(0) & _ "' AS " & Fnm & "," End If Next ' Remove trailing comma Qst = Left(Qst, Len(Qst) - 1) Qst = Qst & " FROM " & DummyTable & ";" ' Append to destination table db.Execute Qst, dbFailOnError rst1.MoveNext Loop rst1.Close rst2.Close Set rst1 = Nothing Set rst2 = Nothing Set tdf = Nothing Set db = Nothing End Sub '==================================== ----- Original Message ----- From: jwcolby To: 'Access Developers discussion and problem solving' Sent: Friday, November 16, 2007 00:57 Subject: Re: [AccessD] merging records A.D. I will get around to this, just not sure when. Running this through Access / VBA is probably a non starter since not only are there a lot of fields (>600), but also a lot of records (>50 million). Thus if this is ever to actually work it will need to be done in VB.Net. My experience so far is that VB.Net speeds things up by a factor of 10 or more. Even then I would suggest something like pulling the field names that will be actually used out and placing them (or maybe their numeric field position in the record object) in a collection. That way the code that iterates the fields becomes a simple "for each in colValidFld" construct instead of a constant comparison to see if they are in the string of non-valid fields. If you place the valid field names in the collection, then the For Each loop would "just have" the field names to build up the SQL statement. Additionally I think you can use the field names to index into the field collection to extract the values: rst.fields(strFldName).value Believe me, with 600 fields and 50 million records, it needs all the efficiency it can get. And BTW thanks for the code. John W. Colby Colby Consulting www.ColbyConsulting.com From max.wanadoo at gmail.com Fri Nov 16 08:26:10 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Fri, 16 Nov 2007 14:26:10 -0000 Subject: [AccessD] Off-Site Backup In-Reply-To: <009901c827ae$db89c0d0$6c7aa8c0@M90> Message-ID: <011c01c8285c$a31f5120$8119fea9@LTVM> John Colby: Many thanks for the pointer to TrueCrypt. This is fantastic! I now have all my BE Data in an encrypted file on the Server and the FE's in an encrypted file on user's PC's. Even if they steal all the computers they will never get access to the data without my 40 char key to mount the volumes. Brilliant tip, John. Many thanks Max ----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, November 15, 2007 5:42 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup LOL. Make sure that you use a good encryption scheme. I use TrueCrypt: http://www.truecrypt.org/downloads.php John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, November 15, 2007 11:19 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Off-Site Backup At work we use Iron Mountain (www.ironmountain.com). But why don't you just get a big flash drive and put it on your key chain. You'll always have your critical stuff with you then. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 15, 2007 8:51 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Well, my local ghost backup runs to 35GB - so that gets me into about $20 a month. I can FTP my stuff myself to me web site - plenty of space there - it's just the discipline. I send the critical stuff up there sporadically in an encrypted zip file. The upload time is a killer, though. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Thursday, November 15, 2007 6:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Pricings are here: https://mozy.com/pro/pricing Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 15, 2007 1:42 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Looks good from the web page. I couldn't figure out how much it costs, however, if you want more than 2GB. Guess you have to go with the Pro version. How much do you pay? T&R Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawrence Mrazek Sent: Thursday, November 15, 2007 5:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Hi Rocky: I'm using MozyPro (for clients and myself) ... www.mozy.com. I've like it, and have been impressed with the features. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 15, 2007 7:10 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Off-Site Backup Dear List: Maybe a bit OT but hopefully some answers that will be useful to all. I've just been solicited by WinZip Computing to try their off-site backup product Carbonite. I occasionally FTP some stuff up to my web site for off site backup. Are any of you doing off-site through a third party product? And if so, which one? Recommendations? 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: 11/14/2007 4:54 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: 11/14/2007 4:54 PM -- 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 BusinessSensitve 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 adtp at airtelbroadband.in Fri Nov 16 08:43:26 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Fri, 16 Nov 2007 20:13:26 +0530 Subject: [AccessD] merging records References: <012001c827b2$fe29bfb0$5e57a27a@personalec1122> <00ba01c827bd$8061bb90$6c7aa8c0@M90> Message-ID: <006401c8285f$4a72a290$1557a27a@personalec1122> Sample subroutine named P_PopulateResultTableByAppQry() was sent in my previous post. Alternative routine, named P_PopulateResultTableByRecordset() is placed below. This one carries out the append action using AddNew method of recordset, instead of append query. An interesting feature of this routine is that you don't even have to bother about exempt fields or starting position of first survey field. It simply takes care of all fields. Best wishes, A.D.Tejpal ------------ Sample subroutine - for merging survey results T_data is source table. Compacted results (ignoring blanks) are appended to T_Result. '==================================== Sub P_PopulateResultTableByRecordset() ' This subroutine merges the survey ' results (ignoring blanks) for each person in source ' table T_Data and appends the compacted outcome ' into destination table T_Result. Structure of T_Result ' is identical to that of T_Data Dim Qst As String, Txt As String Dim Fnm As String, Qst2 As String Dim Cnt As Long Dim rst1 As DAO.Recordset Dim rst2 As DAO.Recordset Dim rst3 As DAO.Recordset Dim tdf As TableDef Dim db As DAO.Database Const SourceTable As String = "T_Data" Const DestnTable As String = "T_Result" Set db = DBEngine(0)(0) ' Clear destination table db.Execute "DELETE FROM " & _ DestnTable & ";", dbFailOnError Qst = "SELECT FirstName, LastName, " & _ "Address FROM " & SourceTable & _ " GROUP BY FirstName, " & _ "LastName, Address;" Set rst1 = db.OpenRecordset(Qst) Set tdf = db.TableDefs(SourceTable) Set rst3 = db.OpenRecordset(DestnTable) Do Until rst1.EOF ' Append survey results (ignoring blanks), field-wise rst3.AddNew For Cnt = 0 To tdf.Fields.Count - 1 Fnm = tdf.Fields(Cnt).Name Qst2 = "SELECT " & Fnm & _ " FROM " & SourceTable & _ " WHERE FirstName = '" & _ rst1.Fields("FirstName") & _ "' AND LastName = '" & _ rst1.Fields("LastName") & _ "' AND Address = '" & _ rst1.Fields("Address") & _ "' AND Len(" & Fnm & ") > 0;" Set rst2 = db.OpenRecordset(Qst2) ' This If/End If block is meant to prevent ' error (no current record) if rst2 is empty If rst2.RecordCount > 0 Then rst3.Fields(Fnm) = rst2.Fields(0) End If Next rst3.Update rst1.MoveNext Loop rst1.Close rst2.Close rst3.Close Set rst1 = Nothing Set rst2 = Nothing Set rst3 = Nothing Set tdf = Nothing Set db = Nothing End Sub '==================================== ----- Original Message ----- From: jwcolby To: 'Access Developers discussion and problem solving' Sent: Friday, November 16, 2007 00:57 Subject: Re: [AccessD] merging records A.D. I will get around to this, just not sure when. Running this through Access / VBA is probably a non starter since not only are there a lot of fields (>600), but also a lot of records (>50 million). Thus if this is ever to actually work it will need to be done in VB.Net. My experience so far is that VB.Net speeds things up by a factor of 10 or more. Even then I would suggest something like pulling the field names that will be actually used out and placing them (or maybe their numeric field position in the record object) in a collection. That way the code that iterates the fields becomes a simple "for each in colValidFld" construct instead of a constant comparison to see if they are in the string of non-valid fields. If you place the valid field names in the collection, then the For Each loop would "just have" the field names to build up the SQL statement. Additionally I think you can use the field names to index into the field collection to extract the values: rst.fields(strFldName).value Believe me, with 600 fields and 50 million records, it needs all the efficiency it can get. And BTW thanks for the code. John W. Colby Colby Consulting www.ColbyConsulting.com From mmattys at rochester.rr.com Fri Nov 16 08:47:54 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 16 Nov 2007 09:47:54 -0500 Subject: [AccessD] Hey, it's Friday References: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> Message-ID: <005201c8285f$af0a4870$0202a8c0@Laptop> Thanks, Arthur. Your eloquence is in writing if not in speech, and well received here. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Arthur Fuller" To: "Access Developers discussion and problem solving" Sent: Friday, November 16, 2007 9:24 AM Subject: [AccessD] Hey, it's Friday > Last night was my 60th birthday, and about 25 of my friends had a surprise > ... From rockysmolin at bchacc.com Fri Nov 16 08:59:59 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 16 Nov 2007 06:59:59 -0800 Subject: [AccessD] Hey, it's Friday In-Reply-To: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> References: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> Message-ID: <000101c82861$5c933870$0301a8c0@HAL9005> A: Well, it doesn't get any better, does it? I'm a year behind you. You've really raised the bar on 60th bd celebrations. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, November 16, 2007 6:24 AM To: Access Developers discussion and problem solving Subject: [AccessD] Hey, it's Friday Last night was my 60th birthday, and about 25 of my friends had a surprise party for me. I was completely clueless about its occurrence. I have a favourite Indian restaurant in Toronto called Shalimar, owned and operated by a good friend called Khalid, and ironically, I decided that that was where I wanted to have dinner last night. So I booked a reservation, little knowing that the entire restaurant had already been booked. Khalid managed to keep a straight voice when I called. My friend Norma and my sister Clare came with me, and there's a great bookstore/recordstore next door which I insisted upon visiting, little knowing that there was a party awaiting me next door. This is a small restaurant (always a good sign), and when I walked in, I saw that the whole place had been re-arranged, a dozen tables united into one enormous long table, and as I scanned the occupants I realized bit by bit that I knew everyone at the table, and finally it dawned on me. To break bread with good friends is a good thing. To find oneself as the centre of attention, so to speak, surrounded by good friends, is truly breathtaking -- and humbling. For some reason or other, I have a collection of quality people to call my friends. We had fabulous food, wonderful conversation and I even received some cool presents and cards. Forced at one point to stand and make a speech, all I could manage was to thank my friends for being my friends. I've known almost everyone in attendance for 30 or so years, some more. There were even emails from persons who could not attend, such as one of my oldest friends, Paul Grenkow, who teaches English in Beijing, who could not attend only because his wife was expected to give birth on the day. I'm a lucky man. I have wonderful friends. But I do caution you to think carefully about holding a surprise party for 60yo people. The heart palpitations are unbelievable. On the other hand, what better way to go. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.33/1133 - Release Date: 11/15/2007 8:57 PM From rockysmolin at bchacc.com Fri Nov 16 09:00:50 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 16 Nov 2007 07:00:50 -0800 Subject: [AccessD] Hey, it's Friday In-Reply-To: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> References: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> Message-ID: <000001c82861$7f386440$0301a8c0@HAL9005> A: Well, it doesn't get any better, does it? I'm a year behind you. You've really raised the bar on 60th bd celebrations. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, November 16, 2007 6:24 AM To: Access Developers discussion and problem solving Subject: [AccessD] Hey, it's Friday Last night was my 60th birthday, and about 25 of my friends had a surprise party for me. I was completely clueless about its occurrence. I have a favourite Indian restaurant in Toronto called Shalimar, owned and operated by a good friend called Khalid, and ironically, I decided that that was where I wanted to have dinner last night. So I booked a reservation, little knowing that the entire restaurant had already been booked. Khalid managed to keep a straight voice when I called. My friend Norma and my sister Clare came with me, and there's a great bookstore/recordstore next door which I insisted upon visiting, little knowing that there was a party awaiting me next door. This is a small restaurant (always a good sign), and when I walked in, I saw that the whole place had been re-arranged, a dozen tables united into one enormous long table, and as I scanned the occupants I realized bit by bit that I knew everyone at the table, and finally it dawned on me. To break bread with good friends is a good thing. To find oneself as the centre of attention, so to speak, surrounded by good friends, is truly breathtaking -- and humbling. For some reason or other, I have a collection of quality people to call my friends. We had fabulous food, wonderful conversation and I even received some cool presents and cards. Forced at one point to stand and make a speech, all I could manage was to thank my friends for being my friends. I've known almost everyone in attendance for 30 or so years, some more. There were even emails from persons who could not attend, such as one of my oldest friends, Paul Grenkow, who teaches English in Beijing, who could not attend only because his wife was expected to give birth on the day. I'm a lucky man. I have wonderful friends. But I do caution you to think carefully about holding a surprise party for 60yo people. The heart palpitations are unbelievable. On the other hand, what better way to go. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.33/1133 - Release Date: 11/15/2007 8:57 PM From markamatte at hotmail.com Fri Nov 16 09:01:33 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 16 Nov 2007 15:01:33 +0000 Subject: [AccessD] Hey, it's Friday In-Reply-To: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> References: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> Message-ID: Happy Belated Birthday!!! > Date: Fri, 16 Nov 2007 09:24:26 -0500 > From: fuller.artful at gmail.com > To: accessd at databaseadvisors.com > Subject: [AccessD] Hey, it's Friday > > Last night was my 60th birthday, and about 25 of my friends had a surprise > party for me. I was completely clueless about its occurrence. I have a > favourite Indian restaurant in Toronto called Shalimar, owned and operated > by a good friend called Khalid, and ironically, I decided that that was > where I wanted to have dinner last night. So I booked a reservation, little > knowing that the entire restaurant had already been booked. Khalid managed > to keep a straight voice when I called. My friend Norma and my sister Clare > came with me, and there's a great bookstore/recordstore next door which I > insisted upon visiting, little knowing that there was a party awaiting me > next door. This is a small restaurant (always a good sign), and when I > walked in, I saw that the whole place had been re-arranged, a dozen tables > united into one enormous long table, and as I scanned the occupants I > realized bit by bit that I knew everyone at the table, and finally it dawned > on me. > > To break bread with good friends is a good thing. To find oneself as the > centre of attention, so to speak, surrounded by good friends, is truly > breathtaking -- and humbling. For some reason or other, I have a collection > of quality people to call my friends. We had fabulous food, wonderful > conversation and I even received some cool presents and cards. Forced at one > point to stand and make a speech, all I could manage was to thank my friends > for being my friends. I've known almost everyone in attendance for 30 or so > years, some more. There were even emails from persons who could not attend, > such as one of my oldest friends, Paul Grenkow, who teaches English in > Beijing, who could not attend only because his wife was expected to give > birth on the day. > > I'm a lucky man. I have wonderful friends. But I do caution you to think > carefully about holding a surprise party for 60yo people. The heart > palpitations are unbelievable. On the other hand, what better way to go. > > A. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Peek-a-boo FREE Tricks & Treats for You! http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us From garykjos at gmail.com Fri Nov 16 09:02:38 2007 From: garykjos at gmail.com (Gary Kjos) Date: Fri, 16 Nov 2007 09:02:38 -0600 Subject: [AccessD] Hey, it's Friday In-Reply-To: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> References: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> Message-ID: Belated happy birthday Arthur. I was having a hard time keeping the party a secret Glad you survived the surprize. GK On 11/16/07, Arthur Fuller wrote: > Last night was my 60th birthday -- Gary Kjos garykjos at gmail.com From RRANTHON at sentara.com Fri Nov 16 09:37:16 2007 From: RRANTHON at sentara.com (RANDALL R ANTHONY) Date: Fri, 16 Nov 2007 10:37:16 -0500 Subject: [AccessD] OT: SQL Load/Stress Test Utilities Message-ID: <200711161537.lAGFbWbl032449@databaseadvisors.com> Anyone have any experience with Microsoft's SQLIOSim or any third party tools for stress testing SQL 2000 or 2005. Any recommendations? Thanks! From jwcolby at colbyconsulting.com Fri Nov 16 09:42:01 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 16 Nov 2007 10:42:01 -0500 Subject: [AccessD] Hey, it's Friday In-Reply-To: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> References: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> Message-ID: <003401c82867$3b884cf0$6c7aa8c0@M90> Arthur, In fact you took me to that restaurant (and the bookstore as well) when I visited you a couple of years ago so I can attend your birthday party through my memories of my visit. Happy 60th and may you have another 60 in good health. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, November 16, 2007 9:24 AM To: Access Developers discussion and problem solving Subject: [AccessD] Hey, it's Friday Last night was my 60th birthday, and about 25 of my friends had a surprise party for me. I was completely clueless about its occurrence. I have a favourite Indian restaurant in Toronto called Shalimar, owned and operated by a good friend called Khalid, and ironically, I decided that that was where I wanted to have dinner last night. So I booked a reservation, little knowing that the entire restaurant had already been booked. Khalid managed to keep a straight voice when I called. My friend Norma and my sister Clare came with me, and there's a great bookstore/recordstore next door which I insisted upon visiting, little knowing that there was a party awaiting me next door. This is a small restaurant (always a good sign), and when I walked in, I saw that the whole place had been re-arranged, a dozen tables united into one enormous long table, and as I scanned the occupants I realized bit by bit that I knew everyone at the table, and finally it dawned on me. To break bread with good friends is a good thing. To find oneself as the centre of attention, so to speak, surrounded by good friends, is truly breathtaking -- and humbling. For some reason or other, I have a collection of quality people to call my friends. We had fabulous food, wonderful conversation and I even received some cool presents and cards. Forced at one point to stand and make a speech, all I could manage was to thank my friends for being my friends. I've known almost everyone in attendance for 30 or so years, some more. There were even emails from persons who could not attend, such as one of my oldest friends, Paul Grenkow, who teaches English in Beijing, who could not attend only because his wife was expected to give birth on the day. I'm a lucky man. I have wonderful friends. But I do caution you to think carefully about holding a surprise party for 60yo people. The heart palpitations are unbelievable. On the other hand, what better way to go. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Nov 16 09:45:20 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 16 Nov 2007 10:45:20 -0500 Subject: [AccessD] merging records In-Reply-To: <004101c8285c$9b5880b0$1557a27a@personalec1122> References: <012001c827b2$fe29bfb0$5e57a27a@personalec1122><00ba01c827bd$8061bb90$6c7aa8c0@M90> <004101c8285c$9b5880b0$1557a27a@personalec1122> Message-ID: <003501c82867$b1e4e610$6c7aa8c0@M90> By position is brilliant where it will work, which in this specific file (and in most I suspect) it definitely does. Thanks for the idea. I will try to build an Access database with links to the SQL Server BE and test the code to see how fast it is. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Friday, November 16, 2007 9:25 AM To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Subject: Re: [AccessD] merging records You are welcome John! I have since optimized the subroutine still further. Taking into account the point raised by you, iteration through fields is now implemented based upon their number position. This eliminates the repeated check against InStr() function for excluding initial set of fields (not directly representing survey response). Instead, the loop starts at first survey field. In the sample case, position of this field, represented by constant PosOfFirstSurveyField is 5. You can substitute this figure by an appropriate value as required. Two versions of the optimized subroutine have been made out, one uses append query for final insertion, while the other depends upon recorset's AddNew method as suggested by Gustav. The first routine, named P_PopulateResultTableByAppQry() is placed below. The other one, named P_PopulateResultTableByRecordset() shall be sent by subsequent post, so as to avoid crossing the max size prescribed by the moderators. Best wishes, A.D.Tejpal ------------ Sample subroutine - for merging survey results T_data is source table. Compacted results (ignoring blanks) are appended to T_Result. '==================================== Sub P_PopulateResultTableByAppQry() ' This subroutine merges the survey ' results (ignoring blanks) for each person in source ' table T_Data and appends the compacted outcome ' into destination table T_Result. Structure of T_Result ' is identical to that of T_Data ' T_Dummy is a single field single record table. Dim Qst As String, Txt As String Dim Fnm As String, Qst2 As String Dim Cnt As Long Dim rst1 As DAO.Recordset Dim rst2 As DAO.Recordset Dim tdf As TableDef Dim db As DAO.Database Const SourceTable As String = "T_Data" Const DestnTable As String = "T_Result" Const DummyTable As String = "T_Dummy" Const PosOfFirstSurveyField As Long = 5 Set db = DBEngine(0)(0) ' Clear destination table db.Execute "DELETE FROM " & _ DestnTable & ";", dbFailOnError Qst = "SELECT FirstName, LastName, " & _ "Address FROM " & SourceTable & _ " GROUP BY FirstName, " & _ "LastName, Address;" Set rst1 = db.OpenRecordset(Qst) Set tdf = db.TableDefs(SourceTable) Do Until rst1.EOF ' Build first part of SQL for appending Person ' and address particulars Qst = "INSERT INTO " & DestnTable & _ " SELECT '" & _ rst1.Fields("FirstName") & "' AS " & _ "FirstName, '" & rst1.Fields("LastName") & _ "' AS LastName, '" & rst1.Fields("Address") & _ "' AS Address," ' Build balance portion of SQL for appending ' survey results (ignoring blanks), field-wise For Cnt = (PosOfFirstSurveyField - 1) _ To (tdf.Fields.Count - 1) Fnm = tdf.Fields(Cnt).Name Qst2 = "SELECT " & Fnm & _ " FROM " & SourceTable & _ " WHERE FirstName = '" & _ rst1.Fields("FirstName") & _ "' AND LastName = '" & _ rst1.Fields("LastName") & _ "' AND Address = '" & _ rst1.Fields("Address") & _ "' AND Len(" & Fnm & ") > 0;" Set rst2 = db.OpenRecordset(Qst2) ' This If/End If block is meant to prevent ' error (no current record) if rst2 is empty If rst2.RecordCount > 0 Then Qst = Qst & " '" & rst2.Fields(0) & _ "' AS " & Fnm & "," End If Next ' Remove trailing comma Qst = Left(Qst, Len(Qst) - 1) Qst = Qst & " FROM " & DummyTable & ";" ' Append to destination table db.Execute Qst, dbFailOnError rst1.MoveNext Loop rst1.Close rst2.Close Set rst1 = Nothing Set rst2 = Nothing Set tdf = Nothing Set db = Nothing End Sub '==================================== ----- Original Message ----- From: jwcolby To: 'Access Developers discussion and problem solving' Sent: Friday, November 16, 2007 00:57 Subject: Re: [AccessD] merging records A.D. I will get around to this, just not sure when. Running this through Access / VBA is probably a non starter since not only are there a lot of fields (>600), but also a lot of records (>50 million). Thus if this is ever to actually work it will need to be done in VB.Net. My experience so far is that VB.Net speeds things up by a factor of 10 or more. Even then I would suggest something like pulling the field names that will be actually used out and placing them (or maybe their numeric field position in the record object) in a collection. That way the code that iterates the fields becomes a simple "for each in colValidFld" construct instead of a constant comparison to see if they are in the string of non-valid fields. If you place the valid field names in the collection, then the For Each loop would "just have" the field names to build up the SQL statement. Additionally I think you can use the field names to index into the field collection to extract the values: rst.fields(strFldName).value Believe me, with 600 fields and 50 million records, it needs all the efficiency it can get. And BTW thanks for the code. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Nov 16 09:52:04 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 16 Nov 2007 07:52:04 -0800 Subject: [AccessD] Hey, it's Friday In-Reply-To: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> References: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> Message-ID: Happy Birthday, Arthur. You're only a few years behind me! My friends mostly know that I don't like surprises, good or bad, so I think my heart (and pacemaker) are safe. LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, November 16, 2007 6:24 AM To: Access Developers discussion and problem solving Subject: [AccessD] Hey, it's Friday Last night was my 60th birthday, and about 25 of my friends had a surprise party for me. I was completely clueless about its occurrence. I have a favourite Indian restaurant in Toronto called Shalimar, owned and operated by a good friend called Khalid, and ironically, I decided that that was where I wanted to have dinner last night. So I booked a reservation, little knowing that the entire restaurant had already been booked. Khalid managed to keep a straight voice when I called. My friend Norma and my sister Clare came with me, and there's a great bookstore/recordstore next door which I insisted upon visiting, little knowing that there was a party awaiting me next door. This is a small restaurant (always a good sign), and when I walked in, I saw that the whole place had been re-arranged, a dozen tables united into one enormous long table, and as I scanned the occupants I realized bit by bit that I knew everyone at the table, and finally it dawned on me. To break bread with good friends is a good thing. To find oneself as the centre of attention, so to speak, surrounded by good friends, is truly breathtaking -- and humbling. For some reason or other, I have a collection of quality people to call my friends. We had fabulous food, wonderful conversation and I even received some cool presents and cards. Forced at one point to stand and make a speech, all I could manage was to thank my friends for being my friends. I've known almost everyone in attendance for 30 or so years, some more. There were even emails from persons who could not attend, such as one of my oldest friends, Paul Grenkow, who teaches English in Beijing, who could not attend only because his wife was expected to give birth on the day. I'm a lucky man. I have wonderful friends. But I do caution you to think carefully about holding a surprise party for 60yo people. The heart palpitations are unbelievable. On the other hand, what better way to go. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Fri Nov 16 10:10:02 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 16 Nov 2007 11:10:02 -0500 Subject: [AccessD] Hey, it's Friday In-Reply-To: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> References: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> Message-ID: <004101c8286b$258fec60$8abea8c0@XPS> Sounds like it was a great present! Happy birthday Arthur! Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, November 16, 2007 9:24 AM To: Access Developers discussion and problem solving Subject: [AccessD] Hey, it's Friday Last night was my 60th birthday, and about 25 of my friends had a surprise party for me. I was completely clueless about its occurrence. I have a favourite Indian restaurant in Toronto called Shalimar, owned and operated by a good friend called Khalid, and ironically, I decided that that was where I wanted to have dinner last night. So I booked a reservation, little knowing that the entire restaurant had already been booked. Khalid managed to keep a straight voice when I called. My friend Norma and my sister Clare came with me, and there's a great bookstore/recordstore next door which I insisted upon visiting, little knowing that there was a party awaiting me next door. This is a small restaurant (always a good sign), and when I walked in, I saw that the whole place had been re-arranged, a dozen tables united into one enormous long table, and as I scanned the occupants I realized bit by bit that I knew everyone at the table, and finally it dawned on me. To break bread with good friends is a good thing. To find oneself as the centre of attention, so to speak, surrounded by good friends, is truly breathtaking -- and humbling. For some reason or other, I have a collection of quality people to call my friends. We had fabulous food, wonderful conversation and I even received some cool presents and cards. Forced at one point to stand and make a speech, all I could manage was to thank my friends for being my friends. I've known almost everyone in attendance for 30 or so years, some more. There were even emails from persons who could not attend, such as one of my oldest friends, Paul Grenkow, who teaches English in Beijing, who could not attend only because his wife was expected to give birth on the day. I'm a lucky man. I have wonderful friends. But I do caution you to think carefully about holding a surprise party for 60yo people. The heart palpitations are unbelievable. On the other hand, what better way to go. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From EdTesiny at oasas.state.ny.us Fri Nov 16 10:43:00 2007 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Fri, 16 Nov 2007 11:43:00 -0500 Subject: [AccessD] Hey, it's Friday In-Reply-To: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> References: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> Message-ID: Happy Birthday Arthur! Years ago we had good friends who lived in Toronto and we would always eat in Indian restaurants, good authentic cuisine. Ed Tesiny EdTesiny at oasas.state.ny.us > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Arthur Fuller > Sent: Friday, November 16, 2007 9:24 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Hey, it's Friday > > Last night was my 60th birthday, and about 25 of my friends > had a surprise > party for me. I was completely clueless about its occurrence. I have a > favourite Indian restaurant in Toronto called Shalimar, owned > and operated > by a good friend called Khalid, and ironically, I decided > that that was > where I wanted to have dinner last night. So I booked a > reservation, little > knowing that the entire restaurant had already been booked. > Khalid managed > to keep a straight voice when I called. My friend Norma and > my sister Clare > came with me, and there's a great bookstore/recordstore next > door which I > insisted upon visiting, little knowing that there was a party > awaiting me > next door. This is a small restaurant (always a good sign), and when I > walked in, I saw that the whole place had been re-arranged, a > dozen tables > united into one enormous long table, and as I scanned the occupants I > realized bit by bit that I knew everyone at the table, and > finally it dawned > on me. > > To break bread with good friends is a good thing. To find > oneself as the > centre of attention, so to speak, surrounded by good friends, is truly > breathtaking -- and humbling. For some reason or other, I > have a collection > of quality people to call my friends. We had fabulous food, wonderful > conversation and I even received some cool presents and > cards. Forced at one > point to stand and make a speech, all I could manage was to > thank my friends > for being my friends. I've known almost everyone in > attendance for 30 or so > years, some more. There were even emails from persons who > could not attend, > such as one of my oldest friends, Paul Grenkow, who teaches English in > Beijing, who could not attend only because his wife was > expected to give > birth on the day. > > I'm a lucky man. I have wonderful friends. But I do caution > you to think > carefully about holding a surprise party for 60yo people. The heart > palpitations are unbelievable. On the other hand, what better > way to go. > > A. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Fri Nov 16 12:21:56 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 16 Nov 2007 13:21:56 -0500 Subject: [AccessD] Off-Site Backup References: <011c01c8285c$a31f5120$8119fea9@LTVM> Message-ID: <002601c8287d$92678520$ef706c4c@jisshowsbs.local> ...whoa! ...now there is something I'd never considered ...I have a client that is very concerned about employees stealing his data ...I'll have to take another look at this. William ----- Original Message ----- From: To: "'Access Developers discussion and problem solving'" Sent: Friday, November 16, 2007 9:26 AM Subject: Re: [AccessD] Off-Site Backup > John Colby: > > Many thanks for the pointer to TrueCrypt. This is fantastic! I now have > all > my BE Data in an encrypted file on the Server and the FE's in an encrypted > file on user's PC's. Even if they steal all the computers they will never > get access to the data without my 40 char key to mount the volumes. > > Brilliant tip, John. Many thanks > > Max > > > > ----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, November 15, 2007 5:42 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Off-Site Backup > > LOL. Make sure that you use a good encryption scheme. I use TrueCrypt: > > http://www.truecrypt.org/downloads.php > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka > Sent: Thursday, November 15, 2007 11:19 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Off-Site Backup > > At work we use Iron Mountain (www.ironmountain.com). > > But why don't you just get a big flash drive and put it on your key chain. > You'll always have your critical stuff with you then. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Thursday, November 15, 2007 8:51 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Off-Site Backup > > Well, my local ghost backup runs to 35GB - so that gets me into about $20 > a > month. I can FTP my stuff myself to me web site - plenty of space there > - > it's just the discipline. I send the critical stuff up there sporadically > in an encrypted zip file. The upload time is a killer, though. > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > max.wanadoo at gmail.com > Sent: Thursday, November 15, 2007 6:33 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Off-Site Backup > > Pricings are here: > > https://mozy.com/pro/pricing > > Max > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Thursday, November 15, 2007 1:42 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Off-Site Backup > > Looks good from the web page. I couldn't figure out how much it costs, > however, if you want more than 2GB. Guess you have to go with the Pro > version. How much do you pay? > > T&R > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawrence Mrazek > Sent: Thursday, November 15, 2007 5:23 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Off-Site Backup > > Hi Rocky: > > I'm using MozyPro (for clients and myself) ... www.mozy.com. I've like it, > and have been impressed with the features. > > Larry Mrazek > LCM Research, Inc. > www.lcm-res.com > lmrazek at lcm-res.com > ph. 314-432-5886 > mobile: 314-496-1645 > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Thursday, November 15, 2007 7:10 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Off-Site Backup > > > Dear List: > > Maybe a bit OT but hopefully some answers that will be useful to all. > > I've just been solicited by WinZip Computing to try their off-site backup > product Carbonite. I occasionally FTP some stuff up to my web site for > off > site backup. > > Are any of you doing off-site through a third party product? And if so, > which one? Recommendations? > > 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 > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: > 11/14/2007 > 4:54 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: > 11/14/2007 > 4:54 PM > > > -- > 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 BusinessSensitve > 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 Jim.Hale at FleetPride.com Fri Nov 16 12:52:44 2007 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 16 Nov 2007 12:52:44 -0600 Subject: [AccessD] Off-Site Backup In-Reply-To: <200711160908.lAG985121511@smarthost.yourcomms.net> References: <001f01c82788$de8012b0$0301a8c0@HAL9005> <473C9F62.40103@mvps.org> <200711160908.lAG985121511@smarthost.yourcomms.net> Message-ID: How big a process does it leave in memory? I had to ditch one service because they were a huge memory hog. Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: Friday, November 16, 2007 3:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Off-Site Backup Hi I use Carbonite. (?25 per year). This service has to be seen for what it is, simply off line backup. I have other local backup options as well. I see Carbonite as the last layer of support/backup. If my pc/hard disk and backup devices get stolen, irreparable etc the I can log on to any pc/laptop and get back the latest versions of my files. Richard *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From max.wanadoo at gmail.com Fri Nov 16 13:10:32 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Fri, 16 Nov 2007 19:10:32 -0000 Subject: [AccessD] Off-Site Backup In-Reply-To: <002601c8287d$92678520$ef706c4c@jisshowsbs.local> Message-ID: <002601c82884$6003b930$8119fea9@LTVM> Hi William: Here is such an article which bears out your client's concerns: SECURITY? STICK IT! A recent survey by Tower Software has revealed that 49% of employees store work-related files in multiple locations - posing serious security threats and exposure as well as compliance and information management issues. To read the full story follow the link below... I have the FE secured with user logins, etc. The BE is password protected. Both ends (now) contained within encrypted files. Backups now contain encrypted files. Totally secure from "outsiders". BUT! - once you are in the system, a (valid) user can still "do things" unless he/she is totally restricted by the various methods outlined in postings to this site. Ie. Menu systems, exporting options, printing data options, etc. At some stage there has to be employee trust. Ie, unless I am trusted (being the developer) then nothing else works. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, November 16, 2007 6:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Off-Site Backup ...whoa! ...now there is something I'd never considered ...I have a client that is very concerned about employees stealing his data ...I'll have to take another look at this. William ----- Original Message ----- From: To: "'Access Developers discussion and problem solving'" Sent: Friday, November 16, 2007 9:26 AM Subject: Re: [AccessD] Off-Site Backup > John Colby: > > Many thanks for the pointer to TrueCrypt. This is fantastic! I now have > all > my BE Data in an encrypted file on the Server and the FE's in an encrypted > file on user's PC's. Even if they steal all the computers they will never > get access to the data without my 40 char key to mount the volumes. > > Brilliant tip, John. Many thanks > > Max > > > > ----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, November 15, 2007 5:42 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Off-Site Backup > > LOL. Make sure that you use a good encryption scheme. I use TrueCrypt: > > http://www.truecrypt.org/downloads.php > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka > Sent: Thursday, November 15, 2007 11:19 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Off-Site Backup > > At work we use Iron Mountain (www.ironmountain.com). > > But why don't you just get a big flash drive and put it on your key chain. > You'll always have your critical stuff with you then. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Thursday, November 15, 2007 8:51 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Off-Site Backup > > Well, my local ghost backup runs to 35GB - so that gets me into about $20 > a > month. I can FTP my stuff myself to me web site - plenty of space there > - > it's just the discipline. I send the critical stuff up there sporadically > in an encrypted zip file. The upload time is a killer, though. > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > max.wanadoo at gmail.com > Sent: Thursday, November 15, 2007 6:33 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Off-Site Backup > > Pricings are here: > > https://mozy.com/pro/pricing > > Max > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Thursday, November 15, 2007 1:42 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Off-Site Backup > > Looks good from the web page. I couldn't figure out how much it costs, > however, if you want more than 2GB. Guess you have to go with the Pro > version. How much do you pay? > > T&R > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawrence Mrazek > Sent: Thursday, November 15, 2007 5:23 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Off-Site Backup > > Hi Rocky: > > I'm using MozyPro (for clients and myself) ... www.mozy.com. I've like it, > and have been impressed with the features. > > Larry Mrazek > LCM Research, Inc. > www.lcm-res.com > lmrazek at lcm-res.com > ph. 314-432-5886 > mobile: 314-496-1645 > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Thursday, November 15, 2007 7:10 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Off-Site Backup > > > Dear List: > > Maybe a bit OT but hopefully some answers that will be useful to all. > > I've just been solicited by WinZip Computing to try their off-site backup > product Carbonite. I occasionally FTP some stuff up to my web site for > off > site backup. > > Are any of you doing off-site through a third party product? And if so, > which one? Recommendations? > > 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 > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: > 11/14/2007 > 4:54 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: > 11/14/2007 > 4:54 PM > > > -- > 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 BusinessSensitve > 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 From Patricia.O'Connor at otda.state.ny.us Fri Nov 16 14:44:47 2007 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Fri, 16 Nov 2007 15:44:47 -0500 Subject: [AccessD] Hey, it's Friday In-Reply-To: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> References: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BB0F0@EXCNYSM0A1AI.nysemail.nyenet> HAPPY BIRTHDAY ARTHUR Glad to hear you had a wonderful time. Enjoy life!! Patti ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** > -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Arthur Fuller > Sent: Friday, November 16, 2007 09:24 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Hey, it's Friday > > Last night was my 60th birthday, and about 25 of my friends > had a surprise party for me. I was completely clueless about > its occurrence. I have a favourite Indian restaurant in > Toronto called Shalimar, owned and operated by a good friend > called Khalid, and ironically, I decided that that was where > I wanted to have dinner last night. So I booked a > reservation, little knowing that the entire restaurant had > already been booked. Khalid managed to keep a straight voice > when I called. My friend Norma and my sister Clare came with > me, and there's a great bookstore/recordstore next door which > I insisted upon visiting, little knowing that there was a > party awaiting me next door. This is a small restaurant > (always a good sign), and when I walked in, I saw that the > whole place had been re-arranged, a dozen tables united into > one enormous long table, and as I scanned the occupants I > realized bit by bit that I knew everyone at the table, and > finally it dawned on me. > > To break bread with good friends is a good thing. To find > oneself as the centre of attention, so to speak, surrounded > by good friends, is truly breathtaking -- and humbling. For > some reason or other, I have a collection of quality people > to call my friends. We had fabulous food, wonderful > conversation and I even received some cool presents and > cards. Forced at one point to stand and make a speech, all I > could manage was to thank my friends for being my friends. > I've known almost everyone in attendance for 30 or so years, > some more. There were even emails from persons who could not > attend, such as one of my oldest friends, Paul Grenkow, who > teaches English in Beijing, who could not attend only because > his wife was expected to give birth on the day. > > I'm a lucky man. I have wonderful friends. But I do caution > you to think carefully about holding a surprise party for > 60yo people. The heart palpitations are unbelievable. On the > other hand, what better way to go. > > A. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From davidmcafee at gmail.com Fri Nov 16 15:01:27 2007 From: davidmcafee at gmail.com (David McAfee) Date: Fri, 16 Nov 2007 13:01:27 -0800 Subject: [AccessD] Hey, it's Friday In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BB0F0@EXCNYSM0A1AI.nysemail.nyenet> References: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> <01DBAB52E30A9A4AB3D94EF8029EDBE8021BB0F0@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: <8786a4c00711161301w2eff5680hc8463590da52440f@mail.gmail.com> Happy belated Birthday Arthur. Sounds like you had such a great time! From DWUTKA at Marlow.com Fri Nov 16 15:44:45 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Fri, 16 Nov 2007 15:44:45 -0600 Subject: [AccessD] Hey, it's Friday In-Reply-To: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> Message-ID: Happy birthday Arthur! Wow, 60 years old...is it about time to get a Mac? Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, November 16, 2007 8:24 AM To: Access Developers discussion and problem solving Subject: [AccessD] Hey, it's Friday Last night was my 60th birthday, and about 25 of my friends had a surprise party for me. I was completely clueless about its occurrence. I have a favourite Indian restaurant in Toronto called Shalimar, owned and operated by a good friend called Khalid, and ironically, I decided that that was where I wanted to have dinner last night. So I booked a reservation, little knowing that the entire restaurant had already been booked. Khalid managed to keep a straight voice when I called. My friend Norma and my sister Clare came with me, and there's a great bookstore/recordstore next door which I insisted upon visiting, little knowing that there was a party awaiting me next door. This is a small restaurant (always a good sign), and when I walked in, I saw that the whole place had been re-arranged, a dozen tables united into one enormous long table, and as I scanned the occupants I realized bit by bit that I knew everyone at the table, and finally it dawned on me. To break bread with good friends is a good thing. To find oneself as the centre of attention, so to speak, surrounded by good friends, is truly breathtaking -- and humbling. For some reason or other, I have a collection of quality people to call my friends. We had fabulous food, wonderful conversation and I even received some cool presents and cards. Forced at one point to stand and make a speech, all I could manage was to thank my friends for being my friends. I've known almost everyone in attendance for 30 or so years, some more. There were even emails from persons who could not attend, such as one of my oldest friends, Paul Grenkow, who teaches English in Beijing, who could not attend only because his wife was expected to give birth on the day. I'm a lucky man. I have wonderful friends. But I do caution you to think carefully about holding a surprise party for 60yo people. The heart palpitations are unbelievable. On the other hand, what better way to go. 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 BusinessSensitve 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 Fri Nov 16 15:46:01 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 16 Nov 2007 16:46:01 -0500 Subject: [AccessD] Encrypting your stuff was offsite backup In-Reply-To: <002601c82884$6003b930$8119fea9@LTVM> References: <002601c8287d$92678520$ef706c4c@jisshowsbs.local> <002601c82884$6003b930$8119fea9@LTVM> Message-ID: <005801c8289a$15263800$6c7aa8c0@M90> I use this for my own protection. My laptop contains an encrypted file that contains my Colby Consulting stuff (books, etc). I have another encrypted drive that contains all client projects. Thus if the laptop ever does take a hike, all data is encrypted. the other nice thing about this is that you can backup all your work by copying a single encrypted file to a backup location. If that backup location ever takes a hike no data is exposed. I have a usb memory stick (just 1 gb for now) where 3/4 is an encrypted file. If I ever need to carry anything on my person, it is encrypted. The TrueCrypt program is stored on the unencrypted part and can be run from there. Thus I can stick the memory stick into a machine, run TrueCrypt, mount the drive and copy files to/from. Of course you do have to have admin rights in order to do this. I have been using this for about two years now and it just works. Just don't forget your password. I use the first character from a phrase or song, along with special characters and numbers which make it dead simple to remember when you are first learning your password. For example take two nursery rhymes: Mary Had A Little Lamb His Fleece Was White As Snow MhAlLhFwWaS (use alternating upper and lower case) Throw two numbers in front of, behind or around it 0MhAlLhFwWaS9 Now throw two special characters in front of that !0MhAlLhFwWaS9@ That all by itself is a pretty secure password. If you want more, do that twice, perhaps Jack And Jill Went Up The Hill To Fetch A Pail Of Water #8JaJwUtHtFaPoW7$ !0MhAlLhFwWaS9@#8JaJwUtHtFaPoW7$ You get the picture. Either one is a good password, the two together are pretty industrial strength, and dead easy to remember until you have it assigned to muscle memory. Pick a favorite saying, slogan, song, whatever you already have remembered and just use the first character of each word, plus numbers and special symbols. Someone (on this list IIRC) claimed they had a password cracker that would crack any password in XX seconds. I think not. My password is 21 characters long using a simple system like that and takes me about 10 seconds to type in. 10 seconds is not too much to ask for an industrial strength memorable password. http://www.lockdown.co.uk/?pg=combi&s=articles John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Friday, November 16, 2007 2:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Hi William: Here is such an article which bears out your client's concerns: SECURITY? STICK IT! A recent survey by Tower Software has revealed that 49% of employees store work-related files in multiple locations - posing serious security threats and exposure as well as compliance and information management issues. To read the full story follow the link below... I have the FE secured with user logins, etc. The BE is password protected. Both ends (now) contained within encrypted files. Backups now contain encrypted files. Totally secure from "outsiders". BUT! - once you are in the system, a (valid) user can still "do things" unless he/she is totally restricted by the various methods outlined in postings to this site. Ie. Menu systems, exporting options, printing data options, etc. At some stage there has to be employee trust. Ie, unless I am trusted (being the developer) then nothing else works. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, November 16, 2007 6:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Off-Site Backup ...whoa! ...now there is something I'd never considered ...I have a client that is very concerned about employees stealing his data ...I'll have to take another look at this. William ----- Original Message ----- From: To: "'Access Developers discussion and problem solving'" Sent: Friday, November 16, 2007 9:26 AM Subject: Re: [AccessD] Off-Site Backup > John Colby: > > Many thanks for the pointer to TrueCrypt. This is fantastic! I now > have all my BE Data in an encrypted file on the Server and the FE's in > an encrypted file on user's PC's. Even if they steal all the > computers they will never get access to the data without my 40 char > key to mount the volumes. > > Brilliant tip, John. Many thanks > > Max From wdhindman at dejpolsystems.com Fri Nov 16 16:57:17 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 16 Nov 2007 17:57:17 -0500 Subject: [AccessD] Encrypting your stuff was offsite backup References: <002601c8287d$92678520$ef706c4c@jisshowsbs.local><002601c82884$6003b930$8119fea9@LTVM> <005801c8289a$15263800$6c7aa8c0@M90> Message-ID: <000c01c828a4$098c5b00$ef706c4c@jisshowsbs.local> I use a 4gig stick with a u3 encryption program, wear it on a chain around my neck. I seldom take a laptop to client offices anymore because most everything I need is on the stick ...just plug it in, log-on, sync, and go to work ...I use a similar password algorithm but based on an Elvis tune ...shows my age, it does :) William ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Friday, November 16, 2007 4:46 PM Subject: [AccessD] Encrypting your stuff was offsite backup >I use this for my own protection. My laptop contains an encrypted file >that > contains my Colby Consulting stuff (books, etc). I have another encrypted > drive that contains all client projects. Thus if the laptop ever does > take > a hike, all data is encrypted. the other nice thing about this is that > you > can backup all your work by copying a single encrypted file to a backup > location. If that backup location ever takes a hike no data is exposed. > > I have a usb memory stick (just 1 gb for now) where 3/4 is an encrypted > file. If I ever need to carry anything on my person, it is encrypted. > The > TrueCrypt program is stored on the unencrypted part and can be run from > there. Thus I can stick the memory stick into a machine, run TrueCrypt, > mount the drive and copy files to/from. Of course you do have to have > admin > rights in order to do this. > > I have been using this for about two years now and it just works. > > Just don't forget your password. > > I use the first character from a phrase or song, along with special > characters and numbers which make it dead simple to remember when you are > first learning your password. For example take two nursery rhymes: > > Mary Had A Little Lamb His Fleece Was White As Snow > MhAlLhFwWaS > (use alternating upper and lower case) > Throw two numbers in front of, behind or around it > 0MhAlLhFwWaS9 > Now throw two special characters in front of that > !0MhAlLhFwWaS9@ > > That all by itself is a pretty secure password. If you want more, do that > twice, perhaps > > Jack And Jill Went Up The Hill To Fetch A Pail Of Water > #8JaJwUtHtFaPoW7$ > > !0MhAlLhFwWaS9@#8JaJwUtHtFaPoW7$ > > You get the picture. Either one is a good password, the two together are > pretty industrial strength, and dead easy to remember until you have it > assigned to muscle memory. Pick a favorite saying, slogan, song, whatever > you already have remembered and just use the first character of each word, > plus numbers and special symbols. > > Someone (on this list IIRC) claimed they had a password cracker that would > crack any password in XX seconds. I think not. My password is 21 > characters long using a simple system like that and takes me about 10 > seconds to type in. 10 seconds is not too much to ask for an industrial > strength memorable password. > > http://www.lockdown.co.uk/?pg=combi&s=articles > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > max.wanadoo at gmail.com > Sent: Friday, November 16, 2007 2:11 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Off-Site Backup > > > Hi William: > > Here is such an article which bears out your client's concerns: > > SECURITY? STICK IT! > A recent survey by Tower Software has revealed that 49% of employees store > work-related files in multiple locations - posing serious security threats > and exposure as well as compliance and information management issues. > To read the full story follow the link below... > > > > I have the FE secured with user logins, etc. The BE is password > protected. > Both ends (now) contained within encrypted files. Backups now contain > encrypted files. Totally secure from "outsiders". > > BUT! - once you are in the system, a (valid) user can still "do things" > unless he/she is totally restricted by the various methods outlined in > postings to this site. Ie. Menu systems, exporting options, printing data > options, etc. > > At some stage there has to be employee trust. Ie, unless I am trusted > (being the developer) then nothing else works. > > Max > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Friday, November 16, 2007 6:22 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Off-Site Backup > > ...whoa! ...now there is something I'd never considered ...I have a client > that is very concerned about employees stealing his data ...I'll have to > take another look at this. > > William > > ----- Original Message ----- > From: > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, November 16, 2007 9:26 AM > Subject: Re: [AccessD] Off-Site Backup > > >> John Colby: >> >> Many thanks for the pointer to TrueCrypt. This is fantastic! I now >> have all my BE Data in an encrypted file on the Server and the FE's in >> an encrypted file on user's PC's. Even if they steal all the >> computers they will never get access to the data without my 40 char >> key to mount the volumes. >> >> Brilliant tip, John. Many thanks >> >> Max > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Fri Nov 16 17:00:42 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 16 Nov 2007 18:00:42 -0500 Subject: [AccessD] Hey, it's Friday References: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> Message-ID: <001001c828a4$83e30520$ef706c4c@jisshowsbs.local> Arthur ...may you share many, many more with your friends, both here and there. William ----- Original Message ----- From: "Arthur Fuller" To: "Access Developers discussion and problem solving" Sent: Friday, November 16, 2007 9:24 AM Subject: [AccessD] Hey, it's Friday > Last night was my 60th birthday, and about 25 of my friends had a surprise > party for me. I was completely clueless about its occurrence. I have a > favourite Indian restaurant in Toronto called Shalimar, owned and operated > by a good friend called Khalid, and ironically, I decided that that was > where I wanted to have dinner last night. So I booked a reservation, > little > knowing that the entire restaurant had already been booked. Khalid managed > to keep a straight voice when I called. My friend Norma and my sister > Clare > came with me, and there's a great bookstore/recordstore next door which I > insisted upon visiting, little knowing that there was a party awaiting me > next door. This is a small restaurant (always a good sign), and when I > walked in, I saw that the whole place had been re-arranged, a dozen tables > united into one enormous long table, and as I scanned the occupants I > realized bit by bit that I knew everyone at the table, and finally it > dawned > on me. > > To break bread with good friends is a good thing. To find oneself as the > centre of attention, so to speak, surrounded by good friends, is truly > breathtaking -- and humbling. For some reason or other, I have a > collection > of quality people to call my friends. We had fabulous food, wonderful > conversation and I even received some cool presents and cards. Forced at > one > point to stand and make a speech, all I could manage was to thank my > friends > for being my friends. I've known almost everyone in attendance for 30 or > so > years, some more. There were even emails from persons who could not > attend, > such as one of my oldest friends, Paul Grenkow, who teaches English in > Beijing, who could not attend only because his wife was expected to give > birth on the day. > > I'm a lucky man. I have wonderful friends. But I do caution you to think > carefully about holding a surprise party for 60yo people. The heart > palpitations are unbelievable. On the other hand, what better way to go. > > A. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Fri Nov 16 17:04:44 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 16 Nov 2007 18:04:44 -0500 Subject: [AccessD] Hey, it's Friday References: Message-ID: <001801c828a5$1436a6e0$ef706c4c@jisshowsbs.local> ...that's 60 years YOUNG, you pup! ...someday soon we'll talk about trading in your Playstation II for a real computer :) William ----- Original Message ----- From: "Drew Wutka" To: "Access Developers discussion and problem solving" Sent: Friday, November 16, 2007 4:44 PM Subject: Re: [AccessD] Hey, it's Friday > Happy birthday Arthur! Wow, 60 years old...is it about time to get a > Mac? > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Friday, November 16, 2007 8:24 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Hey, it's Friday > > Last night was my 60th birthday, and about 25 of my friends had a > surprise > party for me. I was completely clueless about its occurrence. I have a > favourite Indian restaurant in Toronto called Shalimar, owned and > operated > by a good friend called Khalid, and ironically, I decided that that was > where I wanted to have dinner last night. So I booked a reservation, > little > knowing that the entire restaurant had already been booked. Khalid > managed > to keep a straight voice when I called. My friend Norma and my sister > Clare > came with me, and there's a great bookstore/recordstore next door which > I > insisted upon visiting, little knowing that there was a party awaiting > me > next door. This is a small restaurant (always a good sign), and when I > walked in, I saw that the whole place had been re-arranged, a dozen > tables > united into one enormous long table, and as I scanned the occupants I > realized bit by bit that I knew everyone at the table, and finally it > dawned > on me. > > To break bread with good friends is a good thing. To find oneself as the > centre of attention, so to speak, surrounded by good friends, is truly > breathtaking -- and humbling. For some reason or other, I have a > collection > of quality people to call my friends. We had fabulous food, wonderful > conversation and I even received some cool presents and cards. Forced at > one > point to stand and make a speech, all I could manage was to thank my > friends > for being my friends. I've known almost everyone in attendance for 30 or > so > years, some more. There were even emails from persons who could not > attend, > such as one of my oldest friends, Paul Grenkow, who teaches English in > Beijing, who could not attend only because his wife was expected to give > birth on the day. > > I'm a lucky man. I have wonderful friends. But I do caution you to think > carefully about holding a surprise party for 60yo people. The heart > palpitations are unbelievable. On the other hand, what better way to go. > > 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 BusinessSensitve 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 joeget at vgernet.net Fri Nov 16 17:29:09 2007 From: joeget at vgernet.net (John Eget) Date: Fri, 16 Nov 2007 18:29:09 -0500 Subject: [AccessD] Access application to WEb Based References: <004a01c8274a$4156f460$4cc2f63f@JELaptop> <001901c82798$4e771b40$75010a0a@lcmdv8000> Message-ID: <010a01c828a8$80a4cd40$33c2f63f@JELaptop> usable on the web ----- Original Message ----- From: "Lawrence Mrazek" To: "'Access Developers discussion and problem solving'" Sent: Thursday, November 15, 2007 10:00 AM Subject: Re: [AccessD] Access application to WEb Based > Hmmm ... > > This is one of those "it depends" questions. > > If you're looking to merely present tabular data on the web, with perhaps > a > couple of lookups, filters, etc. this wouldn't be a problem. > > However, if you're app has a lot of custom functions, business logic, > etc., > then it will be a much larger project. > > Is the focus to make the application "usable on the web" or do you merely > need to enable remote access to the app? > > Larry Mrazek > LCM Research, Inc. > www.lcm-res.com > lmrazek at lcm-res.com > ph. 314-432-5886 > mobile: 314-496-1645 > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Eget > Sent: Wednesday, November 14, 2007 11:42 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Access application to WEb Based > > My boss asked me today "What would be the effort to make an existing > Microsoft Access application usable on the Web". I could find no > references > in any of the books I have as a reference. Any idea what I can say or > where > to look? > > Thanks for the thoughts and chuckles > > John > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From pcs at azizaz.com Fri Nov 16 18:01:57 2007 From: pcs at azizaz.com (pcs at azizaz.com) Date: Sat, 17 Nov 2007 10:01:57 +1000 (EST) Subject: [AccessD] Hey, it's Friday Message-ID: <20071117100157.DHS43880@dommail.onthenet.com.au> Arthur, Your story touched my heart...happy Birthday! Borge ---- Original message ---- >Date: Fri, 16 Nov 2007 09:24:26 -0500 >From: "Arthur Fuller" >Subject: [AccessD] Hey, it's Friday >To: "Access Developers discussion and problem solving" > >Last night was my 60th birthday, and about 25 of my friends had a surprise >party for me. I was completely clueless about its occurrence. ...... From accessd at shaw.ca Sat Nov 17 00:38:11 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 16 Nov 2007 22:38:11 -0800 Subject: [AccessD] Hey, it's Friday In-Reply-To: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> Message-ID: Arthur; What a night to remember. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, November 16, 2007 6:24 AM To: Access Developers discussion and problem solving Subject: [AccessD] Hey, it's Friday Last night was my 60th birthday, and about 25 of my friends had a surprise party for me. I was completely clueless about its occurrence. I have a favourite Indian restaurant in Toronto called Shalimar, owned and operated by a good friend called Khalid, and ironically, I decided that that was where I wanted to have dinner last night. So I booked a reservation, little knowing that the entire restaurant had already been booked. Khalid managed to keep a straight voice when I called. My friend Norma and my sister Clare came with me, and there's a great bookstore/recordstore next door which I insisted upon visiting, little knowing that there was a party awaiting me next door. This is a small restaurant (always a good sign), and when I walked in, I saw that the whole place had been re-arranged, a dozen tables united into one enormous long table, and as I scanned the occupants I realized bit by bit that I knew everyone at the table, and finally it dawned on me. To break bread with good friends is a good thing. To find oneself as the centre of attention, so to speak, surrounded by good friends, is truly breathtaking -- and humbling. For some reason or other, I have a collection of quality people to call my friends. We had fabulous food, wonderful conversation and I even received some cool presents and cards. Forced at one point to stand and make a speech, all I could manage was to thank my friends for being my friends. I've known almost everyone in attendance for 30 or so years, some more. There were even emails from persons who could not attend, such as one of my oldest friends, Paul Grenkow, who teaches English in Beijing, who could not attend only because his wife was expected to give birth on the day. I'm a lucky man. I have wonderful friends. But I do caution you to think carefully about holding a surprise party for 60yo people. The heart palpitations are unbelievable. On the other hand, what better way to go. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Sat Nov 17 03:05:00 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sat, 17 Nov 2007 09:05:00 -0000 Subject: [AccessD] Hey, it's Friday In-Reply-To: Message-ID: <000001c828f8$efaef440$3183d355@minster33c3r25> Happy Birthday Arthur. Sounds like my idea of the ideal party. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka > Sent: 16 November 2007 21:45 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Hey, it's Friday > > > Happy birthday Arthur! Wow, 60 years old...is it about time > to get a Mac? > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Arthur Fuller > Sent: Friday, November 16, 2007 8:24 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Hey, it's Friday > > Last night was my 60th birthday, and about 25 of my friends > had a surprise party for me. I was completely clueless about > its occurrence. I have a favourite Indian restaurant in > Toronto called Shalimar, owned and operated by a good friend > called Khalid, and ironically, I decided that that was where > I wanted to have dinner last night. So I booked a > reservation, little knowing that the entire restaurant had > already been booked. Khalid managed to keep a straight voice > when I called. My friend Norma and my sister Clare came with > me, and there's a great bookstore/recordstore next door which > I insisted upon visiting, little knowing that there was a > party awaiting me next door. This is a small restaurant > (always a good sign), and when I walked in, I saw that the > whole place had been re-arranged, a dozen tables united into > one enormous long table, and as I scanned the occupants I > realized bit by bit that I knew everyone at the table, and > finally it dawned on me. > > To break bread with good friends is a good thing. To find > oneself as the centre of attention, so to speak, surrounded > by good friends, is truly breathtaking -- and humbling. For > some reason or other, I have a collection of quality people > to call my friends. We had fabulous food, wonderful > conversation and I even received some cool presents and > cards. Forced at one point to stand and make a speech, all I > could manage was to thank my friends for being my friends. > I've known almost everyone in attendance for 30 or so years, > some more. There were even emails from persons who could not > attend, such as one of my oldest friends, Paul Grenkow, who > teaches English in Beijing, who could not attend only because > his wife was expected to give birth on the day. > > I'm a lucky man. I have wonderful friends. But I do caution > you to think carefully about holding a surprise party for > 60yo people. The heart palpitations are unbelievable. On the > other hand, what better way to go. > > 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 BusinessSensitve > 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 max.wanadoo at gmail.com Sat Nov 17 03:33:16 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Sat, 17 Nov 2007 09:33:16 -0000 Subject: [AccessD] Encrypting your stuff was offsite backup In-Reply-To: <005801c8289a$15263800$6c7aa8c0@M90> Message-ID: <003001c828fc$e2cd3cb0$8119fea9@LTVM> Hi John, Yes, this is something that I will now set up, especially for my laptop and memory stick. FYI I also use cGeep to encrypt sensitive emails (www cgeep com) which uses PGP encryption plus there is a web based version for those who do not want to install it. It can also encrypt files/directories directly which avoid the need to mount a volume. But what is great with TrueCrypt is that it will run apps or all kinds directly from the encrypted file without storing any decrypted data anywhere other than in memory. All in all, in a few weeks I will have great encryption right across the board. Another trick which is easy to remember is "positioning" keys. Ie, "qazwsxedcrfvtgbyhn" which if you look at a keyboard you will see that it just traverses up/down across the key pad. As long as you remember whatever positioning you use, then you actually do not need to even remember the passphrase. Needless to say, this positioning example is not my one . Throw a couple of other keys in with the alpha keys then it just won't make any sense if terms of "real words" for brute force decryption (although I think the TrueCrypt mention something like a billion years to decrypt with a supercomputer, so pretty safe really). Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, November 16, 2007 9:46 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Encrypting your stuff was offsite backup I use this for my own protection. My laptop contains an encrypted file that contains my Colby Consulting stuff (books, etc). I have another encrypted drive that contains all client projects. Thus if the laptop ever does take a hike, all data is encrypted. the other nice thing about this is that you can backup all your work by copying a single encrypted file to a backup location. If that backup location ever takes a hike no data is exposed. I have a usb memory stick (just 1 gb for now) where 3/4 is an encrypted file. If I ever need to carry anything on my person, it is encrypted. The TrueCrypt program is stored on the unencrypted part and can be run from there. Thus I can stick the memory stick into a machine, run TrueCrypt, mount the drive and copy files to/from. Of course you do have to have admin rights in order to do this. I have been using this for about two years now and it just works. Just don't forget your password. I use the first character from a phrase or song, along with special characters and numbers which make it dead simple to remember when you are first learning your password. For example take two nursery rhymes: Mary Had A Little Lamb His Fleece Was White As Snow MhAlLhFwWaS (use alternating upper and lower case) Throw two numbers in front of, behind or around it 0MhAlLhFwWaS9 Now throw two special characters in front of that !0MhAlLhFwWaS9@ That all by itself is a pretty secure password. If you want more, do that twice, perhaps Jack And Jill Went Up The Hill To Fetch A Pail Of Water #8JaJwUtHtFaPoW7$ !0MhAlLhFwWaS9@#8JaJwUtHtFaPoW7$ You get the picture. Either one is a good password, the two together are pretty industrial strength, and dead easy to remember until you have it assigned to muscle memory. Pick a favorite saying, slogan, song, whatever you already have remembered and just use the first character of each word, plus numbers and special symbols. Someone (on this list IIRC) claimed they had a password cracker that would crack any password in XX seconds. I think not. My password is 21 characters long using a simple system like that and takes me about 10 seconds to type in. 10 seconds is not too much to ask for an industrial strength memorable password. http://www.lockdown.co.uk/?pg=combi&s=articles John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Friday, November 16, 2007 2:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Hi William: Here is such an article which bears out your client's concerns: SECURITY? STICK IT! A recent survey by Tower Software has revealed that 49% of employees store work-related files in multiple locations - posing serious security threats and exposure as well as compliance and information management issues. To read the full story follow the link below... I have the FE secured with user logins, etc. The BE is password protected. Both ends (now) contained within encrypted files. Backups now contain encrypted files. Totally secure from "outsiders". BUT! - once you are in the system, a (valid) user can still "do things" unless he/she is totally restricted by the various methods outlined in postings to this site. Ie. Menu systems, exporting options, printing data options, etc. At some stage there has to be employee trust. Ie, unless I am trusted (being the developer) then nothing else works. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, November 16, 2007 6:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Off-Site Backup ...whoa! ...now there is something I'd never considered ...I have a client that is very concerned about employees stealing his data ...I'll have to take another look at this. William ----- Original Message ----- From: To: "'Access Developers discussion and problem solving'" Sent: Friday, November 16, 2007 9:26 AM Subject: Re: [AccessD] Off-Site Backup > John Colby: > > Many thanks for the pointer to TrueCrypt. This is fantastic! I now > have all my BE Data in an encrypted file on the Server and the FE's in > an encrypted file on user's PC's. Even if they steal all the > computers they will never get access to the data without my 40 char > key to mount the volumes. > > Brilliant tip, John. Many thanks > > Max -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Sat Nov 17 03:38:04 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Sat, 17 Nov 2007 09:38:04 -0000 Subject: [AccessD] Encrypting your stuff was offsite backup In-Reply-To: <000c01c828a4$098c5b00$ef706c4c@jisshowsbs.local> Message-ID: <003101c828fd$8dcf9e50$8119fea9@LTVM> Elvis? Crikey, I was coding before he was born! How about the Andrews Sisters (WW2 singers from Minnesota)- world famous though. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, November 16, 2007 10:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup I use a 4gig stick with a u3 encryption program, wear it on a chain around my neck. I seldom take a laptop to client offices anymore because most everything I need is on the stick ...just plug it in, log-on, sync, and go to work ...I use a similar password algorithm but based on an Elvis tune ...shows my age, it does :) William ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Friday, November 16, 2007 4:46 PM Subject: [AccessD] Encrypting your stuff was offsite backup >I use this for my own protection. My laptop contains an encrypted file >that > contains my Colby Consulting stuff (books, etc). I have another encrypted > drive that contains all client projects. Thus if the laptop ever does > take > a hike, all data is encrypted. the other nice thing about this is that > you > can backup all your work by copying a single encrypted file to a backup > location. If that backup location ever takes a hike no data is exposed. > > I have a usb memory stick (just 1 gb for now) where 3/4 is an encrypted > file. If I ever need to carry anything on my person, it is encrypted. > The > TrueCrypt program is stored on the unencrypted part and can be run from > there. Thus I can stick the memory stick into a machine, run TrueCrypt, > mount the drive and copy files to/from. Of course you do have to have > admin > rights in order to do this. > > I have been using this for about two years now and it just works. > > Just don't forget your password. > > I use the first character from a phrase or song, along with special > characters and numbers which make it dead simple to remember when you are > first learning your password. For example take two nursery rhymes: > > Mary Had A Little Lamb His Fleece Was White As Snow > MhAlLhFwWaS > (use alternating upper and lower case) > Throw two numbers in front of, behind or around it > 0MhAlLhFwWaS9 > Now throw two special characters in front of that > !0MhAlLhFwWaS9@ > > That all by itself is a pretty secure password. If you want more, do that > twice, perhaps > > Jack And Jill Went Up The Hill To Fetch A Pail Of Water > #8JaJwUtHtFaPoW7$ > > !0MhAlLhFwWaS9@#8JaJwUtHtFaPoW7$ > > You get the picture. Either one is a good password, the two together are > pretty industrial strength, and dead easy to remember until you have it > assigned to muscle memory. Pick a favorite saying, slogan, song, whatever > you already have remembered and just use the first character of each word, > plus numbers and special symbols. > > Someone (on this list IIRC) claimed they had a password cracker that would > crack any password in XX seconds. I think not. My password is 21 > characters long using a simple system like that and takes me about 10 > seconds to type in. 10 seconds is not too much to ask for an industrial > strength memorable password. > > http://www.lockdown.co.uk/?pg=combi&s=articles > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > max.wanadoo at gmail.com > Sent: Friday, November 16, 2007 2:11 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Off-Site Backup > > > Hi William: > > Here is such an article which bears out your client's concerns: > > SECURITY? STICK IT! > A recent survey by Tower Software has revealed that 49% of employees store > work-related files in multiple locations - posing serious security threats > and exposure as well as compliance and information management issues. > To read the full story follow the link below... > > > > I have the FE secured with user logins, etc. The BE is password > protected. > Both ends (now) contained within encrypted files. Backups now contain > encrypted files. Totally secure from "outsiders". > > BUT! - once you are in the system, a (valid) user can still "do things" > unless he/she is totally restricted by the various methods outlined in > postings to this site. Ie. Menu systems, exporting options, printing data > options, etc. > > At some stage there has to be employee trust. Ie, unless I am trusted > (being the developer) then nothing else works. > > Max > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Friday, November 16, 2007 6:22 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Off-Site Backup > > ...whoa! ...now there is something I'd never considered ...I have a client > that is very concerned about employees stealing his data ...I'll have to > take another look at this. > > William > > ----- Original Message ----- > From: > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, November 16, 2007 9:26 AM > Subject: Re: [AccessD] Off-Site Backup > > >> John Colby: >> >> Many thanks for the pointer to TrueCrypt. This is fantastic! I now >> have all my BE Data in an encrypted file on the Server and the FE's in >> an encrypted file on user's PC's. Even if they steal all the >> computers they will never get access to the data without my 40 char >> key to mount the volumes. >> >> Brilliant tip, John. Many thanks >> >> Max > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Sat Nov 17 04:21:51 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sat, 17 Nov 2007 10:21:51 -0000 Subject: [AccessD] Off-Site Backup In-Reply-To: Message-ID: <001201c82903$ab5e16d0$3183d355@minster33c3r25> Yea this would be my question too. I might download the trial and see but those of you who are already using Carbonite can probably answer the question for us. The website blurb says it "works quietly and continuously in the background". That worries me. I sometimes feel my PC has so much stuff working "quietly" in the background that I've got no foreground left (yes, just fitted more RAM before you ask). So can anyone give their experience on what the performance hit is of Carbonite? -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim > Sent: 16 November 2007 18:53 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Off-Site Backup > > > > How big a process does it leave in memory? I had to ditch one > service because they were a huge memory hog. Jim Hale > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Griffiths, Richard > Sent: Friday, November 16, 2007 3:24 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Off-Site Backup > > Hi > > I use Carbonite. (?25 per year). This service has to be seen > for what it is, simply off line backup. I have other local > backup options as well. I see Carbonite as the last layer of > support/backup. If my pc/hard disk and backup devices get > stolen, irreparable etc the I can log on to any pc/laptop and > get back the latest versions of my files. > > Richard > > ************************************************************** > ********* > The information transmitted is intended solely for the > individual or entity to which it is addressed and may contain > confidential and/or privileged material. Any review, > retransmission, dissemination or other use of or taking > action in reliance upon this information by persons or > entities other than the intended recipient is prohibited. If > you have received this email in error please contact the > sender and delete the material from any computer. As a > recipient of this email, you are responsible for screening > its contents and the contents of any attachments for the > presence of viruses. No liability is accepted for any damages > caused by any virus transmitted by this email. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From wdhindman at dejpolsystems.com Sat Nov 17 09:43:55 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sat, 17 Nov 2007 10:43:55 -0500 Subject: [AccessD] Encrypting your stuff was offsite backup References: <003101c828fd$8dcf9e50$8119fea9@LTVM> Message-ID: <001301c82930$a9e31620$ef706c4c@jisshowsbs.local> ...now, now Max ...we'd all like to accept your claim to the gerontological gold here ...but that would make you something like 80+ and writing code before the first computer was built ...besides which, only Charlotte is that old :) William ----- Original Message ----- From: To: "'Access Developers discussion and problem solving'" Sent: Saturday, November 17, 2007 4:38 AM Subject: Re: [AccessD] Encrypting your stuff was offsite backup > Elvis? Crikey, I was coding before he was born! > How about the Andrews Sisters (WW2 singers from Minnesota)- world famous > though. > > Max > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Friday, November 16, 2007 10:57 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > I use a 4gig stick with a u3 encryption program, wear it on a chain around > my neck. I seldom take a laptop to client offices anymore because most > everything I need is on the stick ...just plug it in, log-on, sync, and go > to work ...I use a similar password algorithm but based on an Elvis tune > ...shows my age, it does :) > > William > > ----- Original Message ----- > From: "jwcolby" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, November 16, 2007 4:46 PM > Subject: [AccessD] Encrypting your stuff was offsite backup > > >>I use this for my own protection. My laptop contains an encrypted file >>that >> contains my Colby Consulting stuff (books, etc). I have another >> encrypted >> drive that contains all client projects. Thus if the laptop ever does >> take >> a hike, all data is encrypted. the other nice thing about this is that >> you >> can backup all your work by copying a single encrypted file to a backup >> location. If that backup location ever takes a hike no data is exposed. >> >> I have a usb memory stick (just 1 gb for now) where 3/4 is an encrypted >> file. If I ever need to carry anything on my person, it is encrypted. >> The >> TrueCrypt program is stored on the unencrypted part and can be run from >> there. Thus I can stick the memory stick into a machine, run TrueCrypt, >> mount the drive and copy files to/from. Of course you do have to have >> admin >> rights in order to do this. >> >> I have been using this for about two years now and it just works. >> >> Just don't forget your password. >> >> I use the first character from a phrase or song, along with special >> characters and numbers which make it dead simple to remember when you are >> first learning your password. For example take two nursery rhymes: >> >> Mary Had A Little Lamb His Fleece Was White As Snow >> MhAlLhFwWaS >> (use alternating upper and lower case) >> Throw two numbers in front of, behind or around it >> 0MhAlLhFwWaS9 >> Now throw two special characters in front of that >> !0MhAlLhFwWaS9@ >> >> That all by itself is a pretty secure password. If you want more, do >> that >> twice, perhaps >> >> Jack And Jill Went Up The Hill To Fetch A Pail Of Water >> #8JaJwUtHtFaPoW7$ >> >> !0MhAlLhFwWaS9@#8JaJwUtHtFaPoW7$ >> >> You get the picture. Either one is a good password, the two together are >> pretty industrial strength, and dead easy to remember until you have it >> assigned to muscle memory. Pick a favorite saying, slogan, song, >> whatever >> you already have remembered and just use the first character of each >> word, >> plus numbers and special symbols. >> >> Someone (on this list IIRC) claimed they had a password cracker that >> would >> crack any password in XX seconds. I think not. My password is 21 >> characters long using a simple system like that and takes me about 10 >> seconds to type in. 10 seconds is not too much to ask for an industrial >> strength memorable password. >> >> http://www.lockdown.co.uk/?pg=combi&s=articles >> >> John W. Colby >> Colby Consulting >> www.ColbyConsulting.com >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> max.wanadoo at gmail.com >> Sent: Friday, November 16, 2007 2:11 PM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Off-Site Backup >> >> >> Hi William: >> >> Here is such an article which bears out your client's concerns: >> >> SECURITY? STICK IT! >> A recent survey by Tower Software has revealed that 49% of employees >> store >> work-related files in multiple locations - posing serious security >> threats >> and exposure as well as compliance and information management issues. >> To read the full story follow the link below... >> >> >> >> I have the FE secured with user logins, etc. The BE is password >> protected. >> Both ends (now) contained within encrypted files. Backups now contain >> encrypted files. Totally secure from "outsiders". >> >> BUT! - once you are in the system, a (valid) user can still "do things" >> unless he/she is totally restricted by the various methods outlined in >> postings to this site. Ie. Menu systems, exporting options, printing data >> options, etc. >> >> At some stage there has to be employee trust. Ie, unless I am trusted >> (being the developer) then nothing else works. >> >> Max >> >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >> Sent: Friday, November 16, 2007 6:22 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Off-Site Backup >> >> ...whoa! ...now there is something I'd never considered ...I have a >> client >> that is very concerned about employees stealing his data ...I'll have to >> take another look at this. >> >> William >> >> ----- Original Message ----- >> From: >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Friday, November 16, 2007 9:26 AM >> Subject: Re: [AccessD] Off-Site Backup >> >> >>> John Colby: >>> >>> Many thanks for the pointer to TrueCrypt. This is fantastic! I now >>> have all my BE Data in an encrypted file on the Server and the FE's in >>> an encrypted file on user's PC's. Even if they steal all the >>> computers they will never get access to the data without my 40 char >>> key to mount the volumes. >>> >>> Brilliant tip, John. Many thanks >>> >>> Max >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Sat Nov 17 10:27:46 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Sat, 17 Nov 2007 16:27:46 -0000 Subject: [AccessD] Encrypting your stuff was offsite backup In-Reply-To: <001301c82930$a9e31620$ef706c4c@jisshowsbs.local> Message-ID: <000301c82936$ca838990$8119fea9@LTVM> >besides which, only Charlotte is that old Oh dear, are you going to get your legs slapped or what? Max Ps, As long as I don't look in the mirror, I am only 30'ish. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Saturday, November 17, 2007 3:44 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup ...now, now Max ...we'd all like to accept your claim to the gerontological gold here ...but that would make you something like 80+ and writing code before the first computer was built ...besides which, only Charlotte is that old :) William ----- Original Message ----- From: To: "'Access Developers discussion and problem solving'" Sent: Saturday, November 17, 2007 4:38 AM Subject: Re: [AccessD] Encrypting your stuff was offsite backup > Elvis? Crikey, I was coding before he was born! > How about the Andrews Sisters (WW2 singers from Minnesota)- world famous > though. > > Max > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Friday, November 16, 2007 10:57 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > I use a 4gig stick with a u3 encryption program, wear it on a chain around > my neck. I seldom take a laptop to client offices anymore because most > everything I need is on the stick ...just plug it in, log-on, sync, and go > to work ...I use a similar password algorithm but based on an Elvis tune > ...shows my age, it does :) > > William > > ----- Original Message ----- > From: "jwcolby" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, November 16, 2007 4:46 PM > Subject: [AccessD] Encrypting your stuff was offsite backup > > >>I use this for my own protection. My laptop contains an encrypted file >>that >> contains my Colby Consulting stuff (books, etc). I have another >> encrypted >> drive that contains all client projects. Thus if the laptop ever does >> take >> a hike, all data is encrypted. the other nice thing about this is that >> you >> can backup all your work by copying a single encrypted file to a backup >> location. If that backup location ever takes a hike no data is exposed. >> >> I have a usb memory stick (just 1 gb for now) where 3/4 is an encrypted >> file. If I ever need to carry anything on my person, it is encrypted. >> The >> TrueCrypt program is stored on the unencrypted part and can be run from >> there. Thus I can stick the memory stick into a machine, run TrueCrypt, >> mount the drive and copy files to/from. Of course you do have to have >> admin >> rights in order to do this. >> >> I have been using this for about two years now and it just works. >> >> Just don't forget your password. >> >> I use the first character from a phrase or song, along with special >> characters and numbers which make it dead simple to remember when you are >> first learning your password. For example take two nursery rhymes: >> >> Mary Had A Little Lamb His Fleece Was White As Snow >> MhAlLhFwWaS >> (use alternating upper and lower case) >> Throw two numbers in front of, behind or around it >> 0MhAlLhFwWaS9 >> Now throw two special characters in front of that >> !0MhAlLhFwWaS9@ >> >> That all by itself is a pretty secure password. If you want more, do >> that >> twice, perhaps >> >> Jack And Jill Went Up The Hill To Fetch A Pail Of Water >> #8JaJwUtHtFaPoW7$ >> >> !0MhAlLhFwWaS9@#8JaJwUtHtFaPoW7$ >> >> You get the picture. Either one is a good password, the two together are >> pretty industrial strength, and dead easy to remember until you have it >> assigned to muscle memory. Pick a favorite saying, slogan, song, >> whatever >> you already have remembered and just use the first character of each >> word, >> plus numbers and special symbols. >> >> Someone (on this list IIRC) claimed they had a password cracker that >> would >> crack any password in XX seconds. I think not. My password is 21 >> characters long using a simple system like that and takes me about 10 >> seconds to type in. 10 seconds is not too much to ask for an industrial >> strength memorable password. >> >> http://www.lockdown.co.uk/?pg=combi&s=articles >> >> John W. Colby >> Colby Consulting >> www.ColbyConsulting.com >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> max.wanadoo at gmail.com >> Sent: Friday, November 16, 2007 2:11 PM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Off-Site Backup >> >> >> Hi William: >> >> Here is such an article which bears out your client's concerns: >> >> SECURITY? STICK IT! >> A recent survey by Tower Software has revealed that 49% of employees >> store >> work-related files in multiple locations - posing serious security >> threats >> and exposure as well as compliance and information management issues. >> To read the full story follow the link below... >> >> >> >> I have the FE secured with user logins, etc. The BE is password >> protected. >> Both ends (now) contained within encrypted files. Backups now contain >> encrypted files. Totally secure from "outsiders". >> >> BUT! - once you are in the system, a (valid) user can still "do things" >> unless he/she is totally restricted by the various methods outlined in >> postings to this site. Ie. Menu systems, exporting options, printing data >> options, etc. >> >> At some stage there has to be employee trust. Ie, unless I am trusted >> (being the developer) then nothing else works. >> >> Max >> >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >> Sent: Friday, November 16, 2007 6:22 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Off-Site Backup >> >> ...whoa! ...now there is something I'd never considered ...I have a >> client >> that is very concerned about employees stealing his data ...I'll have to >> take another look at this. >> >> William >> >> ----- Original Message ----- >> From: >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Friday, November 16, 2007 9:26 AM >> Subject: Re: [AccessD] Off-Site Backup >> >> >>> John Colby: >>> >>> Many thanks for the pointer to TrueCrypt. This is fantastic! I now >>> have all my BE Data in an encrypted file on the Server and the FE's in >>> an encrypted file on user's PC's. Even if they steal all the >>> computers they will never get access to the data without my 40 char >>> key to mount the volumes. >>> >>> Brilliant tip, John. Many thanks >>> >>> Max >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 17 12:15:37 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 17 Nov 2007 13:15:37 -0500 Subject: [AccessD] Encrypting your stuff was offsite backup In-Reply-To: <000301c82936$ca838990$8119fea9@LTVM> References: <001301c82930$a9e31620$ef706c4c@jisshowsbs.local> <000301c82936$ca838990$8119fea9@LTVM> Message-ID: <008301c82945$db6d1320$6c7aa8c0@M90> >Ps, As long as I don't look in the mirror, I am only 30'ish. ROTFL. ME TOO! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Saturday, November 17, 2007 11:28 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Encrypting your stuff was offsite backup >besides which, only Charlotte is that old Oh dear, are you going to get your legs slapped or what? Max Ps, As long as I don't look in the mirror, I am only 30'ish. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Saturday, November 17, 2007 3:44 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup ...now, now Max ...we'd all like to accept your claim to the gerontological gold here ...but that would make you something like 80+ and writing code before the first computer was built ...besides which, only Charlotte is that old :) William ----- Original Message ----- From: To: "'Access Developers discussion and problem solving'" Sent: Saturday, November 17, 2007 4:38 AM Subject: Re: [AccessD] Encrypting your stuff was offsite backup > Elvis? Crikey, I was coding before he was born! > How about the Andrews Sisters (WW2 singers from Minnesota)- world > famous though. > > Max > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Friday, November 16, 2007 10:57 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > I use a 4gig stick with a u3 encryption program, wear it on a chain > around my neck. I seldom take a laptop to client offices anymore > because most everything I need is on the stick ...just plug it in, > log-on, sync, and go to work ...I use a similar password algorithm but > based on an Elvis tune ...shows my age, it does :) > > William > > ----- Original Message ----- > From: "jwcolby" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, November 16, 2007 4:46 PM > Subject: [AccessD] Encrypting your stuff was offsite backup > > >>I use this for my own protection. My laptop contains an encrypted >>file that contains my Colby Consulting stuff (books, etc). I have >>another encrypted drive that contains all client projects. Thus if >>the laptop ever does take a hike, all data is encrypted. the other >>nice thing about this is that you can backup all your work by >>copying a single encrypted file to a backup location. If that backup >>location ever takes a hike no data is exposed. >> >> I have a usb memory stick (just 1 gb for now) where 3/4 is an >> encrypted file. If I ever need to carry anything on my person, it is encrypted. >> The >> TrueCrypt program is stored on the unencrypted part and can be run >> from there. Thus I can stick the memory stick into a machine, run >> TrueCrypt, mount the drive and copy files to/from. Of course you do >> have to have admin rights in order to do this. >> >> I have been using this for about two years now and it just works. >> >> Just don't forget your password. >> >> I use the first character from a phrase or song, along with special >> characters and numbers which make it dead simple to remember when you >> are first learning your password. For example take two nursery rhymes: >> >> Mary Had A Little Lamb His Fleece Was White As Snow MhAlLhFwWaS (use >> alternating upper and lower case) Throw two numbers in front of, >> behind or around it >> 0MhAlLhFwWaS9 >> Now throw two special characters in front of that !0MhAlLhFwWaS9@ >> >> That all by itself is a pretty secure password. If you want more, do >> that twice, perhaps >> >> Jack And Jill Went Up The Hill To Fetch A Pail Of Water >> #8JaJwUtHtFaPoW7$ >> >> !0MhAlLhFwWaS9@#8JaJwUtHtFaPoW7$ >> >> You get the picture. Either one is a good password, the two together >> are pretty industrial strength, and dead easy to remember until you >> have it assigned to muscle memory. Pick a favorite saying, slogan, >> song, whatever you already have remembered and just use the first >> character of each word, plus numbers and special symbols. >> >> Someone (on this list IIRC) claimed they had a password cracker that >> would crack any password in XX seconds. I think not. My password is >> 21 characters long using a simple system like that and takes me about >> 10 seconds to type in. 10 seconds is not too much to ask for an >> industrial strength memorable password. >> >> http://www.lockdown.co.uk/?pg=combi&s=articles >> >> John W. Colby >> Colby Consulting >> www.ColbyConsulting.com >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> max.wanadoo at gmail.com >> Sent: Friday, November 16, 2007 2:11 PM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Off-Site Backup >> >> >> Hi William: >> >> Here is such an article which bears out your client's concerns: >> >> SECURITY? STICK IT! >> A recent survey by Tower Software has revealed that 49% of employees >> store work-related files in multiple locations - posing serious >> security threats and exposure as well as compliance and information >> management issues. >> To read the full story follow the link below... >> >> >> >> I have the FE secured with user logins, etc. The BE is password >> protected. >> Both ends (now) contained within encrypted files. Backups now >> contain encrypted files. Totally secure from "outsiders". >> >> BUT! - once you are in the system, a (valid) user can still "do things" >> unless he/she is totally restricted by the various methods outlined >> in postings to this site. Ie. Menu systems, exporting options, >> printing data options, etc. >> >> At some stage there has to be employee trust. Ie, unless I am >> trusted (being the developer) then nothing else works. >> >> Max >> >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >> Sent: Friday, November 16, 2007 6:22 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Off-Site Backup >> >> ...whoa! ...now there is something I'd never considered ...I have a >> client that is very concerned about employees stealing his data >> ...I'll have to take another look at this. >> >> William >> >> ----- Original Message ----- >> From: >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Friday, November 16, 2007 9:26 AM >> Subject: Re: [AccessD] Off-Site Backup >> >> >>> John Colby: >>> >>> Many thanks for the pointer to TrueCrypt. This is fantastic! I now >>> have all my BE Data in an encrypted file on the Server and the FE's >>> in an encrypted file on user's PC's. Even if they steal all the >>> computers they will never get access to the data without my 40 char >>> key to mount the volumes. >>> >>> Brilliant tip, John. Many thanks >>> >>> Max >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From miscellany at mvps.org Sat Nov 17 13:55:41 2007 From: miscellany at mvps.org (Steve Schapel) Date: Sun, 18 Nov 2007 08:55:41 +1300 Subject: [AccessD] Access application to WEb Based In-Reply-To: <010a01c828a8$80a4cd40$33c2f63f@JELaptop> References: <004a01c8274a$4156f460$4cc2f63f@JELaptop> <001901c82798$4e771b40$75010a0a@lcmdv8000> <010a01c828a8$80a4cd40$33c2f63f@JELaptop> Message-ID: <473F473D.50403@mvps.org> John, Do you mean by the general public at large? Or restricted to a specific set of users? If the latter, how many? Your answer to Lawrence was not clear to me, as using an application via remote access / terminal server *is* "usable on the web". Regards Steve John Eget wrote: > usable on the web > From miscellany at mvps.org Sat Nov 17 13:57:55 2007 From: miscellany at mvps.org (Steve Schapel) Date: Sun, 18 Nov 2007 08:57:55 +1300 Subject: [AccessD] Hey, it's Friday In-Reply-To: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> References: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> Message-ID: <473F47C3.4000500@mvps.org> Thanks for sharing this great story, Arthur. And congratulations. Regards Steve Arthur Fuller wrote: > Last night was my 60th birthday, and about 25 of my friends had a surprise > party for me. I was completely clueless about its occurrence. I have a > favourite Indian restaurant in Toronto called Shalimar, owned and operated > by a good friend called Khalid, and ironically, I decided that that was > where I wanted to have dinner last night. So I booked a reservation, little > knowing that the entire restaurant had already been booked. Khalid managed > to keep a straight voice when I called. My friend Norma and my sister Clare > came with me, and there's a great bookstore/recordstore next door which I > insisted upon visiting, little knowing that there was a party awaiting me > next door. This is a small restaurant (always a good sign), and when I > walked in, I saw that the whole place had been re-arranged, a dozen tables > united into one enormous long table, and as I scanned the occupants I > realized bit by bit that I knew everyone at the table, and finally it dawned > on me. > > To break bread with good friends is a good thing. To find oneself as the > centre of attention, so to speak, surrounded by good friends, is truly > breathtaking -- and humbling. For some reason or other, I have a collection > of quality people to call my friends. We had fabulous food, wonderful > conversation and I even received some cool presents and cards. Forced at one > point to stand and make a speech, all I could manage was to thank my friends > for being my friends. I've known almost everyone in attendance for 30 or so > years, some more. There were even emails from persons who could not attend, > such as one of my oldest friends, Paul Grenkow, who teaches English in > Beijing, who could not attend only because his wife was expected to give > birth on the day. > > I'm a lucky man. I have wonderful friends. But I do caution you to think > carefully about holding a surprise party for 60yo people. The heart > palpitations are unbelievable. On the other hand, what better way to go. > > A. From miscellany at mvps.org Sat Nov 17 14:25:22 2007 From: miscellany at mvps.org (Steve Schapel) Date: Sun, 18 Nov 2007 09:25:22 +1300 Subject: [AccessD] Off-Site Backup In-Reply-To: <001201c82903$ab5e16d0$3183d355@minster33c3r25> References: <001201c82903$ab5e16d0$3183d355@minster33c3r25> Message-ID: <473F4E32.7060900@mvps.org> Andy, There is a setting in Carbonite for "low priority" on internet usage, so the backup upload only happens when there is no other internet traffic happening. I haven't measured it in any way, but the actual system resources used seems to be very low, and I noticed no performance hit at all from a "foreground" point of view. It is very easy to select within Windows Explorer which files and/or folders you want included in the backup. I found I had to remove my email folders from the regular backup, as these are large and changing frequently, which was increasing my internet usage hugely. Apart from that, I have found it great. Let me know if you would like me to send you an invitation... If you install via an invitation by an existing user, and if you eventually subscribe, you get 13 months for the price of 12 (and oh yes, the inviter also gets a bonus added to their account too ;-) ). Regards Steve Andy Lacey wrote: > Yea this would be my question too. I might download the trial and see but > those of you who are already using Carbonite can probably answer the > question for us. The website blurb says it "works quietly and continuously > in the background". That worries me. I sometimes feel my PC has so much > stuff working "quietly" in the background that I've got no foreground left > (yes, just fitted more RAM before you ask). So can anyone give their > experience on what the performance hit is of Carbonite? > From tinanfields at torchlake.com Sat Nov 17 14:35:51 2007 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 17 Nov 2007 15:35:51 -0500 Subject: [AccessD] Hey, it's Friday In-Reply-To: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> References: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> Message-ID: <473F50A7.6030602@torchlake.com> Happy birthday, Arthur. I hope you celebrate for several days or weeks! You are a lucky man to have such good friends - and they (and we) are truly fortunate to have you as a friend. Best regards, Tina Arthur Fuller wrote: > Last night was my 60th birthday, and about 25 of my friends had a surprise > party for me. I was completely clueless about its occurrence. I have a > favourite Indian restaurant in Toronto called Shalimar, owned and operated > by a good friend called Khalid, and ironically, I decided that that was > where I wanted to have dinner last night. So I booked a reservation, little > knowing that the entire restaurant had already been booked. Khalid managed > to keep a straight voice when I called. My friend Norma and my sister Clare > came with me, and there's a great bookstore/recordstore next door which I > insisted upon visiting, little knowing that there was a party awaiting me > next door. This is a small restaurant (always a good sign), and when I > walked in, I saw that the whole place had been re-arranged, a dozen tables > united into one enormous long table, and as I scanned the occupants I > realized bit by bit that I knew everyone at the table, and finally it dawned > on me. > > To break bread with good friends is a good thing. To find oneself as the > centre of attention, so to speak, surrounded by good friends, is truly > breathtaking -- and humbling. For some reason or other, I have a collection > of quality people to call my friends. We had fabulous food, wonderful > conversation and I even received some cool presents and cards. Forced at one > point to stand and make a speech, all I could manage was to thank my friends > for being my friends. I've known almost everyone in attendance for 30 or so > years, some more. There were even emails from persons who could not attend, > such as one of my oldest friends, Paul Grenkow, who teaches English in > Beijing, who could not attend only because his wife was expected to give > birth on the day. > > I'm a lucky man. I have wonderful friends. But I do caution you to think > carefully about holding a surprise party for 60yo people. The heart > palpitations are unbelievable. On the other hand, what better way to go. > > A. > From DWUTKA at Marlow.com Sat Nov 17 14:41:53 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Sat, 17 Nov 2007 14:41:53 -0600 Subject: [AccessD] Hey, it's Friday In-Reply-To: <001801c828a5$1436a6e0$ef706c4c@jisshowsbs.local> Message-ID: I've never owned a Playstation. Just Nintendos. ;) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, November 16, 2007 5:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Hey, it's Friday ...that's 60 years YOUNG, you pup! ...someday soon we'll talk about trading in your Playstation II for a real computer :) William ----- Original Message ----- From: "Drew Wutka" To: "Access Developers discussion and problem solving" Sent: Friday, November 16, 2007 4:44 PM Subject: Re: [AccessD] Hey, it's Friday > Happy birthday Arthur! Wow, 60 years old...is it about time to get a > Mac? > > Drew > 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 BusinessSensitve 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 Nov 17 14:45:48 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Sat, 17 Nov 2007 14:45:48 -0600 Subject: [AccessD] Encrypting your stuff was offsite backup In-Reply-To: <001301c82930$a9e31620$ef706c4c@jisshowsbs.local> Message-ID: I have never been more worried for you William, even cane after cane coming after ya, did you taunt them too? ;) Drew P.S.--You'll be missed. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Saturday, November 17, 2007 9:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup ...now, now Max ...we'd all like to accept your claim to the gerontological gold here ...but that would make you something like 80+ and writing code before the first computer was built ...besides which, only Charlotte is that old :) William ----- Original Message ----- From: To: "'Access Developers discussion and problem solving'" Sent: Saturday, November 17, 2007 4:38 AM Subject: Re: [AccessD] Encrypting your stuff was offsite backup > Elvis? Crikey, I was coding before he was born! > How about the Andrews Sisters (WW2 singers from Minnesota)- world famous > though. > > Max > > 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 BusinessSensitve 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 joeget at vgernet.net Sat Nov 17 18:09:20 2007 From: joeget at vgernet.net (John Eget) Date: Sat, 17 Nov 2007 19:09:20 -0500 Subject: [AccessD] Access application to WEb Based References: <004a01c8274a$4156f460$4cc2f63f@JELaptop><001901c82798$4e771b40$75010a0a@lcmdv8000><010a01c828a8$80a4cd40$33c2f63f@JELaptop> <473F473D.50403@mvps.org> Message-ID: <001c01c82977$4811c3f0$5ec2f63f@JELaptop> Steve The application would be restricted to a specific set of users thru a security login. The most users at anyone time would be around 20 or so. We are using a split database (backend on server and front end on individual PCs) and my management would like users that are teleworking to login and add/edit records of their activities Thanks for the reply John ----- Original Message ----- From: "Steve Schapel" To: "Access Developers discussion and problem solving" Sent: Saturday, November 17, 2007 2:55 PM Subject: Re: [AccessD] Access application to WEb Based > John, > > Do you mean by the general public at large? Or restricted to a specific > set of users? If the latter, how many? > > Your answer to Lawrence was not clear to me, as using an application via > remote access / terminal server *is* "usable on the web". > > Regards > Steve > > > John Eget wrote: >> usable on the web >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Sat Nov 17 20:15:30 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 17 Nov 2007 21:15:30 -0500 Subject: [AccessD] (no subject) Message-ID: <008501c82988$e50ee9b0$6c7aa8c0@M90> Folks (the Americans out there anyway), I don't normally do this but I think this is a huge opportunity to help the world, and time is running out for one particular aspect of this program. What I am talking about is the One Laptop Per Child program which is just getting off the ground. The link below is to the web page for the organization that is running this program. I have been there, it is legit and will not load any nasties on your system. You can see reviews here: http://www.nytimes.com/2007/10/04/technology/circuits/04pogue.html?_r=1&oref =slogin With links to this same website where you can participate: http://www.laptopgiving.org/en/index.php We can make a difference by simply donating (tax deductible) a laptop, or you can do a "give one get one" where you essentially pay for two and one is sent to you, and another is sent to a child in a developing nation. THAT offer expires on November 26th so if you want to participate in that, do it now. This thing is very real, not a scam, and I have been watching it develop for several years. The "Give one get one" program is a limited time deal and only lasts for another 10 days which is why I think now is the time to think about this if you have a youngster that could use such a system (and who doesn't)? I also don't EVER do this but I am making an exception now; I would ask you to send this email on to other acquaintances who might be interested. John W. Colby Colby Consulting www.ColbyConsulting.com From miscellany at mvps.org Sat Nov 17 20:30:16 2007 From: miscellany at mvps.org (Steve Schapel) Date: Sun, 18 Nov 2007 15:30:16 +1300 Subject: [AccessD] Access application to WEb Based In-Reply-To: <001c01c82977$4811c3f0$5ec2f63f@JELaptop> References: <004a01c8274a$4156f460$4cc2f63f@JELaptop> <001901c82798$4e771b40$75010a0a@lcmdv8000> <010a01c828a8$80a4cd40$33c2f63f@JELaptop> <473F473D.50403@mvps.org> <001c01c82977$4811c3f0$5ec2f63f@JELaptop> Message-ID: <473FA3B8.4000405@mvps.org> John, If you want your users to be able to use the database via a browser, then you would need to move away from the Access application for this purpose. The Access application could still be deployed on the local network, but for the web functionality you would need to have the server set up as a web server, and write a separate front-end application using a web technology such as ASP.Net or SharePoint (being the two most likely candidates). However, in the scenario you have described, it would be a lot cheaper and easier to have your teleworking users to use their existing Access frontend remotely. It may be possible, depending on your local network setup, to simply enable an RDP connection to their PCs. Otherwise, an option would be to dedicate a machine for the purpose, and install WinConnect Server, which allows up to 21 remote connections to a Windows XP or Small Business Server machine. I use this myself, to good effect. Regards Steve -- Steve Schapel, Microsoft Access MVP John Eget wrote: > Steve > > The application would be restricted to a specific set of users thru a > security login. The most users at anyone time would be around 20 or so. We > are using a split database (backend on server and front end on individual > PCs) and my management would like users that are teleworking to login and > add/edit records of their activities > From rockysmolin at bchacc.com Sun Nov 18 00:53:58 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 17 Nov 2007 22:53:58 -0800 Subject: [AccessD] (no subject) In-Reply-To: <008501c82988$e50ee9b0$6c7aa8c0@M90> References: <008501c82988$e50ee9b0$6c7aa8c0@M90> Message-ID: <005101c829af$cb777b80$0301a8c0@HAL9005> I saw this on the news. Promoting this is a good use of the Databaseadvisors resources. Do you know what the tech specs are on the machine? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, November 17, 2007 6:16 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] (no subject) Folks (the Americans out there anyway), I don't normally do this but I think this is a huge opportunity to help the world, and time is running out for one particular aspect of this program. What I am talking about is the One Laptop Per Child program which is just getting off the ground. The link below is to the web page for the organization that is running this program. I have been there, it is legit and will not load any nasties on your system. You can see reviews here: http://www.nytimes.com/2007/10/04/technology/circuits/04pogue.html?_r=1&oref =slogin With links to this same website where you can participate: http://www.laptopgiving.org/en/index.php We can make a difference by simply donating (tax deductible) a laptop, or you can do a "give one get one" where you essentially pay for two and one is sent to you, and another is sent to a child in a developing nation. THAT offer expires on November 26th so if you want to participate in that, do it now. This thing is very real, not a scam, and I have been watching it develop for several years. The "Give one get one" program is a limited time deal and only lasts for another 10 days which is why I think now is the time to think about this if you have a youngster that could use such a system (and who doesn't)? I also don't EVER do this but I am making an exception now; I would ask you to send this email on to other acquaintances who might be interested. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.0/1135 - Release Date: 11/16/2007 10:58 PM From stephen at bondsoftware.co.nz Sun Nov 18 01:04:16 2007 From: stephen at bondsoftware.co.nz (Stephen) Date: Sun, 18 Nov 2007 20:04:16 +1300 Subject: [AccessD] Old problem - forgotten the answer Message-ID: <569E08FC48047F4F848850B118195FBE019EB8@server.BondSoftware.local> On a continuous form containing record vestiges I click a button to bring up a dialog box to edit the full record. When that's finished, I re-query the invoking continuous form to update the details. This of course takes me back to the beginning of the continuous form. I want it to stay where it is. I thought I had the solution once but can't find it. Any ideas ..... Stephen Bond From miscellany at mvps.org Sun Nov 18 01:19:06 2007 From: miscellany at mvps.org (Steve Schapel) Date: Sun, 18 Nov 2007 20:19:06 +1300 Subject: [AccessD] Old problem - forgotten the answer In-Reply-To: <569E08FC48047F4F848850B118195FBE019EB8@server.BondSoftware.local> References: <569E08FC48047F4F848850B118195FBE019EB8@server.BondSoftware.local> Message-ID: <473FE76A.1040405@mvps.org> Stephen, In a nutshell... You need to assign the primary key value of the current record to a variable, prior to the requery, and then after the requery, you can use code to find that record again. Regards Steve Stephen wrote: > On a continuous form containing record vestiges I click a button to > bring up a dialog box to edit the full record. When that's finished, I > re-query the invoking continuous form to update the details. This of > course takes me back to the beginning of the continuous form. I want it > to stay where it is. > > I thought I had the solution once but can't find it. Any ideas ..... > > Stephen Bond > From rockysmolin at bchacc.com Sun Nov 18 01:35:24 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 17 Nov 2007 23:35:24 -0800 Subject: [AccessD] Old problem - forgotten the answer In-Reply-To: <569E08FC48047F4F848850B118195FBE019EB8@server.BondSoftware.local> References: <569E08FC48047F4F848850B118195FBE019EB8@server.BondSoftware.local> Message-ID: <005901c829b5$953f6b80$0301a8c0@HAL9005> Stephen: Save the primary key in a long variable. Do the requery. Then use FindFirst and bookmark to set the recordset pointer back to the original record: Me.RecordsetClone.FindFirst "ClientGroupID=" & lngClientGroupID If Me.RecordsetClone.NoMatch = False Then Me.Bookmark = Me.RecordsetClone.Bookmark Else MsgBox "Could not return to selected record", vbExclamation End If HTH Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stephen Sent: Saturday, November 17, 2007 11:04 PM To: accessd at databaseadvisors.com Subject: [AccessD] Old problem - forgotten the answer On a continuous form containing record vestiges I click a button to bring up a dialog box to edit the full record. When that's finished, I re-query the invoking continuous form to update the details. This of course takes me back to the beginning of the continuous form. I want it to stay where it is. I thought I had the solution once but can't find it. Any ideas ..... Stephen Bond -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.0/1136 - Release Date: 11/17/2007 2:55 PM From stephen at bondsoftware.co.nz Sun Nov 18 01:41:42 2007 From: stephen at bondsoftware.co.nz (Stephen) Date: Sun, 18 Nov 2007 20:41:42 +1300 Subject: [AccessD] Old problem - forgotten the answer Message-ID: <569E08FC48047F4F848850B118195FBE019EB9@server.BondSoftware.local> But how can I know when the invoking form gets the focus back from the now closed dialog box. I tested some (not all) events in the invoking form (GotFocus etc), and none seemed to fire. There is something I'm missing here ... BTW the invoking form is a subform of a tab in a tab control, but that shouldn't matter should it? Stephen -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Sunday, 18 November 2007 8:30 p.m. To: Stephen Subject: Re: [AccessD] Old problem - forgotten the answer Stephen, In a nutshell... You need to assign the primary key value of the current record to a variable, prior to the requery, and then after the requery, you can use code to find that record again. Regards Steve Stephen wrote: > On a continuous form containing record vestiges I click a button to > bring up a dialog box to edit the full record. When that's finished, > I re-query the invoking continuous form to update the details. This > of course takes me back to the beginning of the continuous form. I > want it to stay where it is. > > I thought I had the solution once but can't find it. Any ideas ..... > > Stephen Bond > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stephen at bondsoftware.co.nz Sun Nov 18 01:47:00 2007 From: stephen at bondsoftware.co.nz (Stephen) Date: Sun, 18 Nov 2007 20:47:00 +1300 Subject: [AccessD] Old problem - forgotten the answer Message-ID: <569E08FC48047F4F848850B118195FBE019EBA@server.BondSoftware.local> More info. The Requery is done from the dialog box form. It requeries the invoking form. S -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Sunday, 18 November 2007 8:30 p.m. To: Stephen Subject: Re: [AccessD] Old problem - forgotten the answer Stephen, In a nutshell... You need to assign the primary key value of the current record to a variable, prior to the requery, and then after the requery, you can use code to find that record again. Regards Steve Stephen wrote: > On a continuous form containing record vestiges I click a button to > bring up a dialog box to edit the full record. When that's finished, > I re-query the invoking continuous form to update the details. This > of course takes me back to the beginning of the continuous form. I > want it to stay where it is. > > I thought I had the solution once but can't find it. Any ideas ..... > > Stephen Bond > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Sun Nov 18 03:18:25 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sun, 18 Nov 2007 09:18:25 -0000 Subject: [AccessD] Off-Site Backup In-Reply-To: <473F4E32.7060900@mvps.org> Message-ID: <002f01c829c3$f95afb30$3183d355@minster33c3r25> Thanks Steve. I'll get back to you for an invite if I go ahead. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Steve Schapel > Sent: 17 November 2007 20:25 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Off-Site Backup > > > Andy, > > There is a setting in Carbonite for "low priority" on > internet usage, so > the backup upload only happens when there is no other > internet traffic > happening. I haven't measured it in any way, but the actual system > resources used seems to be very low, and I noticed no > performance hit at > all from a "foreground" point of view. > > It is very easy to select within Windows Explorer which files and/or > folders you want included in the backup. I found I had to remove my > email folders from the regular backup, as these are large and > changing > frequently, which was increasing my internet usage hugely. > Apart from > that, I have found it great. > > Let me know if you would like me to send you an invitation... If you > install via an invitation by an existing user, and if you eventually > subscribe, you get 13 months for the price of 12 (and oh yes, the > inviter also gets a bonus added to their account too ;-) ). > > Regards > Steve > > > Andy Lacey wrote: > > Yea this would be my question too. I might download the > trial and see > > but those of you who are already using Carbonite can > probably answer > > the question for us. The website blurb says it "works quietly and > > continuously in the background". That worries me. I > sometimes feel my > > PC has so much stuff working "quietly" in the background > that I've got > > no foreground left (yes, just fitted more RAM before you > ask). So can > > anyone give their experience on what the performance hit is of > > Carbonite? > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From bheygood at abestsystems.com Sun Nov 18 10:27:14 2007 From: bheygood at abestsystems.com (Bob Heygood) Date: Sun, 18 Nov 2007 08:27:14 -0800 Subject: [AccessD] Outputing nulls in query with function In-Reply-To: <005101c829af$cb777b80$0301a8c0@HAL9005> References: <008501c82988$e50ee9b0$6c7aa8c0@M90> <005101c829af$cb777b80$0301a8c0@HAL9005> Message-ID: <000601c829ff$e0f808d0$800101df@speedy> Good Morning to the list, I have a query that outputs a column that uses a user function to create it. Works great. The client wants the results in that column to either be a value or null, not an empty string or zero. We are going to do some statistical jive later down the road. So, how can I output a null? TIA Bob Heygood -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, November 17, 2007 6:16 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] (no subject) Folks (the Americans out there anyway), I don't normally do this but I think this is a huge opportunity to help the world, and time is running out for one particular aspect of this program. What I am talking about is the One Laptop Per Child program which is just getting off the ground. The link below is to the web page for the organization that is running this program. I have been there, it is legit and will not load any nasties on your system. You can see reviews here: http://www.nytimes.com/2007/10/04/technology/circuits/04pogue.html?_r=1&oref =slogin With links to this same website where you can participate: http://www.laptopgiving.org/en/index.php We can make a difference by simply donating (tax deductible) a laptop, or you can do a "give one get one" where you essentially pay for two and one is sent to you, and another is sent to a child in a developing nation. THAT offer expires on November 26th so if you want to participate in that, do it now. This thing is very real, not a scam, and I have been watching it develop for several years. The "Give one get one" program is a limited time deal and only lasts for another 10 days which is why I think now is the time to think about this if you have a youngster that could use such a system (and who doesn't)? I also don't EVER do this but I am making an exception now; I would ask you to send this email on to other acquaintances who might be interested. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.0/1135 - Release Date: 11/16/2007 10:58 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Sun Nov 18 10:33:49 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 18 Nov 2007 11:33:49 -0500 Subject: [AccessD] Outputing nulls in query with function References: <008501c82988$e50ee9b0$6c7aa8c0@M90><005101c829af$cb777b80$0301a8c0@HAL9005> <000601c829ff$e0f808d0$800101df@speedy> Message-ID: <00f001c82a00$ce7e4f10$4b3a8343@SusanOne> > I have a query that outputs a column that uses a user function to create > it. > Works great. > The client wants the results in that column to either be a value or null, > not an empty string or zero. We are going to do some statistical jive > later > down the road. > So, how can I output a null? =======Null has a specific meaning -- forcing it might usurp that, are you sure you really want to do that? Susan H. From bheygood at abestsystems.com Sun Nov 18 10:47:22 2007 From: bheygood at abestsystems.com (Bob Heygood) Date: Sun, 18 Nov 2007 08:47:22 -0800 Subject: [AccessD] Outputing nulls in query with function In-Reply-To: <00f001c82a00$ce7e4f10$4b3a8343@SusanOne> References: <008501c82988$e50ee9b0$6c7aa8c0@M90><005101c829af$cb777b80$0301a8c0@HAL9005><000601c829ff$e0f808d0$800101df@speedy> <00f001c82a00$ce7e4f10$4b3a8343@SusanOne> Message-ID: <000d01c82a02$b0c04170$800101df@speedy> Yes, we need to do things like count and such and use TAStats. Thanks for replying. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, November 18, 2007 8:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Outputing nulls in query with function > I have a query that outputs a column that uses a user function to > create it. > Works great. > The client wants the results in that column to either be a value or > null, not an empty string or zero. We are going to do some statistical > jive later down the road. > So, how can I output a null? =======Null has a specific meaning -- forcing it might usurp that, are you sure you really want to do that? Susan H. -- 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 Nov 18 11:04:06 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 18 Nov 2007 12:04:06 -0500 Subject: [AccessD] Outputing nulls in query with function In-Reply-To: <000d01c82a02$b0c04170$800101df@speedy> References: <008501c82988$e50ee9b0$6c7aa8c0@M90> <005101c829af$cb777b80$0301a8c0@HAL9005> <000601c829ff$e0f808d0$800101df@speedy> <00f001c82a00$ce7e4f10$4b3a8343@SusanOne> <000d01c82a02$b0c04170$800101df@speedy> Message-ID: <29f585dd0711180904r418044fbgac369e1172bbd159@mail.gmail.com> First step would be to ensure that all values in the column are nulls when they are not meaningful (although as Susan pointed out, null is meaningful). What I mean is that zero is not equivalent to null. You can do this at the table-design level by changing the properties to "allow null = yes" and then erase the default value property, which tends to go to zero, and that's not what you want. So once you have eliminated the zeroes and replaced them will nulls, then you're in business, and the front end won't let you deposit zeroes. Even that oversimplifies, and sorry about that. Suppose, for example, the column was called NumberOfChildren. The answer, as in my case, is zero. That is a valid answer, and different from null, which indicates the absence of information, not its presence. Retrofitting this analysis to existing data may be non-trivial. If you don't know how many kids I have, then the appropriate value is Null. If you do know that I have no kids, then the appropriate value is zero. Either way, you have to resolve the existing data before you can enforce it at the table-level. I hope that you don't have a lot of data already recorded with this ambiguity. If you do, then you don't have much choice but to check all the questionable values (does zero mean no kids or we don't know?). That's not going to be easy, but sometimes accuracy outweighs easiness. hth, Arthur On 11/18/07, Bob Heygood wrote: > > Yes, we need to do things like count and such and use TAStats. > > Thanks for replying. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: Sunday, November 18, 2007 8:34 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Outputing nulls in query with function > > > I have a query that outputs a column that uses a user function to > > create it. > > Works great. > > The client wants the results in that column to either be a value or > > null, not an empty string or zero. We are going to do some statistical > > jive later down the road. > > So, how can I output a null? > > =======Null has a specific meaning -- forcing it might usurp that, are you > sure you really want to do that? > > Susan H. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bheygood at abestsystems.com Sun Nov 18 11:18:28 2007 From: bheygood at abestsystems.com (Bob Heygood) Date: Sun, 18 Nov 2007 09:18:28 -0800 Subject: [AccessD] Outputing nulls in query with function In-Reply-To: <29f585dd0711180904r418044fbgac369e1172bbd159@mail.gmail.com> References: <008501c82988$e50ee9b0$6c7aa8c0@M90><005101c829af$cb777b80$0301a8c0@HAL9005><000601c829ff$e0f808d0$800101df@speedy><00f001c82a00$ce7e4f10$4b3a8343@SusanOne><000d01c82a02$b0c04170$800101df@speedy> <29f585dd0711180904r418044fbgac369e1172bbd159@mail.gmail.com> Message-ID: <001201c82a07$0915cb20$800101df@speedy> Hello Arthur As I said in my first message and in the title this is all happening in a Query, not a table. Sorry if that was not clear. This column does not appear in the underlying table. It is output by my function. Per your example: my function would compute the number of children. If it could not do so, I want a null returned. I want the query to output a value computed by my function or contain a null. Maybe this is not possible?? TIA Bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Sunday, November 18, 2007 9:04 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Outputing nulls in query with function First step would be to ensure that all values in the column are nulls when they are not meaningful (although as Susan pointed out, null is meaningful). What I mean is that zero is not equivalent to null. You can do this at the table-design level by changing the properties to "allow null = yes" and then erase the default value property, which tends to go to zero, and that's not what you want. So once you have eliminated the zeroes and replaced them will nulls, then you're in business, and the front end won't let you deposit zeroes. Even that oversimplifies, and sorry about that. Suppose, for example, the column was called NumberOfChildren. The answer, as in my case, is zero. That is a valid answer, and different from null, which indicates the absence of information, not its presence. Retrofitting this analysis to existing data may be non-trivial. If you don't know how many kids I have, then the appropriate value is Null. If you do know that I have no kids, then the appropriate value is zero. Either way, you have to resolve the existing data before you can enforce it at the table-level. I hope that you don't have a lot of data already recorded with this ambiguity. If you do, then you don't have much choice but to check all the questionable values (does zero mean no kids or we don't know?). That's not going to be easy, but sometimes accuracy outweighs easiness. hth, Arthur On 11/18/07, Bob Heygood wrote: > > Yes, we need to do things like count and such and use TAStats. > > Thanks for replying. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan > Harkins > Sent: Sunday, November 18, 2007 8:34 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Outputing nulls in query with function > > > I have a query that outputs a column that uses a user function to > > create it. > > Works great. > > The client wants the results in that column to either be a value or > > null, not an empty string or zero. We are going to do some > > statistical jive later down the road. > > So, how can I output a null? > > =======Null has a specific meaning -- forcing it might usurp that, are > you sure you really want to do that? > > Susan H. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Sun Nov 18 11:22:52 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 18 Nov 2007 12:22:52 -0500 Subject: [AccessD] Outputing nulls in query with function References: <008501c82988$e50ee9b0$6c7aa8c0@M90><005101c829af$cb777b80$0301a8c0@HAL9005><000601c829ff$e0f808d0$800101df@speedy><00f001c82a00$ce7e4f10$4b3a8343@SusanOne><000d01c82a02$b0c04170$800101df@speedy><29f585dd0711180904r418044fbgac369e1172bbd159@mail.gmail.com> <001201c82a07$0915cb20$800101df@speedy> Message-ID: <012501c82a07$a97a4780$4b3a8343@SusanOne> > > I want the query to output a value computed by my function or contain a > null. Maybe this is not possible?? ========JC recommended making VBA's vbNull constant global in a module. That way you can use it in a query expression. It's a terrific idea, wish I'd thought of it. You might try that. Susan H. From miscellany at mvps.org Sun Nov 18 11:43:39 2007 From: miscellany at mvps.org (Steve Schapel) Date: Mon, 19 Nov 2007 06:43:39 +1300 Subject: [AccessD] Old problem - forgotten the answer In-Reply-To: <569E08FC48047F4F848850B118195FBE019EBA@server.BondSoftware.local> References: <569E08FC48047F4F848850B118195FBE019EBA@server.BondSoftware.local> Message-ID: <474079CB.7050206@mvps.org> Stephen, Therefore, you could do it within the same code that does the Requery. It would make it a lot easier to provide help if you could reveal the names of the forms, and info about the subform's primary key, and the code you have so far. But possibly an adaptation of the code Rocky suggested would do it, e.g.... DoCmd.RunCommand acCmdSaveRecord lngClientGroupID = Me.TheSubformsPrimaryKey ' assumes number data type With Forms!YourForm!YourSubform.Form .Requery .RecordsetClone.FindFirst "TheSubformsPrimaryKey = " & lngClientGroupID If .RecordsetClone.NoMatch Then MsgBox "Could not return to selected record", vbExclamation Else .Bookmark = .RecordsetClone.Bookmark End If End With Another option woulkd be to use the main form's Activate event. You described the editing form as a dialog box form. If it is truly a dialog form (i.e. it is opened from the main form in acDialog mode), then possibly the main form's Activate event would be more applicable. Regards Steve Stephen wrote: > More info. The Requery is done from the dialog box form. It requeries > the invoking form. > From jwcolby at colbyconsulting.com Sun Nov 18 13:29:08 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 18 Nov 2007 14:29:08 -0500 Subject: [AccessD] Outputing nulls in query with function In-Reply-To: <29f585dd0711180904r418044fbgac369e1172bbd159@mail.gmail.com> References: <008501c82988$e50ee9b0$6c7aa8c0@M90><005101c829af$cb777b80$0301a8c0@HAL9005><000601c829ff$e0f808d0$800101df@speedy><00f001c82a00$ce7e4f10$4b3a8343@SusanOne><000d01c82a02$b0c04170$800101df@speedy> <29f585dd0711180904r418044fbgac369e1172bbd159@mail.gmail.com> Message-ID: <009001c82a19$4ad59740$6c7aa8c0@M90> And to which I reply ... hooey. The absence of a value doesn't in fact mean anything. It certainly does not mean you don't know the answer. It doesn't even mean the answer was never entered. It MIGHT mean that, with the enforcement of a bunch of rules but it certainly doesn't inherently mean that. And even if it does mean that, it may or may not be any more valuable than a default value. Furthermore a default value can explicitly mean that (unknown). I can have a table of colors (for example) where the value zero is called "unknown", the value 1 is called black, 2 is brown etc. So IMNSHO, the value of NULL is way over simplified in such discussions. Let's take Arthur's example since he brought it up. A null does NOT mean you don't know the number of children. What is he advising you to do? Insert nulls with a query to replace the zeros already in place (with a perfectly proper caution). So what do those nulls now mean? They mean you ran a query and inserted nulls in the field. Do you in fact know that a zero means "unknown"? Obviously not since the zero could (at this point in time) mean unknown or in fact it could mean zero. You MAY HAVE overwritten valid zeros (they have no children) with a null and so now you are saying you don't know how many children when in fact you did (in some cases). Why not make -1 the default value and specifically have -1 mean "unknown"? Why would I do that? We will get to that in a minute. So it becomes quite obvious to the most casual observer that, if any old hooligan can insert a NULL in a field with a valid value (a zero in this case) then the null means nothing more than some hooligan put a null in there. Except... oops, it doesn't even mean that since NOW you are going to have "hooligan nulls" intermixed with real "never entered" nulls. >From THIS discussion it becomes obvious that IF you start from the VERY BEGINNING with a table with a default value of null, and IF you prevent hooligans from erasing valid values and placing nulls in there, THEN the null might mean unknown. It also might mean that the (valid known) answer wasn't entered of course. So now you have the null meaning "never entered" and that (in the end) does NOT equate to "unknown", it really just means "never entered". NOW for the down side... NULLS wreak havoc with all kinds of operations. Inner joins for example. Math operations for another example. Some types of string operations for another example. So... for all of your efforts to get back to using nulls, you can (and probably will) BREAK THINGS in your application. Let me tell you a real life story. I was brought in to maintain a database where the original data was so poorly entered (and in fact designed) that they could not get accurate results. However because they did in fact use nulls, EVERY SINGLE FIELD in the database had nulls in it, including all of the foreign key fields. Which meant EVERY SINGLE query in the database, and EVERY SINGLE JOIN in the database had to use outer joins. Inner joins simply did not work. Furthermore, because of the way access treats outer joins, there was no way I could begin to use inner joins since I would get the old "ambiguous join" message as soon as I tried to use an inner join in amongst all the existing outer joins. Have you ever worked in a database where you open a query and every join is an outer join? Now you know why. Inner joins serve a very useful purpose but they were virtually unusable in any complex query because of the requirement to pull in nulls (outer join) if there was not a "valid" value. It is of course perfectly possible to have a record in the table which SPECIFICALLY MEANS "unknown", in which case you suddenly have a "valid value" for the "unknown" and you can use inner joins wherever they are appropriate. I just thought I should pour a little cold water of reality on the purist hooey. So use Nulls if you must, but beware the pitfalls, and be aware of the alternatives. And of course we have been over all of this before and so now the flames begin. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Sunday, November 18, 2007 12:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Outputing nulls in query with function First step would be to ensure that all values in the column are nulls when they are not meaningful (although as Susan pointed out, null is meaningful). What I mean is that zero is not equivalent to null. You can do this at the table-design level by changing the properties to "allow null = yes" and then erase the default value property, which tends to go to zero, and that's not what you want. So once you have eliminated the zeroes and replaced them will nulls, then you're in business, and the front end won't let you deposit zeroes. Even that oversimplifies, and sorry about that. Suppose, for example, the column was called NumberOfChildren. The answer, as in my case, is zero. That is a valid answer, and different from null, which indicates the absence of information, not its presence. Retrofitting this analysis to existing data may be non-trivial. If you don't know how many kids I have, then the appropriate value is Null. If you do know that I have no kids, then the appropriate value is zero. Either way, you have to resolve the existing data before you can enforce it at the table-level. I hope that you don't have a lot of data already recorded with this ambiguity. If you do, then you don't have much choice but to check all the questionable values (does zero mean no kids or we don't know?). That's not going to be easy, but sometimes accuracy outweighs easiness. hth, Arthur On 11/18/07, Bob Heygood wrote: > > Yes, we need to do things like count and such and use TAStats. > > Thanks for replying. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan > Harkins > Sent: Sunday, November 18, 2007 8:34 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Outputing nulls in query with function > > > I have a query that outputs a column that uses a user function to > > create it. > > Works great. > > The client wants the results in that column to either be a value or > > null, not an empty string or zero. We are going to do some > > statistical jive later down the road. > > So, how can I output a null? > > =======Null has a specific meaning -- forcing it might usurp that, are > you sure you really want to do that? > > Susan H. From jwcolby at colbyconsulting.com Sun Nov 18 13:30:42 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 18 Nov 2007 14:30:42 -0500 Subject: [AccessD] Outputing nulls in query with function In-Reply-To: <001201c82a07$0915cb20$800101df@speedy> References: <008501c82988$e50ee9b0$6c7aa8c0@M90><005101c829af$cb777b80$0301a8c0@HAL9005><000601c829ff$e0f808d0$800101df@speedy><00f001c82a00$ce7e4f10$4b3a8343@SusanOne><000d01c82a02$b0c04170$800101df@speedy><29f585dd0711180904r418044fbgac369e1172bbd159@mail.gmail.com> <001201c82a07$0915cb20$800101df@speedy> Message-ID: <009101c82a19$8297baf0$6c7aa8c0@M90> You use a function to perform the calculation and return a NULL where you want to. All you have to do is either not declare the return type or specifically declare it a variant. If you don't declare the return type it is automatically a variant. A variant can be set to NULL. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Sunday, November 18, 2007 12:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Outputing nulls in query with function Hello Arthur As I said in my first message and in the title this is all happening in a Query, not a table. Sorry if that was not clear. This column does not appear in the underlying table. It is output by my function. Per your example: my function would compute the number of children. If it could not do so, I want a null returned. I want the query to output a value computed by my function or contain a null. Maybe this is not possible?? TIA Bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Sunday, November 18, 2007 9:04 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Outputing nulls in query with function First step would be to ensure that all values in the column are nulls when they are not meaningful (although as Susan pointed out, null is meaningful). What I mean is that zero is not equivalent to null. You can do this at the table-design level by changing the properties to "allow null = yes" and then erase the default value property, which tends to go to zero, and that's not what you want. So once you have eliminated the zeroes and replaced them will nulls, then you're in business, and the front end won't let you deposit zeroes. Even that oversimplifies, and sorry about that. Suppose, for example, the column was called NumberOfChildren. The answer, as in my case, is zero. That is a valid answer, and different from null, which indicates the absence of information, not its presence. Retrofitting this analysis to existing data may be non-trivial. If you don't know how many kids I have, then the appropriate value is Null. If you do know that I have no kids, then the appropriate value is zero. Either way, you have to resolve the existing data before you can enforce it at the table-level. I hope that you don't have a lot of data already recorded with this ambiguity. If you do, then you don't have much choice but to check all the questionable values (does zero mean no kids or we don't know?). That's not going to be easy, but sometimes accuracy outweighs easiness. hth, Arthur On 11/18/07, Bob Heygood wrote: > > Yes, we need to do things like count and such and use TAStats. > > Thanks for replying. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan > Harkins > Sent: Sunday, November 18, 2007 8:34 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Outputing nulls in query with function > > > I have a query that outputs a column that uses a user function to > > create it. > > Works great. > > The client wants the results in that column to either be a value or > > null, not an empty string or zero. We are going to do some > > statistical jive later down the road. > > So, how can I output a null? > > =======Null has a specific meaning -- forcing it might usurp that, are > you sure you really want to do that? > > Susan H. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 18 13:31:53 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 18 Nov 2007 14:31:53 -0500 Subject: [AccessD] Outputing nulls in query with function In-Reply-To: <012501c82a07$a97a4780$4b3a8343@SusanOne> References: <008501c82988$e50ee9b0$6c7aa8c0@M90><005101c829af$cb777b80$0301a8c0@HAL9005><000601c829ff$e0f808d0$800101df@speedy><00f001c82a00$ce7e4f10$4b3a8343@SusanOne><000d01c82a02$b0c04170$800101df@speedy><29f585dd0711180904r418044fbgac369e1172bbd159@mail.gmail.com><001201c82a07$0915cb20$800101df@speedy> <012501c82a07$a97a4780$4b3a8343@SusanOne> Message-ID: <009201c82a19$ad2e97c0$6c7aa8c0@M90> Susan, No, AFAIK you cannot use any constant directly in a query, even if it is global. you could call a function which returns a variant though. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, November 18, 2007 12:23 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Outputing nulls in query with function > > I want the query to output a value computed by my function or contain > a null. Maybe this is not possible?? ========JC recommended making VBA's vbNull constant global in a module. That way you can use it in a query expression. It's a terrific idea, wish I'd thought of it. You might try that. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stephen at bondsoftware.co.nz Sun Nov 18 13:59:24 2007 From: stephen at bondsoftware.co.nz (Stephen) Date: Mon, 19 Nov 2007 08:59:24 +1300 Subject: [AccessD] Old problem - forgotten the answer Message-ID: <569E08FC48047F4F848850B118195FBE019EBB@server.BondSoftware.local> Steve and Rocky, this combination sounds like what I want. Will try it this afternoon and let you know. Cheers Stephen -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Monday, 19 November 2007 6:45 a.m. To: Stephen Subject: Re: [AccessD] Old problem - forgotten the answer Stephen, Therefore, you could do it within the same code that does the Requery. It would make it a lot easier to provide help if you could reveal the names of the forms, and info about the subform's primary key, and the code you have so far. But possibly an adaptation of the code Rocky suggested would do it, e.g.... DoCmd.RunCommand acCmdSaveRecord lngClientGroupID = Me.TheSubformsPrimaryKey ' assumes number data type With Forms!YourForm!YourSubform.Form .Requery .RecordsetClone.FindFirst "TheSubformsPrimaryKey = " & lngClientGroupID If .RecordsetClone.NoMatch Then MsgBox "Could not return to selected record", vbExclamation Else .Bookmark = .RecordsetClone.Bookmark End If End With Another option woulkd be to use the main form's Activate event. You described the editing form as a dialog box form. If it is truly a dialog form (i.e. it is opened from the main form in acDialog mode), then possibly the main form's Activate event would be more applicable. Regards Steve Stephen wrote: > More info. The Requery is done from the dialog box form. It > requeries the invoking form. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Sun Nov 18 14:08:43 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 18 Nov 2007 15:08:43 -0500 Subject: [AccessD] Outputing nulls in query with function References: <008501c82988$e50ee9b0$6c7aa8c0@M90><005101c829af$cb777b80$0301a8c0@HAL9005><000601c829ff$e0f808d0$800101df@speedy><00f001c82a00$ce7e4f10$4b3a8343@SusanOne><000d01c82a02$b0c04170$800101df@speedy><29f585dd0711180904r418044fbgac369e1172bbd159@mail.gmail.com><001201c82a07$0915cb20$800101df@speedy><012501c82a07$a97a4780$4b3a8343@SusanOne> <009201c82a19$ad2e97c0$6c7aa8c0@M90> Message-ID: <01a501c82a1e$d63c2330$4b3a8343@SusanOne> I think I totally misunderstand your response then. Someone was trying to use a vb constant in a query expression and I said you couldn't do that. I had always thought you couldn't use vb constants outside of a module until you responded with the global comment. Maybe I'm just confusing two different threads. If so, I apologize. Susan H. > Susan, > > No, AFAIK you cannot use any constant directly in a query, even if it is > global. you could call a function which returns a variant though. From bheygood at abestsystems.com Sun Nov 18 14:26:37 2007 From: bheygood at abestsystems.com (Bob Heygood) Date: Sun, 18 Nov 2007 12:26:37 -0800 Subject: [AccessD] Outputing nulls in query with function In-Reply-To: <01a501c82a1e$d63c2330$4b3a8343@SusanOne> References: <008501c82988$e50ee9b0$6c7aa8c0@M90><005101c829af$cb777b80$0301a8c0@HAL9005><000601c829ff$e0f808d0$800101df@speedy><00f001c82a00$ce7e4f10$4b3a8343@SusanOne><000d01c82a02$b0c04170$800101df@speedy><29f585dd0711180904r418044fbgac369e1172bbd159@mail.gmail.com><001201c82a07$0915cb20$800101df@speedy><012501c82a07$a97a4780$4b3a8343@SusanOne><009201c82a19$ad2e97c0$6c7aa8c0@M90> <01a501c82a1e$d63c2330$4b3a8343@SusanOne> Message-ID: <004201c82a21$51fbe850$800101df@speedy> Thanks to all who were up early and replied. I got an answer from one of the folks here in the hood (San Diego). It was just a matter of adding a line to my code in my function. See answer below: GetScope2Code = IIf(Scope2Code = "", Null, Scope2Code) Funny I just read an old Advisor with an article about the use/understanding/misunderstanding of nulls. I think it was penned by one of our frequent contributors. Here then too is another reason nulls are important; for statistical/counting/... purposes. Best, Bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, November 18, 2007 12:09 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Outputing nulls in query with function I think I totally misunderstand your response then. Someone was trying to use a vb constant in a query expression and I said you couldn't do that. I had always thought you couldn't use vb constants outside of a module until you responded with the global comment. Maybe I'm just confusing two different threads. If so, I apologize. Susan H. > Susan, > > No, AFAIK you cannot use any constant directly in a query, even if it > is global. you could call a function which returns a variant though. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sun Nov 18 15:43:14 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 18 Nov 2007 16:43:14 -0500 Subject: [AccessD] Outputing nulls in query with function In-Reply-To: <01a501c82a1e$d63c2330$4b3a8343@SusanOne> References: <008501c82988$e50ee9b0$6c7aa8c0@M90><005101c829af$cb777b80$0301a8c0@HAL9005><000601c829ff$e0f808d0$800101df@speedy><00f001c82a00$ce7e4f10$4b3a8343@SusanOne><000d01c82a02$b0c04170$800101df@speedy><29f585dd0711180904r418044fbgac369e1172bbd159@mail.gmail.com><001201c82a07$0915cb20$800101df@speedy><012501c82a07$a97a4780$4b3a8343@SusanOne><009201c82a19$ad2e97c0$6c7aa8c0@M90> <01a501c82a1e$d63c2330$4b3a8343@SusanOne> Message-ID: <009601c82a2c$06b54610$6c7aa8c0@M90> I think I was confused. I thought you were asking about "seeing" a constant outside of a module, not specifically in a query. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, November 18, 2007 3:09 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Outputing nulls in query with function I think I totally misunderstand your response then. Someone was trying to use a vb constant in a query expression and I said you couldn't do that. I had always thought you couldn't use vb constants outside of a module until you responded with the global comment. Maybe I'm just confusing two different threads. If so, I apologize. Susan H. > Susan, > > No, AFAIK you cannot use any constant directly in a query, even if it > is global. you could call a function which returns a variant though. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Sun Nov 18 15:48:40 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 18 Nov 2007 16:48:40 -0500 Subject: [AccessD] Outputing nulls in query with function References: <008501c82988$e50ee9b0$6c7aa8c0@M90><005101c829af$cb777b80$0301a8c0@HAL9005><000601c829ff$e0f808d0$800101df@speedy><00f001c82a00$ce7e4f10$4b3a8343@SusanOne><000d01c82a02$b0c04170$800101df@speedy><29f585dd0711180904r418044fbgac369e1172bbd159@mail.gmail.com><001201c82a07$0915cb20$800101df@speedy><012501c82a07$a97a4780$4b3a8343@SusanOne><009201c82a19$ad2e97c0$6c7aa8c0@M90><01a501c82a1e$d63c2330$4b3a8343@SusanOne> <009601c82a2c$06b54610$6c7aa8c0@M90> Message-ID: <021801c82a2c$cbc6a520$4b3a8343@SusanOne> Okay, that would make sense. I stand corrected -- you know, I hadn't tested it yet, but thought that would be so cool if it worked. Oh well... Susan H. >I think I was confused. I thought you were asking about "seeing" a >constant > outside of a module, not specifically in a query. From darren at activebilling.com.au Sun Nov 18 17:30:58 2007 From: darren at activebilling.com.au (Darren D) Date: Mon, 19 Nov 2007 10:30:58 +1100 Subject: [AccessD] Hey, it's Friday In-Reply-To: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> Message-ID: <200711182331.lAINV42O023020@databaseadvisors.com> Happy birthday Arthur - Congratulations - I agree - Good friends - Healthy relationships - are truly the foundations of a good life Congratulations again Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, 17 November 2007 1:24 AM To: Access Developers discussion and problem solving Subject: [AccessD] Hey, it's Friday Last night was my 60th birthday, and about 25 of my friends had a surprise party for me. I was completely clueless about its occurrence. I have a favourite Indian restaurant in Toronto called Shalimar, owned and operated by a good friend called Khalid, and ironically, I decided that that was where I wanted to have dinner last night. So I booked a reservation, little knowing that the entire restaurant had already been booked. Khalid managed to keep a straight voice when I called. My friend Norma and my sister Clare came with me, and there's a great bookstore/recordstore next door which I insisted upon visiting, little knowing that there was a party awaiting me next door. This is a small restaurant (always a good sign), and when I walked in, I saw that the whole place had been re-arranged, a dozen tables united into one enormous long table, and as I scanned the occupants I realized bit by bit that I knew everyone at the table, and finally it dawned on me. To break bread with good friends is a good thing. To find oneself as the centre of attention, so to speak, surrounded by good friends, is truly breathtaking -- and humbling. For some reason or other, I have a collection of quality people to call my friends. We had fabulous food, wonderful conversation and I even received some cool presents and cards. Forced at one point to stand and make a speech, all I could manage was to thank my friends for being my friends. I've known almost everyone in attendance for 30 or so years, some more. There were even emails from persons who could not attend, such as one of my oldest friends, Paul Grenkow, who teaches English in Beijing, who could not attend only because his wife was expected to give birth on the day. I'm a lucky man. I have wonderful friends. But I do caution you to think carefully about holding a surprise party for 60yo people. The heart palpitations are unbelievable. On the other hand, what better way to go. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paulrster at gmail.com Mon Nov 19 01:07:51 2007 From: paulrster at gmail.com (paulr) Date: Mon, 19 Nov 2007 07:07:51 -0000 Subject: [AccessD] A test Message-ID: <001801c82a7a$e766cd70$6401a8c0@PAULSLENOVO> Thanks, Brian, for your help. When my thanks to you didn't appear, I felt it best to resubscribe, which I have done now. All the best paul From carbonnb at gmail.com Mon Nov 19 06:41:35 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Mon, 19 Nov 2007 07:41:35 -0500 Subject: [AccessD] A test In-Reply-To: <001801c82a7a$e766cd70$6401a8c0@PAULSLENOVO> References: <001801c82a7a$e766cd70$6401a8c0@PAULSLENOVO> Message-ID: On Nov 19, 2007 2:07 AM, paulr wrote: > Thanks, Brian, for your help. When my thanks to you didn't appear, I felt it > best to resubscribe, which I have done now. All the best Glad everything is now working for you. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From Gustav at cactus.dk Mon Nov 19 08:23:23 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 19 Nov 2007 15:23:23 +0100 Subject: [AccessD] MSAccess 2007 - Count days Message-ID: Hi Kostas You can copy and paste the code into a new module. Save this and the function can be used anywhere as the built-in functions of Access (like, say, DateDiff). If this is what is causing you problems, somebody else could perhaps help you with a beginner's guide to VBA (I have none, sorry). /gustav >>> kost36 at otenet.gr 16-11-2007 11:23 >>> Gustav, could you please show me the way to use that function I am not really familiar with function's code thank's a lot /kostas ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, November 16, 2007 1:17 AM Subject: Re: [AccessD] MSAccess 2007 - Count days > Hi Kostas > > Here is the function we use: > > Public Function ISO_WorkdayDiff( _ > ByVal datDateFrom As Date, _ > ByVal datDateTo As Date) _ > As Long > > ' Purpose: Calculate number of working days between dates datDateFrom and > datDateTo. > ' Assumes: 5 or 6 working days per week. Weekend is (Saturday and) Sunday. > ' Limitation: Does not count for public holidays. > ' May be freely used and distributed. > ' 1999-04-23. Gustav Brock, Cactus Data ApS, Copenhagen > ' 2000-10-03. Constants added. > ' Option for 5 or 6 working days per week added. > > Const cbytWorkdaysOfWeek As Byte = 5 > > Dim bytSunday As Byte > Dim intWeekdayDateFrom As Integer > Dim intWeekdayDateTo As Integer > Dim lngDays As Long > Dim datDateTemp As Date > > ' Reverse dates if these have been input reversed. > If datDateFrom > datDateTo Then > datDateTemp = datDateFrom > datDateFrom = datDateTo > datDateTo = datDateTemp > End If > > ' Find ISO weekday for Sunday. > bytSunday = WeekDay(vbSunday, vbMonday) > > ' Find weekdays for the dates. > intWeekdayDateFrom = WeekDay(datDateFrom, vbMonday) > intWeekdayDateTo = WeekDay(datDateTo, vbMonday) > > ' Compensate weekdays' value for non-working days (weekends). > intWeekdayDateFrom = intWeekdayDateFrom + (intWeekdayDateFrom = > bytSunday) > intWeekdayDateTo = intWeekdayDateTo + (intWeekdayDateTo = bytSunday) > > ' Calculate number of working days between the two weekdays, ignoring > number of weeks. > lngDays = intWeekdayDateTo - intWeekdayDateFrom - (cbytWorkdaysOfWeek * > (intWeekdayDateTo < intWeekdayDateFrom)) > ' Add number of working days between the weeks of the two dates. > lngDays = lngDays + (cbytWorkdaysOfWeek * DateDiff("w", datDateFrom, > datDateTo, vbMonday, vbFirstFourDays)) > > ISO_WorkdayDiff = lngDays > > End Function > > To exclude holidays, look up and count the holidays from a table of > holidays not falling in weekends; substract this number from the count of > working days. > > /gustav > >>>> kost36 at otenet.gr 15-11-07 20:49 >>> > Hi all, > > Does anybody know how it could be possible to count > the work days between two days excluding weekends and local holidays > To my coutry there are several dates as holidays and some of them > are moving year by year > > many thank's to all > > /kostas From jwcolby at colbyconsulting.com Mon Nov 19 08:59:24 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 19 Nov 2007 09:59:24 -0500 Subject: [AccessD] Encrypting your stuff was offsite backup In-Reply-To: <003001c828fc$e2cd3cb0$8119fea9@LTVM> References: <005801c8289a$15263800$6c7aa8c0@M90> <003001c828fc$e2cd3cb0$8119fea9@LTVM> Message-ID: <00ac01c82abc$c6ffcbd0$6c7aa8c0@M90> Truecrypt is also able to encrypt entire volumes is you so desire. I have never done so since I like the ability to copy the file for backup. I may experiment on doing that however. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Saturday, November 17, 2007 4:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Encrypting your stuff was offsite backup Hi John, Yes, this is something that I will now set up, especially for my laptop and memory stick. FYI I also use cGeep to encrypt sensitive emails (www cgeep com) which uses PGP encryption plus there is a web based version for those who do not want to install it. It can also encrypt files/directories directly which avoid the need to mount a volume. But what is great with TrueCrypt is that it will run apps or all kinds directly from the encrypted file without storing any decrypted data anywhere other than in memory. All in all, in a few weeks I will have great encryption right across the board. Another trick which is easy to remember is "positioning" keys. Ie, "qazwsxedcrfvtgbyhn" which if you look at a keyboard you will see that it just traverses up/down across the key pad. As long as you remember whatever positioning you use, then you actually do not need to even remember the passphrase. Needless to say, this positioning example is not my one . Throw a couple of other keys in with the alpha keys then it just won't make any sense if terms of "real words" for brute force decryption (although I think the TrueCrypt mention something like a billion years to decrypt with a supercomputer, so pretty safe really). Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, November 16, 2007 9:46 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Encrypting your stuff was offsite backup I use this for my own protection. My laptop contains an encrypted file that contains my Colby Consulting stuff (books, etc). I have another encrypted drive that contains all client projects. Thus if the laptop ever does take a hike, all data is encrypted. the other nice thing about this is that you can backup all your work by copying a single encrypted file to a backup location. If that backup location ever takes a hike no data is exposed. I have a usb memory stick (just 1 gb for now) where 3/4 is an encrypted file. If I ever need to carry anything on my person, it is encrypted. The TrueCrypt program is stored on the unencrypted part and can be run from there. Thus I can stick the memory stick into a machine, run TrueCrypt, mount the drive and copy files to/from. Of course you do have to have admin rights in order to do this. I have been using this for about two years now and it just works. Just don't forget your password. I use the first character from a phrase or song, along with special characters and numbers which make it dead simple to remember when you are first learning your password. For example take two nursery rhymes: Mary Had A Little Lamb His Fleece Was White As Snow MhAlLhFwWaS (use alternating upper and lower case) Throw two numbers in front of, behind or around it 0MhAlLhFwWaS9 Now throw two special characters in front of that !0MhAlLhFwWaS9@ That all by itself is a pretty secure password. If you want more, do that twice, perhaps Jack And Jill Went Up The Hill To Fetch A Pail Of Water #8JaJwUtHtFaPoW7$ !0MhAlLhFwWaS9@#8JaJwUtHtFaPoW7$ You get the picture. Either one is a good password, the two together are pretty industrial strength, and dead easy to remember until you have it assigned to muscle memory. Pick a favorite saying, slogan, song, whatever you already have remembered and just use the first character of each word, plus numbers and special symbols. Someone (on this list IIRC) claimed they had a password cracker that would crack any password in XX seconds. I think not. My password is 21 characters long using a simple system like that and takes me about 10 seconds to type in. 10 seconds is not too much to ask for an industrial strength memorable password. http://www.lockdown.co.uk/?pg=combi&s=articles John W. Colby Colby Consulting www.ColbyConsulting.com From Gustav at cactus.dk Mon Nov 19 09:14:19 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 19 Nov 2007 16:14:19 +0100 Subject: [AccessD] Hey, it's Friday Message-ID: What a wonderful evening, Arthur! Thank you for sharing. /gustav >>> fuller.artful at gmail.com 16-11-2007 15:24 >>> Last night was my 60th birthday, and about 25 of my friends had a surprise party for me. I was completely clueless about its occurrence. I have a favourite Indian restaurant in Toronto called Shalimar, owned and operated by a good friend called Khalid, and ironically, I decided that that was where I wanted to have dinner last night. So I booked a reservation, little knowing that the entire restaurant had already been booked. Khalid managed to keep a straight voice when I called. My friend Norma and my sister Clare came with me, and there's a great bookstore/recordstore next door which I insisted upon visiting, little knowing that there was a party awaiting me next door. This is a small restaurant (always a good sign), and when I walked in, I saw that the whole place had been re-arranged, a dozen tables united into one enormous long table, and as I scanned the occupants I realized bit by bit that I knew everyone at the table, and finally it dawned on me. To break bread with good friends is a good thing. To find oneself as the centre of attention, so to speak, surrounded by good friends, is truly breathtaking -- and humbling. For some reason or other, I have a collection of quality people to call my friends. We had fabulous food, wonderful conversation and I even received some cool presents and cards. Forced at one point to stand and make a speech, all I could manage was to thank my friends for being my friends. I've known almost everyone in attendance for 30 or so years, some more. There were even emails from persons who could not attend, such as one of my oldest friends, Paul Grenkow, who teaches English in Beijing, who could not attend only because his wife was expected to give birth on the day. I'm a lucky man. I have wonderful friends. But I do caution you to think carefully about holding a surprise party for 60yo people. The heart palpitations are unbelievable. On the other hand, what better way to go. A. From Gustav at cactus.dk Mon Nov 19 09:21:57 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 19 Nov 2007 16:21:57 +0100 Subject: [AccessD] Encrypting your stuff was offsite backup Message-ID: Hi William I know what tune: Suspicion. As I have heard you are talking to your computers, what came first to my mind was Love Me Tender, but that would be too sentimental. /gustav >>> wdhindman at dejpolsystems.com 16-11-2007 23:57 >>> I use a 4gig stick with a u3 encryption program, wear it on a chain around my neck. I seldom take a laptop to client offices anymore because most everything I need is on the stick ...just plug it in, log-on, sync, and go to work ...I use a similar password algorithm but based on an Elvis tune ...shows my age, it does :) William From jwcolby at colbyconsulting.com Mon Nov 19 09:56:11 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 19 Nov 2007 10:56:11 -0500 Subject: [AccessD] OT: make volume bootable Message-ID: <00ad01c82ac4$b5604140$6c7aa8c0@M90> I have a Windows 2003 server with an dedicated Areca raid controller. The system disk C: is on the raid controller, however another pair of disks are somehow involved in the boot process. These two disks are talking (SATA) directly to the motherboard SATA ports (using Raid1 via the motherboard raid controller), and to look at them there is nothing on them. However if I disconnect these disks then the system gives the old "boot disk not found" when the computer is reset. That implies that this pair of disks (a single Raid1 volume) contains boot files required to actually boot the computer even though the C: drive itself is on the Areca controller. How do I set the C: drive to be the boot drive and contain whatever these files are that are currently housed on this extra pair of disks? John W. Colby Colby Consulting www.ColbyConsulting.com From wdhindman at dejpolsystems.com Mon Nov 19 10:00:41 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 19 Nov 2007 11:00:41 -0500 Subject: [AccessD] Encrypting your stuff was offsite backup References: Message-ID: <000f01c82ac5$568352b0$0c10a8c0@jisshowsbs.local> ...lol ..."I'll Remember You" might be more appropriate :))) William ----- Original Message ----- From: "Gustav Brock" To: Sent: Monday, November 19, 2007 10:21 AM Subject: Re: [AccessD] Encrypting your stuff was offsite backup > Hi William > > I know what tune: Suspicion. > > As I have heard you are talking to your computers, what came first to my > mind was Love Me Tender, but that would be too sentimental. > > /gustav > >>>> wdhindman at dejpolsystems.com 16-11-2007 23:57 >>> > I use a 4gig stick with a u3 encryption program, wear it on a chain around > my neck. I seldom take a laptop to client offices anymore because most > everything I need is on the stick ...just plug it in, log-on, sync, and go > to work ...I use a similar password algorithm but based on an Elvis tune > ...shows my age, it does :) > > William > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Nov 19 09:58:49 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 19 Nov 2007 07:58:49 -0800 Subject: [AccessD] Encrypting your stuff was offsite backup In-Reply-To: <001301c82930$a9e31620$ef706c4c@jisshowsbs.local> References: <003101c828fd$8dcf9e50$8119fea9@LTVM> <001301c82930$a9e31620$ef706c4c@jisshowsbs.local> Message-ID: I'll GET you for that, Mr. Hindman. Grrr Charlotte Foust aka Granny -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Saturday, November 17, 2007 7:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup ...now, now Max ...we'd all like to accept your claim to the gerontological gold here ...but that would make you something like 80+ and writing code before the first computer was built ...besides which, only Charlotte is that old :) William ----- Original Message ----- From: To: "'Access Developers discussion and problem solving'" Sent: Saturday, November 17, 2007 4:38 AM Subject: Re: [AccessD] Encrypting your stuff was offsite backup > Elvis? Crikey, I was coding before he was born! > How about the Andrews Sisters (WW2 singers from Minnesota)- world famous > though. > > Max > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Friday, November 16, 2007 10:57 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > I use a 4gig stick with a u3 encryption program, wear it on a chain around > my neck. I seldom take a laptop to client offices anymore because most > everything I need is on the stick ...just plug it in, log-on, sync, and go > to work ...I use a similar password algorithm but based on an Elvis tune > ...shows my age, it does :) > > William > > ----- Original Message ----- > From: "jwcolby" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, November 16, 2007 4:46 PM > Subject: [AccessD] Encrypting your stuff was offsite backup > > >>I use this for my own protection. My laptop contains an encrypted file >>that >> contains my Colby Consulting stuff (books, etc). I have another >> encrypted >> drive that contains all client projects. Thus if the laptop ever does >> take >> a hike, all data is encrypted. the other nice thing about this is that >> you >> can backup all your work by copying a single encrypted file to a backup >> location. If that backup location ever takes a hike no data is exposed. >> >> I have a usb memory stick (just 1 gb for now) where 3/4 is an encrypted >> file. If I ever need to carry anything on my person, it is encrypted. >> The >> TrueCrypt program is stored on the unencrypted part and can be run from >> there. Thus I can stick the memory stick into a machine, run TrueCrypt, >> mount the drive and copy files to/from. Of course you do have to have >> admin >> rights in order to do this. >> >> I have been using this for about two years now and it just works. >> >> Just don't forget your password. >> >> I use the first character from a phrase or song, along with special >> characters and numbers which make it dead simple to remember when you are >> first learning your password. For example take two nursery rhymes: >> >> Mary Had A Little Lamb His Fleece Was White As Snow >> MhAlLhFwWaS >> (use alternating upper and lower case) >> Throw two numbers in front of, behind or around it >> 0MhAlLhFwWaS9 >> Now throw two special characters in front of that >> !0MhAlLhFwWaS9@ >> >> That all by itself is a pretty secure password. If you want more, do >> that >> twice, perhaps >> >> Jack And Jill Went Up The Hill To Fetch A Pail Of Water >> #8JaJwUtHtFaPoW7$ >> >> !0MhAlLhFwWaS9@#8JaJwUtHtFaPoW7$ >> >> You get the picture. Either one is a good password, the two together are >> pretty industrial strength, and dead easy to remember until you have it >> assigned to muscle memory. Pick a favorite saying, slogan, song, >> whatever >> you already have remembered and just use the first character of each >> word, >> plus numbers and special symbols. >> >> Someone (on this list IIRC) claimed they had a password cracker that >> would >> crack any password in XX seconds. I think not. My password is 21 >> characters long using a simple system like that and takes me about 10 >> seconds to type in. 10 seconds is not too much to ask for an industrial >> strength memorable password. >> >> http://www.lockdown.co.uk/?pg=combi&s=articles >> >> John W. Colby >> Colby Consulting >> www.ColbyConsulting.com >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> max.wanadoo at gmail.com >> Sent: Friday, November 16, 2007 2:11 PM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Off-Site Backup >> >> >> Hi William: >> >> Here is such an article which bears out your client's concerns: >> >> SECURITY? STICK IT! >> A recent survey by Tower Software has revealed that 49% of employees >> store >> work-related files in multiple locations - posing serious security >> threats >> and exposure as well as compliance and information management issues. >> To read the full story follow the link below... >> >> >> >> I have the FE secured with user logins, etc. The BE is password >> protected. >> Both ends (now) contained within encrypted files. Backups now contain >> encrypted files. Totally secure from "outsiders". >> >> BUT! - once you are in the system, a (valid) user can still "do things" >> unless he/she is totally restricted by the various methods outlined in >> postings to this site. Ie. Menu systems, exporting options, printing data >> options, etc. >> >> At some stage there has to be employee trust. Ie, unless I am trusted >> (being the developer) then nothing else works. >> >> Max >> >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >> Sent: Friday, November 16, 2007 6:22 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Off-Site Backup >> >> ...whoa! ...now there is something I'd never considered ...I have a >> client >> that is very concerned about employees stealing his data ...I'll have to >> take another look at this. >> >> William >> >> ----- Original Message ----- >> From: >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Friday, November 16, 2007 9:26 AM >> Subject: Re: [AccessD] Off-Site Backup >> >> >>> John Colby: >>> >>> Many thanks for the pointer to TrueCrypt. This is fantastic! I now >>> have all my BE Data in an encrypted file on the Server and the FE's in >>> an encrypted file on user's PC's. Even if they steal all the >>> computers they will never get access to the data without my 40 char >>> key to mount the volumes. >>> >>> Brilliant tip, John. Many thanks >>> >>> Max >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kost36 at otenet.gr Mon Nov 19 10:05:16 2007 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Mon, 19 Nov 2007 18:05:16 +0200 Subject: [AccessD] MSAccess 2007 - Count days In-Reply-To: References: Message-ID: <36EF25C510BD445685F3851603BD65EF@kost36PC> Hi Gustav, I feel to say a great thank's to you and all the people aided me the last two years to face many problems on my beggining in ms access. Be well kostas ----- Original Message ----- From: "Gustav Brock" To: Sent: Monday, November 19, 2007 4:23 PM Subject: Re: [AccessD] MSAccess 2007 - Count days > Hi Kostas > > You can copy and paste the code into a new module. Save this and the > function can be used anywhere as the built-in functions of Access (like, > say, DateDiff). > If this is what is causing you problems, somebody else could perhaps help > you with a beginner's guide to VBA (I have none, sorry). > > /gustav > >>>> kost36 at otenet.gr 16-11-2007 11:23 >>> > Gustav, > could you please show me the way to use that function > I am not really familiar with function's code > thank's a lot > /kostas > > > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Friday, November 16, 2007 1:17 AM > Subject: Re: [AccessD] MSAccess 2007 - Count days > > >> Hi Kostas >> >> Here is the function we use: >> >> Public Function ISO_WorkdayDiff( _ >> ByVal datDateFrom As Date, _ >> ByVal datDateTo As Date) _ >> As Long >> >> ' Purpose: Calculate number of working days between dates datDateFrom and >> datDateTo. >> ' Assumes: 5 or 6 working days per week. Weekend is (Saturday and) >> Sunday. >> ' Limitation: Does not count for public holidays. >> ' May be freely used and distributed. >> ' 1999-04-23. Gustav Brock, Cactus Data ApS, Copenhagen >> ' 2000-10-03. Constants added. >> ' Option for 5 or 6 working days per week added. >> >> Const cbytWorkdaysOfWeek As Byte = 5 >> >> Dim bytSunday As Byte >> Dim intWeekdayDateFrom As Integer >> Dim intWeekdayDateTo As Integer >> Dim lngDays As Long >> Dim datDateTemp As Date >> >> ' Reverse dates if these have been input reversed. >> If datDateFrom > datDateTo Then >> datDateTemp = datDateFrom >> datDateFrom = datDateTo >> datDateTo = datDateTemp >> End If >> >> ' Find ISO weekday for Sunday. >> bytSunday = WeekDay(vbSunday, vbMonday) >> >> ' Find weekdays for the dates. >> intWeekdayDateFrom = WeekDay(datDateFrom, vbMonday) >> intWeekdayDateTo = WeekDay(datDateTo, vbMonday) >> >> ' Compensate weekdays' value for non-working days (weekends). >> intWeekdayDateFrom = intWeekdayDateFrom + (intWeekdayDateFrom = >> bytSunday) >> intWeekdayDateTo = intWeekdayDateTo + (intWeekdayDateTo = bytSunday) >> >> ' Calculate number of working days between the two weekdays, ignoring >> number of weeks. >> lngDays = intWeekdayDateTo - intWeekdayDateFrom - (cbytWorkdaysOfWeek * >> (intWeekdayDateTo < intWeekdayDateFrom)) >> ' Add number of working days between the weeks of the two dates. >> lngDays = lngDays + (cbytWorkdaysOfWeek * DateDiff("w", datDateFrom, >> datDateTo, vbMonday, vbFirstFourDays)) >> >> ISO_WorkdayDiff = lngDays >> >> End Function >> >> To exclude holidays, look up and count the holidays from a table of >> holidays not falling in weekends; substract this number from the count of >> working days. >> >> /gustav >> >>>>> kost36 at otenet.gr 15-11-07 20:49 >>> >> Hi all, >> >> Does anybody know how it could be possible to count >> the work days between two days excluding weekends and local holidays >> To my coutry there are several dates as holidays and some of them >> are moving year by year >> >> many thank's to all >> >> /kostas > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Mon Nov 19 10:11:31 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 19 Nov 2007 11:11:31 -0500 Subject: [AccessD] Encrypting your stuff was offsite backup In-Reply-To: References: <003101c828fd$8dcf9e50$8119fea9@LTVM><001301c82930$a9e31620$ef706c4c@jisshowsbs.local> Message-ID: <00ae01c82ac6$d9d03010$6c7aa8c0@M90> I am amazed that Mr Hindman has lived to his current age... And that he would sling stuff like that given his current age... John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 19, 2007 10:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup I'll GET you for that, Mr. Hindman. Grrr Charlotte Foust aka Granny -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Saturday, November 17, 2007 7:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup ...now, now Max ...we'd all like to accept your claim to the gerontological gold here ...but that would make you something like 80+ and writing code before the first computer was built ...besides which, only Charlotte is that old :) William ----- Original Message ----- From: To: "'Access Developers discussion and problem solving'" Sent: Saturday, November 17, 2007 4:38 AM Subject: Re: [AccessD] Encrypting your stuff was offsite backup > Elvis? Crikey, I was coding before he was born! > How about the Andrews Sisters (WW2 singers from Minnesota)- world famous > though. > > Max > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Friday, November 16, 2007 10:57 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > I use a 4gig stick with a u3 encryption program, wear it on a chain around > my neck. I seldom take a laptop to client offices anymore because most > everything I need is on the stick ...just plug it in, log-on, sync, and go > to work ...I use a similar password algorithm but based on an Elvis tune > ...shows my age, it does :) > > William From cfoust at infostatsystems.com Mon Nov 19 10:14:47 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 19 Nov 2007 08:14:47 -0800 Subject: [AccessD] Encrypting your stuff was offsite backup In-Reply-To: <00ae01c82ac6$d9d03010$6c7aa8c0@M90> References: <003101c828fd$8dcf9e50$8119fea9@LTVM><001301c82930$a9e31620$ef706c4c@jisshowsbs.local> <00ae01c82ac6$d9d03010$6c7aa8c0@M90> Message-ID: Well, I hope he enjoys his current age because he isn't likely to live much longer! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 19, 2007 8:12 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Encrypting your stuff was offsite backup I am amazed that Mr Hindman has lived to his current age... And that he would sling stuff like that given his current age... John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 19, 2007 10:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup I'll GET you for that, Mr. Hindman. Grrr Charlotte Foust aka Granny -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Saturday, November 17, 2007 7:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup ...now, now Max ...we'd all like to accept your claim to the gerontological gold here ...but that would make you something like 80+ and writing code before the first computer was built ...besides which, only Charlotte is that old :) William From jwcolby at colbyconsulting.com Mon Nov 19 10:22:36 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 19 Nov 2007 11:22:36 -0500 Subject: [AccessD] Encrypting your stuff was offsite backup In-Reply-To: References: <003101c828fd$8dcf9e50$8119fea9@LTVM><001301c82930$a9e31620$ef706c4c@jisshowsbs.local><00ae01c82ac6$d9d03010$6c7aa8c0@M90> Message-ID: <00af01c82ac8$65ddf550$6c7aa8c0@M90> Planning a trip to Disney World Orlando? ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 19, 2007 11:15 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup Well, I hope he enjoys his current age because he isn't likely to live much longer! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 19, 2007 8:12 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Encrypting your stuff was offsite backup I am amazed that Mr Hindman has lived to his current age... And that he would sling stuff like that given his current age... John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 19, 2007 10:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup I'll GET you for that, Mr. Hindman. Grrr Charlotte Foust aka Granny -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Saturday, November 17, 2007 7:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup ...now, now Max ...we'd all like to accept your claim to the gerontological gold here ...but that would make you something like 80+ and writing code before the first computer was built ...besides which, only Charlotte is that old :) William -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Mon Nov 19 10:29:01 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 19 Nov 2007 17:29:01 +0100 Subject: [AccessD] Encrypting your stuff was offsite backup Message-ID: Hi William Wasn't that Frank Ifield? O'boy, this is racing OT ... /gustav >>> wdhindman at dejpolsystems.com 19-11-2007 17:00 >>> ...lol ..."I'll Remember You" might be more appropriate :))) William ----- Original Message ----- From: "Gustav Brock" To: Sent: Monday, November 19, 2007 10:21 AM Subject: Re: [AccessD] Encrypting your stuff was offsite backup > Hi William > > I know what tune: Suspicion. > > As I have heard you are talking to your computers, what came first to my > mind was Love Me Tender, but that would be too sentimental. > > /gustav > >>>> wdhindman at dejpolsystems.com 16-11-2007 23:57 >>> > I use a 4gig stick with a u3 encryption program, wear it on a chain around > my neck. I seldom take a laptop to client offices anymore because most > everything I need is on the stick ...just plug it in, log-on, sync, and go > to work ...I use a similar password algorithm but based on an Elvis tune > ...shows my age, it does :) > > William From cfoust at infostatsystems.com Mon Nov 19 10:29:38 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 19 Nov 2007 08:29:38 -0800 Subject: [AccessD] Encrypting your stuff was offsite backup In-Reply-To: <00af01c82ac8$65ddf550$6c7aa8c0@M90> References: <003101c828fd$8dcf9e50$8119fea9@LTVM><001301c82930$a9e31620$ef706c4c@jisshowsbs.local><00ae01c82ac6$d9d03010$6c7aa8c0@M90> <00af01c82ac8$65ddf550$6c7aa8c0@M90> Message-ID: Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 19, 2007 8:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Encrypting your stuff was offsite backup Planning a trip to Disney World Orlando? ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 19, 2007 11:15 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup Well, I hope he enjoys his current age because he isn't likely to live much longer! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 19, 2007 8:12 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Encrypting your stuff was offsite backup I am amazed that Mr Hindman has lived to his current age... And that he would sling stuff like that given his current age... John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 19, 2007 10:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup I'll GET you for that, Mr. Hindman. Grrr Charlotte Foust aka Granny -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Saturday, November 17, 2007 7:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup ...now, now Max ...we'd all like to accept your claim to the gerontological gold here ...but that would make you something like 80+ and writing code before the first computer was built ...besides which, only Charlotte is that old :) William -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 19 10:37:15 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 19 Nov 2007 17:37:15 +0100 Subject: [AccessD] Encrypting your stuff was offsite backup Message-ID: Hi John How dare you? Implying Charlotte to be the turkey at the upcoming parade? /gustav PS: That story about the lady spreading "baby powder" in the park has travelled the ocean ... >>> jwcolby at colbyconsulting.com 19-11-2007 17:22 >>> Planning a trip to Disney World Orlando? ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 19, 2007 11:15 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup Well, I hope he enjoys his current age because he isn't likely to live much longer! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 19, 2007 8:12 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Encrypting your stuff was offsite backup I am amazed that Mr Hindman has lived to his current age... And that he would sling stuff like that given his current age... John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 19, 2007 10:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup I'll GET you for that, Mr. Hindman. Grrr Charlotte Foust aka Granny -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Saturday, November 17, 2007 7:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup ...now, now Max ...we'd all like to accept your claim to the gerontological gold here ...but that would make you something like 80+ and writing code before the first computer was built ...besides which, only Charlotte is that old :) William From jwcolby at colbyconsulting.com Mon Nov 19 10:57:27 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 19 Nov 2007 11:57:27 -0500 Subject: [AccessD] Encrypting your stuff was offsite backup In-Reply-To: References: Message-ID: <00b601c82acd$447f8810$6c7aa8c0@M90> I had never heard of that until you mentioned it. I googled it and boy, what a sicko lot we humans are! It sounds like a HUGE expense for Disney World. http://www.mouseowners.com/forums/showthread.php?t=11584 John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, November 19, 2007 11:37 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Encrypting your stuff was offsite backup Hi John How dare you? Implying Charlotte to be the turkey at the upcoming parade? /gustav PS: That story about the lady spreading "baby powder" in the park has travelled the ocean ... >>> jwcolby at colbyconsulting.com 19-11-2007 17:22 >>> Planning a trip to Disney World Orlando? ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 19, 2007 11:15 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup Well, I hope he enjoys his current age because he isn't likely to live much longer! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 19, 2007 8:12 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Encrypting your stuff was offsite backup I am amazed that Mr Hindman has lived to his current age... And that he would sling stuff like that given his current age... John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 19, 2007 10:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup I'll GET you for that, Mr. Hindman. Grrr Charlotte Foust aka Granny -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Saturday, November 17, 2007 7:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup ...now, now Max ...we'd all like to accept your claim to the gerontological gold here ...but that would make you something like 80+ and writing code before the first computer was built ...besides which, only Charlotte is that old :) William -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Nov 19 13:20:48 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 19 Nov 2007 11:20:48 -0800 Subject: [AccessD] Output to PDF Message-ID: <004701c82ae1$4abd7e80$0301a8c0@HAL9005> Dear List: I have a client who wants to put a couple of reports out to PDF, attach them to emails and send them to customers. I have his copy of Acrobat 8 and have a couple of weeks left to figure out how to do this. I see, since installing it that I have references to Acrobat, Acrobat 3.0 Type Library, and Acrobat Distiller. Does anyone have a reference to how these objects work? Or maybe there's a simpler way? Ideally, I want to be able to name the output file and send it to a specific location so I can attach it to an email. MTIA Rocky From jwcolby at colbyconsulting.com Mon Nov 19 13:29:13 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 19 Nov 2007 14:29:13 -0500 Subject: [AccessD] Action Pack Subscribers Message-ID: <00d101c82ae2$784fcb90$6c7aa8c0@M90> For those of you doing Web stuff I just found this: https://partner.microsoft.com/us/40047166 John W. Colby Colby Consulting www.ColbyConsulting.com From Mwp.Reid at qub.ac.uk Mon Nov 19 13:38:17 2007 From: Mwp.Reid at qub.ac.uk (Martin W Reid) Date: Mon, 19 Nov 2007 19:38:17 +0000 Subject: [AccessD] Output to PDF In-Reply-To: <004701c82ae1$4abd7e80$0301a8c0@HAL9005> References: <004701c82ae1$4abd7e80$0301a8c0@HAL9005> Message-ID: Rocky http://www.granite.ab.ca/access/pdffiles.htm Martin Martin WP Reid Information Services Queen's University Riddel Hall 185 Stranmillis Road Belfast BT9 5EE Tel : 02890974465 Email : mwp.reid at qub.ac.uk ________________________________________ From: accessd-bounces at databaseadvisors.com [accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software [rockysmolin at bchacc.com] Sent: 19 November 2007 19:20 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Output to PDF Dear List: I have a client who wants to put a couple of reports out to PDF, attach them to emails and send them to customers. I have his copy of Acrobat 8 and have a couple of weeks left to figure out how to do this. I see, since installing it that I have references to Acrobat, Acrobat 3.0 Type Library, and Acrobat Distiller. Does anyone have a reference to how these objects work? Or maybe there's a simpler way? Ideally, I want to be able to name the output file and send it to a specific location so I can attach it to an email. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheygood at abestsystems.com Mon Nov 19 13:59:17 2007 From: bheygood at abestsystems.com (Bob Heygood) Date: Mon, 19 Nov 2007 11:59:17 -0800 Subject: [AccessD] Output to PDF In-Reply-To: <004701c82ae1$4abd7e80$0301a8c0@HAL9005> References: <004701c82ae1$4abd7e80$0301a8c0@HAL9005> Message-ID: <00ad01c82ae6$aad7e760$800101df@speedy> Hey Rocky, The first thing I would do is to try to get them to upgrade to the latest version of Acrobat. Things only got easier as the product improved. If they won't spring for it, you may want to forgo Acrobat and try some shareware/less expensive solutions. Bob Heygood -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 19, 2007 11:21 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Output to PDF Dear List: I have a client who wants to put a couple of reports out to PDF, attach them to emails and send them to customers. I have his copy of Acrobat 8 and have a couple of weeks left to figure out how to do this. I see, since installing it that I have references to Acrobat, Acrobat 3.0 Type Library, and Acrobat Distiller. Does anyone have a reference to how these objects work? Or maybe there's a simpler way? Ideally, I want to be able to name the output file and send it to a specific location so I can attach it to an email. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prosoft6 at hotmail.com Mon Nov 19 14:42:15 2007 From: prosoft6 at hotmail.com (Julie Reardon) Date: Mon, 19 Nov 2007 15:42:15 -0500 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <00d101c82ae2$784fcb90$6c7aa8c0@M90> References: <00d101c82ae2$784fcb90$6c7aa8c0@M90> Message-ID: Thanks for that link John. I took the test after the course and passed, but never received a confirmation in e-mail. Did anyone else take it? Julie Reardon PRO-SOFT of NY, Inc. 44 Public Square, Suite 5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 NYS IT Contract#CMT026A NYS Certified Woman-Owned Business www.pro-soft.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 19, 2007 2:29 PM To: 'Access Developers discussion and problem solving'; dba-sqlserver at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Action Pack Subscribers For those of you doing Web stuff I just found this: https://partner.microsoft.com/us/40047166 John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Nov 19 14:53:45 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 19 Nov 2007 12:53:45 -0800 Subject: [AccessD] Output to PDF In-Reply-To: <00ad01c82ae6$aad7e760$800101df@speedy> References: <004701c82ae1$4abd7e80$0301a8c0@HAL9005> <00ad01c82ae6$aad7e760$800101df@speedy> Message-ID: <005c01c82aee$474f6df0$0301a8c0@HAL9005> Acrobat 8 isn't the latest? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Monday, November 19, 2007 11:59 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Output to PDF Hey Rocky, The first thing I would do is to try to get them to upgrade to the latest version of Acrobat. Things only got easier as the product improved. If they won't spring for it, you may want to forgo Acrobat and try some shareware/less expensive solutions. Bob Heygood -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 19, 2007 11:21 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Output to PDF Dear List: I have a client who wants to put a couple of reports out to PDF, attach them to emails and send them to customers. I have his copy of Acrobat 8 and have a couple of weeks left to figure out how to do this. I see, since installing it that I have references to Acrobat, Acrobat 3.0 Type Library, and Acrobat Distiller. Does anyone have a reference to how these objects work? Or maybe there's a simpler way? Ideally, I want to be able to name the output file and send it to a specific location so I can attach it to an email. 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.0/1137 - Release Date: 11/18/2007 5:15 PM From rockysmolin at bchacc.com Mon Nov 19 15:05:48 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 19 Nov 2007 13:05:48 -0800 Subject: [AccessD] Output to PDF In-Reply-To: References: <004701c82ae1$4abd7e80$0301a8c0@HAL9005> Message-ID: <005d01c82aef$f642c360$0301a8c0@HAL9005> Looks good. Thanks. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin W Reid Sent: Monday, November 19, 2007 11:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Output to PDF Rocky http://www.granite.ab.ca/access/pdffiles.htm Martin Martin WP Reid Information Services Queen's University Riddel Hall 185 Stranmillis Road Belfast BT9 5EE Tel : 02890974465 Email : mwp.reid at qub.ac.uk ________________________________________ From: accessd-bounces at databaseadvisors.com [accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software [rockysmolin at bchacc.com] Sent: 19 November 2007 19:20 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Output to PDF Dear List: I have a client who wants to put a couple of reports out to PDF, attach them to emails and send them to customers. I have his copy of Acrobat 8 and have a couple of weeks left to figure out how to do this. I see, since installing it that I have references to Acrobat, Acrobat 3.0 Type Library, and Acrobat Distiller. Does anyone have a reference to how these objects work? Or maybe there's a simpler way? Ideally, I want to be able to name the output file and send it to a specific location so I can attach it to an email. 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.0/1137 - Release Date: 11/18/2007 5:15 PM From jwcolby at colbyconsulting.com Mon Nov 19 15:21:59 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 19 Nov 2007 16:21:59 -0500 Subject: [AccessD] Action Pack Subscribers In-Reply-To: References: <00d101c82ae2$784fcb90$6c7aa8c0@M90> Message-ID: <00d801c82af2$394d2b30$6c7aa8c0@M90> I have not taken any of the tests. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon Sent: Monday, November 19, 2007 3:42 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Action Pack Subscribers Thanks for that link John. I took the test after the course and passed, but never received a confirmation in e-mail. Did anyone else take it? Julie Reardon PRO-SOFT of NY, Inc. 44 Public Square, Suite 5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 NYS IT Contract#CMT026A NYS Certified Woman-Owned Business www.pro-soft.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 19, 2007 2:29 PM To: 'Access Developers discussion and problem solving'; dba-sqlserver at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Action Pack Subscribers For those of you doing Web stuff I just found this: https://partner.microsoft.com/us/40047166 John W. Colby Colby Consulting 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 iggy at nanaimo.ark.com Mon Nov 19 15:25:10 2007 From: iggy at nanaimo.ark.com (Tony Septav) Date: Mon, 19 Nov 2007 13:25:10 -0800 Subject: [AccessD] PDF Message-ID: <4741FF36.3050801@nanaimo.ark.com> Hey Rocky KISS Checkout Lebans Access Reports to PDF It is a beauty, been using it for years. From dw-murphy at cox.net Mon Nov 19 15:39:23 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Mon, 19 Nov 2007 13:39:23 -0800 Subject: [AccessD] Output to PDF In-Reply-To: <004701c82ae1$4abd7e80$0301a8c0@HAL9005> Message-ID: <004c01c82af4$a6d8ec00$0200a8c0@murphy3234aaf1> Rocky, Use Lebans Output to PDF. Works great and you can name files and store them in any directory you want. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 19, 2007 11:21 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Output to PDF Dear List: I have a client who wants to put a couple of reports out to PDF, attach them to emails and send them to customers. I have his copy of Acrobat 8 and have a couple of weeks left to figure out how to do this. I see, since installing it that I have references to Acrobat, Acrobat 3.0 Type Library, and Acrobat Distiller. Does anyone have a reference to how these objects work? Or maybe there's a simpler way? Ideally, I want to be able to name the output file and send it to a specific location so I can attach it to an email. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheygood at abestsystems.com Mon Nov 19 16:22:36 2007 From: bheygood at abestsystems.com (Bob Heygood) Date: Mon, 19 Nov 2007 14:22:36 -0800 Subject: [AccessD] Output to PDF In-Reply-To: <005c01c82aee$474f6df0$0301a8c0@HAL9005> References: <004701c82ae1$4abd7e80$0301a8c0@HAL9005><00ad01c82ae6$aad7e760$800101df@speedy> <005c01c82aee$474f6df0$0301a8c0@HAL9005> Message-ID: <00fb01c82afa$b048c9d0$800101df@speedy> Hey Rocky, Sure but I read 3.0 in your original.... "Acrobat 3.0 Type Library" Bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 19, 2007 12:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Output to PDF Acrobat 8 isn't the latest? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Monday, November 19, 2007 11:59 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Output to PDF Hey Rocky, The first thing I would do is to try to get them to upgrade to the latest version of Acrobat. Things only got easier as the product improved. If they won't spring for it, you may want to forgo Acrobat and try some shareware/less expensive solutions. Bob Heygood -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 19, 2007 11:21 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Output to PDF Dear List: I have a client who wants to put a couple of reports out to PDF, attach them to emails and send them to customers. I have his copy of Acrobat 8 and have a couple of weeks left to figure out how to do this. I see, since installing it that I have references to Acrobat, Acrobat 3.0 Type Library, and Acrobat Distiller. Does anyone have a reference to how these objects work? Or maybe there's a simpler way? Ideally, I want to be able to name the output file and send it to a specific location so I can attach it to an email. 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.0/1137 - Release Date: 11/18/2007 5:15 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Mon Nov 19 16:39:55 2007 From: actebs at actebs.com.au (ACTEBS) Date: Tue, 20 Nov 2007 09:39:55 +1100 Subject: [AccessD] Output to PDF In-Reply-To: <00fb01c82afa$b048c9d0$800101df@speedy> Message-ID: <007c01c82afd$1ba52780$0d08a8c0@carltonone.local> Rocky, Don't worry about using the full blown Acrobat. Use PDFCreator which is Open Source and has code samples available here: http://www.pdfforge.org/ Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Tuesday, 20 November 2007 9:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Output to PDF Hey Rocky, Sure but I read 3.0 in your original.... "Acrobat 3.0 Type Library" Bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 19, 2007 12:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Output to PDF Acrobat 8 isn't the latest? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Monday, November 19, 2007 11:59 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Output to PDF Hey Rocky, The first thing I would do is to try to get them to upgrade to the latest version of Acrobat. Things only got easier as the product improved. If they won't spring for it, you may want to forgo Acrobat and try some shareware/less expensive solutions. Bob Heygood -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 19, 2007 11:21 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Output to PDF Dear List: I have a client who wants to put a couple of reports out to PDF, attach them to emails and send them to customers. I have his copy of Acrobat 8 and have a couple of weeks left to figure out how to do this. I see, since installing it that I have references to Acrobat, Acrobat 3.0 Type Library, and Acrobat Distiller. Does anyone have a reference to how these objects work? Or maybe there's a simpler way? Ideally, I want to be able to name the output file and send it to a specific location so I can attach it to an email. 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.0/1137 - Release Date: 11/18/2007 5:15 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 19 17:05:22 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 19 Nov 2007 18:05:22 -0500 Subject: [AccessD] Disconnected Recordsets in 2007 Message-ID: <00f401c82b00$ad2cfc20$4b3a8343@SusanOne> Is there any substantial difference in using disconnected Recordsets from 2003 to 2007? Susan H. From wdhindman at dejpolsystems.com Mon Nov 19 17:35:25 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 19 Nov 2007 18:35:25 -0500 Subject: [AccessD] Output to PDF References: <004c01c82af4$a6d8ec00$0200a8c0@murphy3234aaf1> Message-ID: <002101c82b04$dd5ecbe0$ef706c4c@jisshowsbs.local> ...amen to Lebans ...its in every one of my apps ...combined with his RTF control and his Report to Word stuff, you can build a really nice combo ...and he actually supports his stuff in the MS news groups. William ----- Original Message ----- From: "Doug Murphy" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 19, 2007 4:39 PM Subject: Re: [AccessD] Output to PDF > Rocky, > > Use Lebans Output to PDF. Works great and you can name files and store > them > in any directory you want. > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Monday, November 19, 2007 11:21 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Output to PDF > > Dear List: > > I have a client who wants to put a couple of reports out to PDF, attach > them > to emails and send them to customers. I have his copy of Acrobat 8 and > have > a couple of weeks left to figure out how to do this. > > I see, since installing it that I have references to Acrobat, Acrobat 3.0 > Type Library, and Acrobat Distiller. Does anyone have a reference to how > these objects work? Or maybe there's a simpler way? > > Ideally, I want to be able to name the output file and send it to a > specific > location so I can attach it to an email. > > 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 rockysmolin at bchacc.com Mon Nov 19 18:01:47 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 19 Nov 2007 16:01:47 -0800 Subject: [AccessD] Output to PDF In-Reply-To: <00fb01c82afa$b048c9d0$800101df@speedy> References: <004701c82ae1$4abd7e80$0301a8c0@HAL9005><00ad01c82ae6$aad7e760$800101df@speedy><005c01c82aee$474f6df0$0301a8c0@HAL9005> <00fb01c82afa$b048c9d0$800101df@speedy> Message-ID: <007f01c82b08$8c390920$0301a8c0@HAL9005> O. That was in the references. They've got 8. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Monday, November 19, 2007 2:23 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Output to PDF Hey Rocky, Sure but I read 3.0 in your original.... "Acrobat 3.0 Type Library" Bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 19, 2007 12:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Output to PDF Acrobat 8 isn't the latest? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Monday, November 19, 2007 11:59 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Output to PDF Hey Rocky, The first thing I would do is to try to get them to upgrade to the latest version of Acrobat. Things only got easier as the product improved. If they won't spring for it, you may want to forgo Acrobat and try some shareware/less expensive solutions. Bob Heygood -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 19, 2007 11:21 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Output to PDF Dear List: I have a client who wants to put a couple of reports out to PDF, attach them to emails and send them to customers. I have his copy of Acrobat 8 and have a couple of weeks left to figure out how to do this. I see, since installing it that I have references to Acrobat, Acrobat 3.0 Type Library, and Acrobat Distiller. Does anyone have a reference to how these objects work? Or maybe there's a simpler way? Ideally, I want to be able to name the output file and send it to a specific location so I can attach it to an email. 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.0/1137 - Release Date: 11/18/2007 5:15 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.0/1137 - Release Date: 11/18/2007 5:15 PM From rockysmolin at bchacc.com Mon Nov 19 18:02:55 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 19 Nov 2007 16:02:55 -0800 Subject: [AccessD] Output to PDF In-Reply-To: <005d01c82aef$f642c360$0301a8c0@HAL9005> References: <004701c82ae1$4abd7e80$0301a8c0@HAL9005> <005d01c82aef$f642c360$0301a8c0@HAL9005> Message-ID: <008001c82b08$b44e9240$0301a8c0@HAL9005> And thank you to everyone else who's touting me on Lebans. I'm slow, but I'm teachable. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 19, 2007 1:06 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Output to PDF Looks good. Thanks. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin W Reid Sent: Monday, November 19, 2007 11:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Output to PDF Rocky http://www.granite.ab.ca/access/pdffiles.htm Martin Martin WP Reid Information Services Queen's University Riddel Hall 185 Stranmillis Road Belfast BT9 5EE Tel : 02890974465 Email : mwp.reid at qub.ac.uk ________________________________________ From: accessd-bounces at databaseadvisors.com [accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software [rockysmolin at bchacc.com] Sent: 19 November 2007 19:20 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Output to PDF Dear List: I have a client who wants to put a couple of reports out to PDF, attach them to emails and send them to customers. I have his copy of Acrobat 8 and have a couple of weeks left to figure out how to do this. I see, since installing it that I have references to Acrobat, Acrobat 3.0 Type Library, and Acrobat Distiller. Does anyone have a reference to how these objects work? Or maybe there's a simpler way? Ideally, I want to be able to name the output file and send it to a specific location so I can attach it to an email. 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.0/1137 - Release Date: 11/18/2007 5:15 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.0/1137 - Release Date: 11/18/2007 5:15 PM From jedi at charm.net Mon Nov 19 21:03:59 2007 From: jedi at charm.net (Michael Bahr) Date: Mon, 19 Nov 2007 22:03:59 -0500 (EST) Subject: [AccessD] OT: make volume bootable In-Reply-To: <00ad01c82ac4$b5604140$6c7aa8c0@M90> References: <00ad01c82ac4$b5604140$6c7aa8c0@M90> Message-ID: <1289.24.35.45.228.1195527839.squirrel@mail.expedient.net> Try this: 1. Navigate to the Disk Management console. 2. Right-click the grey 'Disk Description' pane that is located to the left of the Color-coded volume panes. 3. Select, Upgrade to Dynamic Disk.' Note you will have to reboot not once, but twice. If that does not work then reformat. Backup all your data then reformat. The big negative about RAID is that it is one-way. Once you set up as RAID you can not go back without lots of pain. Mike.. > I have a Windows 2003 server with an dedicated Areca raid controller. The > system disk C: is on the raid controller, however another pair of disks > are > somehow involved in the boot process. These two disks are talking (SATA) > directly to the motherboard SATA ports (using Raid1 via the motherboard > raid > controller), and to look at them there is nothing on them. However if I > disconnect these disks then the system gives the old "boot disk not found" > when the computer is reset. That implies that this pair of disks (a > single > Raid1 volume) contains boot files required to actually boot the computer > even though the C: drive itself is on the Areca controller. > > How do I set the C: drive to be the boot drive and contain whatever these > files are that are currently housed on this extra pair of disks? > > John W. Colby > Colby Consulting > www.ColbyConsulting.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 Nov 20 01:20:19 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 19 Nov 2007 23:20:19 -0800 Subject: [AccessD] A2K7 Navigation Pane Message-ID: <00df01c82b45$ced67c80$0301a8c0@HAL9005> Dear List: A client writes to ask if the Navigation Pane (which in his screen shot is on the left side of the screen) can be made to disappear through code. I don't have A2007 so I don't know. I guess this 'Navigation Pane' is something new in A2007? Is there a line of code that will turn the pane off? An if the user is running 2003 is suppose it would generate an error but I could precede the code to turn off the pane with On Error Resume Next? MTIA, Rocky From Gustav at cactus.dk Tue Nov 20 04:16:11 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 20 Nov 2007 11:16:11 +0100 Subject: [AccessD] Action Pack Subscribers Message-ID: Hi Julie This was discussed in the recent thread: "Action Pack, now with special edition toolkit for Web Solution Providers" http://databaseadvisors.com/pipermail/accessd/2007-October/055763.html I did take a test: http://databaseadvisors.com/pipermail/accessd/2007-October/055800.html As for the confirmation, step 4 at the tab "How to Get Your Toolkit" explains: Step 4: Order the Web Solutions Toolkit when you receive an email alert that it is available. For scheduled ship dates, visit the Standard Contents page. I guess you just have to trust that statement. /gustav >>> prosoft6 at hotmail.com 19-11-2007 21:42 >>> Thanks for that link John. I took the test after the course and passed, but never received a confirmation in e-mail. Did anyone else take it? Julie Reardon PRO-SOFT of NY, Inc. 44 Public Square, Suite 5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 NYS IT Contract#CMT026A NYS Certified Woman-Owned Business www.pro-soft.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 19, 2007 2:29 PM To: 'Access Developers discussion and problem solving'; dba-sqlserver at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Action Pack Subscribers For those of you doing Web stuff I just found this: https://partner.microsoft.com/us/40047166 John W. Colby Colby Consulting www.ColbyConsulting.com From jwcolby at colbyconsulting.com Tue Nov 20 07:58:04 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Nov 2007 08:58:04 -0500 Subject: [AccessD] Action Pack Subscribers In-Reply-To: References: Message-ID: <001601c82b7d$5fd01d40$6c7aa8c0@M90> Gustav / Julie, I think the link that I just posted is the notification of when it will be available? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, November 20, 2007 5:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Action Pack Subscribers Hi Julie This was discussed in the recent thread: "Action Pack, now with special edition toolkit for Web Solution Providers" http://databaseadvisors.com/pipermail/accessd/2007-October/055763.html I did take a test: http://databaseadvisors.com/pipermail/accessd/2007-October/055800.html As for the confirmation, step 4 at the tab "How to Get Your Toolkit" explains: Step 4: Order the Web Solutions Toolkit when you receive an email alert that it is available. For scheduled ship dates, visit the Standard Contents page. I guess you just have to trust that statement. /gustav >>> prosoft6 at hotmail.com 19-11-2007 21:42 >>> Thanks for that link John. I took the test after the course and passed, but never received a confirmation in e-mail. Did anyone else take it? Julie Reardon PRO-SOFT of NY, Inc. 44 Public Square, Suite 5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 NYS IT Contract#CMT026A NYS Certified Woman-Owned Business www.pro-soft.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 19, 2007 2:29 PM To: 'Access Developers discussion and problem solving'; dba-sqlserver at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Action Pack Subscribers For those of you doing Web stuff I just found this: https://partner.microsoft.com/us/40047166 John W. Colby Colby Consulting 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 Nov 20 08:12:51 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Nov 2007 09:12:51 -0500 Subject: [AccessD] Action Pack Subscribers In-Reply-To: References: Message-ID: <001701c82b7f$705dde20$6c7aa8c0@M90> What I am still trying to figure out is... is this a way to get the Visual Studio 2008 for "free"? IOW it does not come in the action pack but they will give it to action pack subscribers IS they take this test? That is how I got an additional copy of VS 2005, which I gave away as a door prize for the First Annual Greater Smokey Mountain AccessD conference. If I do this I guess I will have to keep this one since I don't have VS 2008. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, November 20, 2007 5:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Action Pack Subscribers Hi Julie This was discussed in the recent thread: "Action Pack, now with special edition toolkit for Web Solution Providers" http://databaseadvisors.com/pipermail/accessd/2007-October/055763.html I did take a test: http://databaseadvisors.com/pipermail/accessd/2007-October/055800.html As for the confirmation, step 4 at the tab "How to Get Your Toolkit" explains: Step 4: Order the Web Solutions Toolkit when you receive an email alert that it is available. For scheduled ship dates, visit the Standard Contents page. I guess you just have to trust that statement. /gustav >>> prosoft6 at hotmail.com 19-11-2007 21:42 >>> Thanks for that link John. I took the test after the course and passed, but never received a confirmation in e-mail. Did anyone else take it? Julie Reardon PRO-SOFT of NY, Inc. 44 Public Square, Suite 5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 NYS IT Contract#CMT026A NYS Certified Woman-Owned Business www.pro-soft.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 19, 2007 2:29 PM To: 'Access Developers discussion and problem solving'; dba-sqlserver at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Action Pack Subscribers For those of you doing Web stuff I just found this: https://partner.microsoft.com/us/40047166 John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Tue Nov 20 08:16:48 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 20 Nov 2007 09:16:48 -0500 Subject: [AccessD] Action Pack Subscribers References: <001701c82b7f$705dde20$6c7aa8c0@M90> Message-ID: <006f01c82b7f$ff129cf0$4b3a8343@SusanOne> Do you get the software even if you fail the test???????? ;) If anyone finds out, please let us know. I'll fail it, but I'll take it. :) Susan H. > What I am still trying to figure out is... is this a way to get the Visual > Studio 2008 for "free"? IOW it does not come in the action pack but they > will give it to action pack subscribers IS they take this test? That is > how > I got an additional copy of VS 2005, which I gave away as a door prize for > the First Annual Greater Smokey Mountain AccessD conference. If I do this > I > guess I will have to keep this one since I don't have VS 2008. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Tuesday, November 20, 2007 5:16 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Action Pack Subscribers > > Hi Julie > > This was discussed in the recent thread: > > "Action Pack, now with special edition toolkit for Web Solution Providers" > > http://databaseadvisors.com/pipermail/accessd/2007-October/055763.html > > I did take a test: > > http://databaseadvisors.com/pipermail/accessd/2007-October/055800.html > > As for the confirmation, step 4 at the tab "How to Get Your Toolkit" > explains: > > Step 4: > Order the Web Solutions Toolkit when you receive an email alert that it > is > available. > For scheduled ship dates, visit the Standard Contents page. > > I guess you just have to trust that statement. > > /gustav > >>>> prosoft6 at hotmail.com 19-11-2007 21:42 >>> > Thanks for that link John. I took the test after the course and passed, > but > never received a confirmation in e-mail. Did anyone else take it? > > Julie Reardon > PRO-SOFT of NY, Inc. > 44 Public Square, Suite 5 > Watertown, NY 13601 > Phone: 315.785.0319 > Fax: 315.785.0323 > NYS IT Contract#CMT026A > NYS Certified Woman-Owned Business > www.pro-soft.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, November 19, 2007 2:29 PM > To: 'Access Developers discussion and problem solving'; > dba-sqlserver at databaseadvisors.com; dba-vb at databaseadvisors.com > Subject: [AccessD] Action Pack Subscribers > > For those of you doing Web stuff I just found this: > > https://partner.microsoft.com/us/40047166 > > John W. Colby > Colby Consulting > 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 Tue Nov 20 08:47:02 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Nov 2007 09:47:02 -0500 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <006f01c82b7f$ff129cf0$4b3a8343@SusanOne> References: <001701c82b7f$705dde20$6c7aa8c0@M90> <006f01c82b7f$ff129cf0$4b3a8343@SusanOne> Message-ID: <001801c82b84$36caffd0$6c7aa8c0@M90> LOL, I doubt it. But as Gustav indicated you can just go take the test again. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, November 20, 2007 9:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Action Pack Subscribers Do you get the software even if you fail the test???????? ;) If anyone finds out, please let us know. I'll fail it, but I'll take it. :) Susan H. > What I am still trying to figure out is... is this a way to get the > Visual Studio 2008 for "free"? IOW it does not come in the action > pack but they will give it to action pack subscribers IS they take > this test? That is how I got an additional copy of VS 2005, which I > gave away as a door prize for the First Annual Greater Smokey Mountain > AccessD conference. If I do this I guess I will have to keep this one > since I don't have VS 2008. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > Brock > Sent: Tuesday, November 20, 2007 5:16 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Action Pack Subscribers > > Hi Julie > > This was discussed in the recent thread: > > "Action Pack, now with special edition toolkit for Web Solution Providers" > > http://databaseadvisors.com/pipermail/accessd/2007-October/055763.html > > I did take a test: > > http://databaseadvisors.com/pipermail/accessd/2007-October/055800.html > > As for the confirmation, step 4 at the tab "How to Get Your Toolkit" > explains: > > Step 4: > Order the Web Solutions Toolkit when you receive an email alert that > it is available. > For scheduled ship dates, visit the Standard Contents page. > > I guess you just have to trust that statement. > > /gustav > >>>> prosoft6 at hotmail.com 19-11-2007 21:42 >>> > Thanks for that link John. I took the test after the course and > passed, but never received a confirmation in e-mail. Did anyone else > take it? > > Julie Reardon > PRO-SOFT of NY, Inc. > 44 Public Square, Suite 5 > Watertown, NY 13601 > Phone: 315.785.0319 > Fax: 315.785.0323 > NYS IT Contract#CMT026A > NYS Certified Woman-Owned Business > www.pro-soft.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, November 19, 2007 2:29 PM > To: 'Access Developers discussion and problem solving'; > dba-sqlserver at databaseadvisors.com; dba-vb at databaseadvisors.com > Subject: [AccessD] Action Pack Subscribers > > For those of you doing Web stuff I just found this: > > https://partner.microsoft.com/us/40047166 > > John W. Colby > Colby Consulting > 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Tue Nov 20 09:12:51 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 20 Nov 2007 10:12:51 -0500 Subject: [AccessD] Action Pack Subscribers References: <001701c82b7f$705dde20$6c7aa8c0@M90><006f01c82b7f$ff129cf0$4b3a8343@SusanOne> <001801c82b84$36caffd0$6c7aa8c0@M90> Message-ID: <00b001c82b87$d441a3b0$4b3a8343@SusanOne> Yeah, in my spare time. :) Today, I'm caring for a sick grandbaby, just a few days away from the big T day -- so many opportunities, so little time. :) Right now, she is transferring dry dog food from bowls to the top of my cpu tower -- not sure why, but she's singing, so I think I'll leave her alone and just hope no crumbs wiggle their way into the casing. Now, if I could just keep socks on her... Susan H. > LOL, I doubt it. But as Gustav indicated you can just go take the test > again. From jwcolby at colbyconsulting.com Tue Nov 20 09:23:40 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Nov 2007 10:23:40 -0500 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <00b001c82b87$d441a3b0$4b3a8343@SusanOne> References: <001701c82b7f$705dde20$6c7aa8c0@M90><006f01c82b7f$ff129cf0$4b3a8343@SusanOne><001801c82b84$36caffd0$6c7aa8c0@M90> <00b001c82b87$d441a3b0$4b3a8343@SusanOne> Message-ID: <001901c82b89$54b04050$6c7aa8c0@M90> LOL. You don't even want to put a spare bowl or plate next to my daughter while she is eating or she will digress into transferring the food back and forth. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, November 20, 2007 10:13 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Action Pack Subscribers Yeah, in my spare time. :) Today, I'm caring for a sick grandbaby, just a few days away from the big T day -- so many opportunities, so little time. :) Right now, she is transferring dry dog food from bowls to the top of my cpu tower -- not sure why, but she's singing, so I think I'll leave her alone and just hope no crumbs wiggle their way into the casing. Now, if I could just keep socks on her... Susan H. > LOL, I doubt it. But as Gustav indicated you can just go take the > test again. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Tue Nov 20 09:45:49 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 20 Nov 2007 10:45:49 -0500 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <006f01c82b7f$ff129cf0$4b3a8343@SusanOne> References: <001701c82b7f$705dde20$6c7aa8c0@M90> <006f01c82b7f$ff129cf0$4b3a8343@SusanOne> Message-ID: <009e01c82b8c$6cf6d270$8abea8c0@XPS> <> No as you are not eligible for an Action Pack Subscription. Their trying to clear out the deadwood like me. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, November 20, 2007 9:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Action Pack Subscribers Do you get the software even if you fail the test???????? ;) If anyone finds out, please let us know. I'll fail it, but I'll take it. :) Susan H. > What I am still trying to figure out is... is this a way to get the Visual > Studio 2008 for "free"? IOW it does not come in the action pack but they > will give it to action pack subscribers IS they take this test? That is > how > I got an additional copy of VS 2005, which I gave away as a door prize for > the First Annual Greater Smokey Mountain AccessD conference. If I do this > I > guess I will have to keep this one since I don't have VS 2008. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Tuesday, November 20, 2007 5:16 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Action Pack Subscribers > > Hi Julie > > This was discussed in the recent thread: > > "Action Pack, now with special edition toolkit for Web Solution Providers" > > http://databaseadvisors.com/pipermail/accessd/2007-October/055763.html > > I did take a test: > > http://databaseadvisors.com/pipermail/accessd/2007-October/055800.html > > As for the confirmation, step 4 at the tab "How to Get Your Toolkit" > explains: > > Step 4: > Order the Web Solutions Toolkit when you receive an email alert that it > is > available. > For scheduled ship dates, visit the Standard Contents page. > > I guess you just have to trust that statement. > > /gustav > >>>> prosoft6 at hotmail.com 19-11-2007 21:42 >>> > Thanks for that link John. I took the test after the course and passed, > but > never received a confirmation in e-mail. Did anyone else take it? > > Julie Reardon > PRO-SOFT of NY, Inc. > 44 Public Square, Suite 5 > Watertown, NY 13601 > Phone: 315.785.0319 > Fax: 315.785.0323 > NYS IT Contract#CMT026A > NYS Certified Woman-Owned Business > www.pro-soft.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, November 19, 2007 2:29 PM > To: 'Access Developers discussion and problem solving'; > dba-sqlserver at databaseadvisors.com; dba-vb at databaseadvisors.com > Subject: [AccessD] Action Pack Subscribers > > For those of you doing Web stuff I just found this: > > https://partner.microsoft.com/us/40047166 > > John W. Colby > Colby Consulting > 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Tue Nov 20 09:54:50 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 20 Nov 2007 10:54:50 -0500 Subject: [AccessD] Action Pack Subscribers References: <001701c82b7f$705dde20$6c7aa8c0@M90><006f01c82b7f$ff129cf0$4b3a8343@SusanOne> <009e01c82b8c$6cf6d270$8abea8c0@XPS> Message-ID: <000401c82b8d$b1960080$4b3a8343@SusanOne> > No as you are not eligible for an Action Pack Subscription. Their trying > to clear out the deadwood like me. ======Deadwood? What does that even mean? If I don't have the software, I can't learn how to use it properly. Are they trying to weed out those that use it badly?????? If they limit the software to only those that know what they're doing, aren't they reducing their market? Susan H. From garykjos at gmail.com Tue Nov 20 10:15:09 2007 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 20 Nov 2007 10:15:09 -0600 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <000401c82b8d$b1960080$4b3a8343@SusanOne> References: <001701c82b7f$705dde20$6c7aa8c0@M90> <006f01c82b7f$ff129cf0$4b3a8343@SusanOne> <009e01c82b8c$6cf6d270$8abea8c0@XPS> <000401c82b8d$b1960080$4b3a8343@SusanOne> Message-ID: They have tightened the requirements for the Action Pack over the past couple years. I am still eligible although barely. I had to supply them with a company name last year or they wouldn't allow me to continue to buy it. Now they are instituting a training requirement. And you have to be a "Microsoft Partner". Then it is open to Resellers Technology Consultants Value-added Technology Partners System Integrators Developers System Builders Still pretty open I guess as those cover a lot of ground. GK On 11/20/07, Susan Harkins wrote: > > No as you are not eligible for an Action Pack Subscription. Their trying > > to clear out the deadwood like me. > > ======Deadwood? What does that even mean? If I don't have the software, I > can't learn how to use it properly. Are they trying to weed out those that > use it badly?????? If they limit the software to only those that know what > they're doing, aren't they reducing their market? > > Susan H. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From ssharkins at gmail.com Tue Nov 20 10:27:56 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 20 Nov 2007 11:27:56 -0500 Subject: [AccessD] Action Pack Subscribers References: <001701c82b7f$705dde20$6c7aa8c0@M90><006f01c82b7f$ff129cf0$4b3a8343@SusanOne><009e01c82b8c$6cf6d270$8abea8c0@XPS><000401c82b8d$b1960080$4b3a8343@SusanOne> Message-ID: <002901c82b92$51c7fe60$4b3a8343@SusanOne> > They have tightened the requirements for the Action Pack over the past > couple years. I am still eligible although barely. I had to supply > them with a company name last year or they wouldn't allow me to > continue to buy it. Now they are instituting a training requirement. > > And you have to be a "Microsoft Partner". Then it is open to > > Resellers > Technology Consultants > Value-added Technology Partners > System Integrators > Developers > System Builders =========Gotta be a partner too? Lets me out. Of course, I'm not interested in the Action Pack -- just a few pieces of updated software. Most of the time, I can get them from publishers if I really need them though. I jump through too many hoops as it is. I'm sure the logic of all this makes sense to them. If I weren't so old, I'd shift to non-Microsoft products, but at this stage of life and my career, I don't want to learn new technologies from the ground floor. Susan H. From garykjos at gmail.com Tue Nov 20 10:46:11 2007 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 20 Nov 2007 10:46:11 -0600 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <002901c82b92$51c7fe60$4b3a8343@SusanOne> References: <001701c82b7f$705dde20$6c7aa8c0@M90> <006f01c82b7f$ff129cf0$4b3a8343@SusanOne> <009e01c82b8c$6cf6d270$8abea8c0@XPS> <000401c82b8d$b1960080$4b3a8343@SusanOne> <002901c82b92$51c7fe60$4b3a8343@SusanOne> Message-ID: Being a partner is just a matter of signing up to be a partner. Not a big deal. It's $300 or so a year to subscribe. Includes 10 licenses to Office and Windows and one each to the server OS's and back end stuff like Exchange. You are not supposed to be using it to run your business though. Supposed to be used to learn and demonstrate to customers and to practice installing if you are a system builder. GK On 11/20/07, Susan Harkins wrote: > > > > They have tightened the requirements for the Action Pack over the past > > couple years. I am still eligible although barely. I had to supply > > them with a company name last year or they wouldn't allow me to > > continue to buy it. Now they are instituting a training requirement. > > > > And you have to be a "Microsoft Partner". Then it is open to > > > > Resellers > > Technology Consultants > > Value-added Technology Partners > > System Integrators > > Developers > > System Builders > > =========Gotta be a partner too? Lets me out. Of course, I'm not interested > in the Action Pack -- just a few pieces of updated software. Most of the > time, I can get them from publishers if I really need them though. > > I jump through too many hoops as it is. I'm sure the logic of all this makes > sense to them. If I weren't so old, I'd shift to non-Microsoft products, but > at this stage of life and my career, I don't want to learn new technologies > from the ground floor. > > Susan H. -- Gary Kjos garykjos at gmail.com From Gustav at cactus.dk Tue Nov 20 11:02:18 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 20 Nov 2007 18:02:18 +0100 Subject: [AccessD] Action Pack Subscribers Message-ID: Hi Jim and Susan > .. as you are not eligible for an Action Pack Subscription. You may be. Read again here: http://databaseadvisors.com/pipermail/accessd/2007-October/055800.html /gustav >>> jimdettman at verizon.net 20-11-2007 16:45 >>> <> No as you are not eligible for an Action Pack Subscription. Their trying to clear out the deadwood like me. Jim. From cfoust at infostatsystems.com Tue Nov 20 11:10:31 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 20 Nov 2007 09:10:31 -0800 Subject: [AccessD] A2K7 Navigation Pane In-Reply-To: <00df01c82b45$ced67c80$0301a8c0@HAL9005> References: <00df01c82b45$ced67c80$0301a8c0@HAL9005> Message-ID: If he's talking about the panel on the left in design view, then he's pretty much out of luck, since that's the replacement for the database window in 2007. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 19, 2007 11:20 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2K7 Navigation Pane Dear List: A client writes to ask if the Navigation Pane (which in his screen shot is on the left side of the screen) can be made to disappear through code. I don't have A2007 so I don't know. I guess this 'Navigation Pane' is something new in A2007? Is there a line of code that will turn the pane off? An if the user is running 2003 is suppose it would generate an error but I could precede the code to turn off the pane with On Error Resume Next? MTIA, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Nov 20 11:09:08 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Nov 2007 12:09:08 -0500 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <002901c82b92$51c7fe60$4b3a8343@SusanOne> References: <001701c82b7f$705dde20$6c7aa8c0@M90><006f01c82b7f$ff129cf0$4b3a8343@SusanOne><009e01c82b8c$6cf6d270$8abea8c0@XPS><000401c82b8d$b1960080$4b3a8343@SusanOne> <002901c82b92$51c7fe60$4b3a8343@SusanOne> Message-ID: <002801c82b98$10e16750$6c7aa8c0@M90> It is worth the bucks to me. I have three servers and three laptops and I use the software to host SQL Server 2005 on the servers as well as office for all of my computers. I have two machines running Server 2003 with SQL Server 2005, and 5 computers running XP Pro. I am supposed to migrate all of those XP machines to Vista but it would destroy my life doing so. I also run Office 2003 on three machines regularly and have installed 2007 to start playing with and get used to. All told it would cost me a thousand or two more than I pay for the software I use so I do the action pack. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, November 20, 2007 11:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Action Pack Subscribers > They have tightened the requirements for the Action Pack over the past > couple years. I am still eligible although barely. I had to supply > them with a company name last year or they wouldn't allow me to > continue to buy it. Now they are instituting a training requirement. > > And you have to be a "Microsoft Partner". Then it is open to > > Resellers > Technology Consultants > Value-added Technology Partners > System Integrators > Developers > System Builders =========Gotta be a partner too? Lets me out. Of course, I'm not interested in the Action Pack -- just a few pieces of updated software. Most of the time, I can get them from publishers if I really need them though. I jump through too many hoops as it is. I'm sure the logic of all this makes sense to them. If I weren't so old, I'd shift to non-Microsoft products, but at this stage of life and my career, I don't want to learn new technologies from the ground floor. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Nov 20 11:11:15 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Nov 2007 12:11:15 -0500 Subject: [AccessD] Action Pack Subscribers In-Reply-To: References: <001701c82b7f$705dde20$6c7aa8c0@M90><006f01c82b7f$ff129cf0$4b3a8343@SusanOne><009e01c82b8c$6cf6d270$8abea8c0@XPS><000401c82b8d$b1960080$4b3a8343@SusanOne><002901c82b92$51c7fe60$4b3a8343@SusanOne> Message-ID: <002d01c82b98$5c455490$6c7aa8c0@M90> Gary, AFAICT you ARE allowed (and encouraged) to use it to run your business, what you are not supposed to do is use it to host commercial applications like web sites, client stuff etc. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Tuesday, November 20, 2007 11:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Action Pack Subscribers Being a partner is just a matter of signing up to be a partner. Not a big deal. It's $300 or so a year to subscribe. Includes 10 licenses to Office and Windows and one each to the server OS's and back end stuff like Exchange. You are not supposed to be using it to run your business though. Supposed to be used to learn and demonstrate to customers and to practice installing if you are a system builder. GK On 11/20/07, Susan Harkins wrote: > > > > They have tightened the requirements for the Action Pack over the > > past couple years. I am still eligible although barely. I had to > > supply them with a company name last year or they wouldn't allow me > > to continue to buy it. Now they are instituting a training requirement. > > > > And you have to be a "Microsoft Partner". Then it is open to > > > > Resellers > > Technology Consultants > > Value-added Technology Partners > > System Integrators > > Developers > > System Builders > > =========Gotta be a partner too? Lets me out. Of course, I'm not > interested in the Action Pack -- just a few pieces of updated > software. Most of the time, I can get them from publishers if I really need them though. > > I jump through too many hoops as it is. I'm sure the logic of all this > makes sense to them. If I weren't so old, I'd shift to non-Microsoft > products, but at this stage of life and my career, I don't want to > learn new technologies from the ground floor. > > Susan H. -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Nov 20 11:13:58 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 20 Nov 2007 09:13:58 -0800 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <002901c82b92$51c7fe60$4b3a8343@SusanOne> References: <001701c82b7f$705dde20$6c7aa8c0@M90><006f01c82b7f$ff129cf0$4b3a8343@SusanOne><009e01c82b8c$6cf6d270$8abea8c0@XPS><000401c82b8d$b1960080$4b3a8343@SusanOne> <002901c82b92$51c7fe60$4b3a8343@SusanOne> Message-ID: Susan, You can be a partner without being a "certified" partner. I'm an associate partner, but I don't subscribe to the action pack for various reasons. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, November 20, 2007 8:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Action Pack Subscribers > They have tightened the requirements for the Action Pack over the past > couple years. I am still eligible although barely. I had to supply > them with a company name last year or they wouldn't allow me to > continue to buy it. Now they are instituting a training requirement. > > And you have to be a "Microsoft Partner". Then it is open to > > Resellers > Technology Consultants > Value-added Technology Partners > System Integrators > Developers > System Builders =========Gotta be a partner too? Lets me out. Of course, I'm not interested in the Action Pack -- just a few pieces of updated software. Most of the time, I can get them from publishers if I really need them though. I jump through too many hoops as it is. I'm sure the logic of all this makes sense to them. If I weren't so old, I'd shift to non-Microsoft products, but at this stage of life and my career, I don't want to learn new technologies from the ground floor. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Nov 20 11:28:54 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Nov 2007 12:28:54 -0500 Subject: [AccessD] OT: make volume bootable In-Reply-To: <1289.24.35.45.228.1195527839.squirrel@mail.expedient.net> References: <00ad01c82ac4$b5604140$6c7aa8c0@M90> <1289.24.35.45.228.1195527839.squirrel@mail.expedient.net> Message-ID: <002e01c82b9a$d3c83350$6c7aa8c0@M90> Michael, I am not sure I understand. I have a system with the OS itself on a raid drive, running on a dedicated raid controller card. That works exactly as expected and I like it - raid 6 protection etc. I also have a pair of older drives which probably (the details are hazy now) had the OS on them originally, which run off of the raid controller on the motherboard. These two disks form a raid 1 array (mirrored) with nothing visible on it, and yes I have told windows explorer to show system and hidden files. However if I disconnect these two older drives from the motherboard (remove power or remove the SATA connector) windows does not boot. IIRC there is a master boot record that is written to a drive that is where windows goes for the very first "bootstrap" code. It then tells windows where the rest of the OS is located. I thought there was a "sys" command (in the old days anyway) that would write this master boot record and perhaps a couple of other files to a hard disk and that you could just "sys" a drive to make it the drive with that MBR stuff. If I can do that to the C: drive on the Areca dedicated raid card then I could boot directly off of that C: drive and get rid of these two older drives. If they ever fail I am doomed. Yea they are raid one but I do NOT want to be trying to rebuild a mirror just for some hidden MBR that should have been moved long ago. Unfortunately I do not know as much about that stuff as I once did and have so far been unable to discover how to change from "booting" off these older drives to booting off the new. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael Bahr Sent: Monday, November 19, 2007 10:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: make volume bootable Try this: 1. Navigate to the Disk Management console. 2. Right-click the grey 'Disk Description' pane that is located to the left of the Color-coded volume panes. 3. Select, Upgrade to Dynamic Disk.' Note you will have to reboot not once, but twice. If that does not work then reformat. Backup all your data then reformat. The big negative about RAID is that it is one-way. Once you set up as RAID you can not go back without lots of pain. Mike.. > I have a Windows 2003 server with an dedicated Areca raid controller. > The system disk C: is on the raid controller, however another pair of > disks are somehow involved in the boot process. These two disks are > talking (SATA) directly to the motherboard SATA ports (using Raid1 via > the motherboard raid controller), and to look at them there is nothing > on them. However if I disconnect these disks then the system gives > the old "boot disk not found" > when the computer is reset. That implies that this pair of disks (a > single > Raid1 volume) contains boot files required to actually boot the > computer even though the C: drive itself is on the Areca controller. > > How do I set the C: drive to be the boot drive and contain whatever > these files are that are currently housed on this extra pair of disks? > > John W. Colby > Colby Consulting > 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 garykjos at gmail.com Tue Nov 20 11:30:08 2007 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 20 Nov 2007 11:30:08 -0600 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <002d01c82b98$5c455490$6c7aa8c0@M90> References: <001701c82b7f$705dde20$6c7aa8c0@M90> <006f01c82b7f$ff129cf0$4b3a8343@SusanOne> <009e01c82b8c$6cf6d270$8abea8c0@XPS> <000401c82b8d$b1960080$4b3a8343@SusanOne> <002901c82b92$51c7fe60$4b3a8343@SusanOne> <002d01c82b98$5c455490$6c7aa8c0@M90> Message-ID: Hi John, You are interpretting the statement differently than I then.... "The software products that are included with the subscription are NFD versions. You can use them only for testing, evaluation, demonstration, training, and educational purposes. For example, you can use the Action Pack software to host your company's intranet but the software cannot be used to host a commercial Web site. This is considered a production environment that is outside the scope of the software's intended purpose." and Item (b) below under reasons for termination.... This is an excerpt from the agreement: Subscription Term and Termination. The term of this Subscription is one (1) year from the date you purchase the Subscription. It is important that you maintain properly licensed Microsoft products. You agree that Microsoft may terminate this Agreement, without prejudice to any other rights or remedies, at any time without prior written notice to you in the event that you: (a) Violate the End User License Agreements accompanying Microsoft products; (b) Resell, transfer, or use the Microsoft Action Pack Subscription Product Licenses for any purpose other than demonstration, testing, education, or evaluation; or (c) Engage in, or participate with any third party in, the unauthorized manufacture, duplication, distribution or use of any Microsoft products or otherwise infringe any other intellectual property right of Microsoft. (d) Upon expiration or earlier termination of this Agreement, you agree to immediately cease use of and to destroy all copies of any Microsoft Products provided with or licensed under the Subscription, including but not limited to, all Not for Retail Distribution software media and all Microsoft Action Pack Subscription Product License copies. From: http://support.microsoft.com/kb/312310 GK On 11/20/07, jwcolby wrote: > Gary, > > AFAICT you ARE allowed (and encouraged) to use it to run your business, what > you are not supposed to do is use it to host commercial applications like > web sites, client stuff etc. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com -- Gary Kjos garykjos at gmail.com From Patricia.O'Connor at otda.state.ny.us Tue Nov 20 11:34:06 2007 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Tue, 20 Nov 2007 12:34:06 -0500 Subject: [AccessD] Populate field with userid Environ A97 vs A2k+ In-Reply-To: <001c01c82977$4811c3f0$5ec2f63f@JELaptop> References: <004a01c8274a$4156f460$4cc2f63f@JELaptop><001901c82798$4e771b40$75010a0a@lcmdv8000><010a01c828a8$80a4cd40$33c2f63f@JELaptop><473F473D.50403@mvps.org> <001c01c82977$4811c3f0$5ec2f63f@JELaptop> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BB0FD@EXCNYSM0A1AI.nysemail.nyenet> I am upgrading an Access97 to Access2k to Access2k3. I know about having to create a function to use it in A2k and A2k3 (GRRR) I have been using =Environ("UserName") to populate a field (LastUpdtBy) in a new record in my A97-tables for years. I created the function that was recommended and it works in my vb/vba code portions. It is not working in the table field default. Gives me the runtime error # 3388 "unknown function 'Environ'. Is there a workaround? If there is one in the archives, please send a complete link. I have tried finding something suggested in mails but can't find them easily. I still think this ban was ridiculous or at least they should have created a valid totally useable workaround Thanks - Have a wonderful Thanksgiving ALL Patti ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. From ssharkins at gmail.com Tue Nov 20 11:50:02 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 20 Nov 2007 12:50:02 -0500 Subject: [AccessD] Action Pack Subscribers References: <001701c82b7f$705dde20$6c7aa8c0@M90><006f01c82b7f$ff129cf0$4b3a8343@SusanOne><009e01c82b8c$6cf6d270$8abea8c0@XPS><000401c82b8d$b1960080$4b3a8343@SusanOne><002901c82b92$51c7fe60$4b3a8343@SusanOne> Message-ID: <00c101c82b9d$ca1c6ee0$4b3a8343@SusanOne> I haven't gone through the process, but the information suggests you must be part of an "organization" -- any loners out there who are partners? How did you fill in the organization holes? I could make something up, but I'd rather not. Susan H. > Susan, > > You can be a partner without being a "certified" partner. I'm an > associate partner, but I don't subscribe to the action pack for various > reasons. From rockysmolin at bchacc.com Tue Nov 20 11:55:42 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 20 Nov 2007 09:55:42 -0800 Subject: [AccessD] A2K7 Navigation Pane In-Reply-To: References: <00df01c82b45$ced67c80$0301a8c0@HAL9005> Message-ID: <004101c82b9e$91e12e20$0301a8c0@HAL9005> Apparently it's in form view as well. So no way to turn it off in form view? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 20, 2007 9:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K7 Navigation Pane If he's talking about the panel on the left in design view, then he's pretty much out of luck, since that's the replacement for the database window in 2007. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 19, 2007 11:20 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2K7 Navigation Pane Dear List: A client writes to ask if the Navigation Pane (which in his screen shot is on the left side of the screen) can be made to disappear through code. I don't have A2007 so I don't know. I guess this 'Navigation Pane' is something new in A2007? Is there a line of code that will turn the pane off? An if the user is running 2003 is suppose it would generate an error but I could precede the code to turn off the pane with On Error Resume Next? 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.1/1140 - Release Date: 11/19/2007 7:05 PM From jwcolby at colbyconsulting.com Tue Nov 20 11:58:45 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Nov 2007 12:58:45 -0500 Subject: [AccessD] Action Pack Subscribers In-Reply-To: References: <001701c82b7f$705dde20$6c7aa8c0@M90><006f01c82b7f$ff129cf0$4b3a8343@SusanOne><009e01c82b8c$6cf6d270$8abea8c0@XPS><000401c82b8d$b1960080$4b3a8343@SusanOne><002901c82b92$51c7fe60$4b3a8343@SusanOne><002d01c82b98$5c455490$6c7aa8c0@M90> Message-ID: <002f01c82b9e$ff4d1cd0$6c7aa8c0@M90> https://partner.microsoft.com/global/40047166 Step 3: Take your business to new levels by signing up for the Microsoft Action Pack Subscription. Your subscription offers a full suite of Microsoft not-for-distribution (NFD) software to help you run your business, train your staff, and demonstrate your Web-based solutions to your business customers. RUN YOUR BUSINESS... and https://partner.microsoft.com/global/program/managemembership/actionpack/map slicensing The Microsoft Action Pack Subscription License Agreement gives you the right to use the Action Pack software to run your own business as well as for evaluation, demonstration, testing, training, and education. They are not for personal use, for hosting customer applications, or for installation at a customer site. They may not be resold, transferred, or assigned to any third party. Again, RUN YOUR OWN BUSINESS. I think it is pretty clear that we can use it for business purposes. Putting one of the licenses on your child's computer is no doubt illegal. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Tuesday, November 20, 2007 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Action Pack Subscribers Hi John, You are interpretting the statement differently than I then.... GK From jwcolby at colbyconsulting.com Tue Nov 20 12:00:19 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Nov 2007 13:00:19 -0500 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <00c101c82b9d$ca1c6ee0$4b3a8343@SusanOne> References: <001701c82b7f$705dde20$6c7aa8c0@M90><006f01c82b7f$ff129cf0$4b3a8343@SusanOne><009e01c82b8c$6cf6d270$8abea8c0@XPS><000401c82b8d$b1960080$4b3a8343@SusanOne><002901c82b92$51c7fe60$4b3a8343@SusanOne> <00c101c82b9d$ca1c6ee0$4b3a8343@SusanOne> Message-ID: <003001c82b9f$3730ab30$6c7aa8c0@M90> Susan, I am a Sole Proprietorship business. It cost me about $25 to file the paperwork with the county. As such I am Colby Consulting, a licensed business. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, November 20, 2007 12:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Action Pack Subscribers I haven't gone through the process, but the information suggests you must be part of an "organization" -- any loners out there who are partners? How did you fill in the organization holes? I could make something up, but I'd rather not. Susan H. > Susan, > > You can be a partner without being a "certified" partner. I'm an > associate partner, but I don't subscribe to the action pack for > various reasons. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Tue Nov 20 12:04:18 2007 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 20 Nov 2007 12:04:18 -0600 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <00c101c82b9d$ca1c6ee0$4b3a8343@SusanOne> References: <001701c82b7f$705dde20$6c7aa8c0@M90> <006f01c82b7f$ff129cf0$4b3a8343@SusanOne> <009e01c82b8c$6cf6d270$8abea8c0@XPS> <000401c82b8d$b1960080$4b3a8343@SusanOne> <002901c82b92$51c7fe60$4b3a8343@SusanOne> <00c101c82b9d$ca1c6ee0$4b3a8343@SusanOne> Message-ID: I am my own organization. I now am called "Gary Kjos Consulting" since they needed a company name. But I don't have any officaly incorporated company of that name. I do occaisional consulting work is all and have done them without a company name but last year when I renewed they required me to have a company name other than my own name. So i added Consulting and they were good with that. GK On 11/20/07, Susan Harkins wrote: > I haven't gone through the process, but the information suggests you must be > part of an "organization" -- any loners out there who are partners? How did > you fill in the organization holes? I could make something up, but I'd > rather not. > > Susan H. > > > > Susan, > > > > You can be a partner without being a "certified" partner. I'm an > > associate partner, but I don't subscribe to the action pack for various > > reasons. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From garykjos at gmail.com Tue Nov 20 12:05:59 2007 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 20 Nov 2007 12:05:59 -0600 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <002f01c82b9e$ff4d1cd0$6c7aa8c0@M90> References: <006f01c82b7f$ff129cf0$4b3a8343@SusanOne> <009e01c82b8c$6cf6d270$8abea8c0@XPS> <000401c82b8d$b1960080$4b3a8343@SusanOne> <002901c82b92$51c7fe60$4b3a8343@SusanOne> <002d01c82b98$5c455490$6c7aa8c0@M90> <002f01c82b9e$ff4d1cd0$6c7aa8c0@M90> Message-ID: Works for me. I sit corrected. GK On 11/20/07, jwcolby wrote: > > https://partner.microsoft.com/global/40047166 > > Step 3: Take your business to new levels by signing up for the Microsoft > Action Pack Subscription. Your subscription offers a full suite of Microsoft > not-for-distribution (NFD) software to help you run your business, train > your staff, and demonstrate your Web-based solutions to your business > customers. > > RUN YOUR BUSINESS... > > and > > https://partner.microsoft.com/global/program/managemembership/actionpack/map > slicensing > > The Microsoft Action Pack Subscription License Agreement gives you the right > to use the Action Pack software to run your own business as well as for > evaluation, demonstration, testing, training, and education. They are not > for personal use, for hosting customer applications, or for installation at > a customer site. They may not be resold, transferred, or assigned to any > third party. > > Again, RUN YOUR OWN BUSINESS. > > I think it is pretty clear that we can use it for business purposes. > Putting one of the licenses on your child's computer is no doubt illegal. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: Tuesday, November 20, 2007 12:30 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Action Pack Subscribers > > Hi John, > > You are interpretting the statement differently than I then.... > > GK > -- Gary Kjos garykjos at gmail.com From cfoust at infostatsystems.com Tue Nov 20 12:14:59 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 20 Nov 2007 10:14:59 -0800 Subject: [AccessD] A2K7 Navigation Pane In-Reply-To: <004101c82b9e$91e12e20$0301a8c0@HAL9005> References: <00df01c82b45$ced67c80$0301a8c0@HAL9005> <004101c82b9e$91e12e20$0301a8c0@HAL9005> Message-ID: Yuck, I haven't worked with the beast enough to know. Can you switch him over to VB.Net?? LOL I know there's some kind of draconian method to get the old pre-2007 look in Office, so that may apply to Access as well, but I haven't pursued it to find out. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, November 20, 2007 9:56 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2K7 Navigation Pane Apparently it's in form view as well. So no way to turn it off in form view? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 20, 2007 9:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K7 Navigation Pane If he's talking about the panel on the left in design view, then he's pretty much out of luck, since that's the replacement for the database window in 2007. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 19, 2007 11:20 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2K7 Navigation Pane Dear List: A client writes to ask if the Navigation Pane (which in his screen shot is on the left side of the screen) can be made to disappear through code. I don't have A2007 so I don't know. I guess this 'Navigation Pane' is something new in A2007? Is there a line of code that will turn the pane off? An if the user is running 2003 is suppose it would generate an error but I could precede the code to turn off the pane with On Error Resume Next? 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.1/1140 - Release Date: 11/19/2007 7:05 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Tue Nov 20 12:19:49 2007 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 20 Nov 2007 12:19:49 -0600 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <00c101c82b9d$ca1c6ee0$4b3a8343@SusanOne> Message-ID: <20071120182010.CFD4924D6B@smtp-out-01.usinternet.com> Hi Susan, I am a Registered Partner (lowest level). It's no charge - I just get some emails that are sometimes useful. I've also been able to use my status to get into two different launch events, and acquire a lot of free software. Office, Visio, Project, OneNote, Sharepoint, Developer Extensions, etc. When I filled in their form, I just filled in the blanks. They're just asking for information which shows that you use their products as part of your business. Good luck! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, November 20, 2007 11:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Action Pack Subscribers I haven't gone through the process, but the information suggests you must be part of an "organization" -- any loners out there who are partners? How did you fill in the organization holes? I could make something up, but I'd rather not. Susan H. > Susan, > > You can be a partner without being a "certified" partner. I'm an > associate partner, but I don't subscribe to the action pack for various > reasons. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Tue Nov 20 12:29:46 2007 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 20 Nov 2007 13:29:46 -0500 Subject: [AccessD] Populate field with userid Environ A97 vs A2k+ Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED7424@XLIVMBX35bkup.aig.com> Is there a workaround? No. You have to use an API call to get the user ID. So quit defaulting these fields in your tables and add a tiny bit of code to the BeforeInsert (for new records) and BeforeUpdate (for edits) events on your forms. There's only a very limited list of functions you can use in the default value property of field in table design view. It was even documented once, but I'm damned if I can locate it in the Access XP help file. Oh well. BTW it also makes sense to not allow Environ(). Environ is a risky proposition because it is quite easy for a user to change an environment variable, (like "USERNAME") and so potentially bypass 'security'. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of O'Connor, Patricia (OTDA) Sent: Tuesday, November 20, 2007 12:34 PM To: Access Developers discussion and problem solving Subject: [AccessD] Populate field with userid Environ A97 vs A2k+ I am upgrading an Access97 to Access2k to Access2k3. I know about having to create a function to use it in A2k and A2k3 (GRRR) I have been using =Environ("UserName") to populate a field (LastUpdtBy) in a new record in my A97-tables for years. I created the function that was recommended and it works in my vb/vba code portions. It is not working in the table field default. Gives me the runtime error # 3388 "unknown function 'Environ'. Is there a workaround? If there is one in the archives, please send a complete link. I have tried finding something suggested in mails but can't find them easily. I still think this ban was ridiculous or at least they should have created a valid totally useable workaround Thanks - Have a wonderful Thanksgiving ALL Patti ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Tue Nov 20 12:54:17 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Tue, 20 Nov 2007 10:54:17 -0800 Subject: [AccessD] Action Pack Subscribers In-Reply-To: Message-ID: <004501c82ba6$c099ce90$0200a8c0@murphy3234aaf1> I have been looking at what is distributed in the Action Pack and don't see Windows XP. Is it still part of the program ? Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, November 20, 2007 2:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Action Pack Subscribers Hi Julie This was discussed in the recent thread: "Action Pack, now with special edition toolkit for Web Solution Providers" http://databaseadvisors.com/pipermail/accessd/2007-October/055763.html I did take a test: http://databaseadvisors.com/pipermail/accessd/2007-October/055800.html As for the confirmation, step 4 at the tab "How to Get Your Toolkit" explains: Step 4: Order the Web Solutions Toolkit when you receive an email alert that it is available. For scheduled ship dates, visit the Standard Contents page. I guess you just have to trust that statement. /gustav >>> prosoft6 at hotmail.com 19-11-2007 21:42 >>> Thanks for that link John. I took the test after the course and passed, but never received a confirmation in e-mail. Did anyone else take it? Julie Reardon PRO-SOFT of NY, Inc. 44 Public Square, Suite 5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 NYS IT Contract#CMT026A NYS Certified Woman-Owned Business www.pro-soft.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 19, 2007 2:29 PM To: 'Access Developers discussion and problem solving'; dba-sqlserver at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Action Pack Subscribers For those of you doing Web stuff I just found this: https://partner.microsoft.com/us/40047166 John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Tue Nov 20 13:07:07 2007 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 20 Nov 2007 13:07:07 -0600 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <004501c82ba6$c099ce90$0200a8c0@murphy3234aaf1> References: <004501c82ba6$c099ce90$0200a8c0@murphy3234aaf1> Message-ID: No I don't think so. Only Vista comes with it now. It did come with XP licenses last year but once Vista was officially released, then that is what comes in Action Pack. GK On 11/20/07, Doug Murphy wrote: > I have been looking at what is distributed in the Action Pack and don't see > Windows XP. Is it still part of the program ? > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Tuesday, November 20, 2007 2:16 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Action Pack Subscribers > > Hi Julie > > This was discussed in the recent thread: > > "Action Pack, now with special edition toolkit for Web Solution Providers" > > http://databaseadvisors.com/pipermail/accessd/2007-October/055763.html > > I did take a test: > > http://databaseadvisors.com/pipermail/accessd/2007-October/055800.html > > As for the confirmation, step 4 at the tab "How to Get Your Toolkit" > explains: > > Step 4: > Order the Web Solutions Toolkit when you receive an email alert that it is > available. > For scheduled ship dates, visit the Standard Contents page. > > I guess you just have to trust that statement. > > /gustav > > >>> prosoft6 at hotmail.com 19-11-2007 21:42 >>> > Thanks for that link John. I took the test after the course and passed, but > never received a confirmation in e-mail. Did anyone else take it? > > Julie Reardon > PRO-SOFT of NY, Inc. > 44 Public Square, Suite 5 > Watertown, NY 13601 > Phone: 315.785.0319 > Fax: 315.785.0323 > NYS IT Contract#CMT026A > NYS Certified Woman-Owned Business > www.pro-soft.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, November 19, 2007 2:29 PM > To: 'Access Developers discussion and problem solving'; > dba-sqlserver at databaseadvisors.com; dba-vb at databaseadvisors.com > Subject: [AccessD] Action Pack Subscribers > > For those of you doing Web stuff I just found this: > > https://partner.microsoft.com/us/40047166 > > John W. Colby > Colby Consulting > 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 > -- Gary Kjos garykjos at gmail.com From jwcolby at colbyconsulting.com Tue Nov 20 13:11:44 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Nov 2007 14:11:44 -0500 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <004501c82ba6$c099ce90$0200a8c0@murphy3234aaf1> References: <004501c82ba6$c099ce90$0200a8c0@murphy3234aaf1> Message-ID: <003401c82ba9$313d56b0$6c7aa8c0@M90> I have the action pack and no, AFAICT it is no longer in the pack. However I have heard that if you got it in a previous version and kept the license current they are allowing you to continue use. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Tuesday, November 20, 2007 1:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Action Pack Subscribers I have been looking at what is distributed in the Action Pack and don't see Windows XP. Is it still part of the program ? Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, November 20, 2007 2:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Action Pack Subscribers Hi Julie This was discussed in the recent thread: "Action Pack, now with special edition toolkit for Web Solution Providers" http://databaseadvisors.com/pipermail/accessd/2007-October/055763.html I did take a test: http://databaseadvisors.com/pipermail/accessd/2007-October/055800.html As for the confirmation, step 4 at the tab "How to Get Your Toolkit" explains: Step 4: Order the Web Solutions Toolkit when you receive an email alert that it is available. For scheduled ship dates, visit the Standard Contents page. I guess you just have to trust that statement. /gustav >>> prosoft6 at hotmail.com 19-11-2007 21:42 >>> Thanks for that link John. I took the test after the course and passed, but never received a confirmation in e-mail. Did anyone else take it? Julie Reardon PRO-SOFT of NY, Inc. 44 Public Square, Suite 5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 NYS IT Contract#CMT026A NYS Certified Woman-Owned Business www.pro-soft.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 19, 2007 2:29 PM To: 'Access Developers discussion and problem solving'; dba-sqlserver at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Action Pack Subscribers For those of you doing Web stuff I just found this: https://partner.microsoft.com/us/40047166 John W. Colby Colby Consulting 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 Patricia.O'Connor at otda.state.ny.us Tue Nov 20 13:23:31 2007 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Tue, 20 Nov 2007 14:23:31 -0500 Subject: [AccessD] Populate field with userid Environ A97 vs A2k+ In-Reply-To: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED7424@XLIVMBX35bkup.aig.com> References: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED7424@XLIVMBX35bkup.aig.com> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BB100@EXCNYSM0A1AI.nysemail.nyenet> Thank you - I had a feeling there might not be a work around The table was not being updated in, with or by a form when the error occurred. Wanted to insure I knew the last person at the record. It was something that worked fine for 10 years - m$ could have made it read only if modifying was a problem . ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** > -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Heenan, Lambert > Sent: Tuesday, November 20, 2007 01:30 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Populate field with userid Environ A97 vs A2k+ > > Is there a workaround? No. You have to use an API call to get > the user ID. > So quit defaulting these fields in your tables and add a tiny > bit of code to the BeforeInsert (for new records) and > BeforeUpdate (for edits) events on your forms. > > There's only a very limited list of functions you can use in > the default value property of field in table design view. It > was even documented once, but I'm damned if I can locate it > in the Access XP help file. Oh well. > > BTW it also makes sense to not allow Environ(). Environ is a > risky proposition because it is quite easy for a user to > change an environment variable, (like "USERNAME") and so > potentially bypass 'security'. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > O'Connor, Patricia (OTDA) > Sent: Tuesday, November 20, 2007 12:34 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Populate field with userid Environ A97 vs A2k+ > > > I am upgrading an Access97 to Access2k to Access2k3. I know > about having to create a function to use it in A2k and A2k3 (GRRR) > > I have been using =Environ("UserName") to populate a field > (LastUpdtBy) in a new record in my A97-tables for years. > > I created the function that was recommended and it works in > my vb/vba code portions. It is not working in the table field > default. Gives me the runtime error # 3388 "unknown function > 'Environ'. > > Is there a workaround? If there is one in the archives, > please send a complete link. I have tried finding something > suggested in mails but can't find them easily. > > I still think this ban was ridiculous or at least they should > have created a valid totally useable workaround > > Thanks - Have a wonderful Thanksgiving ALL Patti > ************************************************** > * Patricia O'Connor > * Associate Computer Programmer Analyst > * OTDA - BDMA > * (W) mailto:Patricia.O'Connor at otda.state.ny.us > * (w) mailto:aa1160 at nysemail.state.ny.us > ************************************************** > -------------------------------------------------------- > This e-mail, including any attachments, may be confidential, > privileged or otherwise legally protected. It is intended > only for the addressee. If you received this e-mail in error > or from someone who was not authorized to send it to you, do > not disseminate, copy or otherwise use this e-mail or its > attachments. Please notify the sender immediately by reply > e-mail and delete the e-mail from your system. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From fuller.artful at gmail.com Tue Nov 20 14:20:24 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 20 Nov 2007 15:20:24 -0500 Subject: [AccessD] A2K7 Navigation Pane In-Reply-To: <004101c82b9e$91e12e20$0301a8c0@HAL9005> References: <00df01c82b45$ced67c80$0301a8c0@HAL9005> <004101c82b9e$91e12e20$0301a8c0@HAL9005> Message-ID: <29f585dd0711201220q2a34c953lac23792bab40e3aa@mail.gmail.com> It replaces both the database window and also acts as a customizable navigation window. Think of it like the navigation pane in Outlook. Once you learn how to customize it, I think it's very cool. I have habitually used the Switchboard Manager prior to this, and although it took me some time to figure out exactly how to use the navigation pane, I vastly prefer it. Arthur On 11/20/07, Rocky Smolin at Beach Access Software wrote: > > Apparently it's in form view as well. So no way to turn it off in form > view? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Tuesday, November 20, 2007 9:11 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K7 Navigation Pane > > If he's talking about the panel on the left in design view, then he's > pretty > much out of luck, since that's the replacement for the database > window in 2007. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Monday, November 19, 2007 11:20 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] A2K7 Navigation Pane > > Dear List: > > A client writes to ask if the Navigation Pane (which in his screen shot is > on the left side of the screen) can be made to disappear through code. I > don't have A2007 so I don't know. I guess this 'Navigation Pane' is > something new in A2007? > > Is there a line of code that will turn the pane off? An if the user is > running 2003 is suppose it would generate an error but I could precede the > code to turn off the pane with On Error Resume Next? > > 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 > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.16.1/1140 - Release Date: > 11/19/2007 > 7:05 PM > > > -- > 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 Nov 20 14:36:28 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 20 Nov 2007 15:36:28 -0500 Subject: [AccessD] Populate field with userid Environ A97 vs A2k+ In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BB100@EXCNYSM0A1AI.nysemail.nyenet> References: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED7424@XLIVMBX35bkup.aig.com> <01DBAB52E30A9A4AB3D94EF8029EDBE8021BB100@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: <29f585dd0711201236i42e96b44ibfc37d8c3a2945e@mail.gmail.com> Will this do? Option Compare Database Option Explicit Global Const SW_SHOWNORMAL = 1 Public Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" _ (ByVal hwnd As Long, _ ByVal lpOperation As String, _ ByVal lpFile As String, _ ByVal lpParameters As String, _ ByVal lpDirectory As String, _ ByVal nShowCmd As Long) As Long 'This code was originally written by Dev Ashish. 'It is not to be altered or distributed, 'except as part of an application. 'You are free to use it in any application, 'provided the copyright notice is left unchanged. 'Code courtesy of Dev Ashish Private Declare Function apiGetUserName Lib "advapi32.dll" Alias _ "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long Public Function fOSUserName() As String ' Returns the network login name Dim lngLen As Long, lngX As Long Dim strUserName As String strUserName = String$(254, 0) lngLen = 255 lngX = apiGetUserName(strUserName, lngLen) If lngX <> 0 Then fOSUserName = Left$(strUserName, lngLen - 1) Else fOSUserName = "" End If End Function hth, Arthur On 11/20/07, O'Connor, Patricia (OTDA) wrote: > > Thank you - I had a feeling there might not be a work around > > The table was not being updated in, with or by a form when the error > occurred. > > Wanted to insure I knew the last person at the record. It was something > that worked fine for 10 years - m$ could have made it read only if > modifying was a problem . > > ************************************************** > * Patricia O'Connor > * Associate Computer Programmer Analyst > * OTDA - BDMA > * (W) mailto:Patricia.O'Connor at otda.state.ny.us > * (w) mailto:aa1160 at nysemail.state.ny.us > ************************************************** > > > > > -------------------------------------------------------- > This e-mail, including any attachments, may be confidential, privileged or > otherwise legally protected. It is intended only for the addressee. If you > received this e-mail in error or from someone who was not authorized to send > it to you, do not disseminate, copy or otherwise use this e-mail or its > attachments. Please notify the sender immediately by reply e-mail and > delete the e-mail from your system. > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Heenan, Lambert > > Sent: Tuesday, November 20, 2007 01:30 PM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Populate field with userid Environ A97 vs A2k+ > > > > Is there a workaround? No. You have to use an API call to get > > the user ID. > > So quit defaulting these fields in your tables and add a tiny > > bit of code to the BeforeInsert (for new records) and > > BeforeUpdate (for edits) events on your forms. > > > > There's only a very limited list of functions you can use in > > the default value property of field in table design view. It > > was even documented once, but I'm damned if I can locate it > > in the Access XP help file. Oh well. > > > > BTW it also makes sense to not allow Environ(). Environ is a > > risky proposition because it is quite easy for a user to > > change an environment variable, (like "USERNAME") and so > > potentially bypass 'security'. > > > > Lambert > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > O'Connor, Patricia (OTDA) > > Sent: Tuesday, November 20, 2007 12:34 PM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] Populate field with userid Environ A97 vs A2k+ > > > > > > I am upgrading an Access97 to Access2k to Access2k3. I know > > about having to create a function to use it in A2k and A2k3 (GRRR) > > > > I have been using =Environ("UserName") to populate a field > > (LastUpdtBy) in a new record in my A97-tables for years. > > > > I created the function that was recommended and it works in > > my vb/vba code portions. It is not working in the table field > > default. Gives me the runtime error # 3388 "unknown function > > 'Environ'. > > > > Is there a workaround? If there is one in the archives, > > please send a complete link. I have tried finding something > > suggested in mails but can't find them easily. > > > > I still think this ban was ridiculous or at least they should > > have created a valid totally useable workaround > > > > Thanks - Have a wonderful Thanksgiving ALL Patti > > ************************************************** > > * Patricia O'Connor > > * Associate Computer Programmer Analyst > > * OTDA - BDMA > > * (W) mailto:Patricia.O'Connor at otda.state.ny.us > > * (w) mailto:aa1160 at nysemail.state.ny.us > > ************************************************** > > -------------------------------------------------------- > > This e-mail, including any attachments, may be confidential, > > privileged or otherwise legally protected. It is intended > > only for the addressee. If you received this e-mail in error > > or from someone who was not authorized to send it to you, do > > not disseminate, copy or otherwise use this e-mail or its > > attachments. Please notify the sender immediately by reply > > e-mail and delete the e-mail from your system. > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Tue Nov 20 21:30:18 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 20 Nov 2007 22:30:18 -0500 Subject: [AccessD] Encrypting your stuff was offsite backup References: <003101c828fd$8dcf9e50$8119fea9@LTVM><001301c82930$a9e31620$ef706c4c@jisshowsbs.local> Message-ID: <001201c82bee$d7c371a0$ef706c4c@jisshowsbs.local> ...it's all jc's fault :) William ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Monday, November 19, 2007 10:58 AM Subject: Re: [AccessD] Encrypting your stuff was offsite backup > I'll GET you for that, Mr. Hindman. Grrr > > Charlotte Foust aka Granny > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Saturday, November 17, 2007 7:44 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > ...now, now Max ...we'd all like to accept your claim to the > gerontological gold here ...but that would make you something like 80+ > and writing code before the first computer was built ...besides which, > only Charlotte is that old :) > > William > > ----- Original Message ----- > From: > To: "'Access Developers discussion and problem solving'" > > Sent: Saturday, November 17, 2007 4:38 AM > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > >> Elvis? Crikey, I was coding before he was born! >> How about the Andrews Sisters (WW2 singers from Minnesota)- world > famous >> though. >> >> Max >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman >> Sent: Friday, November 16, 2007 10:57 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> >> I use a 4gig stick with a u3 encryption program, wear it on a chain > around >> my neck. I seldom take a laptop to client offices anymore because most >> everything I need is on the stick ...just plug it in, log-on, sync, > and go >> to work ...I use a similar password algorithm but based on an Elvis > tune >> ...shows my age, it does :) >> >> William >> >> ----- Original Message ----- >> From: "jwcolby" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Friday, November 16, 2007 4:46 PM >> Subject: [AccessD] Encrypting your stuff was offsite backup >> >> >>>I use this for my own protection. My laptop contains an encrypted > file >>>that >>> contains my Colby Consulting stuff (books, etc). I have another >>> encrypted >>> drive that contains all client projects. Thus if the laptop ever > does >>> take >>> a hike, all data is encrypted. the other nice thing about this is > that >>> you >>> can backup all your work by copying a single encrypted file to a > backup >>> location. If that backup location ever takes a hike no data is > exposed. >>> >>> I have a usb memory stick (just 1 gb for now) where 3/4 is an > encrypted >>> file. If I ever need to carry anything on my person, it is > encrypted. >>> The >>> TrueCrypt program is stored on the unencrypted part and can be run > from >>> there. Thus I can stick the memory stick into a machine, run > TrueCrypt, >>> mount the drive and copy files to/from. Of course you do have to > have >>> admin >>> rights in order to do this. >>> >>> I have been using this for about two years now and it just works. >>> >>> Just don't forget your password. >>> >>> I use the first character from a phrase or song, along with special >>> characters and numbers which make it dead simple to remember when you > are >>> first learning your password. For example take two nursery rhymes: >>> >>> Mary Had A Little Lamb His Fleece Was White As Snow >>> MhAlLhFwWaS >>> (use alternating upper and lower case) >>> Throw two numbers in front of, behind or around it >>> 0MhAlLhFwWaS9 >>> Now throw two special characters in front of that >>> !0MhAlLhFwWaS9@ >>> >>> That all by itself is a pretty secure password. If you want more, do > >>> that >>> twice, perhaps >>> >>> Jack And Jill Went Up The Hill To Fetch A Pail Of Water >>> #8JaJwUtHtFaPoW7$ >>> >>> !0MhAlLhFwWaS9@#8JaJwUtHtFaPoW7$ >>> >>> You get the picture. Either one is a good password, the two together > are >>> pretty industrial strength, and dead easy to remember until you have > it >>> assigned to muscle memory. Pick a favorite saying, slogan, song, >>> whatever >>> you already have remembered and just use the first character of each >>> word, >>> plus numbers and special symbols. >>> >>> Someone (on this list IIRC) claimed they had a password cracker that >>> would >>> crack any password in XX seconds. I think not. My password is 21 >>> characters long using a simple system like that and takes me about 10 >>> seconds to type in. 10 seconds is not too much to ask for an > industrial >>> strength memorable password. >>> >>> http://www.lockdown.co.uk/?pg=combi&s=articles >>> >>> John W. Colby >>> Colby Consulting >>> www.ColbyConsulting.com >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >>> max.wanadoo at gmail.com >>> Sent: Friday, November 16, 2007 2:11 PM >>> To: 'Access Developers discussion and problem solving' >>> Subject: Re: [AccessD] Off-Site Backup >>> >>> >>> Hi William: >>> >>> Here is such an article which bears out your client's concerns: >>> >>> SECURITY? STICK IT! >>> A recent survey by Tower Software has revealed that 49% of employees >>> store >>> work-related files in multiple locations - posing serious security >>> threats >>> and exposure as well as compliance and information management issues. >>> To read the full story follow the link below... >>> >>> >>> >>> I have the FE secured with user logins, etc. The BE is password >>> protected. >>> Both ends (now) contained within encrypted files. Backups now > contain >>> encrypted files. Totally secure from "outsiders". >>> >>> BUT! - once you are in the system, a (valid) user can still "do > things" >>> unless he/she is totally restricted by the various methods outlined > in >>> postings to this site. Ie. Menu systems, exporting options, printing > data >>> options, etc. >>> >>> At some stage there has to be employee trust. Ie, unless I am > trusted >>> (being the developer) then nothing else works. >>> >>> Max >>> >>> >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >>> Hindman >>> Sent: Friday, November 16, 2007 6:22 PM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] Off-Site Backup >>> >>> ...whoa! ...now there is something I'd never considered ...I have a >>> client >>> that is very concerned about employees stealing his data ...I'll have > to >>> take another look at this. >>> >>> William >>> >>> ----- Original Message ----- >>> From: >>> To: "'Access Developers discussion and problem solving'" >>> >>> Sent: Friday, November 16, 2007 9:26 AM >>> Subject: Re: [AccessD] Off-Site Backup >>> >>> >>>> John Colby: >>>> >>>> Many thanks for the pointer to TrueCrypt. This is fantastic! I now >>>> have all my BE Data in an encrypted file on the Server and the FE's > in >>>> an encrypted file on user's PC's. Even if they steal all the >>>> computers they will never get access to the data without my 40 char >>>> key to mount the volumes. >>>> >>>> Brilliant tip, John. Many thanks >>>> >>>> Max >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Tue Nov 20 21:31:29 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 20 Nov 2007 22:31:29 -0500 Subject: [AccessD] Encrypting your stuff was offsite backup References: <003101c828fd$8dcf9e50$8119fea9@LTVM><001301c82930$a9e31620$ef706c4c@jisshowsbs.local> <00ae01c82ac6$d9d03010$6c7aa8c0@M90> Message-ID: <001601c82bef$01dbf6b0$ef706c4c@jisshowsbs.local> ...I've learned so much from you :) William ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 19, 2007 11:11 AM Subject: Re: [AccessD] Encrypting your stuff was offsite backup >I am amazed that Mr Hindman has lived to his current age... And that he > would sling stuff like that given his current age... > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Monday, November 19, 2007 10:59 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > I'll GET you for that, Mr. Hindman. Grrr > > Charlotte Foust aka Granny > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Saturday, November 17, 2007 7:44 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > ...now, now Max ...we'd all like to accept your claim to the > gerontological > gold here ...but that would make you something like 80+ and writing code > before the first computer was built ...besides which, only Charlotte is > that > old :) > > William > > ----- Original Message ----- > From: > To: "'Access Developers discussion and problem solving'" > > Sent: Saturday, November 17, 2007 4:38 AM > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > >> Elvis? Crikey, I was coding before he was born! >> How about the Andrews Sisters (WW2 singers from Minnesota)- world > famous >> though. >> >> Max >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman >> Sent: Friday, November 16, 2007 10:57 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> >> I use a 4gig stick with a u3 encryption program, wear it on a chain > around >> my neck. I seldom take a laptop to client offices anymore because most >> everything I need is on the stick ...just plug it in, log-on, sync, > and go >> to work ...I use a similar password algorithm but based on an Elvis > tune >> ...shows my age, it does :) >> >> William > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From adtp at airtelbroadband.in Tue Nov 20 23:26:03 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Wed, 21 Nov 2007 10:56:03 +0530 Subject: [AccessD] A2K7 Navigation Pane References: <00df01c82b45$ced67c80$0301a8c0@HAL9005> Message-ID: <02ba01c82bff$22d26dd0$ce59a27a@personalec1122> Rocky, A convenient arrangement would be to have two command buttons named CmdHide and CmdShow on a form so as to hide or show the NavPane window in Access 2007. If the user is in a position to ensure that forms group in NavPane is never put in collapsed state, the code applicable in Access 2K & 2K3, as given below, would work in A2K7 as well. Code in form's module - A2K7 (Forms group in NavPane must not be in collapsed state) ======================================== Private Sub CmdHide_Click() ' Make NavPane the active window and hide it DoCmd.SelectObject acForm, , True DoCmd.RunCommand acCmdWindowHide End Sub '------------------------------------------------------- Private Sub CmdShow_Click() DoCmd.SelectObject acForm, , True End Sub ======================================== The simple solution given above will not work if the forms group in NavPane window is in collapsed state. This is because hiding the NavPane can get implemented only if the focus stays on NavPane window during execution of acCmdWindowHide command. However when an attempt is made in Access 2007 to activate the NavPane via DoCmd.SelectObject method while the pertinent object group is in collapsed state, the focus reverts back to the active form. This results in acCmdWindowHide command taking effect on the form itself instead of the intended target (NavPane). Thus you land up with hiding the form itself, instead of the NavPane. Remedy lies in hiding all active forms and reports prior to hiding the NavPane, and thereafter, un-hiding the forms & reports. Of course no other object like table or query should be in open state. It is observed that it is not necessary to select any specific object in NavPane. This argument in DoCmd.SelectObject statement can be left blank Mere selection of a type group (acForm, acTable etc) is adequate. If the group mentioned in DoCmd.SelectObject method does not yet have any object, it will not force that group's title bar to show up in the NavPane if not already visible (otherwise it will). This however does not detract from effectiveness of proposed approach and even such an empty group serves satisfactorily as an argument to DoCmd.SelectObject method. Sample code in form's module, as given below, will ensure effective hiding / un-hiding of NavPane window under all situations, even if all object groups in NavPane are in collapsed state. Although this code is meant for Access 2007, it can be used in Access 2003 as well (statements meant for hiding / un-hiding of active forms / reports are however not needed in Access 2003). It permits unrestricted number of forms / reports to stay in open state. It is also ensured that while cycling through forms/reports for bulk hiding/ unhiding, any forms kept deliberately hidden to start with, continue in this state while other temporarily hidden objects are made visible again. Best wishes, A.D.Tejpal ------------ Sample universal code in form's module - Access 2007 (for hiding / un-hiding NavPane window) '==================================== ' Declarations section ' Comma separated list of form names ' already in hidden state (so that these ' do not get un-hidden along with others) ' Note - This list gets generated automatically Private HiddenFormsList As String '------------------------------------------------------- Private Sub CmdHide_Click() ' Hide all open forms & reports so that with ' statement (A) focus stays on NavPane even ' when no object is on display (e.g. all NavPane ' groups are in collapsed state) P_HideAllOpenFormsReports ' Make NavPane the active window and hide it DoCmd.SelectObject acForm, , True ' (A) DoCmd.RunCommand acCmdWindowHide ' Unhide all open forms and reports (other than ' forms deliberately kept hidden). ' Activate this form P_UnHideAllOpenFormsReports End Sub '------------------------------------------------------- Private Sub CmdShow_Click() DoCmd.SelectObject acForm, , True End Sub '------------------------------------------------------- Private Sub P_HideAllOpenFormsReports() On Error Resume Next Dim frm As Form, rpt As Report Dim Cnt As Long HiddenFormsList = "" ' Default ' Hide all open forms Err.Clear Cnt = Forms.Count If Err.Number = 0 Then For Each frm In Forms ' Update list of deliberately hidden forms If frm.Visible = False Then HiddenFormsList = _ HiddenFormsList & "," & frm.Name End If frm.Visible = False Next End If ' Hide all open reports Err.Clear Cnt = Reports.Count If Err.Number = 0 Then For Each rpt In Reports rpt.Visible = False Next End If Set frm = Nothing Set rpt = Nothing On Error GoTo 0 End Sub '------------------------------------------------------- Private Sub P_UnHideAllOpenFormsReports() On Error Resume Next Dim frm As Form, rpt As Report Dim Cnt As Long ' UnHide all open forms Err.Clear Cnt = Forms.Count If Err.Number = 0 Then For Each frm In Forms If InStr(HiddenFormsList, frm.Name) > 0 Then Else frm.Visible = True End If Next End If ' UnHide all open reports Err.Clear Cnt = Reports.Count If Err.Number = 0 Then For Each rpt In Reports rpt.Visible = True Next End If ' Activate this form DoCmd.SelectObject acForm, Me.Name, False Set frm = Nothing Set rpt = Nothing On Error GoTo 0 End Sub '==================================== ----- Original Message ----- From: Rocky Smolin at Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Tuesday, November 20, 2007 12:50 Subject: [AccessD] A2K7 Navigation Pane Dear List: A client writes to ask if the Navigation Pane (which in his screen shot is on the left side of the screen) can be made to disappear through code. I don't have A2007 so I don't know. I guess this 'Navigation Pane' is something new in A2007? Is there a line of code that will turn the pane off? An if the user is running 2003 is suppose it would generate an error but I could precede the code to turn off the pane with On Error Resume Next? MTIA, Rocky From rockysmolin at bchacc.com Wed Nov 21 00:51:53 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 20 Nov 2007 22:51:53 -0800 Subject: [AccessD] A2K7 Navigation Pane In-Reply-To: References: <00df01c82b45$ced67c80$0301a8c0@HAL9005><004101c82b9e$91e12e20$0301a8c0@HAL9005> Message-ID: <004b01c82c0a$fffa0690$0301a8c0@HAL9005> Yeah, and I'd have to effect it through code since he's developing this jewel to sell and distribute. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 20, 2007 10:15 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K7 Navigation Pane Yuck, I haven't worked with the beast enough to know. Can you switch him over to VB.Net?? LOL I know there's some kind of draconian method to get the old pre-2007 look in Office, so that may apply to Access as well, but I haven't pursued it to find out. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, November 20, 2007 9:56 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2K7 Navigation Pane Apparently it's in form view as well. So no way to turn it off in form view? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 20, 2007 9:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K7 Navigation Pane If he's talking about the panel on the left in design view, then he's pretty much out of luck, since that's the replacement for the database window in 2007. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 19, 2007 11:20 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2K7 Navigation Pane Dear List: A client writes to ask if the Navigation Pane (which in his screen shot is on the left side of the screen) can be made to disappear through code. I don't have A2007 so I don't know. I guess this 'Navigation Pane' is something new in A2007? Is there a line of code that will turn the pane off? An if the user is running 2003 is suppose it would generate an error but I could precede the code to turn off the pane with On Error Resume Next? 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.1/1140 - Release Date: 11/19/2007 7:05 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.2/1142 - Release Date: 11/20/2007 5:44 PM From rockysmolin at bchacc.com Wed Nov 21 00:53:59 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 20 Nov 2007 22:53:59 -0800 Subject: [AccessD] A2K7 Navigation Pane In-Reply-To: <29f585dd0711201220q2a34c953lac23792bab40e3aa@mail.gmail.com> References: <00df01c82b45$ced67c80$0301a8c0@HAL9005><004101c82b9e$91e12e20$0301a8c0@HAL9005> <29f585dd0711201220q2a34c953lac23792bab40e3aa@mail.gmail.com> Message-ID: <004c01c82c0b$4be39e90$0301a8c0@HAL9005> Well, he sent me a screen shot showing how it screws up the forms having it there. I think I may have to bite the bullet here and get both - A2007 and Vista, and maybe a separate machine to run both so that I don't contaminate a perfectly good working system with all that crap. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, November 20, 2007 12:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K7 Navigation Pane It replaces both the database window and also acts as a customizable navigation window. Think of it like the navigation pane in Outlook. Once you learn how to customize it, I think it's very cool. I have habitually used the Switchboard Manager prior to this, and although it took me some time to figure out exactly how to use the navigation pane, I vastly prefer it. Arthur On 11/20/07, Rocky Smolin at Beach Access Software wrote: > > Apparently it's in form view as well. So no way to turn it off in > form view? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Tuesday, November 20, 2007 9:11 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K7 Navigation Pane > > If he's talking about the panel on the left in design view, then he's > pretty much out of luck, since that's the replacement for the database > window in 2007. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Monday, November 19, 2007 11:20 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] A2K7 Navigation Pane > > Dear List: > > A client writes to ask if the Navigation Pane (which in his screen > shot is on the left side of the screen) can be made to disappear through code. I > don't have A2007 so I don't know. I guess this 'Navigation Pane' is > something new in A2007? > > Is there a line of code that will turn the pane off? An if the user > is running 2003 is suppose it would generate an error but I could > precede the code to turn off the pane with On Error Resume Next? > > 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 > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.16.1/1140 - Release Date: > 11/19/2007 > 7:05 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.2/1142 - Release Date: 11/20/2007 5:44 PM From rockysmolin at bchacc.com Wed Nov 21 00:57:41 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 20 Nov 2007 22:57:41 -0800 Subject: [AccessD] A2K7 Navigation Pane In-Reply-To: <02ba01c82bff$22d26dd0$ce59a27a@personalec1122> References: <00df01c82b45$ced67c80$0301a8c0@HAL9005> <02ba01c82bff$22d26dd0$ce59a27a@personalec1122> Message-ID: <004d01c82c0b$cf669c90$0301a8c0@HAL9005> A.D.: Thank you as usual for this solution. I have to get A2007 I think to see for myself what you are referring to by the collapsed state. What would the effect of the code be in A2003, though since there is no navigation pane? Regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, November 20, 2007 9:26 PM To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Subject: Re: [AccessD] A2K7 Navigation Pane Rocky, A convenient arrangement would be to have two command buttons named CmdHide and CmdShow on a form so as to hide or show the NavPane window in Access 2007. If the user is in a position to ensure that forms group in NavPane is never put in collapsed state, the code applicable in Access 2K & 2K3, as given below, would work in A2K7 as well. Code in form's module - A2K7 (Forms group in NavPane must not be in collapsed state) ======================================== Private Sub CmdHide_Click() ' Make NavPane the active window and hide it DoCmd.SelectObject acForm, , True DoCmd.RunCommand acCmdWindowHide End Sub '------------------------------------------------------- Private Sub CmdShow_Click() DoCmd.SelectObject acForm, , True End Sub ======================================== The simple solution given above will not work if the forms group in NavPane window is in collapsed state. This is because hiding the NavPane can get implemented only if the focus stays on NavPane window during execution of acCmdWindowHide command. However when an attempt is made in Access 2007 to activate the NavPane via DoCmd.SelectObject method while the pertinent object group is in collapsed state, the focus reverts back to the active form. This results in acCmdWindowHide command taking effect on the form itself instead of the intended target (NavPane). Thus you land up with hiding the form itself, instead of the NavPane. Remedy lies in hiding all active forms and reports prior to hiding the NavPane, and thereafter, un-hiding the forms & reports. Of course no other object like table or query should be in open state. It is observed that it is not necessary to select any specific object in NavPane. This argument in DoCmd.SelectObject statement can be left blank Mere selection of a type group (acForm, acTable etc) is adequate. If the group mentioned in DoCmd.SelectObject method does not yet have any object, it will not force that group's title bar to show up in the NavPane if not already visible (otherwise it will). This however does not detract from effectiveness of proposed approach and even such an empty group serves satisfactorily as an argument to DoCmd.SelectObject method. Sample code in form's module, as given below, will ensure effective hiding / un-hiding of NavPane window under all situations, even if all object groups in NavPane are in collapsed state. Although this code is meant for Access 2007, it can be used in Access 2003 as well (statements meant for hiding / un-hiding of active forms / reports are however not needed in Access 2003). It permits unrestricted number of forms / reports to stay in open state. It is also ensured that while cycling through forms/reports for bulk hiding/ unhiding, any forms kept deliberately hidden to start with, continue in this state while other temporarily hidden objects are made visible again. Best wishes, A.D.Tejpal ------------ Sample universal code in form's module - Access 2007 (for hiding / un-hiding NavPane window) '==================================== ' Declarations section ' Comma separated list of form names ' already in hidden state (so that these ' do not get un-hidden along with others) ' Note - This list gets generated automatically Private HiddenFormsList As String '------------------------------------------------------- Private Sub CmdHide_Click() ' Hide all open forms & reports so that with ' statement (A) focus stays on NavPane even ' when no object is on display (e.g. all NavPane ' groups are in collapsed state) P_HideAllOpenFormsReports ' Make NavPane the active window and hide it DoCmd.SelectObject acForm, , True ' (A) DoCmd.RunCommand acCmdWindowHide ' Unhide all open forms and reports (other than ' forms deliberately kept hidden). ' Activate this form P_UnHideAllOpenFormsReports End Sub '------------------------------------------------------- Private Sub CmdShow_Click() DoCmd.SelectObject acForm, , True End Sub '------------------------------------------------------- Private Sub P_HideAllOpenFormsReports() On Error Resume Next Dim frm As Form, rpt As Report Dim Cnt As Long HiddenFormsList = "" ' Default ' Hide all open forms Err.Clear Cnt = Forms.Count If Err.Number = 0 Then For Each frm In Forms ' Update list of deliberately hidden forms If frm.Visible = False Then HiddenFormsList = _ HiddenFormsList & "," & frm.Name End If frm.Visible = False Next End If ' Hide all open reports Err.Clear Cnt = Reports.Count If Err.Number = 0 Then For Each rpt In Reports rpt.Visible = False Next End If Set frm = Nothing Set rpt = Nothing On Error GoTo 0 End Sub '------------------------------------------------------- Private Sub P_UnHideAllOpenFormsReports() On Error Resume Next Dim frm As Form, rpt As Report Dim Cnt As Long ' UnHide all open forms Err.Clear Cnt = Forms.Count If Err.Number = 0 Then For Each frm In Forms If InStr(HiddenFormsList, frm.Name) > 0 Then Else frm.Visible = True End If Next End If ' UnHide all open reports Err.Clear Cnt = Reports.Count If Err.Number = 0 Then For Each rpt In Reports rpt.Visible = True Next End If ' Activate this form DoCmd.SelectObject acForm, Me.Name, False Set frm = Nothing Set rpt = Nothing On Error GoTo 0 End Sub '==================================== ----- Original Message ----- From: Rocky Smolin at Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Tuesday, November 20, 2007 12:50 Subject: [AccessD] A2K7 Navigation Pane Dear List: A client writes to ask if the Navigation Pane (which in his screen shot is on the left side of the screen) can be made to disappear through code. I don't have A2007 so I don't know. I guess this 'Navigation Pane' is something new in A2007? Is there a line of code that will turn the pane off? An if the user is running 2003 is suppose it would generate an error but I could precede the code to turn off the pane with On Error Resume Next? MTIA, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.2/1142 - Release Date: 11/20/2007 5:44 PM From jwcolby at colbyconsulting.com Wed Nov 21 06:44:54 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 21 Nov 2007 07:44:54 -0500 Subject: [AccessD] A2K7 Navigation Pane In-Reply-To: <004c01c82c0b$4be39e90$0301a8c0@HAL9005> References: <00df01c82b45$ced67c80$0301a8c0@HAL9005><004101c82b9e$91e12e20$0301a8c0@HAL9005><29f585dd0711201220q2a34c953lac23792bab40e3aa@mail.gmail.com> <004c01c82c0b$4be39e90$0301a8c0@HAL9005> Message-ID: <007e01c82c3c$514b04f0$6c7aa8c0@M90> VIRTUAL MACHINE! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, November 21, 2007 1:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2K7 Navigation Pane Well, he sent me a screen shot showing how it screws up the forms having it there. I think I may have to bite the bullet here and get both - A2007 and Vista, and maybe a separate machine to run both so that I don't contaminate a perfectly good working system with all that crap. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, November 20, 2007 12:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K7 Navigation Pane It replaces both the database window and also acts as a customizable navigation window. Think of it like the navigation pane in Outlook. Once you learn how to customize it, I think it's very cool. I have habitually used the Switchboard Manager prior to this, and although it took me some time to figure out exactly how to use the navigation pane, I vastly prefer it. Arthur On 11/20/07, Rocky Smolin at Beach Access Software wrote: > > Apparently it's in form view as well. So no way to turn it off in > form view? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Tuesday, November 20, 2007 9:11 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K7 Navigation Pane > > If he's talking about the panel on the left in design view, then he's > pretty much out of luck, since that's the replacement for the database > window in 2007. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Monday, November 19, 2007 11:20 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] A2K7 Navigation Pane > > Dear List: > > A client writes to ask if the Navigation Pane (which in his screen > shot is on the left side of the screen) can be made to disappear > through code. I > don't have A2007 so I don't know. I guess this 'Navigation Pane' is > something new in A2007? > > Is there a line of code that will turn the pane off? An if the user > is running 2003 is suppose it would generate an error but I could > precede the code to turn off the pane with On Error Resume Next? > > 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 > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.16.1/1140 - Release Date: > 11/19/2007 > 7:05 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.2/1142 - Release Date: 11/20/2007 5:44 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Nov 21 06:46:43 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 21 Nov 2007 07:46:43 -0500 Subject: [AccessD] Encrypting your stuff was offsite backup In-Reply-To: <001601c82bef$01dbf6b0$ef706c4c@jisshowsbs.local> References: <003101c828fd$8dcf9e50$8119fea9@LTVM><001301c82930$a9e31620$ef706c4c@jisshowsbs.local><00ae01c82ac6$d9d03010$6c7aa8c0@M90> <001601c82bef$01dbf6b0$ef706c4c@jisshowsbs.local> Message-ID: <007f01c82c3c$9253bb40$6c7aa8c0@M90> Just don't go skydiving with Ms. Foust. She may have learned a trick or two from me as well. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Tuesday, November 20, 2007 10:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup ...I've learned so much from you :) William ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 19, 2007 11:11 AM Subject: Re: [AccessD] Encrypting your stuff was offsite backup >I am amazed that Mr Hindman has lived to his current age... And that he > would sling stuff like that given his current age... > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Monday, November 19, 2007 10:59 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > I'll GET you for that, Mr. Hindman. Grrr > > Charlotte Foust aka Granny > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Saturday, November 17, 2007 7:44 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > ...now, now Max ...we'd all like to accept your claim to the > gerontological > gold here ...but that would make you something like 80+ and writing code > before the first computer was built ...besides which, only Charlotte is > that > old :) > > William > > ----- Original Message ----- > From: > To: "'Access Developers discussion and problem solving'" > > Sent: Saturday, November 17, 2007 4:38 AM > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > >> Elvis? Crikey, I was coding before he was born! >> How about the Andrews Sisters (WW2 singers from Minnesota)- world > famous >> though. >> >> Max >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman >> Sent: Friday, November 16, 2007 10:57 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> >> I use a 4gig stick with a u3 encryption program, wear it on a chain > around >> my neck. I seldom take a laptop to client offices anymore because most >> everything I need is on the stick ...just plug it in, log-on, sync, > and go >> to work ...I use a similar password algorithm but based on an Elvis > tune >> ...shows my age, it does :) >> >> William > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at airtelbroadband.in Wed Nov 21 06:46:17 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Wed, 21 Nov 2007 18:16:17 +0530 Subject: [AccessD] A2K7 Navigation Pane References: <00df01c82b45$ced67c80$0301a8c0@HAL9005><02ba01c82bff$22d26dd0$c e59a27a@personalec1122> <004d01c82c0b$cf669c90$0301a8c0@HAL9005> Message-ID: <003a01c82c3c$a4166490$3d57a27a@personalec1122> Rocky, It works equally well in A2K & A2K3, where it acts upon the database window (Hide or Show as required). In fact the process becomes much simpler as unlike A2K7, it is no longer necessary to temporarily hide the forms / reports. Sample code for hiding / showing db window in A2K / A2K3 is given below. Best wishes, A.D.Tejpal ------------ Code in form's module - A2K & A2K3 (For Hiding and displaying database window) ======================================== Private Sub CmdHide_Click() ' Make db window the active window and hide it DoCmd.SelectObject acForm, , True DoCmd.RunCommand acCmdWindowHide End Sub '------------------------------------------------------- Private Sub CmdShow_Click() ' Show db window DoCmd.SelectObject acForm, , True End Sub ======================================== ----- Original Message ----- From: Rocky Smolin at Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Wednesday, November 21, 2007 12:27 Subject: Re: [AccessD] A2K7 Navigation Pane A.D.: Thank you as usual for this solution. I have to get A2007 I think to see for myself what you are referring to by the collapsed state. What would the effect of the code be in A2003, though since there is no navigation pane? Regards, Rocky From tinanfields at torchlake.com Wed Nov 21 08:37:43 2007 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Wed, 21 Nov 2007 09:37:43 -0500 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <00c101c82b9d$ca1c6ee0$4b3a8343@SusanOne> References: <001701c82b7f$705dde20$6c7aa8c0@M90><006f01c82b7f$ff129cf0$4b3a8343@SusanOne><009e01c82b8c$6cf6d270$8abea8c0@XPS><000401c82b8d$b1960080$4b3a8343@SusanOne><002901c82b92$51c7fe60$4b3a8343@SusanOne> <00c101c82b9d$ca1c6ee0$4b3a8343@SusanOne> Message-ID: <474442B7.9010502@torchlake.com> Hi Susan, I am also just a Registered Partner, like Dan. My company is Tall Pines Computer Training and I am the sole proprietor of this tiny company. I am also all the functions of the company, because Tall Pines is simply the commercial face of Tina Fields. My DBA with the county was cheaper than John's - only $10 - and it has to be renewed every three years. I file a Schedule C for the business with my annual income tax return. That's it! So, create a business or commercial face of Susan Harkins as your "organization" and you are all set - legally, and ethically. Kind regards, Tina Susan Harkins wrote: > I haven't gone through the process, but the information suggests you must be > part of an "organization" -- any loners out there who are partners? How did > you fill in the organization holes? I could make something up, but I'd > rather not. > > Susan H. > > > >> Susan, >> >> You can be a partner without being a "certified" partner. I'm an >> associate partner, but I don't subscribe to the action pack for various >> reasons. >> > > From tinanfields at torchlake.com Wed Nov 21 08:40:16 2007 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Wed, 21 Nov 2007 09:40:16 -0500 Subject: [AccessD] A2K7 Navigation Pane In-Reply-To: <007e01c82c3c$514b04f0$6c7aa8c0@M90> References: <00df01c82b45$ced67c80$0301a8c0@HAL9005><004101c8 2b9e$91e12e20$0301a8c0@HAL9005><29f585dd0711201220q2a34c953lac23792bab40e3aa@mail.gmail.com><004c01c82c0b$4be39e90$0301a8c0@HAL 9005> <007e01c82c3c$514b04f0$6c7aa8c0@M90> Message-ID: <47444350.4030407@torchlake.com> One of these days, I really have to investigate this virtual machine concept. It really is cool, and it seems to solve the problem of needing more than one box. Tina jwcolby wrote: > VIRTUAL MACHINE! > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Wednesday, November 21, 2007 1:54 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] A2K7 Navigation Pane > > Well, he sent me a screen shot showing how it screws up the forms having it > there. I think I may have to bite the bullet here and get both - A2007 and > Vista, and maybe a separate machine to run both so that I don't contaminate > a perfectly good working system with all that crap. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Tuesday, November 20, 2007 12:20 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K7 Navigation Pane > > It replaces both the database window and also acts as a customizable > navigation window. Think of it like the navigation pane in Outlook. Once you > learn how to customize it, I think it's very cool. I have habitually used > the Switchboard Manager prior to this, and although it took me some time to > figure out exactly how to use the navigation pane, I vastly prefer it. > > Arthur > > On 11/20/07, Rocky Smolin at Beach Access Software > wrote: > >> Apparently it's in form view as well. So no way to turn it off in >> form view? >> >> Rocky >> >> >> >> >> >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >> Foust >> Sent: Tuesday, November 20, 2007 9:11 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] A2K7 Navigation Pane >> >> If he's talking about the panel on the left in design view, then he's >> pretty much out of luck, since that's the replacement for the database >> window in 2007. >> >> Charlotte Foust >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >> Smolin at Beach Access Software >> Sent: Monday, November 19, 2007 11:20 PM >> To: 'Access Developers discussion and problem solving' >> Subject: [AccessD] A2K7 Navigation Pane >> >> Dear List: >> >> A client writes to ask if the Navigation Pane (which in his screen >> shot is on the left side of the screen) can be made to disappear >> through >> > code. I > >> don't have A2007 so I don't know. I guess this 'Navigation Pane' is >> something new in A2007? >> >> Is there a line of code that will turn the pane off? An if the user >> is running 2003 is suppose it would generate an error but I could >> precede the code to turn off the pane with On Error Resume Next? >> >> 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 >> >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.503 / Virus Database: 269.16.1/1140 - Release Date: >> 11/19/2007 >> 7:05 PM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/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 incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.16.2/1142 - Release Date: 11/20/2007 > 5:44 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From DWUTKA at Marlow.com Wed Nov 21 08:33:47 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Wed, 21 Nov 2007 08:33:47 -0600 Subject: [AccessD] OT: make volume bootable In-Reply-To: <002e01c82b9a$d3c83350$6c7aa8c0@M90> Message-ID: So you probably installed your current OS with the 'old drives' online, so Windows wrote the MBR to those drives. Hmmm, I'd say the fastest way to fix this would be to run the repair from the Windows 2003 CD. Put it in. See if it finds your existing OS. Let it run the repair options. (Do this with the old drives out). If it still won't boot, don't panic, there is a 'hidden' repair option that most people don't use. Boot to the CD again, this time, tell it to install the OS. Go past the F8 licensing thing..... it will scan for existing OSes before it installs the new one. If it finds the OS on your existing RAID controller, use the repair option at this step, and it should do the trick. This repair option literally reinstalls the OS, while leaving the partition and installed software alone. Had an 'imaged' system I was trying to restore in Virtual PC, wouldn't boot, kept hanging. Normal 'repair' options did nothing. Ran this repair method, and about 30 minutes later, it was up and running. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 20, 2007 11:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: make volume bootable Michael, I am not sure I understand. I have a system with the OS itself on a raid drive, running on a dedicated raid controller card. That works exactly as expected and I like it - raid 6 protection etc. I also have a pair of older drives which probably (the details are hazy now) had the OS on them originally, which run off of the raid controller on the motherboard. These two disks form a raid 1 array (mirrored) with nothing visible on it, and yes I have told windows explorer to show system and hidden files. However if I disconnect these two older drives from the motherboard (remove power or remove the SATA connector) windows does not boot. IIRC there is a master boot record that is written to a drive that is where windows goes for the very first "bootstrap" code. It then tells windows where the rest of the OS is located. I thought there was a "sys" command (in the old days anyway) that would write this master boot record and perhaps a couple of other files to a hard disk and that you could just "sys" a drive to make it the drive with that MBR stuff. If I can do that to the C: drive on the Areca dedicated raid card then I could boot directly off of that C: drive and get rid of these two older drives. If they ever fail I am doomed. Yea they are raid one but I do NOT want to be trying to rebuild a mirror just for some hidden MBR that should have been moved long ago. Unfortunately I do not know as much about that stuff as I once did and have so far been unable to discover how to change from "booting" off these older drives to booting off the new. John W. Colby Colby Consulting www.ColbyConsulting.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 BusinessSensitve 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 Wed Nov 21 08:49:19 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 21 Nov 2007 09:49:19 -0500 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <474442B7.9010502@torchlake.com> References: <001701c82b7f$705dde20$6c7aa8c0@M90><006f01c82b7f$ff129cf0$4b3a8343@SusanOne><009e01c82b8c$6cf6d270$8abea8c0@XPS><000401c82b8d$b1960080$4b3a8343@SusanOne><002901c82b92$51c7fe60$4b3a8343@SusanOne> <00c101c82b9d$ca1c6ee0$4b3a8343@SusanOne> <474442B7.9010502@torchlake.com> Message-ID: <008901c82c4d$b2fe66e0$6c7aa8c0@M90> Tina, To be honest, I don't remember how much it was, I just remembered thinking "that's cheap". Just a few bucks so to speak. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Wednesday, November 21, 2007 9:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Action Pack Subscribers Hi Susan, I am also just a Registered Partner, like Dan. My company is Tall Pines Computer Training and I am the sole proprietor of this tiny company. I am also all the functions of the company, because Tall Pines is simply the commercial face of Tina Fields. My DBA with the county was cheaper than John's - only $10 - and it has to be renewed every three years. I file a Schedule C for the business with my annual income tax return. That's it! So, create a business or commercial face of Susan Harkins as your "organization" and you are all set - legally, and ethically. Kind regards, Tina Susan Harkins wrote: > I haven't gone through the process, but the information suggests you > must be part of an "organization" -- any loners out there who are > partners? How did you fill in the organization holes? I could make > something up, but I'd rather not. > > Susan H. > > > >> Susan, >> >> You can be a partner without being a "certified" partner. I'm an >> associate partner, but I don't subscribe to the action pack for >> various reasons. >> > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at Marlow.com Wed Nov 21 08:50:51 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Wed, 21 Nov 2007 08:50:51 -0600 Subject: [AccessD] A2K7 Navigation Pane In-Reply-To: <007e01c82c3c$514b04f0$6c7aa8c0@M90> Message-ID: I feel the world beginning to shift. I'm in complete agreement with you JWC! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, November 21, 2007 6:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2K7 Navigation Pane VIRTUAL MACHINE! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, November 21, 2007 1:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2K7 Navigation Pane Well, he sent me a screen shot showing how it screws up the forms having it there. I think I may have to bite the bullet here and get both - A2007 and Vista, and maybe a separate machine to run both so that I don't contaminate a perfectly good working system with all that crap. Rocky 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 BusinessSensitve 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 Wed Nov 21 08:55:12 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 21 Nov 2007 09:55:12 -0500 Subject: [AccessD] OT: make volume bootable In-Reply-To: References: <002e01c82b9a$d3c83350$6c7aa8c0@M90> Message-ID: <008d01c82c4e$855ec170$6c7aa8c0@M90> I tried that. It did not offer to repair an existing OS install. It did find the drive (I have a slipstream disk with the raid drivers on it) and asked if I wanted to format it etc, but when I answered no it started a new install. When it was done, there was an entire NEW copy of Windows 2003 in it's own directory, but even that wouldn't boot without the old drives or the slipstream CD disk in. And yes, I disconnected the old drives before doing the new install. I hooked up the old drives and can get back to my original 2003 install (it gives me a boot menu). PITA really! I ended up just giving up (real work to do). Will go back there someday. Sigh. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Wednesday, November 21, 2007 9:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: make volume bootable So you probably installed your current OS with the 'old drives' online, so Windows wrote the MBR to those drives. Hmmm, I'd say the fastest way to fix this would be to run the repair from the Windows 2003 CD. Put it in. See if it finds your existing OS. Let it run the repair options. (Do this with the old drives out). If it still won't boot, don't panic, there is a 'hidden' repair option that most people don't use. Boot to the CD again, this time, tell it to install the OS. Go past the F8 licensing thing..... it will scan for existing OSes before it installs the new one. If it finds the OS on your existing RAID controller, use the repair option at this step, and it should do the trick. This repair option literally reinstalls the OS, while leaving the partition and installed software alone. Had an 'imaged' system I was trying to restore in Virtual PC, wouldn't boot, kept hanging. Normal 'repair' options did nothing. Ran this repair method, and about 30 minutes later, it was up and running. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 20, 2007 11:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: make volume bootable Michael, I am not sure I understand. I have a system with the OS itself on a raid drive, running on a dedicated raid controller card. That works exactly as expected and I like it - raid 6 protection etc. I also have a pair of older drives which probably (the details are hazy now) had the OS on them originally, which run off of the raid controller on the motherboard. These two disks form a raid 1 array (mirrored) with nothing visible on it, and yes I have told windows explorer to show system and hidden files. However if I disconnect these two older drives from the motherboard (remove power or remove the SATA connector) windows does not boot. IIRC there is a master boot record that is written to a drive that is where windows goes for the very first "bootstrap" code. It then tells windows where the rest of the OS is located. I thought there was a "sys" command (in the old days anyway) that would write this master boot record and perhaps a couple of other files to a hard disk and that you could just "sys" a drive to make it the drive with that MBR stuff. If I can do that to the C: drive on the Areca dedicated raid card then I could boot directly off of that C: drive and get rid of these two older drives. If they ever fail I am doomed. Yea they are raid one but I do NOT want to be trying to rebuild a mirror just for some hidden MBR that should have been moved long ago. Unfortunately I do not know as much about that stuff as I once did and have so far been unable to discover how to change from "booting" off these older drives to booting off the new. John W. Colby Colby Consulting www.ColbyConsulting.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 BusinessSensitve 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 ssharkins at gmail.com Wed Nov 21 08:52:36 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 21 Nov 2007 09:52:36 -0500 Subject: [AccessD] A2K7 Navigation Pane References: <00df01c82b45$ced67c80$0301a8c0@HAL9005><004101c82b9e$91e12e20$0301a8c0@HAL9005><29f585dd0711201220q2a34c953lac23792bab40e3aa@mail.gmail.com><004c01c82c0b$4be39e90$0301a8c0@HAL9005> <007e01c82c3c$514b04f0$6c7aa8c0@M90> <47444350.4030407@torchlake.com> Message-ID: <00d001c82c4e$29329070$4b3a8343@SusanOne> Count me in on that Tina. I need to maintain two or three different versions of everything for articles and Outlook is throws a monkey wrench into that. Right now, Outlook 2003 is totally hosed and I have no idea why. It opens, the interface is there, but I can't do anything. I also have a very old virus in my startup file, which I keep under control by not enabling System Restore. I really need to reformat and start over and when I do, I plan a virtual machine for 2003 and 2007. The problem is finding the time to backup the hard drive and actually plow through it. Nobody's going to pay me to do that... ;) I set aside time in July, and we moved instead. So, now I'm looking ahead to the Christmas holidays. Crossing my fingers... Susan H. > One of these days, I really have to investigate this virtual machine > concept. It really is cool, and it seems to solve the problem of > needing more than one box. > Tina From Patricia.O'Connor at otda.state.ny.us Wed Nov 21 09:05:54 2007 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Wed, 21 Nov 2007 10:05:54 -0500 Subject: [AccessD] Populate field with userid Environ A97 vs A2k+ In-Reply-To: <29f585dd0711201236i42e96b44ibfc37d8c3a2945e@mail.gmail.com> References: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED7424@XLIVMBX35bkup.aig.com><01DBAB52E30A9A4AB3D94EF8029EDBE8021BB100@EXCNYSM0A1AI.nysemail.nyenet> <29f585dd0711201236i42e96b44ibfc37d8c3a2945e@mail.gmail.com> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BB104@EXCNYSM0A1AI.nysemail.nyenet> Arthur I will give this a try Thank you Patti ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** > -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Arthur Fuller > Sent: Tuesday, November 20, 2007 03:36 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Populate field with userid Environ A97 vs A2k+ > > Will this do? > > > Option Compare Database > Option Explicit > Global Const SW_SHOWNORMAL = 1 > > Public Declare Function ShellExecute Lib "shell32.dll" Alias > "ShellExecuteA" > _ > (ByVal hwnd As Long, _ > ByVal lpOperation As String, _ > ByVal lpFile As String, _ > ByVal lpParameters As String, _ > ByVal lpDirectory As String, _ > ByVal nShowCmd As Long) As Long > > 'This code was originally written by Dev Ashish. > 'It is not to be altered or distributed, 'except as part of > an application. > 'You are free to use it in any application, 'provided the > copyright notice is left unchanged. > 'Code courtesy of Dev Ashish > Private Declare Function apiGetUserName Lib "advapi32.dll" Alias _ > "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long > > Public Function fOSUserName() As String > ' Returns the network login name > Dim lngLen As Long, lngX As Long > Dim strUserName As String > > strUserName = String$(254, 0) > lngLen = 255 > lngX = apiGetUserName(strUserName, lngLen) > If lngX <> 0 Then > fOSUserName = Left$(strUserName, lngLen - 1) > Else > fOSUserName = "" > End If > End Function > > > hth, > Arthur > > On 11/20/07, O'Connor, Patricia (OTDA) > > wrote: > > > > Thank you - I had a feeling there might not be a work around > > > > The table was not being updated in, with or by a form when > the error > > occurred. > > > > Wanted to insure I knew the last person at the record. It was > > something that worked fine for 10 years - m$ could have > made it read > > only if modifying was a problem . > > > > ************************************************** > > * Patricia O'Connor > > * Associate Computer Programmer Analyst > > * OTDA - BDMA > > * (W) mailto:Patricia.O'Connor at otda.state.ny.us > > * (w) mailto:aa1160 at nysemail.state.ny.us > > ************************************************** > > > > > > > > > -------------------------------------------------------- > > This e-mail, including any attachments, may be confidential, > > privileged or otherwise legally protected. It is intended > only for the > > addressee. If you received this e-mail in error or from someone who > > was not authorized to send it to you, do not disseminate, copy or > > otherwise use this e-mail or its attachments. Please notify the > > sender immediately by reply e-mail and delete the e-mail > from your system. > > > > > > -----Original Message----- > > > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Heenan, > > > Lambert > > > Sent: Tuesday, November 20, 2007 01:30 PM > > > To: 'Access Developers discussion and problem solving' > > > Subject: Re: [AccessD] Populate field with userid Environ A97 vs > > > A2k+ > > > > > > Is there a workaround? No. You have to use an API call to get the > > > user ID. > > > So quit defaulting these fields in your tables and add a > tiny bit of > > > code to the BeforeInsert (for new records) and BeforeUpdate (for > > > edits) events on your forms. > > > > > > There's only a very limited list of functions you can use in the > > > default value property of field in table design view. It was even > > > documented once, but I'm damned if I can locate it in the > Access XP > > > help file. Oh well. > > > > > > BTW it also makes sense to not allow Environ(). Environ > is a risky > > > proposition because it is quite easy for a user to change an > > > environment variable, (like "USERNAME") and so potentially bypass > > > 'security'. > > > > > > Lambert > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of O'Connor, > > > Patricia (OTDA) > > > Sent: Tuesday, November 20, 2007 12:34 PM > > > To: Access Developers discussion and problem solving > > > Subject: [AccessD] Populate field with userid Environ A97 vs A2k+ > > > > > > > > > I am upgrading an Access97 to Access2k to Access2k3. I > know about > > > having to create a function to use it in A2k and A2k3 (GRRR) > > > > > > I have been using =Environ("UserName") to populate a field > > > (LastUpdtBy) in a new record in my A97-tables for years. > > > > > > I created the function that was recommended and it works in my > > > vb/vba code portions. It is not working in the table > field default. > > > Gives me the runtime error # 3388 "unknown function 'Environ'. > > > > > > Is there a workaround? If there is one in the archives, > please send > > > a complete link. I have tried finding something suggested > in mails > > > but can't find them easily. > > > > > > I still think this ban was ridiculous or at least they > should have > > > created a valid totally useable workaround > > > > > > Thanks - Have a wonderful Thanksgiving ALL Patti > > > ************************************************** > > > * Patricia O'Connor > > > * Associate Computer Programmer Analyst > > > * OTDA - BDMA > > > * (W) mailto:Patricia.O'Connor at otda.state.ny.us > > > * (w) mailto:aa1160 at nysemail.state.ny.us > > > ************************************************** > > > -------------------------------------------------------- > > > This e-mail, including any attachments, may be confidential, > > > privileged or otherwise legally protected. It is intended > only for > > > the addressee. If you received this e-mail in error or > from someone > > > who was not authorized to send it to you, do not > disseminate, copy > > > or otherwise use this e-mail or its attachments. Please > notify the > > > sender immediately by reply e-mail and delete the e-mail > from your > > > system. > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Nov 21 09:21:45 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 21 Nov 2007 16:21:45 +0100 Subject: [AccessD] Virtual Server (was: A2K7 Navigation Pane) Message-ID: Hi Tina Don't hesitate. We haven't worked that much with Microsoft's implementation or Xen (now bought by Citrix) but has focussed on the free VMware Server: http://www.vmware.com/products/server/ It's a marvellous product and we (me and my colleagues) recommend it highly. All server installations we have carried out for the last six months have been on virtual machines and all future will except for some special situations (like old hardware with limited ram). The negative part is that a virtual server runs about 10-15% slower than a clean physical installation on identical hardware, and that ram in a virtual server is limited to 3.6 GB for the free version. Everything else are pluses: - zero cost - runs on all decent hardware - host OS can be Windows (Server preferred) or Linux - remote control of the virtual servers including rebooting. - backup of a _complete_ virtual server to one single file is a snap. So is restore(!) - configuration of a server can be done on any decent hardware, then moved to the client's brand new hardware. - thus, extremely fast replacement of broken down hardware. Virtual servers are about to revolutionize server installations and in a few years it will be the default method except for some rare cases. If you prefer not to use Linux as the host OS, you can use an AMD 64 bit server which typically supports 8 GB ram or more and install the 64 bit Windows Server from the Action Pack you have wondered what to use for. /gustav >>> tinanfields at torchlake.com 21-11-2007 15:40 >>> One of these days, I really have to investigate this virtual machine concept. It really is cool, and it seems to solve the problem of needing more than one box. Tina jwcolby wrote: > VIRTUAL MACHINE! From jwcolby at colbyconsulting.com Wed Nov 21 09:38:37 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 21 Nov 2007 10:38:37 -0500 Subject: [AccessD] Virtual Server (was: A2K7 Navigation Pane) In-Reply-To: References: Message-ID: <009501c82c54$95c3a0c0$6c7aa8c0@M90> The one thing I would add is that it also uses a virtual video device which has poor capabilities, so NO GAMING. 8-( It took me awhile to figure that out. It does NOT use the actual installed hardware, i.e. you cannot set the drivers for your actual hardware and so it simply does not have the capabilities to run one of the modern games, and there is just no way to make it do so. I think it will run the old stuff like pong or Tetris. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, November 21, 2007 10:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Virtual Server (was: A2K7 Navigation Pane) Hi Tina Don't hesitate. We haven't worked that much with Microsoft's implementation or Xen (now bought by Citrix) but has focussed on the free VMware Server: http://www.vmware.com/products/server/ It's a marvellous product and we (me and my colleagues) recommend it highly. All server installations we have carried out for the last six months have been on virtual machines and all future will except for some special situations (like old hardware with limited ram). The negative part is that a virtual server runs about 10-15% slower than a clean physical installation on identical hardware, and that ram in a virtual server is limited to 3.6 GB for the free version. Everything else are pluses: - zero cost - runs on all decent hardware - host OS can be Windows (Server preferred) or Linux - remote control of the virtual servers including rebooting. - backup of a _complete_ virtual server to one single file is a snap. So is restore(!) - configuration of a server can be done on any decent hardware, then moved to the client's brand new hardware. - thus, extremely fast replacement of broken down hardware. Virtual servers are about to revolutionize server installations and in a few years it will be the default method except for some rare cases. If you prefer not to use Linux as the host OS, you can use an AMD 64 bit server which typically supports 8 GB ram or more and install the 64 bit Windows Server from the Action Pack you have wondered what to use for. /gustav >>> tinanfields at torchlake.com 21-11-2007 15:40 >>> One of these days, I really have to investigate this virtual machine concept. It really is cool, and it seems to solve the problem of needing more than one box. Tina jwcolby wrote: > VIRTUAL MACHINE! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Wed Nov 21 10:05:59 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 21 Nov 2007 11:05:59 -0500 Subject: [AccessD] Virtual Server (was: A2K7 Navigation Pane) In-Reply-To: <009501c82c54$95c3a0c0$6c7aa8c0@M90> References: <009501c82c54$95c3a0c0$6c7aa8c0@M90> Message-ID: <003401c82c58$687b3bb0$8abea8c0@XPS> John, This is one of the major drawbacks with virtualizing that I've found. Your limited to VGA resolution (640x480) if you connect to the console. It's a royal pain when you work with it. One workaround for that is if you don't need the console, you can RDP in. Still doesn't help with the games though ;) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, November 21, 2007 10:39 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Virtual Server (was: A2K7 Navigation Pane) The one thing I would add is that it also uses a virtual video device which has poor capabilities, so NO GAMING. 8-( It took me awhile to figure that out. It does NOT use the actual installed hardware, i.e. you cannot set the drivers for your actual hardware and so it simply does not have the capabilities to run one of the modern games, and there is just no way to make it do so. I think it will run the old stuff like pong or Tetris. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, November 21, 2007 10:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Virtual Server (was: A2K7 Navigation Pane) Hi Tina Don't hesitate. We haven't worked that much with Microsoft's implementation or Xen (now bought by Citrix) but has focussed on the free VMware Server: http://www.vmware.com/products/server/ It's a marvellous product and we (me and my colleagues) recommend it highly. All server installations we have carried out for the last six months have been on virtual machines and all future will except for some special situations (like old hardware with limited ram). The negative part is that a virtual server runs about 10-15% slower than a clean physical installation on identical hardware, and that ram in a virtual server is limited to 3.6 GB for the free version. Everything else are pluses: - zero cost - runs on all decent hardware - host OS can be Windows (Server preferred) or Linux - remote control of the virtual servers including rebooting. - backup of a _complete_ virtual server to one single file is a snap. So is restore(!) - configuration of a server can be done on any decent hardware, then moved to the client's brand new hardware. - thus, extremely fast replacement of broken down hardware. Virtual servers are about to revolutionize server installations and in a few years it will be the default method except for some rare cases. If you prefer not to use Linux as the host OS, you can use an AMD 64 bit server which typically supports 8 GB ram or more and install the 64 bit Windows Server from the Action Pack you have wondered what to use for. /gustav >>> tinanfields at torchlake.com 21-11-2007 15:40 >>> One of these days, I really have to investigate this virtual machine concept. It really is cool, and it seems to solve the problem of needing more than one box. Tina jwcolby wrote: > VIRTUAL MACHINE! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 21 10:15:06 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 21 Nov 2007 17:15:06 +0100 Subject: [AccessD] Virtual Server (was: A2K7 Navigation Pane) Message-ID: Hi Jim Seems like you have missed something! Just mark View, Autofit Window: On the Display tab, you can configure autofit and full-screen preferences. Autofit Preferences Use Autofit preferences to control how the console behaves when Autofit is active. Select Autofit window to have VMware Server change the console window size to match the guest operating system screen resolution. This is the same as choosing View > Autofit Window. Select Autofit guest to have VMware Server change the guest operating system display resolution to match the console window size. This is the same as choosing View > Autofit Guest. /gustav >>> jimdettman at verizon.net 21-11-2007 17:05 >>> John, This is one of the major drawbacks with virtualizing that I've found. Your limited to VGA resolution (640x480) if you connect to the console. It's a royal pain when you work with it. One workaround for that is if you don't need the console, you can RDP in. From cfoust at infostatsystems.com Wed Nov 21 10:15:15 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 21 Nov 2007 08:15:15 -0800 Subject: [AccessD] Encrypting your stuff was offsite backup In-Reply-To: <007f01c82c3c$9253bb40$6c7aa8c0@M90> References: <003101c828fd$8dcf9e50$8119fea9@LTVM><001301c82930$a9e31620$ef706c4c@jisshowsbs.local><00ae01c82ac6$d9d03010$6c7aa8c0@M90><001601c82bef$01dbf6b0$ef706c4c@jisshowsbs.local> <007f01c82c3c$9253bb40$6c7aa8c0@M90> Message-ID: Hmmn ... and stay away from open windows? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, November 21, 2007 4:47 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Encrypting your stuff was offsite backup Just don't go skydiving with Ms. Foust. She may have learned a trick or two from me as well. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Tuesday, November 20, 2007 10:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup ...I've learned so much from you :) William ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 19, 2007 11:11 AM Subject: Re: [AccessD] Encrypting your stuff was offsite backup >I am amazed that Mr Hindman has lived to his current age... And that >he would sling stuff like that given his current age... > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Monday, November 19, 2007 10:59 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > I'll GET you for that, Mr. Hindman. Grrr > > Charlotte Foust aka Granny > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Saturday, November 17, 2007 7:44 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > ...now, now Max ...we'd all like to accept your claim to the > gerontological gold here ...but that would make you something like 80+ > and writing code before the first computer was built ...besides which, > only Charlotte is that old :) > > William > > ----- Original Message ----- > From: > To: "'Access Developers discussion and problem solving'" > > Sent: Saturday, November 17, 2007 4:38 AM > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > >> Elvis? Crikey, I was coding before he was born! >> How about the Andrews Sisters (WW2 singers from Minnesota)- world > famous >> though. >> >> Max >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman >> Sent: Friday, November 16, 2007 10:57 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> >> I use a 4gig stick with a u3 encryption program, wear it on a chain > around >> my neck. I seldom take a laptop to client offices anymore because >> most everything I need is on the stick ...just plug it in, log-on, >> sync, > and go >> to work ...I use a similar password algorithm but based on an Elvis > tune >> ...shows my age, it does :) >> >> William > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Nov 21 10:16:58 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 21 Nov 2007 08:16:58 -0800 Subject: [AccessD] A2K7 Navigation Pane In-Reply-To: <004b01c82c0a$fffa0690$0301a8c0@HAL9005> References: <00df01c82b45$ced67c80$0301a8c0@HAL9005><004101c82b9e$91e12e20$0301a8c0@HAL9005> <004b01c82c0a$fffa0690$0301a8c0@HAL9005> Message-ID: *He's* developing it? Then what are you doing, hanging the curtains? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, November 20, 2007 10:52 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2K7 Navigation Pane Yeah, and I'd have to effect it through code since he's developing this jewel to sell and distribute. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 20, 2007 10:15 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K7 Navigation Pane Yuck, I haven't worked with the beast enough to know. Can you switch him over to VB.Net?? LOL I know there's some kind of draconian method to get the old pre-2007 look in Office, so that may apply to Access as well, but I haven't pursued it to find out. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, November 20, 2007 9:56 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2K7 Navigation Pane Apparently it's in form view as well. So no way to turn it off in form view? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 20, 2007 9:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K7 Navigation Pane If he's talking about the panel on the left in design view, then he's pretty much out of luck, since that's the replacement for the database window in 2007. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 19, 2007 11:20 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2K7 Navigation Pane Dear List: A client writes to ask if the Navigation Pane (which in his screen shot is on the left side of the screen) can be made to disappear through code. I don't have A2007 so I don't know. I guess this 'Navigation Pane' is something new in A2007? Is there a line of code that will turn the pane off? An if the user is running 2003 is suppose it would generate an error but I could precede the code to turn off the pane with On Error Resume Next? 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.1/1140 - Release Date: 11/19/2007 7:05 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.2/1142 - Release Date: 11/20/2007 5:44 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Nov 21 10:19:54 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 21 Nov 2007 08:19:54 -0800 Subject: [AccessD] A2K7 Navigation Pane In-Reply-To: References: <007e01c82c3c$514b04f0$6c7aa8c0@M90> Message-ID: Quick, everyone grab something solid! The earthquake should being any minute now! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Wednesday, November 21, 2007 6:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K7 Navigation Pane I feel the world beginning to shift. I'm in complete agreement with you JWC! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, November 21, 2007 6:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2K7 Navigation Pane VIRTUAL MACHINE! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, November 21, 2007 1:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2K7 Navigation Pane Well, he sent me a screen shot showing how it screws up the forms having it there. I think I may have to bite the bullet here and get both - A2007 and Vista, and maybe a separate machine to run both so that I don't contaminate a perfectly good working system with all that crap. Rocky 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 BusinessSensitve 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 wdhindman at dejpolsystems.com Wed Nov 21 10:22:28 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 21 Nov 2007 11:22:28 -0500 Subject: [AccessD] Encrypting your stuff was offsite backup References: <003101c828fd$8dcf9e50$8119fea9@LTVM><001301c82930$a9e31620$ef706c4c@jisshowsbs.local><00ae01c82ac6$d9d03010$6c7aa8c0@M90><001601c82bef$01dbf6b0$ef706c4c@jisshowsbs.local> <007f01c82c3c$9253bb40$6c7aa8c0@M90> Message-ID: <000701c82c5a$b5ffd420$ef706c4c@jisshowsbs.local> ...lol ...ladies first! :) William ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 21, 2007 7:46 AM Subject: Re: [AccessD] Encrypting your stuff was offsite backup > Just don't go skydiving with Ms. Foust. She may have learned a trick or > two > from me as well. > > ;-) > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Tuesday, November 20, 2007 10:31 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > ...I've learned so much from you :) > > William > > ----- Original Message ----- > From: "jwcolby" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, November 19, 2007 11:11 AM > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > >>I am amazed that Mr Hindman has lived to his current age... And that he >> would sling stuff like that given his current age... >> >> >> John W. Colby >> Colby Consulting >> www.ColbyConsulting.com >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >> Foust >> Sent: Monday, November 19, 2007 10:59 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> >> I'll GET you for that, Mr. Hindman. Grrr >> >> Charlotte Foust aka Granny >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >> Sent: Saturday, November 17, 2007 7:44 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> >> ...now, now Max ...we'd all like to accept your claim to the >> gerontological >> gold here ...but that would make you something like 80+ and writing code >> before the first computer was built ...besides which, only Charlotte is >> that >> old :) >> >> William >> >> ----- Original Message ----- >> From: >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Saturday, November 17, 2007 4:38 AM >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> >> >>> Elvis? Crikey, I was coding before he was born! >>> How about the Andrews Sisters (WW2 singers from Minnesota)- world >> famous >>> though. >>> >>> Max >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >>> Sent: Friday, November 16, 2007 10:57 PM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >>> >>> I use a 4gig stick with a u3 encryption program, wear it on a chain >> around >>> my neck. I seldom take a laptop to client offices anymore because most >>> everything I need is on the stick ...just plug it in, log-on, sync, >> and go >>> to work ...I use a similar password algorithm but based on an Elvis >> tune >>> ...shows my age, it does :) >>> >>> William >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Wed Nov 21 10:29:18 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 21 Nov 2007 11:29:18 -0500 Subject: [AccessD] Encrypting your stuff was offsite backup References: <003101c828fd$8dcf9e50$8119fea9@LTVM><001301c82930$a9e31620$ef706c4c@jisshowsbs.local><00ae01c82ac6$d9d03010$6c7aa8c0@M90><001601c82bef$01dbf6b0$ef706c4c@jisshowsbs.local><007f01c82c3c$9253bb40$6c7aa8c0@M90> Message-ID: <000b01c82c5b$ab731070$ef706c4c@jisshowsbs.local> ...now, now Charlotte ...you'd not take advantage of a older man would you? :) ...besides which, it's 80F here, partly cloudy, and a gentle breeze ...you can find me outside in my hammock ...under the palms and banana trees ...among the orchids. William ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 21, 2007 11:15 AM Subject: Re: [AccessD] Encrypting your stuff was offsite backup > Hmmn ... and stay away from open windows? > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Wednesday, November 21, 2007 4:47 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > Just don't go skydiving with Ms. Foust. She may have learned a trick or > two from me as well. > > ;-) > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Tuesday, November 20, 2007 10:31 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > ...I've learned so much from you :) > > William > > ----- Original Message ----- > From: "jwcolby" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, November 19, 2007 11:11 AM > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > >>I am amazed that Mr Hindman has lived to his current age... And that >>he would sling stuff like that given his current age... >> >> >> John W. Colby >> Colby Consulting >> www.ColbyConsulting.com >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >> Foust >> Sent: Monday, November 19, 2007 10:59 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> >> I'll GET you for that, Mr. Hindman. Grrr >> >> Charlotte Foust aka Granny >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >> Sent: Saturday, November 17, 2007 7:44 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> >> ...now, now Max ...we'd all like to accept your claim to the >> gerontological gold here ...but that would make you something like 80+ > >> and writing code before the first computer was built ...besides which, > >> only Charlotte is that old :) >> >> William >> >> ----- Original Message ----- >> From: >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Saturday, November 17, 2007 4:38 AM >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> >> >>> Elvis? Crikey, I was coding before he was born! >>> How about the Andrews Sisters (WW2 singers from Minnesota)- world >> famous >>> though. >>> >>> Max >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >>> Sent: Friday, November 16, 2007 10:57 PM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >>> >>> I use a 4gig stick with a u3 encryption program, wear it on a chain >> around >>> my neck. I seldom take a laptop to client offices anymore because >>> most everything I need is on the stick ...just plug it in, log-on, >>> sync, >> and go >>> to work ...I use a similar password algorithm but based on an Elvis >> tune >>> ...shows my age, it does :) >>> >>> William >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Nov 21 10:34:09 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 21 Nov 2007 08:34:09 -0800 Subject: [AccessD] A2K7 Navigation Pane In-Reply-To: References: <00df01c82b45$ced67c80$0301a8c0@HAL9005><004101c82b9e$91e12e20$0301a8c0@HAL9005><004b01c82c0a$fffa0690$0301a8c0@HAL9005> Message-ID: <003701c82c5c$578de6f0$0301a8c0@HAL9005> Um...correction, I'm programming and providing design advice on forms and reports, and the major design features that he hadn't considered, like licensing, manual, consistency, etc. But it's his idea and specification of features and functions - I don't know squat about the patent and trademark process. So I guess I think of him as the developer and me as the hired gun. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, November 21, 2007 8:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K7 Navigation Pane *He's* developing it? Then what are you doing, hanging the curtains? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, November 20, 2007 10:52 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2K7 Navigation Pane Yeah, and I'd have to effect it through code since he's developing this jewel to sell and distribute. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 20, 2007 10:15 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K7 Navigation Pane Yuck, I haven't worked with the beast enough to know. Can you switch him over to VB.Net?? LOL I know there's some kind of draconian method to get the old pre-2007 look in Office, so that may apply to Access as well, but I haven't pursued it to find out. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, November 20, 2007 9:56 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2K7 Navigation Pane Apparently it's in form view as well. So no way to turn it off in form view? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 20, 2007 9:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K7 Navigation Pane If he's talking about the panel on the left in design view, then he's pretty much out of luck, since that's the replacement for the database window in 2007. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 19, 2007 11:20 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2K7 Navigation Pane Dear List: A client writes to ask if the Navigation Pane (which in his screen shot is on the left side of the screen) can be made to disappear through code. I don't have A2007 so I don't know. I guess this 'Navigation Pane' is something new in A2007? Is there a line of code that will turn the pane off? An if the user is running 2003 is suppose it would generate an error but I could precede the code to turn off the pane with On Error Resume Next? 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.1/1140 - Release Date: 11/19/2007 7:05 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.2/1142 - Release Date: 11/20/2007 5:44 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.2/1142 - Release Date: 11/20/2007 5:44 PM From cfoust at infostatsystems.com Wed Nov 21 10:39:31 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 21 Nov 2007 08:39:31 -0800 Subject: [AccessD] OT: Was( Encrypting your stuff was offsite backup) In-Reply-To: <000b01c82c5b$ab731070$ef706c4c@jisshowsbs.local> References: <003101c828fd$8dcf9e50$8119fea9@LTVM><001301c82930$a9e31620$ef706c4c@jisshowsbs.local><00ae01c82ac6$d9d03010$6c7aa8c0@M90><001601c82bef$01dbf6b0$ef706c4c@jisshowsbs.local><007f01c82c3c$9253bb40$6c7aa8c0@M90> <000b01c82c5b$ab731070$ef706c4c@jisshowsbs.local> Message-ID: How much older? Enough to give me a real advantage? If you keep on about your weather while I'm bundled up in fleece, I may not need any other encouragement to come after you! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, November 21, 2007 8:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup ...now, now Charlotte ...you'd not take advantage of a older man would you? :) ...besides which, it's 80F here, partly cloudy, and a gentle breeze ...you can find me outside in my hammock ...under the palms and banana trees ...among the orchids. William ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 21, 2007 11:15 AM Subject: Re: [AccessD] Encrypting your stuff was offsite backup > Hmmn ... and stay away from open windows? > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Wednesday, November 21, 2007 4:47 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > Just don't go skydiving with Ms. Foust. She may have learned a trick or > two from me as well. > > ;-) > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Tuesday, November 20, 2007 10:31 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > ...I've learned so much from you :) > > William > > ----- Original Message ----- > From: "jwcolby" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, November 19, 2007 11:11 AM > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > >>I am amazed that Mr Hindman has lived to his current age... And that >>he would sling stuff like that given his current age... >> >> >> John W. Colby >> Colby Consulting >> www.ColbyConsulting.com >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >> Foust >> Sent: Monday, November 19, 2007 10:59 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> >> I'll GET you for that, Mr. Hindman. Grrr >> >> Charlotte Foust aka Granny >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >> Sent: Saturday, November 17, 2007 7:44 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> >> ...now, now Max ...we'd all like to accept your claim to the >> gerontological gold here ...but that would make you something like 80+ > >> and writing code before the first computer was built ...besides which, > >> only Charlotte is that old :) >> >> William >> >> ----- Original Message ----- >> From: >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Saturday, November 17, 2007 4:38 AM >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> >> >>> Elvis? Crikey, I was coding before he was born! >>> How about the Andrews Sisters (WW2 singers from Minnesota)- world >> famous >>> though. >>> >>> Max >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >>> Sent: Friday, November 16, 2007 10:57 PM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >>> >>> I use a 4gig stick with a u3 encryption program, wear it on a chain >> around >>> my neck. I seldom take a laptop to client offices anymore because >>> most everything I need is on the stick ...just plug it in, log-on, >>> sync, >> and go >>> to work ...I use a similar password algorithm but based on an Elvis >> tune >>> ...shows my age, it does :) >>> >>> William >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Nov 21 10:41:08 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 21 Nov 2007 08:41:08 -0800 Subject: [AccessD] A2K7 Navigation Pane In-Reply-To: <003701c82c5c$578de6f0$0301a8c0@HAL9005> References: <00df01c82b45$ced67c80$0301a8c0@HAL9005><004101c82b9e$91e12e20$0301a8c0@HAL9005><004b01c82c0a$fffa0690$0301a8c0@HAL9005> <003701c82c5c$578de6f0$0301a8c0@HAL9005> Message-ID: LOL! Cue the Sergio Leone music! Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, November 21, 2007 8:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2K7 Navigation Pane Um...correction, I'm programming and providing design advice on forms and reports, and the major design features that he hadn't considered, like licensing, manual, consistency, etc. But it's his idea and specification of features and functions - I don't know squat about the patent and trademark process. So I guess I think of him as the developer and me as the hired gun. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, November 21, 2007 8:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K7 Navigation Pane *He's* developing it? Then what are you doing, hanging the curtains? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, November 20, 2007 10:52 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2K7 Navigation Pane Yeah, and I'd have to effect it through code since he's developing this jewel to sell and distribute. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 20, 2007 10:15 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K7 Navigation Pane Yuck, I haven't worked with the beast enough to know. Can you switch him over to VB.Net?? LOL I know there's some kind of draconian method to get the old pre-2007 look in Office, so that may apply to Access as well, but I haven't pursued it to find out. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, November 20, 2007 9:56 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2K7 Navigation Pane Apparently it's in form view as well. So no way to turn it off in form view? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 20, 2007 9:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K7 Navigation Pane If he's talking about the panel on the left in design view, then he's pretty much out of luck, since that's the replacement for the database window in 2007. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 19, 2007 11:20 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2K7 Navigation Pane Dear List: A client writes to ask if the Navigation Pane (which in his screen shot is on the left side of the screen) can be made to disappear through code. I don't have A2007 so I don't know. I guess this 'Navigation Pane' is something new in A2007? Is there a line of code that will turn the pane off? An if the user is running 2003 is suppose it would generate an error but I could precede the code to turn off the pane with On Error Resume Next? 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.1/1140 - Release Date: 11/19/2007 7:05 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.2/1142 - Release Date: 11/20/2007 5:44 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.2/1142 - Release Date: 11/20/2007 5:44 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Wed Nov 21 11:16:42 2007 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 21 Nov 2007 11:16:42 -0600 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <474442B7.9010502@torchlake.com> Message-ID: <20071121171707.7B5DE1CE58@smtp-out-02.usinternet.com> I sure do forget the obvious things! My company is ProMation Systems, Inc. And I am also a single person company. ProMation Systems is a subchapter S corporation in Minnesota. I did this partly for marketing and partly for liability. Minnesota didn't allow the option to set up my company as a Limited Liability Corporation (LLC) 5 years ago, but that's what I would do today. Good Luck Susan, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Wednesday, November 21, 2007 8:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Action Pack Subscribers Hi Susan, I am also just a Registered Partner, like Dan. My company is Tall Pines Computer Training and I am the sole proprietor of this tiny company. I am also all the functions of the company, because Tall Pines is simply the commercial face of Tina Fields. My DBA with the county was cheaper than John's - only $10 - and it has to be renewed every three years. I file a Schedule C for the business with my annual income tax return. That's it! So, create a business or commercial face of Susan Harkins as your "organization" and you are all set - legally, and ethically. Kind regards, Tina Susan Harkins wrote: > I haven't gone through the process, but the information suggests you must be > part of an "organization" -- any loners out there who are partners? How did > you fill in the organization holes? I could make something up, but I'd > rather not. > > Susan H. > > > >> Susan, >> >> You can be a partner without being a "certified" partner. I'm an >> associate partner, but I don't subscribe to the action pack for various >> reasons. >> > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Wed Nov 21 11:56:07 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 21 Nov 2007 12:56:07 -0500 Subject: [AccessD] Action Pack Subscribers References: <001701c82b7f$705dde20$6c7aa8c0@M90><006f01c82b7f$ff129cf0$4b3a8343@SusanOne><009e01c82b8c$6cf6d270$8abea8c0@XPS><000401c82b8d$b1960080$4b3a8343@SusanOne><002901c82b92$51c7fe60$4b3a8343@SusanOne> <00c101c82b9d$ca1c6ee0$4b3a8343@SusanOne> <474442B7.9010502@torchlake.com> Message-ID: <00b201c82c67$cc678890$4b3a8343@SusanOne> OH MY GOSH!!!!! It won't let me use Firefox to sign up! Fools... Susan H. > Hi Susan, > > I am also just a Registered Partner, like Dan. My company is Tall Pines > Computer Training and I am the sole proprietor of this tiny company. I > am also all the functions of the company, because Tall Pines is simply > the commercial face of Tina Fields. My DBA with the county was cheaper > than John's - only $10 - and it has to be renewed every three years. I > file a Schedule C for the business with my annual income tax return. > That's it! > > So, create a business or commercial face of Susan Harkins as your > "organization" and you are all set - legally, and ethically. > > Kind regards, > Tina > > Susan Harkins wrote: >> I haven't gone through the process, but the information suggests you must >> be >> part of an "organization" -- any loners out there who are partners? How >> did >> you fill in the organization holes? I could make something up, but I'd >> rather not. >> >> Susan H. >> >> >> >>> Susan, >>> >>> You can be a partner without being a "certified" partner. I'm an >>> associate partner, but I don't subscribe to the action pack for various >>> reasons. >>> >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From ssharkins at gmail.com Wed Nov 21 12:21:39 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 21 Nov 2007 13:21:39 -0500 Subject: [AccessD] Action Pack Subscribers References: <001701c82b7f$705dde20$6c7aa8c0@M90><006f01c82b7f$ff129cf0$4b3a8343@SusanOne><009e01c82b8c$6cf6d270$8abea8c0@XPS><000401c82b8d$b1960080$4b3a8343@SusanOne><002901c82b92$51c7fe60$4b3a8343@SusanOne> <00c101c82b9d$ca1c6ee0$4b3a8343@SusanOne> <474442B7.9010502@torchlake.com> Message-ID: <00b701c82c6b$5e606e80$4b3a8343@SusanOne> Well, I can't sign up. I don't have a web site. It would not accept my account without a url. What a hoot -- a waste of my time today. These folks just think too well of themselves if you ask me. Susan H. > > I am also just a Registered Partner, like Dan. My company is Tall Pines > Computer Training and I am the sole proprietor of this tiny company. I > am also all the functions of the company, because Tall Pines is simply > the commercial face of Tina Fields. My DBA with the county was cheaper > than John's - only $10 - and it has to be renewed every three years. I > file a Schedule C for the business with my annual income tax return. > That's it! > > So, create a business or commercial face of Susan Harkins as your > "organization" and you are all set - legally, and ethically. > > Kind regards, > Tina > > Susan Harkins wrote: >> I haven't gone through the process, but the information suggests you must >> be >> part of an "organization" -- any loners out there who are partners? How >> did >> you fill in the organization holes? I could make something up, but I'd >> rather not. >> >> Susan H. >> >> >> >>> Susan, >>> >>> You can be a partner without being a "certified" partner. I'm an >>> associate partner, but I don't subscribe to the action pack for various >>> reasons. >>> >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From garykjos at gmail.com Wed Nov 21 12:33:18 2007 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 21 Nov 2007 12:33:18 -0600 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <00b701c82c6b$5e606e80$4b3a8343@SusanOne> References: <006f01c82b7f$ff129cf0$4b3a8343@SusanOne> <009e01c82b8c$6cf6d270$8abea8c0@XPS> <000401c82b8d$b1960080$4b3a8343@SusanOne> <002901c82b92$51c7fe60$4b3a8343@SusanOne> <00c101c82b9d$ca1c6ee0$4b3a8343@SusanOne> <474442B7.9010502@torchlake.com> <00b701c82c6b$5e606e80$4b3a8343@SusanOne> Message-ID: It just wants something. I put in www.comcast.net I beleive. On 11/21/07, Susan Harkins wrote: > Well, I can't sign up. I don't have a web site. It would not accept my > account without a url. What a hoot -- a waste of my time today. These folks > just think too well of themselves if you ask me. > > Susan H. > > > > > I am also just a Registered Partner, like Dan. My company is Tall Pines > > Computer Training and I am the sole proprietor of this tiny company. I > > am also all the functions of the company, because Tall Pines is simply > > the commercial face of Tina Fields. My DBA with the county was cheaper > > than John's - only $10 - and it has to be renewed every three years. I > > file a Schedule C for the business with my annual income tax return. > > That's it! > > > > So, create a business or commercial face of Susan Harkins as your > > "organization" and you are all set - legally, and ethically. > > > > Kind regards, > > Tina > > > > Susan Harkins wrote: > >> I haven't gone through the process, but the information suggests you must > >> be > >> part of an "organization" -- any loners out there who are partners? How > >> did > >> you fill in the organization holes? I could make something up, but I'd > >> rather not. > >> > >> Susan H. > >> > >> > >> > >>> Susan, > >>> > >>> You can be a partner without being a "certified" partner. I'm an > >>> associate partner, but I don't subscribe to the action pack for various > >>> reasons. > >>> > >> > >> > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From jwcolby at colbyconsulting.com Wed Nov 21 12:40:19 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 21 Nov 2007 13:40:19 -0500 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <00b201c82c67$cc678890$4b3a8343@SusanOne> References: <001701c82b7f$705dde20$6c7aa8c0@M90><006f01c82b7f$ff129cf0$4b3a8343@SusanOne><009e01c82b8c$6cf6d270$8abea8c0@XPS><000401c82b8d$b1960080$4b3a8343@SusanOne><002901c82b92$51c7fe60$4b3a8343@SusanOne> <00c101c82b9d$ca1c6ee0$4b3a8343@SusanOne><474442B7.9010502@torchlake.com> <00b201c82c67$cc678890$4b3a8343@SusanOne> Message-ID: <00a001c82c6d$f840e8c0$6c7aa8c0@M90> LOL. Yea, MS just HATES FireFox and does whatever they can to break it. I think they have a special "break Firefox goon squad" locked away in a little room just searching for incompatibilities night and day. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, November 21, 2007 12:56 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Action Pack Subscribers OH MY GOSH!!!!! It won't let me use Firefox to sign up! Fools... Susan H. > Hi Susan, > > I am also just a Registered Partner, like Dan. My company is Tall > Pines Computer Training and I am the sole proprietor of this tiny > company. I am also all the functions of the company, because Tall > Pines is simply the commercial face of Tina Fields. My DBA with the > county was cheaper than John's - only $10 - and it has to be renewed > every three years. I file a Schedule C for the business with my annual income tax return. > That's it! > > So, create a business or commercial face of Susan Harkins as your > "organization" and you are all set - legally, and ethically. > > Kind regards, > Tina > > Susan Harkins wrote: >> I haven't gone through the process, but the information suggests you >> must be part of an "organization" -- any loners out there who are >> partners? How did you fill in the organization holes? I could make >> something up, but I'd rather not. >> >> Susan H. >> >> >> >>> Susan, >>> >>> You can be a partner without being a "certified" partner. I'm an >>> associate partner, but I don't subscribe to the action pack for >>> various reasons. >>> >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 21 12:42:25 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 21 Nov 2007 13:42:25 -0500 Subject: [AccessD] Action Pack Subscribers In-Reply-To: References: <006f01c82b7f$ff129cf0$4b3a8343@SusanOne><009e01c82b8c$6cf6d270$8abea8c0@XPS><000401c82b8d$b1960080$4b3a8343@SusanOne><002901c82b92$51c7fe60$4b3a8343@SusanOne><00c101c82b9d$ca1c6ee0$4b3a8343@SusanOne><474442B7.9010502@torchlake.com><00b701c82c6b$5e606e80$4b3a8343@SusanOne> Message-ID: <00a101c82c6e$43112180$6c7aa8c0@M90> ROTFL, that is too good. You should have put in some porn site that would have infected their computers with nasties when they clicked on it to test that it was valid. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Wednesday, November 21, 2007 1:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Action Pack Subscribers It just wants something. I put in www.comcast.net I beleive. On 11/21/07, Susan Harkins wrote: > Well, I can't sign up. I don't have a web site. It would not accept my > account without a url. What a hoot -- a waste of my time today. These > folks just think too well of themselves if you ask me. > > Susan H. From andy at minstersystems.co.uk Wed Nov 21 12:42:17 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 21 Nov 2007 18:42:17 -0000 Subject: [AccessD] OT: Was( Encrypting your stuff was offsite backup) In-Reply-To: Message-ID: <012101c82c6e$3f0906c0$3183d355@minster33c3r25> Enough already. What started as a Friday OT has staggered on to Wednesday and that's probably enough. Please go OT if you want to carry this on. Thanks. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: 21 November 2007 16:40 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Was( Encrypting your stuff was > offsite backup) > > > How much older? Enough to give me a real advantage? If you > keep on about your weather while I'm bundled up in fleece, I > may not need any other encouragement to come after you! LOL > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > William Hindman > Sent: Wednesday, November 21, 2007 8:29 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > ...now, now Charlotte ...you'd not take advantage of a older > man would you? > :) > > ...besides which, it's 80F here, partly cloudy, and a gentle > breeze ...you can find me outside in my hammock ...under the > palms and banana trees ...among the orchids. > > William > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 21, 2007 11:15 AM > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > > > Hmmn ... and stay away from open windows? > > > > Charlotte Foust > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > > Sent: Wednesday, November 21, 2007 4:47 AM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > > > Just don't go skydiving with Ms. Foust. She may have > learned a trick > or > > two from me as well. > > > > ;-) > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > > Hindman > > Sent: Tuesday, November 20, 2007 10:31 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > > > ...I've learned so much from you :) > > > > William > > > > ----- Original Message ----- > > From: "jwcolby" > > To: "'Access Developers discussion and problem solving'" > > > > Sent: Monday, November 19, 2007 11:11 AM > > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > > > > >>I am amazed that Mr Hindman has lived to his current age... > And that > >>he would sling stuff like that given his current age... > >> > >> > >> John W. Colby > >> Colby Consulting > >> www.ColbyConsulting.com > >> -----Original Message----- > >> From: accessd-bounces at databaseadvisors.com > >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte > >> Foust > >> Sent: Monday, November 19, 2007 10:59 AM > >> To: Access Developers discussion and problem solving > >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup > >> > >> I'll GET you for that, Mr. Hindman. Grrr > >> > >> Charlotte Foust aka Granny > >> > >> -----Original Message----- > >> From: accessd-bounces at databaseadvisors.com > >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > >> Hindman > >> Sent: Saturday, November 17, 2007 7:44 AM > >> To: Access Developers discussion and problem solving > >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup > >> > >> ...now, now Max ...we'd all like to accept your claim to the > >> gerontological gold here ...but that would make you something like > 80+ > > > >> and writing code before the first computer was built ...besides > which, > > > >> only Charlotte is that old :) > >> > >> William > >> > >> ----- Original Message ----- > >> From: > >> To: "'Access Developers discussion and problem solving'" > >> > >> Sent: Saturday, November 17, 2007 4:38 AM > >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup > >> > >> > >>> Elvis? Crikey, I was coding before he was born! > >>> How about the Andrews Sisters (WW2 singers from Minnesota)- world > >> famous > >>> though. > >>> > >>> Max > >>> > >>> > >>> -----Original Message----- > >>> From: accessd-bounces at databaseadvisors.com > >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > >> Hindman > >>> Sent: Friday, November 16, 2007 10:57 PM > >>> To: Access Developers discussion and problem solving > >>> Subject: Re: [AccessD] Encrypting your stuff was offsite backup > >>> > >>> I use a 4gig stick with a u3 encryption program, wear it > on a chain > >> around > >>> my neck. I seldom take a laptop to client offices anymore because > >>> most everything I need is on the stick ...just plug it > in, log-on, > >>> sync, > >> and go > >>> to work ...I use a similar password algorithm but based > on an Elvis > >> tune > >>> ...shows my age, it does :) > >>> > >>> William > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 21 12:54:39 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 21 Nov 2007 13:54:39 -0500 Subject: [AccessD] OT: Was( Encrypting your stuff was offsite backup) In-Reply-To: <012101c82c6e$3f0906c0$3183d355@minster33c3r25> References: <012101c82c6e$3f0906c0$3183d355@minster33c3r25> Message-ID: <00a201c82c6f$f88bc280$6c7aa8c0@M90> Andy, In the US this is the new Friday (for this week - Thanksgiving long weekend) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Wednesday, November 21, 2007 1:42 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Was( Encrypting your stuff was offsite backup) Enough already. What started as a Friday OT has staggered on to Wednesday and that's probably enough. Please go OT if you want to carry this on. Thanks. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: 21 November 2007 16:40 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Was( Encrypting your stuff was offsite > backup) > > > How much older? Enough to give me a real advantage? If you keep on > about your weather while I'm bundled up in fleece, I may not need any > other encouragement to come after you! LOL > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Wednesday, November 21, 2007 8:29 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > ...now, now Charlotte ...you'd not take advantage of a older man would > you? > :) > > ...besides which, it's 80F here, partly cloudy, and a gentle breeze > ...you can find me outside in my hammock ...under the palms and banana > trees ...among the orchids. > > William > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 21, 2007 11:15 AM > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > > > Hmmn ... and stay away from open windows? > > > > Charlotte Foust > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > > Sent: Wednesday, November 21, 2007 4:47 AM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > > > Just don't go skydiving with Ms. Foust. She may have > learned a trick > or > > two from me as well. > > > > ;-) > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > > Hindman > > Sent: Tuesday, November 20, 2007 10:31 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > > > ...I've learned so much from you :) > > > > William > > > > ----- Original Message ----- > > From: "jwcolby" > > To: "'Access Developers discussion and problem solving'" > > > > Sent: Monday, November 19, 2007 11:11 AM > > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > > > > >>I am amazed that Mr Hindman has lived to his current age... > And that > >>he would sling stuff like that given his current age... > >> > >> > >> John W. Colby > >> Colby Consulting > >> www.ColbyConsulting.com > >> -----Original Message----- > >> From: accessd-bounces at databaseadvisors.com > >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte > >> Foust > >> Sent: Monday, November 19, 2007 10:59 AM > >> To: Access Developers discussion and problem solving > >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup > >> > >> I'll GET you for that, Mr. Hindman. Grrr > >> > >> Charlotte Foust aka Granny > >> > >> -----Original Message----- > >> From: accessd-bounces at databaseadvisors.com > >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > >> Hindman > >> Sent: Saturday, November 17, 2007 7:44 AM > >> To: Access Developers discussion and problem solving > >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup > >> > >> ...now, now Max ...we'd all like to accept your claim to the > >> gerontological gold here ...but that would make you something like > 80+ > > > >> and writing code before the first computer was built ...besides > which, > > > >> only Charlotte is that old :) > >> > >> William > >> > >> ----- Original Message ----- > >> From: > >> To: "'Access Developers discussion and problem solving'" > >> > >> Sent: Saturday, November 17, 2007 4:38 AM > >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup > >> > >> > >>> Elvis? Crikey, I was coding before he was born! > >>> How about the Andrews Sisters (WW2 singers from Minnesota)- world > >> famous > >>> though. > >>> > >>> Max > >>> > >>> > >>> -----Original Message----- > >>> From: accessd-bounces at databaseadvisors.com > >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > >> Hindman > >>> Sent: Friday, November 16, 2007 10:57 PM > >>> To: Access Developers discussion and problem solving > >>> Subject: Re: [AccessD] Encrypting your stuff was offsite backup > >>> > >>> I use a 4gig stick with a u3 encryption program, wear it > on a chain > >> around > >>> my neck. I seldom take a laptop to client offices anymore because > >>> most everything I need is on the stick ...just plug it > in, log-on, > >>> sync, > >> and go > >>> to work ...I use a similar password algorithm but based > on an Elvis > >> tune > >>> ...shows my age, it does :) > >>> > >>> William > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Wed Nov 21 13:09:11 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 21 Nov 2007 14:09:11 -0500 Subject: [AccessD] Action Pack Subscribers References: <006f01c82b7f$ff129cf0$4b3a8343@SusanOne><009e01c82b8c$6cf6d270$8abea8c0@XPS><000401c82b8d$b1960080$4b3a8343@SusanOne><002901c82b92$51c7fe60$4b3a8343@SusanOne><00c101c82b9d$ca1c6ee0$4b3a8343@SusanOne><474442B7.9010502@torchlake.com><00b701c82c6b$5e606e80$4b3a8343@SusanOne> Message-ID: <010501c82c72$070d1190$4b3a8343@SusanOne> Well, I really didn't think about doing something like that. I'm surprised they'll take anything, when they're forcing a value -- that seems terribly inefficient. Susan H. > It just wants something. I put in www.comcast.net I beleive. From wdhindman at dejpolsystems.com Wed Nov 21 13:18:59 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 21 Nov 2007 14:18:59 -0500 Subject: [AccessD] OT: Was( Encrypting your stuff was offsite backup) References: <012101c82c6e$3f0906c0$3183d355@minster33c3r25> <00a201c82c6f$f88bc280$6c7aa8c0@M90> Message-ID: <003301c82c73$5f042ef0$ef706c4c@jisshowsbs.local> ...sssshhhhh! ...don't tell Charlotte, eh ...Andy got me off the hook, he did :) William ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 21, 2007 1:54 PM Subject: Re: [AccessD] OT: Was( Encrypting your stuff was offsite backup) > Andy, > > In the US this is the new Friday (for this week - Thanksgiving long > weekend) > > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Sent: Wednesday, November 21, 2007 1:42 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] OT: Was( Encrypting your stuff was offsite backup) > > Enough already. What started as a Friday OT has staggered on to Wednesday > and that's probably enough. Please go OT if you want to carry this on. > Thanks. > > -- Andy Lacey > http://www.minstersystems.co.uk > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >> Foust >> Sent: 21 November 2007 16:40 >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] OT: Was( Encrypting your stuff was offsite >> backup) >> >> >> How much older? Enough to give me a real advantage? If you keep on >> about your weather while I'm bundled up in fleece, I may not need any >> other encouragement to come after you! LOL >> >> Charlotte Foust >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >> Sent: Wednesday, November 21, 2007 8:29 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> >> ...now, now Charlotte ...you'd not take advantage of a older man would >> you? >> :) >> >> ...besides which, it's 80F here, partly cloudy, and a gentle breeze >> ...you can find me outside in my hammock ...under the palms and banana >> trees ...among the orchids. >> >> William >> >> ----- Original Message ----- >> From: "Charlotte Foust" >> To: "Access Developers discussion and problem solving" >> >> Sent: Wednesday, November 21, 2007 11:15 AM >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> >> >> > Hmmn ... and stay away from open windows? >> > >> > Charlotte Foust >> > >> > -----Original Message----- >> > From: accessd-bounces at databaseadvisors.com >> > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> > Sent: Wednesday, November 21, 2007 4:47 AM >> > To: 'Access Developers discussion and problem solving' >> > Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> > >> > Just don't go skydiving with Ms. Foust. She may have >> learned a trick >> or >> > two from me as well. >> > >> > ;-) >> > >> > John W. Colby >> > Colby Consulting >> > www.ColbyConsulting.com >> > -----Original Message----- >> > From: accessd-bounces at databaseadvisors.com >> > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> > Hindman >> > Sent: Tuesday, November 20, 2007 10:31 PM >> > To: Access Developers discussion and problem solving >> > Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> > >> > ...I've learned so much from you :) >> > >> > William >> > >> > ----- Original Message ----- >> > From: "jwcolby" >> > To: "'Access Developers discussion and problem solving'" >> > >> > Sent: Monday, November 19, 2007 11:11 AM >> > Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> > >> > >> >>I am amazed that Mr Hindman has lived to his current age... >> And that >> >>he would sling stuff like that given his current age... >> >> >> >> >> >> John W. Colby >> >> Colby Consulting >> >> www.ColbyConsulting.com >> >> -----Original Message----- >> >> From: accessd-bounces at databaseadvisors.com >> >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> Charlotte >> >> Foust >> >> Sent: Monday, November 19, 2007 10:59 AM >> >> To: Access Developers discussion and problem solving >> >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> >> >> >> I'll GET you for that, Mr. Hindman. Grrr >> >> >> >> Charlotte Foust aka Granny >> >> >> >> -----Original Message----- >> >> From: accessd-bounces at databaseadvisors.com >> >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> >> Hindman >> >> Sent: Saturday, November 17, 2007 7:44 AM >> >> To: Access Developers discussion and problem solving >> >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> >> >> >> ...now, now Max ...we'd all like to accept your claim to the >> >> gerontological gold here ...but that would make you something like >> 80+ >> > >> >> and writing code before the first computer was built ...besides >> which, >> > >> >> only Charlotte is that old :) >> >> >> >> William >> >> >> >> ----- Original Message ----- >> >> From: >> >> To: "'Access Developers discussion and problem solving'" >> >> >> >> Sent: Saturday, November 17, 2007 4:38 AM >> >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> >> >> >> >> >>> Elvis? Crikey, I was coding before he was born! >> >>> How about the Andrews Sisters (WW2 singers from Minnesota)- world >> >> famous >> >>> though. >> >>> >> >>> Max >> >>> >> >>> >> >>> -----Original Message----- >> >>> From: accessd-bounces at databaseadvisors.com >> >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> >> Hindman >> >>> Sent: Friday, November 16, 2007 10:57 PM >> >>> To: Access Developers discussion and problem solving >> >>> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> >>> >> >>> I use a 4gig stick with a u3 encryption program, wear it >> on a chain >> >> around >> >>> my neck. I seldom take a laptop to client offices anymore because >> >>> most everything I need is on the stick ...just plug it >> in, log-on, >> >>> sync, >> >> and go >> >>> to work ...I use a similar password algorithm but based >> on an Elvis >> >> tune >> >>> ...shows my age, it does :) >> >>> >> >>> William >> >> >> >> -- >> >> AccessD mailing list >> >> AccessD at databaseadvisors.com >> >> http://databaseadvisors.com/mailman/listinfo/accessd >> >> Website: http://www.databaseadvisors.com >> > >> > >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From garykjos at gmail.com Wed Nov 21 13:25:43 2007 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 21 Nov 2007 13:25:43 -0600 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <010501c82c72$070d1190$4b3a8343@SusanOne> References: <000401c82b8d$b1960080$4b3a8343@SusanOne> <002901c82b92$51c7fe60$4b3a8343@SusanOne> <00c101c82b9d$ca1c6ee0$4b3a8343@SusanOne> <474442B7.9010502@torchlake.com> <00b701c82c6b$5e606e80$4b3a8343@SusanOne> <010501c82c72$070d1190$4b3a8343@SusanOne> Message-ID: You could try putting "NONE" in there too. Might just be looking for a non-blank value. Yes, it's dumb that it requires it, but you have to give it what it wants. On my companies website we have literally hundreds of thousands of customers with things like "None" or "No E-MAIL" or "I don't have e-mail" in the e-mail address field. We evidently were requiring customers to enter something in there. I have had to do a lot of filters over the years to weed out that kind of crud. On 11/21/07, Susan Harkins wrote: > Well, I really didn't think about doing something like that. I'm surprised > they'll take anything, when they're forcing a value -- that seems terribly > inefficient. > > Susan H. > > > > It just wants something. I put in www.comcast.net I beleive. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From ssharkins at gmail.com Wed Nov 21 13:43:10 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 21 Nov 2007 14:43:10 -0500 Subject: [AccessD] Action Pack Subscribers References: <000401c82b8d$b1960080$4b3a8343@SusanOne><002901c82b92$51c7fe60$4b3a8343@SusanOne><00c101c82b9d$ca1c6ee0$4b3a8343@SusanOne><474442B7.9010502@torchlake.com><00b701c82c6b$5e606e80$4b3a8343@SusanOne><010501c82c72$070d1190$4b3a8343@SusanOne> Message-ID: <000401c82c76$c1682490$4b3a8343@SusanOne> > You could try putting "NONE" in there too. Might just be looking for > a non-blank value. Yes, it's dumb that it requires it, but you have > to give it what it wants. =====Tried that. Susan H. From andy at minstersystems.co.uk Wed Nov 21 13:54:10 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 21 Nov 2007 19:54:10 -0000 Subject: [AccessD] OT: Was( Encrypting your stuff was offsite backup) In-Reply-To: <00a201c82c6f$f88bc280$6c7aa8c0@M90> Message-ID: <013401c82c78$48efec80$3183d355@minster33c3r25> Don't rub it in - work as usual for the rest of us. Happy Thanksgiving anyway. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 21 November 2007 18:55 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] OT: Was( Encrypting your stuff was > offsite backup) > > > Andy, > > In the US this is the new Friday (for this week - > Thanksgiving long weekend) > > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Sent: Wednesday, November 21, 2007 1:42 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] OT: Was( Encrypting your stuff was > offsite backup) > > Enough already. What started as a Friday OT has staggered on > to Wednesday and that's probably enough. Please go OT if you > want to carry this on. Thanks. > > -- Andy Lacey > http://www.minstersystems.co.uk > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > > Foust > > Sent: 21 November 2007 16:40 > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] OT: Was( Encrypting your stuff was offsite > > backup) > > > > > > How much older? Enough to give me a real advantage? If you keep on > > about your weather while I'm bundled up in fleece, I may > not need any > > other encouragement to come after you! LOL > > > > Charlotte Foust > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > > Hindman > > Sent: Wednesday, November 21, 2007 8:29 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > > > ...now, now Charlotte ...you'd not take advantage of a > older man would > > you? > > :) > > > > ...besides which, it's 80F here, partly cloudy, and a gentle breeze > > ...you can find me outside in my hammock ...under the palms > and banana > > trees ...among the orchids. > > > > William > > > > ----- Original Message ----- > > From: "Charlotte Foust" > > To: "Access Developers discussion and problem solving" > > > > Sent: Wednesday, November 21, 2007 11:15 AM > > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > > > > > > Hmmn ... and stay away from open windows? > > > > > > Charlotte Foust > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > > > Sent: Wednesday, November 21, 2007 4:47 AM > > > To: 'Access Developers discussion and problem solving' > > > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > > > > > Just don't go skydiving with Ms. Foust. She may have > > learned a trick > > or > > > two from me as well. > > > > > > ;-) > > > > > > John W. Colby > > > Colby Consulting > > > www.ColbyConsulting.com > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > > > Hindman > > > Sent: Tuesday, November 20, 2007 10:31 PM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > > > > > ...I've learned so much from you :) > > > > > > William > > > > > > ----- Original Message ----- > > > From: "jwcolby" > > > To: "'Access Developers discussion and problem solving'" > > > > > > Sent: Monday, November 19, 2007 11:11 AM > > > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > > > > > > > >>I am amazed that Mr Hindman has lived to his current age... > > And that > > >>he would sling stuff like that given his current age... > > >> > > >> > > >> John W. Colby > > >> Colby Consulting > > >> www.ColbyConsulting.com > > >> -----Original Message----- > > >> From: accessd-bounces at databaseadvisors.com > > >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Charlotte > > >> Foust > > >> Sent: Monday, November 19, 2007 10:59 AM > > >> To: Access Developers discussion and problem solving > > >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > >> > > >> I'll GET you for that, Mr. Hindman. Grrr > > >> > > >> Charlotte Foust aka Granny > > >> > > >> -----Original Message----- > > >> From: accessd-bounces at databaseadvisors.com > > >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of William > > >> Hindman > > >> Sent: Saturday, November 17, 2007 7:44 AM > > >> To: Access Developers discussion and problem solving > > >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > >> > > >> ...now, now Max ...we'd all like to accept your claim to the > > >> gerontological gold here ...but that would make you > something like > > 80+ > > > > > >> and writing code before the first computer was built ...besides > > which, > > > > > >> only Charlotte is that old :) > > >> > > >> William > > >> > > >> ----- Original Message ----- > > >> From: > > >> To: "'Access Developers discussion and problem solving'" > > >> > > >> Sent: Saturday, November 17, 2007 4:38 AM > > >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > >> > > >> > > >>> Elvis? Crikey, I was coding before he was born! > > >>> How about the Andrews Sisters (WW2 singers from > Minnesota)- world > > >> famous > > >>> though. > > >>> > > >>> Max > > >>> > > >>> > > >>> -----Original Message----- > > >>> From: accessd-bounces at databaseadvisors.com > > >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of William > > >> Hindman > > >>> Sent: Friday, November 16, 2007 10:57 PM > > >>> To: Access Developers discussion and problem solving > > >>> Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > >>> > > >>> I use a 4gig stick with a u3 encryption program, wear it > > on a chain > > >> around > > >>> my neck. I seldom take a laptop to client offices > anymore because > > >>> most everything I need is on the stick ...just plug it > > in, log-on, > > >>> sync, > > >> and go > > >>> to work ...I use a similar password algorithm but based > > on an Elvis > > >> tune > > >>> ...shows my age, it does :) > > >>> > > >>> William > > >> > > >> -- > > >> AccessD mailing list > > >> AccessD at databaseadvisors.com > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > >> Website: http://www.databaseadvisors.com > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From dwaters at usinternet.com Wed Nov 21 14:17:33 2007 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 21 Nov 2007 14:17:33 -0600 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <000401c82c76$c1682490$4b3a8343@SusanOne> Message-ID: <20071121201759.436A61CD57@smtp-out-02.usinternet.com> How about www.databaseadvisors.com ? It is where you work!!! ;-) Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, November 21, 2007 1:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Action Pack Subscribers > You could try putting "NONE" in there too. Might just be looking for > a non-blank value. Yes, it's dumb that it requires it, but you have > to give it what it wants. =====Tried that. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Nov 21 15:04:53 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 21 Nov 2007 16:04:53 -0500 Subject: [AccessD] Optimizing queries with in() - SQL Server 2005 Message-ID: <00b401c82c82$29e9d4e0$6c7aa8c0@M90> I have a lot of queries where I have to look for multiple values. I have been using an IN() clause but I am advised that is very slow. OTOH I built two queries that use an IN() in one query and a bunch of ORs in the other and over a 56 million record table they were both so fast I couldn't see the difference (Indexed column, containing values 1-9 and A-T (under 2 sec) Any comments? John W. Colby Colby Consulting www.ColbyConsulting.com From ssharkins at gmail.com Wed Nov 21 15:07:06 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 21 Nov 2007 16:07:06 -0500 Subject: [AccessD] Action Pack Subscribers References: <20071121201759.436A61CD57@smtp-out-02.usinternet.com> Message-ID: <002d01c82c82$7ba30130$4b3a8343@SusanOne> Well, I hadn't thought about that either. :) Susan H. > How about www.databaseadvisors.com ? > > It is where you work!!! ;-) From max.wanadoo at gmail.com Wed Nov 21 15:13:52 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Wed, 21 Nov 2007 21:13:52 -0000 Subject: [AccessD] Encrypting your stuff was offsite backup In-Reply-To: <008301c82945$db6d1320$6c7aa8c0@M90> Message-ID: <007401c82c83$6bad0c20$8119fea9@LTVM> Hi John (Colby) No doubt you have heard of the disgraceful loss of data by our Government who *lost* 25 million (yes, MILLION) personal details on two CDs. Not only that, but they were UNENCRYPTED. Obviously never heard of TrueCrypt. Perhaps you should offer your services as IT Consultant to the British Government. God knows, they need some help! Max P.s To check the stories goto www.bbc.co.uk/news or www.itv.com/news or any UK news site. From jwcolby at colbyconsulting.com Wed Nov 21 16:53:50 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 21 Nov 2007 17:53:50 -0500 Subject: [AccessD] Encrypting your stuff was offsite backup In-Reply-To: <007401c82c83$6bad0c20$8119fea9@LTVM> References: <008301c82945$db6d1320$6c7aa8c0@M90> <007401c82c83$6bad0c20$8119fea9@LTVM> Message-ID: <00bb01c82c91$6257f230$6c7aa8c0@M90> Max, The problem is rampant. In the US it is another case every week. Laptops stolen, backups lost on the way to the archive, unencrypted data on servers. This stuff isn't rocket science, I mean if I can do it anyone can. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Wednesday, November 21, 2007 4:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Encrypting your stuff was offsite backup Hi John (Colby) No doubt you have heard of the disgraceful loss of data by our Government who *lost* 25 million (yes, MILLION) personal details on two CDs. Not only that, but they were UNENCRYPTED. Obviously never heard of TrueCrypt. Perhaps you should offer your services as IT Consultant to the British Government. God knows, they need some help! Max P.s To check the stories goto www.bbc.co.uk/news or www.itv.com/news or any UK news site. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Nov 21 16:58:00 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 21 Nov 2007 14:58:00 -0800 Subject: [AccessD] Encrypting your stuff was offsite backup In-Reply-To: <007401c82c83$6bad0c20$8119fea9@LTVM> References: <008301c82945$db6d1320$6c7aa8c0@M90> <007401c82c83$6bad0c20$8119fea9@LTVM> Message-ID: <00b001c82c91$f74a4960$0301a8c0@HAL9005> Heard that on the news today. Apparently big embarrassment for the government. Big enough to bring it down? Any evidence yet that the data's been used? Rocky' -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Wednesday, November 21, 2007 1:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Encrypting your stuff was offsite backup Hi John (Colby) No doubt you have heard of the disgraceful loss of data by our Government who *lost* 25 million (yes, MILLION) personal details on two CDs. Not only that, but they were UNENCRYPTED. Obviously never heard of TrueCrypt. Perhaps you should offer your services as IT Consultant to the British Government. God knows, they need some help! Max P.s To check the stories goto www.bbc.co.uk/news or www.itv.com/news or any UK news site. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.2/1142 - Release Date: 11/20/2007 5:44 PM From max.wanadoo at gmail.com Wed Nov 21 17:10:06 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Wed, 21 Nov 2007 23:10:06 -0000 Subject: [AccessD] Encrypting your stuff was offsite backup In-Reply-To: <00bb01c82c91$6257f230$6c7aa8c0@M90> Message-ID: <009c01c82c93$a952ce10$8119fea9@LTVM> Indeed! It is easy and there are so many tools available - free if our Government is strapped for cash! But this represents HALF of our population. It now comes out that "It was too costly to separate the required/requested information" (Names and Insurance Nos.) so Her Majesty's Inspector of Taxes just dumped the lot onto 2xCDs and popped them in the postal system. Bank Details, Personal data, the lot! Not even encrypted! A simple query in Access would have done the job, followed by an encryption routine. Goodness me. I am just so astounded by the incompetence of it all. We all wait now to see how many Identify Fraud cases pop up because of this. How many foreign illegal immigrants gain access by impersonation, etc. Solution: Make it compulsory for all IT staff in Government to sign up to databaseadvisors! Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, November 21, 2007 10:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Encrypting your stuff was offsite backup Max, The problem is rampant. In the US it is another case every week. Laptops stolen, backups lost on the way to the archive, unencrypted data on servers. This stuff isn't rocket science, I mean if I can do it anyone can. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Wednesday, November 21, 2007 4:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Encrypting your stuff was offsite backup Hi John (Colby) No doubt you have heard of the disgraceful loss of data by our Government who *lost* 25 million (yes, MILLION) personal details on two CDs. Not only that, but they were UNENCRYPTED. Obviously never heard of TrueCrypt. Perhaps you should offer your services as IT Consultant to the British Government. God knows, they need some help! Max P.s To check the stories goto www.bbc.co.uk/news or www.itv.com/news or any UK news site. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Wed Nov 21 17:11:23 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Wed, 21 Nov 2007 23:11:23 -0000 Subject: [AccessD] Encrypting your stuff was offsite backup In-Reply-To: <00b001c82c91$f74a4960$0301a8c0@HAL9005> Message-ID: <009d01c82c93$d7f6ceb0$8119fea9@LTVM> Not so far, but believe me, we are all waiting for the first case to surface. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, November 21, 2007 10:58 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Encrypting your stuff was offsite backup Heard that on the news today. Apparently big embarrassment for the government. Big enough to bring it down? Any evidence yet that the data's been used? Rocky' -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Wednesday, November 21, 2007 1:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Encrypting your stuff was offsite backup Hi John (Colby) No doubt you have heard of the disgraceful loss of data by our Government who *lost* 25 million (yes, MILLION) personal details on two CDs. Not only that, but they were UNENCRYPTED. Obviously never heard of TrueCrypt. Perhaps you should offer your services as IT Consultant to the British Government. God knows, they need some help! Max P.s To check the stories goto www.bbc.co.uk/news or www.itv.com/news or any UK news site. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.2/1142 - Release Date: 11/20/2007 5:44 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fahooper at trapo.com Wed Nov 21 21:24:34 2007 From: fahooper at trapo.com (Fred Hooper) Date: Wed, 21 Nov 2007 22:24:34 -0500 Subject: [AccessD] Optimizing queries with in() - SQL Server 2005 In-Reply-To: <00b401c82c82$29e9d4e0$6c7aa8c0@M90> Message-ID: <005301c82cb7$34918b10$8151dd48@fredxp> John, I think that an IN() and a bunch of ORs are roughly equivalent. Try selecting the values you want in a sub query and (inner) joining it to the table you want to limit. E.g. select foo.* from foo inner join (select value_field from foo2 where choice = 'Y') lim on foo.value_field = lim.value_field If you use the limitation in more than one place, or just for readability, try the With clause. E.g. With limiting_values as (select value_field from foo2 where choice = 'Y') select foo.* from foo inner join limiting_values lim on foo.value_field = lim.value_field If you check the cost of both approaches I think you'll find that the IN/OR approach causes a full table scan while limiting through a join avoids it. I frequently do this when I've set the foo2.choice field using code and use the values to limit another larger table. (Note: foo2 holds all possible selection values for the value_field.) Hope this helps, Fred -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, November 21, 2007 4:05 PM To: dba-sqlserver at databaseadvisors.com; 'Access Developers discussion and problem solving' Subject: [AccessD] Optimizing queries with in() - SQL Server 2005 I have a lot of queries where I have to look for multiple values. I have been using an IN() clause but I am advised that is very slow. OTOH I built two queries that use an IN() in one query and a bunch of ORs in the other and over a 56 million record table they were both so fast I couldn't see the difference (Indexed column, containing values 1-9 and A-T (under 2 sec) Any comments? John W. Colby Colby Consulting 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 Thu Nov 22 01:34:02 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 22 Nov 2007 02:34:02 -0500 Subject: [AccessD] Optimizing queries with in() - SQL Server 2005 In-Reply-To: <005301c82cb7$34918b10$8151dd48@fredxp> References: <00b401c82c82$29e9d4e0$6c7aa8c0@M90> <005301c82cb7$34918b10$8151dd48@fredxp> Message-ID: <00ca01c82cda$0e4429e0$6c7aa8c0@M90> Thanks Fred. I have situations where for example Where Income IN('A','B','C','D','E') The values in the field range from 0-9 and A-T. The obvious solution is to "prep" the field by changing the 'A' to 10, 'B' to 11 etc and then doing a numeric comparison. Unfortunately the data owner needs to come on board and do a conversion as well so that they can understand and ask for 11 when they were used to asking for 'A'. In any case, this is a common occurrence in my data. The values are always characters (ascii) as opposed to numbers, even when they are numeric characters. This is that huge table I deal with where there are 600 fields of data, pulled in from text files. I have other fields like (boat) hull type where the values are 'A' (aluminum), 'R' (Rubber), 'F' (Fiberglass) etc so there is just no getting around some sort of IN() or =X or =Y kind of solution. I am doing the subquery route however. Today I had a case where I had to do an Income IN('A','B'..'T') and then AND that with another field where there were ORs - PresenceOfChildren11-13 IN('1','3','5','7') OR PresenceOfChildren16-17 IN('1','3','5','7'). It just SEEMS to make sense to do the Income IN() as a separate query and then inner join to the PresenceOfChildren query to create the AND effect. Whoever created the data obviously didn't understand databases and how to optimize the data for the ability to retrieve results efficiently. It's just a PITA, the table is huge (600 fields wide) and over 50 million records to sort through. "Prepping" the table over time (one field at a time as it is called for) will work and I will probably do that. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Fred Hooper Sent: Wednesday, November 21, 2007 10:25 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Optimizing queries with in() - SQL Server 2005 John, I think that an IN() and a bunch of ORs are roughly equivalent. Try selecting the values you want in a sub query and (inner) joining it to the table you want to limit. E.g. select foo.* from foo inner join (select value_field from foo2 where choice = 'Y') lim on foo.value_field = lim.value_field If you use the limitation in more than one place, or just for readability, try the With clause. E.g. With limiting_values as (select value_field from foo2 where choice = 'Y') select foo.* from foo inner join limiting_values lim on foo.value_field = lim.value_field If you check the cost of both approaches I think you'll find that the IN/OR approach causes a full table scan while limiting through a join avoids it. I frequently do this when I've set the foo2.choice field using code and use the values to limit another larger table. (Note: foo2 holds all possible selection values for the value_field.) Hope this helps, Fred -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, November 21, 2007 4:05 PM To: dba-sqlserver at databaseadvisors.com; 'Access Developers discussion and problem solving' Subject: [AccessD] Optimizing queries with in() - SQL Server 2005 I have a lot of queries where I have to look for multiple values. I have been using an IN() clause but I am advised that is very slow. OTOH I built two queries that use an IN() in one query and a bunch of ORs in the other and over a 56 million record table they were both so fast I couldn't see the difference (Indexed column, containing values 1-9 and A-T (under 2 sec) Any comments? John W. Colby Colby Consulting 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 nd500_lo at charter.net Thu Nov 22 13:54:27 2007 From: nd500_lo at charter.net (Dian) Date: Thu, 22 Nov 2007 11:54:27 -0800 Subject: [AccessD] OT: Thanksgiving In-Reply-To: References: Message-ID: <000301c82d41$7dc3d790$6400a8c0@dsunit1> I was sitting here, thinking of all the things I have to be extremely grateful for today...and this group came to mind. Over the years, through some miracle, every time I've hit a place where I was too confused to even know what to ask...someone else in this group has asked the question I needed to ask and I've reaped the benefits of all the answers. I owe all of you a debt of gratitude and this is the best I can do. Everything I have accomplished professionally, I owe to each and every one of you. You are, individually and collectively, amazing. Thank you for being here...Happy Thanksgiving! From ssharkins at gmail.com Thu Nov 22 14:00:11 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 22 Nov 2007 15:00:11 -0500 Subject: [AccessD] OT: Thanksgiving References: <000301c82d41$7dc3d790$6400a8c0@dsunit1> Message-ID: <000d01c82d42$4bb677c0$4b3a8343@SusanOne> If somebody on this list can't solve your problem, it can't be solved. ;) Susan H. > > I was sitting here, thinking of all the things I have to be extremely > grateful for today...and this group came to mind. Over the years, through > some miracle, every time I've hit a place where I was too confused to even > know what to ask...someone else in this group has asked the question I > needed to ask and I've reaped the benefits of all the answers. I owe all > of > you a debt of gratitude and this is the best I can do. Everything I have > accomplished professionally, I owe to each and every one of you. You are, > individually and collectively, amazing. Thank you for being here...Happy > Thanksgiving! > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From nd500_lo at charter.net Thu Nov 22 14:02:35 2007 From: nd500_lo at charter.net (Dian) Date: Thu, 22 Nov 2007 12:02:35 -0800 Subject: [AccessD] OT: Thanksgiving In-Reply-To: <000d01c82d42$4bb677c0$4b3a8343@SusanOne> References: <000301c82d41$7dc3d790$6400a8c0@dsunit1> <000d01c82d42$4bb677c0$4b3a8343@SusanOne> Message-ID: <000001c82d42$a06e3e10$6400a8c0@dsunit1> Susan, if you could see my bookshelf, you'll know you're at the top of the list.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, November 22, 2007 12:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Thanksgiving If somebody on this list can't solve your problem, it can't be solved. ;) Susan H. > > I was sitting here, thinking of all the things I have to be extremely > grateful for today...and this group came to mind. Over the years, > through some miracle, every time I've hit a place where I was too > confused to even know what to ask...someone else in this group has > asked the question I needed to ask and I've reaped the benefits of all > the answers. I owe all of you a debt of gratitude and this is the best > I can do. Everything I have accomplished professionally, I owe to each > and every one of you. You are, individually and collectively, amazing. > Thank you for being here...Happy Thanksgiving! > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Thu Nov 22 14:10:57 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Thu, 22 Nov 2007 15:10:57 -0500 Subject: [AccessD] OT: Thanksgiving In-Reply-To: <000d01c82d42$4bb677c0$4b3a8343@SusanOne> References: <000301c82d41$7dc3d790$6400a8c0@dsunit1> <000d01c82d42$4bb677c0$4b3a8343@SusanOne> Message-ID: On Nov 22, 2007 3:00 PM, Susan Harkins wrote: > If somebody on this list can't solve your problem, it can't be solved. ;) Ain't that the truth!!! Hope you all have a great Thanksgiving!!!! -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From ssharkins at gmail.com Thu Nov 22 14:39:40 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 22 Nov 2007 15:39:40 -0500 Subject: [AccessD] OT: Thanksgiving References: <000301c82d41$7dc3d790$6400a8c0@dsunit1><000d01c82d42$4bb677c0$4b3a8343@SusanOne> <000001c82d42$a06e3e10$6400a8c0@dsunit1> Message-ID: <002401c82d47$dbfbf670$4b3a8343@SusanOne> Oh my -- -- what a nice thing to say! Thank you so much! Susan H. > Susan, if you could see my bookshelf, you'll know you're at the top of the > list.... > > > If somebody on this list can't solve your problem, it can't be solved. ;) > From max.wanadoo at gmail.com Thu Nov 22 15:00:42 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Thu, 22 Nov 2007 21:00:42 -0000 Subject: [AccessD] OT: Thanksgiving In-Reply-To: Message-ID: <005101c82d4a$bf3d8910$8119fea9@LTVM> And it isn't always directly related to Access. Some of the other tips are great - a wide range of experience from a wide range of people. Always good tips and good references to information. Some may be OT in this regard but extremely useful none the less. Thanks to all. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Thursday, November 22, 2007 8:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Thanksgiving On Nov 22, 2007 3:00 PM, Susan Harkins wrote: > If somebody on this list can't solve your problem, it can't be solved. > ;) Ain't that the truth!!! Hope you all have a great Thanksgiving!!!! -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darren at activebilling.com.au Thu Nov 22 15:53:16 2007 From: darren at activebilling.com.au (Darren D) Date: Fri, 23 Nov 2007 08:53:16 +1100 Subject: [AccessD] OT: Thanksgiving In-Reply-To: <000301c82d41$7dc3d790$6400a8c0@dsunit1> Message-ID: <200711222153.lAMLrMSV009754@databaseadvisors.com> Here here And so say all of us My wife even knows some of regular names on this list - And she doesn't even have 'pewta' skills - I often talk about the victories that come from this list with her She'll see me smacking the monitor about the 'ears' in frustration and will say - "Send an email to your nerd mates" (That's her very sincere - tongue in cheek term for the team - Knowing how much I truly rely on you guys) Here in Oz we don't do thanksgiving - But I am very very grateful to this list and the 'nerds' on it - And to the friendships that have come from it Many many thanks DD -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dian Sent: Friday, 23 November 2007 6:54 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Thanksgiving I was sitting here, thinking of all the things I have to be extremely grateful for today...and this group came to mind. Over the years, through some miracle, every time I've hit a place where I was too confused to even know what to ask...someone else in this group has asked the question I needed to ask and I've reaped the benefits of all the answers. I owe all of you a debt of gratitude and this is the best I can do. Everything I have accomplished professionally, I owe to each and every one of you. You are, individually and collectively, amazing. Thank you for being here...Happy Thanksgiving! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Thu Nov 22 19:20:06 2007 From: robert at servicexp.com (Robert) Date: Thu, 22 Nov 2007 20:20:06 -0500 Subject: [AccessD] OT: Thanksgiving In-Reply-To: <000301c82d41$7dc3d790$6400a8c0@dsunit1> References: <000301c82d41$7dc3d790$6400a8c0@dsunit1> Message-ID: <47462AC6.8050602@servicexp.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Here Here, I raise my mug of hot coffee to every one in this group. This list is one of the most civilized and professional list I have the great privilege of reading, the wealth of talent and expertize is truly amazing. We indeed have much to be thankful for.. WBR ~Robert Dian wrote: > > I was sitting here, thinking of all the things I have to be extremely > grateful for today...and this group came to mind. Over the years, through > some miracle, every time I've hit a place where I was too confused to even > know what to ask...someone else in this group has asked the question I > needed to ask and I've reaped the benefits of all the answers. I owe all of > you a debt of gratitude and this is the best I can do. Everything I have > accomplished professionally, I owe to each and every one of you. You are, > individually and collectively, amazing. Thank you for being here...Happy > Thanksgiving! > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHRirG72dSYCwH8FQRAnKNAJoDPv+lqtGa9dralbwS27FWWWaPZwCeNcL9 f7qQKDMDLiXdaoTqQkqz9GQ= =uNd/ -----END PGP SIGNATURE----- From jwcolby at colbyconsulting.com Thu Nov 22 19:50:25 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 22 Nov 2007 20:50:25 -0500 Subject: [AccessD] OT: Thanksgiving In-Reply-To: <000301c82d41$7dc3d790$6400a8c0@dsunit1> References: <000301c82d41$7dc3d790$6400a8c0@dsunit1> Message-ID: <00ed01c82d73$37d4efd0$6c7aa8c0@M90> Thanks for expressing it so well. The strange thing is that we all feel the same way. Individually we each know a little or a lot, but together we are more than the sum. Happy Thanksgiving to all of the Americans, and the same feelings go out to the other list members. Thanks for being there, my life would be very different without you guys and gals. John W. Colby Colby Consulting www.ColbyConsulting.com PS I have no idea what the company books are like at this instant, but we are a not for profit company, incorporated in Delaware, and we do take donations to pay the bills. http://www.databaseadvisors.com/donations.asp -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dian Sent: Thursday, November 22, 2007 2:54 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Thanksgiving I was sitting here, thinking of all the things I have to be extremely grateful for today...and this group came to mind. Over the years, through some miracle, every time I've hit a place where I was too confused to even know what to ask...someone else in this group has asked the question I needed to ask and I've reaped the benefits of all the answers. I owe all of you a debt of gratitude and this is the best I can do. Everything I have accomplished professionally, I owe to each and every one of you. You are, individually and collectively, amazing. Thank you for being here...Happy Thanksgiving! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kp at sdsonline.net Thu Nov 22 22:35:41 2007 From: kp at sdsonline.net (Kath Pelletti) Date: Fri, 23 Nov 2007 15:35:41 +1100 Subject: [AccessD] Thanksgiving Message-ID: <000a01c82d8a$4ef6c0f0$6401a8c0@DELLAPTOP> Couldn't agree more with the comments made. A couple of times I have had to add 'URGENT' in the subject header because I needed some help asap and the list has never let me down. Happy thanksgiving to those of you who celebrate it, Kath ______________________________________ Kath Pelletti From Gustav at cactus.dk Fri Nov 23 01:00:25 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 23 Nov 2007 08:00:25 +0100 Subject: [AccessD] OT: Thanksgiving Message-ID: Hi Dian On this side of the ocean Thanksgiving doesn't mean much more than the word itself. But your writing explains why it has a deeper meaning for you - we should not take everything for granted. Thank you for the kind words! /gustav >>> nd500_lo at charter.net 22-11-2007 20:54 >>> I was sitting here, thinking of all the things I have to be extremely grateful for today...and this group came to mind. Over the years, through some miracle, every time I've hit a place where I was too confused to even know what to ask...someone else in this group has asked the question I needed to ask and I've reaped the benefits of all the answers. I owe all of you a debt of gratitude and this is the best I can do. Everything I have accomplished professionally, I owe to each and every one of you. You are, individually and collectively, amazing. Thank you for being here...Happy Thanksgiving! From newsgrps at dalyn.co.nz Fri Nov 23 02:07:41 2007 From: newsgrps at dalyn.co.nz (David Emerson) Date: Fri, 23 Nov 2007 21:07:41 +1300 Subject: [AccessD] Comparing date and time Message-ID: <20071123080517.BXNN9910.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> Group, Sorry to interrupt your feasting :-) I have a legacy database that stores times and dates in two separate date/time fields. Currently there is a query that compares two sets of dates like so: DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT ShipmentDetail.* " & _ "FROM ShipmentDetail INNER JOIN EntryLogSets ON ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ "WHERE (EntryLogSets.Date)>=[Forms]![BSVR]![BsvrStartDate])" This works. However, I need to change it so that it gets records that are after a certain date AND TIME. I am having problems with putting the two fields together into a single date/time. Here is my code: DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT ShipmentDetail.* " & _ "FROM ShipmentDetail INNER JOIN EntryLogSets ON ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ "WHERE CDate(EntryLogSets.Date & ' ' & EntryLogSets.Time)>= #" & CDate([Forms]![BSVR]![BsvrStartDate] & " " & [Forms]![BSVR]![BSVRStartTime]) & "#" An example of CDate([Forms]![BSVR]![BsvrStartDate] & " " & [Forms]![BSVR]![BSVRStartTime]) is 28/09/2007 9:40:00 a.m. The error I get is Error 3075 - Syntax error in date in query expression. The query runs ok if I just include the dates, but has a problem when I add the times. How can I combine the two fields into a single date/time for comparison? From andy at minstersystems.co.uk Fri Nov 23 02:19:53 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 23 Nov 2007 08:19:53 -0000 Subject: [AccessD] Comparing date and time In-Reply-To: <20071123080517.BXNN9910.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <018701c82da9$a03db260$3183d355@minster33c3r25> Hi David Well before you think about that how about this quick solution > DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT > ShipmentDetail.* " & _ > "FROM ShipmentDetail INNER JOIN EntryLogSets ON > ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ > "WHERE (EntryLogSets.Date>[Forms]![BSVR]![BsvrStartDate]) OR (EntryLogSets.Date=[Forms]![BSVR]![BsvrStartDate] AND EntryLogSets.Time>=[Forms]![BSVR]![BsvrStartTime]) ie the time only needs comparing if the dates are equal. Just a quick thought on my way out. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > David Emerson > Sent: 23 November 2007 08:08 > To: accessd at databaseadvisors.com > Subject: [AccessD] Comparing date and time > > > Group, > > Sorry to interrupt your feasting :-) > > I have a legacy database that stores times and dates in two separate > date/time fields. Currently there is a query that compares two sets > of dates like so: > > DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT > ShipmentDetail.* " & _ > "FROM ShipmentDetail INNER JOIN EntryLogSets ON > ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ > "WHERE (EntryLogSets.Date)>=[Forms]![BSVR]![BsvrStartDate])" > > This works. However, I need to change it so that it gets records > that are after a certain date AND TIME. I am having problems with > putting the two fields together into a single date/time. > Here is my code: > > DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT > ShipmentDetail.* " & _ > "FROM ShipmentDetail INNER JOIN EntryLogSets ON > ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ > "WHERE CDate(EntryLogSets.Date & ' ' & EntryLogSets.Time)>= #" & > CDate([Forms]![BSVR]![BsvrStartDate] & " " & > [Forms]![BSVR]![BSVRStartTime]) & "#" > > An example of CDate([Forms]![BSVR]![BsvrStartDate] & " " & > [Forms]![BSVR]![BSVRStartTime]) is 28/09/2007 9:40:00 a.m. > > The error I get is Error 3075 - Syntax error in date in query > expression. The query runs ok if I just include the dates, but has a > problem when I add the times. > > How can I combine the two fields into a single date/time for > comparison? > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From newsgrps at dalyn.co.nz Fri Nov 23 02:42:01 2007 From: newsgrps at dalyn.co.nz (David Emerson) Date: Fri, 23 Nov 2007 21:42:01 +1300 Subject: [AccessD] Comparing date and time In-Reply-To: <018701c82da9$a03db260$3183d355@minster33c3r25> References: <20071123080517.BXNN9910.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> <018701c82da9$a03db260$3183d355@minster33c3r25> Message-ID: <20071123083944.CSVU9910.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> Thanks Andy, I have simplified the problem. Ultimately I need to compare two sets of dates and times to get all records that fall between one date and time, and a second date and time. I could use your suggestion and do similar comparisons with the end date and time as well. I would be interested though in finding out how to create a full date/time from two separate fields. David At 23/11/2007, Andy Lacy wrote: >Hi David >Well before you think about that how about this quick solution > > > DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT > > ShipmentDetail.* " & _ > > "FROM ShipmentDetail INNER JOIN EntryLogSets ON > > ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ > > "WHERE (EntryLogSets.Date>[Forms]![BSVR]![BsvrStartDate]) > >OR (EntryLogSets.Date=[Forms]![BSVR]![BsvrStartDate] AND >EntryLogSets.Time>=[Forms]![BSVR]![BsvrStartTime]) > >ie the time only needs comparing if the dates are equal. > >Just a quick thought on my way out. > >-- Andy Lacey >http://www.minstersystems.co.uk > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > David Emerson > > Sent: 23 November 2007 08:08 > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Comparing date and time > > > > > > Group, > > > > Sorry to interrupt your feasting :-) > > > > I have a legacy database that stores times and dates in two separate > > date/time fields. Currently there is a query that compares two sets > > of dates like so: > > > > DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT > > ShipmentDetail.* " & _ > > "FROM ShipmentDetail INNER JOIN EntryLogSets ON > > ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ > > "WHERE (EntryLogSets.Date)>=[Forms]![BSVR]![BsvrStartDate])" > > > > This works. However, I need to change it so that it gets records > > that are after a certain date AND TIME. I am having problems with > > putting the two fields together into a single date/time. > > Here is my code: > > > > DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT > > ShipmentDetail.* " & _ > > "FROM ShipmentDetail INNER JOIN EntryLogSets ON > > ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ > > "WHERE CDate(EntryLogSets.Date & ' ' & EntryLogSets.Time)>= #" & > > CDate([Forms]![BSVR]![BsvrStartDate] & " " & > > [Forms]![BSVR]![BSVRStartTime]) & "#" > > > > An example of CDate([Forms]![BSVR]![BsvrStartDate] & " " & > > [Forms]![BSVR]![BSVRStartTime]) is 28/09/2007 9:40:00 a.m. > > > > The error I get is Error 3075 - Syntax error in date in query > > expression. The query runs ok if I just include the dates, but has a > > problem when I add the times. > > > > How can I combine the two fields into a single date/time for > > comparison? > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Fri Nov 23 03:50:36 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 23 Nov 2007 10:50:36 +0100 Subject: [AccessD] Comparing date and time Message-ID: <20071123105039.7E2E92B58F6@smtp.nildram.co.uk> Well this principel works (from Immediate window) x=datevalue("31/12/07") + timevalue("11:56:00") ? format(x,"dd/mm/yy hh:nn:ss") 31/12/07 11:56:00 -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Comparing date and time Date: 23/11/07 08:42 Thanks Andy, I have simplified the problem. Ultimately I need to compare two sets of dates and times to get all records that fall between one date and time, and a second date and time. I could use your suggestion and do similar comparisons with the end date and time as well. I would be interested though in finding out how to create a full date/time from two separate fields. David At 23/11/2007, Andy Lacy wrote: >Hi David >Well before you think about that how about this quick solution > > > DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT > > ShipmentDetail.* " & _ > > "FROM ShipmentDetail INNER JOIN EntryLogSets ON > > ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ > > "WHERE (EntryLogSets.Date>[Forms]![BSVR]![BsvrStartDate]) > >OR (EntryLogSets.Date=[Forms]![BSVR]![BsvrStartDate] AND >EntryLogSets.Time>=[Forms]![BSVR]![BsvrStartTime]) > >ie the time only needs comparing if the dates are equal. > >Just a quick thought on my way out. > >-- Andy Lacey >http://www.minstersystems.co.uk > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > David Emerson > > Sent: 23 November 2007 08:08 > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Comparing date and time > > > > > > Group, > > > > Sorry to interrupt your feasting :-) > > > > I have a legacy database that stores times and dates in two separate > > date/time fields. Currently there is a query that compares two sets > > of dates like so: > > > > DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT > > ShipmentDetail.* " & _ > > "FROM ShipmentDetail INNER JOIN EntryLogSets ON > > ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ > > "WHERE (EntryLogSets.Date)>=[Forms]![BSVR]![BsvrStartDate])" > > > > This works. However, I need to change it so that it gets records > > that are after a certain date AND TIME. I am having problems with > > putting the two fields together into a single date/time. > > Here is my code: > > > > DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT > > ShipmentDetail.* " & _ > > "FROM ShipmentDetail INNER JOIN EntryLogSets ON > > ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ > > "WHERE CDate(EntryLogSets.Date & ' ' & EntryLogSets.Time)>= #" & > > CDate([Forms]![BSVR]![BsvrStartDate] & " " & > > [Forms]![BSVR]![BSVRStartTime]) & "#" > > > > An example of CDate([Forms]![BSVR]![BsvrStartDate] & " " & > > [Forms]![BSVR]![BSVRStartTime]) is 28/09/2007 9:40:00 a.m. > > > > The error I get is Error 3075 - Syntax error in date in query > > expression. The query runs ok if I just include the dates, but has a > > problem when I add the times. > > > > How can I combine the two fields into a single date/time for > > comparison? > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From fuller.artful at gmail.com Fri Nov 23 07:53:08 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 23 Nov 2007 08:53:08 -0500 Subject: [AccessD] Comparing date and time In-Reply-To: <20071123083944.CSVU9910.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> References: <20071123080517.BXNN9910.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> <018701c82da9$a03db260$3183d355@minster33c3r25> <20071123083944.CSVU9910.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <29f585dd0711230553l14c5584aqa04f121cccfe48cf@mail.gmail.com> I think that you can do this by doing a DateAdd() to the date field itself, since without a time specified it will default to midnight. Therefore a DateAdd() using the number of minutes indicated by the time ought to produce a genuine datetime value. Arthur On 11/23/07, David Emerson wrote: > > Thanks Andy, > > I have simplified the problem. Ultimately I need to compare two sets > of dates and times to get all records that fall between one date and > time, and a second date and time. > > I could use your suggestion and do similar comparisons with the end > date and time as well. I would be interested though in finding out > how to create a full date/time from two separate fields. > > David > From ssharkins at gmail.com Fri Nov 23 07:59:56 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 23 Nov 2007 08:59:56 -0500 Subject: [AccessD] Comparing date and time References: <20071123080517.BXNN9910.fep05.xtra.co.nz@Dalyn.dalyn.co.nz><018701c82da9$a03db260$3183d355@minster33c3r25><20071123083944.CSVU9910.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> <29f585dd0711230553l14c5584aqa04f121cccfe48cf@mail.gmail.com> Message-ID: <005401c82dd9$23b3d3c0$4b3a8343@SusanOne> If the users insist on entering the date and time in two different fields, which I know, is totally common -- entering them together is a bit unnatural -- but this might be one of the few times when it's easier to break the rules of normalization and create a composite field in the underlying table that combines than two than to try to work with them separately. Just a thought. Susan H. >I think that you can do this by doing a DateAdd() to the date field itself, > since without a time specified it will default to midnight. Therefore a > DateAdd() using the number of minutes indicated by the time ought to > produce > a genuine datetime value. From markamatte at hotmail.com Fri Nov 23 09:54:59 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 23 Nov 2007 15:54:59 +0000 Subject: [AccessD] Comparing date and time In-Reply-To: <20071123105039.7E2E92B58F6@smtp.nildram.co.uk> References: <20071123105039.7E2E92B58F6@smtp.nildram.co.uk> Message-ID: I had a problem last week using FORMAT when building dates from text. It displayed the dates correct, but sorted them as text, and filtered them that way...I could even use DATEPART, but they still were not dates...just text. I ended up using CDATE to get what I needed. Just food for thought. Thanks, Mark A. Matte > Date: Fri, 23 Nov 2007 10:50:36 +0100 > From: andy at minstersystems.co.uk > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Comparing date and time > > Well this principel works > > (from Immediate window) > > x=datevalue("31/12/07") + timevalue("11:56:00") > ? format(x,"dd/mm/yy hh:nn:ss") > 31/12/07 11:56:00 > > > -- > Andy Lacey > http://www.minstersystems.co.uk > > > > --------- Original Message -------- > From: "Access Developers discussion and problem solving" > > To: "Access Developers discussion and problem solving" > > Subject: Re: [AccessD] Comparing date and time > Date: 23/11/07 08:42 > > > Thanks Andy, > > I have simplified the problem. Ultimately I need to compare two sets > of dates and times to get all records that fall between one date and > time, and a second date and time. > > I could use your suggestion and do similar comparisons with the end > date and time as well. I would be interested though in finding out > how to create a full date/time from two separate fields. > > David > > At 23/11/2007, Andy Lacy wrote: >>Hi David >>Well before you think about that how about this quick solution >> >>> DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT >>> ShipmentDetail.* " & _ >>> "FROM ShipmentDetail INNER JOIN EntryLogSets ON >>> ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ >>> "WHERE (EntryLogSets.Date>[Forms]![BSVR]![BsvrStartDate]) >> >>OR (EntryLogSets.Date=[Forms]![BSVR]![BsvrStartDate] AND >>EntryLogSets.Time>=[Forms]![BSVR]![BsvrStartTime]) >> >>ie the time only needs comparing if the dates are equal. >> >>Just a quick thought on my way out. >> >>-- Andy Lacey >>http://www.minstersystems.co.uk >> >> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >>> David Emerson >>> Sent: 23 November 2007 08:08 >>> To: accessd at databaseadvisors.com >>> Subject: [AccessD] Comparing date and time >>> >>> >>> Group, >>> >>> Sorry to interrupt your feasting :-) >>> >>> I have a legacy database that stores times and dates in two separate >>> date/time fields. Currently there is a query that compares two sets >>> of dates like so: >>> >>> DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT >>> ShipmentDetail.* " & _ >>> "FROM ShipmentDetail INNER JOIN EntryLogSets ON >>> ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ >>> "WHERE (EntryLogSets.Date)>=[Forms]![BSVR]![BsvrStartDate])" >>> >>> This works. However, I need to change it so that it gets records >>> that are after a certain date AND TIME. I am having problems with >>> putting the two fields together into a single date/time. >>> Here is my code: >>> >>> DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT >>> ShipmentDetail.* " & _ >>> "FROM ShipmentDetail INNER JOIN EntryLogSets ON >>> ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ >>> "WHERE CDate(EntryLogSets.Date & ' ' & EntryLogSets.Time)>= #" & >>> CDate([Forms]![BSVR]![BsvrStartDate] & " " & >>> [Forms]![BSVR]![BSVRStartTime]) & "#" >>> >>> An example of CDate([Forms]![BSVR]![BsvrStartDate] & " " & >>> [Forms]![BSVR]![BSVRStartTime]) is 28/09/2007 9:40:00 a.m. >>> >>> The error I get is Error 3075 - Syntax error in date in query >>> expression. The query runs ok if I just include the dates, but has a >>> problem when I add the times. >>> >>> How can I combine the two fields into a single date/time for >>> comparison? >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ________________________________________________ > Message sent using UebiMiau 2.7.2 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Your smile counts. The more smiles you share, the more we donate.? Join in. www.windowslive.com/smile?ocid=TXT_TAGLM_Wave2_oprsmilewlhmtagline From ssharkins at gmail.com Fri Nov 23 10:04:34 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 23 Nov 2007 11:04:34 -0500 Subject: [AccessD] Comparing date and time References: <20071123105039.7E2E92B58F6@smtp.nildram.co.uk> Message-ID: <009e01c82dea$8bfcd920$4b3a8343@SusanOne> All the results of Format() are strings. Susan H. I had a problem last week using FORMAT when building dates from text. It displayed the dates correct, but sorted them as text, and filtered them that way...I could even use DATEPART, but they still were not dates...just text. I ended up using CDATE to get what I needed. Just food for thought. Thanks, Mark A. Matte > Date: Fri, 23 Nov 2007 10:50:36 +0100 > From: andy at minstersystems.co.uk > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Comparing date and time > > Well this principel works > > (from Immediate window) > > x=datevalue("31/12/07") + timevalue("11:56:00") > ? format(x,"dd/mm/yy hh:nn:ss") > 31/12/07 11:56:00 > > > -- > Andy Lacey > http://www.minstersystems.co.uk > > > > --------- Original Message -------- > From: "Access Developers discussion and problem solving" > > To: "Access Developers discussion and problem solving" > > Subject: Re: [AccessD] Comparing date and time > Date: 23/11/07 08:42 > > > Thanks Andy, > > I have simplified the problem. Ultimately I need to compare two sets > of dates and times to get all records that fall between one date and > time, and a second date and time. > > I could use your suggestion and do similar comparisons with the end > date and time as well. I would be interested though in finding out > how to create a full date/time from two separate fields. > > David > > At 23/11/2007, Andy Lacy wrote: >>Hi David >>Well before you think about that how about this quick solution >> >>> DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT >>> ShipmentDetail.* " & _ >>> "FROM ShipmentDetail INNER JOIN EntryLogSets ON >>> ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ >>> "WHERE (EntryLogSets.Date>[Forms]![BSVR]![BsvrStartDate]) >> >>OR (EntryLogSets.Date=[Forms]![BSVR]![BsvrStartDate] AND >>EntryLogSets.Time>=[Forms]![BSVR]![BsvrStartTime]) >> >>ie the time only needs comparing if the dates are equal. >> >>Just a quick thought on my way out. >> >>-- Andy Lacey >>http://www.minstersystems.co.uk >> >> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >>> David Emerson >>> Sent: 23 November 2007 08:08 >>> To: accessd at databaseadvisors.com >>> Subject: [AccessD] Comparing date and time >>> >>> >>> Group, >>> >>> Sorry to interrupt your feasting :-) >>> >>> I have a legacy database that stores times and dates in two separate >>> date/time fields. Currently there is a query that compares two sets >>> of dates like so: >>> >>> DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT >>> ShipmentDetail.* " & _ >>> "FROM ShipmentDetail INNER JOIN EntryLogSets ON >>> ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ >>> "WHERE (EntryLogSets.Date)>=[Forms]![BSVR]![BsvrStartDate])" >>> >>> This works. However, I need to change it so that it gets records >>> that are after a certain date AND TIME. I am having problems with >>> putting the two fields together into a single date/time. >>> Here is my code: >>> >>> DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT >>> ShipmentDetail.* " & _ >>> "FROM ShipmentDetail INNER JOIN EntryLogSets ON >>> ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ >>> "WHERE CDate(EntryLogSets.Date & ' ' & EntryLogSets.Time)>= #" & >>> CDate([Forms]![BSVR]![BsvrStartDate] & " " & >>> [Forms]![BSVR]![BSVRStartTime]) & "#" >>> >>> An example of CDate([Forms]![BSVR]![BsvrStartDate] & " " & >>> [Forms]![BSVR]![BSVRStartTime]) is 28/09/2007 9:40:00 a.m. >>> >>> The error I get is Error 3075 - Syntax error in date in query >>> expression. The query runs ok if I just include the dates, but has a >>> problem when I add the times. >>> >>> How can I combine the two fields into a single date/time for >>> comparison? >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ________________________________________________ > Message sent using UebiMiau 2.7.2 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Your smile counts. The more smiles you share, the more we donate. Join in. www.windowslive.com/smile?ocid=TXT_TAGLM_Wave2_oprsmilewlhmtagline -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Fri Nov 23 10:16:08 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 23 Nov 2007 11:16:08 -0500 Subject: [AccessD] Virtual Server (was: A2K7 Navigation Pane) In-Reply-To: References: Message-ID: <000b01c82dec$28b34c30$8abea8c0@XPS> Gustav, Thanks for posting that. <> Maybe I did, but I don't have anything like this when connecting to the virtual server console with net meeting. I didn't set this virtual server up and was told by the company that did that it was a limitation of the video driver. When I checked into this, I found numerous articles that supported this, so I didn't bother to check into it further. What happens is that when connecting with Net Meeting, even though a different resolution is selected on the desktop, it still draws it as 640 x 480 in the Net Meeting window. The window itself however is correctly sized for the given resolution. If I remote Desktop in, I have no problem in getting any resolution I want. Also changing the resolution while Net Meeting is active causes all the text to disappear on the screen. The only way to get it back is to quit and reconnect. It may be a combination of the driver and Net Meeting itself, but since I will only be dealing with this server for another month or two, I didn't want to spend a lot of time on it. I suppose though that at some point I'll need to start playing around with Vmware myself. I've got Microsoft's virtual PC as well. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, November 21, 2007 11:15 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Virtual Server (was: A2K7 Navigation Pane) Hi Jim Seems like you have missed something! Just mark View, Autofit Window: On the Display tab, you can configure autofit and full-screen preferences. Autofit Preferences Use Autofit preferences to control how the console behaves when Autofit is active. Select Autofit window to have VMware Server change the console window size to match the guest operating system screen resolution. This is the same as choosing View > Autofit Window. Select Autofit guest to have VMware Server change the guest operating system display resolution to match the console window size. This is the same as choosing View > Autofit Guest. /gustav >>> jimdettman at verizon.net 21-11-2007 17:05 >>> John, This is one of the major drawbacks with virtualizing that I've found. Your limited to VGA resolution (640x480) if you connect to the console. It's a royal pain when you work with it. One workaround for that is if you don't need the console, you can RDP in. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri Nov 23 10:19:37 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 23 Nov 2007 08:19:37 -0800 Subject: [AccessD] SendObject Attachments Message-ID: <001901c82dec$a4910b80$0301a8c0@HAL9005> Dear List: Can you use SendObject to generate an email with two attachments? If not, in the absence of being assured that outlook is on every machine (which it ain't in this case), is there some other simple global method to generate an email with a couple of attachments? MTIA Rocky From andy at minstersystems.co.uk Fri Nov 23 09:30:33 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 23 Nov 2007 16:30:33 +0100 Subject: [AccessD] Comparing date and time Message-ID: <20071123163038.4FFC44C637@smtp.nildram.co.uk> Hi Mark I wasn't implying that David should use Format, just using it to demonstrate that the 1st bit (DateValue & TimeValue) worked ok. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Comparing date and time Date: 23/11/07 15:58 I had a problem last week using FORMAT when building dates from text. It displayed the dates correct, but sorted them as text, and filtered them that way...I could even use DATEPART, but they still were not dates...just text. I ended up using CDATE to get what I needed. Just food for thought. Thanks, Mark A. Matte > Date: Fri, 23 Nov 2007 10:50:36 +0100 > From: andy at minstersystems.co.uk > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Comparing date and time > > Well this principel works > > (from Immediate window) > > x=datevalue("31/12/07") + timevalue("11:56:00") > ? format(x,"dd/mm/yy hh:nn:ss") > 31/12/07 11:56:00 > > > -- > Andy Lacey > http://www.minstersystems.co.uk > > > > --------- Original Message -------- > From: "Access Developers discussion and problem solving" > > To: "Access Developers discussion and problem solving" > > Subject: Re: [AccessD] Comparing date and time > Date: 23/11/07 08:42 > > > Thanks Andy, > > I have simplified the problem. Ultimately I need to compare two sets > of dates and times to get all records that fall between one date and > time, and a second date and time. > > I could use your suggestion and do similar comparisons with the end > date and time as well. I would be interested though in finding out > how to create a full date/time from two separate fields. > > David > > At 23/11/2007, Andy Lacy wrote: >>Hi David >>Well before you think about that how about this quick solution >> >>> DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT >>> ShipmentDetail.* " & _ >>> "FROM ShipmentDetail INNER JOIN EntryLogSets ON >>> ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ >>> "WHERE (EntryLogSets.Date>[Forms]![BSVR]![BsvrStartDate]) >> >>OR (EntryLogSets.Date=[Forms]![BSVR]![BsvrStartDate] AND >>EntryLogSets.Time>=[Forms]![BSVR]![BsvrStartTime]) >> >>ie the time only needs comparing if the dates are equal. >> >>Just a quick thought on my way out. >> >>-- Andy Lacey >>http://www.minstersystems.co.uk >> >> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >>> David Emerson >>> Sent: 23 November 2007 08:08 >>> To: accessd at databaseadvisors.com >>> Subject: [AccessD] Comparing date and time >>> >>> >>> Group, >>> >>> Sorry to interrupt your feasting :-) >>> >>> I have a legacy database that stores times and dates in two separate >>> date/time fields. Currently there is a query that compares two sets >>> of dates like so: >>> >>> DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT >>> ShipmentDetail.* " & _ >>> "FROM ShipmentDetail INNER JOIN EntryLogSets ON >>> ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ >>> "WHERE (EntryLogSets.Date)>=[Forms]![BSVR]![BsvrStartDate])" >>> >>> This works. However, I need to change it so that it gets records >>> that are after a certain date AND TIME. I am having problems with >>> putting the two fields together into a single date/time. >>> Here is my code: >>> >>> DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT >>> ShipmentDetail.* " & _ >>> "FROM ShipmentDetail INNER JOIN EntryLogSets ON >>> ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ >>> "WHERE CDate(EntryLogSets.Date & ' ' & EntryLogSets.Time)>= #" & >>> CDate([Forms]![BSVR]![BsvrStartDate] & " " & >>> [Forms]![BSVR]![BSVRStartTime]) & "#" >>> >>> An example of CDate([Forms]![BSVR]![BsvrStartDate] & " " & >>> [Forms]![BSVR]![BSVRStartTime]) is 28/09/2007 9:40:00 a.m. >>> >>> The error I get is Error 3075 - Syntax error in date in query >>> expression. The query runs ok if I just include the dates, but has a >>> problem when I add the times. >>> >>> How can I combine the two fields into a single date/time for >>> comparison? >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ________________________________________________ > Message sent using UebiMiau 2.7.2 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Your smile counts. The more smiles you share, the more we donate. Join in. www.windowslive.com/smile?ocid=TXT_TAGLM_Wave2_oprsmilewlhmtagline -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From max.wanadoo at gmail.com Fri Nov 23 11:25:55 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Fri, 23 Nov 2007 17:25:55 -0000 Subject: [AccessD] SendObject Attachments In-Reply-To: <001901c82dec$a4910b80$0301a8c0@HAL9005> Message-ID: <003c01c82df5$e8dc0570$8119fea9@LTVM> Hi Rocky, Try this: Dim myolApp As Outlook.Application, myItem As Outlook.MailItem Dim strDataFileName As String, strEmailTo As String Set myolApp = CreateObject("Outlook.Application") Set myItem = myolApp.CreateItem(olMailItem) strEmailTo = "Rocky at databaseadvisors.com" strDataFileName = "c:\filename.txt" myItem.HTMLBody = fFileContents("c:\Templates\General\ExplainSecureMailings.html") myItem.To = strEmailTo myItem.Subject = "Data Mailings" myItem.Attachments.Add strDataFileName myItem.Attachments.Add "c:\file2.txt" myItem.Attachments.Add "c:\file3.txt" myItem.Attachments.Add "c:\file4.txt" myItem.Send Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, November 23, 2007 4:20 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] SendObject Attachments Dear List: Can you use SendObject to generate an email with two attachments? If not, in the absence of being assured that outlook is on every machine (which it ain't in this case), is there some other simple global method to generate an email with a couple of attachments? 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 Nov 23 11:32:47 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 23 Nov 2007 09:32:47 -0800 Subject: [AccessD] SendObject Attachments In-Reply-To: <003c01c82df5$e8dc0570$8119fea9@LTVM> References: <001901c82dec$a4910b80$0301a8c0@HAL9005> <003c01c82df5$e8dc0570$8119fea9@LTVM> Message-ID: <003401c82df6$dd86e8b0$0301a8c0@HAL9005> Max: That'll work as long as Outlook is loaded on the target machine. Which I know it isn't. Because I had similar code in the current app but had to disable it because of that very problem. However, now the client says assume Outlook. So that's what I'll do. Your code will work just fine. Thanks. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Friday, November 23, 2007 9:26 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments Hi Rocky, Try this: Dim myolApp As Outlook.Application, myItem As Outlook.MailItem Dim strDataFileName As String, strEmailTo As String Set myolApp = CreateObject("Outlook.Application") Set myItem = myolApp.CreateItem(olMailItem) strEmailTo = "Rocky at databaseadvisors.com" strDataFileName = "c:\filename.txt" myItem.HTMLBody = fFileContents("c:\Templates\General\ExplainSecureMailings.html") myItem.To = strEmailTo myItem.Subject = "Data Mailings" myItem.Attachments.Add strDataFileName myItem.Attachments.Add "c:\file2.txt" myItem.Attachments.Add "c:\file3.txt" myItem.Attachments.Add "c:\file4.txt" myItem.Send Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, November 23, 2007 4:20 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] SendObject Attachments Dear List: Can you use SendObject to generate an email with two attachments? If not, in the absence of being assured that outlook is on every machine (which it ain't in this case), is there some other simple global method to generate an email with a couple of attachments? 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.4/1146 - Release Date: 11/22/2007 6:55 PM From Gustav at cactus.dk Fri Nov 23 11:32:36 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 23 Nov 2007 18:32:36 +0100 Subject: [AccessD] Virtual Server (was: A2K7 Navigation Pane) Message-ID: Hi Jim Net meeting? I don't even know what that is. Also, my observations are for VMware Server only, I have never used MS Virtual PC if that is what you are referring to. With VMware 1.x you have a dedicated remote console client as a Windows app. With VMware 2.x (still in beta) you run an Apache/Tomcat on the server and use IE with a plug-in as the client which is able to run a virtual server screen in clean full-screen. /gustav >>> jimdettman at verizon.net 23-11-2007 17:16 >>> Gustav, Thanks for posting that. <> Maybe I did, but I don't have anything like this when connecting to the virtual server console with net meeting. I didn't set this virtual server up and was told by the company that did that it was a limitation of the video driver. When I checked into this, I found numerous articles that supported this, so I didn't bother to check into it further. What happens is that when connecting with Net Meeting, even though a different resolution is selected on the desktop, it still draws it as 640 x 480 in the Net Meeting window. The window itself however is correctly sized for the given resolution. If I remote Desktop in, I have no problem in getting any resolution I want. Also changing the resolution while Net Meeting is active causes all the text to disappear on the screen. The only way to get it back is to quit and reconnect. It may be a combination of the driver and Net Meeting itself, but since I will only be dealing with this server for another month or two, I didn't want to spend a lot of time on it. I suppose though that at some point I'll need to start playing around with Vmware myself. I've got Microsoft's virtual PC as well. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, November 21, 2007 11:15 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Virtual Server (was: A2K7 Navigation Pane) Hi Jim Seems like you have missed something! Just mark View, Autofit Window: On the Display tab, you can configure autofit and full-screen preferences. Autofit Preferences Use Autofit preferences to control how the console behaves when Autofit is active. Select Autofit window to have VMware Server change the console window size to match the guest operating system screen resolution. This is the same as choosing View > Autofit Window. Select Autofit guest to have VMware Server change the guest operating system display resolution to match the console window size. This is the same as choosing View > Autofit Guest. /gustav >>> jimdettman at verizon.net 21-11-2007 17:05 >>> John, This is one of the major drawbacks with virtualizing that I've found. Your limited to VGA resolution (640x480) if you connect to the console. It's a royal pain when you work with it. One workaround for that is if you don't need the console, you can RDP in. From max.wanadoo at gmail.com Fri Nov 23 11:51:28 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Fri, 23 Nov 2007 17:51:28 -0000 Subject: [AccessD] SendObject Attachments In-Reply-To: <003401c82df6$dd86e8b0$0301a8c0@HAL9005> Message-ID: <005c01c82df9$7b31d870$8119fea9@LTVM> Would you like a CDO example? Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, November 23, 2007 5:33 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments Max: That'll work as long as Outlook is loaded on the target machine. Which I know it isn't. Because I had similar code in the current app but had to disable it because of that very problem. However, now the client says assume Outlook. So that's what I'll do. Your code will work just fine. Thanks. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Friday, November 23, 2007 9:26 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments Hi Rocky, Try this: Dim myolApp As Outlook.Application, myItem As Outlook.MailItem Dim strDataFileName As String, strEmailTo As String Set myolApp = CreateObject("Outlook.Application") Set myItem = myolApp.CreateItem(olMailItem) strEmailTo = "Rocky at databaseadvisors.com" strDataFileName = "c:\filename.txt" myItem.HTMLBody = fFileContents("c:\Templates\General\ExplainSecureMailings.html") myItem.To = strEmailTo myItem.Subject = "Data Mailings" myItem.Attachments.Add strDataFileName myItem.Attachments.Add "c:\file2.txt" myItem.Attachments.Add "c:\file3.txt" myItem.Attachments.Add "c:\file4.txt" myItem.Send Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, November 23, 2007 4:20 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] SendObject Attachments Dear List: Can you use SendObject to generate an email with two attachments? If not, in the absence of being assured that outlook is on every machine (which it ain't in this case), is there some other simple global method to generate an email with a couple of attachments? 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.4/1146 - Release Date: 11/22/2007 6:55 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri Nov 23 12:13:01 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 23 Nov 2007 10:13:01 -0800 Subject: [AccessD] SendObject Attachments In-Reply-To: <005c01c82df9$7b31d870$8119fea9@LTVM> References: <003401c82df6$dd86e8b0$0301a8c0@HAL9005> <005c01c82df9$7b31d870$8119fea9@LTVM> Message-ID: <003f01c82dfc$7c779780$0301a8c0@HAL9005> Thanks, Max. Working the first solution at the moment. If that works I'll stop the clock, and go there to see if it works at their site. What's CDO? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Friday, November 23, 2007 9:51 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments Would you like a CDO example? Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, November 23, 2007 5:33 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments Max: That'll work as long as Outlook is loaded on the target machine. Which I know it isn't. Because I had similar code in the current app but had to disable it because of that very problem. However, now the client says assume Outlook. So that's what I'll do. Your code will work just fine. Thanks. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Friday, November 23, 2007 9:26 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments Hi Rocky, Try this: Dim myolApp As Outlook.Application, myItem As Outlook.MailItem Dim strDataFileName As String, strEmailTo As String Set myolApp = CreateObject("Outlook.Application") Set myItem = myolApp.CreateItem(olMailItem) strEmailTo = "Rocky at databaseadvisors.com" strDataFileName = "c:\filename.txt" myItem.HTMLBody = fFileContents("c:\Templates\General\ExplainSecureMailings.html") myItem.To = strEmailTo myItem.Subject = "Data Mailings" myItem.Attachments.Add strDataFileName myItem.Attachments.Add "c:\file2.txt" myItem.Attachments.Add "c:\file3.txt" myItem.Attachments.Add "c:\file4.txt" myItem.Send Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, November 23, 2007 4:20 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] SendObject Attachments Dear List: Can you use SendObject to generate an email with two attachments? If not, in the absence of being assured that outlook is on every machine (which it ain't in this case), is there some other simple global method to generate an email with a couple of attachments? 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.4/1146 - Release Date: 11/22/2007 6:55 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.4/1146 - Release Date: 11/22/2007 6:55 PM From newsgrps at dalyn.co.nz Fri Nov 23 14:05:44 2007 From: newsgrps at dalyn.co.nz (David Emerson) Date: Sat, 24 Nov 2007 09:05:44 +1300 Subject: [AccessD] Comparing date and time In-Reply-To: <20071123105039.7E2E92B58F6@smtp.nildram.co.uk> References: <20071123105039.7E2E92B58F6@smtp.nildram.co.uk> Message-ID: <20071123200328.OUPJ9910.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> Thanks to everyone who replied. The final solution was twofold. First change the query: DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT ShipmentDetail.* " & _ "FROM ShipmentDetail INNER JOIN EntryLogSets ON ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ "WHERE (CDate(DateValue(EntryLogSets.Date) + TimeValue(EntryLogSets.Time))>= CDate(DateValue([Forms]![BSVR]![BsvrStartDate]) + TimeValue([Forms]![BSVR]![BSVRStartTime]))) " & _ "And CDate(DateValue(EntryLogSets.Date) + TimeValue(EntryLogSets.Time))<= CDate(DateValue([Forms]![BSVR]![BsvrEndDate]) + TimeValue([Forms]![BSVR]![BSVREndTime]))" Secondly, tidy up the data to remove invalid entries in the time field. David At 23/11/2007, you wrote: >Well this principel works > >(from Immediate window) > >x=datevalue("31/12/07") + timevalue("11:56:00") >? format(x,"dd/mm/yy hh:nn:ss") >31/12/07 11:56:00 > > >-- >Andy Lacey >http://www.minstersystems.co.uk > > > >--------- Original Message -------- >From: "Access Developers discussion and problem solving" > >To: "Access Developers discussion and problem solving" > >Subject: Re: [AccessD] Comparing date and time >Date: 23/11/07 08:42 > > >Thanks Andy, > >I have simplified the problem. Ultimately I need to compare two sets >of dates and times to get all records that fall between one date and >time, and a second date and time. > >I could use your suggestion and do similar comparisons with the end >date and time as well. I would be interested though in finding out >how to create a full date/time from two separate fields. > >David > >At 23/11/2007, Andy Lacy wrote: > >Hi David > >Well before you think about that how about this quick solution > > > > > DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT > > > ShipmentDetail.* " & _ > > > "FROM ShipmentDetail INNER JOIN EntryLogSets ON > > > ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ > > > "WHERE (EntryLogSets.Date>[Forms]![BSVR]![BsvrStartDate]) > > > >OR (EntryLogSets.Date=[Forms]![BSVR]![BsvrStartDate] AND > >EntryLogSets.Time>=[Forms]![BSVR]![BsvrStartTime]) > > > >ie the time only needs comparing if the dates are equal. > > > >Just a quick thought on my way out. > > > >-- Andy Lacey > >http://www.minstersystems.co.uk > > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > > David Emerson > > > Sent: 23 November 2007 08:08 > > > To: accessd at databaseadvisors.com > > > Subject: [AccessD] Comparing date and time > > > > > > > > > Group, > > > > > > Sorry to interrupt your feasting :-) > > > > > > I have a legacy database that stores times and dates in two separate > > > date/time fields. Currently there is a query that compares two sets > > > of dates like so: > > > > > > DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT > > > ShipmentDetail.* " & _ > > > "FROM ShipmentDetail INNER JOIN EntryLogSets ON > > > ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ > > > "WHERE (EntryLogSets.Date)>=[Forms]![BSVR]![BsvrStartDate])" > > > > > > This works. However, I need to change it so that it gets records > > > that are after a certain date AND TIME. I am having problems with > > > putting the two fields together into a single date/time. > > > Here is my code: > > > > > > DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT > > > ShipmentDetail.* " & _ > > > "FROM ShipmentDetail INNER JOIN EntryLogSets ON > > > ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ > > > "WHERE CDate(EntryLogSets.Date & ' ' & EntryLogSets.Time)>= #" & > > > CDate([Forms]![BSVR]![BsvrStartDate] & " " & > > > [Forms]![BSVR]![BSVRStartTime]) & "#" > > > > > > An example of CDate([Forms]![BSVR]![BsvrStartDate] & " " & > > > [Forms]![BSVR]![BSVRStartTime]) is 28/09/2007 9:40:00 a.m. > > > > > > The error I get is Error 3075 - Syntax error in date in query > > > expression. The query runs ok if I just include the dates, but has a > > > problem when I add the times. > > > > > > How can I combine the two fields into a single date/time for > > > comparison? > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >________________________________________________ >Message sent using UebiMiau 2.7.2 > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From markamatte at hotmail.com Fri Nov 23 14:19:18 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 23 Nov 2007 20:19:18 +0000 Subject: [AccessD] Replace text in memo field In-Reply-To: <20071123200328.OUPJ9910.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> References: <20071123105039.7E2E92B58F6@smtp.nildram.co.uk> <20071123200328.OUPJ9910.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: Hello All, I have replaced text in a text file before...but If I already have the data in a table...and there is a 'phrase'/string I need to remove from the middle of a memo field...what is the best approach? Thanks, Mark A. Matte _________________________________________________________________ Your smile counts. The more smiles you share, the more we donate.? Join in. www.windowslive.com/smile?ocid=TXT_TAGLM_Wave2_oprsmilewlhmtagline From fuller.artful at gmail.com Fri Nov 23 14:25:49 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 23 Nov 2007 15:25:49 -0500 Subject: [AccessD] Replace text in memo field In-Reply-To: References: <20071123105039.7E2E92B58F6@smtp.nildram.co.uk> <20071123200328.OUPJ9910.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <29f585dd0711231225l73608035l1a23df886c3cfb6b@mail.gmail.com> Anything wrong with Replace( [columnName], "searchTarget", "replaceString" )? On 11/23/07, Mark A Matte wrote: > > > Hello All, > > I have replaced text in a text file before...but If I already have the > data in a table...and there is a 'phrase'/string I need to remove from the > middle of a memo field...what is the best approach? > > Thanks, > > Mark A. Matte From miscellany at mvps.org Fri Nov 23 14:48:04 2007 From: miscellany at mvps.org (Steve Schapel) Date: Sat, 24 Nov 2007 09:48:04 +1300 Subject: [AccessD] Comparing date and time In-Reply-To: <20071123200328.OUPJ9910.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> References: <20071123105039.7E2E92B58F6@smtp.nildram.co.uk> <20071123200328.OUPJ9910.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <47473C84.9000601@mvps.org> David, If the [Date] and [Time] fields in the table are a Date/Time data type, and if the criteria controls on the form are formatted with a valid date and/or time format, then I don't think you would need the CDate and DateValue functions as you have used them. I would expect (without having tested) that this would work: "WHERE (EntryLogSets.Date + EntryLogSets.Time) Between (#" & [Forms]![BSVR]![BsvrStartDate] & "# + #" & [Forms]![BSVR]![BSVRStartTime] & "#) And (#" & [Forms]![BSVR]![BsvrEndDate] "# + #" & [Forms]![BSVR]![BSVREndTime] & "#)" I always wrap date and time criteria in CLng or CDbl to handle international problem, so I would do it like this: "WHERE (EntryLogSets.Date + EntryLogSets.Time) Between (" & CLng([Forms]![BSVR]![BsvrStartDate]) + CDbl([Forms]![BSVR]![BSVRStartTime]) & ") And (" & CLng([Forms]![BSVR]![BsvrEndDate]) + CDbl([Forms]![BSVR]![BSVREndTime]) & ")" Regards Steve David Emerson wrote: > Thanks to everyone who replied. > > The final solution was twofold. First change the query: > > DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT > ShipmentDetail.* " & _ > "FROM ShipmentDetail INNER JOIN EntryLogSets ON > ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ > "WHERE (CDate(DateValue(EntryLogSets.Date) + > TimeValue(EntryLogSets.Time))>= > CDate(DateValue([Forms]![BSVR]![BsvrStartDate]) + > TimeValue([Forms]![BSVR]![BSVRStartTime]))) " & _ > "And CDate(DateValue(EntryLogSets.Date) + > TimeValue(EntryLogSets.Time))<= > CDate(DateValue([Forms]![BSVR]![BsvrEndDate]) + > TimeValue([Forms]![BSVR]![BSVREndTime]))" > > > Secondly, tidy up the data to remove invalid entries in the time field. > From markamatte at hotmail.com Fri Nov 23 14:50:44 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 23 Nov 2007 20:50:44 +0000 Subject: [AccessD] Replace text in memo field In-Reply-To: <29f585dd0711231225l73608035l1a23df886c3cfb6b@mail.gmail.com> References: <20071123105039.7E2E92B58F6@smtp.nildram.co.uk> <20071123200328.OUPJ9910.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> <29f585dd0711231225l73608035l1a23df886c3cfb6b@mail.gmail.com> Message-ID: I guessed it was something simple...I just never actually did this to data already in a table...it was always external files using vba. Thanks, Mark A. Matte > Date: Fri, 23 Nov 2007 15:25:49 -0500 > From: fuller.artful at gmail.com > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Replace text in memo field > > Anything wrong with Replace( [columnName], "searchTarget", "replaceString" > )? > > On 11/23/07, Mark A Matte wrote: >> >> >> Hello All, >> >> I have replaced text in a text file before...but If I already have the >> data in a table...and there is a 'phrase'/string I need to remove from the >> middle of a memo field...what is the best approach? >> >> Thanks, >> >> Mark A. Matte > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Put your friends on the big screen with Windows Vista? + Windows Live?. http://www.microsoft.com/windows/shop/specialoffers.mspx?ocid=TXT_TAGLM_CPC_MediaCtr_bigscreen_102007 From markamatte at hotmail.com Fri Nov 23 14:56:38 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 23 Nov 2007 20:56:38 +0000 Subject: [AccessD] Replace text in memo field In-Reply-To: References: <20071123105039.7E2E92B58F6@smtp.nildram.co.uk> <20071123200328.OUPJ9910.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> <29f585dd0711231225l73608035l1a23df886c3cfb6b@mail.gmail.com> Message-ID: Ok...that worked on XP...but it failed on A2k...is there a different function if I had to do this on a box with A2k? Thanks, Mark > From: markamatte at hotmail.com > To: accessd at databaseadvisors.com > Date: Fri, 23 Nov 2007 20:50:44 +0000 > Subject: Re: [AccessD] Replace text in memo field > > > I guessed it was something simple...I just never actually did this to data already in a table...it was always external files using vba. > > Thanks, > > > Mark A. Matte > > >> Date: Fri, 23 Nov 2007 15:25:49 -0500 >> From: fuller.artful at gmail.com >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] Replace text in memo field >> >> Anything wrong with Replace( [columnName], "searchTarget", "replaceString" >> )? >> >> On 11/23/07, Mark A Matte wrote: >>> >>> >>> Hello All, >>> >>> I have replaced text in a text file before...but If I already have the >>> data in a table...and there is a 'phrase'/string I need to remove from the >>> middle of a memo field...what is the best approach? >>> >>> Thanks, >>> >>> Mark A. Matte >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > _________________________________________________________________ > Put your friends on the big screen with Windows Vista? + Windows Live?. > http://www.microsoft.com/windows/shop/specialoffers.mspx?ocid=TXT_TAGLM_CPC_MediaCtr_bigscreen_102007 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ You keep typing, we keep giving. Download Messenger and join the i?m Initiative now. http://im.live.com/messenger/im/home/?source=TAGLM From max.wanadoo at gmail.com Sat Nov 24 05:40:10 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Sat, 24 Nov 2007 11:40:10 -0000 Subject: [AccessD] SendObject Attachments In-Reply-To: <003f01c82dfc$7c779780$0301a8c0@HAL9005> Message-ID: <006f01c82e8e$c5a7c780$8119fea9@LTVM> Hi Rocky, This should get you started with CDO. Put your own parameters in - fairly obvious where. Max Function RockyCDOTest() On Error GoTo errhandler Const conErr1 As String = "The server rejected one or more recipient addresses. The server response was: 550 " Const conErr2 As String = "The server rejected one or more recipient addresses. The server response was: 501 bad address syntax: <" Const ConErrX As String = "The transport failed to connect to the server" Const cdoReferenceTypeName = 1 Dim strUserName As String, strPwd As String, strSMTPServer As String, strErr As String Dim objCDO, objBP Set objCDO = CreateObject("CDO.Message") ' Create the message object. 'Set objCDO = server.CreateObject("CDO.Message") ' alternative for exchange I believe! Not tested objCDO.mimeformatted = True ' Sender/Email Contents/Details objCDO.from = "Rocky" objCDO.To = "somebody at gmail.com" objCDO.cc = "person1 at domain.com;person2 at domain.com" objCDO.bcc = "person3 at domain.com" objCDO.Subject = "Testing 123" 'body can be a string, or read from a file and can be text or html (Don't use both) objCDO.HTMLBody = fFileContents("C:\body.html") ' or "C:\body.txt" ' create a test file ' Attachments objCDO.addattachment "C:\Att1.txt" ' create a test file objCDO.addattachment "C:\Att2.jpg" ' create a test file ' User SMTP login details strSMTPServer = "mail.rockydomain.org" ' send via this domain - can be IP Address (sometimes this is smtp.mydomain.org) strUserName = "rocky" ' your user login name strPwd = "itsrockyletmein" ' your user login password ' SMTP Configuration Details objCDO.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configura tion/sendusing") = 2 objCDO.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configura tion/smtpserver") = strSMTPServer objCDO.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configura tion/smtpauthenticate") = 1 objCDO.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configura tion/sendusername") = strUserName objCDO.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configura tion/sendpassword") = strPwd objCDO.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configura tion/smtpserverport") = 25 'normally 25 but can be anything, try 587, or 465 or check with your ISP. objCDO.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configura tion/smtpusessl") = False objCDO.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configura tion/smtpconnectiontimeout") = 60 ' before timing out objCDO.Configuration.Fields.Update ' Update configuration 'MsgBox objCDO.GetStream.ReadText ' Use to show the message. objCDO.Send ' Send the message. exithere: Exit Function errhandler: strErr = "pfEmailByCDO - Send Errors " & Err.Description If InStr(strErr, ConErrX) > 0 Then strErr = strErr & " No Email Sent" End If MsgBox strErr GoTo exithere End Function Private Function fFileContents(strFilePath As String) As String ' Set a Reference for FileSystemObjects in Office 11. 'These constants are defined to make the code more readable Const ForReading = 1, ForWriting = 2, ForAppending = 8 Dim fso, f Set fso = CreateObject("Scripting.FileSystemObject") 'Open the file for reading Set f = fso.OpenTextFile(strFilePath, ForReading) 'The ReadAll method reads the entire file fFileContents = f.ReadAll f.Close 'Close the file Set f = Nothing Set fso = Nothing End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, November 23, 2007 6:13 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments Thanks, Max. Working the first solution at the moment. If that works I'll stop the clock, and go there to see if it works at their site. What's CDO? Rocky From jwcolby at colbyconsulting.com Sat Nov 24 06:46:42 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Nov 2007 07:46:42 -0500 Subject: [AccessD] New Comodo Firewall Message-ID: <004801c82e98$11a93e30$6c7aa8c0@M90> I have to say the new Comodo firewall, v 3.x is AWESOME. The firewall itself is great, and now they are folding in the capabilities of malware detection such as rootkits and other such goodies. If you don't use a software firewall, you should try this thing. If you use any other firewall, you should try this thing. They just keep getting better. John W. Colby Colby Consulting www.ColbyConsulting.com From rockysmolin at bchacc.com Sat Nov 24 07:51:48 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 24 Nov 2007 05:51:48 -0800 Subject: [AccessD] SendObject Attachments In-Reply-To: <006f01c82e8e$c5a7c780$8119fea9@LTVM> References: <003f01c82dfc$7c779780$0301a8c0@HAL9005> <006f01c82e8e$c5a7c780$8119fea9@LTVM> Message-ID: <001501c82ea1$28bc98c0$0301a8c0@HAL9005> Max: Thanks for the code. It begins to look familiar. I think I was going to go this route once but the users would have had trouble configuring it because they'd need to know their own smtp server string and stuff like that. This will work for the instant application because it's only one site. However, I'd have to create a form to allow each user to configure to their won email and password. (At this point, too, the client is looking for cheap solutions). But the outlook stuff you sent earlier worked a treat. Just too a couple minutes to mod for their site and walla! email with pdf attachments. Which attachments, BTW, I implemented in a hurry using the Lebans stuff, thanks again to the list. Thanks again to the list. Did I mention how thankful I am to the list? Best, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Saturday, November 24, 2007 3:40 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments Hi Rocky, This should get you started with CDO. Put your own parameters in - fairly obvious where. Max Function RockyCDOTest() On Error GoTo errhandler Const conErr1 As String = "The server rejected one or more recipient addresses. The server response was: 550 " Const conErr2 As String = "The server rejected one or more recipient addresses. The server response was: 501 bad address syntax: <" Const ConErrX As String = "The transport failed to connect to the server" Const cdoReferenceTypeName = 1 Dim strUserName As String, strPwd As String, strSMTPServer As String, strErr As String Dim objCDO, objBP Set objCDO = CreateObject("CDO.Message") ' Create the message object. 'Set objCDO = server.CreateObject("CDO.Message") ' alternative for exchange I believe! Not tested objCDO.mimeformatted = True ' Sender/Email Contents/Details objCDO.from = "Rocky" objCDO.To = "somebody at gmail.com" objCDO.cc = "person1 at domain.com;person2 at domain.com" objCDO.bcc = "person3 at domain.com" objCDO.Subject = "Testing 123" 'body can be a string, or read from a file and can be text or html (Don't use both) objCDO.HTMLBody = fFileContents("C:\body.html") ' or "C:\body.txt" ' create a test file ' Attachments objCDO.addattachment "C:\Att1.txt" ' create a test file objCDO.addattachment "C:\Att2.jpg" ' create a test file ' User SMTP login details strSMTPServer = "mail.rockydomain.org" ' send via this domain - can be IP Address (sometimes this is smtp.mydomain.org) strUserName = "rocky" ' your user login name strPwd = "itsrockyletmein" ' your user login password ' SMTP Configuration Details objCDO.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configura tion/sendusing") = 2 objCDO.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configura tion/smtpserver") = strSMTPServer objCDO.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configura tion/smtpauthenticate") = 1 objCDO.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configura tion/sendusername") = strUserName objCDO.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configura tion/sendpassword") = strPwd objCDO.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configura tion/smtpserverport") = 25 'normally 25 but can be anything, try 587, or 465 or check with your ISP. objCDO.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configura tion/smtpusessl") = False objCDO.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configura tion/smtpconnectiontimeout") = 60 ' before timing out objCDO.Configuration.Fields.Update ' Update configuration 'MsgBox objCDO.GetStream.ReadText ' Use to show the message. objCDO.Send ' Send the message. exithere: Exit Function errhandler: strErr = "pfEmailByCDO - Send Errors " & Err.Description If InStr(strErr, ConErrX) > 0 Then strErr = strErr & " No Email Sent" End If MsgBox strErr GoTo exithere End Function Private Function fFileContents(strFilePath As String) As String ' Set a Reference for FileSystemObjects in Office 11. 'These constants are defined to make the code more readable Const ForReading = 1, ForWriting = 2, ForAppending = 8 Dim fso, f Set fso = CreateObject("Scripting.FileSystemObject") 'Open the file for reading Set f = fso.OpenTextFile(strFilePath, ForReading) 'The ReadAll method reads the entire file fFileContents = f.ReadAll f.Close 'Close the file Set f = Nothing Set fso = Nothing End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, November 23, 2007 6:13 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments Thanks, Max. Working the first solution at the moment. If that works I'll stop the clock, and go there to see if it works at their site. What's CDO? Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.5/1148 - Release Date: 11/23/2007 7:39 PM From rockysmolin at bchacc.com Sat Nov 24 07:56:19 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 24 Nov 2007 05:56:19 -0800 Subject: [AccessD] New Comodo Firewall In-Reply-To: <004801c82e98$11a93e30$6c7aa8c0@M90> References: <004801c82e98$11a93e30$6c7aa8c0@M90> Message-ID: <001601c82ea1$caa5b950$0301a8c0@HAL9005> Looks good from the site. I'm using Sygate. I'm also behind a router firewall and have AVG going to the AV and their spyware product. Any compelling reason to switch? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, November 24, 2007 4:47 AM To: 'Access Developers discussion and problem solving'; 'Discussion of Hardware and Software issues' Subject: [AccessD] New Comodo Firewall I have to say the new Comodo firewall, v 3.x is AWESOME. The firewall itself is great, and now they are folding in the capabilities of malware detection such as rootkits and other such goodies. If you don't use a software firewall, you should try this thing. If you use any other firewall, you should try this thing. They just keep getting better. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.5/1148 - Release Date: 11/23/2007 7:39 PM From max.wanadoo at gmail.com Sat Nov 24 08:47:38 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Sat, 24 Nov 2007 14:47:38 -0000 Subject: [AccessD] SendObject Attachments In-Reply-To: <001501c82ea1$28bc98c0$0301a8c0@HAL9005> Message-ID: <009601c82ea8$f611e350$8119fea9@LTVM> Rocky, The email setting are easily found from the Outlook/Tools/Email Accounts settings. The smtp and user logins are all there. Click on the More Tab and find out which specific SMTP settings are set for the account they want to use and then use these in CDO. You can do this for them - takes a few minutes that's all. With CDO you do not need Outlook to be open (or any email client). You can feed a rst into the functions and send them all during silent hours. I have recently sent over 20,000 emails to participants in an event. No user overtime required. It all happened during silent hours. Very flexible once you start to use it. No more Outlook warnings etc (although these can be overcome with ClickYes). You can wrap it all in a Form to make changes to parameters and feed these through, etc, etc. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, November 24, 2007 1:52 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments Max: Thanks for the code. It begins to look familiar. I think I was going to go this route once but the users would have had trouble configuring it because they'd need to know their own smtp server string and stuff like that. This will work for the instant application because it's only one site. However, I'd have to create a form to allow each user to configure to their won email and password. (At this point, too, the client is looking for cheap solutions). But the outlook stuff you sent earlier worked a treat. Just too a couple minutes to mod for their site and walla! email with pdf attachments. Which attachments, BTW, I implemented in a hurry using the Lebans stuff, thanks again to the list. Thanks again to the list. Did I mention how thankful I am to the list? Best, Rocky From jwcolby at colbyconsulting.com Sat Nov 24 09:18:40 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Nov 2007 10:18:40 -0500 Subject: [AccessD] New Comodo Firewall In-Reply-To: <001601c82ea1$caa5b950$0301a8c0@HAL9005> References: <004801c82e98$11a93e30$6c7aa8c0@M90> <001601c82ea1$caa5b950$0301a8c0@HAL9005> Message-ID: <005501c82ead$4bbda9c0$6c7aa8c0@M90> Rocky, I don't pretend to be a security expert. Therefore all I can do is talk about what I like and why. The Comodo firewall is good and getting better. It is free. It has now added in a new layer which watches for the nasties trying to load and also the nasties trying to hook in to or manipulate already loaded applications. This is a very common practice, even with the non-nasties. Outlook hooks into Firefox or IE to display web pages. So if an "application" tries to use another application, is it normal or a nasty? If something tries to load, is it a normal known app or a nasty? There are already firewalls out there, there are already app monitors. Some are good, some are not so good, some are useless. Unfortunately given the very real importance of such things, I am not finding a good site dedicated to testing firewalls and keeping those tests up to date. I find tests for Comodo's firewall but they are from Sept 2006. That is well over a year ago and are the results valid today? As we know from the Microsoft debacle, bug fixes can break things so any firewall developer can fix a bug and break something else. We really need some place that tests each firewall / version at LEAST every few months. Well if there is one I can't find it. Anyway, Comodo is a company that I trust and I like their philosophy. They are in the business of selling security certificates, and they profess to believe that trust is the most critical aspect of their job. They already have a background in the internet, and specifically in the security side of the internet and they are trying to leverage that knowledge into good products for the little guy to protect himself with. They are openly staking their reputation on these products, and the effect on their reputation is their payback for the work they do on these products. I just like that. They are doing a good job of staying on top of the various security issues (AFAICT) and they have added a new "layer" of security directly into the firewall application which does this monitoring of other applications. It has gotten to the point where I think this is a requirement (application monitoring), and it just seems like a good idea to have one dev team handling the whole thing rather than using the firewall from over here and the monitor from over there. Given that the nasties almost always try to use the internet for some nefarious purpose, it makes sense to me for the app monitor to be able to talk directly to the firewall should it need to. Again, just my opinion, and making the assumption that they do a good job on both sides of the security house of course. Both of these things, firewalls and application monitoring, are complicated issues which I don't understand well enough to do my own testing. I keep looking for some third party which is keeping up with such testing but I am not finding such a place. In the meantime, all I can say is, I like Comodo and I like their firewall. I have been using it for well over a year now, on all of my machines and I still recommend it highly. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, November 24, 2007 8:56 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New Comodo Firewall Looks good from the site. I'm using Sygate. I'm also behind a router firewall and have AVG going to the AV and their spyware product. Any compelling reason to switch? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, November 24, 2007 4:47 AM To: 'Access Developers discussion and problem solving'; 'Discussion of Hardware and Software issues' Subject: [AccessD] New Comodo Firewall I have to say the new Comodo firewall, v 3.x is AWESOME. The firewall itself is great, and now they are folding in the capabilities of malware detection such as rootkits and other such goodies. If you don't use a software firewall, you should try this thing. If you use any other firewall, you should try this thing. They just keep getting better. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.5/1148 - Release Date: 11/23/2007 7:39 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sat Nov 24 09:20:18 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 24 Nov 2007 07:20:18 -0800 Subject: [AccessD] SendObject Attachments In-Reply-To: <009601c82ea8$f611e350$8119fea9@LTVM> References: <001501c82ea1$28bc98c0$0301a8c0@HAL9005> <009601c82ea8$f611e350$8119fea9@LTVM> Message-ID: <001701c82ead$85dd4570$0301a8c0@HAL9005> I like it. I wouldn't distribute it to a lot of users, however. In my manufacturing system the installation is dead simple. First instruction -Create a folder C:\E-Z-MRP. 50% of the users were stumped. That's when I switched to Wise/Sagekey. But for one-off installations it looks like a better approach. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Saturday, November 24, 2007 6:48 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments Rocky, The email setting are easily found from the Outlook/Tools/Email Accounts settings. The smtp and user logins are all there. Click on the More Tab and find out which specific SMTP settings are set for the account they want to use and then use these in CDO. You can do this for them - takes a few minutes that's all. With CDO you do not need Outlook to be open (or any email client). You can feed a rst into the functions and send them all during silent hours. I have recently sent over 20,000 emails to participants in an event. No user overtime required. It all happened during silent hours. Very flexible once you start to use it. No more Outlook warnings etc (although these can be overcome with ClickYes). You can wrap it all in a Form to make changes to parameters and feed these through, etc, etc. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, November 24, 2007 1:52 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments Max: Thanks for the code. It begins to look familiar. I think I was going to go this route once but the users would have had trouble configuring it because they'd need to know their own smtp server string and stuff like that. This will work for the instant application because it's only one site. However, I'd have to create a form to allow each user to configure to their won email and password. (At this point, too, the client is looking for cheap solutions). But the outlook stuff you sent earlier worked a treat. Just too a couple minutes to mod for their site and walla! email with pdf attachments. Which attachments, BTW, I implemented in a hurry using the Lebans stuff, thanks again to the list. Thanks again to the list. Did I mention how thankful I am to the list? Best, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.5/1148 - Release Date: 11/23/2007 7:39 PM From dwaters at usinternet.com Sat Nov 24 09:36:54 2007 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 24 Nov 2007 09:36:54 -0600 Subject: [AccessD] New Comodo Firewall In-Reply-To: <004801c82e98$11a93e30$6c7aa8c0@M90> Message-ID: <20071124153723.9B584250DC@smtp-out-01.usinternet.com> I went looking for info on Comodo, and found this firewall analysis site: http://www.matousec.com/projects/windows-personal-firewall-analysis/results. php Too much info for me to summarize! - But Comodo is one of the better products. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, November 24, 2007 6:47 AM To: 'Access Developers discussion and problem solving'; 'Discussion of Hardware and Software issues' Subject: [AccessD] New Comodo Firewall I have to say the new Comodo firewall, v 3.x is AWESOME. The firewall itself is great, and now they are folding in the capabilities of malware detection such as rootkits and other such goodies. If you don't use a software firewall, you should try this thing. If you use any other firewall, you should try this thing. They just keep getting better. John W. Colby Colby Consulting 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 Sat Nov 24 09:49:02 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Nov 2007 10:49:02 -0500 Subject: [AccessD] New Comodo Firewall In-Reply-To: <20071124153723.9B584250DC@smtp-out-01.usinternet.com> References: <004801c82e98$11a93e30$6c7aa8c0@M90> <20071124153723.9B584250DC@smtp-out-01.usinternet.com> Message-ID: <005e01c82eb1$898f7b30$6c7aa8c0@M90> I am unable to load the page, or even the home page. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Saturday, November 24, 2007 10:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New Comodo Firewall I went looking for info on Comodo, and found this firewall analysis site: http://www.matousec.com/projects/windows-personal-firewall-analysis/results. php Too much info for me to summarize! - But Comodo is one of the better products. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, November 24, 2007 6:47 AM To: 'Access Developers discussion and problem solving'; 'Discussion of Hardware and Software issues' Subject: [AccessD] New Comodo Firewall I have to say the new Comodo firewall, v 3.x is AWESOME. The firewall itself is great, and now they are folding in the capabilities of malware detection such as rootkits and other such goodies. If you don't use a software firewall, you should try this thing. If you use any other firewall, you should try this thing. They just keep getting better. John W. Colby Colby Consulting 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 garykjos at gmail.com Sat Nov 24 09:59:42 2007 From: garykjos at gmail.com (Gary Kjos) Date: Sat, 24 Nov 2007 09:59:42 -0600 Subject: [AccessD] New Comodo Firewall In-Reply-To: <005501c82ead$4bbda9c0$6c7aa8c0@M90> References: <004801c82e98$11a93e30$6c7aa8c0@M90> <001601c82ea1$caa5b950$0301a8c0@HAL9005> <005501c82ead$4bbda9c0$6c7aa8c0@M90> Message-ID: Here's a firewall testing site http://www.firewallguide.com/software.htm GK On Nov 24, 2007 9:18 AM, jwcolby wrote: > Rocky, > > I don't pretend to be a security expert. Therefore all I can do is talk > about what I like and why. The Comodo firewall is good and getting better. > It is free. It has now added in a new layer which watches for the nasties > trying to load and also the nasties trying to hook in to or manipulate > already loaded applications. This is a very common practice, even with the > non-nasties. Outlook hooks into Firefox or IE to display web pages. So if > an "application" tries to use another application, is it normal or a nasty? > If something tries to load, is it a normal known app or a nasty? > > There are already firewalls out there, there are already app monitors. Some > are good, some are not so good, some are useless. Unfortunately given the > very real importance of such things, I am not finding a good site dedicated > to testing firewalls and keeping those tests up to date. I find tests for > Comodo's firewall but they are from Sept 2006. That is well over a year ago > and are the results valid today? As we know from the Microsoft debacle, bug > fixes can break things so any firewall developer can fix a bug and break > something else. We really need some place that tests each firewall / > version at LEAST every few months. Well if there is one I can't find it. > > Anyway, Comodo is a company that I trust and I like their philosophy. They > are in the business of selling security certificates, and they profess to > believe that trust is the most critical aspect of their job. They already > have a background in the internet, and specifically in the security side of > the internet and they are trying to leverage that knowledge into good > products for the little guy to protect himself with. They are openly > staking their reputation on these products, and the effect on their > reputation is their payback for the work they do on these products. I just > like that. > > They are doing a good job of staying on top of the various security issues > (AFAICT) and they have added a new "layer" of security directly into the > firewall application which does this monitoring of other applications. It > has gotten to the point where I think this is a requirement (application > monitoring), and it just seems like a good idea to have one dev team > handling the whole thing rather than using the firewall from over here and > the monitor from over there. Given that the nasties almost always try to > use the internet for some nefarious purpose, it makes sense to me for the > app monitor to be able to talk directly to the firewall should it need to. > > Again, just my opinion, and making the assumption that they do a good job on > both sides of the security house of course. > > Both of these things, firewalls and application monitoring, are complicated > issues which I don't understand well enough to do my own testing. I keep > looking for some third party which is keeping up with such testing but I am > not finding such a place. In the meantime, all I can say is, I like Comodo > and I like their firewall. I have been using it for well over a year now, > on all of my machines and I still recommend it highly. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Saturday, November 24, 2007 8:56 AM > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] New Comodo Firewall > > Looks good from the site. I'm using Sygate. I'm also behind a router > firewall and have AVG going to the AV and their spyware product. Any > compelling reason to switch? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Saturday, November 24, 2007 4:47 AM > To: 'Access Developers discussion and problem solving'; 'Discussion of > Hardware and Software issues' > Subject: [AccessD] New Comodo Firewall > > I have to say the new Comodo firewall, v 3.x is AWESOME. The firewall > itself is great, and now they are folding in the capabilities of malware > detection such as rootkits and other such goodies. > > If you don't use a software firewall, you should try this thing. If you use > any other firewall, you should try this thing. They just keep getting > better. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.16.5/1148 - Release Date: 11/23/2007 > 7:39 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From fuller.artful at gmail.com Sat Nov 24 10:26:41 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 24 Nov 2007 11:26:41 -0500 Subject: [AccessD] New Comodo Firewall In-Reply-To: References: <004801c82e98$11a93e30$6c7aa8c0@M90> <001601c82ea1$caa5b950$0301a8c0@HAL9005> <005501c82ead$4bbda9c0$6c7aa8c0@M90> Message-ID: <29f585dd0711240826g372c0e61xfcd6b7c46baa4967@mail.gmail.com> I'm about to reveal my colossal ignorance (just in case it was not already evident), but my question is this: given a router that already has a firewall in it (such as LinkSys or DLink), what is gained by adding a software firewall to the mix? Since I live alone, but have 2 desktops, one notebook and one server, I want traffic between everything my house to be open and free. I'm only concerned about externalities, as it were. I don't want anybody in the outside world to get in (without permission), but within my tiny world, everything is permitted. So what would a software firewall bring to the party that I don't already have? TIA, Arthur From jwcolby at colbyconsulting.com Sat Nov 24 10:27:47 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Nov 2007 11:27:47 -0500 Subject: [AccessD] New Comodo Firewall In-Reply-To: References: <004801c82e98$11a93e30$6c7aa8c0@M90><001601c82ea1$caa5b950$0301a8c0@HAL9005><005501c82ead$4bbda9c0$6c7aa8c0@M90> Message-ID: <006401c82eb6$f3b8cfc0$6c7aa8c0@M90> Look at the dates though. The two top picks were reviewed in summer 2006. That is a LOOOONG time ago in this business. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Saturday, November 24, 2007 11:00 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New Comodo Firewall Here's a firewall testing site http://www.firewallguide.com/software.htm GK On Nov 24, 2007 9:18 AM, jwcolby wrote: > Rocky, > > I don't pretend to be a security expert. Therefore all I can do is > talk about what I like and why. The Comodo firewall is good and getting better. > It is free. It has now added in a new layer which watches for the > nasties trying to load and also the nasties trying to hook in to or > manipulate already loaded applications. This is a very common > practice, even with the non-nasties. Outlook hooks into Firefox or IE > to display web pages. So if an "application" tries to use another application, is it normal or a nasty? > If something tries to load, is it a normal known app or a nasty? > > There are already firewalls out there, there are already app monitors. > Some are good, some are not so good, some are useless. Unfortunately > given the very real importance of such things, I am not finding a good > site dedicated to testing firewalls and keeping those tests up to > date. I find tests for Comodo's firewall but they are from Sept 2006. > That is well over a year ago and are the results valid today? As we > know from the Microsoft debacle, bug fixes can break things so any > firewall developer can fix a bug and break something else. We really > need some place that tests each firewall / version at LEAST every few months. Well if there is one I can't find it. > > Anyway, Comodo is a company that I trust and I like their philosophy. > They are in the business of selling security certificates, and they > profess to believe that trust is the most critical aspect of their > job. They already have a background in the internet, and specifically > in the security side of the internet and they are trying to leverage > that knowledge into good products for the little guy to protect > himself with. They are openly staking their reputation on these > products, and the effect on their reputation is their payback for the > work they do on these products. I just like that. > > They are doing a good job of staying on top of the various security > issues > (AFAICT) and they have added a new "layer" of security directly into > the firewall application which does this monitoring of other > applications. It has gotten to the point where I think this is a > requirement (application monitoring), and it just seems like a good > idea to have one dev team handling the whole thing rather than using > the firewall from over here and the monitor from over there. Given > that the nasties almost always try to use the internet for some > nefarious purpose, it makes sense to me for the app monitor to be able to talk directly to the firewall should it need to. > > Again, just my opinion, and making the assumption that they do a good > job on both sides of the security house of course. > > Both of these things, firewalls and application monitoring, are > complicated issues which I don't understand well enough to do my own > testing. I keep looking for some third party which is keeping up with > such testing but I am not finding such a place. In the meantime, all > I can say is, I like Comodo and I like their firewall. I have been > using it for well over a year now, on all of my machines and I still recommend it highly. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Saturday, November 24, 2007 8:56 AM > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] New Comodo Firewall > > Looks good from the site. I'm using Sygate. I'm also behind a router > firewall and have AVG going to the AV and their spyware product. Any > compelling reason to switch? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Saturday, November 24, 2007 4:47 AM > To: 'Access Developers discussion and problem solving'; 'Discussion of > Hardware and Software issues' > Subject: [AccessD] New Comodo Firewall > > I have to say the new Comodo firewall, v 3.x is AWESOME. The firewall > itself is great, and now they are folding in the capabilities of > malware detection such as rootkits and other such goodies. > > If you don't use a software firewall, you should try this thing. If > you use any other firewall, you should try this thing. They just keep > getting better. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.16.5/1148 - Release Date: > 11/23/2007 > 7:39 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sat Nov 24 10:42:52 2007 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 24 Nov 2007 10:42:52 -0600 Subject: [AccessD] New Comodo Firewall In-Reply-To: <005e01c82eb1$898f7b30$6c7aa8c0@M90> Message-ID: <20071124164323.1E2EB1C8C2@smtp-out-02.usinternet.com> The URL here is wrapped. I just tried again - their home page opened fine. www.matousec.com BTW - the reviews here are quite critical and technical. For example, they say that ZoneAlarm Pro should not be used because it has too many critical bugs that would allow a skilled person to easily get into your PC! Ouch! They also gain some income by selling the full technical analysis to the vendors of firewalls - and some vendors have taken them up on this and improved their products as a result. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, November 24, 2007 9:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New Comodo Firewall I am unable to load the page, or even the home page. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Saturday, November 24, 2007 10:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New Comodo Firewall I went looking for info on Comodo, and found this firewall analysis site: http://www.matousec.com/projects/windows-personal-firewall-analysis/results. php Too much info for me to summarize! - But Comodo is one of the better products. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, November 24, 2007 6:47 AM To: 'Access Developers discussion and problem solving'; 'Discussion of Hardware and Software issues' Subject: [AccessD] New Comodo Firewall I have to say the new Comodo firewall, v 3.x is AWESOME. The firewall itself is great, and now they are folding in the capabilities of malware detection such as rootkits and other such goodies. If you don't use a software firewall, you should try this thing. If you use any other firewall, you should try this thing. They just keep getting better. John W. Colby Colby Consulting 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sat Nov 24 10:52:37 2007 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 24 Nov 2007 10:52:37 -0600 Subject: [AccessD] New Comodo Firewall In-Reply-To: <006401c82eb6$f3b8cfc0$6c7aa8c0@M90> Message-ID: <20071124165307.8B4E224FCD@smtp-out-01.usinternet.com> If you scroll down about 1/4 of the page, you'll see an update on Comodo dated Sept 2007. Sounds like the company is going to make major improvements pretty soon. I'm going to try this when they do. Hey I just checked! They do now offer version 3.0. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, November 24, 2007 10:28 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New Comodo Firewall Look at the dates though. The two top picks were reviewed in summer 2006. That is a LOOOONG time ago in this business. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Saturday, November 24, 2007 11:00 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New Comodo Firewall Here's a firewall testing site http://www.firewallguide.com/software.htm GK On Nov 24, 2007 9:18 AM, jwcolby wrote: > Rocky, > > I don't pretend to be a security expert. Therefore all I can do is > talk about what I like and why. The Comodo firewall is good and getting better. > It is free. It has now added in a new layer which watches for the > nasties trying to load and also the nasties trying to hook in to or > manipulate already loaded applications. This is a very common > practice, even with the non-nasties. Outlook hooks into Firefox or IE > to display web pages. So if an "application" tries to use another application, is it normal or a nasty? > If something tries to load, is it a normal known app or a nasty? > > There are already firewalls out there, there are already app monitors. > Some are good, some are not so good, some are useless. Unfortunately > given the very real importance of such things, I am not finding a good > site dedicated to testing firewalls and keeping those tests up to > date. I find tests for Comodo's firewall but they are from Sept 2006. > That is well over a year ago and are the results valid today? As we > know from the Microsoft debacle, bug fixes can break things so any > firewall developer can fix a bug and break something else. We really > need some place that tests each firewall / version at LEAST every few months. Well if there is one I can't find it. > > Anyway, Comodo is a company that I trust and I like their philosophy. > They are in the business of selling security certificates, and they > profess to believe that trust is the most critical aspect of their > job. They already have a background in the internet, and specifically > in the security side of the internet and they are trying to leverage > that knowledge into good products for the little guy to protect > himself with. They are openly staking their reputation on these > products, and the effect on their reputation is their payback for the > work they do on these products. I just like that. > > They are doing a good job of staying on top of the various security > issues > (AFAICT) and they have added a new "layer" of security directly into > the firewall application which does this monitoring of other > applications. It has gotten to the point where I think this is a > requirement (application monitoring), and it just seems like a good > idea to have one dev team handling the whole thing rather than using > the firewall from over here and the monitor from over there. Given > that the nasties almost always try to use the internet for some > nefarious purpose, it makes sense to me for the app monitor to be able to talk directly to the firewall should it need to. > > Again, just my opinion, and making the assumption that they do a good > job on both sides of the security house of course. > > Both of these things, firewalls and application monitoring, are > complicated issues which I don't understand well enough to do my own > testing. I keep looking for some third party which is keeping up with > such testing but I am not finding such a place. In the meantime, all > I can say is, I like Comodo and I like their firewall. I have been > using it for well over a year now, on all of my machines and I still recommend it highly. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Saturday, November 24, 2007 8:56 AM > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] New Comodo Firewall > > Looks good from the site. I'm using Sygate. I'm also behind a router > firewall and have AVG going to the AV and their spyware product. Any > compelling reason to switch? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Saturday, November 24, 2007 4:47 AM > To: 'Access Developers discussion and problem solving'; 'Discussion of > Hardware and Software issues' > Subject: [AccessD] New Comodo Firewall > > I have to say the new Comodo firewall, v 3.x is AWESOME. The firewall > itself is great, and now they are folding in the capabilities of > malware detection such as rootkits and other such goodies. > > If you don't use a software firewall, you should try this thing. If > you use any other firewall, you should try this thing. They just keep > getting better. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.16.5/1148 - Release Date: > 11/23/2007 > 7:39 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Nov 24 11:05:17 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Nov 2007 12:05:17 -0500 Subject: [AccessD] New Comodo Firewall In-Reply-To: <29f585dd0711240826g372c0e61xfcd6b7c46baa4967@mail.gmail.com> References: <004801c82e98$11a93e30$6c7aa8c0@M90><001601c82ea1$caa5b950$0301a8c0@HAL9005><005501c82ead$4bbda9c0$6c7aa8c0@M90> <29f585dd0711240826g372c0e61xfcd6b7c46baa4967@mail.gmail.com> Message-ID: <006501c82ebc$3084fb90$6c7aa8c0@M90> Arthur, A hardware firewall is about controlling the access to the NETWORK (not any specific computer) almost exclusively INCOMING only. It is definitely the first and most powerful line of defense for what it does. What it does not do is control any specific computer attempting to phone home. If you ever catch a nasty, almost all of them attempt to pass information back out to criminals. These things are a major threat nowadays. In the beginning were the script kiddies and they were idiots. Now there are crime syndicates with more resources than IBM (literally), all of it focused on breaking in to our computers. They run out of mainland china, Russia and other essentially lawless or uncaring host countries where we can't get at them and prosecute them. And they are powerful. They have made so much money that they can and do afford the best programmers in the world, paying big bucks to little people who don't stand a chance of making that kind of money legitimately, and all focused on figuring out how to get past your router. If they get in , they plant totally silent applications that just look for passwords and stuff. So... the software firewall (and application monitors) are designed to watch for applications trying to do things they shouldn't and applications trying to send stuff OUT of your computer. You will never know if you need one until your bank account or credit card is empty. If you do not ever use your computer to buy stuff over the internet or do web banking, then you do not really have much to worry about. Your computer may end up a 'bot in someone's bot network but what do you care? OTOH if you ever use your credit card over the net then just keep a close eye on things and hope for the best. Oh yea, and then there is the identity theft issue. That's the short answer. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, November 24, 2007 11:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New Comodo Firewall I'm about to reveal my colossal ignorance (just in case it was not already evident), but my question is this: given a router that already has a firewall in it (such as LinkSys or DLink), what is gained by adding a software firewall to the mix? Since I live alone, but have 2 desktops, one notebook and one server, I want traffic between everything my house to be open and free. I'm only concerned about externalities, as it were. I don't want anybody in the outside world to get in (without permission), but within my tiny world, everything is permitted. So what would a software firewall bring to the party that I don't already have? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Nov 24 11:09:42 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Nov 2007 12:09:42 -0500 Subject: [AccessD] New Comodo Firewall In-Reply-To: <20071124164323.1E2EB1C8C2@smtp-out-02.usinternet.com> References: <005e01c82eb1$898f7b30$6c7aa8c0@M90> <20071124164323.1E2EB1C8C2@smtp-out-02.usinternet.com> Message-ID: <006601c82ebc$ceb92a70$6c7aa8c0@M90> I still can't get on it. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Saturday, November 24, 2007 11:43 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New Comodo Firewall The URL here is wrapped. I just tried again - their home page opened fine. www.matousec.com BTW - the reviews here are quite critical and technical. For example, they say that ZoneAlarm Pro should not be used because it has too many critical bugs that would allow a skilled person to easily get into your PC! Ouch! They also gain some income by selling the full technical analysis to the vendors of firewalls - and some vendors have taken them up on this and improved their products as a result. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, November 24, 2007 9:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New Comodo Firewall I am unable to load the page, or even the home page. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Saturday, November 24, 2007 10:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New Comodo Firewall I went looking for info on Comodo, and found this firewall analysis site: http://www.matousec.com/projects/windows-personal-firewall-analysis/results. php Too much info for me to summarize! - But Comodo is one of the better products. Dan From jwcolby at colbyconsulting.com Sat Nov 24 11:10:51 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Nov 2007 12:10:51 -0500 Subject: [AccessD] New Comodo Firewall In-Reply-To: <006501c82ebc$3084fb90$6c7aa8c0@M90> References: <004801c82e98$11a93e30$6c7aa8c0@M90><001601c82ea1$caa5b950$0301a8c0@HAL9005><005501c82ead$4bbda9c0$6c7aa8c0@M90><29f585dd0711240826g372c0e61xfcd6b7c46baa4967@mail.gmail.com> <006501c82ebc$3084fb90$6c7aa8c0@M90> Message-ID: <006701c82ebc$f7bf7c30$6c7aa8c0@M90> http://www.eweek.com/article2/0,1895,2218894,00.asp?kc=EWKNLBOE112407STR1 John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, November 24, 2007 12:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New Comodo Firewall Arthur, A hardware firewall is about controlling the access to the NETWORK (not any specific computer) almost exclusively INCOMING only. It is definitely the first and most powerful line of defense for what it does. What it does not do is control any specific computer attempting to phone home. If you ever catch a nasty, almost all of them attempt to pass information back out to criminals. These things are a major threat nowadays. In the beginning were the script kiddies and they were idiots. Now there are crime syndicates with more resources than IBM (literally), all of it focused on breaking in to our computers. They run out of mainland china, Russia and other essentially lawless or uncaring host countries where we can't get at them and prosecute them. And they are powerful. They have made so much money that they can and do afford the best programmers in the world, paying big bucks to little people who don't stand a chance of making that kind of money legitimately, and all focused on figuring out how to get past your router. If they get in , they plant totally silent applications that just look for passwords and stuff. So... the software firewall (and application monitors) are designed to watch for applications trying to do things they shouldn't and applications trying to send stuff OUT of your computer. You will never know if you need one until your bank account or credit card is empty. If you do not ever use your computer to buy stuff over the internet or do web banking, then you do not really have much to worry about. Your computer may end up a 'bot in someone's bot network but what do you care? OTOH if you ever use your credit card over the net then just keep a close eye on things and hope for the best. Oh yea, and then there is the identity theft issue. That's the short answer. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, November 24, 2007 11:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New Comodo Firewall I'm about to reveal my colossal ignorance (just in case it was not already evident), but my question is this: given a router that already has a firewall in it (such as LinkSys or DLink), what is gained by adding a software firewall to the mix? Since I live alone, but have 2 desktops, one notebook and one server, I want traffic between everything my house to be open and free. I'm only concerned about externalities, as it were. I don't want anybody in the outside world to get in (without permission), but within my tiny world, everything is permitted. So what would a software firewall bring to the party that I don't already have? 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 jwcolby at colbyconsulting.com Sat Nov 24 11:15:35 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Nov 2007 12:15:35 -0500 Subject: [AccessD] An interesting article on exposed databases Message-ID: <006801c82ebd$a10fe810$6c7aa8c0@M90> http://www.eweek.com/article2/0,1895,2217123,00.asp John W. Colby Colby Consulting www.ColbyConsulting.com From max.wanadoo at gmail.com Sat Nov 24 11:31:39 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Sat, 24 Nov 2007 17:31:39 -0000 Subject: [AccessD] SendObject Attachments In-Reply-To: <001701c82ead$85dd4570$0301a8c0@HAL9005> Message-ID: <00a201c82ebf$dfee3260$8119fea9@LTVM> Well Rocky, As an alternative why not buy a client-domain and host it with a low-cost ISP (minimum costs these days)* then give your clients the ability to send emails from within your Access package (using CDO - no email client required). You can then build in all the paramaters into your package with zero installation overheads (you control all the values necessary). You could sell this to them as "Added-Value" with/without an price. The activation key could be part of the Licence Code. When turned on, they can use it, otherwise not (nice little popup inviting them to upgrade) You could also have client-specific web pages for each client. Get them to sign up to a no-spam clause and drop them from the "approved list" if they break this. Enhancement could be a unique selling point! Max * or host the domain with your own PC if it has permanent internet connection. Traffic would be low and easily within the capabilities of a standard PC. I use Abyss (v1 is free, v2 is lowcost). Ps. You can also automat the sending of error driven emails direct to your computers from theirs. Imagine their surprise when you call them the next day and say "I see you had a problem, here is the solution". -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, November 24, 2007 3:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments I like it. I wouldn't distribute it to a lot of users, however. In my manufacturing system the installation is dead simple. First instruction -Create a folder C:\E-Z-MRP. 50% of the users were stumped. That's when I switched to Wise/Sagekey. But for one-off installations it looks like a better approach. Rocky From jimdettman at verizon.net Sat Nov 24 11:38:52 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Sat, 24 Nov 2007 12:38:52 -0500 Subject: [AccessD] New Comodo Firewall In-Reply-To: <29f585dd0711240826g372c0e61xfcd6b7c46baa4967@mail.gmail.com> References: <004801c82e98$11a93e30$6c7aa8c0@M90> <001601c82ea1$caa5b950$0301a8c0@HAL9005> <005501c82ead$4bbda9c0$6c7aa8c0@M90> <29f585dd0711240826g372c0e61xfcd6b7c46baa4967@mail.gmail.com> Message-ID: <003f01c82ec0$e1f66900$8abea8c0@XPS> Arthur, <> Even though both are called "firewalls", the approach and what they do are different, but there is some overlap. Hardware Firewalls started off with simply NAT (Network Address Translation). NAT "hides" your internal network from the outside world. As time went on hardware Firewalls gained capabilities, such as keyword checking, URL filtering, Time restrictions, etc, but their primary focus is handling TCP/IP communications and enabling/disabling that. The problem is, they typically don't check what's going on inside the communication itself (look inside the packets). Software firewalls started off in the other direction; more concerned with content. They typically have anti-virus, spam tools, content checking, etc built in. And they as well have gained features over time, such as checking ports and allowing / disallowing communications at a basic level. So the line has blurred quite a bit, but you still typically use a pair because a hardware firewall is better at handling basic communications (it's faster) and a software firewall to check content, such as preventing personal information (ie. a phone number or credit card) from being transmitted out. You can buy a hardware firewall that has a lot of the features a software firewall has, but they are expensive and the configuration your doing is at a network wide level. If you stick with strictly software, then you have a performance issue. By splitting the difference, you get the best of both worlds. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, November 24, 2007 11:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New Comodo Firewall I'm about to reveal my colossal ignorance (just in case it was not already evident), but my question is this: given a router that already has a firewall in it (such as LinkSys or DLink), what is gained by adding a software firewall to the mix? Since I live alone, but have 2 desktops, one notebook and one server, I want traffic between everything my house to be open and free. I'm only concerned about externalities, as it were. I don't want anybody in the outside world to get in (without permission), but within my tiny world, everything is permitted. So what would a software firewall bring to the party that I don't already have? 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 Sat Nov 24 12:23:20 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 24 Nov 2007 10:23:20 -0800 Subject: [AccessD] SendObject Attachments In-Reply-To: <00a201c82ebf$dfee3260$8119fea9@LTVM> References: <001701c82ead$85dd4570$0301a8c0@HAL9005> <00a201c82ebf$dfee3260$8119fea9@LTVM> Message-ID: <001b01c82ec7$17e5e0d0$0301a8c0@HAL9005> Piece of cake. Next time you're in the neighborhood, stop by, and hook that up for me, will you? Weather's great, accommodations reasonable (ask Martin). Actually, it sounds like a good idea. But more responsibility (24/7) than I think I want. I'm a lone ranger, here. Rocky Smolin Not When The Surf's Up Software Company Del Mar, California -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Saturday, November 24, 2007 9:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments Well Rocky, As an alternative why not buy a client-domain and host it with a low-cost ISP (minimum costs these days)* then give your clients the ability to send emails from within your Access package (using CDO - no email client required). You can then build in all the paramaters into your package with zero installation overheads (you control all the values necessary). You could sell this to them as "Added-Value" with/without an price. The activation key could be part of the Licence Code. When turned on, they can use it, otherwise not (nice little popup inviting them to upgrade) You could also have client-specific web pages for each client. Get them to sign up to a no-spam clause and drop them from the "approved list" if they break this. Enhancement could be a unique selling point! Max * or host the domain with your own PC if it has permanent internet connection. Traffic would be low and easily within the capabilities of a standard PC. I use Abyss (v1 is free, v2 is lowcost). Ps. You can also automat the sending of error driven emails direct to your computers from theirs. Imagine their surprise when you call them the next day and say "I see you had a problem, here is the solution". -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, November 24, 2007 3:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments I like it. I wouldn't distribute it to a lot of users, however. In my manufacturing system the installation is dead simple. First instruction -Create a folder C:\E-Z-MRP. 50% of the users were stumped. That's when I switched to Wise/Sagekey. But for one-off installations it looks like a better approach. Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.5/1148 - Release Date: 11/23/2007 7:39 PM From miscellany at mvps.org Sat Nov 24 13:01:32 2007 From: miscellany at mvps.org (Steve Schapel) Date: Sun, 25 Nov 2007 08:01:32 +1300 Subject: [AccessD] Comparing date and time In-Reply-To: <47473C84.9000601@mvps.org> References: <20071123105039.7E2E92B58F6@smtp.nildram.co.uk> <20071123200328.OUPJ9910.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> <47473C84.9000601@mvps.org> Message-ID: <4748750C.5070007@mvps.org> David, Another thought... It would arguably be neater if you put a couple of unbound textboxes on the form, with control sources: =[BsvrStartDate]+[BSVRStartTime] =[BsvrEndDate]+[BSVREndTime] Let's say you name these textboxes BSVRStartDateTime and BSVREndDateTime. So then we could have: "WHERE (EntryLogSets.[Date] + EntryLogSets.[Time]) Between " & CDbl([Forms]![BSVR]![BSVRStartDateTime]) & " And " & CDbl([Forms]![BSVR]![BSVREndDateTime]) Or, assuming your code is actually running from an event within the BSVR form: "WHERE (EntryLogSets.[Date] + EntryLogSets.[Time]) Between " & CDbl(Me.BSVRStartDateTime) & " And " & CDbl(Me.BSVREndDateTime) Regards Steve Steve Schapel wrote: > David, > > If the [Date] and [Time] fields in the table are a Date/Time data type, > and if the criteria controls on the form are formatted with a valid date > and/or time format, then I don't think you would need the CDate and > DateValue functions as you have used them. I would expect (without > having tested) that this would work: > "WHERE (EntryLogSets.Date + EntryLogSets.Time) Between (#" & > [Forms]![BSVR]![BsvrStartDate] & "# + #" & > [Forms]![BSVR]![BSVRStartTime] & "#) And (#" & > [Forms]![BSVR]![BsvrEndDate] "# + #" & [Forms]![BSVR]![BSVREndTime] & "#)" > > I always wrap date and time criteria in CLng or CDbl to handle > international problem, so I would do it like this: > "WHERE (EntryLogSets.Date + EntryLogSets.Time) Between (" & > CLng([Forms]![BSVR]![BsvrStartDate]) + > CDbl([Forms]![BSVR]![BSVRStartTime]) & ") And (" & > CLng([Forms]![BSVR]![BsvrEndDate]) + CDbl([Forms]![BSVR]![BSVREndTime]) > & ")" > > Regards > Steve > > David Emerson wrote: >> Thanks to everyone who replied. >> >> The final solution was twofold. First change the query: >> >> DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT >> ShipmentDetail.* " & _ >> "FROM ShipmentDetail INNER JOIN EntryLogSets ON >> ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ >> "WHERE (CDate(DateValue(EntryLogSets.Date) + >> TimeValue(EntryLogSets.Time))>= >> CDate(DateValue([Forms]![BSVR]![BsvrStartDate]) + >> TimeValue([Forms]![BSVR]![BSVRStartTime]))) " & _ >> "And CDate(DateValue(EntryLogSets.Date) + >> TimeValue(EntryLogSets.Time))<= >> CDate(DateValue([Forms]![BSVR]![BsvrEndDate]) + >> TimeValue([Forms]![BSVR]![BSVREndTime]))" >> >> >> Secondly, tidy up the data to remove invalid entries in the time field. >> From max.wanadoo at gmail.com Sat Nov 24 13:01:42 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Sat, 24 Nov 2007 19:01:42 -0000 Subject: [AccessD] SendObject Attachments In-Reply-To: <001b01c82ec7$17e5e0d0$0301a8c0@HAL9005> Message-ID: <00a601c82ecc$74255970$8119fea9@LTVM> >> Piece of cake. Yes it is, probably sounds more complicated than it actually is. Probably a day's work for the lot. I would love to take up your offer, but it is a long drive from England! My son is currently in Orangevale, CA. Is that anywhere near you? Would be great to see him and drop in on you. Max Ps. You don't have to answer the email calls 24/7, just during office hours. Pps. 1. Abyss is such a doddle to set up. Complete with firewall etc 2. Domain set up is done by ISP, just connect to it. They will give you the parameters. Just leave you PC online 24/7 if you offer web pages, otherwise scratch Abyss. You can collect any error emails via a mailbox on the ISP. 3. Access you already know. Do it Rocky - be the first kid on the block to offer this service! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, November 24, 2007 6:23 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments Piece of cake. Next time you're in the neighborhood, stop by, and hook that up for me, will you? Weather's great, accommodations reasonable (ask Martin). Actually, it sounds like a good idea. But more responsibility (24/7) than I think I want. I'm a lone ranger, here. Rocky Smolin Not When The Surf's Up Software Company Del Mar, California -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Saturday, November 24, 2007 9:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments Well Rocky, As an alternative why not buy a client-domain and host it with a low-cost ISP (minimum costs these days)* then give your clients the ability to send emails from within your Access package (using CDO - no email client required). You can then build in all the paramaters into your package with zero installation overheads (you control all the values necessary). You could sell this to them as "Added-Value" with/without an price. The activation key could be part of the Licence Code. When turned on, they can use it, otherwise not (nice little popup inviting them to upgrade) You could also have client-specific web pages for each client. Get them to sign up to a no-spam clause and drop them from the "approved list" if they break this. Enhancement could be a unique selling point! Max * or host the domain with your own PC if it has permanent internet connection. Traffic would be low and easily within the capabilities of a standard PC. I use Abyss (v1 is free, v2 is lowcost). Ps. You can also automat the sending of error driven emails direct to your computers from theirs. Imagine their surprise when you call them the next day and say "I see you had a problem, here is the solution". -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, November 24, 2007 3:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments I like it. I wouldn't distribute it to a lot of users, however. In my manufacturing system the installation is dead simple. First instruction -Create a folder C:\E-Z-MRP. 50% of the users were stumped. That's when I switched to Wise/Sagekey. But for one-off installations it looks like a better approach. Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.5/1148 - Release Date: 11/23/2007 7:39 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sat Nov 24 13:27:57 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 24 Nov 2007 11:27:57 -0800 Subject: [AccessD] SendObject Attachments In-Reply-To: <00a601c82ecc$74255970$8119fea9@LTVM> References: <001b01c82ec7$17e5e0d0$0301a8c0@HAL9005> <00a601c82ecc$74255970$8119fea9@LTVM> Message-ID: <001c01c82ed0$1e65c340$0301a8c0@HAL9005> Orangevale is about 500 miles north - near Sacramento. We're just North of San Diego, about 35 miles from the Mexico border Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Saturday, November 24, 2007 11:02 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments >> Piece of cake. Yes it is, probably sounds more complicated than it actually is. Probably a day's work for the lot. I would love to take up your offer, but it is a long drive from England! My son is currently in Orangevale, CA. Is that anywhere near you? Would be great to see him and drop in on you. Max Ps. You don't have to answer the email calls 24/7, just during office hours. Pps. 1. Abyss is such a doddle to set up. Complete with firewall etc 2. Domain set up is done by ISP, just connect to it. They will give you the parameters. Just leave you PC online 24/7 if you offer web pages, otherwise scratch Abyss. You can collect any error emails via a mailbox on the ISP. 3. Access you already know. Do it Rocky - be the first kid on the block to offer this service! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, November 24, 2007 6:23 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments Piece of cake. Next time you're in the neighborhood, stop by, and hook that up for me, will you? Weather's great, accommodations reasonable (ask Martin). Actually, it sounds like a good idea. But more responsibility (24/7) than I think I want. I'm a lone ranger, here. Rocky Smolin Not When The Surf's Up Software Company Del Mar, California -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Saturday, November 24, 2007 9:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments Well Rocky, As an alternative why not buy a client-domain and host it with a low-cost ISP (minimum costs these days)* then give your clients the ability to send emails from within your Access package (using CDO - no email client required). You can then build in all the paramaters into your package with zero installation overheads (you control all the values necessary). You could sell this to them as "Added-Value" with/without an price. The activation key could be part of the Licence Code. When turned on, they can use it, otherwise not (nice little popup inviting them to upgrade) You could also have client-specific web pages for each client. Get them to sign up to a no-spam clause and drop them from the "approved list" if they break this. Enhancement could be a unique selling point! Max * or host the domain with your own PC if it has permanent internet connection. Traffic would be low and easily within the capabilities of a standard PC. I use Abyss (v1 is free, v2 is lowcost). Ps. You can also automat the sending of error driven emails direct to your computers from theirs. Imagine their surprise when you call them the next day and say "I see you had a problem, here is the solution". -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, November 24, 2007 3:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments I like it. I wouldn't distribute it to a lot of users, however. In my manufacturing system the installation is dead simple. First instruction -Create a folder C:\E-Z-MRP. 50% of the users were stumped. That's when I switched to Wise/Sagekey. But for one-off installations it looks like a better approach. Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.5/1148 - Release Date: 11/23/2007 7:39 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.5/1148 - Release Date: 11/23/2007 7:39 PM From accessd at shaw.ca Sun Nov 25 13:55:42 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 25 Nov 2007 11:55:42 -0800 Subject: [AccessD] An interesting article on exposed databases In-Reply-To: <006801c82ebd$a10fe810$6c7aa8c0@M90> References: <006801c82ebd$a10fe810$6c7aa8c0@M90> Message-ID: <192DFB7E988C405D89493E215F7168E1@creativesystemdesigns.com> Very interesting article John Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, November 24, 2007 9:16 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] An interesting article on exposed databases http://www.eweek.com/article2/0,1895,2217123,00.asp John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paulrster at gmail.com Sun Nov 25 14:14:15 2007 From: paulrster at gmail.com (paulr) Date: Sun, 25 Nov 2007 20:14:15 -0000 Subject: [AccessD] Anyone remember File Express? Message-ID: <000001c82f9f$c1d1d940$6401a8c0@PAULSLENOVO> Does anyone have any experience with File Express, please? It was an old database system, DOS-based. The main question is: Would it be possible to import it into Access? Cheers all paul From fuller.artful at gmail.com Sun Nov 25 14:52:06 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 25 Nov 2007 15:52:06 -0500 Subject: [AccessD] Anyone remember File Express? In-Reply-To: <000001c82f9f$c1d1d940$6401a8c0@PAULSLENOVO> References: <000001c82f9f$c1d1d940$6401a8c0@PAULSLENOVO> Message-ID: <29f585dd0711251252vc248ea9jbb31696d4fe7c4fd@mail.gmail.com> See this: http://www.millenniacorp.com/Expressware/InfoFileExpress.htm On 11/25/07, paulr wrote: > > Does anyone have any experience with File Express, please? It was an old > database system, DOS-based. The main question is: Would it be possible to > import it into Access? > > Cheers all > > paul > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From paulrster at gmail.com Sun Nov 25 15:28:58 2007 From: paulrster at gmail.com (paulr) Date: Sun, 25 Nov 2007 21:28:58 -0000 Subject: [AccessD] Anyone remember File Express? In-Reply-To: <29f585dd0711251252vc248ea9jbb31696d4fe7c4fd@mail.gmail.com> References: <000001c82f9f$c1d1d940$6401a8c0@PAULSLENOVO> <29f585dd0711251252vc248ea9jbb31696d4fe7c4fd@mail.gmail.com> Message-ID: <000f01c82faa$3244bad0$6401a8c0@PAULSLENOVO> Thanks, Arthur, but I got the impression that the site was abandoned some time back. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: 25 November 2007 20:52 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Anyone remember File Express? See this: http://www.millenniacorp.com/Expressware/InfoFileExpress.htm On 11/25/07, paulr wrote: > > Does anyone have any experience with File Express, please? It was an > old database system, DOS-based. The main question is: Would it be > possible to import it into Access? > > Cheers all > > paul > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Sun Nov 25 15:39:56 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 25 Nov 2007 16:39:56 -0500 Subject: [AccessD] Anyone remember File Express? In-Reply-To: <000f01c82faa$3244bad0$6401a8c0@PAULSLENOVO> References: <000001c82f9f$c1d1d940$6401a8c0@PAULSLENOVO> <29f585dd0711251252vc248ea9jbb31696d4fe7c4fd@mail.gmail.com> <000f01c82faa$3244bad0$6401a8c0@PAULSLENOVO> Message-ID: <29f585dd0711251339v66d5943eye7dfc5dd4af63d1d@mail.gmail.com> I don't think so. On 11/25/07, paulr wrote: > > Thanks, Arthur, but I got the impression that the site was abandoned some > time back. > From paulrster at gmail.com Sun Nov 25 15:53:11 2007 From: paulrster at gmail.com (paulr) Date: Sun, 25 Nov 2007 21:53:11 -0000 Subject: [AccessD] Anyone remember File Express? In-Reply-To: <29f585dd0711251339v66d5943eye7dfc5dd4af63d1d@mail.gmail.com> References: <000001c82f9f$c1d1d940$6401a8c0@PAULSLENOVO><29f585dd0711251252vc248ea9jbb31696d4fe7c4fd@mail.gmail.com><000f01c82faa$3244bad0$6401a8c0@PAULSLENOVO> <29f585dd0711251339v66d5943eye7dfc5dd4af63d1d@mail.gmail.com> Message-ID: <001001c82fad$938abd50$6401a8c0@PAULSLENOVO> They seem to have become involved in family trees with the latest offering. Is there a way to import DOS files from a program like File Express into Access, do you think, Arthur? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: 25 November 2007 21:40 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Anyone remember File Express? I don't think so. On 11/25/07, paulr wrote: > > Thanks, Arthur, but I got the impression that the site was abandoned > some time back. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Sun Nov 25 15:55:50 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 25 Nov 2007 16:55:50 -0500 Subject: [AccessD] Anyone remember File Express? References: <000001c82f9f$c1d1d940$6401a8c0@PAULSLENOVO> Message-ID: <006901c82fad$fa41e7d0$4b3a8343@SusanOne> If you can't import it directly, you might be able to use a third program -- look for a product that's supported by both File Express and Access and use it as a go-between if you have to. If nothing else, you might export the FE data to a delimited text file. Susan H. > Does anyone have any experience with File Express, please? It was an old > database system, DOS-based. The main question is: Would it be possible to > import it into Access? From ssharkins at gmail.com Sun Nov 25 17:57:35 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 25 Nov 2007 18:57:35 -0500 Subject: [AccessD] ADO Message-ID: <000301c82fbe$f5d444c0$4b3a8343@SusanOne> I don't think there's a querydef-type object in ADO, is there? Susan H. From nd500_lo at charter.net Sun Nov 25 18:42:37 2007 From: nd500_lo at charter.net (Dian) Date: Sun, 25 Nov 2007 16:42:37 -0800 Subject: [AccessD] Anyone remember File Express? In-Reply-To: <006901c82fad$fa41e7d0$4b3a8343@SusanOne> References: <000001c82f9f$c1d1d940$6401a8c0@PAULSLENOVO> <006901c82fad$fa41e7d0$4b3a8343@SusanOne> Message-ID: <000001c82fc5$3e24efd0$6400a8c0@dsunit1> Excel might do the trick, too...have used it several times with legacy stuff... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, November 25, 2007 1:56 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Anyone remember File Express? If you can't import it directly, you might be able to use a third program -- look for a product that's supported by both File Express and Access and use it as a go-between if you have to. If nothing else, you might export the FE data to a delimited text file. Susan H. > Does anyone have any experience with File Express, please? It was an > old database system, DOS-based. The main question is: Would it be > possible to import it into Access? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Sun Nov 25 18:50:57 2007 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Sun, 25 Nov 2007 16:50:57 -0800 (PST) Subject: [AccessD] ADO Message-ID: <118699.93917.qm@web33103.mail.mud.yahoo.com> Nope. That's the one thing that keeps me using the DAO. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Susan Harkins To: AccessD at databaseadvisors.com Sent: Sunday, November 25, 2007 5:57:35 PM Subject: [AccessD] ADO I don't think there's a querydef-type object in ADO, is there? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ____________________________________________________________________________________ Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how. http://overview.mail.yahoo.com/ From ssharkins at gmail.com Sun Nov 25 19:02:54 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 25 Nov 2007 20:02:54 -0500 Subject: [AccessD] ADO References: <118699.93917.qm@web33103.mail.mud.yahoo.com> Message-ID: <001701c82fc8$15c81d20$4b3a8343@SusanOne> Yeah, that's what I thought. I seldom have need to reference a fixed query, so I never can remember. Thanks! Susan H. > Nope. That's the one thing that keeps me using the DAO. > > May God bless you beyond your imagination! > Lonnie Johnson > ProDev, Professional Development of MS Access Databases > Visit me at ==> http://www.prodev.us From ssharkins at gmail.com Sun Nov 25 19:29:22 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 25 Nov 2007 20:29:22 -0500 Subject: [AccessD] Odd property error Message-ID: <000301c82fcb$ccfa9560$4b3a8343@SusanOne> I'm using the following statement to retrieve the description properties for query fields: SetFieldDescription = fld.Properties("Description") As long as there's a description, it works fine. An empty property returns the error "property not found" I've tried a Resume Next error statement, but VBA acts like it isn't even there and still returns the error. I've tried numerous ways to avoid or capture it, and nothing's worked. As far as I know, Description isn't user-defined and I think VBA's just returning one of its many, famous erroneous error messages that aren't so terribly helpful. However, you'd think Resume Next would ignore it, but it doesn't seem to. Anyone seen anything like this before? I haven't tried a real error handling routine because I'd hoped to avoid doing so if there was an easier solution. Susan H. From rockysmolin at bchacc.com Sun Nov 25 23:35:44 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 25 Nov 2007 21:35:44 -0800 Subject: [AccessD] Odd property error In-Reply-To: <000301c82fcb$ccfa9560$4b3a8343@SusanOne> References: <000301c82fcb$ccfa9560$4b3a8343@SusanOne> Message-ID: <005a01c82fee$31357cd0$0301a8c0@HAL9005> How about SetFieldDescription = Nz( fld.Properties("Description"))? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, November 25, 2007 5:29 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Odd property error I'm using the following statement to retrieve the description properties for query fields: SetFieldDescription = fld.Properties("Description") As long as there's a description, it works fine. An empty property returns the error "property not found" I've tried a Resume Next error statement, but VBA acts like it isn't even there and still returns the error. I've tried numerous ways to avoid or capture it, and nothing's worked. As far as I know, Description isn't user-defined and I think VBA's just returning one of its many, famous erroneous error messages that aren't so terribly helpful. However, you'd think Resume Next would ignore it, but it doesn't seem to. Anyone seen anything like this before? I haven't tried a real error handling routine because I'd hoped to avoid doing so if there was an easier solution. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.6/1150 - Release Date: 11/24/2007 5:58 PM From paulrster at gmail.com Mon Nov 26 00:36:12 2007 From: paulrster at gmail.com (paulr) Date: Mon, 26 Nov 2007 06:36:12 -0000 Subject: [AccessD] Anyone remember File Express? In-Reply-To: <006901c82fad$fa41e7d0$4b3a8343@SusanOne> References: <000001c82f9f$c1d1d940$6401a8c0@PAULSLENOVO> <006901c82fad$fa41e7d0$4b3a8343@SusanOne> Message-ID: <002901c82ff6$a47042e0$6401a8c0@PAULSLENOVO> Thanks, Susan H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: 25 November 2007 21:56 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Anyone remember File Express? If you can't import it directly, you might be able to use a third program -- look for a product that's supported by both File Express and Access and use it as a go-between if you have to. If nothing else, you might export the FE data to a delimited text file. Susan H. > Does anyone have any experience with File Express, please? It was an > old database system, DOS-based. The main question is: Would it be > possible to import it into Access? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at airtelbroadband.in Mon Nov 26 00:43:53 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Mon, 26 Nov 2007 12:13:53 +0530 Subject: [AccessD] Odd property error References: <000301c82fcb$ccfa9560$4b3a8343@SusanOne> Message-ID: <016e01c82ff7$d8dae1b0$1458a27a@personalec1122> Susan, On Error Resume Next is found to work smoothly at my end. Sample subroutine named P_ListQryFieldDescr() is given below. It outputs only those fields where description property is not blank. If you are interested in listing all fields and show description where available (otherwise N.A.), sample subroutine named P_ListQryFieldDescr_A() as given below, will do the needful. Best wishes, A.D.Tejpal ------------ '==================================== Sub P_ListQryFieldDescr(QryName As String) On Error Resume Next Dim qdf As QueryDef, fd As Field Set qdf = CurrentDb.QueryDefs(QryName) For Each fd In qdf.Fields Debug.Print fd.Name & " - (" & _ fd.Properties("Description") & ")" Next Set fd = Nothing Set qdf = Nothing On Error GoTo 0 End Sub '------------------------------------------------------ Sub P_ListQryFieldDescr_A(QryName As String) On Error Resume Next Dim qdf As QueryDef, fd As Field Dim Txt As String Set qdf = CurrentDb.QueryDefs(QryName) For Each fd In qdf.Fields Err.Clear Txt = fd.Properties("Description") If Err.Number = 0 Then Debug.Print fd.Name & " - (" & _ fd.Properties("Description") & ")" Else Debug.Print fd.Name & " - (N.A.)" End If Next Set fd = Nothing Set qdf = Nothing On Error GoTo 0 End Sub '==================================== ----- Original Message ----- From: Susan Harkins To: AccessD at databaseadvisors.com Sent: Monday, November 26, 2007 06:59 Subject: [AccessD] Odd property error I'm using the following statement to retrieve the description properties for query fields: SetFieldDescription = fld.Properties("Description") As long as there's a description, it works fine. An empty property returns the error "property not found" I've tried a Resume Next error statement, but VBA acts like it isn't even there and still returns the error. I've tried numerous ways to avoid or capture it, and nothing's worked. As far as I know, Description isn't user-defined and I think VBA's just returning one of its many, famous erroneous error messages that aren't so terribly helpful. However, you'd think Resume Next would ignore it, but it doesn't seem to. Anyone seen anything like this before? I haven't tried a real error handling routine because I'd hoped to avoid doing so if there was an easier solution. Susan H. From max.wanadoo at gmail.com Mon Nov 26 03:15:03 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Mon, 26 Nov 2007 09:15:03 -0000 Subject: [AccessD] Odd property error In-Reply-To: <000301c82fcb$ccfa9560$4b3a8343@SusanOne> Message-ID: <001601c8300c$d500cf40$8119fea9@LTVM> Function xProp() 'SetFieldDescription = fld.Properties("Description") On Error GoTo errhandler ' property 'DESCRIPTION' for a FIELD does not exist unless user creates it and it is creatable! Dim dbs As DAO.Database, tbldef As DAO.TableDef, fld As Field, prp As Property Dim strDescription As String Set dbs = CurrentDb Set tbldef = dbs.TableDefs("Explains") For Each fld In tbldef.Fields For Each prp In fld.Properties If prp.Name = "Description" Then strDescription = prp.Value End If Next prp Next fld exithere: Set dbs = Nothing: Set tbldef = Nothing: Set fld = Nothing: Set prp = Nothing Exit Function errhandler: Select Case Err.Number Case 3219, 3267, 3251 ' invalid operation type errors If prp.Name = "Description" Then ' You should never arrive here because the prp.name of 'Description' does not exist if it not creatable. strDescription = fld.Name & " " & prp.Name & " No Description Held" MsgBox strDescription End If Resume Next Case Else MsgBox "Error: " & Err.Number & vbCrLf & Err.Description End Select Resume exithere End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 26, 2007 1:29 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Odd property error I'm using the following statement to retrieve the description properties for query fields: SetFieldDescription = fld.Properties("Description") As long as there's a description, it works fine. An empty property returns the error "property not found" I've tried a Resume Next error statement, but VBA acts like it isn't even there and still returns the error. I've tried numerous ways to avoid or capture it, and nothing's worked. As far as I know, Description isn't user-defined and I think VBA's just returning one of its many, famous erroneous error messages that aren't so terribly helpful. However, you'd think Resume Next would ignore it, but it doesn't seem to. Anyone seen anything like this before? I haven't tried a real error handling routine because I'd hoped to avoid doing so if there was an easier solution. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Mon Nov 26 09:42:29 2007 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 26 Nov 2007 09:42:29 -0600 Subject: [AccessD] OT: Thanksgiving In-Reply-To: <00ed01c82d73$37d4efd0$6c7aa8c0@M90> References: <000301c82d41$7dc3d790$6400a8c0@dsunit1> <00ed01c82d73$37d4efd0$6c7aa8c0@M90> Message-ID: I was off the last four days so I am late adding my two cents. Nevertheless I feel compelled to say that this list has been particularly valuable to this non-IT accounting type. As the sole VBA user in the company there are no in house gurus. Consequently, over the last ten years or so (10 years?!) this group has helped me elevate my game and saved my rear countless times. I also very much enjoy the true international nature of this group. I take comfort in the fact that in a world with so many nasty disagreements there are places where professionals from every continent can collaborate successfully. Thanks to all. Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, November 22, 2007 7:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Thanksgiving Thanks for expressing it so well. The strange thing is that we all feel the same way. Individually we each know a little or a lot, but together we are more than the sum. Happy Thanksgiving to all of the Americans, and the same feelings go out to the other list members. Thanks for being there, my life would be very different without you guys and gals. John W. Colby Colby Consulting www.ColbyConsulting.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From ssharkins at gmail.com Mon Nov 26 09:58:41 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 26 Nov 2007 10:58:41 -0500 Subject: [AccessD] Odd property error References: <000301c82fcb$ccfa9560$4b3a8343@SusanOne> <016e01c82ff7$d8dae1b0$1458a27a@personalec1122> Message-ID: <002b01c83045$38cd1460$4b3a8343@SusanOne> > On Error Resume Next is found to work smoothly at my end. Sample > subroutine named P_ListQryFieldDescr() is given below. It outputs only > those fields where description property is not blank. ======I will try it on another system -- there is so much wrong with this one, that I wouldn't be surprised to learn that Access and VBA aren't working properly either. Susan H. From rockysmolin at bchacc.com Mon Nov 26 10:09:38 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 26 Nov 2007 08:09:38 -0800 Subject: [AccessD] A2K7 Navigation Pane In-Reply-To: <02ba01c82bff$22d26dd0$ce59a27a@personalec1122> References: <00df01c82b45$ced67c80$0301a8c0@HAL9005> <02ba01c82bff$22d26dd0$ce59a27a@personalec1122> Message-ID: <004301c83046$bef83280$0301a8c0@HAL9005> A.D.: Does the code: DoCmd.SelectObject acForm, , True DoCmd.RunCommand acCmdWindowHide have to appear in each form, or just called once from the opening form? Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, November 20, 2007 9:26 PM To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Subject: Re: [AccessD] A2K7 Navigation Pane Rocky, A convenient arrangement would be to have two command buttons named CmdHide and CmdShow on a form so as to hide or show the NavPane window in Access 2007. If the user is in a position to ensure that forms group in NavPane is never put in collapsed state, the code applicable in Access 2K & 2K3, as given below, would work in A2K7 as well. Code in form's module - A2K7 (Forms group in NavPane must not be in collapsed state) ======================================== Private Sub CmdHide_Click() ' Make NavPane the active window and hide it DoCmd.SelectObject acForm, , True DoCmd.RunCommand acCmdWindowHide End Sub '------------------------------------------------------- Private Sub CmdShow_Click() DoCmd.SelectObject acForm, , True End Sub ======================================== The simple solution given above will not work if the forms group in NavPane window is in collapsed state. This is because hiding the NavPane can get implemented only if the focus stays on NavPane window during execution of acCmdWindowHide command. However when an attempt is made in Access 2007 to activate the NavPane via DoCmd.SelectObject method while the pertinent object group is in collapsed state, the focus reverts back to the active form. This results in acCmdWindowHide command taking effect on the form itself instead of the intended target (NavPane). Thus you land up with hiding the form itself, instead of the NavPane. Remedy lies in hiding all active forms and reports prior to hiding the NavPane, and thereafter, un-hiding the forms & reports. Of course no other object like table or query should be in open state. It is observed that it is not necessary to select any specific object in NavPane. This argument in DoCmd.SelectObject statement can be left blank Mere selection of a type group (acForm, acTable etc) is adequate. If the group mentioned in DoCmd.SelectObject method does not yet have any object, it will not force that group's title bar to show up in the NavPane if not already visible (otherwise it will). This however does not detract from effectiveness of proposed approach and even such an empty group serves satisfactorily as an argument to DoCmd.SelectObject method. Sample code in form's module, as given below, will ensure effective hiding / un-hiding of NavPane window under all situations, even if all object groups in NavPane are in collapsed state. Although this code is meant for Access 2007, it can be used in Access 2003 as well (statements meant for hiding / un-hiding of active forms / reports are however not needed in Access 2003). It permits unrestricted number of forms / reports to stay in open state. It is also ensured that while cycling through forms/reports for bulk hiding/ unhiding, any forms kept deliberately hidden to start with, continue in this state while other temporarily hidden objects are made visible again. Best wishes, A.D.Tejpal ------------ Sample universal code in form's module - Access 2007 (for hiding / un-hiding NavPane window) '==================================== ' Declarations section ' Comma separated list of form names ' already in hidden state (so that these ' do not get un-hidden along with others) ' Note - This list gets generated automatically Private HiddenFormsList As String '------------------------------------------------------- Private Sub CmdHide_Click() ' Hide all open forms & reports so that with ' statement (A) focus stays on NavPane even ' when no object is on display (e.g. all NavPane ' groups are in collapsed state) P_HideAllOpenFormsReports ' Make NavPane the active window and hide it DoCmd.SelectObject acForm, , True ' (A) DoCmd.RunCommand acCmdWindowHide ' Unhide all open forms and reports (other than ' forms deliberately kept hidden). ' Activate this form P_UnHideAllOpenFormsReports End Sub '------------------------------------------------------- Private Sub CmdShow_Click() DoCmd.SelectObject acForm, , True End Sub '------------------------------------------------------- Private Sub P_HideAllOpenFormsReports() On Error Resume Next Dim frm As Form, rpt As Report Dim Cnt As Long HiddenFormsList = "" ' Default ' Hide all open forms Err.Clear Cnt = Forms.Count If Err.Number = 0 Then For Each frm In Forms ' Update list of deliberately hidden forms If frm.Visible = False Then HiddenFormsList = _ HiddenFormsList & "," & frm.Name End If frm.Visible = False Next End If ' Hide all open reports Err.Clear Cnt = Reports.Count If Err.Number = 0 Then For Each rpt In Reports rpt.Visible = False Next End If Set frm = Nothing Set rpt = Nothing On Error GoTo 0 End Sub '------------------------------------------------------- Private Sub P_UnHideAllOpenFormsReports() On Error Resume Next Dim frm As Form, rpt As Report Dim Cnt As Long ' UnHide all open forms Err.Clear Cnt = Forms.Count If Err.Number = 0 Then For Each frm In Forms If InStr(HiddenFormsList, frm.Name) > 0 Then Else frm.Visible = True End If Next End If ' UnHide all open reports Err.Clear Cnt = Reports.Count If Err.Number = 0 Then For Each rpt In Reports rpt.Visible = True Next End If ' Activate this form DoCmd.SelectObject acForm, Me.Name, False Set frm = Nothing Set rpt = Nothing On Error GoTo 0 End Sub '==================================== ----- Original Message ----- From: Rocky Smolin at Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Tuesday, November 20, 2007 12:50 Subject: [AccessD] A2K7 Navigation Pane Dear List: A client writes to ask if the Navigation Pane (which in his screen shot is on the left side of the screen) can be made to disappear through code. I don't have A2007 so I don't know. I guess this 'Navigation Pane' is something new in A2007? Is there a line of code that will turn the pane off? An if the user is running 2003 is suppose it would generate an error but I could precede the code to turn off the pane with On Error Resume Next? MTIA, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.2/1142 - Release Date: 11/20/2007 5:44 PM From cfoust at infostatsystems.com Mon Nov 26 10:32:41 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 26 Nov 2007 08:32:41 -0800 Subject: [AccessD] ADO In-Reply-To: <000301c82fbe$f5d444c0$4b3a8343@SusanOne> References: <000301c82fbe$f5d444c0$4b3a8343@SusanOne> Message-ID: There is a query object in ADOX, but why do you ask? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, November 25, 2007 3:58 PM To: AccessD at databaseadvisors.com Subject: [AccessD] ADO I don't think there's a querydef-type object in ADO, is there? Susan H. -- 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 Nov 26 10:35:56 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 26 Nov 2007 11:35:56 -0500 Subject: [AccessD] OT: Thanksgiving In-Reply-To: References: <000301c82d41$7dc3d790$6400a8c0@dsunit1> <00ed01c82d73$37d4efd0$6c7aa8c0@M90> Message-ID: <29f585dd0711260835u2b7dfddal4a903d9744f67295@mail.gmail.com> >> I also very much enjoy the true international nature of this group. I take comfort in the fact that in a world with so many nasty disagreements there are places where professionals from every continent can collaborate successfully. Thanks to all. Wow! You said it all. I feel that I've made friends with people on every continent except maybe Antarctica, and who knows, someone among us may hail from there and just hasn't bothered yet to hail. Hell, I've even achieved a sort of working peace with Hindman, and you know how effort that takes! LOL. Arthur From ssharkins at gmail.com Mon Nov 26 11:04:15 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 26 Nov 2007 12:04:15 -0500 Subject: [AccessD] ADO References: <000301c82fbe$f5d444c0$4b3a8343@SusanOne> Message-ID: <002b01c8304e$66742850$4b3a8343@SusanOne> > There is a query object in ADOX, but why do you ask? Charlotte, I checked the ADOX OM before asking -- I knew there was a Table object and I found a View object, but not query object. Did I miss it or does the View object include an Access query object? I thought that was perhaps the case, but didn't see it mentioned in any of the documentation I read. Susan H. From fuller.artful at gmail.com Mon Nov 26 11:25:44 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 26 Nov 2007 12:25:44 -0500 Subject: [AccessD] ADO In-Reply-To: <002b01c8304e$66742850$4b3a8343@SusanOne> References: <000301c82fbe$f5d444c0$4b3a8343@SusanOne> <002b01c8304e$66742850$4b3a8343@SusanOne> Message-ID: <29f585dd0711260925rdc234b1g272a5ca855312ad0@mail.gmail.com> Like, Susan, that's like, because you are, like, the chief documenter of all this. More cereally, ADOX refers to queries as View because that's how the big boys (SQL) refer to them. If you wish, I can send you a few procedures that use ADOX to list all the objects of any specified type. Arthur On 11/26/07, Susan Harkins wrote: > > > > There is a query object in ADOX, but why do you ask? > > Charlotte, I checked the ADOX OM before asking -- I knew there was a Table > object and I found a View object, but not query object. Did I miss it or > does the View object include an Access query object? I thought that was > perhaps the case, but didn't see it mentioned in any of the documentation > I > read. > > Susan H. > From DWUTKA at Marlow.com Mon Nov 26 09:45:02 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 26 Nov 2007 09:45:02 -0600 Subject: [AccessD] OT: Thanksgiving In-Reply-To: <000d01c82d42$4bb677c0$4b3a8343@SusanOne> Message-ID: Ok, I want to be Greg House (I walked with a cane for a few months! ;) )! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, November 22, 2007 2:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Thanksgiving If somebody on this list can't solve your problem, it can't be solved. ;) Susan H. > > I was sitting here, thinking of all the things I have to be extremely > grateful for today...and this group came to mind. Over the years, through > some miracle, every time I've hit a place where I was too confused to even > know what to ask...someone else in this group has asked the question I > needed to ask and I've reaped the benefits of all the answers. I owe all > of > you a debt of gratitude and this is the best I can do. Everything I have > accomplished professionally, I owe to each and every one of you. You are, > individually and collectively, amazing. Thank you for being here...Happy > Thanksgiving! > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 BusinessSensitve 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 Mon Nov 26 11:35:29 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 26 Nov 2007 12:35:29 -0500 Subject: [AccessD] OT: Thanksgiving In-Reply-To: <29f585dd0711260835u2b7dfddal4a903d9744f67295@mail.gmail.com> References: <000301c82d41$7dc3d790$6400a8c0@dsunit1><00ed01c82d73$37d4efd0$6c7aa8c0@M90> <29f585dd0711260835u2b7dfddal4a903d9744f67295@mail.gmail.com> Message-ID: <004001c83052$bd429cd0$647aa8c0@M90> >Hell, I've even achieved a sort of working peace with Hindman, and you know how effort that takes! LOL. OK, share your secret! ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, November 26, 2007 11:36 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Thanksgiving >> I also very much enjoy the true international nature of this group. I take comfort in the fact that in a world with so many nasty disagreements there are places where professionals from every continent can collaborate successfully. Thanks to all. Wow! You said it all. I feel that I've made friends with people on every continent except maybe Antarctica, and who knows, someone among us may hail from there and just hasn't bothered yet to hail. Hell, I've even achieved a sort of working peace with Hindman, and you know how effort that takes! LOL. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at Marlow.com Mon Nov 26 10:05:21 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 26 Nov 2007 10:05:21 -0600 Subject: [AccessD] An interesting article on exposed databases In-Reply-To: <006801c82ebd$a10fe810$6c7aa8c0@M90> Message-ID: Wow...making a server side database directly open to the web is the virtual equivalent to putting your companies file cabinets out on a public street. Just plain crazy! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, November 24, 2007 11:16 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] An interesting article on exposed databases http://www.eweek.com/article2/0,1895,2217123,00.asp John W. Colby Colby Consulting 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 BusinessSensitve 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 Mon Nov 26 10:09:05 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 26 Nov 2007 10:09:05 -0600 Subject: [AccessD] ADO In-Reply-To: <000301c82fbe$f5d444c0$4b3a8343@SusanOne> Message-ID: Just curious, what do you need one for? Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, November 25, 2007 5:58 PM To: AccessD at databaseadvisors.com Subject: [AccessD] ADO I don't think there's a querydef-type object in ADO, is there? Susan H. -- 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 BusinessSensitve 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 Mon Nov 26 10:09:50 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 26 Nov 2007 10:09:50 -0600 Subject: [AccessD] ADO In-Reply-To: <001701c82fc8$15c81d20$4b3a8343@SusanOne> Message-ID: But you can use a fixed query in ADO. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, November 25, 2007 7:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO Yeah, that's what I thought. I seldom have need to reference a fixed query, so I never can remember. Thanks! Susan H. > Nope. That's the one thing that keeps me using the DAO. > > May God bless you beyond your imagination! > Lonnie Johnson > ProDev, Professional Development of MS Access Databases > Visit me at ==> http://www.prodev.us -- 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 BusinessSensitve 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 Mon Nov 26 11:41:57 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 26 Nov 2007 12:41:57 -0500 Subject: [AccessD] OT: Thanksgiving In-Reply-To: <004001c83052$bd429cd0$647aa8c0@M90> References: <000301c82d41$7dc3d790$6400a8c0@dsunit1> <00ed01c82d73$37d4efd0$6c7aa8c0@M90> <29f585dd0711260835u2b7dfddal4a903d9744f67295@mail.gmail.com> <004001c83052$bd429cd0$647aa8c0@M90> Message-ID: <29f585dd0711260941l6361727bg21ff9655d05e1038@mail.gmail.com> Sorry, the shareware version does not cover this plan. On 11/26/07, jwcolby wrote: > > >Hell, I've even achieved a sort of working peace with Hindman, and you > know > how effort that takes! LOL. > > OK, share your secret! > > ;-) > From accessd at shaw.ca Mon Nov 26 11:48:38 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 26 Nov 2007 09:48:38 -0800 Subject: [AccessD] Odd property error In-Reply-To: <016e01c82ff7$d8dae1b0$1458a27a@personalec1122> References: <000301c82fcb$ccfa9560$4b3a8343@SusanOne> <016e01c82ff7$d8dae1b0$1458a27a@personalec1122> Message-ID: <56A8B254D93E468A91B03443645232F4@creativesystemdesigns.com> > On Error Resume Next Now that is cheating... but it sure is a time saver and that one line of code can negate 20 lines of code. (Use it myself... ) Jim Jim From ssharkins at gmail.com Mon Nov 26 11:53:44 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 26 Nov 2007 12:53:44 -0500 Subject: [AccessD] ADO References: <000301c82fbe$f5d444c0$4b3a8343@SusanOne><002b01c8304e$66742850$4b3a8343@SusanOne> <29f585dd0711260925rdc234b1g272a5ca855312ad0@mail.gmail.com> Message-ID: <001e01c83055$4b8fae40$4b3a8343@SusanOne> If you wish, I can send you a few procedures > that use ADOX to list all the objects of any specified type. ======Might as well send them to the entire group -- I'm sure I won't be the only one who's interested. I've used ADOX before, but I don't use it often enough to remember everything -- I just look it up when I need it. I've never used it to reference a fixed query. Susan H. From ssharkins at gmail.com Mon Nov 26 11:54:57 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 26 Nov 2007 12:54:57 -0500 Subject: [AccessD] ADO References: Message-ID: <003301c83055$a586fde0$4b3a8343@SusanOne> > Just curious, what do you need one for? Cycling through query field properties. Susan H. From ssharkins at gmail.com Mon Nov 26 11:55:26 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 26 Nov 2007 12:55:26 -0500 Subject: [AccessD] ADO References: Message-ID: <003601c83055$a62dc530$4b3a8343@SusanOne> > But you can use a fixed query in ADO. =====Can you reference the field properties? That's what I'm doing. Susan H. From ssharkins at gmail.com Mon Nov 26 11:56:16 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 26 Nov 2007 12:56:16 -0500 Subject: [AccessD] Odd property error References: <000301c82fcb$ccfa9560$4b3a8343@SusanOne><016e01c82ff7$d8dae1b0$1458a27a@personalec1122> <56A8B254D93E468A91B03443645232F4@creativesystemdesigns.com> Message-ID: <003701c83055$a6de5080$4b3a8343@SusanOne> >> On Error Resume Next > > Now that is cheating... but it sure is a time saver and that one line of > code can negate 20 lines of code. (Use it myself... ) Jim ======I use it a lot. I find it much preferable and inefficient when the error just needs to be ignored rather than captured and reported. Susan H. From DWUTKA at Marlow.com Mon Nov 26 09:47:03 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 26 Nov 2007 09:47:03 -0600 Subject: [AccessD] OT: Thanksgiving In-Reply-To: <200711222153.lAMLrMSV009754@databaseadvisors.com> Message-ID: Nerd mates? When I was in the Navy, the term was shipmates....ugh, that one made my skin crawl. Nerd mates isn't too bad though, I'm more of a nerd then a ship! ;) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren D Sent: Thursday, November 22, 2007 3:53 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Thanksgiving Here here And so say all of us My wife even knows some of regular names on this list - And she doesn't even have 'pewta' skills - I often talk about the victories that come from this list with her She'll see me smacking the monitor about the 'ears' in frustration and will say - "Send an email to your nerd mates" (That's her very sincere - tongue in cheek term for the team - Knowing how much I truly rely on you guys) Here in Oz we don't do thanksgiving - But I am very very grateful to this list and the 'nerds' on it - And to the friendships that have come from it Many many thanks DD 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 BusinessSensitve 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 wdhindman at dejpolsystems.com Mon Nov 26 11:59:35 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 26 Nov 2007 12:59:35 -0500 Subject: [AccessD] OT: Thanksgiving References: <000301c82d41$7dc3d790$6400a8c0@dsunit1><00ed01c82d73$37d4efd0$6c7aa8c0@M90><29f585dd0711260835u2b7dfddal4a903d9744f67295@mail.gmail.com> <004001c83052$bd429cd0$647aa8c0@M90> Message-ID: <002201c83056$1c774b80$0c10a8c0@jisshowsbs.local> JC ...there is no secret ...nor any real effort required ...just kneel and all will be well. ...btw, Arthur makes a very nice supplicant :) William ...exiting stage left. ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 26, 2007 12:35 PM Subject: Re: [AccessD] OT: Thanksgiving > >Hell, I've even achieved a sort of working peace with Hindman, and you > >know > how effort that takes! LOL. > > OK, share your secret! > > ;-) > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Monday, November 26, 2007 11:36 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Thanksgiving > >>> I also very much enjoy the true > international nature of this group. I take comfort in the fact that in a > world with so many nasty disagreements there are places where > professionals > from every continent can collaborate successfully. Thanks to all. > > Wow! You said it all. I feel that I've made friends with people on every > continent except maybe Antarctica, and who knows, someone among us may > hail > from there and just hasn't bothered yet to hail. > Hell, I've even achieved a sort of working peace with Hindman, and you > know > how effort that takes! LOL. > > 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 DWUTKA at Marlow.com Mon Nov 26 09:51:49 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 26 Nov 2007 09:51:49 -0600 Subject: [AccessD] Comparing date and time In-Reply-To: <20071123080517.BXNN9910.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: Sorry to chime in here late, but if these are true date/time fields, then you need to add them, not 'join' them. In a date/time field, the data is stored as a double, the integer portion is the date, the decimal portion is the time. To join a date and time together, you just add them. Joining them like text requires that they are represented by text (which is more work, because you are converting from numbers to text, then back to numbers) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Friday, November 23, 2007 2:08 AM To: accessd at databaseadvisors.com Subject: [AccessD] Comparing date and time Group, Sorry to interrupt your feasting :-) I have a legacy database that stores times and dates in two separate date/time fields. Currently there is a query that compares two sets of dates like so: DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT ShipmentDetail.* " & _ "FROM ShipmentDetail INNER JOIN EntryLogSets ON ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ "WHERE (EntryLogSets.Date)>=[Forms]![BSVR]![BsvrStartDate])" This works. However, I need to change it so that it gets records that are after a certain date AND TIME. I am having problems with putting the two fields together into a single date/time. Here is my code: DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT ShipmentDetail.* " & _ "FROM ShipmentDetail INNER JOIN EntryLogSets ON ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ "WHERE CDate(EntryLogSets.Date & ' ' & EntryLogSets.Time)>= #" & CDate([Forms]![BSVR]![BsvrStartDate] & " " & [Forms]![BSVR]![BSVRStartTime]) & "#" An example of CDate([Forms]![BSVR]![BsvrStartDate] & " " & [Forms]![BSVR]![BSVRStartTime]) is 28/09/2007 9:40:00 a.m. The error I get is Error 3075 - Syntax error in date in query expression. The query runs ok if I just include the dates, but has a problem when I add the times. How can I combine the two fields into a single date/time for comparison? -- 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 BusinessSensitve 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 Mon Nov 26 12:04:27 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 26 Nov 2007 13:04:27 -0500 Subject: [AccessD] OT: Thanksgiving In-Reply-To: <002201c83056$1c774b80$0c10a8c0@jisshowsbs.local> References: <000301c82d41$7dc3d790$6400a8c0@dsunit1><00ed01c82d73$37d4efd0$6c7aa8c0@M90><29f585dd0711260835u2b7dfddal4a903d9744f67295@mail.gmail.com><004001c83052$bd429cd0$647aa8c0@M90> <002201c83056$1c774b80$0c10a8c0@jisshowsbs.local> Message-ID: <004101c83056$c98ad9e0$647aa8c0@M90> LOL. You have come a long ways from the early days, as have we all. Kneeling is not likely however. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, November 26, 2007 1:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Thanksgiving JC ...there is no secret ...nor any real effort required ...just kneel and all will be well. ...btw, Arthur makes a very nice supplicant :) William ...exiting stage left. ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 26, 2007 12:35 PM Subject: Re: [AccessD] OT: Thanksgiving > >Hell, I've even achieved a sort of working peace with Hindman, and you > >know > how effort that takes! LOL. > > OK, share your secret! > > ;-) > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- From jwcolby at colbyconsulting.com Mon Nov 26 12:24:09 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 26 Nov 2007 13:24:09 -0500 Subject: [AccessD] MIMO-G router Message-ID: <004201c83059$89c327b0$647aa8c0@M90> Santa dropped off one of those new routers (Netgear WPN824v2) which have a bunch of antennas and dynamically selects the one picking up the strongest signal and uses that for talking to the wireless computers (mostly laptops). I have to say that it kinda sorta works. I bought it specifically because Mary's laptop, down a floor and a couple of rooms over, has poor reception. I use Network Stumbler to test signal strength. After the install, with the old router still out there, her laptop gets roughly the same, or slightly poorer reception via this new router in her office. However if I take her laptop on out to the dining room at the far end of the house, the signal strength is definitely higher, by about 6db on average and sometimes more, than the old router. I am looking to buy my wife a Tivo Series 2 and will need the usb wireless to do the phone home stuff. It will be in the living room at the far end of the house, so it is encouraging that I get that much better reception down there. I already have an old Series 1 Tivo down in the bedroom directly below my office, and am buying a bridge to put on it to get the wireless down to it. Currently I am running a cable down the stairs and manually connecting it to the Series 1 once a week to phone home. Yuk! I am looking to keep the old router in place however and put the new one "in parallel", i.e. I will place a plain old vanilla 10/100 switch immediately behind the cable modem, then plug BOTH wireless routers in to that. Thus I can have a wireless system (the new one) that talks to the internet, but not to my internal (business) LAN. The original router will talk to the internet as well but will have its firewall between the internal LAN and the new router. All of the Tivos and my wife's laptop and my son's laptop will all talk to the internet through the new router and not be behind the business firewall (the old wireless router). The hoops we jump through. John W. Colby Colby Consulting www.ColbyConsulting.com From robert at webedb.com Mon Nov 26 12:45:34 2007 From: robert at webedb.com (Robert L. Stewart) Date: Mon, 26 Nov 2007 12:45:34 -0600 Subject: [AccessD] Anyone remember File Express? In-Reply-To: References: Message-ID: <200711261849.lAQInjc6011233@databaseadvisors.com> My guess is that there is an export capability within it. Export it to comma delimited files. At 11:36 AM 11/26/2007, you wrote: >Date: Sun, 25 Nov 2007 21:53:11 -0000 >From: "paulr" >Subject: Re: [AccessD] Anyone remember File Express? >To: "'Access Developers discussion and problem solving'" > >Message-ID: <001001c82fad$938abd50$6401a8c0 at PAULSLENOVO> >Content-Type: text/plain; charset="us-ascii" > >They seem to have become involved in family trees with the latest offering. >Is there a way to import DOS files from a program like File Express into >Access, do you think, Arthur? From rockysmolin at bchacc.com Mon Nov 26 12:58:24 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 26 Nov 2007 10:58:24 -0800 Subject: [AccessD] MIMO-G router In-Reply-To: <004201c83059$89c327b0$647aa8c0@M90> References: <004201c83059$89c327b0$647aa8c0@M90> Message-ID: <009301c8305e$526578e0$0301a8c0@HAL9005> John: I struggled with the wireless thing for a couple of years. Same problem - weak signal even after I upgraded to the Netgear Rangemax. I solved the problem with the Netgear wall-plugged bridge (XE102). They're rock solid, no installation, no configuration, no wireless security issue, plug and play. It's like a hard wired connection and uses you house wiring. So no more wireless. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 26, 2007 10:24 AM To: 'Access Developers discussion and problem solving'; 'Discussion of Hardware and Software issues' Subject: [AccessD] MIMO-G router Santa dropped off one of those new routers (Netgear WPN824v2) which have a bunch of antennas and dynamically selects the one picking up the strongest signal and uses that for talking to the wireless computers (mostly laptops). I have to say that it kinda sorta works. I bought it specifically because Mary's laptop, down a floor and a couple of rooms over, has poor reception. I use Network Stumbler to test signal strength. After the install, with the old router still out there, her laptop gets roughly the same, or slightly poorer reception via this new router in her office. However if I take her laptop on out to the dining room at the far end of the house, the signal strength is definitely higher, by about 6db on average and sometimes more, than the old router. I am looking to buy my wife a Tivo Series 2 and will need the usb wireless to do the phone home stuff. It will be in the living room at the far end of the house, so it is encouraging that I get that much better reception down there. I already have an old Series 1 Tivo down in the bedroom directly below my office, and am buying a bridge to put on it to get the wireless down to it. Currently I am running a cable down the stairs and manually connecting it to the Series 1 once a week to phone home. Yuk! I am looking to keep the old router in place however and put the new one "in parallel", i.e. I will place a plain old vanilla 10/100 switch immediately behind the cable modem, then plug BOTH wireless routers in to that. Thus I can have a wireless system (the new one) that talks to the internet, but not to my internal (business) LAN. The original router will talk to the internet as well but will have its firewall between the internal LAN and the new router. All of the Tivos and my wife's laptop and my son's laptop will all talk to the internet through the new router and not be behind the business firewall (the old wireless router). The hoops we jump through. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.7/1151 - Release Date: 11/25/2007 4:24 PM From cfoust at infostatsystems.com Mon Nov 26 12:58:41 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 26 Nov 2007 10:58:41 -0800 Subject: [AccessD] ADO In-Reply-To: <003601c83055$a62dc530$4b3a8343@SusanOne> References: <003601c83055$a62dc530$4b3a8343@SusanOne> Message-ID: Just for fun, here's an old routine I built to create a query using ADO: 'Sample call: 'CreateQuery "c:\Program Files\Microsoft Office\Office\Samples\Northwind.mdb", _ ' "SELECT Products.* FROM Products WHERE Products.CategoryID=1;", _ ' "AllBeverages" Sub CreateQuery(strDBPath As String, _ strSQL As String, _ strQryName As String) 'Created by Charlotte Foust 'Appends a new view to the specified database 'from the SQL string passed Dim catDB As ADOX.Catalog Dim cmd As ADODB.Command 'instantiate the objects Set catDB = New ADOX.Catalog 'Define a Command object to contain the query's 'SQL. Set cmd = New ADODB.Command 'Open the catalog. catDB.ActiveConnection = CurrentProject.Connection Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 26, 2007 9:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO > But you can use a fixed query in ADO. =====Can you reference the field properties? That's what I'm doing. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at Marlow.com Mon Nov 26 12:46:19 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 26 Nov 2007 12:46:19 -0600 Subject: [AccessD] ADO In-Reply-To: <003601c83055$a62dc530$4b3a8343@SusanOne> Message-ID: I don't see why not..... I'll take a look in a second. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 26, 2007 11:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO > But you can use a fixed query in ADO. =====Can you reference the field properties? That's what I'm doing. Susan H. -- 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 BusinessSensitve 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 cfoust at infostatsystems.com Mon Nov 26 13:01:29 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 26 Nov 2007 11:01:29 -0800 Subject: [AccessD] ADO In-Reply-To: <003601c83055$a62dc530$4b3a8343@SusanOne> References: <003601c83055$a62dc530$4b3a8343@SusanOne> Message-ID: The simple answer is NO. The query/view doesn't expose field properties, those are in the table. Why would you try to use a query for this? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 26, 2007 9:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO > But you can use a fixed query in ADO. =====Can you reference the field properties? That's what I'm doing. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Nov 26 13:02:40 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 26 Nov 2007 11:02:40 -0800 Subject: [AccessD] OT: Thanksgiving In-Reply-To: <004101c83056$c98ad9e0$647aa8c0@M90> References: <000301c82d41$7dc3d790$6400a8c0@dsunit1><00ed01c82d73$37d4efd0$6c7aa8c0@M90><29f585dd0711260835u2b7dfddal4a903d9744f67295@mail.gmail.com><004001c83052$bd429cd0$647aa8c0@M90><002201c83056$1c774b80$0c10a8c0@jisshowsbs.local> <004101c83056$c98ad9e0$647aa8c0@M90> Message-ID: At my age, kneeling is becoming nearly IMPOSSIBLE! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 26, 2007 10:04 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Thanksgiving LOL. You have come a long ways from the early days, as have we all. Kneeling is not likely however. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, November 26, 2007 1:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Thanksgiving JC ...there is no secret ...nor any real effort required ...just kneel and all will be well. ...btw, Arthur makes a very nice supplicant :) William ...exiting stage left. ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 26, 2007 12:35 PM Subject: Re: [AccessD] OT: Thanksgiving > >Hell, I've even achieved a sort of working peace with Hindman, and > >you know > how effort that takes! LOL. > > OK, share your secret! > > ;-) > From DWUTKA at Marlow.com Mon Nov 26 12:51:46 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 26 Nov 2007 12:51:46 -0600 Subject: [AccessD] ADO In-Reply-To: <003601c83055$a62dc530$4b3a8343@SusanOne> Message-ID: Using plain old ADO, with a recordset object lets you see a lot of field properties, but I didn't see Description there.... Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 26, 2007 11:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO > But you can use a fixed query in ADO. =====Can you reference the field properties? That's what I'm doing. Susan H. -- 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 BusinessSensitve 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 ssharkins at gmail.com Mon Nov 26 13:15:20 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 26 Nov 2007 14:15:20 -0500 Subject: [AccessD] ADO References: <003601c83055$a62dc530$4b3a8343@SusanOne> Message-ID: <003101c83060$b2000ac0$4b3a8343@SusanOne> Charlotte, I'm just trying to use that technique we wrote about years ago -- using the query field Description property. I'm using it differently, but like I said -- works fine until I run into a query field that doesn't have a Description property setting. However, I'm going to try it on another system. This one really does behave badly anymore. I can't trust that what's happening isn't just something that's broke, especially since A.D. said Resume Next worked fine for him. Susan H. > The simple answer is NO. The query/view doesn't expose field > properties, those are in the table. Why would you try to use a query > for this? > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: Monday, November 26, 2007 9:55 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] ADO > > >> But you can use a fixed query in ADO. > > =====Can you reference the field properties? That's what I'm doing. > > Susan H. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon Nov 26 14:06:03 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 26 Nov 2007 12:06:03 -0800 Subject: [AccessD] ADO In-Reply-To: <002b01c8304e$66742850$4b3a8343@SusanOne> References: <000301c82fbe$f5d444c0$4b3a8343@SusanOne> <002b01c8304e$66742850$4b3a8343@SusanOne> Message-ID: Are you talking about the query definition object? Like: Dim qdf1 As QueryDef The object allows you to check whether a query exists, delete, add or modify a query as well as view all the properties. Am I missing something? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 26, 2007 9:04 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO > There is a query object in ADOX, but why do you ask? Charlotte, I checked the ADOX OM before asking -- I knew there was a Table object and I found a View object, but not query object. Did I miss it or does the View object include an Access query object? I thought that was perhaps the case, but didn't see it mentioned in any of the documentation I read. 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 Mon Nov 26 14:21:09 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 26 Nov 2007 15:21:09 -0500 Subject: [AccessD] ADO References: <000301c82fbe$f5d444c0$4b3a8343@SusanOne><002b01c8304e$66742850$4b3a8343@SusanOne> Message-ID: <000401c83069$e3089930$4b3a8343@SusanOne> > Are you talking about the query definition object? > > Like: > Dim qdf1 As QueryDef > > The object allows you to check whether a query exists, delete, add or > modify > a query as well as view all the properties. Am I missing something? =====That's it, and yes, it works -- just wondering if there was an ADO equivalent. Susan H. From john at winhaven.net Mon Nov 26 14:35:24 2007 From: john at winhaven.net (John Bartow) Date: Mon, 26 Nov 2007 14:35:24 -0600 Subject: [AccessD] Anyone remember File Express? In-Reply-To: <000001c82f9f$c1d1d940$6401a8c0@PAULSLENOVO> Message-ID: <200711262036.lAQKaWRq007106@databaseadvisors.com> Hi Paul, Hopefully you have access to the program and can use the built in export feature (Fixed Length, Lotus and dBase formats). If not you can still purchase File Express 6 and upgrade the data to it and then export it. https://www.legacyfamilytree.net/Expressware/Order.htm HTH John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paulr Sent: Sunday, November 25, 2007 2:14 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Anyone remember File Express? Does anyone have any experience with File Express, please? It was an old database system, DOS-based. The main question is: Would it be possible to import it into Access? Cheers all paul From cfoust at infostatsystems.com Mon Nov 26 14:41:31 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 26 Nov 2007 12:41:31 -0800 Subject: [AccessD] ADO In-Reply-To: <003101c83060$b2000ac0$4b3a8343@SusanOne> References: <003601c83055$a62dc530$4b3a8343@SusanOne> <003101c83060$b2000ac0$4b3a8343@SusanOne> Message-ID: Hmmn. There is a description property, but it isn't available until you create it (go figure), if I remember correctly. I know I built that played with the description property years ago, but even in DAO I don't think it's there until you create it once and append it to the properties of the object. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 26, 2007 11:15 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO Charlotte, I'm just trying to use that technique we wrote about years ago -- using the query field Description property. I'm using it differently, but like I said -- works fine until I run into a query field that doesn't have a Description property setting. However, I'm going to try it on another system. This one really does behave badly anymore. I can't trust that what's happening isn't just something that's broke, especially since A.D. said Resume Next worked fine for him. Susan H. From markamatte at hotmail.com Mon Nov 26 14:44:14 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 26 Nov 2007 20:44:14 +0000 Subject: [AccessD] MIMO-G router In-Reply-To: <009301c8305e$526578e0$0301a8c0@HAL9005> References: <004201c83059$89c327b0$647aa8c0@M90> <009301c8305e$526578e0$0301a8c0@HAL9005> Message-ID: I have a small single level house(about 1600sq.ft)...I have a cheap linxus wireless router...and have no issue anywhere in the house. I also use it outside on the deck(back of house) in the garage(front of house)and I have gone as far as sitting at my neighbors house( a little slower there). Mostly for internet, but also for file sharing and printing. I have been to both of your houses...and I believe both are multi level...which makes me wonder how directional wireless routers are? Mark A. Matte > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Mon, 26 Nov 2007 10:58:24 -0800 > Subject: Re: [AccessD] MIMO-G router > > John: > > I struggled with the wireless thing for a couple of years. Same problem - > weak signal even after I upgraded to the Netgear Rangemax. > > I solved the problem with the Netgear wall-plugged bridge (XE102). They're > rock solid, no installation, no configuration, no wireless security issue, > plug and play. It's like a hard wired connection and uses you house wiring. > > > So no more wireless. > > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, November 26, 2007 10:24 AM > To: 'Access Developers discussion and problem solving'; 'Discussion of > Hardware and Software issues' > Subject: [AccessD] MIMO-G router > > Santa dropped off one of those new routers (Netgear WPN824v2) which have a > bunch of antennas and dynamically selects the one picking up the strongest > signal and uses that for talking to the wireless computers (mostly laptops). > I have to say that it kinda sorta works. I bought it specifically because > Mary's laptop, down a floor and a couple of rooms over, has poor reception. > I use Network Stumbler to test signal strength. After the install, with the > old router still out there, her laptop gets roughly the same, or slightly > poorer reception via this new router in her office. However if I take her > laptop on out to the dining room at the far end of the house, the signal > strength is definitely higher, by about 6db on average and sometimes more, > than the old router. > > I am looking to buy my wife a Tivo Series 2 and will need the usb wireless > to do the phone home stuff. It will be in the living room at the far end of > the house, so it is encouraging that I get that much better reception down > there. I already have an old Series 1 Tivo down in the bedroom directly > below my office, and am buying a bridge to put on it to get the wireless > down to it. Currently I am running a cable down the stairs and manually > connecting it to the Series 1 once a week to phone home. Yuk! > > I am looking to keep the old router in place however and put the new one "in > parallel", i.e. I will place a plain old vanilla 10/100 switch immediately > behind the cable modem, then plug BOTH wireless routers in to that. Thus I > can have a wireless system (the new one) that talks to the internet, but not > to my internal (business) LAN. The original router will talk to the > internet as well but will have its firewall between the internal LAN and the > new router. All of the Tivos and my wife's laptop and my son's laptop will > all talk to the internet through the new router and not be behind the > business firewall (the old wireless router). > > The hoops we jump through. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.16.7/1151 - Release Date: 11/25/2007 > 4:24 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ You keep typing, we keep giving. Download Messenger and join the i?m Initiative now. http://im.live.com/messenger/im/home/?source=TAGLM From ssharkins at gmail.com Mon Nov 26 14:45:37 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 26 Nov 2007 15:45:37 -0500 Subject: [AccessD] ADO References: <003601c83055$a62dc530$4b3a8343@SusanOne><003101c83060$b2000ac0$4b3a8343@SusanOne> Message-ID: <001001c8306d$4ee79ef0$4b3a8343@SusanOne> > Hmmn. There is a description property, but it isn't available until you > create it (go figure), if I remember correctly. I know I built that > played with the description property years ago, but even in DAO I don't > think it's there until you create it once and append it to the > properties of the object. =======That may be the case if you don't actually use the property via the properties window -- and that would explain the problem, although I think it's strange. Susan H. From jwcolby at colbyconsulting.com Mon Nov 26 14:46:13 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 26 Nov 2007 15:46:13 -0500 Subject: [AccessD] MIMO-G router In-Reply-To: <009301c8305e$526578e0$0301a8c0@HAL9005> References: <004201c83059$89c327b0$647aa8c0@M90> <009301c8305e$526578e0$0301a8c0@HAL9005> Message-ID: <005d01c8306d$62ce87d0$647aa8c0@M90> Rocky, I am definitely looking at this, however I have had a bad experience with power line transmission. I have an "intercom" system which is supposed to send the voice over the AC wiring. It works, except that it will not send from this circuit to that circuit etc. I had the same issue with that same system back in CT. It seems the issue is the circuits in the breaker panel. This is a physically big house, with a new addition and the original house, plus I installed a generator and pulled some circuits into a dedicated breaker box for the generator etc. That Rangemax system costs just enough that I don't want to try it. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 26, 2007 1:58 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MIMO-G router John: I struggled with the wireless thing for a couple of years. Same problem - weak signal even after I upgraded to the Netgear Rangemax. I solved the problem with the Netgear wall-plugged bridge (XE102). They're rock solid, no installation, no configuration, no wireless security issue, plug and play. It's like a hard wired connection and uses you house wiring. So no more wireless. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 26, 2007 10:24 AM To: 'Access Developers discussion and problem solving'; 'Discussion of Hardware and Software issues' Subject: [AccessD] MIMO-G router Santa dropped off one of those new routers (Netgear WPN824v2) which have a bunch of antennas and dynamically selects the one picking up the strongest signal and uses that for talking to the wireless computers (mostly laptops). I have to say that it kinda sorta works. I bought it specifically because Mary's laptop, down a floor and a couple of rooms over, has poor reception. I use Network Stumbler to test signal strength. After the install, with the old router still out there, her laptop gets roughly the same, or slightly poorer reception via this new router in her office. However if I take her laptop on out to the dining room at the far end of the house, the signal strength is definitely higher, by about 6db on average and sometimes more, than the old router. I am looking to buy my wife a Tivo Series 2 and will need the usb wireless to do the phone home stuff. It will be in the living room at the far end of the house, so it is encouraging that I get that much better reception down there. I already have an old Series 1 Tivo down in the bedroom directly below my office, and am buying a bridge to put on it to get the wireless down to it. Currently I am running a cable down the stairs and manually connecting it to the Series 1 once a week to phone home. Yuk! I am looking to keep the old router in place however and put the new one "in parallel", i.e. I will place a plain old vanilla 10/100 switch immediately behind the cable modem, then plug BOTH wireless routers in to that. Thus I can have a wireless system (the new one) that talks to the internet, but not to my internal (business) LAN. The original router will talk to the internet as well but will have its firewall between the internal LAN and the new router. All of the Tivos and my wife's laptop and my son's laptop will all talk to the internet through the new router and not be behind the business firewall (the old wireless router). The hoops we jump through. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.7/1151 - Release Date: 11/25/2007 4:24 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Mon Nov 26 14:56:02 2007 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 27 Nov 2007 09:56:02 +1300 Subject: [AccessD] Comparing date and time In-Reply-To: References: <20071123080517.BXNN9910.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <20071126205318.HVLF17371.fep04.xtra.co.nz@Dalyn.dalyn.co.nz> Thanks for the explanation Drew - it is always nice to know why I am doing something :-) At 27/11/2007, you wrote: >Sorry to chime in here late, but if these are true date/time fields, >then you need to add them, not 'join' them. In a date/time field, the >data is stored as a double, the integer portion is the date, the decimal >portion is the time. To join a date and time together, you just add >them. Joining them like text requires that they are represented by text >(which is more work, because you are converting from numbers to text, >then back to numbers) > >Drew > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson >Sent: Friday, November 23, 2007 2:08 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Comparing date and time > >Group, > >Sorry to interrupt your feasting :-) > >I have a legacy database that stores times and dates in two separate >date/time fields. Currently there is a query that compares two sets >of dates like so: > >DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT >ShipmentDetail.* " & _ >"FROM ShipmentDetail INNER JOIN EntryLogSets ON >ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ >"WHERE (EntryLogSets.Date)>=[Forms]![BSVR]![BsvrStartDate])" > >This works. However, I need to change it so that it gets records >that are after a certain date AND TIME. I am having problems with >putting the two fields together into a single date/time. Here is my >code: > >DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT >ShipmentDetail.* " & _ >"FROM ShipmentDetail INNER JOIN EntryLogSets ON >ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ >"WHERE CDate(EntryLogSets.Date & ' ' & EntryLogSets.Time)>= #" & >CDate([Forms]![BSVR]![BsvrStartDate] & " " & >[Forms]![BSVR]![BSVRStartTime]) & "#" > >An example of CDate([Forms]![BSVR]![BsvrStartDate] & " " & >[Forms]![BSVR]![BSVRStartTime]) is 28/09/2007 9:40:00 a.m. > >The error I get is Error 3075 - Syntax error in date in query >expression. The query runs ok if I just include the dates, but has a >problem when I add the times. > >How can I combine the two fields into a single date/time for comparison? > > >-- >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 BusinessSensitve 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 Mon Nov 26 14:54:29 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 26 Nov 2007 15:54:29 -0500 Subject: [AccessD] MIMO-G router In-Reply-To: References: <004201c83059$89c327b0$647aa8c0@M90><009301c8305e$526578e0$0301a8c0@HAL9005> Message-ID: <005e01c8306e$8a7469c0$647aa8c0@M90> I do believe that is part of the problem. Another part is simply the mass of metal from all the computers in my office. I really need to get the routers physically away from all my computer cases. I can have the antenna router under the table and the signal strength will be abysmal. Pick the antenna up and place it on the table and it improves a LOT. What I really need is a router with a couple of antennas, and a couple of Cantennas to aim directly at where I want to use the laptop. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Monday, November 26, 2007 3:44 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MIMO-G router I have a small single level house(about 1600sq.ft)...I have a cheap linxus wireless router...and have no issue anywhere in the house. I also use it outside on the deck(back of house) in the garage(front of house)and I have gone as far as sitting at my neighbors house( a little slower there). Mostly for internet, but also for file sharing and printing. I have been to both of your houses...and I believe both are multi level...which makes me wonder how directional wireless routers are? Mark A. Matte > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Mon, 26 Nov 2007 10:58:24 -0800 > Subject: Re: [AccessD] MIMO-G router > > John: > > I struggled with the wireless thing for a couple of years. Same > problem - weak signal even after I upgraded to the Netgear Rangemax. > > I solved the problem with the Netgear wall-plugged bridge (XE102). > They're rock solid, no installation, no configuration, no wireless > security issue, plug and play. It's like a hard wired connection and uses you house wiring. > > > So no more wireless. > > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, November 26, 2007 10:24 AM > To: 'Access Developers discussion and problem solving'; 'Discussion of > Hardware and Software issues' > Subject: [AccessD] MIMO-G router > > Santa dropped off one of those new routers (Netgear WPN824v2) which > have a bunch of antennas and dynamically selects the one picking up > the strongest signal and uses that for talking to the wireless computers (mostly laptops). > I have to say that it kinda sorta works. I bought it specifically > because Mary's laptop, down a floor and a couple of rooms over, has poor reception. > I use Network Stumbler to test signal strength. After the install, > with the old router still out there, her laptop gets roughly the same, > or slightly poorer reception via this new router in her office. > However if I take her laptop on out to the dining room at the far end > of the house, the signal strength is definitely higher, by about 6db > on average and sometimes more, than the old router. > > I am looking to buy my wife a Tivo Series 2 and will need the usb > wireless to do the phone home stuff. It will be in the living room at > the far end of the house, so it is encouraging that I get that much > better reception down there. I already have an old Series 1 Tivo down > in the bedroom directly below my office, and am buying a bridge to put > on it to get the wireless down to it. Currently I am running a cable > down the stairs and manually connecting it to the Series 1 once a week to phone home. Yuk! > > I am looking to keep the old router in place however and put the new > one "in parallel", i.e. I will place a plain old vanilla 10/100 switch > immediately behind the cable modem, then plug BOTH wireless routers in > to that. Thus I can have a wireless system (the new one) that talks to > the internet, but not to my internal (business) LAN. The original > router will talk to the internet as well but will have its firewall > between the internal LAN and the new router. All of the Tivos and my > wife's laptop and my son's laptop will all talk to the internet > through the new router and not be behind the business firewall (the old wireless router). > > The hoops we jump through. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.16.7/1151 - Release Date: > 11/25/2007 > 4:24 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ You keep typing, we keep giving. Download Messenger and join the i'm Initiative now. http://im.live.com/messenger/im/home/?source=TAGLM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From reuben at gfconsultants.com Mon Nov 26 15:08:47 2007 From: reuben at gfconsultants.com (Reuben Cummings) Date: Mon, 26 Nov 2007 16:08:47 -0500 Subject: [AccessD] MIMO-G router In-Reply-To: <005d01c8306d$62ce87d0$647aa8c0@M90> Message-ID: I find your problems with the house wiring interesting. I could see a problem if the circuits are on different phases (assuming the system used the hot wires). Or if the electrician wired stuff backwards (landed the hot on the neutral terminal of the outlet). I don't know how it works, but I would assume it would use the neutral as it is the only constant in the system. I'd say you've got some voltage feeding back onto your neutral or you have something wired incorrectly. This technology obviously works as there are HUGE areas using BPL as their internet service. Only difference is getting around transformers. Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of jwcolby > Sent: Monday, November 26, 2007 3:46 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] MIMO-G router > > > Rocky, > > I am definitely looking at this, however I have had a bad experience with > power line transmission. I have an "intercom" system which is supposed to > send the voice over the AC wiring. It works, except that it will not send > from this circuit to that circuit etc. I had the same issue with > that same > system back in CT. It seems the issue is the circuits in the > breaker panel. > This is a physically big house, with a new addition and the > original house, > plus I installed a generator and pulled some circuits into a dedicated > breaker box for the generator etc. That Rangemax system costs just enough > that I don't want to try it. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Monday, November 26, 2007 1:58 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] MIMO-G router > > John: > > I struggled with the wireless thing for a couple of years. Same problem - > weak signal even after I upgraded to the Netgear Rangemax. > > I solved the problem with the Netgear wall-plugged bridge > (XE102). They're > rock solid, no installation, no configuration, no wireless security issue, > plug and play. It's like a hard wired connection and uses you > house wiring. > > > So no more wireless. > > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, November 26, 2007 10:24 AM > To: 'Access Developers discussion and problem solving'; 'Discussion of > Hardware and Software issues' > Subject: [AccessD] MIMO-G router > > Santa dropped off one of those new routers (Netgear WPN824v2) which have a > bunch of antennas and dynamically selects the one picking up the strongest > signal and uses that for talking to the wireless computers > (mostly laptops). > I have to say that it kinda sorta works. I bought it specifically because > Mary's laptop, down a floor and a couple of rooms over, has poor > reception. > I use Network Stumbler to test signal strength. After the > install, with the > old router still out there, her laptop gets roughly the same, or slightly > poorer reception via this new router in her office. However if I take her > laptop on out to the dining room at the far end of the house, the signal > strength is definitely higher, by about 6db on average and sometimes more, > than the old router. > > I am looking to buy my wife a Tivo Series 2 and will need the usb wireless > to do the phone home stuff. It will be in the living room at the > far end of > the house, so it is encouraging that I get that much better reception down > there. I already have an old Series 1 Tivo down in the bedroom directly > below my office, and am buying a bridge to put on it to get the wireless > down to it. Currently I am running a cable down the stairs and manually > connecting it to the Series 1 once a week to phone home. Yuk! > > I am looking to keep the old router in place however and put the > new one "in > parallel", i.e. I will place a plain old vanilla 10/100 switch immediately > behind the cable modem, then plug BOTH wireless routers in to > that. Thus I > can have a wireless system (the new one) that talks to the > internet, but not > to my internal (business) LAN. The original router will talk to the > internet as well but will have its firewall between the internal > LAN and the > new router. All of the Tivos and my wife's laptop and my son's > laptop will > all talk to the internet through the new router and not be behind the > business firewall (the old wireless router). > > The hoops we jump through. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.16.7/1151 - Release Date: > 11/25/2007 > 4:24 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Mon Nov 26 15:17:48 2007 From: john at winhaven.net (John Bartow) Date: Mon, 26 Nov 2007 15:17:48 -0600 Subject: [AccessD] Anyone remember File Express? In-Reply-To: <200711262036.lAQKaWRq007106@databaseadvisors.com> Message-ID: <200711262119.lAQLIvdk032192@databaseadvisors.com> Oh, BTW, Yes I remember it :o) There was a fellow I knew that used it exclusively back in the 90s. From DWUTKA at Marlow.com Mon Nov 26 17:10:54 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 26 Nov 2007 17:10:54 -0600 Subject: [AccessD] Comparing date and time In-Reply-To: <20071126205318.HVLF17371.fep04.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: No problem, glad you resolved it already. Just an FYI, one handy trick with a query is that you can 'replace' a table with it. For example: If you have a table called tblSomething with a Date field and a Time field, you can rename your table to tblSomethingActual then build a query named tblSomething with this: SELECT *, DateField + TimeField AS CompleteDateTime FROM tblSomethingActual By renaming the original table to something else, and naming the query to the original table name, everything that used to use that table will now use the query, and now that unified field is available for that 'table'. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Monday, November 26, 2007 2:56 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Comparing date and time Thanks for the explanation Drew - it is always nice to know why I am doing something :-) At 27/11/2007, you wrote: >Sorry to chime in here late, but if these are true date/time fields, >then you need to add them, not 'join' them. In a date/time field, the >data is stored as a double, the integer portion is the date, the decimal >portion is the time. To join a date and time together, you just add >them. Joining them like text requires that they are represented by text >(which is more work, because you are converting from numbers to text, >then back to numbers) > >Drew > 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 BusinessSensitve 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 rockysmolin at bchacc.com Mon Nov 26 17:14:44 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 26 Nov 2007 15:14:44 -0800 Subject: [AccessD] MIMO-G router In-Reply-To: <005e01c8306e$8a7469c0$647aa8c0@M90> References: <004201c83059$89c327b0$647aa8c0@M90><009301c8305e$526578e0$0301a8c0@HAL9005> <005e01c8306e$8a7469c0$647aa8c0@M90> Message-ID: <000601c83082$22027fd0$0301a8c0@HAL9005> I think that was part of my problem as well. There's a microwave and a refrigerator between the router and the wireless access point in my wife's office. I even put a repeater in between at one point - no soap. The plug-ins are totally stable. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 26, 2007 12:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MIMO-G router I do believe that is part of the problem. Another part is simply the mass of metal from all the computers in my office. I really need to get the routers physically away from all my computer cases. I can have the antenna router under the table and the signal strength will be abysmal. Pick the antenna up and place it on the table and it improves a LOT. What I really need is a router with a couple of antennas, and a couple of Cantennas to aim directly at where I want to use the laptop. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Monday, November 26, 2007 3:44 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MIMO-G router I have a small single level house(about 1600sq.ft)...I have a cheap linxus wireless router...and have no issue anywhere in the house. I also use it outside on the deck(back of house) in the garage(front of house)and I have gone as far as sitting at my neighbors house( a little slower there). Mostly for internet, but also for file sharing and printing. I have been to both of your houses...and I believe both are multi level...which makes me wonder how directional wireless routers are? Mark A. Matte > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Mon, 26 Nov 2007 10:58:24 -0800 > Subject: Re: [AccessD] MIMO-G router > > John: > > I struggled with the wireless thing for a couple of years. Same > problem - weak signal even after I upgraded to the Netgear Rangemax. > > I solved the problem with the Netgear wall-plugged bridge (XE102). > They're rock solid, no installation, no configuration, no wireless > security issue, plug and play. It's like a hard wired connection and uses you house wiring. > > > So no more wireless. > > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, November 26, 2007 10:24 AM > To: 'Access Developers discussion and problem solving'; 'Discussion of > Hardware and Software issues' > Subject: [AccessD] MIMO-G router > > Santa dropped off one of those new routers (Netgear WPN824v2) which > have a bunch of antennas and dynamically selects the one picking up > the strongest signal and uses that for talking to the wireless computers (mostly laptops). > I have to say that it kinda sorta works. I bought it specifically > because Mary's laptop, down a floor and a couple of rooms over, has poor reception. > I use Network Stumbler to test signal strength. After the install, > with the old router still out there, her laptop gets roughly the same, > or slightly poorer reception via this new router in her office. > However if I take her laptop on out to the dining room at the far end > of the house, the signal strength is definitely higher, by about 6db > on average and sometimes more, than the old router. > > I am looking to buy my wife a Tivo Series 2 and will need the usb > wireless to do the phone home stuff. It will be in the living room at > the far end of the house, so it is encouraging that I get that much > better reception down there. I already have an old Series 1 Tivo down > in the bedroom directly below my office, and am buying a bridge to put > on it to get the wireless down to it. Currently I am running a cable > down the stairs and manually connecting it to the Series 1 once a week to phone home. Yuk! > > I am looking to keep the old router in place however and put the new > one "in parallel", i.e. I will place a plain old vanilla 10/100 switch > immediately behind the cable modem, then plug BOTH wireless routers in > to that. Thus I can have a wireless system (the new one) that talks to > the internet, but not to my internal (business) LAN. The original > router will talk to the internet as well but will have its firewall > between the internal LAN and the new router. All of the Tivos and my > wife's laptop and my son's laptop will all talk to the internet > through the new router and not be behind the business firewall (the old wireless router). > > The hoops we jump through. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.16.7/1151 - Release Date: > 11/25/2007 > 4:24 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ You keep typing, we keep giving. Download Messenger and join the i'm Initiative now. http://im.live.com/messenger/im/home/?source=TAGLM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.7/1151 - Release Date: 11/25/2007 4:24 PM From darren at activebilling.com.au Mon Nov 26 17:28:21 2007 From: darren at activebilling.com.au (Darren D) Date: Tue, 27 Nov 2007 10:28:21 +1100 Subject: [AccessD] A2003:Command line to start SQL QA No longer works Message-ID: <200711262328.lAQNSI0E009091@databaseadvisors.com> Hi All Cross posted to DBASQL >From an Access 2003 APP - I use a command line - built from a string - to spark up Query Analyser It used to work - Now it no longer works - I get the error [Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]SQLServer does not exist or access is denied When I click OK - I get another error message. Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]ConnectionOpen (Connect()) The general syntax I use to spark up QA is. "C:\Program Files\Microsoft SQL Server\80\Tools\Binn\isqlw.exe" -S MyServer -d MydB -E This has worked in the past and just 'stopped' in the last few days - not sure why I did delete all my old - no longer used - DSN's form the DSN folder - That's all I can recall (I have since recreated a few - still no joy) Any clues? - Many thanks in advance Darren From newsgrps at dalyn.co.nz Mon Nov 26 17:37:15 2007 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 27 Nov 2007 12:37:15 +1300 Subject: [AccessD] Comparing date and time In-Reply-To: References: <20071126205318.HVLF17371.fep04.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <20071126233530.VDLZ18083.fep03.xtra.co.nz@Dalyn.dalyn.co.nz> Good tip - I'll add that to my bag of tricks. David At 27/11/2007, you wrote: >No problem, glad you resolved it already. > >Just an FYI, one handy trick with a query is that you can 'replace' a >table with it. For example: > >If you have a table called tblSomething with a Date field and a Time >field, you can rename your table to tblSomethingActual then build a >query named tblSomething with this: > >SELECT *, DateField + TimeField AS CompleteDateTime FROM >tblSomethingActual > >By renaming the original table to something else, and naming the query >to the original table name, everything that used to use that table will >now use the query, and now that unified field is available for that >'table'. > >Drew > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson >Sent: Monday, November 26, 2007 2:56 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Comparing date and time > >Thanks for the explanation Drew - it is always nice to know why I am >doing something :-) > >At 27/11/2007, you wrote: > >Sorry to chime in here late, but if these are true date/time fields, > >then you need to add them, not 'join' them. In a date/time field, the > >data is stored as a double, the integer portion is the date, the >decimal > >portion is the time. To join a date and time together, you just add > >them. Joining them like text requires that they are represented by >text > >(which is more work, because you are converting from numbers to text, > >then back to numbers) > > > >Drew > > >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 BusinessSensitve 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 cfoust at infostatsystems.com Mon Nov 26 17:45:29 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 26 Nov 2007 15:45:29 -0800 Subject: [AccessD] A2003:Command line to start SQL QA No longer works In-Reply-To: <200711262328.lAQNSI0E009091@databaseadvisors.com> References: <200711262328.lAQNSI0E009091@databaseadvisors.com> Message-ID: And which version of SQL Server are you using? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren D Sent: Monday, November 26, 2007 3:28 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2003:Command line to start SQL QA No longer works Hi All Cross posted to DBASQL >From an Access 2003 APP - I use a command line - built from a string - >to spark up Query Analyser It used to work - Now it no longer works - I get the error [Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]SQLServer does not exist or access is denied When I click OK - I get another error message. Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]ConnectionOpen (Connect()) The general syntax I use to spark up QA is. "C:\Program Files\Microsoft SQL Server\80\Tools\Binn\isqlw.exe" -S MyServer -d MydB -E This has worked in the past and just 'stopped' in the last few days - not sure why I did delete all my old - no longer used - DSN's form the DSN folder - That's all I can recall (I have since recreated a few - still no joy) Any clues? - Many thanks in advance Darren -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darren at activebilling.com.au Mon Nov 26 19:43:21 2007 From: darren at activebilling.com.au (Darren D) Date: Tue, 27 Nov 2007 12:43:21 +1100 Subject: [AccessD] A2003:Command line to start SQL QA No longer works In-Reply-To: Message-ID: <200711270143.lAR1hJXq019963@databaseadvisors.com> Hi Charlotte SQL Server 2000 The odd thing is - when I sent the text... "C:\Program Files\Microsoft SQL Server\80\Tools\Binn\isqlw.exe" -S MyServer -d MydB -E To my colleague (With real dB details) - it worked on her machine So I think something has changed on my machine or I have dowloaded some MS security patch that stops command line access to SQL Server - I dunno Darren ----------------- T: 1300 301 731 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, 27 November 2007 10:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2003:Command line to start SQL QA No longer works And which version of SQL Server are you using? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren D Sent: Monday, November 26, 2007 3:28 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2003:Command line to start SQL QA No longer works Hi All Cross posted to DBASQL >From an Access 2003 APP - I use a command line - built from a string - >to spark up Query Analyser It used to work - Now it no longer works - I get the error [Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]SQLServer does not exist or access is denied When I click OK - I get another error message. Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]ConnectionOpen (Connect()) The general syntax I use to spark up QA is. "C:\Program Files\Microsoft SQL Server\80\Tools\Binn\isqlw.exe" -S MyServer -d MydB -E This has worked in the past and just 'stopped' in the last few days - not sure why I did delete all my old - no longer used - DSN's form the DSN folder - That's all I can recall (I have since recreated a few - still no joy) Any clues? - Many thanks in advance Darren -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fahooper at trapo.com Mon Nov 26 20:02:35 2007 From: fahooper at trapo.com (Fred Hooper) Date: Mon, 26 Nov 2007 21:02:35 -0500 Subject: [AccessD] ADO In-Reply-To: Message-ID: <004301c83099$9491ece0$8151dd48@fredxp> Susan, I'm not sure what you mean by "field properties" and if what I have is what you want: I wrote a "data dictionary" that I use when I go to a new site. It takes the table, field, key & index information from a db and places it in an access table. Currently it works for SQL Server and Oracle by running a query on the metadata tables/views in the database and saving the results. If it sounds useful to you please let me know. Fred Hooper -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 26, 2007 2:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO The simple answer is NO. The query/view doesn't expose field properties, those are in the table. Why would you try to use a query for this? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 26, 2007 9:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO > But you can use a fixed query in ADO. =====Can you reference the field properties? That's what I'm doing. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at airtelbroadband.in Tue Nov 27 01:02:01 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Tue, 27 Nov 2007 12:32:01 +0530 Subject: [AccessD] ADO References: <003601c83055$a62dc530$4b3a8343@SusanOne> <003101c83060$b2000ac0$4b3a8343@SusanOne> Message-ID: <02d101c830c3$fee0cb00$2557a27a@personalec1122> Also make sure that the setting in general tab of options dialog box in VBA window has not inadvertently reverted to "Break on all errors" A.D.Tejpal ------------ ----- Original Message ----- From: Susan Harkins To: Access Developers discussion and problem solving Sent: Tuesday, November 27, 2007 00:45 Subject: Re: [AccessD] ADO Charlotte, I'm just trying to use that technique we wrote about years ago -- using the query field Description property. I'm using it differently, but like I said -- works fine until I run into a query field that doesn't have a Description property setting. However, I'm going to try it on another system. This one really does behave badly anymore. I can't trust that what's happening isn't just something that's broke, especially since A.D. said Resume Next worked fine for him. Susan H. > The simple answer is NO. The query/view doesn't expose field > properties, those are in the table. Why would you try to use a query > for this? > > Charlotte Foust From adtp at airtelbroadband.in Tue Nov 27 00:53:16 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Tue, 27 Nov 2007 12:23:16 +0530 Subject: [AccessD] A2K7 Navigation Pane References: <200711270143.lAR1hJXq019963@databaseadvisors.com> Message-ID: <02d001c830c3$fe7a6810$2557a27a@personalec1122> Rocky, No need to put it on every form. It is for you to decide as to which form is most convenient for carrying out this action. Typically, the switchboard form (which is usually the start up form) could be considered for such role. Best wishes, A.D.Tejpal ------------ ----- Original Message ----- From: Rocky Smolin at Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Monday, November 26, 2007 21:39 Subject: Re: [AccessD] A2K7 Navigation Pane A.D.: Does the code: DoCmd.SelectObject acForm, , True DoCmd.RunCommand acCmdWindowHide have to appear in each form, or just called once from the opening form? Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, November 20, 2007 9:26 PM To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Subject: Re: [AccessD] A2K7 Navigation Pane Rocky, A convenient arrangement would be to have two command buttons named CmdHide and CmdShow on a form so as to hide or show the NavPane window in Access 2007. If the user is in a position to ensure that forms group in NavPane is never put in collapsed state, the code applicable in Access 2K & 2K3, as given below, would work in A2K7 as well. Code in form's module - A2K7 (Forms group in NavPane must not be in collapsed state) ======================================== Private Sub CmdHide_Click() ' Make NavPane the active window and hide it DoCmd.SelectObject acForm, , True DoCmd.RunCommand acCmdWindowHide End Sub '------------------------------------------------------- Private Sub CmdShow_Click() DoCmd.SelectObject acForm, , True End Sub ======================================== The simple solution given above will not work if the forms group in NavPane window is in collapsed state. This is because hiding the NavPane can get implemented only if the focus stays on NavPane window during execution of acCmdWindowHide command. However when an attempt is made in Access 2007 to activate the NavPane via DoCmd.SelectObject method while the pertinent object group is in collapsed state, the focus reverts back to the active form. This results in acCmdWindowHide command taking effect on the form itself instead of the intended target (NavPane). Thus you land up with hiding the form itself, instead of the NavPane. Remedy lies in hiding all active forms and reports prior to hiding the NavPane, and thereafter, un-hiding the forms & reports. Of course no other object like table or query should be in open state. It is observed that it is not necessary to select any specific object in NavPane. This argument in DoCmd.SelectObject statement can be left blank Mere selection of a type group (acForm, acTable etc) is adequate. If the group mentioned in DoCmd.SelectObject method does not yet have any object, it will not force that group's title bar to show up in the NavPane if not already visible (otherwise it will). This however does not detract from effectiveness of proposed approach and even such an empty group serves satisfactorily as an argument to DoCmd.SelectObject method. Sample code in form's module, as given below, will ensure effective hiding / un-hiding of NavPane window under all situations, even if all object groups in NavPane are in collapsed state. Although this code is meant for Access 2007, it can be used in Access 2003 as well (statements meant for hiding / un-hiding of active forms / reports are however not needed in Access 2003). It permits unrestricted number of forms / reports to stay in open state. It is also ensured that while cycling through forms/reports for bulk hiding/ unhiding, any forms kept deliberately hidden to start with, continue in this state while other temporarily hidden objects are made visible again. Best wishes, A.D.Tejpal ------------ From ssharkins at gmail.com Tue Nov 27 07:00:30 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 27 Nov 2007 08:00:30 -0500 Subject: [AccessD] ADO References: <003601c83055$a62dc530$4b3a8343@SusanOne> <003101c83060$b2000ac0$4b3a8343@SusanOne> <02d101c830c3$fee0cb00$2557a27a@personalec1122> Message-ID: <003301c830f6$0dc65950$4b3a8343@SusanOne> I'll check that -- on my system, anything's possible at this point, although I didn't do it myself. :) That's a good tip in itself. :) Susan H. > Also make sure that the setting in general tab of options dialog box in > VBA window has not inadvertently reverted to "Break on all errors" > > A.D.Tejpal > ------------ > > ----- Original Message ----- > From: Susan Harkins > To: Access Developers discussion and problem solving > Sent: Tuesday, November 27, 2007 00:45 > Subject: Re: [AccessD] ADO > > > Charlotte, I'm just trying to use that technique we wrote about years > ago -- > using the query field Description property. I'm using it differently, but > like I said -- works fine until I run into a query field that doesn't > have a > Description property setting. > > However, I'm going to try it on another system. This one really does > behave > badly anymore. I can't trust that what's happening isn't just something > that's broke, especially since A.D. said Resume Next worked fine for him. > > Susan H. > > > > The simple answer is NO. The query/view doesn't expose field > > properties, those are in the table. Why would you try to use a query > > for this? > > > > Charlotte Foust > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From ssharkins at gmail.com Tue Nov 27 07:13:24 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 27 Nov 2007 08:13:24 -0500 Subject: [AccessD] Article on colorblindness Message-ID: <006801c830f7$4f1e4ba0$4b3a8343@SusanOne> http://colorvisiontesting.com/color4.htm This was written for the education industry, but seems like it would apply to a lot of development. Susan H. From jwcolby at colbyconsulting.com Tue Nov 27 07:18:20 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Nov 2007 08:18:20 -0500 Subject: [AccessD] Licensing - just an FYI Message-ID: <004901c830f7$fb435b50$647aa8c0@M90> http://www.networkworld.com/community/node/22242 John W. Colby Colby Consulting www.ColbyConsulting.com From jimdettman at verizon.net Tue Nov 27 07:32:26 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 27 Nov 2007 08:32:26 -0500 Subject: [AccessD] MIMO-G router In-Reply-To: <005d01c8306d$62ce87d0$647aa8c0@M90> References: <004201c83059$89c327b0$647aa8c0@M90> <009301c8305e$526578e0$0301a8c0@HAL9005> <005d01c8306d$62ce87d0$647aa8c0@M90> Message-ID: <007601c830f9$f39a6130$8abea8c0@XPS> John, Just do a single run of Cat5e (6 if you might go to gigabit) over to the other end of the house and put a WAP on the end of it and be done with it. You'll have plenty of coverage for the entire house that way. You can do this on the cheap to if you have another wireless router laying around. Just plug the cable into one of the ports (not the Internet Port), disable all the routing type functions (DHCP, etc), assign a static IP to the box, and it will act as a wireless access point. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 26, 2007 3:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MIMO-G router Rocky, I am definitely looking at this, however I have had a bad experience with power line transmission. I have an "intercom" system which is supposed to send the voice over the AC wiring. It works, except that it will not send from this circuit to that circuit etc. I had the same issue with that same system back in CT. It seems the issue is the circuits in the breaker panel. This is a physically big house, with a new addition and the original house, plus I installed a generator and pulled some circuits into a dedicated breaker box for the generator etc. That Rangemax system costs just enough that I don't want to try it. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 26, 2007 1:58 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MIMO-G router John: I struggled with the wireless thing for a couple of years. Same problem - weak signal even after I upgraded to the Netgear Rangemax. I solved the problem with the Netgear wall-plugged bridge (XE102). They're rock solid, no installation, no configuration, no wireless security issue, plug and play. It's like a hard wired connection and uses you house wiring. So no more wireless. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 26, 2007 10:24 AM To: 'Access Developers discussion and problem solving'; 'Discussion of Hardware and Software issues' Subject: [AccessD] MIMO-G router Santa dropped off one of those new routers (Netgear WPN824v2) which have a bunch of antennas and dynamically selects the one picking up the strongest signal and uses that for talking to the wireless computers (mostly laptops). I have to say that it kinda sorta works. I bought it specifically because Mary's laptop, down a floor and a couple of rooms over, has poor reception. I use Network Stumbler to test signal strength. After the install, with the old router still out there, her laptop gets roughly the same, or slightly poorer reception via this new router in her office. However if I take her laptop on out to the dining room at the far end of the house, the signal strength is definitely higher, by about 6db on average and sometimes more, than the old router. I am looking to buy my wife a Tivo Series 2 and will need the usb wireless to do the phone home stuff. It will be in the living room at the far end of the house, so it is encouraging that I get that much better reception down there. I already have an old Series 1 Tivo down in the bedroom directly below my office, and am buying a bridge to put on it to get the wireless down to it. Currently I am running a cable down the stairs and manually connecting it to the Series 1 once a week to phone home. Yuk! I am looking to keep the old router in place however and put the new one "in parallel", i.e. I will place a plain old vanilla 10/100 switch immediately behind the cable modem, then plug BOTH wireless routers in to that. Thus I can have a wireless system (the new one) that talks to the internet, but not to my internal (business) LAN. The original router will talk to the internet as well but will have its firewall between the internal LAN and the new router. All of the Tivos and my wife's laptop and my son's laptop will all talk to the internet through the new router and not be behind the business firewall (the old wireless router). The hoops we jump through. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.7/1151 - Release Date: 11/25/2007 4:24 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 27 07:38:17 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 27 Nov 2007 05:38:17 -0800 Subject: [AccessD] A2K7 Navigation Pane In-Reply-To: <02d001c830c3$fe7a6810$2557a27a@personalec1122> References: <200711270143.lAR1hJXq019963@databaseadvisors.com> <02d001c830c3$fe7a6810$2557a27a@personalec1122> Message-ID: <000c01c830fa$c4846f70$0301a8c0@HAL9005> A.D.: I put in just the two lines: DoCmd.SelectObject acForm, , True DoCmd.RunCommand acCmdWindowHide to turn it off and sent it over to the client. Worked perfectly. So we'll add it to the local options form so each user can decide whether they want the Nav pane on or off. Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Monday, November 26, 2007 10:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K7 Navigation Pane Rocky, No need to put it on every form. It is for you to decide as to which form is most convenient for carrying out this action. Typically, the switchboard form (which is usually the start up form) could be considered for such role. Best wishes, A.D.Tejpal ------------ ----- Original Message ----- From: Rocky Smolin at Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Monday, November 26, 2007 21:39 Subject: Re: [AccessD] A2K7 Navigation Pane A.D.: Does the code: DoCmd.SelectObject acForm, , True DoCmd.RunCommand acCmdWindowHide have to appear in each form, or just called once from the opening form? Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, November 20, 2007 9:26 PM To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Subject: Re: [AccessD] A2K7 Navigation Pane Rocky, A convenient arrangement would be to have two command buttons named CmdHide and CmdShow on a form so as to hide or show the NavPane window in Access 2007. If the user is in a position to ensure that forms group in NavPane is never put in collapsed state, the code applicable in Access 2K & 2K3, as given below, would work in A2K7 as well. Code in form's module - A2K7 (Forms group in NavPane must not be in collapsed state) ======================================== Private Sub CmdHide_Click() ' Make NavPane the active window and hide it DoCmd.SelectObject acForm, , True DoCmd.RunCommand acCmdWindowHide End Sub '------------------------------------------------------- Private Sub CmdShow_Click() DoCmd.SelectObject acForm, , True End Sub ======================================== The simple solution given above will not work if the forms group in NavPane window is in collapsed state. This is because hiding the NavPane can get implemented only if the focus stays on NavPane window during execution of acCmdWindowHide command. However when an attempt is made in Access 2007 to activate the NavPane via DoCmd.SelectObject method while the pertinent object group is in collapsed state, the focus reverts back to the active form. This results in acCmdWindowHide command taking effect on the form itself instead of the intended target (NavPane). Thus you land up with hiding the form itself, instead of the NavPane. Remedy lies in hiding all active forms and reports prior to hiding the NavPane, and thereafter, un-hiding the forms & reports. Of course no other object like table or query should be in open state. It is observed that it is not necessary to select any specific object in NavPane. This argument in DoCmd.SelectObject statement can be left blank Mere selection of a type group (acForm, acTable etc) is adequate. If the group mentioned in DoCmd.SelectObject method does not yet have any object, it will not force that group's title bar to show up in the NavPane if not already visible (otherwise it will). This however does not detract from effectiveness of proposed approach and even such an empty group serves satisfactorily as an argument to DoCmd.SelectObject method. Sample code in form's module, as given below, will ensure effective hiding / un-hiding of NavPane window under all situations, even if all object groups in NavPane are in collapsed state. Although this code is meant for Access 2007, it can be used in Access 2003 as well (statements meant for hiding / un-hiding of active forms / reports are however not needed in Access 2003). It permits unrestricted number of forms / reports to stay in open state. It is also ensured that while cycling through forms/reports for bulk hiding/ unhiding, any forms kept deliberately hidden to start with, continue in this state while other temporarily hidden objects are made visible again. Best wishes, A.D.Tejpal ------------ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.8/1153 - Release Date: 11/26/2007 9:08 PM From jwcolby at colbyconsulting.com Tue Nov 27 08:57:29 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Nov 2007 09:57:29 -0500 Subject: [AccessD] test Message-ID: <000001c83105$d8d4ee90$647aa8c0@M90> test John W. Colby Colby Consulting www.ColbyConsulting.com From jwcolby at colbyconsulting.com Tue Nov 27 08:58:39 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Nov 2007 09:58:39 -0500 Subject: [AccessD] MIMO-G router Message-ID: <000101c83105$ff27e020$647aa8c0@M90> I would love to do that but the "details" always get in the way. My office is up in "the attic", in a "bonus room" kind of thing above my bedroom. Thus on the other side of the office wall is the rest of the attic for the house. I can certainly run a cable through there. The problem is that the attic gets well over 130 degrees F during the day in the summer and so no electronics are going to like that environment. Thus I would have to snake the cable down a wall to get it into the house. And therein lies the problem, I don't know how to do that. Not to mention all the nasty fiberglass insulation and stuff. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, November 27, 2007 8:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MIMO-G router John, Just do a single run of Cat5e (6 if you might go to gigabit) over to the other end of the house and put a WAP on the end of it and be done with it. You'll have plenty of coverage for the entire house that way. You can do this on the cheap to if you have another wireless router laying around. Just plug the cable into one of the ports (not the Internet Port), disable all the routing type functions (DHCP, etc), assign a static IP to the box, and it will act as a wireless access point. Jim. John W. Colby Colby Consulting www.ColbyConsulting.com From garykjos at gmail.com Tue Nov 27 09:29:27 2007 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 27 Nov 2007 09:29:27 -0600 Subject: [AccessD] MIMO-G router In-Reply-To: <000101c83105$ff27e020$647aa8c0@M90> References: <000101c83105$ff27e020$647aa8c0@M90> Message-ID: Actually snaking cable through wood stud walls is pretty easy if you get the right tool. I bought a wire snake or fish tape maybe it's called at one o the home supply stores a few years back and it really works well. This looks like mine. http://www.mytoolstore.com/klein/kln21.html Espeically if you have good access to the wall cavity at either end of the run. You would need to cut a hole in the wall where the cable would end up and then you could fish that fish tape through to the other end. You might als need to drill a hole though the wood at the top of the wall for the wire to go through. But maybe not. Then you just go down along between the insulation and the sheetrock inside the wall. It would help a lot to have two people so one can watch for the end to appear in the hole or out the top of the wall depending on which way you are going. Then you just attach the cable you are running to the end of the fish tape and pull it through. I've used mine to run Speaker wires, Coax for TV cable, phone wire and ethernet at various times. It's still WORK of course and it takes some time but once you do it you will wonder why you didn't do it before. Now if there are block walls or brick walls or if you have to go several floors its s bit tougher but still not impossible. GK. On 11/27/07, jwcolby wrote: > I would love to do that but the "details" always get in the way. My office > is up in "the attic", in a "bonus room" kind of thing above my bedroom. > Thus on the other side of the office wall is the rest of the attic for the > house. I can certainly run a cable through there. The problem is that the > attic gets well over 130 degrees F during the day in the summer and so no > electronics are going to like that environment. Thus I would have to snake > the cable down a wall to get it into the house. And therein lies the > problem, I don't know how to do that. Not to mention all the nasty > fiberglass insulation and stuff. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com -- Gary Kjos garykjos at gmail.com From garykjos at gmail.com Tue Nov 27 09:29:46 2007 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 27 Nov 2007 09:29:46 -0600 Subject: [AccessD] test In-Reply-To: <000001c83105$d8d4ee90$647aa8c0@M90> References: <000001c83105$d8d4ee90$647aa8c0@M90> Message-ID: Hi John! On 11/27/07, jwcolby wrote: > test > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From garykjos at gmail.com Tue Nov 27 09:37:59 2007 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 27 Nov 2007 09:37:59 -0600 Subject: [AccessD] MIMO-G router In-Reply-To: References: <004201c83059$89c327b0$647aa8c0@M90> <009301c8305e$526578e0$0301a8c0@HAL9005> Message-ID: My Linksys router also works all over our house. It's in the basement and my wife's laptop is normally on the first floor and it works fine. She has also used it in the bedroom on the second floor with no problem. I have used my laptoip outside on the deck with no trouble and fast speed and out in the driveway in front of the garage which is quite a long distance and above the routers location. The room the computer is in is directly under the kitchen so the refrigerator would be in between the router and much of the rest of the house. I was not able to see my router from across the street at my neighbors house though. I can see 3 or 4 other neighbors routers from my house though if I go looking for a connection. GK On 11/26/07, Mark A Matte wrote: > > I have a small single level house(about 1600sq.ft)...I have a cheap linxus wireless router...and have no issue anywhere in the house. I also use it outside on the deck(back of house) in the garage(front of house)and I have gone as far as sitting at my neighbors house( a little slower there). Mostly for internet, but also for file sharing and printing. > > I have been to both of your houses...and I believe both are multi level...which makes me wonder how directional wireless routers are? > > Mark A. Matte > > > > From: rockysmolin at bchacc.com > > To: accessd at databaseadvisors.com > > Date: Mon, 26 Nov 2007 10:58:24 -0800 > > Subject: Re: [AccessD] MIMO-G router > > > > John: > > > > I struggled with the wireless thing for a couple of years. Same problem - > > weak signal even after I upgraded to the Netgear Rangemax. > > > > I solved the problem with the Netgear wall-plugged bridge (XE102). They're > > rock solid, no installation, no configuration, no wireless security issue, > > plug and play. It's like a hard wired connection and uses you house wiring. > > > > > > So no more wireless. > > > > > > Rocky > > > > > > > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > > Sent: Monday, November 26, 2007 10:24 AM > > To: 'Access Developers discussion and problem solving'; 'Discussion of > > Hardware and Software issues' > > Subject: [AccessD] MIMO-G router > > > > Santa dropped off one of those new routers (Netgear WPN824v2) which have a > > bunch of antennas and dynamically selects the one picking up the strongest > > signal and uses that for talking to the wireless computers (mostly laptops). > > I have to say that it kinda sorta works. I bought it specifically because > > Mary's laptop, down a floor and a couple of rooms over, has poor reception. > > I use Network Stumbler to test signal strength. After the install, with the > > old router still out there, her laptop gets roughly the same, or slightly > > poorer reception via this new router in her office. However if I take her > > laptop on out to the dining room at the far end of the house, the signal > > strength is definitely higher, by about 6db on average and sometimes more, > > than the old router. > > > > I am looking to buy my wife a Tivo Series 2 and will need the usb wireless > > to do the phone home stuff. It will be in the living room at the far end of > > the house, so it is encouraging that I get that much better reception down > > there. I already have an old Series 1 Tivo down in the bedroom directly > > below my office, and am buying a bridge to put on it to get the wireless > > down to it. Currently I am running a cable down the stairs and manually > > connecting it to the Series 1 once a week to phone home. Yuk! > > > > I am looking to keep the old router in place however and put the new one "in > > parallel", i.e. I will place a plain old vanilla 10/100 switch immediately > > behind the cable modem, then plug BOTH wireless routers in to that. Thus I > > can have a wireless system (the new one) that talks to the internet, but not > > to my internal (business) LAN. The original router will talk to the > > internet as well but will have its firewall between the internal LAN and the > > new router. All of the Tivos and my wife's laptop and my son's laptop will > > all talk to the internet through the new router and not be behind the > > business firewall (the old wireless router). > > > > The hoops we jump through. > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > No virus found in this incoming message. > > Checked by AVG Free Edition. > > Version: 7.5.503 / Virus Database: 269.16.7/1151 - Release Date: 11/25/2007 > > 4:24 PM > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _________________________________________________________________ > You keep typing, we keep giving. Download Messenger and join the i'm Initiative now. > http://im.live.com/messenger/im/home/?source=TAGLM > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From cfoust at infostatsystems.com Tue Nov 27 09:50:51 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 27 Nov 2007 07:50:51 -0800 Subject: [AccessD] MIMO-G router In-Reply-To: References: <004201c83059$89c327b0$647aa8c0@M90><009301c8305e$526578e0$0301a8c0@HAL9005> Message-ID: My LinkSys wireless gateway is upstairs in one corner of the condo and my laptop is usually downstairs in a well shielded spot out of direct line of anything. It works just fine everywhere I've tried. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Tuesday, November 27, 2007 7:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MIMO-G router My Linksys router also works all over our house. It's in the basement and my wife's laptop is normally on the first floor and it works fine. She has also used it in the bedroom on the second floor with no problem. I have used my laptoip outside on the deck with no trouble and fast speed and out in the driveway in front of the garage which is quite a long distance and above the routers location. The room the computer is in is directly under the kitchen so the refrigerator would be in between the router and much of the rest of the house. I was not able to see my router from across the street at my neighbors house though. I can see 3 or 4 other neighbors routers from my house though if I go looking for a connection. GK On 11/26/07, Mark A Matte wrote: > > I have a small single level house(about 1600sq.ft)...I have a cheap linxus wireless router...and have no issue anywhere in the house. I also use it outside on the deck(back of house) in the garage(front of house)and I have gone as far as sitting at my neighbors house( a little slower there). Mostly for internet, but also for file sharing and printing. > > I have been to both of your houses...and I believe both are multi level...which makes me wonder how directional wireless routers are? > > Mark A. Matte > > > > From: rockysmolin at bchacc.com > > To: accessd at databaseadvisors.com > > Date: Mon, 26 Nov 2007 10:58:24 -0800 > > Subject: Re: [AccessD] MIMO-G router > > > > John: > > > > I struggled with the wireless thing for a couple of years. Same > > problem - weak signal even after I upgraded to the Netgear Rangemax. > > > > I solved the problem with the Netgear wall-plugged bridge (XE102). > > They're rock solid, no installation, no configuration, no wireless > > security issue, plug and play. It's like a hard wired connection and uses you house wiring. > > > > > > So no more wireless. > > > > > > Rocky > > > > > > > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > > Sent: Monday, November 26, 2007 10:24 AM > > To: 'Access Developers discussion and problem solving'; 'Discussion > > of Hardware and Software issues' > > Subject: [AccessD] MIMO-G router > > > > Santa dropped off one of those new routers (Netgear WPN824v2) which > > have a bunch of antennas and dynamically selects the one picking up > > the strongest signal and uses that for talking to the wireless computers (mostly laptops). > > I have to say that it kinda sorta works. I bought it specifically > > because Mary's laptop, down a floor and a couple of rooms over, has poor reception. > > I use Network Stumbler to test signal strength. After the install, > > with the old router still out there, her laptop gets roughly the > > same, or slightly poorer reception via this new router in her > > office. However if I take her laptop on out to the dining room at > > the far end of the house, the signal strength is definitely higher, > > by about 6db on average and sometimes more, than the old router. > > > > I am looking to buy my wife a Tivo Series 2 and will need the usb > > wireless to do the phone home stuff. It will be in the living room > > at the far end of the house, so it is encouraging that I get that > > much better reception down there. I already have an old Series 1 > > Tivo down in the bedroom directly below my office, and am buying a > > bridge to put on it to get the wireless down to it. Currently I am > > running a cable down the stairs and manually connecting it to the Series 1 once a week to phone home. Yuk! > > > > I am looking to keep the old router in place however and put the new > > one "in parallel", i.e. I will place a plain old vanilla 10/100 > > switch immediately behind the cable modem, then plug BOTH wireless > > routers in to that. Thus I can have a wireless system (the new one) > > that talks to the internet, but not to my internal (business) LAN. > > The original router will talk to the internet as well but will have > > its firewall between the internal LAN and the new router. All of the > > Tivos and my wife's laptop and my son's laptop will all talk to the > > internet through the new router and not be behind the business firewall (the old wireless router). > > > > The hoops we jump through. > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > No virus found in this incoming message. > > Checked by AVG Free Edition. > > Version: 7.5.503 / Virus Database: 269.16.7/1151 - Release Date: > > 11/25/2007 > > 4:24 PM > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _________________________________________________________________ > You keep typing, we keep giving. Download Messenger and join the i'm Initiative now. > http://im.live.com/messenger/im/home/?source=TAGLM > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Tue Nov 27 09:52:07 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 27 Nov 2007 15:52:07 +0000 Subject: [AccessD] MIMO-G router In-Reply-To: <000101c83105$ff27e020$647aa8c0@M90> References: <000101c83105$ff27e020$647aa8c0@M90> Message-ID: Hmmm...Just happen to live near you...have some skills...and I already have the "fish tape". Let me know. Mark > From: jwcolby at colbyconsulting.com > To: accessd at databaseadvisors.com > Date: Tue, 27 Nov 2007 09:58:39 -0500 > Subject: [AccessD] MIMO-G router > > I would love to do that but the "details" always get in the way. My office > is up in "the attic", in a "bonus room" kind of thing above my bedroom. > Thus on the other side of the office wall is the rest of the attic for the > house. I can certainly run a cable through there. The problem is that the > attic gets well over 130 degrees F during the day in the summer and so no > electronics are going to like that environment. Thus I would have to snake > the cable down a wall to get it into the house. And therein lies the > problem, I don't know how to do that. Not to mention all the nasty > fiberglass insulation and stuff. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Tuesday, November 27, 2007 8:32 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] MIMO-G router > > John, > > Just do a single run of Cat5e (6 if you might go to gigabit) over to the > other end of the house and put a WAP on the end of it and be done with it. > > You'll have plenty of coverage for the entire house that way. > > You can do this on the cheap to if you have another wireless router laying > around. Just plug the cable into one of the ports (not the Internet Port), > disable all the routing type functions (DHCP, etc), assign a static IP to > the box, and it will act as a wireless access point. > > Jim. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Your smile counts. The more smiles you share, the more we donate.? Join in. www.windowslive.com/smile?ocid=TXT_TAGLM_Wave2_oprsmilewlhmtagline From jwcolby at colbyconsulting.com Tue Nov 27 10:45:17 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Nov 2007 11:45:17 -0500 Subject: [AccessD] MIMO-G router In-Reply-To: References: <000101c83105$ff27e020$647aa8c0@M90> Message-ID: <001301c83114$e4d413b0$647aa8c0@M90> LOL. "Near" is not an adjective I would use, "easy afternoon drive" would be more like it. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, November 27, 2007 10:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MIMO-G router Hmmm...Just happen to live near you...have some skills...and I already have the "fish tape". Let me know. Mark > From: jwcolby at colbyconsulting.com > To: accessd at databaseadvisors.com > Date: Tue, 27 Nov 2007 09:58:39 -0500 > Subject: [AccessD] MIMO-G router > > I would love to do that but the "details" always get in the way. My > office is up in "the attic", in a "bonus room" kind of thing above my bedroom. > Thus on the other side of the office wall is the rest of the attic for > the house. I can certainly run a cable through there. The problem is > that the attic gets well over 130 degrees F during the day in the > summer and so no electronics are going to like that environment. Thus > I would have to snake the cable down a wall to get it into the house. > And therein lies the problem, I don't know how to do that. Not to > mention all the nasty fiberglass insulation and stuff. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Tuesday, November 27, 2007 8:32 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] MIMO-G router > > John, > > Just do a single run of Cat5e (6 if you might go to gigabit) over to > the other end of the house and put a WAP on the end of it and be done with it. > > You'll have plenty of coverage for the entire house that way. > > You can do this on the cheap to if you have another wireless router > laying around. Just plug the cable into one of the ports (not the > Internet Port), disable all the routing type functions (DHCP, etc), > assign a static IP to the box, and it will act as a wireless access point. > > Jim. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Your smile counts. The more smiles you share, the more we donate.? Join in. www.windowslive.com/smile?ocid=TXT_TAGLM_Wave2_oprsmilewlhmtagline -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Tue Nov 27 10:46:24 2007 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 27 Nov 2007 10:46:24 -0600 Subject: [AccessD] MIMO-G router In-Reply-To: References: <004201c83059$89c327b0$647aa8c0@M90> <009301c8305e$526578e0$0301a8c0@HAL9005> Message-ID: Yea Linksys! ;-) 3 for 3! GK On 11/27/07, Charlotte Foust wrote: > My LinkSys wireless gateway is upstairs in one corner of the condo and > my laptop is usually downstairs in a well shielded spot out of direct > line of anything. It works just fine everywhere I've tried. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: Tuesday, November 27, 2007 7:38 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] MIMO-G router > > My Linksys router also works all over our house. -- Gary Kjos garykjos at gmail.com From garykjos at gmail.com Tue Nov 27 10:47:40 2007 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 27 Nov 2007 10:47:40 -0600 Subject: [AccessD] MIMO-G router In-Reply-To: References: <000101c83105$ff27e020$647aa8c0@M90> Message-ID: There you go. Once you have done it or seen it done it seems a lot less difficult. GK On 11/27/07, Mark A Matte wrote: > > Hmmm...Just happen to live near you...have some skills...and I already have the "fish tape". > > Let me know. > > Mark > -- Gary Kjos garykjos at gmail.com From jwcolby at colbyconsulting.com Tue Nov 27 11:04:42 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Nov 2007 12:04:42 -0500 Subject: [AccessD] MIMO-G router In-Reply-To: References: <004201c83059$89c327b0$647aa8c0@M90><009301c8305e$526578e0$0301a8c0@HAL9005> Message-ID: <001a01c83117$9b2aa050$647aa8c0@M90> My original router is a dlink, and it does work, however it seems that the specific location of my wife's laptop may be in a dead spot or something. Not dead exactly, she does have internet, it is just slow John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Tuesday, November 27, 2007 11:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MIMO-G router Yea Linksys! ;-) 3 for 3! GK On 11/27/07, Charlotte Foust wrote: > My LinkSys wireless gateway is upstairs in one corner of the condo and > my laptop is usually downstairs in a well shielded spot out of direct > line of anything. It works just fine everywhere I've tried. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: Tuesday, November 27, 2007 7:38 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] MIMO-G router > > My Linksys router also works all over our house. -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Tue Nov 27 11:21:37 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 27 Nov 2007 17:21:37 +0000 Subject: [AccessD] More Web Stuff In-Reply-To: <001a01c83117$9b2aa050$647aa8c0@M90> References: <004201c83059$89c327b0$647aa8c0@M90><009301c8305e$526578e0$0301a8c0@HAL9005> <001a01c83117$9b2aa050$647aa8c0@M90> Message-ID: Hello All, Anyone familiar with http://www.caspio.com Its claims to be a wizard to move access dbs to the web. Ideas? Thanks, mark _________________________________________________________________ Connect and share in new ways with Windows Live. http://www.windowslive.com/connect.html?ocid=TXT_TAGLM_Wave2_newways_112007 From andy at minstersystems.co.uk Tue Nov 27 11:45:15 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 27 Nov 2007 17:45:15 -0000 Subject: [AccessD] MIMO-G router In-Reply-To: <001a01c83117$9b2aa050$647aa8c0@M90> Message-ID: <023d01c8311d$452849e0$3183d355@minster33c3r25> C'mon folks. This should be on the dbaTech list. There are dark mutterings about the level of OT on the main list and I have to admit there is quite an epidemic. So enough of this one please, and over to dbaTech or OT. Thanks. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 27 November 2007 17:05 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] MIMO-G router > > > My original router is a dlink, and it does work, however it > seems that the specific location of my wife's laptop may be > in a dead spot or something. Not dead exactly, she does have > internet, it is just slow > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: Tuesday, November 27, 2007 11:46 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] MIMO-G router > > Yea Linksys! ;-) > > 3 for 3! > > GK > > On 11/27/07, Charlotte Foust wrote: > > My LinkSys wireless gateway is upstairs in one corner of > the condo and > > my laptop is usually downstairs in a well shielded spot out > of direct > > line of anything. It works just fine everywhere I've tried. > > > > Charlotte Foust > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > > Sent: Tuesday, November 27, 2007 7:38 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] MIMO-G router > > > > My Linksys router also works all over our house. > > -- > Gary Kjos > garykjos at gmail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From wdhindman at dejpolsystems.com Tue Nov 27 13:25:00 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 27 Nov 2007 14:25:00 -0500 Subject: [AccessD] More Web Stuff References: <004201c83059$89c327b0$647aa8c0@M90><009301c8305e$526578e0$0301a8c0@HAL9005> <001a01c83117$9b2aa050$647aa8c0@M90> Message-ID: <000e01c8312b$346f4000$ef706c4c@jisshowsbs.local> ...to THEIR web and THEIR db. William ----- Original Message ----- From: "Mark A Matte" To: "Access Developers discussion and problem solving" Sent: Tuesday, November 27, 2007 12:21 PM Subject: [AccessD] More Web Stuff > > Hello All, > > Anyone familiar with http://www.caspio.com > > Its claims to be a wizard to move access dbs to the web. > > Ideas? > > Thanks, > > mark > _________________________________________________________________ > Connect and share in new ways with Windows Live. > http://www.windowslive.com/connect.html?ocid=TXT_TAGLM_Wave2_newways_112007 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Tue Nov 27 13:32:19 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 27 Nov 2007 14:32:19 -0500 Subject: [AccessD] MIMO-G router References: <023d01c8311d$452849e0$3183d355@minster33c3r25> Message-ID: <000d01c8312c$3a03d1b0$ef706c4c@jisshowsbs.local> ...dark mutterings? ...you've read one too many Harry Potter books :) William ----- Original Message ----- From: "Andy Lacey" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 27, 2007 12:45 PM Subject: Re: [AccessD] MIMO-G router > C'mon folks. This should be on the dbaTech list. There are dark mutterings > about the level of OT on the main list and I have to admit there is quite > an > epidemic. So enough of this one please, and over to dbaTech or OT. > > Thanks. > > -- Andy Lacey > http://www.minstersystems.co.uk > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: 27 November 2007 17:05 >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] MIMO-G router >> >> >> My original router is a dlink, and it does work, however it >> seems that the specific location of my wife's laptop may be >> in a dead spot or something. Not dead exactly, she does have >> internet, it is just slow >> >> >> John W. Colby >> Colby Consulting >> www.ColbyConsulting.com >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos >> Sent: Tuesday, November 27, 2007 11:46 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] MIMO-G router >> >> Yea Linksys! ;-) >> >> 3 for 3! >> >> GK >> >> On 11/27/07, Charlotte Foust wrote: >> > My LinkSys wireless gateway is upstairs in one corner of >> the condo and >> > my laptop is usually downstairs in a well shielded spot out >> of direct >> > line of anything. It works just fine everywhere I've tried. >> > >> > Charlotte Foust >> > >> > -----Original Message----- >> > From: accessd-bounces at databaseadvisors.com >> > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos >> > Sent: Tuesday, November 27, 2007 7:38 AM >> > To: Access Developers discussion and problem solving >> > Subject: Re: [AccessD] MIMO-G router >> > >> > My Linksys router also works all over our house. >> >> -- >> Gary Kjos >> garykjos at gmail.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Nov 27 13:43:50 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Nov 2007 14:43:50 -0500 Subject: [AccessD] MIMO-G router In-Reply-To: <000d01c8312c$3a03d1b0$ef706c4c@jisshowsbs.local> References: <023d01c8311d$452849e0$3183d355@minster33c3r25> <000d01c8312c$3a03d1b0$ef706c4c@jisshowsbs.local> Message-ID: <003001c8312d$d60377e0$647aa8c0@M90> ROTFL. I was about to ask if the mutterings were coming from the "pure bloods". John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Tuesday, November 27, 2007 2:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MIMO-G router ...dark mutterings? ...you've read one too many Harry Potter books :) William ----- Original Message ----- From: "Andy Lacey" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 27, 2007 12:45 PM Subject: Re: [AccessD] MIMO-G router > C'mon folks. This should be on the dbaTech list. There are dark mutterings > about the level of OT on the main list and I have to admit there is quite > an > epidemic. So enough of this one please, and over to dbaTech or OT. > > Thanks. > > -- Andy Lacey > http://www.minstersystems.co.uk > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: 27 November 2007 17:05 >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] MIMO-G router >> >> >> My original router is a dlink, and it does work, however it >> seems that the specific location of my wife's laptop may be >> in a dead spot or something. Not dead exactly, she does have >> internet, it is just slow >> >> >> John W. Colby >> Colby Consulting >> www.ColbyConsulting.com >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos >> Sent: Tuesday, November 27, 2007 11:46 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] MIMO-G router >> >> Yea Linksys! ;-) >> >> 3 for 3! >> >> GK >> >> On 11/27/07, Charlotte Foust wrote: >> > My LinkSys wireless gateway is upstairs in one corner of >> the condo and >> > my laptop is usually downstairs in a well shielded spot out >> of direct >> > line of anything. It works just fine everywhere I've tried. >> > >> > Charlotte Foust >> > >> > -----Original Message----- >> > From: accessd-bounces at databaseadvisors.com >> > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos >> > Sent: Tuesday, November 27, 2007 7:38 AM >> > To: Access Developers discussion and problem solving >> > Subject: Re: [AccessD] MIMO-G router >> > >> > My Linksys router also works all over our house. >> >> -- >> Gary Kjos >> garykjos at gmail.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Tue Nov 27 16:03:41 2007 From: john at winhaven.net (John Bartow) Date: Tue, 27 Nov 2007 16:03:41 -0600 Subject: [AccessD] Professional Liability Insurance Coverage Message-ID: <200711272205.lARM526Y008312@databaseadvisors.com> I'm in the midst of redoing all of my insurance and I was wondering what kind of Professional Liability Insurance coverage you all have. John B. From dwaters at usinternet.com Tue Nov 27 16:32:08 2007 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 27 Nov 2007 16:32:08 -0600 Subject: [AccessD] Professional Liability Insurance Coverage In-Reply-To: <200711272205.lARM526Y008312@databaseadvisors.com> Message-ID: <20071127223215.5D64F253ED@smtp-out-01.usinternet.com> Zero! I'm incorporated and work at home. So the most anyone could get out of me would be my computer equipment. But no one is going to initiate a lawsuit over that amount of money. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Tuesday, November 27, 2007 4:04 PM To: _DBA-Access Subject: [AccessD] Professional Liability Insurance Coverage I'm in the midst of redoing all of my insurance and I was wondering what kind of Professional Liability Insurance coverage you all have. John B. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue Nov 27 16:33:12 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 27 Nov 2007 14:33:12 -0800 Subject: [AccessD] Professional Liability Insurance Coverage In-Reply-To: <200711272205.lARM526Y008312@databaseadvisors.com> References: <200711272205.lARM526Y008312@databaseadvisors.com> Message-ID: <005501c83145$7f1a65c0$0301a8c0@HAL9005> I don't carry it. When I had the office I had the usual coverage for theft, fire, and broken leg. But no professional or E&O insurance. But I'm incorporated which covers my assets. For The Sleep Advisor I looked into it because it's a quasi-medical app. $50k for openers. If they'd have us. So we dropped the idea. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Tuesday, November 27, 2007 2:04 PM To: _DBA-Access Subject: [AccessD] Professional Liability Insurance Coverage I'm in the midst of redoing all of my insurance and I was wondering what kind of Professional Liability Insurance coverage you all have. John B. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.8/1153 - Release Date: 11/26/2007 9:08 PM From wdhindman at dejpolsystems.com Tue Nov 27 17:57:28 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 27 Nov 2007 18:57:28 -0500 Subject: [AccessD] Professional Liability Insurance Coverage References: <200711272205.lARM526Y008312@databaseadvisors.com> <005501c83145$7f1a65c0$0301a8c0@HAL9005> Message-ID: <001c01c83151$44849230$ef706c4c@jisshowsbs.local> ...a word of caution here ...incorporation protection varies significantly by state and structure you choose ...some states protect your "homestead" including personal property ...some protect only up to a set value ...and in some states if you are the primary beneficiary of a privately held corporation, especially a "c", you may not really have any corporate shield at all ...if you have any doubts, the best advice is to call your lawyer for an answer. William ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 27, 2007 5:33 PM Subject: Re: [AccessD] Professional Liability Insurance Coverage >I don't carry it. When I had the office I had the usual coverage for >theft, > fire, and broken leg. But no professional or E&O insurance. But I'm > incorporated which covers my assets. > > For The Sleep Advisor I looked into it because it's a quasi-medical app. > $50k for openers. If they'd have us. > > So we dropped the idea. > > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Tuesday, November 27, 2007 2:04 PM > To: _DBA-Access > Subject: [AccessD] Professional Liability Insurance Coverage > > I'm in the midst of redoing all of my insurance and I was wondering what > kind of Professional Liability Insurance coverage you all have. > > > John B. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.16.8/1153 - Release Date: > 11/26/2007 > 9:08 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From lmrazek at lcm-res.com Tue Nov 27 20:38:17 2007 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Tue, 27 Nov 2007 20:38:17 -0600 Subject: [AccessD] Troubleshooting Opinions In-Reply-To: <001c01c83151$44849230$ef706c4c@jisshowsbs.local> References: <200711272205.lARM526Y008312@databaseadvisors.com><005501c83145$7f1a65c0$0301a8c0@HAL9005> <001c01c83151$44849230$ef706c4c@jisshowsbs.local> Message-ID: <009501c83167$bb5f32f0$036fa8c0@lcmdv8000> Hi Folks: I have an application written in Access 97 (yes, some people refuse to upgrade ...), and have been getting reports back from the client regarding some db problems. The db is a FE/BE configuration, with the BE on a network share in a peer-to-peer network. 1. They're experiencing wierdness when entering records ... Sometimes the new record switches to an existing record. 2. They can't pull up (or only sometimes) linked word documents. This db has been cooking along quite nicely for over 10 yrs ... I'm thinking that the problems they're experiencing are either network related or due to a firewall being overly assertive. But perhaps this could be a corruption of the BE? Any feedback would be greatly appreciated. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 From accessd at shaw.ca Tue Nov 27 23:10:32 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 27 Nov 2007 21:10:32 -0800 Subject: [AccessD] Troubleshooting Opinions In-Reply-To: <009501c83167$bb5f32f0$036fa8c0@lcmdv8000> References: <200711272205.lARM526Y008312@databaseadvisors.com> <005501c83145$7f1a65c0$0301a8c0@HAL9005> <001c01c83151$44849230$ef706c4c@jisshowsbs.local> <009501c83167$bb5f32f0$036fa8c0@lcmdv8000> Message-ID: Hi Larry: Maybe you could check the database. I have had problems with databases that got stopped a few times when the server was abruptly shutdown through carelessness or maybe even a power outage. If the site has been running successfully for a number of years and none of the above are obviously the cause, my first thought would be that some updating on the network is not compatible with the old DB. Access97 is not totally happy in a network environment where stations are running an OS later than Windown2000. XP home edition is very unreliable on a network, from my experience and I would never recommend that version for a business... that is what XP Pro is for. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawrence Mrazek Sent: Tuesday, November 27, 2007 6:38 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Troubleshooting Opinions Hi Folks: I have an application written in Access 97 (yes, some people refuse to upgrade ...), and have been getting reports back from the client regarding some db problems. The db is a FE/BE configuration, with the BE on a network share in a peer-to-peer network. 1. They're experiencing wierdness when entering records ... Sometimes the new record switches to an existing record. 2. They can't pull up (or only sometimes) linked word documents. This db has been cooking along quite nicely for over 10 yrs ... I'm thinking that the problems they're experiencing are either network related or due to a firewall being overly assertive. But perhaps this could be a corruption of the BE? Any feedback would be greatly appreciated. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Wed Nov 28 00:46:09 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 28 Nov 2007 01:46:09 -0500 Subject: [AccessD] Troubleshooting Opinions References: <200711272205.lARM526Y008312@databaseadvisors.com><005501c83145$7f1a65c0$0301a8c0@HAL9005><001c01c83151$44849230$ef706c4c@jisshowsbs.local> <009501c83167$bb5f32f0$036fa8c0@lcmdv8000> Message-ID: <000701c8318a$5c501860$ef706c4c@jisshowsbs.local> Simplest first. Have you actually defined the problem yourself rather than relying on user reports? Your post makes it appear that you might not have actually done so as yet ...imnsho, users are almost always wrong in defining problems in a manner that enables you to address them effectively ...thy just don't see it with your eyes. Do you/they have archive/master copies that don't exhibit the behavior? Hope they are doing daily backups. Have you done a full decompile of both mdbs? With A97, you have to follow the steps very carefully or the decompile does not work as intended. If none of the above clears the problem, try a system restore to a date prior to the problem first appearing to see if any system software changes have caused it. Look especially for any changes in AV software configuration or for changes in macro security settings. A97 was very susseptible to tamper protection schemes and heuristic type background scanning. ...just hit me but you didn't say what their OS is ...if its anything less than XP Pro, you ought to just Colbyize them and be done with it ...and if they installed Vista on even one system, start there. Isolate any hardware/firmware changes in the environment ...or possibly a faulty nic on the workgroup share ...A97 was very intolerant of nic faults ime and they were the primary cause of intermittant problems. ...and for heaven's sake, upgrade them to AXP already ...if they are too cheap to buy Office upgrades, at least put them on a runtime of Access 2002 ...with the current prices on e-bay for such, its ridiculous for them not to do so. hth William ----- Original Message ----- From: "Lawrence Mrazek" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 27, 2007 9:38 PM Subject: [AccessD] Troubleshooting Opinions > Hi Folks: > > I have an application written in Access 97 (yes, some people refuse to > upgrade ...), and have been getting reports back from the client regarding > some db problems. The db is a FE/BE configuration, with the BE on a > network > share in a peer-to-peer network. > > 1. They're experiencing wierdness when entering records ... Sometimes the > new record switches to an existing record. > 2. They can't pull up (or only sometimes) linked word documents. > > This db has been cooking along quite nicely for over 10 yrs ... I'm > thinking > that the problems they're experiencing are either network related or due > to > a firewall being overly assertive. But perhaps this could be a corruption > of > the BE? > > Any feedback would be greatly appreciated. > > Larry Mrazek > LCM Research, Inc. > www.lcm-res.com > lmrazek at lcm-res.com > ph. 314-432-5886 > mobile: 314-496-1645 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Gustav at cactus.dk Wed Nov 28 03:51:22 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 28 Nov 2007 10:51:22 +0100 Subject: [AccessD] Troubleshooting Opinions Message-ID: Hi Jim That is not our experience. We see no difference in reliability between WinXP Home and Pro running on brand named hardware, and Access 97 runs rock steady on any Win OS from Win95 to XP (we have yet to experience some heavy use on Vista). /gustav >>> accessd at shaw.ca 28-11-2007 06:10 >>> Access97 is not totally happy in a network environment where stations are running an OS later than Windown2000. XP home edition is very unreliable on a network, from my experience and I would never recommend that version for a business... that is what XP Pro is for. From Gustav at cactus.dk Wed Nov 28 03:54:39 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 28 Nov 2007 10:54:39 +0100 Subject: [AccessD] Troubleshooting Opinions Message-ID: Hi William So true. We have cooked this down to an in-house motto: Users lie. /gustav >>> wdhindman at dejpolsystems.com 28-11-2007 07:46 >>> Simplest first. Have you actually defined the problem yourself rather than relying on user reports? Your post makes it appear that you might not have actually done so as yet ...imnsho, users are almost always wrong in defining problems in a manner that enables you to address them effectively ...thy just don't see it with your eyes. From Erwin.Craps at ithelps.eu Wed Nov 28 05:48:45 2007 From: Erwin.Craps at ithelps.eu (Erwin Craps - IT Helps) Date: Wed, 28 Nov 2007 12:48:45 +0100 Subject: [AccessD] HTML code stripper Message-ID: <430E80531228BA4497C5EB1A7BA786B0276F6F@stekelbes.ithelps.local> I was wondering if someone has a VBA based "HTML code stripper" to share with me? The target is to strip all HTML code from a block of text obtained from a downloaded HTML page with a plain simple text as a result that can be stored in a database. thx Erwin Craps Zaakvoerder Internetwinkel op http://shop.ithelps.eu http://www.linkedin.com/in/erwincraps www.ithelps.be/onsgezin bezoek ook eens de website van mijn zus www.friedacraps.be This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center * Box Office Belgium & Luxembourg www.ithelps.eu * www.boxoffice.be IT Helps bvba * Mercatorpad 3 * 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.eu Box Office * Fax: +32 16 296 406 * Box Office E-mail: Staff at boxoffice.be From Gustav at cactus.dk Wed Nov 28 06:23:13 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 28 Nov 2007 13:23:13 +0100 Subject: [AccessD] HTML code stripper Message-ID: Hi Erwin How about the rich text component of Access 2007? This isn't Rich Text (RTF) based but HTML based. /gustav >>> Erwin.Craps at ithelps.eu 28-11-2007 12:48 >>> I was wondering if someone has a VBA based "HTML code stripper" to share with me? The target is to strip all HTML code from a block of text obtained from a downloaded HTML page with a plain simple text as a result that can be stored in a database. From andy at minstersystems.co.uk Wed Nov 28 05:27:25 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 28 Nov 2007 12:27:25 +0100 Subject: [AccessD] HTML code stripper Message-ID: <20071128122729.4116D2B5A23@smtp.nildram.co.uk> Hi Erwin Sorry, I'm not replying because I have one but it's a nice idea. Iwonder though if stripping is enough. Wouldn't you want to change
to vbCrLf, and   to a space? And I'm no HTML expert so there may be others that need conversion rather than removal. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: [AccessD] HTML code stripper Date: 28/11/07 11:54 I was wondering if someone has a VBA based "HTML code stripper" to share with me? The target is to strip all HTML code from a block of text obtained from a downloaded HTML page with a plain simple text as a result that can be stored in a database. thx Erwin Craps Zaakvoerder Internetwinkel op http://shop.ithelps.eu http://www.linkedin.com/in/erwincraps www.ithelps.be/onsgezin bezoek ook eens de website van mijn zus www.friedacraps.be This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center * Box Office Belgium & Luxembourg www.ithelps.eu * www.boxoffice.be IT Helps bvba * Mercatorpad 3 * 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.eu Box Office * Fax: +32 16 296 406 * Box Office E-mail: Staff at boxoffice.be -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From Gustav at cactus.dk Wed Nov 28 06:29:46 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 28 Nov 2007 13:29:46 +0100 Subject: [AccessD] HTML code stripper Message-ID: Hi Erwin Or use the free ActiveX String Component from ChilkatSoft: http://www.example-code.com/asp/asp_html_entity_decode.asp /gustav >>> Erwin.Craps at ithelps.eu 28-11-2007 12:48 >>> I was wondering if someone has a VBA based "HTML code stripper" to share with me? The target is to strip all HTML code from a block of text obtained from a downloaded HTML page with a plain simple text as a result that can be stored in a database. From lmrazek at lcm-res.com Wed Nov 28 07:35:08 2007 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Wed, 28 Nov 2007 07:35:08 -0600 Subject: [AccessD] Troubleshooting Opinions In-Reply-To: References: Message-ID: <00e601c831c3$7e57b4c0$036fa8c0@lcmdv8000> Yes, users occassionally are "truth challenged". The funny thing about this issue is that the application has been solid for the past 10 years, other than the occassional enhancement, It has happily cooked along. I'm first going to look at the network issues, as well as the backend for corruption. (and I'll probably get them on Access XP, if only to remove the need for having Access97 on my machine). Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, November 28, 2007 3:55 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Troubleshooting Opinions Hi William So true. We have cooked this down to an in-house motto: Users lie. /gustav >>> wdhindman at dejpolsystems.com 28-11-2007 07:46 >>> Simplest first. Have you actually defined the problem yourself rather than relying on user reports? Your post makes it appear that you might not have actually done so as yet ...imnsho, users are almost always wrong in defining problems in a manner that enables you to address them effectively ...thy just don't see it with your eyes. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Nov 28 09:38:55 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 28 Nov 2007 07:38:55 -0800 Subject: [AccessD] HTML code stripper In-Reply-To: <20071128122729.4116D2B5A23@smtp.nildram.co.uk> References: <20071128122729.4116D2B5A23@smtp.nildram.co.uk> Message-ID: Hi Erwin: I have always just opened a page in the browser and simply cut and pasted from there. Do you want an automated process? Jim --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: [AccessD] HTML code stripper Date: 28/11/07 11:54 I was wondering if someone has a VBA based "HTML code stripper" to share with me? The target is to strip all HTML code from a block of text obtained from a downloaded HTML page with a plain simple text as a result that can be stored in a database. thx Erwin Craps Zaakvoerder Internetwinkel op http://shop.ithelps.eu http://www.linkedin.com/in/erwincraps www.ithelps.be/onsgezin bezoek ook eens de website van mijn zus www.friedacraps.be This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center * Box Office Belgium & Luxembourg www.ithelps.eu * www.boxoffice.be IT Helps bvba * Mercatorpad 3 * 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.eu Box Office * Fax: +32 16 296 406 * Box Office E-mail: Staff at boxoffice.be -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Nov 28 09:56:39 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 28 Nov 2007 07:56:39 -0800 Subject: [AccessD] Troubleshooting Opinions In-Reply-To: References: Message-ID: LOL! Hear, hear! Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, November 28, 2007 1:55 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Troubleshooting Opinions Hi William So true. We have cooked this down to an in-house motto: Users lie. /gustav >>> wdhindman at dejpolsystems.com 28-11-2007 07:46 >>> Simplest first. Have you actually defined the problem yourself rather than relying on user reports? Your post makes it appear that you might not have actually done so as yet ...imnsho, users are almost always wrong in defining problems in a manner that enables you to address them effectively ...thy just don't see it with your eyes. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Wed Nov 28 10:53:11 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 28 Nov 2007 16:53:11 +0000 Subject: [AccessD] Troubleshooting Opinions In-Reply-To: <009501c83167$bb5f32f0$036fa8c0@lcmdv8000> References: <200711272205.lARM526Y008312@databaseadvisors.com><005501c83145$7f1a65c0$0301a8c0@HAL9005> <001c01c83151$44849230$ef706c4c@jisshowsbs.local> <009501c83167$bb5f32f0$036fa8c0@lcmdv8000> Message-ID: Larry, I have read everyone else's feedback...and if these are truely the symptoms...I have seen similar issues that were not DB related...but they were not related to each other either. 1. A new mouse can cause this type of issue. I have seen it with the 'side buttons' that actually act as a 'BACK' button...and the mouse wheel will scroll back through records. 2. Not so sure about this one...but have seen something similar depending on version of word...and how the DB calls word...and whether or not it is already open. Just thoughts. Mark A. Matte > From: lmrazek at lcm-res.com > To: accessd at databaseadvisors.com > Date: Tue, 27 Nov 2007 20:38:17 -0600 > Subject: [AccessD] Troubleshooting Opinions > > Hi Folks: > > I have an application written in Access 97 (yes, some people refuse to > upgrade ...), and have been getting reports back from the client regarding > some db problems. The db is a FE/BE configuration, with the BE on a network > share in a peer-to-peer network. > > 1. They're experiencing wierdness when entering records ... Sometimes the > new record switches to an existing record. > 2. They can't pull up (or only sometimes) linked word documents. > > This db has been cooking along quite nicely for over 10 yrs ... I'm thinking > that the problems they're experiencing are either network related or due to > a firewall being overly assertive. But perhaps this could be a corruption of > the BE? > > Any feedback would be greatly appreciated. > > Larry Mrazek > LCM Research, Inc. > www.lcm-res.com > lmrazek at lcm-res.com > ph. 314-432-5886 > mobile: 314-496-1645 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ You keep typing, we keep giving. Download Messenger and join the i?m Initiative now. http://im.live.com/messenger/im/home/?source=TAGLM From Erwin.Craps at ithelps.eu Wed Nov 28 11:20:26 2007 From: Erwin.Craps at ithelps.eu (Erwin Craps - IT Helps) Date: Wed, 28 Nov 2007 18:20:26 +0100 Subject: [AccessD] HTML code stripper References: <20071128122729.4116D2B5A23@smtp.nildram.co.uk> Message-ID: <430E80531228BA4497C5EB1A7BA786B0276F75@stekelbes.ithelps.local> Well indeed. Converting of hyperlinks etc would be nice to. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Wednesday, November 28, 2007 12:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] HTML code stripper Hi Erwin Sorry, I'm not replying because I have one but it's a nice idea. Iwonder though if stripping is enough. Wouldn't you want to change
to vbCrLf, and   to a space? And I'm no HTML expert so there may be others that need conversion rather than removal. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: [AccessD] HTML code stripper Date: 28/11/07 11:54 I was wondering if someone has a VBA based "HTML code stripper" to share with me? The target is to strip all HTML code from a block of text obtained from a downloaded HTML page with a plain simple text as a result that can be stored in a database. thx Erwin Craps Zaakvoerder Internetwinkel op http://shop.ithelps.eu http://www.linkedin.com/in/erwincraps www.ithelps.be/onsgezin bezoek ook eens de website van mijn zus www.friedacraps.be This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center * Box Office Belgium & Luxembourg www.ithelps.eu * www.boxoffice.be IT Helps bvba * Mercatorpad 3 * 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.eu Box Office * Fax: +32 16 296 406 * Box Office E-mail: Staff at boxoffice.be -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From krosenstiel at comcast.net Wed Nov 28 12:29:36 2007 From: krosenstiel at comcast.net (krosenstiel at comcast.net) Date: Wed, 28 Nov 2007 18:29:36 +0000 Subject: [AccessD] HTML code stripper Message-ID: <112820071829.9326.474DB3900001C1A60000246E2216557996040A079B9C020A9C019D05@comcast.net> Seems to me all you really need is a macro in your text editor to remove <*.*> from your docuement. -- Karen Rosenstiel Seattle WA USA -------------- Original message ---------------------- From: "Erwin Craps - IT Helps" > Well indeed. > > Converting of hyperlinks etc would be nice to. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Sent: Wednesday, November 28, 2007 12:27 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] HTML code stripper > > Hi Erwin > Sorry, I'm not replying because I have one but it's a nice idea. Iwonder > though if stripping is enough. Wouldn't you want to change
to > vbCrLf, > and   to a space? And I'm no HTML expert so there may be others > that > need conversion rather than removal. > > -- > Andy Lacey > http://www.minstersystems.co.uk > > > > --------- Original Message -------- > From: "Access Developers discussion and problem solving" > > To: "accessd at databaseadvisors.com" > Subject: [AccessD] HTML code stripper > Date: 28/11/07 11:54 > > > I was wondering if someone has a VBA based "HTML code stripper" to > share with me? > > > > The target is to strip all HTML code from a block of text obtained from > a downloaded HTML page with a plain simple text as a result that can be > stored in a database. > > > > thx > > > > > > > > > > Erwin Craps > > Zaakvoerder > > > > Internetwinkel op http://shop.ithelps.eu > > http://www.linkedin.com/in/erwincraps > > > www.ithelps.be/onsgezin > > bezoek ook eens de website van mijn zus www.friedacraps.be > > > > > This E-mail is confidential, may be legally privileged, and is for the > intended recipient only. Access, disclosure, copying, distribution, or > reliance on any of it by anyone else is prohibited and may be a criminal > offence. Please delete if obtained in error and E-mail confirmation to > the sender. > > IT Helps - I.T. Help Center * Box Office Belgium & Luxembourg > > www.ithelps.eu * www.boxoffice.be > > > IT Helps bvba * Mercatorpad 3 * 3000 Leuven > > IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: > Info at ithelps.eu > > Box Office * Fax: +32 16 296 406 * Box Office E-mail: > Staff at boxoffice.be > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ________________________________________________ > Message sent using UebiMiau 2.7.2 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 28 12:39:17 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 28 Nov 2007 19:39:17 +0100 Subject: [AccessD] HTML code stripper Message-ID: Hi Karen Oh no. Study the link I posted earlier today ... /gustav >>> krosenstiel at comcast.net 28-11-2007 19:29 >>> Seems to me all you really need is a macro in your text editor to remove <*.*> from your docuement. From Erwin.Craps at ithelps.eu Wed Nov 28 13:40:30 2007 From: Erwin.Craps at ithelps.eu (Erwin Craps - IT Helps) Date: Wed, 28 Nov 2007 20:40:30 +0100 Subject: [AccessD] HTML code stripper References: <20071128122729.4116D2B5A23@smtp.nildram.co.uk> Message-ID: <430E80531228BA4497C5EB1A7BA786B0276F76@stekelbes.ithelps.local> I already have the process automated, but I see that HTML code get's into my database. Things like
color etc. Some stuff I already replace/remove like
I just want plain simple text in this case. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, November 28, 2007 4:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] HTML code stripper Hi Erwin: I have always just opened a page in the browser and simply cut and pasted from there. Do you want an automated process? Jim --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: [AccessD] HTML code stripper Date: 28/11/07 11:54 I was wondering if someone has a VBA based "HTML code stripper" to share with me? The target is to strip all HTML code from a block of text obtained from a downloaded HTML page with a plain simple text as a result that can be stored in a database. thx Erwin Craps Zaakvoerder Internetwinkel op http://shop.ithelps.eu http://www.linkedin.com/in/erwincraps www.ithelps.be/onsgezin bezoek ook eens de website van mijn zus www.friedacraps.be This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center * Box Office Belgium & Luxembourg www.ithelps.eu * www.boxoffice.be IT Helps bvba * Mercatorpad 3 * 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.eu Box Office * Fax: +32 16 296 406 * Box Office E-mail: Staff at boxoffice.be -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.eu Wed Nov 28 13:42:07 2007 From: Erwin.Craps at ithelps.eu (Erwin Craps - IT Helps) Date: Wed, 28 Nov 2007 20:42:07 +0100 Subject: [AccessD] HTML code stripper References: <112820071829.9326.474DB3900001C1A60000246E2216557996040A079B9C020A9C019D05@comcast.net> Message-ID: <430E80531228BA4497C5EB1A7BA786B0276F77@stekelbes.ithelps.local> That's what I thought, but it's not like that. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of krosenstiel at comcast.net Sent: Wednesday, November 28, 2007 7:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] HTML code stripper Seems to me all you really need is a macro in your text editor to remove <*.*> from your docuement. -- Karen Rosenstiel Seattle WA USA -------------- Original message ---------------------- From: "Erwin Craps - IT Helps" > Well indeed. > > Converting of hyperlinks etc would be nice to. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Sent: Wednesday, November 28, 2007 12:27 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] HTML code stripper > > Hi Erwin > Sorry, I'm not replying because I have one but it's a nice idea. Iwonder > though if stripping is enough. Wouldn't you want to change
to > vbCrLf, > and   to a space? And I'm no HTML expert so there may be others > that > need conversion rather than removal. > > -- > Andy Lacey > http://www.minstersystems.co.uk > > > > --------- Original Message -------- > From: "Access Developers discussion and problem solving" > > To: "accessd at databaseadvisors.com" > Subject: [AccessD] HTML code stripper > Date: 28/11/07 11:54 > > > I was wondering if someone has a VBA based "HTML code stripper" to > share with me? > > > > The target is to strip all HTML code from a block of text obtained from > a downloaded HTML page with a plain simple text as a result that can be > stored in a database. > > > > thx > > > > > > > > > > Erwin Craps > > Zaakvoerder > > > > Internetwinkel op http://shop.ithelps.eu > > http://www.linkedin.com/in/erwincraps > > > www.ithelps.be/onsgezin > > bezoek ook eens de website van mijn zus www.friedacraps.be > > > > > This E-mail is confidential, may be legally privileged, and is for the > intended recipient only. Access, disclosure, copying, distribution, or > reliance on any of it by anyone else is prohibited and may be a criminal > offence. Please delete if obtained in error and E-mail confirmation to > the sender. > > IT Helps - I.T. Help Center * Box Office Belgium & Luxembourg > > www.ithelps.eu * www.boxoffice.be > > > IT Helps bvba * Mercatorpad 3 * 3000 Leuven > > IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: > Info at ithelps.eu > > Box Office * Fax: +32 16 296 406 * Box Office E-mail: > Staff at boxoffice.be > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ________________________________________________ > Message sent using UebiMiau 2.7.2 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 28 14:10:24 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 28 Nov 2007 15:10:24 -0500 Subject: [AccessD] Programmatically change cell formulae in Ecel Message-ID: <29f585dd0711281210j64aa846el1055ebdb3a034884@mail.gmail.com> Sorry for the double-post but I'm desperate. I'm trying to change cell formulae in Excel using VBA code and am running into two different problems (well, maybe problem 2 will disappear when I figure out problem 1). I have a string stored like this: Dim strFormula as String strFormula "=VLOOKUP(A6,'S:\Lgroup\Fundacct\Excel\!INVPORT\CSV Files\Sep 07\[# of securities.xls]SOI'!$B$3:$C$100,2,TRUE)" I am trying to assign it to the formula of a cell like this: Range("E6").Formula = strFormula What happens is that it gets pasted in as text, NOT as the formula. I tried removing the equals sign and assigning the rest to the formula of the cell, but that didn't work either. I'm way behind on a deadline and I have to get this working. Any assistance greatly appreciated! TIA, Arthur From DWUTKA at Marlow.com Wed Nov 28 14:14:13 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Wed, 28 Nov 2007 14:14:13 -0600 Subject: [AccessD] HTML code stripper In-Reply-To: <430E80531228BA4497C5EB1A7BA786B0276F76@stekelbes.ithelps.local> Message-ID: A relatively simple way would be to open it with a browser, and just read the text of it: brwWebBrowser.Document.Body.innertext where bwWebBrowser would be an instance of IE. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Wednesday, November 28, 2007 1:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] HTML code stripper I already have the process automated, but I see that HTML code get's into my database. Things like
color etc. Some stuff I already replace/remove like
I just want plain simple text in this case. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, November 28, 2007 4:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] HTML code stripper Hi Erwin: I have always just opened a page in the browser and simply cut and pasted from there. Do you want an automated process? Jim --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: [AccessD] HTML code stripper Date: 28/11/07 11:54 I was wondering if someone has a VBA based "HTML code stripper" to share with me? The target is to strip all HTML code from a block of text obtained from a downloaded HTML page with a plain simple text as a result that can be stored in a database. thx Erwin Craps Zaakvoerder Internetwinkel op http://shop.ithelps.eu http://www.linkedin.com/in/erwincraps www.ithelps.be/onsgezin bezoek ook eens de website van mijn zus www.friedacraps.be This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center * Box Office Belgium & Luxembourg www.ithelps.eu * www.boxoffice.be IT Helps bvba * Mercatorpad 3 * 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.eu Box Office * Fax: +32 16 296 406 * Box Office E-mail: Staff at boxoffice.be -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 BusinessSensitve 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 jwelz at hotmail.com Wed Nov 28 14:17:06 2007 From: jwelz at hotmail.com (Jurgen Welz) Date: Wed, 28 Nov 2007 13:17:06 -0700 Subject: [AccessD] Programmatically change cell formulae in Ecel In-Reply-To: <29f585dd0711281210j64aa846el1055ebdb3a034884@mail.gmail.com> References: <29f585dd0711281210j64aa846el1055ebdb3a034884@mail.gmail.com> Message-ID: Arthur: Here is an example from code I use where M refers to a named range cell in a sheet: .Cells(14, 4).Select .ActiveCell.FormulaR1C1 = "=IF(M=0,Tender!RC[-1],Tender!RC[-1]*Tender!RC[11])"CiaoJ?rgen WelzEdmonton, Albertajwelz at hotmail.com> Date: Wed, 28 Nov 2007 15:10:24 -0500> From: fuller.artful at gmail.com> To: dba-tech at databaseadvisors.com; accessd at databaseadvisors.com> Subject: [AccessD] Programmatically change cell formulae in Ecel> > Sorry for the double-post but I'm desperate.> > I'm trying to change cell formulae in Excel using VBA code and am running> into two different problems (well, maybe problem 2 will disappear when I> figure out problem 1).> > I have a string stored like this:> > Dim strFormula as String> strFormula "=VLOOKUP(A6,'S:\Lgroup\Fundacct\Excel\!INVPORT\CSV Files\Sep> 07\[# of securities.xls]SOI'!$B$3:$C$100,2,TRUE)"> > I am trying to assign it to the formula of a cell like this:> > Range("E6").Formula = strFormula> > > What happens is that it gets pasted in as text, NOT as the formula. I tried> removing the equals sign and assigning the rest to the formula of the cell,> but that didn't work either.> > I'm way behind on a deadline and I have to get this working. Any assistance> greatly appreciated!> > TIA,> Arthur> -- > AccessD mailing list> AccessD at databaseadvisors.com> http://databaseadvisors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com _________________________________________________________________ Are you ready for Windows Live Messenger Beta 8.5 ? Get the latest for free today! http://entertainment.sympatico.msn.ca/WindowsLiveMessenger From Lambert.Heenan at AIG.com Wed Nov 28 14:21:42 2007 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 28 Nov 2007 15:21:42 -0500 Subject: [AccessD] Programmatically change cell formulae in Ecel Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED74A7@XLIVMBX35bkup.aig.com> Try just Range("E6") = strFormula Works for me. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, November 28, 2007 3:10 PM To: Discussion of Hardware and Software issues; Access Developers discussion and problem solving Subject: [AccessD] Programmatically change cell formulae in Ecel Sorry for the double-post but I'm desperate. I'm trying to change cell formulae in Excel using VBA code and am running into two different problems (well, maybe problem 2 will disappear when I figure out problem 1). I have a string stored like this: Dim strFormula as String strFormula "=VLOOKUP(A6,'S:\Lgroup\Fundacct\Excel\!INVPORT\CSV Files\Sep 07\[# of securities.xls]SOI'!$B$3:$C$100,2,TRUE)" I am trying to assign it to the formula of a cell like this: Range("E6").Formula = strFormula What happens is that it gets pasted in as text, NOT as the formula. I tried removing the equals sign and assigning the rest to the formula of the cell, but that didn't work either. I'm way behind on a deadline and I have to get this working. Any assistance greatly appreciated! TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Patricia.O'Connor at otda.state.ny.us Wed Nov 28 14:37:11 2007 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Wed, 28 Nov 2007 15:37:11 -0500 Subject: [AccessD] Programmatically change cell formulae in Ecel References: <29f585dd0711281210j64aa846el1055ebdb3a034884@mail.gmail.com> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE80253C1B2@EXCNYSM0A1AI.nysemail.nyenet> hi Arthur Sorry I am not at work to really try this out before sending a answer if I had a copy of the excel spreadsheet I could play with it a bit more and test But when building strings and I tend to put the " and ' in using the CHR() and have gotten around many problems Dim strFormula as String strFormula = CHR(34) & "=VBLOOKUP(A6," & CHR(39) & strFormula = strFormula & "S:\Lgroup\Fundacct\Excel\!INVPORT\CSV FILES\Sep07\[# of securities.xls]SOI" strFormula = strFormula & CHR(39) & "!$B$3:$C$100,2,TRUE)" & CHR(34) or strFormula = "=VBLOOKUP(A6," & CHR(39) & strFormula = strFormula & "S:\Lgroup\Fundacct\Excel\!INVPORT\CSV FILES\Sep07\[# of securities.xls]SOI" strFormula = strFormula & CHR(39) & "!$B$3:$C$100,2,TRUE)" HTH Patti ************************************************************* * Patricia E. O'Connor * Associate Computer Programmer/Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (W) mailto:aa1160 at otda.state.ny.us *********************************************************** -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Arthur Fuller Sent: Wed 11/28/2007 3:10 PM To: Discussion of Hardware and Software issues; Access Developers discussion and problem solving Subject: [AccessD] Programmatically change cell formulae in Ecel Sorry for the double-post but I'm desperate. I'm trying to change cell formulae in Excel using VBA code and am running into two different problems (well, maybe problem 2 will disappear when I figure out problem 1). I have a string stored like this: Dim strFormula as String strFormula "=VLOOKUP(A6,'S:\Lgroup\Fundacct\Excel\!INVPORT\CSV Files\Sep 07\[# of securities.xls]SOI'!$B$3:$C$100,2,TRUE)" I am trying to assign it to the formula of a cell like this: Range("E6").Formula = strFormula What happens is that it gets pasted in as text, NOT as the formula. I tried removing the equals sign and assigning the rest to the formula of the cell, but that didn't work either. I'm way behind on a deadline and I have to get this working. Any assistance greatly appreciated! 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 Nov 28 14:54:22 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 28 Nov 2007 15:54:22 -0500 Subject: [AccessD] Programmatically change cell formulae in Ecel In-Reply-To: References: <29f585dd0711281210j64aa846el1055ebdb3a034884@mail.gmail.com> Message-ID: <29f585dd0711281254s2ef7992es85a4304f13c62f2d@mail.gmail.com> What's the R1C1 for, Jurgen? Arthur On Nov 28, 2007 3:17 PM, Jurgen Welz wrote: > > Arthur: > > Here is an example from code I use where M refers to a named range cell in > a sheet: > > .Cells(14, 4).Select .ActiveCell.FormulaR1C1 > = "=IF(M=0,Tender!RC[-1],Tender!RC[-1]*Tender!RC[11])" > CiaoJ?rgen WelzEdmonton From Chester_Kaup at kindermorgan.com Wed Nov 28 15:07:24 2007 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 28 Nov 2007 15:07:24 -0600 Subject: [AccessD] API: Remove Close button from maximized forms Message-ID: I am using the API: Remove Close button from maximized forms from the Access Web website.(www.mvps.org/access/api/aqpioo22.htm) It works great on the first form in the DB that opens. On subsequent forms the result is not as good. The form opens to full size with the blue bar across the top. I use the following lines of code to run the function from the on open event. DoCmd.Restore DoEvents MaximizeRestoredForm Me I have also tried it explicitly naming the form with the same result. Thanks for your ideas. 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 Jim.Hale at FleetPride.com Wed Nov 28 15:12:52 2007 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 28 Nov 2007 15:12:52 -0600 Subject: [AccessD] Programmatically change cell formulae in Ecel In-Reply-To: <29f585dd0711281254s2ef7992es85a4304f13c62f2d@mail.gmail.com> References: <29f585dd0711281210j64aa846el1055ebdb3a034884@mail.gmail.com> <29f585dd0711281254s2ef7992es85a4304f13c62f2d@mail.gmail.com> Message-ID: Arthur, This works for me, ie it places the formula in cell E6 correctly strFormula = "=VLOOKUP(A6,'C:\Documents and Settings\jhale\My Documents\[file1.xls]OutPut_Data'!$B$3:$C$100,2,TRUE)" Range("E6").Formula = strFormula HOWEVER if the cell E6 is formatted as text then it the sub pastes it in as a text string. Check the cell formatting Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, November 28, 2007 2:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Programmatically change cell formulae in Ecel What's the R1C1 for, Jurgen? Arthur On Nov 28, 2007 3:17 PM, Jurgen Welz wrote: > > Arthur: > > Here is an example from code I use where M refers to a named range cell in > a sheet: > > .Cells(14, 4).Select .ActiveCell.FormulaR1C1 > = "=IF(M=0,Tender!RC[-1],Tender!RC[-1]*Tender!RC[11])" > CiaoJ?rgen WelzEdmonton -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From fuller.artful at gmail.com Wed Nov 28 15:44:58 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 28 Nov 2007 16:44:58 -0500 Subject: [AccessD] Programmatically change cell formulae in Ecel In-Reply-To: <29f585dd0711281254s2ef7992es85a4304f13c62f2d@mail.gmail.com> References: <29f585dd0711281210j64aa846el1055ebdb3a034884@mail.gmail.com> <29f585dd0711281254s2ef7992es85a4304f13c62f2d@mail.gmail.com> Message-ID: <29f585dd0711281344r6d6ba1b8ob9cb8ee5440b721d@mail.gmail.com> Never mind, I looked it up. A. On Nov 28, 2007 3:54 PM, Arthur Fuller wrote: > What's the R1C1 for, Jurgen? > > Arthur > > > On Nov 28, 2007 3:17 PM, Jurgen Welz wrote: > > > > > Arthur: > > > > Here is an example from code I use where M refers to a named range cell > > in a sheet: > > > > .Cells(14, 4).Select > > .ActiveCell.FormulaR1C1 = > > "=IF(M=0,Tender!RC[-1],Tender!RC[-1]*Tender!RC[11])" > > > > > CiaoJ?rgen WelzEdmonton > > > From dwaters at usinternet.com Wed Nov 28 17:07:36 2007 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 28 Nov 2007 17:07:36 -0600 Subject: [AccessD] API: Remove Close button from maximized forms In-Reply-To: Message-ID: <20071128230746.197BF19FB0@smtp-out-02.usinternet.com> You can turn the Close button for forms on or off using each form's property sheet. I turn it off for every form. Same for Min/Max. Perhaps that would work . . . Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, November 28, 2007 3:07 PM To: Access Developers discussion and problem solving Subject: [AccessD] API: Remove Close button from maximized forms I am using the API: Remove Close button from maximized forms from the Access Web website.(www.mvps.org/access/api/aqpioo22.htm) It works great on the first form in the DB that opens. On subsequent forms the result is not as good. The form opens to full size with the blue bar across the top. I use the following lines of code to run the function from the on open event. DoCmd.Restore DoEvents MaximizeRestoredForm Me I have also tried it explicitly naming the form with the same result. Thanks for your ideas. 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 fuller.artful at gmail.com Wed Nov 28 17:39:53 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 28 Nov 2007 18:39:53 -0500 Subject: [AccessD] Programmatically change cell formulae in Ecel In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE80253C1B2@EXCNYSM0A1AI.nysemail.nyenet> References: <29f585dd0711281210j64aa846el1055ebdb3a034884@mail.gmail.com> <01DBAB52E30A9A4AB3D94EF8029EDBE80253C1B2@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: <29f585dd0711281539l310b44f2g57fed833032a7486@mail.gmail.com> Bizarrely enough, this appears to be the answer. Those accursed single quotes! Who knew? Arthur On Nov 28, 2007 3:37 PM, O'Connor, Patricia (OTDA) wrote: > hi Arthur > Sorry I am not at work to really try this out before sending a answer > if I had a copy of the excel spreadsheet I could play with it a bit more > and test > But when building strings and I tend to put the " and ' in using the CHR() > and have gotten around many problems > > Dim strFormula as String > strFormula = CHR(34) & "=VBLOOKUP(A6," & CHR(39) & > strFormula = strFormula & "S:\Lgroup\Fundacct\Excel\!INVPORT\CSV > FILES\Sep07\[# of securities.xls]SOI" > strFormula = strFormula & CHR(39) & "!$B$3:$C$100,2,TRUE)" & CHR(34) > > or > strFormula = "=VBLOOKUP(A6," & CHR(39) & > strFormula = strFormula & "S:\Lgroup\Fundacct\Excel\!INVPORT\CSV > FILES\Sep07\[# of securities.xls]SOI" > strFormula = strFormula & CHR(39) & "!$B$3:$C$100,2,TRUE)" > > HTH > Patti > > From Patricia.O'Connor at otda.state.ny.us Wed Nov 28 17:58:39 2007 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Wed, 28 Nov 2007 18:58:39 -0500 Subject: [AccessD] Programmatically change cell formulae in Ecel References: <29f585dd0711281210j64aa846el1055ebdb3a034884@mail.gmail.com><01DBAB52E30A9A4AB3D94EF8029EDBE80253C1B2@EXCNYSM0A1AI.nysemail.nyenet> <29f585dd0711281539l310b44f2g57fed833032a7486@mail.gmail.com> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE80253C1B3@EXCNYSM0A1AI.nysemail.nyenet> Arthur Glad it worked !! Will add it to the list of " you better remember" For me with a last name of O'Connor and dealing with many legacy systems I have learned to try almost anything to work around. Have a good evening Patti ************************************************************* * Patricia E. O'Connor * Associate Computer Programmer/Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (W) mailto:aa1160 at otda.state.ny.us *********************************************************** -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Arthur Fuller Sent: Wed 11/28/2007 6:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Programmatically change cell formulae in Ecel Bizarrely enough, this appears to be the answer. Those accursed single quotes! Who knew? Arthur On Nov 28, 2007 3:37 PM, O'Connor, Patricia (OTDA) wrote: > hi Arthur > Sorry I am not at work to really try this out before sending a answer > if I had a copy of the excel spreadsheet I could play with it a bit more > and test > But when building strings and I tend to put the " and ' in using the CHR() > and have gotten around many problems > > Dim strFormula as String > strFormula = CHR(34) & "=VBLOOKUP(A6," & CHR(39) & > strFormula = strFormula & "S:\Lgroup\Fundacct\Excel\!INVPORT\CSV > FILES\Sep07\[# of securities.xls]SOI" > strFormula = strFormula & CHR(39) & "!$B$3:$C$100,2,TRUE)" & CHR(34) > > or > strFormula = "=VBLOOKUP(A6," & CHR(39) & > strFormula = strFormula & "S:\Lgroup\Fundacct\Excel\!INVPORT\CSV > FILES\Sep07\[# of securities.xls]SOI" > strFormula = strFormula & CHR(39) & "!$B$3:$C$100,2,TRUE)" > > HTH > Patti > > -- 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 Nov 28 18:51:23 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 28 Nov 2007 19:51:23 -0500 Subject: [AccessD] Programmatically change cell formulae in Ecel In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE80253C1B3@EXCNYSM0A1AI.nysemail.nyenet> References: <29f585dd0711281210j64aa846el1055ebdb3a034884@mail.gmail.com> <01DBAB52E30A9A4AB3D94EF8029EDBE80253C1B2@EXCNYSM0A1AI.nysemail.nyenet> <29f585dd0711281539l310b44f2g57fed833032a7486@mail.gmail.com> <01DBAB52E30A9A4AB3D94EF8029EDBE80253C1B3@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: <29f585dd0711281651s3a62bafet7ca92da2f2854ace@mail.gmail.com> Patti, Given SQL Server's "respect" for single quotes, here's another trick (which you may already know). When accepting a name such as O'Connor, do a Replace of single quote with a pair of single quotes. That gets the data in as you wanted. I ran into this very often in an app a while ago, and eventually wrote a function to deal with it: Function sqTo2sq( ByRef str as String ) If Instr( str, Chr(39) ) > 0 then sqTo2sq = Replace( str, Chr(39), (Chr(39) & Chr(39) ) End If End Function I didn't copy and paste, so this is the gmail compiler at not work. But that's a best guess. Arthur On 11/28/07, O'Connor, Patricia (OTDA) wrote: > > Arthur > Glad it worked !! Will add it to the list of " you better remember" > For me with a last name of O'Connor and dealing with many legacy systems I > have learned to try almost anything to work around. > > Have a good evening > Patti > From scapistrant at symphonyinfo.com Wed Nov 28 21:46:57 2007 From: scapistrant at symphonyinfo.com (steve) Date: Wed, 28 Nov 2007 21:46:57 -0600 Subject: [AccessD] Convert to 2007; Dependencies In-Reply-To: <009501c83167$bb5f32f0$036fa8c0@lcmdv8000> References: <200711272205.lARM526Y008312@databaseadvisors.com><005501c83145$7f1a65c0$0301a8c0@HAL9005><001c01c83151$44849230$ef706c4c@jisshowsbs.local> <009501c83167$bb5f32f0$036fa8c0@lcmdv8000> Message-ID: <8E5309988E5E402B9AE235B711D4D8F2@symphony.symphonyinfo.com> My initial attempts at converting Acc2000 mdbs to Acc07 have been not going well. It will convert, but at the end it tells me that Object Name Dependencies must be mapped, and that Track Name Autocorrect must be turned on, before the app will actually work. I can see all the objects in the left side navigation pane, and Acc07 presented me with a right pane showing the Dependencies, but I can't figure out how to trigger that action. What am I missing? The converted file is essentially unworkable. Coincidentally, I accidentally stumbled on that problem in the Acc2000 database (a 7 years old db) for the very first time today. I pulled an Front end table into design mode, and looked at its properties. Then I get that the very same Dependencies message that I've never seen before. Happily, the dialog box offered to turn on Track AutoName Correct, and began the process, which took about 15 minutes to do. I don't know what's different or why this is required. I've always shied away from the TrackNameAutocorrect because I don't like Access doing things without me knowing. Internet searches for this issue turn up very little. Help! Steve Capistrant Symphony Information Services www.symphonyinfo.com Email: scapistrant at symphonyinfo.com Phone: 763-391-7400 ext 801 Skype: steve.capistrant From Erwin.Craps at ithelps.eu Thu Nov 29 01:32:55 2007 From: Erwin.Craps at ithelps.eu (Erwin Craps - IT Helps) Date: Thu, 29 Nov 2007 08:32:55 +0100 Subject: [AccessD] HTML code stripper References: Message-ID: <430E80531228BA4497C5EB1A7BA786B0276F78@stekelbes.ithelps.local> Thx Drew, I'll take a look at that. I'm use now some HTML code to find a specific piece of text on the page, so I will need to change that. But it's certainly worth to investigate. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Wednesday, November 28, 2007 9:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] HTML code stripper A relatively simple way would be to open it with a browser, and just read the text of it: brwWebBrowser.Document.Body.innertext where bwWebBrowser would be an instance of IE. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Wednesday, November 28, 2007 1:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] HTML code stripper I already have the process automated, but I see that HTML code get's into my database. Things like
color etc. Some stuff I already replace/remove like
I just want plain simple text in this case. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, November 28, 2007 4:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] HTML code stripper Hi Erwin: I have always just opened a page in the browser and simply cut and pasted from there. Do you want an automated process? Jim --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: [AccessD] HTML code stripper Date: 28/11/07 11:54 I was wondering if someone has a VBA based "HTML code stripper" to share with me? The target is to strip all HTML code from a block of text obtained from a downloaded HTML page with a plain simple text as a result that can be stored in a database. thx Erwin Craps Zaakvoerder Internetwinkel op http://shop.ithelps.eu http://www.linkedin.com/in/erwincraps www.ithelps.be/onsgezin bezoek ook eens de website van mijn zus www.friedacraps.be This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center * Box Office Belgium & Luxembourg www.ithelps.eu * www.boxoffice.be IT Helps bvba * Mercatorpad 3 * 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.eu Box Office * Fax: +32 16 296 406 * Box Office E-mail: Staff at boxoffice.be -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 BusinessSensitve 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 Gustav at cactus.dk Thu Nov 29 05:38:23 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 29 Nov 2007 12:38:23 +0100 Subject: [AccessD] HTML code stripper Message-ID: Hi Erwin Just curious, why wouldn't this control fit your purpose? To me it seems exactly what you are looking for but I may be missing something. The Chilkat ASP String Component is freeware and may be used in any ASP application. To install, download and unzip the ASP String Component. Then copy the CkString.dll to a directory on your ASP Web Server and register it with regsvr32.exe. The CkString.dll is a standard ActiveX component. It may also be used in Visual Basic 6.0, Delphi, Cold Fusion, Visual FoxPro, PowerBuilder, MFC, or any other programming language that supports ActiveX components. http://www.example-code.com/asp/aspstring.asp Example code here: set cks = Server.CreateObject("CkString.CkString") ' Strip HTML from a string. cks.Str = "

This is a test
Here is a test link

" cks.StripHtml ' Prints "This is a testHere is a test link" Response.Write cks.Str + "
" ' Perhaps it's better to replace
tags with SPACE chars first... cks.Str = "

This is a test
Here is a test link

" cks.ReplaceAll "
"," " cks.ReplaceAll "
"," " cks.StripHtml ' Prints "This is a test Here is a test link" Response.Write cks.Str
/gustav >>> Erwin.Craps at ithelps.eu 28-11-2007 20:40 >>> I already have the process automated, but I see that HTML code get's into my database. Things like
color etc. Some stuff I already replace/remove like
I just want plain simple text in this case. From Erwin.Craps at ithelps.eu Thu Nov 29 06:07:06 2007 From: Erwin.Craps at ithelps.eu (Erwin Craps - IT Helps) Date: Thu, 29 Nov 2007 13:07:06 +0100 Subject: [AccessD] HTML code stripper References: Message-ID: <430E80531228BA4497C5EB1A7BA786B0276F7D@stekelbes.ithelps.local> I thought it was a ASP for websites only! Didn't see the "Strip HTML tags from a string" but only the " HTML Entity Decode" Mea culpa, I'll turn my but so you can kick it.... Rather like to have the VB code than the control, but it should do it... Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, November 29, 2007 12:38 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] HTML code stripper Hi Erwin Just curious, why wouldn't this control fit your purpose? To me it seems exactly what you are looking for but I may be missing something. The Chilkat ASP String Component is freeware and may be used in any ASP application. To install, download and unzip the ASP String Component. Then copy the CkString.dll to a directory on your ASP Web Server and register it with regsvr32.exe. The CkString.dll is a standard ActiveX component. It may also be used in Visual Basic 6.0, Delphi, Cold Fusion, Visual FoxPro, PowerBuilder, MFC, or any other programming language that supports ActiveX components. http://www.example-code.com/asp/aspstring.asp Example code here: set cks = Server.CreateObject("CkString.CkString") ' Strip HTML from a string. cks.Str = "

This is a test
Here is a test link

" cks.StripHtml ' Prints "This is a testHere is a test link" Response.Write cks.Str + "
" ' Perhaps it's better to replace
tags with SPACE chars first... cks.Str = "

This is a test
Here is a test link

" cks.ReplaceAll "
"," " cks.ReplaceAll "
"," " cks.StripHtml ' Prints "This is a test Here is a test link" Response.Write cks.Str
/gustav >>> Erwin.Craps at ithelps.eu 28-11-2007 20:40 >>> I already have the process automated, but I see that HTML code get's into my database. Things like
color etc. Some stuff I already replace/remove like
I just want plain simple text in this case. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Thu Nov 29 06:26:14 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 29 Nov 2007 13:26:14 +0100 Subject: [AccessD] HTML code stripper Message-ID: Hi Erwin Good! That explains. No kicking from here, but it would be nice if you posted your findings from experimenting with it. Building an HTML parser yourself is an alternative but it's like reinventing the wheel. /gustav >>> Erwin.Craps at ithelps.eu 29-11-2007 13:07 >>> I thought it was a ASP for websites only! Didn't see the "Strip HTML tags from a string" but only the " HTML Entity Decode" Mea culpa, I'll turn my but so you can kick it.... Rather like to have the VB code than the control, but it should do it... Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, November 29, 2007 12:38 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] HTML code stripper Hi Erwin Just curious, why wouldn't this control fit your purpose? To me it seems exactly what you are looking for but I may be missing something. The Chilkat ASP String Component is freeware and may be used in any ASP application. To install, download and unzip the ASP String Component. Then copy the CkString.dll to a directory on your ASP Web Server and register it with regsvr32.exe. The CkString.dll is a standard ActiveX component. It may also be used in Visual Basic 6.0, Delphi, Cold Fusion, Visual FoxPro, PowerBuilder, MFC, or any other programming language that supports ActiveX components. http://www.example-code.com/asp/aspstring.asp Example code here: set cks = Server.CreateObject("CkString.CkString") ' Strip HTML from a string. cks.Str = "

This is a test
Here is a test link

" cks.StripHtml ' Prints "This is a testHere is a test link" Response.Write cks.Str + "
" ' Perhaps it's better to replace
tags with SPACE chars first... cks.Str = "

This is a test
Here is a test link

" cks.ReplaceAll "
"," " cks.ReplaceAll "
"," " cks.StripHtml ' Prints "This is a test Here is a test link" Response.Write cks.Str
/gustav >>> Erwin.Craps at ithelps.eu 28-11-2007 20:40 >>> I already have the process automated, but I see that HTML code get's into my database. Things like
color etc. Some stuff I already replace/remove like
I just want plain simple text in this case. From bbruen at unwired.com.au Thu Nov 29 07:04:13 2007 From: bbruen at unwired.com.au (Bruce Bruen) Date: Fri, 30 Nov 2007 00:04:13 +1100 Subject: [AccessD] HTML code stripper In-Reply-To: <430E80531228BA4497C5EB1A7BA786B0276F78@stekelbes.ithelps.local> References: <430E80531228BA4497C5EB1A7BA786B0276F78@stekelbes.ithelps.local> Message-ID: <200711300004.13685.bbruen@unwired.com.au> .Innertext will only return the complete html of the tag it is invoked on. This includes all tags, scripting and booofle contained therein. I have never yet been successful at html "scraping". At best you can locate and extract [bold]well constructed[/bold] and [bold]for want of a better phrase, "well formed"[/bold] information. However, the problems are: 1) the html page syntax can change, almost daily. 2) the paucious (specious?) html specification means that tag (mis)matching breaks the syntax parsing continually. Much better to investigate whether there is an xml feed equivalent. regards bruce From Chester_Kaup at kindermorgan.com Thu Nov 29 07:44:30 2007 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Thu, 29 Nov 2007 07:44:30 -0600 Subject: [AccessD] API: Remove Close button from maximized forms In-Reply-To: <20071128230746.197BF19FB0@smtp-out-02.usinternet.com> References: <20071128230746.197BF19FB0@smtp-out-02.usinternet.com> Message-ID: The code actually removes the restore window button. The problem with turning off the close button is that when a form is maximized in code the button reaapears. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, November 28, 2007 5:08 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] API: Remove Close button from maximized forms You can turn the Close button for forms on or off using each form's property sheet. I turn it off for every form. Same for Min/Max. Perhaps that would work . . . Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, November 28, 2007 3:07 PM To: Access Developers discussion and problem solving Subject: [AccessD] API: Remove Close button from maximized forms I am using the API: Remove Close button from maximized forms from the Access Web website.(www.mvps.org/access/api/aqpioo22.htm) It works great on the first form in the DB that opens. On subsequent forms the result is not as good. The form opens to full size with the blue bar across the top. I use the following lines of code to run the function from the on open event. DoCmd.Restore DoEvents MaximizeRestoredForm Me I have also tried it explicitly naming the form with the same result. Thanks for your ideas. 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 dwaters at usinternet.com Thu Nov 29 08:04:28 2007 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 29 Nov 2007 08:04:28 -0600 Subject: [AccessD] API: Remove Close button from maximized forms In-Reply-To: References: <20071128230746.197BF19FB0@smtp-out-02.usinternet.com> Message-ID: <000501c83290$c1da7ca0$0300a8c0@danwaters> I just looked at one of my forms - try this: Control Box = No Min Max Buttons = None Close Button = No Whats This Button = No This combination of property settings keeps everything not visible on my forms (but I always have a separate Close button). However, I haven't used maximized forms so I haven't seen what that would do. Good Luck Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Thursday, November 29, 2007 7:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] API: Remove Close button from maximized forms The code actually removes the restore window button. The problem with turning off the close button is that when a form is maximized in code the button reaapears. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, November 28, 2007 5:08 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] API: Remove Close button from maximized forms You can turn the Close button for forms on or off using each form's property sheet. I turn it off for every form. Same for Min/Max. Perhaps that would work . . . Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, November 28, 2007 3:07 PM To: Access Developers discussion and problem solving Subject: [AccessD] API: Remove Close button from maximized forms I am using the API: Remove Close button from maximized forms from the Access Web website.(www.mvps.org/access/api/aqpioo22.htm) It works great on the first form in the DB that opens. On subsequent forms the result is not as good. The form opens to full size with the blue bar across the top. I use the following lines of code to run the function from the on open event. DoCmd.Restore DoEvents MaximizeRestoredForm Me I have also tried it explicitly naming the form with the same result. Thanks for your ideas. 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 mmattys at rochester.rr.com Thu Nov 29 22:01:23 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Thu, 29 Nov 2007 23:01:23 -0500 Subject: [AccessD] Trim in Access 2007 Message-ID: <007b01c83305$afaca740$0202a8c0@Laptop> All fields in table defined as TEXT (39) I wrote: For Each fld In oDB.TableDefs("CASS").Fields qdfTrim.SQL = "UPDATE CASS SET CASS.[" & fld.Name & "] = Trim([" & fld.Name & "])" qdfTrim.Execute Next When I do a Len(AnyField), they are all 39. How do I know if Trim() worked or not? What's going on here? Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com From Patricia.O'Connor at otda.state.ny.us Thu Nov 29 23:52:06 2007 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Fri, 30 Nov 2007 00:52:06 -0500 Subject: [AccessD] Trim in Access 2007 References: <007b01c83305$afaca740$0202a8c0@Laptop> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE80253C1B5@EXCNYSM0A1AI.nysemail.nyenet> I think you are getting field.NAME mixed up with the value in the field.VALUE. I am not at work so I can't verify the full statement but you could try Dim oDB As DAO.Database Dim oTbl As DAO.TableDef Dim oQry As DAO.QueryDef Dim oFld As DAO.Field Dim strTmp as string Dim strSql as string Set oDB = CurrentDb Set oTbl = odb.TableDefs("CASS") strSql = "UPDATE CASS SET CASS.[" For Each oFld In oTbl.Fields strTmp = TRIM(ofld.VALUE) Debug.print = ofld.Name " - Untrimmed: " & LEN(fld.VALUE) & " trimmed: " & LEN(strTmp) qdfTrim.SQL = strSQL & ofld.Name & "] = " & strTmp qdfTrim.Execute Next HTH ************************************************************* * Patricia E. O'Connor * Associate Computer Programmer/Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (W) mailto:aa1160 at otda.state.ny.us *********************************************************** -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Michael R Mattys Sent: Thu 11/29/2007 11:01 PM To: AccessD Subject: [AccessD] Trim in Access 2007 All fields in table defined as TEXT (39) I wrote: For Each fld In oDB.TableDefs("CASS").Fields qdfTrim.SQL = "UPDATE CASS SET CASS.[" & fld.Name & "] = Trim([" & fld.Name & "])" qdfTrim.Execute Next When I do a Len(AnyField), they are all 39. How do I know if Trim() worked or not? What's going on here? Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.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 Nov 30 06:45:04 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 30 Nov 2007 13:45:04 +0100 Subject: [AccessD] OT: Friday (weekend) fun: Erlang Message-ID: Hi all Everyone seems so busy, so here's something for a relaxing weekend. Predicting that in 2019 we will have the million core processor, you need to use a language capable of parallel processing. Erlang is one. And it is free and open-source: http://www.erlang.org Note chapter 3, Concurrent Programming, here: http://www.erlang.org/doc/getting_started/part_frame.html Also, a community exists: http://www.trapexit.org/ Have fun! /gustav From fuller.artful at gmail.com Fri Nov 30 06:53:59 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 30 Nov 2007 07:53:59 -0500 Subject: [AccessD] OT: Friday (weekend) fun: Erlang In-Reply-To: References: Message-ID: <29f585dd0711300453i7193a214ydc276ee43b5354f9@mail.gmail.com> If I'm not dead and cremated by then, Gustav, this could be important. I will look into it, on the off-chance that I'm still breathing when it happens. Better safe than sorry. A. From jwcolby at colbyconsulting.com Fri Nov 30 07:00:56 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 30 Nov 2007 08:00:56 -0500 Subject: [AccessD] OT: Friday (weekend) fun: Erlang In-Reply-To: References: Message-ID: <001201c83351$0c307910$647aa8c0@M90> OK, let's get real. Assuming that Moore's law continues for that period, we would double the number of transistors every 2 years which means 12 years / 2 = 6 doublings. We currently have 4 processors so that means 2^8 processors = 256 processors. The problem as I see it is that memory module size is stalled. I have to hope that the problem lies in the fact that 32 bit windows did not allow more than 4 g byte so there was no active need to go further. With the 64 bit OS' finally making it into the picture, perhaps the memory module makers will put the problem back on the front burner. On a more interesting note, Solid State Disks are finally here and readily available: http://www.newegg.com/Store/SubCategory.aspx?SubCategory=636&Tpk=solid+state +disk Yes, they are still expensive but even these prices are low compared to what was available and these prices are dropping rapidly as manufacturing picks up steam. Dell is now actually shipping laptops with a 64 gb solid state disk. We live in exciting times. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, November 30, 2007 7:45 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Friday (weekend) fun: Erlang Hi all Everyone seems so busy, so here's something for a relaxing weekend. Predicting that in 2019 we will have the million core processor, you need to use a language capable of parallel processing. Erlang is one. And it is free and open-source: http://www.erlang.org Note chapter 3, Concurrent Programming, here: http://www.erlang.org/doc/getting_started/part_frame.html Also, a community exists: http://www.trapexit.org/ Have fun! /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmattys at rochester.rr.com Fri Nov 30 07:05:58 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 30 Nov 2007 08:05:58 -0500 Subject: [AccessD] Trim in Access 2007 References: <007b01c83305$afaca740$0202a8c0@Laptop> <01DBAB52E30A9A4AB3D94EF8029EDBE80253C1B5@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: <001c01c83351$c517fbb0$0202a8c0@Laptop> Hi Patricia & Group, I wish to trim all values in the column rather than set them all to a single value. I will certainly try this on a copy of my table, but the SQL view of an Update query will confirm that the Field.Name should be used. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "O'Connor, Patricia (OTDA)" To: "Access Developers discussion and problem solving" Sent: Friday, November 30, 2007 12:52 AM Subject: Re: [AccessD] Trim in Access 2007 >I think you are getting field.NAME mixed up with the value in the >field.VALUE. > I am not at work so I can't verify the full statement but you could try > > Dim oDB As DAO.Database > Dim oTbl As DAO.TableDef > Dim oQry As DAO.QueryDef > Dim oFld As DAO.Field > > Dim strTmp as string > Dim strSql as string > > Set oDB = CurrentDb > Set oTbl = odb.TableDefs("CASS") > strSql = "UPDATE CASS SET CASS.[" > > For Each oFld In oTbl.Fields > strTmp = TRIM(ofld.VALUE) > Debug.print = ofld.Name " - Untrimmed: " & LEN(fld.VALUE) & " trimmed: > " & LEN(strTmp) > > qdfTrim.SQL = strSQL & ofld.Name & "] = " & strTmp > qdfTrim.Execute > Next > > HTH > > ************************************************************* > * Patricia E. O'Connor > * Associate Computer Programmer/Analyst > * OTDA - BDMA > * (W) mailto:Patricia.O'Connor at otda.state.ny.us > * (W) mailto:aa1160 at otda.state.ny.us > *********************************************************** > > > -------------------------------------------------------- > This e-mail, including any attachments, may be confidential, privileged or > otherwise legally protected. It is intended only for the addressee. If you > received this e-mail in error or from someone who was not authorized to > send it to you, do not disseminate, copy or otherwise use this e-mail or > its attachments. Please notify the sender immediately by reply e-mail and > delete the e-mail from your system. > > > ________________________________ > > > From: accessd-bounces at databaseadvisors.com on behalf of Michael R Mattys > Sent: Thu 11/29/2007 11:01 PM > To: AccessD > Subject: [AccessD] Trim in Access 2007 > > > > All fields in table defined as TEXT (39) > > I wrote: > For Each fld In oDB.TableDefs("CASS").Fields > qdfTrim.SQL = "UPDATE CASS SET CASS.[" & fld.Name & "] = Trim([" & > fld.Name & "])" > qdfTrim.Execute > Next > > When I do a Len(AnyField), they are all 39. > How do I know if Trim() worked or not? > What's going on here? > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 30 07:08:45 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 30 Nov 2007 08:08:45 -0500 Subject: [AccessD] OT: Friday (weekend) fun: Erlang In-Reply-To: References: Message-ID: <001801c83352$23f7b3f0$647aa8c0@M90> What I find amusing is that the current 4 core desktop computer is more that a supercomputer from 1980. Why aren't we able to run all of the oh so cool things that ran on the supercomputers 30 years ago. We could simulate a nuclear bomb or the weather if we were willing to allow our computers to run uninterrupted for a couple of months. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, November 30, 2007 7:45 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Friday (weekend) fun: Erlang Hi all Everyone seems so busy, so here's something for a relaxing weekend. Predicting that in 2019 we will have the million core processor, you need to use a language capable of parallel processing. Erlang is one. And it is free and open-source: http://www.erlang.org Note chapter 3, Concurrent Programming, here: http://www.erlang.org/doc/getting_started/part_frame.html Also, a community exists: http://www.trapexit.org/ Have fun! /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmattys at rochester.rr.com Fri Nov 30 08:04:06 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 30 Nov 2007 09:04:06 -0500 Subject: [AccessD] Trim in Access 2007 References: <007b01c83305$afaca740$0202a8c0@Laptop> <01DBAB52E30A9A4AB3D94EF8029EDBE80253C1B5@EXCNYSM0A1AI.nysemail.nyenet> <001c01c83351$c517fbb0$0202a8c0@Laptop> Message-ID: <004301c83359$e58e8e10$0202a8c0@Laptop> Unfortunately, strTmp = Trim(oFld.Value) is invalid in this context. Thank you anyway, Patricia. Feel free to try again. I'm stumped. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Michael R Mattys" To: "Access Developers discussion and problem solving" Sent: Friday, November 30, 2007 8:05 AM Subject: Re: [AccessD] Trim in Access 2007 > Hi Patricia & Group, > > I wish to trim all values in the column rather than set them > all to a single value. I will certainly try this on a copy of my > table, but the SQL view of an Update query will confirm that > the Field.Name should be used. > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "O'Connor, Patricia (OTDA)" > To: "Access Developers discussion and problem solving" > > Sent: Friday, November 30, 2007 12:52 AM > Subject: Re: [AccessD] Trim in Access 2007 > > >>I think you are getting field.NAME mixed up with the value in the >>field.VALUE. >> I am not at work so I can't verify the full statement but you could try >> >> Dim oDB As DAO.Database >> Dim oTbl As DAO.TableDef >> Dim oQry As DAO.QueryDef >> Dim oFld As DAO.Field >> >> Dim strTmp as string >> Dim strSql as string >> >> Set oDB = CurrentDb >> Set oTbl = odb.TableDefs("CASS") >> strSql = "UPDATE CASS SET CASS.[" >> >> For Each oFld In oTbl.Fields >> strTmp = TRIM(ofld.VALUE) >> Debug.print = ofld.Name " - Untrimmed: " & LEN(fld.VALUE) & " >> trimmed: >> " & LEN(strTmp) >> >> qdfTrim.SQL = strSQL & ofld.Name & "] = " & strTmp >> qdfTrim.Execute >> Next >> >> HTH >> >> ************************************************************* >> * Patricia E. O'Connor >> * Associate Computer Programmer/Analyst >> * OTDA - BDMA >> * (W) mailto:Patricia.O'Connor at otda.state.ny.us >> * (W) mailto:aa1160 at otda.state.ny.us >> *********************************************************** >> >> >> -------------------------------------------------------- >> This e-mail, including any attachments, may be confidential, privileged >> or >> otherwise legally protected. It is intended only for the addressee. If >> you >> received this e-mail in error or from someone who was not authorized to >> send it to you, do not disseminate, copy or otherwise use this e-mail or >> its attachments. Please notify the sender immediately by reply e-mail >> and >> delete the e-mail from your system. >> >> >> ________________________________ >> >> >> From: accessd-bounces at databaseadvisors.com on behalf of Michael R Mattys >> Sent: Thu 11/29/2007 11:01 PM >> To: AccessD >> Subject: [AccessD] Trim in Access 2007 >> >> >> >> All fields in table defined as TEXT (39) >> >> I wrote: >> For Each fld In oDB.TableDefs("CASS").Fields >> qdfTrim.SQL = "UPDATE CASS SET CASS.[" & fld.Name & "] = Trim([" & >> fld.Name & "])" >> qdfTrim.Execute >> Next >> >> When I do a Len(AnyField), they are all 39. >> How do I know if Trim() worked or not? >> What's going on here? >> >> Michael R. Mattys >> MapPoint & Access Dev >> www.mattysconsulting.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Fri Nov 30 08:28:20 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Fri, 30 Nov 2007 14:28:20 -0000 Subject: [AccessD] OT: Friday (weekend) fun: Erlang In-Reply-To: <001801c83352$23f7b3f0$647aa8c0@M90> Message-ID: <00e901c8335d$4217f2e0$8119fea9@LTVM> Oh year, what a good idea. WOPR all over again...Play "Global Thermonuclear War" Wikepeida says:- WOPR is a form of artificial intelligence, programmed to play numerous strategy and war games, including one called Global Thermonuclear War, the purpose being to enable itself to optimally respond to any possible enemy nuclear attack. WarGames In WarGames, David Lightman (Matthew Broderick), a teenage computer hacker unwittingly makes contact with WOPR by dialing random phone numbers (known as Wardialing). Believing he has discovered a backdoor to the mainframe at a computer game development company, he hacks into WOPR, finds a list of games and gives the command to play the Global Thermonuclear War scenario. In the process, WOPR begins running the simulation on the main screen at NORAD, making the staff there think the Soviet Union is readying their missiles for a first strike. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, November 30, 2007 1:09 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Friday (weekend) fun: Erlang What I find amusing is that the current 4 core desktop computer is more that a supercomputer from 1980. Why aren't we able to run all of the oh so cool things that ran on the supercomputers 30 years ago. We could simulate a nuclear bomb or the weather if we were willing to allow our computers to run uninterrupted for a couple of months. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, November 30, 2007 7:45 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Friday (weekend) fun: Erlang Hi all Everyone seems so busy, so here's something for a relaxing weekend. Predicting that in 2019 we will have the million core processor, you need to use a language capable of parallel processing. Erlang is one. And it is free and open-source: http://www.erlang.org Note chapter 3, Concurrent Programming, here: http://www.erlang.org/doc/getting_started/part_frame.html Also, a community exists: http://www.trapexit.org/ Have fun! /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Nov 30 08:31:32 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 30 Nov 2007 15:31:32 +0100 Subject: [AccessD] Trim in Access 2007 Message-ID: Hi Michael Haven't followed this thread until now. Could you explain what you try to do? Clear as mud for me ... /gustav >> From: accessd-bounces at databaseadvisors.com on behalf of Michael R Mattys >> Sent: Thu 11/29/2007 11:01 PM >> To: AccessD >> Subject: [AccessD] Trim in Access 2007 >> >> All fields in table defined as TEXT (39) >> >> I wrote: >> For Each fld In oDB.TableDefs("CASS").Fields >> qdfTrim.SQL = "UPDATE CASS SET CASS.[" & fld.Name & "] = Trim([" & >> fld.Name & "])" >> qdfTrim.Execute >> Next >> >> When I do a Len(AnyField), they are all 39. >> How do I know if Trim() worked or not? >> What's going on here? >> >> Michael R. Mattys >> MapPoint & Access Dev >> www.mattysconsulting.com From mmattys at rochester.rr.com Fri Nov 30 08:36:54 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 30 Nov 2007 09:36:54 -0500 Subject: [AccessD] Trim in Access 2007 References: <007b01c83305$afaca740$0202a8c0@Laptop> <01DBAB52E30A9A4AB3D94EF8029EDBE80253C1B5@EXCNYSM0A1AI.nysemail.nyenet> <001c01c83351$c517fbb0$0202a8c0@Laptop> <004301c83359$e58e8e10$0202a8c0@Laptop> Message-ID: <004e01c8335e$7885b4b0$0202a8c0@Laptop> This didn't work either; maybe the table is corrupt? Function TrimCass() Dim oDB As DAO.Database Dim oTbl As DAO.TableDef Dim oQry As DAO.QueryDef Dim oFld As DAO.Field Dim strTmp As String Dim strSql As String Set oDB = CurrentDb Set oQry = oDB.CreateQueryDef("Trimmer", "SELECT * FROM CASS") Set oTbl = oDB.TableDefs("CASS") For Each oFld In oTbl.Fields oQry.SQL = "UPDATE CASS SET CASS.[" & oFld.Name & "] = Trim([" & oFld.Name & "])" oDB.QueryDefs.Refresh DoCmd.SetWarnings False DoCmd.SelectObject acQuery, "Trimmer", True DoCmd.OpenQuery "Trimmer", acViewNormal DoCmd.SetWarnings True Next Set oTbl = Nothing Set oQry = Nothing Set oDB = Nothing End Function Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Michael R Mattys" To: "Access Developers discussion and problem solving" Sent: Friday, November 30, 2007 9:04 AM Subject: Re: [AccessD] Trim in Access 2007 > > Unfortunately, strTmp = Trim(oFld.Value) is invalid in this context. > Thank you anyway, Patricia. Feel free to try again. I'm stumped. > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com From mmattys at rochester.rr.com Fri Nov 30 08:46:24 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 30 Nov 2007 09:46:24 -0500 Subject: [AccessD] Trim in Access 2007 References: Message-ID: <005501c8335f$d0b14f90$0202a8c0@Laptop> Hi Gustav, I am doing the common operation of trimming fields that have extra spaces in them. These probably came from a fixed-width text-file, but I only receive the accdb. I execute the query and it has no effect on the spaces. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, November 30, 2007 9:31 AM Subject: Re: [AccessD] Trim in Access 2007 > Hi Michael > > Haven't followed this thread until now. > Could you explain what you try to do? Clear as mud for me ... > > /gustav From Gustav at cactus.dk Fri Nov 30 09:00:04 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 30 Nov 2007 16:00:04 +0100 Subject: [AccessD] Trim in Access 2007 Message-ID: Hi Matt Trim only trim outer spaces. Use MTrim to trim inner spaces as well: Public Function MTrim(ByVal strString As String) As String ' Trims strString for mid and outer spaces. ' ' 1999-06-23. Cactus Data ApS. CPH. Const cstrSpace As String * 1 = " " Dim lngTemp As Long Dim lngChop As Long Dim lngLoop As Long Dim strTemp As String Dim strTrim As String strTemp = Trim(strString) lngTemp = Len(strTemp) If lngTemp > 0 Then strTrim = strTemp lngChop = 1 Do lngChop = InStr(lngChop, strTrim, cstrSpace) If lngChop > 0 Then ' A space is found. Shift one character and ' overwrite this space in string strTrim. lngLoop = lngLoop + 1 Mid(strTrim, lngChop) = Mid(strTemp, lngChop + lngLoop) End If Loop Until lngChop = 0 ' String strTrim now contains no spaces. End If ' Return net length of trimmed string. MTrim = Left(strTrim, lngTemp - lngLoop) End Function /gustav >>> mmattys at rochester.rr.com 30-11-2007 15:46 >>> Hi Gustav, I am doing the common operation of trimming fields that have extra spaces in them. These probably came from a fixed-width text-file, but I only receive the accdb. I execute the query and it has no effect on the spaces. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, November 30, 2007 9:31 AM Subject: Re: [AccessD] Trim in Access 2007 > Hi Michael > > Haven't followed this thread until now. > Could you explain what you try to do? Clear as mud for me ... > > /gustav From Gustav at cactus.dk Fri Nov 30 09:05:58 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 30 Nov 2007 16:05:58 +0100 Subject: [AccessD] Trim in Access 2007 Message-ID: Hi Michael Ignoring Trim for a moment, why not just execute a temporary query: Function TrimCass() Dim oDB As DAO.Database Dim oTbl As DAO.TableDef Dim oQry As DAO.QueryDef Dim oFld As DAO.Field Dim strTmp As String Dim strSql As String Set oDB = CurrentDb Set oQry = oDB.CreateQueryDef("", "SELECT * FROM CASS") Set oTbl = oDB.TableDefs("CASS") For Each oFld In oTbl.Fields oQry.SQL = "UPDATE CASS SET CASS.[" & oFld.Name & "] = Trim([" & oFld.Name & "])" oQry.Execute Next Set oFld = Nothing Set oTbl = Nothing Set oQry = Nothing Set oDB = Nothing End Function /gustav From mmattys at rochester.rr.com Fri Nov 30 09:12:18 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 30 Nov 2007 10:12:18 -0500 Subject: [AccessD] Trim in Access 2007 References: Message-ID: <007801c83363$9f904430$0202a8c0@Laptop> Thanks Gustav, That took out all spaces, proving the table is not corrupt However, these are addresses ... :) Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, November 30, 2007 10:00 AM Subject: Re: [AccessD] Trim in Access 2007 > Hi Matt > > Trim only trim outer spaces. Use MTrim to trim inner spaces as well: > > Public Function MTrim(ByVal strString As String) As String > > ' Trims strString for mid and outer spaces. > ' > ' 1999-06-23. Cactus Data ApS. CPH. > > Const cstrSpace As String * 1 = " " > > Dim lngTemp As Long > Dim lngChop As Long > Dim lngLoop As Long > Dim strTemp As String > Dim strTrim As String > > strTemp = Trim(strString) > lngTemp = Len(strTemp) > If lngTemp > 0 Then > strTrim = strTemp > lngChop = 1 > Do > lngChop = InStr(lngChop, strTrim, cstrSpace) > If lngChop > 0 Then > ' A space is found. Shift one character and > ' overwrite this space in string strTrim. > lngLoop = lngLoop + 1 > Mid(strTrim, lngChop) = Mid(strTemp, lngChop + lngLoop) > End If > Loop Until lngChop = 0 > ' String strTrim now contains no spaces. > End If > > ' Return net length of trimmed string. > MTrim = Left(strTrim, lngTemp - lngLoop) > > End Function > > /gustav > >>>> mmattys at rochester.rr.com 30-11-2007 15:46 >>> > Hi Gustav, > > I am doing the common operation of trimming fields that have > extra spaces in them. These probably came from a fixed-width > text-file, but I only receive the accdb. > > I execute the query and it has no effect on the spaces. > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Friday, November 30, 2007 9:31 AM > Subject: Re: [AccessD] Trim in Access 2007 > > >> Hi Michael >> >> Haven't followed this thread until now. >> Could you explain what you try to do? Clear as mud for me ... >> >> /gustav > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From mmattys at rochester.rr.com Fri Nov 30 09:13:46 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 30 Nov 2007 10:13:46 -0500 Subject: [AccessD] Trim in Access 2007 References: Message-ID: <007901c83363$a072b4f0$0202a8c0@Laptop> Yes, that's what I had originally. Trim() does not appear to work at all I'll have to do it with a custom function like yours. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, November 30, 2007 10:05 AM Subject: Re: [AccessD] Trim in Access 2007 > Hi Michael > > Ignoring Trim for a moment, why not just execute a temporary query: > > Function TrimCass() > > Dim oDB As DAO.Database > Dim oTbl As DAO.TableDef > Dim oQry As DAO.QueryDef > Dim oFld As DAO.Field > > Dim strTmp As String > Dim strSql As String > > Set oDB = CurrentDb > Set oQry = oDB.CreateQueryDef("", "SELECT * FROM CASS") > Set oTbl = oDB.TableDefs("CASS") > > For Each oFld In oTbl.Fields > oQry.SQL = "UPDATE CASS SET CASS.[" & oFld.Name & "] = Trim([" & > oFld.Name & "])" > oQry.Execute > Next > > Set oFld = Nothing > Set oTbl = Nothing > Set oQry = Nothing > Set oDB = Nothing > > End Function > > /gustav > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From mmattys at rochester.rr.com Fri Nov 30 09:24:40 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 30 Nov 2007 10:24:40 -0500 Subject: [AccessD] Trim in Access 2007 References: <007901c83363$a072b4f0$0202a8c0@Laptop> Message-ID: <008b01c83365$23c1dc40$0202a8c0@Laptop> I'm going to try this Trim replacement: http://www.vbcode.com/Asp/showsn.asp?theID=967 Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Michael R Mattys" To: "Access Developers discussion and problem solving" Sent: Friday, November 30, 2007 10:13 AM Subject: Re: [AccessD] Trim in Access 2007 > Yes, that's what I had originally. > Trim() does not appear to work at all > I'll have to do it with a custom function like yours. > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Friday, November 30, 2007 10:05 AM > Subject: Re: [AccessD] Trim in Access 2007 > > >> Hi Michael >> >> Ignoring Trim for a moment, why not just execute a temporary query: From Gustav at cactus.dk Fri Nov 30 09:30:31 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 30 Nov 2007 16:30:31 +0100 Subject: [AccessD] Trim in Access 2007 Message-ID: Hi Michael OK, then try to modify it like this: Const cstrSpace As String * 2 = " " /gustav >>> mmattys at rochester.rr.com 30-11-2007 16:12 >>> Thanks Gustav, That took out all spaces, proving the table is not corrupt However, these are addresses ... :) Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, November 30, 2007 10:00 AM Subject: Re: [AccessD] Trim in Access 2007 > Hi Matt > > Trim only trim outer spaces. Use MTrim to trim inner spaces as well: > > Public Function MTrim(ByVal strString As String) As String > > ' Trims strString for mid and outer spaces. > ' > ' 1999-06-23. Cactus Data ApS. CPH. > > Const cstrSpace As String * 1 = " " > > Dim lngTemp As Long > Dim lngChop As Long > Dim lngLoop As Long > Dim strTemp As String > Dim strTrim As String > > strTemp = Trim(strString) > lngTemp = Len(strTemp) > If lngTemp > 0 Then > strTrim = strTemp > lngChop = 1 > Do > lngChop = InStr(lngChop, strTrim, cstrSpace) > If lngChop > 0 Then > ' A space is found. Shift one character and > ' overwrite this space in string strTrim. > lngLoop = lngLoop + 1 > Mid(strTrim, lngChop) = Mid(strTemp, lngChop + lngLoop) > End If > Loop Until lngChop = 0 > ' String strTrim now contains no spaces. > End If > > ' Return net length of trimmed string. > MTrim = Left(strTrim, lngTemp - lngLoop) > > End Function > > /gustav > >>>> mmattys at rochester.rr.com 30-11-2007 15:46 >>> > Hi Gustav, > > I am doing the common operation of trimming fields that have > extra spaces in them. These probably came from a fixed-width > text-file, but I only receive the accdb. > > I execute the query and it has no effect on the spaces. > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Friday, November 30, 2007 9:31 AM > Subject: Re: [AccessD] Trim in Access 2007 > > >> Hi Michael >> >> Haven't followed this thread until now. >> Could you explain what you try to do? Clear as mud for me ... >> >> /gustav From rusty.hammond at cpiqpc.com Fri Nov 30 09:39:06 2007 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Fri, 30 Nov 2007 09:39:06 -0600 Subject: [AccessD] Trim in Access 2007 Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A2584C070@cpixchng-1.cpiqpc.net> Not having worked with Access 2007 this is just a wag, but in SQL you can set a field as char (fixed length text) or varchar ( variable length text). Is this same capability in Access 2007 and could it be that your field type is set to fixed length? Rusty -----Original Message----- From: Michael R Mattys [mailto:mmattys at rochester.rr.com] Sent: Friday, November 30, 2007 9:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Trim in Access 2007 I'm going to try this Trim replacement: http://www.vbcode.com/Asp/showsn.asp?theID=967 Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Michael R Mattys" To: "Access Developers discussion and problem solving" Sent: Friday, November 30, 2007 10:13 AM Subject: Re: [AccessD] Trim in Access 2007 > Yes, that's what I had originally. > Trim() does not appear to work at all > I'll have to do it with a custom function like yours. > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Friday, November 30, 2007 10:05 AM > Subject: Re: [AccessD] Trim in Access 2007 > > >> Hi Michael >> >> Ignoring Trim for a moment, why not just execute a temporary query: -- 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 pharold at proftesting.com Fri Nov 30 09:40:38 2007 From: pharold at proftesting.com (Perry L Harold) Date: Fri, 30 Nov 2007 10:40:38 -0500 Subject: [AccessD] Trim in Access 2007 References: Message-ID: Michael I think if you change the constant to Const cstrSpace As String * 2 = " " It should replace all double spaces with a single space. If there are multiple spaces, especially if the field is right packed, the loop would have to be rerun until no double spaces exist. Perry Harold -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, November 30, 2007 10:00 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Trim in Access 2007 Hi Matt Trim only trim outer spaces. Use MTrim to trim inner spaces as well: Public Function MTrim(ByVal strString As String) As String ' Trims strString for mid and outer spaces. ' ' 1999-06-23. Cactus Data ApS. CPH. Const cstrSpace As String * 1 = " " Dim lngTemp As Long Dim lngChop As Long Dim lngLoop As Long Dim strTemp As String Dim strTrim As String strTemp = Trim(strString) lngTemp = Len(strTemp) If lngTemp > 0 Then strTrim = strTemp lngChop = 1 Do lngChop = InStr(lngChop, strTrim, cstrSpace) If lngChop > 0 Then ' A space is found. Shift one character and ' overwrite this space in string strTrim. lngLoop = lngLoop + 1 Mid(strTrim, lngChop) = Mid(strTemp, lngChop + lngLoop) End If Loop Until lngChop = 0 ' String strTrim now contains no spaces. End If ' Return net length of trimmed string. MTrim = Left(strTrim, lngTemp - lngLoop) End Function /gustav >>> mmattys at rochester.rr.com 30-11-2007 15:46 >>> Hi Gustav, I am doing the common operation of trimming fields that have extra spaces in them. These probably came from a fixed-width text-file, but I only receive the accdb. I execute the query and it has no effect on the spaces. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, November 30, 2007 9:31 AM Subject: Re: [AccessD] Trim in Access 2007 > Hi Michael > > Haven't followed this thread until now. > Could you explain what you try to do? Clear as mud for me ... > > /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmattys at rochester.rr.com Fri Nov 30 09:48:31 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 30 Nov 2007 10:48:31 -0500 Subject: [AccessD] Trim in Access 2007 References: Message-ID: <00ae01c83368$7ace1280$0202a8c0@Laptop> Yes! Excellent, Gustav. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, November 30, 2007 10:30 AM Subject: Re: [AccessD] Trim in Access 2007 > Hi Michael > > OK, then try to modify it like this: > > Const cstrSpace As String * 2 = " " > > /gustav > >>>> mmattys at rochester.rr.com 30-11-2007 16:12 >>> > Thanks Gustav, > > That took out all spaces, proving the table is not corrupt > However, these are addresses ... :) > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Friday, November 30, 2007 10:00 AM > Subject: Re: [AccessD] Trim in Access 2007 > > >> Hi Matt >> >> Trim only trim outer spaces. Use MTrim to trim inner spaces as well: >> >> Public Function MTrim(ByVal strString As String) As String >> >> ' Trims strString for mid and outer spaces. >> ' >> ' 1999-06-23. Cactus Data ApS. CPH. >> >> Const cstrSpace As String * 1 = " " >> >> Dim lngTemp As Long >> Dim lngChop As Long >> Dim lngLoop As Long >> Dim strTemp As String >> Dim strTrim As String >> >> strTemp = Trim(strString) >> lngTemp = Len(strTemp) >> If lngTemp > 0 Then >> strTrim = strTemp >> lngChop = 1 >> Do >> lngChop = InStr(lngChop, strTrim, cstrSpace) >> If lngChop > 0 Then >> ' A space is found. Shift one character and >> ' overwrite this space in string strTrim. >> lngLoop = lngLoop + 1 >> Mid(strTrim, lngChop) = Mid(strTemp, lngChop + lngLoop) >> End If >> Loop Until lngChop = 0 >> ' String strTrim now contains no spaces. >> End If >> >> ' Return net length of trimmed string. >> MTrim = Left(strTrim, lngTemp - lngLoop) >> >> End Function >> >> /gustav >> >>>>> mmattys at rochester.rr.com 30-11-2007 15:46 >>> >> Hi Gustav, >> >> I am doing the common operation of trimming fields that have >> extra spaces in them. These probably came from a fixed-width >> text-file, but I only receive the accdb. >> >> I execute the query and it has no effect on the spaces. >> >> Michael R. Mattys >> MapPoint & Access Dev >> www.mattysconsulting.com >> >> ----- Original Message ----- >> From: "Gustav Brock" >> To: >> Sent: Friday, November 30, 2007 9:31 AM >> Subject: Re: [AccessD] Trim in Access 2007 >> >> >>> Hi Michael >>> >>> Haven't followed this thread until now. >>> Could you explain what you try to do? Clear as mud for me ... >>> >>> /gustav > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From ssharkins at gmail.com Fri Nov 30 09:49:55 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 30 Nov 2007 10:49:55 -0500 Subject: [AccessD] OT: For the diversified list Message-ID: <00f001c83368$a8f40980$4b3a8343@SusanOne> >From my 9 year old granddaughters: When you go into the bathroom, you're American. When you come out of the bathroom, you're American. What are you when you're IN the bathroom.... . . . . You're a peein! Yo From mmattys at rochester.rr.com Fri Nov 30 09:54:42 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 30 Nov 2007 10:54:42 -0500 Subject: [AccessD] Trim in Access 2007 References: <8301C8A868251E4C8ECD3D4FFEA40F8A2584C070@cpixchng-1.cpiqpc.net> Message-ID: <00b301c83369$53c8cb70$0202a8c0@Laptop> Hi Rusty, No, still the same old field definitions (afaict) Gustav's function works, I don't know why Trim wouldn't. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: To: Sent: Friday, November 30, 2007 10:39 AM Subject: Re: [AccessD] Trim in Access 2007 > Not having worked with Access 2007 this is just a wag, but in SQL you can > set a field as char (fixed length text) or varchar ( variable length > text). > Is this same capability in Access 2007 and could it be that your field > type > is set to fixed length? > > Rusty From Lambert.Heenan at AIG.com Fri Nov 30 10:04:50 2007 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 30 Nov 2007 11:04:50 -0500 Subject: [AccessD] OT: Friday (weekend) fun: Erlang Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED74E0@XLIVMBX35bkup.aig.com> Early adopters form a line. Personally I don't need to spend over $3,399 on a 128 Gig drive. http://www.newegg.com/Product/Product.aspx?Item=N82E16820609259 Interesting that the spec provided quote data throughput but not access speeds. I think I'll wait until it gets down to a more realistic $40 or $50. :-) http://www.newegg.com/Product/Product.aspx?Item=N82E16822136075 Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, November 30, 2007 8:01 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Friday (weekend) fun: Erlang On a more interesting note, Solid State Disks are finally here and readily available: http://www.newegg.com/Store/SubCategory.aspx?SubCategory=636&Tpk=solid+state +disk Yes, they are still expensive but even these prices are low compared to what was available and these prices are dropping rapidly as manufacturing picks up steam. Dell is now actually shipping laptops with a 64 gb solid state disk. We live in exciting times. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, November 30, 2007 7:45 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Friday (weekend) fun: Erlang Hi all Everyone seems so busy, so here's something for a relaxing weekend. Predicting that in 2019 we will have the million core processor, you need to use a language capable of parallel processing. Erlang is one. And it is free and open-source: http://www.erlang.org Note chapter 3, Concurrent Programming, here: http://www.erlang.org/doc/getting_started/part_frame.html Also, a community exists: http://www.trapexit.org/ Have fun! /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Nov 30 10:06:16 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 30 Nov 2007 17:06:16 +0100 Subject: [AccessD] Trim in Access 2007 Message-ID: Hi Michael It could be that Trim on its own is a native function of JET SQL while using a custom function will call Trim of VBA. /gustav >>> mmattys at rochester.rr.com 30-11-2007 16:54 >>> Hi Rusty, No, still the same old field definitions (afaict) Gustav's function works, I don't know why Trim wouldn't. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: To: Sent: Friday, November 30, 2007 10:39 AM Subject: Re: [AccessD] Trim in Access 2007 > Not having worked with Access 2007 this is just a wag, but in SQL you can > set a field as char (fixed length text) or varchar ( variable length > text). > Is this same capability in Access 2007 and could it be that your field > type > is set to fixed length? > > Rusty From jwcolby at colbyconsulting.com Fri Nov 30 10:24:06 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 30 Nov 2007 11:24:06 -0500 Subject: [AccessD] OT: Friday (weekend) fun: Erlang In-Reply-To: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED74E0@XLIVMBX35bkup.aig.com> References: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED74E0@XLIVMBX35bkup.aig.com> Message-ID: <001c01c8336d$6e1dd5c0$647aa8c0@M90> LOL, think back Lambert. In 1982 I purchased a dual 8" floppy which provided me with 1 mb of data storage per drive. $600 Paid. I am certainly not buying these solid state disks, simply noting that they are finally available. However last year I paid $125 for a board and $100 / gigabyte to build a 4 gig ram drive because I needed it. The access speed was key to getting double the performance out of an address validation system. That is $500 for 4 gigs, which I purchased less than 2 years ago, and it did exactly what I needed and paid for itself 10 times over. These new drives are $430 for a 32 gig drive that is plug in compatible with my IDE port. http://www.newegg.com/Product/Product.aspx?Item=N82E16820147021 And how much was your example hard disk 2 years ago? These flash disks will probably never replace rotating media everywhere, but they are actually a great medium for certain uses. Imagine a data logger on low powered system, or in a car, logging data from the car's engine, or in an airplane logging data, or in a low power laptop. There are many places where the unreliability of rotating media just makes them risky to use. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Friday, November 30, 2007 11:05 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Friday (weekend) fun: Erlang Early adopters form a line. Personally I don't need to spend over $3,399 on a 128 Gig drive. http://www.newegg.com/Product/Product.aspx?Item=N82E16820609259 Interesting that the spec provided quote data throughput but not access speeds. I think I'll wait until it gets down to a more realistic $40 or $50. :-) http://www.newegg.com/Product/Product.aspx?Item=N82E16822136075 Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, November 30, 2007 8:01 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Friday (weekend) fun: Erlang On a more interesting note, Solid State Disks are finally here and readily available: http://www.newegg.com/Store/SubCategory.aspx?SubCategory=636&Tpk=solid+state +disk Yes, they are still expensive but even these prices are low compared to what was available and these prices are dropping rapidly as manufacturing picks up steam. Dell is now actually shipping laptops with a 64 gb solid state disk. We live in exciting times. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, November 30, 2007 7:45 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Friday (weekend) fun: Erlang Hi all Everyone seems so busy, so here's something for a relaxing weekend. Predicting that in 2019 we will have the million core processor, you need to use a language capable of parallel processing. Erlang is one. And it is free and open-source: http://www.erlang.org Note chapter 3, Concurrent Programming, here: http://www.erlang.org/doc/getting_started/part_frame.html Also, a community exists: http://www.trapexit.org/ Have fun! /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmattys at rochester.rr.com Fri Nov 30 10:49:42 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 30 Nov 2007 11:49:42 -0500 Subject: [AccessD] Trim in Access 2007 References: Message-ID: <010601c83371$02564b70$0202a8c0@Laptop> Gustav, I don't know, but I'll use your MTrim from now on. Thanks again. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, November 30, 2007 11:06 AM Subject: Re: [AccessD] Trim in Access 2007 > Hi Michael > > It could be that Trim on its own is a native function of JET SQL while > using a custom function will call Trim of VBA. > > /gustav > >>>> mmattys at rochester.rr.com 30-11-2007 16:54 >>> > Hi Rusty, > > No, still the same old field definitions (afaict) > Gustav's function works, I don't know why Trim wouldn't. > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com From jimdettman at verizon.net Fri Nov 30 11:08:03 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 30 Nov 2007 12:08:03 -0500 Subject: [AccessD] OT: Friday (weekend) fun: Erlang In-Reply-To: <001801c83352$23f7b3f0$647aa8c0@M90> References: <001801c83352$23f7b3f0$647aa8c0@M90> Message-ID: <001401c83373$91d944d0$8abea8c0@XPS> << Why aren't we able to run all of the oh so cool things that ran on the supercomputers 30 years ago. >> Because we use Windoze... Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, November 30, 2007 8:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Friday (weekend) fun: Erlang What I find amusing is that the current 4 core desktop computer is more that a supercomputer from 1980. Why aren't we able to run all of the oh so cool things that ran on the supercomputers 30 years ago. We could simulate a nuclear bomb or the weather if we were willing to allow our computers to run uninterrupted for a couple of months. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, November 30, 2007 7:45 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Friday (weekend) fun: Erlang Hi all Everyone seems so busy, so here's something for a relaxing weekend. Predicting that in 2019 we will have the million core processor, you need to use a language capable of parallel processing. Erlang is one. And it is free and open-source: http://www.erlang.org Note chapter 3, Concurrent Programming, here: http://www.erlang.org/doc/getting_started/part_frame.html Also, a community exists: http://www.trapexit.org/ Have fun! /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Nov 30 11:38:28 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 30 Nov 2007 12:38:28 -0500 Subject: [AccessD] OT: Friday (weekend) fun: Erlang In-Reply-To: <001401c83373$91d944d0$8abea8c0@XPS> References: <001801c83352$23f7b3f0$647aa8c0@M90> <001401c83373$91d944d0$8abea8c0@XPS> Message-ID: <001d01c83377$d2a73f40$647aa8c0@M90> Well besides that... There are plenty of Linux machines running. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, November 30, 2007 12:08 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Friday (weekend) fun: Erlang << Why aren't we able to run all of the oh so cool things that ran on the supercomputers 30 years ago. >> Because we use Windoze... Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, November 30, 2007 8:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Friday (weekend) fun: Erlang What I find amusing is that the current 4 core desktop computer is more that a supercomputer from 1980. Why aren't we able to run all of the oh so cool things that ran on the supercomputers 30 years ago. We could simulate a nuclear bomb or the weather if we were willing to allow our computers to run uninterrupted for a couple of months. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, November 30, 2007 7:45 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Friday (weekend) fun: Erlang Hi all Everyone seems so busy, so here's something for a relaxing weekend. Predicting that in 2019 we will have the million core processor, you need to use a language capable of parallel processing. Erlang is one. And it is free and open-source: http://www.erlang.org Note chapter 3, Concurrent Programming, here: http://www.erlang.org/doc/getting_started/part_frame.html Also, a community exists: http://www.trapexit.org/ Have fun! /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Fri Nov 30 11:51:21 2007 From: garykjos at gmail.com (Gary Kjos) Date: Fri, 30 Nov 2007 11:51:21 -0600 Subject: [AccessD] OT: For the diversified list In-Reply-To: <00f001c83368$a8f40980$4b3a8343@SusanOne> References: <00f001c83368$a8f40980$4b3a8343@SusanOne> Message-ID: HA. Good one! GK On 11/30/07, Susan Harkins wrote: > >From my 9 year old granddaughters: > > When you go into the bathroom, you're American. > When you come out of the bathroom, you're American. > > What are you when you're IN the bathroom.... > > . > > . > > . > > . > > You're a peein! > > > > > > > > > > > > Yo > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From mmattys at rochester.rr.com Fri Nov 30 12:35:25 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 30 Nov 2007 13:35:25 -0500 Subject: [AccessD] Trim in Access 2007 References: <010601c83371$02564b70$0202a8c0@Laptop> Message-ID: <016001c8337f$ca009c80$0202a8c0@Laptop> I figured out what went wrong, but I still don't like it: The imported table name is also called CASS The SQL I used to create the table was SELECT TRIM([ID]) AS ID, ... INTO CASS FROM CASS IN 'dbpath' No error occurred in the code, but manually creating the query tells me that TRIM([ID]) AS ID is a circular reference. It created the table anyway, it just refused to Trim. ?? (I did not use On Error Resume Next) Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com From Gustav at cactus.dk Fri Nov 30 12:53:52 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 30 Nov 2007 19:53:52 +0100 Subject: [AccessD] Trim in Access 2007 Message-ID: Hi Michael That's what happens when you keep small secrets for yourself ... had you posted the full SQL we would, of course, have spotted that right away(?) /gustav >>> mmattys at rochester.rr.com 30-11-2007 19:35 >>> I figured out what went wrong, but I still don't like it: The imported table name is also called CASS The SQL I used to create the table was SELECT TRIM([ID]) AS ID, ... INTO CASS FROM CASS IN 'dbpath' No error occurred in the code, but manually creating the query tells me that TRIM([ID]) AS ID is a circular reference. It created the table anyway, it just refused to Trim. ?? (I did not use On Error Resume Next) Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com From jwcolby at colbyconsulting.com Thu Nov 1 06:47:22 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 1 Nov 2007 07:47:22 -0400 Subject: [AccessD] A2K and Office 2003 In-Reply-To: <00eb01c81c09$29e5f980$6501a8c0@jefferson> References: <00eb01c81c09$29e5f980$6501a8c0@jefferson> Message-ID: <002c01c81c7c$f7e854e0$647aa8c0@M90> Jennifer, That is fascinating because I have a client with the same issue. Outlook only upgraded to 2003, the rest left at 2000, can't export to Excel. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jennifer Gross Sent: Wednesday, October 31, 2007 5:58 PM To: AccessD List Subject: [AccessD] A2K and Office 2003 Happy Halloween Everyone, I have a client that for reasons relating to Outlook has updated their systems to Office 2003, without Access 2003, while leaving Access 2000 so that my databases can run. I don't want to move the databases to Access 2003 because they are running fine in A2K and have been for years. However, they are running into some bumps in the road, particularly with exporting to Excel using Tools > Office Links. If anybody has an tips regarding the co-existence of Office 2003 with Access 2000 I would greatly appreciate it. Thank you, Jennifer Gross databasics Newbury Park, CA office: (805) 480-1921 fax: (805) 499-0467 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Nov 1 07:43:54 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 1 Nov 2007 08:43:54 -0400 Subject: [AccessD] Office 2007 Ribbon Bars Message-ID: <003701c81c84$dda41d00$647aa8c0@M90> I haven't been following the subject, and I am wondering if anyone has discovered a workaround to get rid of the new ribbon bars and get back the standard office menus that look and feel like 2003? I have a couple of customers with databases designed (crammed into) an 800x600 format back when the average monitor was a 14". Even though they purchased newer 17" monitors all the users are griping so bad about 1024 x 768 that the owners are caving in and staying at 800x600. Thus there is NO room for the newfangled toolbars. If they are going to upgrade they will have to keep the old menus or at least turn off the ribbon bars. I can do custom menus if those are still available, but the ribbon bars have to go. John W. Colby Colby Consulting www.ColbyConsulting.com From fuller.artful at gmail.com Thu Nov 1 07:56:28 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 1 Nov 2007 08:56:28 -0400 Subject: [AccessD] Office 2007 Ribbon Bars In-Reply-To: <003701c81c84$dda41d00$647aa8c0@M90> References: <003701c81c84$dda41d00$647aa8c0@M90> Message-ID: <29f585dd0711010556q279b56f1ha7ae175d4568ab33@mail.gmail.com> There is a commercial add-in that restores the old look. http://www.addintools.com/english/menuoffice/?gclid=CODuvoDZu48CFQ6CPAodl268cg . This reminds me of the petroleum companies. First they charge you to put lead into gasoline, then they charge you to take it out. A. On 11/1/07, jwcolby wrote: > > I haven't been following the subject, and I am wondering if anyone has > discovered a workaround to get rid of the new ribbon bars and get back the > standard office menus that look and feel like 2003? I have a couple of > customers with databases designed (crammed into) an 800x600 format back > when > the average monitor was a 14". Even though they purchased newer 17" > monitors all the users are griping so bad about 1024 x 768 that the owners > are caving in and staying at 800x600. Thus there is NO room for the > newfangled toolbars. If they are going to upgrade they will have to keep > the old menus or at least turn off the ribbon bars. I can do custom menus > if those are still available, but the ribbon bars have to go. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From max.wanadoo at gmail.com Thu Nov 1 08:10:43 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Thu, 1 Nov 2007 13:10:43 -0000 Subject: [AccessD] Office 2007 Ribbon Bars In-Reply-To: <29f585dd0711010556q279b56f1ha7ae175d4568ab33@mail.gmail.com> Message-ID: <007d01c81c88$9c7bfb00$8119fea9@LTVM> ...and then they charge double the total again if you live in the UK Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, November 01, 2007 12:56 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Office 2007 Ribbon Bars There is a commercial add-in that restores the old look. http://www.addintools.com/english/menuoffice/?gclid=CODuvoDZu48CFQ6CPAodl268 cg . This reminds me of the petroleum companies. First they charge you to put lead into gasoline, then they charge you to take it out. A. On 11/1/07, jwcolby wrote: > > I haven't been following the subject, and I am wondering if anyone has > discovered a workaround to get rid of the new ribbon bars and get back > the standard office menus that look and feel like 2003? I have a > couple of customers with databases designed (crammed into) an 800x600 > format back when the average monitor was a 14". Even though they > purchased newer 17" > monitors all the users are griping so bad about 1024 x 768 that the > owners are caving in and staying at 800x600. Thus there is NO room > for the newfangled toolbars. If they are going to upgrade they will > have to keep the old menus or at least turn off the ribbon bars. I > can do custom menus if those are still available, but the ribbon bars have to go. > > John W. Colby > Colby Consulting > 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 Nov 1 08:24:45 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 1 Nov 2007 09:24:45 -0400 Subject: [AccessD] Office 2007 Ribbon Bars In-Reply-To: <29f585dd0711010556q279b56f1ha7ae175d4568ab33@mail.gmail.com> References: <003701c81c84$dda41d00$647aa8c0@M90> <29f585dd0711010556q279b56f1ha7ae175d4568ab33@mail.gmail.com> Message-ID: <004301c81c8a$92240d80$647aa8c0@M90> Yes, I found that. Notice that the product for each office application is a separate package and costs $16 (per user I assume?). In the end all I care about is Access but still... John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, November 01, 2007 8:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Office 2007 Ribbon Bars There is a commercial add-in that restores the old look. http://www.addintools.com/english/menuoffice/?gclid=CODuvoDZu48CFQ6CPAodl268 cg . This reminds me of the petroleum companies. First they charge you to put lead into gasoline, then they charge you to take it out. A. On 11/1/07, jwcolby wrote: > > I haven't been following the subject, and I am wondering if anyone has > discovered a workaround to get rid of the new ribbon bars and get back > the standard office menus that look and feel like 2003? I have a > couple of customers with databases designed (crammed into) an 800x600 > format back when the average monitor was a 14". Even though they > purchased newer 17" > monitors all the users are griping so bad about 1024 x 768 that the > owners are caving in and staying at 800x600. Thus there is NO room > for the newfangled toolbars. If they are going to upgrade they will > have to keep the old menus or at least turn off the ribbon bars. I > can do custom menus if those are still available, but the ribbon bars have to go. > > John W. Colby > Colby Consulting > 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 john at winhaven.net Thu Nov 1 09:17:34 2007 From: john at winhaven.net (John Bartow) Date: Thu, 1 Nov 2007 09:17:34 -0500 Subject: [AccessD] A2K and Office 2003 In-Reply-To: <002c01c81c7c$f7e854e0$647aa8c0@M90> References: <00eb01c81c09$29e5f980$6501a8c0@jefferson> <002c01c81c7c$f7e854e0$647aa8c0@M90> Message-ID: <005701c81c91$f2ad52e0$6402a8c0@ScuzzPaq> I had never tried this while I had all versions of office installed and unfortunately I uninstalled all O2k apps a couple of months ago. Could this be due to the Office tools installed during the upgrade to Outlook 2003? I'll have to look through all my PCs and see if there is one with only O2k left on it. - I think I have a win2k PC like that. If no one else has this setup, I'll upgrade it to Outlook 2003 and see what happens. Fun stuff, eh? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby That is fascinating because I have a client with the same issue. Outlook only upgraded to 2003, the rest left at 2000, can't export to Excel. -----Original Message----- From: accessd-bounces at databaseadvisors.com If anybody has an tips regarding the co-existence of Office 2003 with Access 2000 I would greatly appreciate it. From bill_patten at embarqmail.com Thu Nov 1 10:13:41 2007 From: bill_patten at embarqmail.com (Bill Patten) Date: Thu, 1 Nov 2007 08:13:41 -0700 Subject: [AccessD] Office 2007 Ribbon Bars In-Reply-To: <003701c81c84$dda41d00$647aa8c0@M90> References: <003701c81c84$dda41d00$647aa8c0@M90> Message-ID: <30988884F445408690F38E55F7D99BA1@BPCS> This site has several suggestions on the ribbon. I normally turn off Access menus and use my own, and used the "Want my databse created in A2003 do display my own menubar only" from URL below. http://www.accessribbon.de/en/index.php?FAQ#VerweisError I added notes that may or may not be useful but include them anyway. >From my personal Tech-Tips. NOTE: does not remove ribbon the first time, must close and reopen??? 5/07 (Not needed on mine because done in open routine) Remove the tick from: A2003: "Tools" / "Startup" / "Allow Build-in Toolbars" Select your menubar from the drop-down "Menu Bar" Click on main menu, then select Access Options at the bottom Then current database and scroll to the Ribbon and tool Options A2007: "Office Button" / Button "Access Options" / "Current Database" / "Ribbon and Toolbar Options" / "Allow Build-in Toolbars" Select your menubar from the drop-down "Menu Bar". Unclick allow built-in toolbars Click Allow full Menus and allow Default Shortcut Menus Note I can set the CurrentProject.Properties.Add "AllowBuiltinToolbars", True to false Key Words Remove Ribbon from 2007 ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Thursday, November 01, 2007 5:43 AM Subject: [AccessD] Office 2007 Ribbon Bars I haven't been following the subject, and I am wondering if anyone has discovered a workaround to get rid of the new ribbon bars and get back the standard office menus that look and feel like 2003? I have a couple of customers with databases designed (crammed into) an 800x600 format back when the average monitor was a 14". Even though they purchased newer 17" monitors all the users are griping so bad about 1024 x 768 that the owners are caving in and staying at 800x600. Thus there is NO room for the newfangled toolbars. If they are going to upgrade they will have to keep the old menus or at least turn off the ribbon bars. I can do custom menus if those are still available, but the ribbon bars have to go. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheygood at abestsystems.com Thu Nov 1 11:28:03 2007 From: bheygood at abestsystems.com (Bob Heygood) Date: Thu, 1 Nov 2007 09:28:03 -0700 Subject: [AccessD] Counting Co IDs In-Reply-To: <200711010201.lA121Ea9026644@databaseadvisors.com> References: <054781CF8ED948F797CE5E75B02C58E0@creativesystemdesigns.com> <200711010201.lA121Ea9026644@databaseadvisors.com> Message-ID: <005d01c81ca4$2feffb50$800101df@speedy> Hello to the list, I have a table which contains records each of which have a CoID (Company ID), a JID (Job ID) and some responses to questions; some Boolean and some currency. It is a requirement for me to create a query for a report. A problem I have run into is I need to provide a count of companies that had a response to a question grouped by JID. Like: JID Question Num Companies Answer Responding 2 Q1Yes 3 2 Q1No 5 3 Q1Yes 9 3 Q1No 7 5 Q1Yes 31 5 Q1No 74 8 Q1Yes 3 8 Q1No 0 Seems like I could get this from some SQL Totals Statement/Query. From jimdettman at verizon.net Thu Nov 1 11:15:11 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 01 Nov 2007 12:15:11 -0400 Subject: [AccessD] Office 2007 Ribbon Bars In-Reply-To: <003701c81c84$dda41d00$647aa8c0@M90> References: <003701c81c84$dda41d00$647aa8c0@M90> Message-ID: <013c01c81ca2$6143eba0$8abea8c0@XPS> John, Got this, but I haven't tried it: For those of you who want to completely get rid of the ribbon--here are the steps: 1. Create a new table called USysRibbons. 2. Add two fields RibbonName (text) and RibbonXML (Memo). 3. Create a new record with the name "Blank" (doesn't really matter what you call it). Also add the following XML: 4. Restart your database. 5. Go into the Office Button | Access Options. Click on the Current Database. 6. In the Toolbars Option set the Custom Ribbon Id to Blank (name in step 3). 7. Restart the database. HTH, Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, November 01, 2007 8:44 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Office 2007 Ribbon Bars I haven't been following the subject, and I am wondering if anyone has discovered a workaround to get rid of the new ribbon bars and get back the standard office menus that look and feel like 2003? I have a couple of customers with databases designed (crammed into) an 800x600 format back when the average monitor was a 14". Even though they purchased newer 17" monitors all the users are griping so bad about 1024 x 768 that the owners are caving in and staying at 800x600. Thus there is NO room for the newfangled toolbars. If they are going to upgrade they will have to keep the old menus or at least turn off the ribbon bars. I can do custom menus if those are still available, but the ribbon bars have to go. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Thu Nov 1 11:46:53 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 1 Nov 2007 12:46:53 -0400 Subject: [AccessD] Counting Co IDs References: <054781CF8ED948F797CE5E75B02C58E0@creativesystemdesigns.com><200711010201.lA121Ea9026644@databaseadvisors.com> <005d01c81ca4$2feffb50$800101df@speedy> Message-ID: <00fa01c81ca6$d0f364e0$4b3a8343@SusanOne> Have you tried a Totals view? Set JID to GROUP BY and use SUM on the columns you want to total. Susan H. > Hello to the list, > > I have a table which contains records each of which have a CoID (Company > ID), a JID (Job ID) and some responses to questions; some Boolean and some > currency. > It is a requirement for me to create a query for a report. > > A problem I have run into is I need to provide a count of companies that > had > a response to a question grouped by JID. Like: > > JID Question Num Companies > Answer Responding > > 2 Q1Yes 3 > 2 Q1No 5 > 3 Q1Yes 9 > 3 Q1No 7 > 5 Q1Yes 31 > 5 Q1No 74 > 8 Q1Yes 3 > 8 Q1No 0 > > > > Seems like I could get this from some SQL Totals Statement/Query. > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Nov 1 11:56:59 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 1 Nov 2007 09:56:59 -0700 Subject: [AccessD] Office 2007 Ribbon Bars In-Reply-To: <013c01c81ca2$6143eba0$8abea8c0@XPS> References: <003701c81c84$dda41d00$647aa8c0@M90> <013c01c81ca2$6143eba0$8abea8c0@XPS> Message-ID: Um ... Office/2006?? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, November 01, 2007 9:15 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office 2007 Ribbon Bars John, Got this, but I haven't tried it: For those of you who want to completely get rid of the ribbon--here are the steps: 1. Create a new table called USysRibbons. 2. Add two fields RibbonName (text) and RibbonXML (Memo). 3. Create a new record with the name "Blank" (doesn't really matter what you call it). Also add the following XML: 4. Restart your database. 5. Go into the Office Button | Access Options. Click on the Current Database. 6. In the Toolbars Option set the Custom Ribbon Id to Blank (name in step 3). 7. Restart the database. HTH, Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, November 01, 2007 8:44 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Office 2007 Ribbon Bars I haven't been following the subject, and I am wondering if anyone has discovered a workaround to get rid of the new ribbon bars and get back the standard office menus that look and feel like 2003? I have a couple of customers with databases designed (crammed into) an 800x600 format back when the average monitor was a 14". Even though they purchased newer 17" monitors all the users are griping so bad about 1024 x 768 that the owners are caving in and staying at 800x600. Thus there is NO room for the newfangled toolbars. If they are going to upgrade they will have to keep the old menus or at least turn off the ribbon bars. I can do custom menus if those are still available, but the ribbon bars have to go. John W. Colby Colby Consulting 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 Gustav at cactus.dk Thu Nov 1 12:15:06 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 01 Nov 2007 18:15:06 +0100 Subject: [AccessD] Office 2007 Ribbon Bars Message-ID: Hi Jim No cigar here. Neither with 2006 replaced with 2007. /gustav >>> jimdettman at verizon.net 01-11-2007 17:15:11 >>> John, Got this, but I haven't tried it: For those of you who want to completely get rid of the ribbon--here are the steps: 1. Create a new table called USysRibbons. 2. Add two fields RibbonName (text) and RibbonXML (Memo). 3. Create a new record with the name "Blank" (doesn't really matter what you call it). Also add the following XML: 4. Restart your database. 5. Go into the Office Button | Access Options. Click on the Current Database. 6. In the Toolbars Option set the Custom Ribbon Id to Blank (name in step 3). 7. Restart the database. HTH, Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, November 01, 2007 8:44 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Office 2007 Ribbon Bars I haven't been following the subject, and I am wondering if anyone has discovered a workaround to get rid of the new ribbon bars and get back the standard office menus that look and feel like 2003? I have a couple of customers with databases designed (crammed into) an 800x600 format back when the average monitor was a 14". Even though they purchased newer 17" monitors all the users are griping so bad about 1024 x 768 that the owners are caving in and staying at 800x600. Thus there is NO room for the newfangled toolbars. If they are going to upgrade they will have to keep the old menus or at least turn off the ribbon bars. I can do custom menus if those are still available, but the ribbon bars have to go. John W. Colby Colby Consulting www.ColbyConsulting.com From DWUTKA at Marlow.com Thu Nov 1 12:24:23 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 1 Nov 2007 12:24:23 -0500 Subject: [AccessD] The perfect combo! (A little OT) Message-ID: We recently bought a backup/restore system called Acronis. Great software package. (Bought a server with a few terabytes of drive space too). Anywho, Acronis has a rather unique restore process. With a Windows 9x system, you could take a hard drive out of one machine, and put it in another with completely different hardware, and after a gazillion 'found new hardware' prompts, you'd eventually load Windows again on the new machine. Windows NT and 2000 were no where near as friendly with new hardware. Acronis does a 'true image' restore, however, that lets you restore a system on a completely different machine. Pretty slick, and works about 95% of the time. Virtual PC has been mentioned on this list before too. It's a PC emulator. You can install all sorts of OSes on virtual hard drives (which are just files on your real hard drives, though you can setup a real hard drive as a 'virtual' hard drive in VPC). This post is about something I've been doing the last few weeks, which I think is just plain cool. If you use these two software packages, you can pretty easily create Virtual PCs from live machines. Two examples: Our Intranet died about a month ago. One of the hard drives crashed. It was in a RAID, but the only machine that had the same sized drives was my desktop. (80 gig SCSI drives). So we cannibalized my desktop to bring the Intranet back up. We then bought a new machine for the Intranet. (current machine was a glorified desktop, new machine an actual rack server). The old Intranet was Windows 2000 Server (on a PIII 1ghz processor with 768 megs of RAM, a mirrored OS volume, and a RAID 5 data volume), new machine Windows 2003 Server (a few gigs of ram, and I think a Xeon processor). Anywho, there's no easy way to 'move' an IIS 5.0 'web' to an IIS 6.0 web (though in IIS 6 you can now save a website to a file to restore...that's nice...now.). So I manually moved our Intranet to the new machine. Didn't mind doing it that way, since over the years, our Intranet has a lot of unused stuff on it, so I just moved what was being used...... But, now I want my hard drives back (especially since I talked my boss into letting me 'build' a new machine for my desktop). But I don't want to just scrap the old web. VPC and Acronis to the rescue. Ran Acronis to backup the Intranet's drives/system state. Created two VPC drives. Booted the VPC environment with an Acronis bootable CD, whalla, I now have our old Intranet server running in a virtual environment! Worked like a charm (though, admittedly, this particular restore was the first and only one that didn't boot right from the get go, had to do a Windows 2000 repair...thus the 95% comment). With this Virtual PC environment, I can do EVERYTHING I could do with the old system, hit it with Remote Administrator, hit the old Intranet with my web browser, computer management, hit the drives remotely, etc. It's just like the old Intranet is still there, but in reality, it's running in a VPC environment on my 'newly rebuilt' desktop. The second example is with Goldmine (a contact/customer management) software package. We bought a new version about 3 years ago (which means it's an older version now). Our account managers are still not using it, and one of their claims is that all their contacts are in Outlook. So I spent a week or two combining everyone's Outlook contacts (lots of fun), and now I want to import it into Goldmine. But who wants to do a huge data import on a live system? Sure, it's SQL Server based, so I could back it up, do the import, and restore it if something goofs...but all of that could be down time for a live system. (In this particular case, I don't think anyone is using it, but that's besides the point). Once again, VPC and Acronis to the rescue. Did a backup of the live Goldmine server. Created a VPC environment and restored Goldmine too it. This one was a little trickier from a setup standpoint. With the Intranet situation, the new server was MINET2003, and the old server was MINET. When I had moved everything over, we renamed the old machine MinetOLD, and the new machine to MINET. So when I created the virtual environment, I just took the physical minetOld offline. But with Goldmine, I wanted to created a 'duplicate' server. Can't have two machines with the same name on the same domain. So, to accomplish this, I 'disabled' the network card of the virtual goldmine, switched it to a workgroup (to take it off the domain), renamed it, then enabled the NIC, and joined the domain again...and for the Goldmine software, there was one .ini file (on the virtual server) to get the clients to see the new virtual server. Now I have a duplicate server on the network, that I can completely destroy if I want. And to bring it back to the original state, I have two files (about 5 gigs total), that I just copy and boot up to again. Now, I know with using an .mdb as a data source, you can copy and 'restore' a database without all this mumbo jumbo. However, I know a lot of you are working with SQL Server and Oracle backends. Some are using web interfaces. All of these 'servers' can take time to backup and restore, especially when you are just playing around to see what affects what. This software combo can really be a huge time saver! Drew 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 BusinessSensitve 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 jimdettman at verizon.net Thu Nov 1 13:00:40 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 01 Nov 2007 14:00:40 -0400 Subject: [AccessD] Office 2007 Ribbon Bars In-Reply-To: References: Message-ID: <021401c81cb1$1df82550$8abea8c0@XPS> Bummer. Picked it up somewhere but never got around to trying it. My one and only 2007 project to date fell through. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, November 01, 2007 1:15 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Office 2007 Ribbon Bars Hi Jim No cigar here. Neither with 2006 replaced with 2007. /gustav >>> jimdettman at verizon.net 01-11-2007 17:15:11 >>> John, Got this, but I haven't tried it: For those of you who want to completely get rid of the ribbon--here are the steps: 1. Create a new table called USysRibbons. 2. Add two fields RibbonName (text) and RibbonXML (Memo). 3. Create a new record with the name "Blank" (doesn't really matter what you call it). Also add the following XML: 4. Restart your database. 5. Go into the Office Button | Access Options. Click on the Current Database. 6. In the Toolbars Option set the Custom Ribbon Id to Blank (name in step 3). 7. Restart the database. HTH, Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, November 01, 2007 8:44 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Office 2007 Ribbon Bars I haven't been following the subject, and I am wondering if anyone has discovered a workaround to get rid of the new ribbon bars and get back the standard office menus that look and feel like 2003? I have a couple of customers with databases designed (crammed into) an 800x600 format back when the average monitor was a 14". Even though they purchased newer 17" monitors all the users are griping so bad about 1024 x 768 that the owners are caving in and staying at 800x600. Thus there is NO room for the newfangled toolbars. If they are going to upgrade they will have to keep the old menus or at least turn off the ribbon bars. I can do custom menus if those are still available, but the ribbon bars have to go. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Nov 1 13:04:07 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 1 Nov 2007 11:04:07 -0700 Subject: [AccessD] The perfect combo! (A little OT) In-Reply-To: References: Message-ID: I've been very impressed with TrueImage, from Acronis, although I've only used it for my own backups and the occasional restore. Nice thing is it can restore at the file level, which is far better than other apps I've seen. Thanks for the info Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, November 01, 2007 10:24 AM To: Access Developers discussion and problem solving Subject: [AccessD] The perfect combo! (A little OT) We recently bought a backup/restore system called Acronis. Great software package. (Bought a server with a few terabytes of drive space too). Anywho, Acronis has a rather unique restore process. With a Windows 9x system, you could take a hard drive out of one machine, and put it in another with completely different hardware, and after a gazillion 'found new hardware' prompts, you'd eventually load Windows again on the new machine. Windows NT and 2000 were no where near as friendly with new hardware. Acronis does a 'true image' restore, however, that lets you restore a system on a completely different machine. Pretty slick, and works about 95% of the time. Virtual PC has been mentioned on this list before too. It's a PC emulator. You can install all sorts of OSes on virtual hard drives (which are just files on your real hard drives, though you can setup a real hard drive as a 'virtual' hard drive in VPC). This post is about something I've been doing the last few weeks, which I think is just plain cool. If you use these two software packages, you can pretty easily create Virtual PCs from live machines. Two examples: Our Intranet died about a month ago. One of the hard drives crashed. It was in a RAID, but the only machine that had the same sized drives was my desktop. (80 gig SCSI drives). So we cannibalized my desktop to bring the Intranet back up. We then bought a new machine for the Intranet. (current machine was a glorified desktop, new machine an actual rack server). The old Intranet was Windows 2000 Server (on a PIII 1ghz processor with 768 megs of RAM, a mirrored OS volume, and a RAID 5 data volume), new machine Windows 2003 Server (a few gigs of ram, and I think a Xeon processor). Anywho, there's no easy way to 'move' an IIS 5.0 'web' to an IIS 6.0 web (though in IIS 6 you can now save a website to a file to restore...that's nice...now.). So I manually moved our Intranet to the new machine. Didn't mind doing it that way, since over the years, our Intranet has a lot of unused stuff on it, so I just moved what was being used...... But, now I want my hard drives back (especially since I talked my boss into letting me 'build' a new machine for my desktop). But I don't want to just scrap the old web. VPC and Acronis to the rescue. Ran Acronis to backup the Intranet's drives/system state. Created two VPC drives. Booted the VPC environment with an Acronis bootable CD, whalla, I now have our old Intranet server running in a virtual environment! Worked like a charm (though, admittedly, this particular restore was the first and only one that didn't boot right from the get go, had to do a Windows 2000 repair...thus the 95% comment). With this Virtual PC environment, I can do EVERYTHING I could do with the old system, hit it with Remote Administrator, hit the old Intranet with my web browser, computer management, hit the drives remotely, etc. It's just like the old Intranet is still there, but in reality, it's running in a VPC environment on my 'newly rebuilt' desktop. The second example is with Goldmine (a contact/customer management) software package. We bought a new version about 3 years ago (which means it's an older version now). Our account managers are still not using it, and one of their claims is that all their contacts are in Outlook. So I spent a week or two combining everyone's Outlook contacts (lots of fun), and now I want to import it into Goldmine. But who wants to do a huge data import on a live system? Sure, it's SQL Server based, so I could back it up, do the import, and restore it if something goofs...but all of that could be down time for a live system. (In this particular case, I don't think anyone is using it, but that's besides the point). Once again, VPC and Acronis to the rescue. Did a backup of the live Goldmine server. Created a VPC environment and restored Goldmine too it. This one was a little trickier from a setup standpoint. With the Intranet situation, the new server was MINET2003, and the old server was MINET. When I had moved everything over, we renamed the old machine MinetOLD, and the new machine to MINET. So when I created the virtual environment, I just took the physical minetOld offline. But with Goldmine, I wanted to created a 'duplicate' server. Can't have two machines with the same name on the same domain. So, to accomplish this, I 'disabled' the network card of the virtual goldmine, switched it to a workgroup (to take it off the domain), renamed it, then enabled the NIC, and joined the domain again...and for the Goldmine software, there was one .ini file (on the virtual server) to get the clients to see the new virtual server. Now I have a duplicate server on the network, that I can completely destroy if I want. And to bring it back to the original state, I have two files (about 5 gigs total), that I just copy and boot up to again. Now, I know with using an .mdb as a data source, you can copy and 'restore' a database without all this mumbo jumbo. However, I know a lot of you are working with SQL Server and Oracle backends. Some are using web interfaces. All of these 'servers' can take time to backup and restore, especially when you are just playing around to see what affects what. This software combo can really be a huge time saver! From cfoust at infostatsystems.com Thu Nov 1 13:07:49 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 1 Nov 2007 11:07:49 -0700 Subject: [AccessD] Office 2007 Ribbon Bars In-Reply-To: <021401c81cb1$1df82550$8abea8c0@XPS> References: <021401c81cb1$1df82550$8abea8c0@XPS> Message-ID: I might very well work with the right XML, but that doesn't look right. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, November 01, 2007 11:01 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office 2007 Ribbon Bars Bummer. Picked it up somewhere but never got around to trying it. My one and only 2007 project to date fell through. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, November 01, 2007 1:15 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Office 2007 Ribbon Bars Hi Jim No cigar here. Neither with 2006 replaced with 2007. /gustav >>> jimdettman at verizon.net 01-11-2007 17:15:11 >>> John, Got this, but I haven't tried it: For those of you who want to completely get rid of the ribbon--here are the steps: 1. Create a new table called USysRibbons. 2. Add two fields RibbonName (text) and RibbonXML (Memo). 3. Create a new record with the name "Blank" (doesn't really matter what you call it). Also add the following XML: 4. Restart your database. 5. Go into the Office Button | Access Options. Click on the Current Database. 6. In the Toolbars Option set the Custom Ribbon Id to Blank (name in step 3). 7. Restart the database. HTH, Jim. From jimdettman at verizon.net Thu Nov 1 14:07:56 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 01 Nov 2007 15:07:56 -0400 Subject: [AccessD] Office 2007 Ribbon Bars In-Reply-To: References: <003701c81c84$dda41d00$647aa8c0@M90> <013c01c81ca2$6143eba0$8abea8c0@XPS> Message-ID: <027701c81cba$83b4ad10$8abea8c0@XPS> Looks like I picked it off one of the Office Blogs. It's discussed here along with another method: http://www.utteraccess.com/forums/printthread.php?Cat=&Board=91&main=1302379 &type=thread In that thread, it says: "Couldn't get it to work. I looked at other websites - they gave nearly identical instructions. Couldn't get it to work. I gave up on the USysRibbons table idea and posted here. I followed the example by freakazeud, which worked. I was able to customize the ideas given by him, with very little problem, other than the issues we've discussed above here. I FINALLY figured out that it looks like the XML code in step 3 (Iin the quote above) is missing a tag. Funny thing is that this exact sample XML code is on at least 5 other websites. Looks like a bad example of copy/paste. So, I may toy around with it some more, and put the XML code for the ribbon I have developed, and put that in the USysRibbons table, and see what happens. " Also, the last post may be of interest: " Re: Disabling Ribbon Bar Hi, I found in the Access 2007 a "How to" page that discloses the cleanest way to get rid of the ribbon altogether and display your custom menu and toolbars. Go to "Developer Help" - "How Do I" - "Miscellaneous". The key item I got is that in the mdb's startup options, you *must* select the name of your custom menu bar and persist it to the database using Access' startup options window. And you must have the "Allow Full Menus" and "Enable Built In Toolbars" options set to off. These options must have been set *before* your mdb is opened in Access 2007. Through trial-and-error (as you did), I found that it is not enough to set the startup menubar on the fly with VBA code. I do, however, use VBA to display my desired toolbars. All of this is without the existence of the USysRibbons table. But to be complete in sharing, I do have the Sys table but have the ribbon name cleared in Access 2007 startup options." Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, November 01, 2007 12:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Office 2007 Ribbon Bars Um ... Office/2006?? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, November 01, 2007 9:15 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office 2007 Ribbon Bars John, Got this, but I haven't tried it: For those of you who want to completely get rid of the ribbon--here are the steps: 1. Create a new table called USysRibbons. 2. Add two fields RibbonName (text) and RibbonXML (Memo). 3. Create a new record with the name "Blank" (doesn't really matter what you call it). Also add the following XML: 4. Restart your database. 5. Go into the Office Button | Access Options. Click on the Current Database. 6. In the Toolbars Option set the Custom Ribbon Id to Blank (name in step 3). 7. Restart the database. HTH, Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, November 01, 2007 8:44 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Office 2007 Ribbon Bars I haven't been following the subject, and I am wondering if anyone has discovered a workaround to get rid of the new ribbon bars and get back the standard office menus that look and feel like 2003? I have a couple of customers with databases designed (crammed into) an 800x600 format back when the average monitor was a 14". Even though they purchased newer 17" monitors all the users are griping so bad about 1024 x 768 that the owners are caving in and staying at 800x600. Thus there is NO room for the newfangled toolbars. If they are going to upgrade they will have to keep the old menus or at least turn off the ribbon bars. I can do custom menus if those are still available, but the ribbon bars have to go. John W. Colby Colby Consulting 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From EdTesiny at oasas.state.ny.us Thu Nov 1 14:29:02 2007 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Thu, 1 Nov 2007 15:29:02 -0400 Subject: [AccessD] Running Sum Message-ID: Hi List, I have a query with admission rates data for August and September by providers. I'm trying to get a running sum across the two months for each provider. Put another way, for August we have an admission rate and I want August admissions added to Septembers on Septembers row like ProviderNo Report_Date CalRunTot Actual Rates 3 8/1/07 2.46 2.46 3 9/1/07 3.45 .99 5 8/1/07 8.21 8.21 5 9/1/07 9.95 1.74 Hope this doesn't get all mixed up in transmission, current SQL is below SELECT qry_MATS_RunSum4.Provider_No AS Provnum, qry_MATS_RunSum4.Provider_No, qry_MATS_RunSum4.Provider_Name, qry_MATS_RunSum4.report_date, qry_MATS_RunSum4.AdRate, qry_MATS_RunSum4.RunTot, DSum("adrate","qry_MATS_RunSum4","Provider_no<=" & [provnum] & " ") AS CalRunTot FROM qry_MATS_RunSum4; MTIA Ed Edward P. Tesiny Assistant Director for Evaluation Bureau of Evaluation and Practice Improvement New York State OASAS 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 Email: EdTesiny at oasas.state.ny.us From bheygood at abestsystems.com Thu Nov 1 14:55:17 2007 From: bheygood at abestsystems.com (Bob Heygood) Date: Thu, 1 Nov 2007 12:55:17 -0700 Subject: [AccessD] Counting Co IDs In-Reply-To: <00fa01c81ca6$d0f364e0$4b3a8343@SusanOne> References: <054781CF8ED948F797CE5E75B02C58E0@creativesystemdesigns.com><200711010201.lA121Ea9026644@databaseadvisors.com><005d01c81ca4$2feffb50$800101df@speedy> <00fa01c81ca6$d0f364e0$4b3a8343@SusanOne> Message-ID: <007b01c81cc1$20590570$800101df@speedy> Thanks for getting back to me. What I need is to count the number of companies. It is the last piece of data in my example that I am looking for. How many different companies responded to the question and many yes and how many no. TIA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, November 01, 2007 9:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Counting Co IDs Have you tried a Totals view? Set JID to GROUP BY and use SUM on the columns you want to total. Susan H. > Hello to the list, > > I have a table which contains records each of which have a CoID > (Company ID), a JID (Job ID) and some responses to questions; some > Boolean and some currency. > It is a requirement for me to create a query for a report. > > A problem I have run into is I need to provide a count of companies > that had a response to a question grouped by JID. Like: > > JID Question Num Companies > Answer Responding > > 2 Q1Yes 3 > 2 Q1No 5 > 3 Q1Yes 9 > 3 Q1No 7 > 5 Q1Yes 31 > 5 Q1No 74 > 8 Q1Yes 3 > 8 Q1No 0 > > > > Seems like I could get this from some SQL Totals Statement/Query. > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Thu Nov 1 15:03:33 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 1 Nov 2007 16:03:33 -0400 Subject: [AccessD] Counting Co IDs References: <054781CF8ED948F797CE5E75B02C58E0@creativesystemdesigns.com><200711010201.lA121Ea9026644@databaseadvisors.com><005d01c81ca4$2feffb50$800101df@speedy><00fa01c81ca6$d0f364e0$4b3a8343@SusanOne> <007b01c81cc1$20590570$800101df@speedy> Message-ID: <024701c81cc2$4ad44e80$4b3a8343@SusanOne> Totals view will do the trick, use the Count aggregate. That will return just the one value though. If you need additional details, you'll need a subquery. Susan H. > What I need is to count the number of companies. > It is the last piece of data in my example that I am looking for. > How many different companies responded to the question and many yes and > how > many no. From bheygood at abestsystems.com Thu Nov 1 15:12:32 2007 From: bheygood at abestsystems.com (Bob Heygood) Date: Thu, 1 Nov 2007 13:12:32 -0700 Subject: [AccessD] Counting Co IDs In-Reply-To: <024701c81cc2$4ad44e80$4b3a8343@SusanOne> References: <054781CF8ED948F797CE5E75B02C58E0@creativesystemdesigns.com><200711010201.lA121Ea9026644@databaseadvisors.com><005d01c81ca4$2feffb50$800101df@speedy><00fa01c81ca6$d0f364e0$4b3a8343@SusanOne><007b01c81cc1$20590570$800101df@speedy> <024701c81cc2$4ad44e80$4b3a8343@SusanOne> Message-ID: <008001c81cc3$8af101b0$800101df@speedy> I think that that will just "count" the CoIDs, I want to know how many different ones are represented. One of the issues is I won't know before hand how many to allot for.... I may not be doing a good job of defining this either.... TIA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, November 01, 2007 1:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Counting Co IDs Totals view will do the trick, use the Count aggregate. That will return just the one value though. If you need additional details, you'll need a subquery. Susan H. > What I need is to count the number of companies. > It is the last piece of data in my example that I am looking for. > How many different companies responded to the question and many yes > and how many no. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Thu Nov 1 15:21:34 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 1 Nov 2007 16:21:34 -0400 Subject: [AccessD] Counting Co IDs References: <054781CF8ED948F797CE5E75B02C58E0@creativesystemdesigns.com><200711010201.lA121Ea9026644@databaseadvisors.com><005d01c81ca4$2feffb50$800101df@speedy><00fa01c81ca6$d0f364e0$4b3a8343@SusanOne><007b01c81cc1$20590570$800101df@speedy><024701c81cc2$4ad44e80$4b3a8343@SusanOne> <008001c81cc3$8af101b0$800101df@speedy> Message-ID: <028d01c81cc4$d2384550$4b3a8343@SusanOne> I know there's a simple way to do it, but I can't recall -- will have to review some old tips. Susan H. >I think that that will just "count" the CoIDs, I want to know how many > different ones are represented. > One of the issues is I won't know before hand how many to allot for.... > > I may not be doing a good job of defining this either.... From accessd at shaw.ca Thu Nov 1 15:52:34 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 01 Nov 2007 13:52:34 -0700 Subject: [AccessD] Office 2007 Ribbon Bars In-Reply-To: <013c01c81ca2$6143eba0$8abea8c0@XPS> Message-ID: Hi Jim: If that works it sounds assume. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, November 01, 2007 9:15 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office 2007 Ribbon Bars John, Got this, but I haven't tried it: For those of you who want to completely get rid of the ribbon--here are the steps: 1. Create a new table called USysRibbons. 2. Add two fields RibbonName (text) and RibbonXML (Memo). 3. Create a new record with the name "Blank" (doesn't really matter what you call it). Also add the following XML: 4. Restart your database. 5. Go into the Office Button | Access Options. Click on the Current Database. 6. In the Toolbars Option set the Custom Ribbon Id to Blank (name in step 3). 7. Restart the database. HTH, Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, November 01, 2007 8:44 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Office 2007 Ribbon Bars I haven't been following the subject, and I am wondering if anyone has discovered a workaround to get rid of the new ribbon bars and get back the standard office menus that look and feel like 2003? I have a couple of customers with databases designed (crammed into) an 800x600 format back when the average monitor was a 14". Even though they purchased newer 17" monitors all the users are griping so bad about 1024 x 768 that the owners are caving in and staying at 800x600. Thus there is NO room for the newfangled toolbars. If they are going to upgrade they will have to keep the old menus or at least turn off the ribbon bars. I can do custom menus if those are still available, but the ribbon bars have to go. John W. Colby Colby Consulting 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 garykjos at gmail.com Thu Nov 1 16:03:23 2007 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 1 Nov 2007 16:03:23 -0500 Subject: [AccessD] Counting Co IDs In-Reply-To: <008001c81cc3$8af101b0$800101df@speedy> References: <054781CF8ED948F797CE5E75B02C58E0@creativesystemdesigns.com> <200711010201.lA121Ea9026644@databaseadvisors.com> <005d01c81ca4$2feffb50$800101df@speedy> <00fa01c81ca6$d0f364e0$4b3a8343@SusanOne> <007b01c81cc1$20590570$800101df@speedy> <024701c81cc2$4ad44e80$4b3a8343@SusanOne> <008001c81cc3$8af101b0$800101df@speedy> Message-ID: I would probably do two queries, one to select and to possibly group and the second that uses the first as it's input that counts. GK On 11/1/07, Bob Heygood wrote: > I think that that will just "count" the CoIDs, I want to know how many > different ones are represented. > One of the issues is I won't know before hand how many to allot for.... > > I may not be doing a good job of defining this either.... > > TIA > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: Thursday, November 01, 2007 1:04 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Counting Co IDs > > Totals view will do the trick, use the Count aggregate. That will return > just the one value though. If you need additional details, you'll need a > subquery. > > Susan H. > > > What I need is to count the number of companies. > > It is the last piece of data in my example that I am looking for. > > How many different companies responded to the question and many yes > > and how many no. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From DWUTKA at Marlow.com Thu Nov 1 15:54:43 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 1 Nov 2007 15:54:43 -0500 Subject: [AccessD] The perfect combo! (A little OT) In-Reply-To: Message-ID: I like TrueImage too, though I must admit I can't say I'm super impressed. Don't get me wrong, it works, but I've seen a few quirks. (For example, we're still having difficulty doing a remote install, have to install the 'client' locally, before the server app can back it up. But other then that, it's great. If you already have TrueImage, you should check out restoring to a VPC environment. Virtual PC is free now, so it won't cost a dime to use it. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, November 01, 2007 1:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] The perfect combo! (A little OT) I've been very impressed with TrueImage, from Acronis, although I've only used it for my own backups and the occasional restore. Nice thing is it can restore at the file level, which is far better than other apps I've seen. Thanks for the info Charlotte Foust 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 BusinessSensitve 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 EdTesiny at oasas.state.ny.us Thu Nov 1 18:53:24 2007 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Thu, 1 Nov 2007 19:53:24 -0400 Subject: [AccessD] Running Sum cont'd Message-ID: Good Evening List, I sent a msg to accessd and it's on the web site but I never received a copy which I normally do. Did it get to the list? Maybe just a slow day... Ed From jengross at gte.net Thu Nov 1 18:55:22 2007 From: jengross at gte.net (Jennifer Gross) Date: Thu, 01 Nov 2007 16:55:22 -0700 Subject: [AccessD] A2K and Office 2003 In-Reply-To: <002c01c81c7c$f7e854e0$647aa8c0@M90> Message-ID: <00c901c81ce2$ade12820$6501a8c0@jefferson> Hi John, It turns out, after getting more of the story from the user, that she is running into something that I have run into as well. It also turns out that it is not the Tools > Office Links export to Excel, but the exports that I have coded. They work fine the first couple of times that you run them in one session, but after say 10 exports in one sitting, if you have closed Excel between exports, a bad copy of Excel hangs around and won't let the next export happen. I run into this problem when testing Access to Excel code, because I am over and over again exporting to Excel. Only a re-boot will get rid of that pesky Excel ghost. The trick I have found is to keep Excel open - I can close the workbooks, but have to leave the mother ship open. So, one of the lessons here is when the new network guy tells you that the users can't export to Excel anymore and since A2K and Excel 2003 don't play nice together how much of a problem would it be to move your code to Access 2003? I can turn to my mantra - "I bill by the hour" - and jump at the chance to re-code and debug and deal with the new 'features' of Access 2003, on a (billable) hourly basis. Or, I can save myself the headache and do my due diligence and dig to find out what is really going on. Problem solved, when you are doing 30 exports to Excel in one sitting, don't close Excel. I don't know what causes that and years ago gave up trying to figure out why it happens. I know this doesn't help your issue John, but it feels good to get it out. Jennifer -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, November 01, 2007 4:47 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2K and Office 2003 Jennifer, That is fascinating because I have a client with the same issue. Outlook only upgraded to 2003, the rest left at 2000, can't export to Excel. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jennifer Gross Sent: Wednesday, October 31, 2007 5:58 PM To: AccessD List Subject: [AccessD] A2K and Office 2003 Happy Halloween Everyone, I have a client that for reasons relating to Outlook has updated their systems to Office 2003, without Access 2003, while leaving Access 2000 so that my databases can run. I don't want to move the databases to Access 2003 because they are running fine in A2K and have been for years. However, they are running into some bumps in the road, particularly with exporting to Excel using Tools > Office Links. If anybody has an tips regarding the co-existence of Office 2003 with Access 2000 I would greatly appreciate it. Thank you, Jennifer Gross databasics Newbury Park, CA office: (805) 480-1921 fax: (805) 499-0467 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Nov 1 21:06:11 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 1 Nov 2007 22:06:11 -0400 Subject: [AccessD] good opportunity Message-ID: <045201c81cf5$e77e52c0$4b3a8343@SusanOne> I'd apply, but I don't have the .NET experience they're looking for. Susan H. From john at winhaven.net Thu Nov 1 23:38:58 2007 From: john at winhaven.net (John Bartow) Date: Thu, 1 Nov 2007 23:38:58 -0500 Subject: [AccessD] A2K and Office 2003 In-Reply-To: <00c901c81ce2$ade12820$6501a8c0@jefferson> References: <002c01c81c7c$f7e854e0$647aa8c0@M90> <00c901c81ce2$ade12820$6501a8c0@jefferson> Message-ID: <013201c81d0a$489c7230$6402a8c0@ScuzzPaq> Hi Jennifer, Is Excel showing in the process list when "ghosting"? John B. From jengross at gte.net Fri Nov 2 10:51:59 2007 From: jengross at gte.net (Jennifer Gross) Date: Fri, 02 Nov 2007 08:51:59 -0700 Subject: [AccessD] A2K and Office 2003 In-Reply-To: <013201c81d0a$489c7230$6402a8c0@ScuzzPaq> Message-ID: <008a01c81d68$5117aed0$6501a8c0@jefferson> Hi John, I have not had the opportunity to jump in and see what is going on when the problem happens for my client - they run Windows 2000 Server, so I would be able to see a processes list. My development machine runs Windows 98 so I am not getting a processes list, just an application list - and yes, Excel is showing on the application list - and an End Task won't shut the thing down. If I recall I will get a Not Responding - End Now prompt, but even End Now will not get rid of the bugger. A reboot is all that will clear things up for me with Windows 98. Jennifer -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Thursday, November 01, 2007 9:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2K and Office 2003 Hi Jennifer, Is Excel showing in the process list when "ghosting"? John B. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Fri Nov 2 12:26:58 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 2 Nov 2007 13:26:58 -0400 Subject: [AccessD] Running Sum cont'd In-Reply-To: References: Message-ID: On Nov 1, 2007 7:53 PM, Tesiny, Ed wrote: > Good Evening List, > I sent a msg to accessd and it's on the web site but I never received a copy which I normally do. Did it get to the list? > Maybe just a slow day... Yep it did Ed. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From garykjos at gmail.com Fri Nov 2 12:45:08 2007 From: garykjos at gmail.com (Gary Kjos) Date: Fri, 2 Nov 2007 12:45:08 -0500 Subject: [AccessD] Running Sum cont'd In-Reply-To: References: Message-ID: Yes I saw it too. I don't have an answer but I saw it. I know you can do running sum in a report but I wouldn't know how to do it in a report. Or I might export to Excel and do it there. GK On 11/1/07, Tesiny, Ed wrote: > Good Evening List, > I sent a msg to accessd and it's on the web site but I never received a copy which I normally do. Did it get to the list? > Maybe just a slow day... > Ed > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From garykjos at gmail.com Fri Nov 2 12:59:18 2007 From: garykjos at gmail.com (Gary Kjos) Date: Fri, 2 Nov 2007 12:59:18 -0500 Subject: [AccessD] Running Sum cont'd In-Reply-To: References: Message-ID: I meant I wouldn't know how to do it in a QUERY....my fingers were not correctly pusing the correct keys that my brain was telling them to..... GK On 11/2/07, Gary Kjos wrote: > Yes I saw it too. I don't have an answer but I saw it. I know you can > do running sum in a report but I wouldn't know how to do it in a > report. Or I might export to Excel and do it there. > > GK > > On 11/1/07, Tesiny, Ed wrote: > > Good Evening List, > > I sent a msg to accessd and it's on the web site but I never received a copy which I normally do. Did it get to the list? > > Maybe just a slow day... > > Ed > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > Gary Kjos > garykjos at gmail.com > -- Gary Kjos garykjos at gmail.com From Gustav at cactus.dk Fri Nov 2 13:01:38 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 02 Nov 2007 19:01:38 +0100 Subject: [AccessD] Running Sum Message-ID: Hi Ed To calculate a running sum or total, DSum may be used but it's faster to use a subquery. Basically looks like this: SELECT S.TransDate, S.Amount, (Select Sum([Amount]) From tblTransaction As T Where T.TransDate <= S.TransDate) AS Balance FROM tblTransaction AS S ORDER BY S.TransDate; I your case something like this (air code, not tested): SELECT S.Provider_No As Provnum, S.[Report Date], Sum(S.RunTot) As DayRunTot, (Select Sum([RunTot]) From qry_MATS_RunSum4 As T Where T.Provider_No = S.Provider_No And T.[Report Date] <= S.[Report Date]) AS CalRunTot FROM qry_MATS_RunSum4 AS S GROUP BY S.Provider_No, S.[Report Date] ORDER BY S.Provider_No, S.[Report Date]; /gustav >>> EdTesiny at oasas.state.ny.us 01-11-2007 20:29 >>> Hi List, I have a query with admission rates data for August and September by providers. I'm trying to get a running sum across the two months for each provider. Put another way, for August we have an admission rate and I want August admissions added to Septembers on Septembers row like ProviderNo Report_Date CalRunTot Actual Rates 3 8/1/07 2.46 2.46 3 9/1/07 3.45 .99 5 8/1/07 8.21 8.21 5 9/1/07 9.95 1.74 Hope this doesn't get all mixed up in transmission, current SQL is below SELECT qry_MATS_RunSum4.Provider_No AS Provnum, qry_MATS_RunSum4.Provider_No, qry_MATS_RunSum4.Provider_Name, qry_MATS_RunSum4.report_date, qry_MATS_RunSum4.AdRate, qry_MATS_RunSum4.RunTot, DSum("adrate","qry_MATS_RunSum4","Provider_no<=" & [provnum] & " ") AS CalRunTot FROM qry_MATS_RunSum4; MTIA Ed Edward P. Tesiny Assistant Director for Evaluation Bureau of Evaluation and Practice Improvement New York State OASAS 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 Email: EdTesiny at oasas.state.ny.us From wdhindman at dejpolsystems.com Fri Nov 2 13:45:35 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 2 Nov 2007 14:45:35 -0400 Subject: [AccessD] ...gurus only References: Message-ID: <001601c81d80$8e6df790$0c10a8c0@jisshowsbs.local> ...ok, you too, eh :) ...given: fields w x y z max series data1 1 1 1 2 data2 1 5 5 3 data3 1 4 3 3 4 data4 2 3 3 2 data5 1 1 1 1 1 4 data6 1 1 1 1) where max is the largest number in w/x/y/z and 2) where series is the total fields between the first one containing a number and the last containing a number 3) where empty fields contain "" rather than nulls ...two days and I've yet to come up with an answer to fill the max and series fields from the data in w/x/y/z. ...help! William From ssharkins at gmail.com Fri Nov 2 13:58:45 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Nov 2007 14:58:45 -0400 Subject: [AccessD] ...gurus only References: <001601c81d80$8e6df790$0c10a8c0@jisshowsbs.local> Message-ID: <003601c81d82$669a6e90$4b3a8343@SusanOne> Is this a crosstab? Susan H. > ...ok, you too, eh :) > > ...given: > > fields w x y z max series > data1 1 1 1 2 > data2 1 5 5 3 > data3 1 4 3 3 4 > data4 2 3 3 2 > data5 1 1 1 1 1 4 > data6 1 1 1 > > 1) where max is the largest number in w/x/y/z and > 2) where series is the total fields between the first one containing a > number and the last containing a number > 3) where empty fields contain "" rather than nulls > > ...two days and I've yet to come up with an answer to fill the max and > series fields from the data in w/x/y/z. > > ...help! > > William > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From EdTesiny at oasas.state.ny.us Fri Nov 2 14:17:54 2007 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Fri, 2 Nov 2007 15:17:54 -0400 Subject: [AccessD] Running Sum In-Reply-To: References: Message-ID: Gustav, Thank you very much, I can stop banging my head against the wall. Couple of tweaks and display the data in a chart and we're good to go. Thanks again. Ed Ed Tesiny EdTesiny at oasas.state.ny.us > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Gustav Brock > Sent: Friday, November 02, 2007 2:02 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Running Sum > > Hi Ed > > To calculate a running sum or total, DSum may be used but > it's faster to use a subquery. > Basically looks like this: > > SELECT > S.TransDate, > S.Amount, > (Select > Sum([Amount]) > From > tblTransaction As T > Where > T.TransDate <= S.TransDate) AS > Balance > FROM > tblTransaction AS S > ORDER BY > S.TransDate; > > I your case something like this (air code, not tested): > > SELECT > S.Provider_No As Provnum, > S.[Report Date], > Sum(S.RunTot) As DayRunTot, > (Select > Sum([RunTot]) > From > qry_MATS_RunSum4 As T > Where > T.Provider_No = S.Provider_No > And > T.[Report Date] <= S.[Report Date]) AS > CalRunTot > FROM > qry_MATS_RunSum4 AS S > GROUP BY > S.Provider_No, > S.[Report Date] > ORDER BY > S.Provider_No, > S.[Report Date]; > > /gustav > > >>> EdTesiny at oasas.state.ny.us 01-11-2007 20:29 >>> > Hi List, > I have a query with admission rates data for August and September by > providers. I'm trying to get a running sum across the two months for > each provider. Put another way, for August we have an admission rate > and I want August admissions added to Septembers on > Septembers row like > > ProviderNo Report_Date CalRunTot Actual Rates > 3 8/1/07 2.46 > 2.46 > 3 9/1/07 3.45 > .99 > > 5 8/1/07 8.21 > 8.21 > > 5 9/1/07 9.95 > 1.74 > > Hope this doesn't get all mixed up in transmission, current SQL is > below > > SELECT qry_MATS_RunSum4.Provider_No AS Provnum, > qry_MATS_RunSum4.Provider_No, qry_MATS_RunSum4.Provider_Name, > qry_MATS_RunSum4.report_date, qry_MATS_RunSum4.AdRate, > qry_MATS_RunSum4.RunTot, > DSum("adrate","qry_MATS_RunSum4","Provider_no<=" & [provnum] & " ") AS > CalRunTot > FROM qry_MATS_RunSum4; > > MTIA > Ed > > Edward P. Tesiny > Assistant Director for Evaluation > Bureau of Evaluation and Practice Improvement > New York State OASAS > 1450 Western Ave. > Albany, New York 12203-3526 > Phone: (518) 485-7189 > Fax: (518) 485-5769 > Email: EdTesiny at oasas.state.ny.us > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Fri Nov 2 14:24:03 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 2 Nov 2007 15:24:03 -0400 Subject: [AccessD] ...gurus only References: <001601c81d80$8e6df790$0c10a8c0@jisshowsbs.local> <003601c81d82$669a6e90$4b3a8343@SusanOne> Message-ID: <000501c81d85$ee2b9a70$0c10a8c0@jisshowsbs.local> ...the table was built from a crosstab query ...why? William ----- Original Message ----- From: "Susan Harkins" To: "Access Developers discussion and problem solving" Sent: Friday, November 02, 2007 2:58 PM Subject: Re: [AccessD] ...gurus only > Is this a crosstab? > > Susan H. > > >> ...ok, you too, eh :) >> >> ...given: >> >> fields w x y z max series >> data1 1 1 1 2 >> data2 1 5 5 3 >> data3 1 4 3 3 4 >> data4 2 3 3 2 >> data5 1 1 1 1 1 4 >> data6 1 1 1 >> >> 1) where max is the largest number in w/x/y/z and >> 2) where series is the total fields between the first one containing a >> number and the last containing a number >> 3) where empty fields contain "" rather than nulls >> >> ...two days and I've yet to come up with an answer to fill the max and >> series fields from the data in w/x/y/z. >> >> ...help! >> >> William >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> 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 Nov 2 14:29:34 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Nov 2007 15:29:34 -0400 Subject: [AccessD] ...gurus only References: <001601c81d80$8e6df790$0c10a8c0@jisshowsbs.local><003601c81d82$669a6e90$4b3a8343@SusanOne> <000501c81d85$ee2b9a70$0c10a8c0@jisshowsbs.local> Message-ID: <007e01c81d86$b53bafb0$4b3a8343@SusanOne> Well, it does look like a crosstab and I thought if you could do it in the crosstab, might be easier, but no, I don't have a solution for you. Susan H. > ...the table was built from a crosstab query ...why? From DWUTKA at Marlow.com Fri Nov 2 14:31:19 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Fri, 2 Nov 2007 14:31:19 -0500 Subject: [AccessD] ...gurus only In-Reply-To: <000501c81d85$ee2b9a70$0c10a8c0@jisshowsbs.local> Message-ID: Hang on William, got a solution for you...have it posted in a minute...one quick question, when you said the fields aren't null, but are "", are you saying that they are text fields? Just curious, not sure if I need to force the data to be numeric... I'll have it posted in a minute. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, November 02, 2007 2:24 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ...gurus only ...the table was built from a crosstab query ...why? William ----- Original Message ----- From: "Susan Harkins" To: "Access Developers discussion and problem solving" Sent: Friday, November 02, 2007 2:58 PM Subject: Re: [AccessD] ...gurus only > Is this a crosstab? > > Susan H. > > >> ...ok, you too, eh :) >> >> ...given: >> >> fields w x y z max series >> data1 1 1 1 2 >> data2 1 5 5 3 >> data3 1 4 3 3 4 >> data4 2 3 3 2 >> data5 1 1 1 1 1 4 >> data6 1 1 1 >> >> 1) where max is the largest number in w/x/y/z and >> 2) where series is the total fields between the first one containing a >> number and the last containing a number >> 3) where empty fields contain "" rather than nulls >> >> ...two days and I've yet to come up with an answer to fill the max and >> series fields from the data in w/x/y/z. >> >> ...help! >> >> William >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 BusinessSensitve 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 rockysmolin at bchacc.com Fri Nov 2 14:37:27 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 2 Nov 2007 12:37:27 -0700 Subject: [AccessD] ...gurus only In-Reply-To: <001601c81d80$8e6df790$0c10a8c0@jisshowsbs.local> References: <001601c81d80$8e6df790$0c10a8c0@jisshowsbs.local> Message-ID: <00a401c81d87$cd0beb40$0301a8c0@HAL9005> This looks like an easy job for a bit of code. And a real tough job for queries. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, November 02, 2007 11:46 AM To: Access Developers discussion and problem solving Subject: [AccessD] ...gurus only ...ok, you too, eh :) ...given: fields w x y z max series data1 1 1 1 2 data2 1 5 5 3 data3 1 4 3 3 4 data4 2 3 3 2 data5 1 1 1 1 1 4 data6 1 1 1 1) where max is the largest number in w/x/y/z and 2) where series is the total fields between the first one containing a number and the last containing a number 3) where empty fields contain "" rather than nulls ...two days and I've yet to come up with an answer to fill the max and series fields from the data in w/x/y/z. ...help! William -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.18/1104 - Release Date: 11/1/2007 6:47 PM From Gustav at cactus.dk Fri Nov 2 14:40:18 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 02 Nov 2007 20:40:18 +0100 Subject: [AccessD] ...gurus only Message-ID: Hi William Here is one method using Choose(): SELECT ID, w, x, y, z, IIf(Val("" & [w])>Val("" & [x]), Val("" & [w]), Val("" & [x])) AS Max12, IIf(Val("" & [y])>Val("" & [z]), Val("" & [y]), Val("" & [z])) AS Max34, IIf(Val("" & [w])>0, 1, IIf(Val("" & [x])>0, 2, IIf(Val("" & [y])>0, 3, IIf(Val("" & [z])>0, 4, 0)))) AS First, IIf(Val("" & [z])>0, 4, IIf(Val("" & [y])>0, 3, IIf(Val("" & [x])>0, 2, IIf(Val("" & [w])>0, 1, 0)))) AS Last, IIf([Max12]>[Max34], [Max12], [Max34]) AS Max, IIf([First]=[Last], Val(Choose([First],[w],[x],[y],[z])), Val(Choose([First],[w],[x],[y],[z]))+Val(Choose([Last],[w],[x],[y],[z]))) AS Series FROM tblGuru; This will return, which differs from your example but is according to your specification: Max Series 1 2 5 6 4 4 3 5 1 2 1 1 /gustav >>> wdhindman at dejpolsystems.com 02-11-2007 19:45:35 >>> ...ok, you too, eh :) ...given: fields w x y z max series data1 1 1 1 2 data2 1 5 5 3 data3 1 4 3 3 4 data4 2 3 3 2 data5 1 1 1 1 1 4 data6 1 1 1 1) where max is the largest number in w/x/y/z and 2) where series is the total fields between the first one containing a number and the last containing a number 3) where empty fields contain "" rather than nulls ...two days and I've yet to come up with an answer to fill the max and series fields from the data in w/x/y/z. ...help! William From wdhindman at dejpolsystems.com Fri Nov 2 14:46:00 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 2 Nov 2007 15:46:00 -0400 Subject: [AccessD] ...gurus only References: Message-ID: <000501c81d88$ff0d2b30$0c10a8c0@jisshowsbs.local> ...ah me ...leave it to you to catch that one, no wonder I've been spinning in circles ...the fields are indeed long integers though I can convert them readily :) William ----- Original Message ----- From: "Drew Wutka" To: "Access Developers discussion and problem solving" Sent: Friday, November 02, 2007 3:31 PM Subject: Re: [AccessD] ...gurus only > Hang on William, got a solution for you...have it posted in a > minute...one quick question, when you said the fields aren't null, but > are "", are you saying that they are text fields? Just curious, not > sure if I need to force the data to be numeric... I'll have it posted in > a minute. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Friday, November 02, 2007 2:24 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] ...gurus only > > ...the table was built from a crosstab query ...why? > > William > > ----- Original Message ----- > From: "Susan Harkins" > To: "Access Developers discussion and problem solving" > > Sent: Friday, November 02, 2007 2:58 PM > Subject: Re: [AccessD] ...gurus only > > >> Is this a crosstab? >> >> Susan H. >> >> >>> ...ok, you too, eh :) >>> >>> ...given: >>> >>> fields w x y z max series >>> data1 1 1 1 2 >>> data2 1 5 5 3 >>> data3 1 4 3 3 4 >>> data4 2 3 3 2 >>> data5 1 1 1 1 1 4 >>> data6 1 1 1 >>> >>> 1) where max is the largest number in w/x/y/z and >>> 2) where series is the total fields between the first one containing > a >>> number and the last containing a number >>> 3) where empty fields contain "" rather than nulls >>> >>> ...two days and I've yet to come up with an answer to fill the max > and >>> series fields from the data in w/x/y/z. >>> >>> ...help! >>> >>> William >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/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 BusinessSensitve 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 wdhindman at dejpolsystems.com Fri Nov 2 14:46:57 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 2 Nov 2007 15:46:57 -0400 Subject: [AccessD] ...gurus only References: <001601c81d80$8e6df790$0c10a8c0@jisshowsbs.local><003601c81d82$669a6e90$4b3a8343@SusanOne><000501c81d85$ee2b9a70$0c10a8c0@jisshowsbs.local> <007e01c81d86$b53bafb0$4b3a8343@SusanOne> Message-ID: <000901c81d89$20fac6d0$0c10a8c0@jisshowsbs.local> ...its a possibility Susan but I can't see a way do it. William ----- Original Message ----- From: "Susan Harkins" To: "Access Developers discussion and problem solving" Sent: Friday, November 02, 2007 3:29 PM Subject: Re: [AccessD] ...gurus only > Well, it does look like a crosstab and I thought if you could do it in the > crosstab, might be easier, but no, I don't have a solution for you. > > Susan H. > > >> ...the table was built from a crosstab query ...why? > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Fri Nov 2 15:05:02 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 2 Nov 2007 16:05:02 -0400 Subject: [AccessD] ...gurus only References: Message-ID: <000f01c81d8b$a7abe860$0c10a8c0@jisshowsbs.local> ...thanks gustav but: ...I'm busted again ...there was an error in the data3 max ...sigh ...given: fields w x y z max series data1 1 1 1 2 data2 1 5 5 3 data3 1 4 3 4 4 data4 2 3 3 2 data5 1 1 1 1 1 4 data6 1 1 1 1) where max is the largest number in w/x/y/z and 2) where series is the total number of fields between the first one containing a number and the last containing a number, not the total of the field contents. 3) where w/x/y/z are long integers for some stupid reason since it will allways be a single digit ...I ask for guru help and everyone starts exposing why I need it :( ...there is a desperate shortage of caffiene in my bloodstream ...that's my story and I'm sticking to it :) William ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, November 02, 2007 3:40 PM Subject: Re: [AccessD] ...gurus only > Hi William > > Here is one method using Choose(): > > SELECT > ID, > w, > x, > y, > z, > IIf(Val("" & [w])>Val("" & [x]), > Val("" & [w]), > Val("" & [x])) AS Max12, > IIf(Val("" & [y])>Val("" & [z]), > Val("" & [y]), > Val("" & [z])) AS Max34, > IIf(Val("" & [w])>0, > 1, > IIf(Val("" & [x])>0, > 2, > IIf(Val("" & [y])>0, > 3, > IIf(Val("" & [z])>0, > 4, > 0)))) AS > First, > IIf(Val("" & [z])>0, > 4, > IIf(Val("" & [y])>0, > 3, > IIf(Val("" & [x])>0, > 2, > IIf(Val("" & [w])>0, > 1, > 0)))) AS > Last, > IIf([Max12]>[Max34], > [Max12], > [Max34]) AS > Max, > IIf([First]=[Last], > Val(Choose([First],[w],[x],[y],[z])), > > Val(Choose([First],[w],[x],[y],[z]))+Val(Choose([Last],[w],[x],[y],[z]))) > AS > Series > FROM > tblGuru; > > > This will return, which differs from your example but is according to your > specification: > > Max Series > 1 2 > 5 6 > 4 4 > 3 5 > 1 2 > 1 1 > > /gustav > >>>> wdhindman at dejpolsystems.com 02-11-2007 19:45:35 >>> > ...ok, you too, eh :) > > ...given: > > fields w x y z max series > data1 1 1 1 2 > data2 1 5 5 3 > data3 1 4 3 3 4 > data4 2 3 3 2 > data5 1 1 1 1 1 4 > data6 1 1 1 > > 1) where max is the largest number in w/x/y/z and > 2) where series is the total fields between the first one containing a > number and the last containing a number > 3) where empty fields contain "" rather than nulls > > ...two days and I've yet to come up with an answer to fill the max and > series fields from the data in w/x/y/z. > > ...help! > > William > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From DWUTKA at Marlow.com Fri Nov 2 15:08:01 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Fri, 2 Nov 2007 15:08:01 -0500 Subject: [AccessD] ...gurus only In-Reply-To: <000501c81d88$ff0d2b30$0c10a8c0@jisshowsbs.local> Message-ID: To do this with just queries isn't too difficult, though the series (by your definition) requires a little logic checking. You could probably do this with just one query, but what I tested uses two. A Union query, and then a totals query. The Union query takes your W,X,Y, and Z fields and puts them in the same field: SELECT ALL W As Field, IIF(Not IsNull([W]),1,0) AS FieldHasData, ID FROM tblWilliam UNION ALL SELECT X As Field, IIF(Not IsNull([X]),1,IIF((Not IsNull([W])) AND (Not IsNull([Y]) OR Not IsNull([Z])),1,0)) AS FieldHasData, ID FROM tblWilliam UNION ALL SELECT Y As Field, IIF(Not IsNull([Y]),1,IIF((Not IsNull([W]) OR Not IsNull([Y])) AND Not IsNull([Z]),1,0)) AS FieldHasData, ID FROM tblWilliam UNION ALL SELECT Z As Field, IIF(Not IsNull([Z]),1,0) AS FieldHasData, ID FROM tblWilliam; Note: My test table has ID as an AutoNumber, and then fields W,X,Y, And Z as long integers. It's important to use the ALL statement in this thing, because Union queries default to not showing records with duplicate data. Next, we can now use a simple totals query to get the results you want: SELECT tblWilliam.ID, Sum(qryUnionedFields.FieldHasData) AS SumOfFieldHasData, tblWilliam.W, tblWilliam.X, tblWilliam.Y, tblWilliam.Z, Max(qryUnionedFields.Field) AS MaxOfField FROM tblWilliam INNER JOIN qryUnionedFields ON tblWilliam.ID = qryUnionedFields.ID GROUP BY tblWilliam.ID, tblWilliam.W, tblWilliam.X, tblWilliam.Y, tblWilliam.Z ORDER BY tblWilliam.ID; Note that the Max field is simple, it's just Maxing the values in the union query based on the ID field. The series is summing that 'middle' field in the Union query, which, by the logic we put in the union query, shows a 1 if it needs to be counted in the series 'sum'. I'll send you the sample db I whipped this up in, offline. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, November 02, 2007 2:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ...gurus only ...ah me ...leave it to you to catch that one, no wonder I've been spinning in circles ...the fields are indeed long integers though I can convert them readily :) William 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 BusinessSensitve 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 wdhindman at dejpolsystems.com Fri Nov 2 15:16:09 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 2 Nov 2007 16:16:09 -0400 Subject: [AccessD] ...gurus only References: <001601c81d80$8e6df790$0c10a8c0@jisshowsbs.local> <00a401c81d87$cd0beb40$0301a8c0@HAL9005> Message-ID: <001001c81d8d$3579fb40$0c10a8c0@jisshowsbs.local> ...looks can be deceiving :) William ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Friday, November 02, 2007 3:37 PM Subject: Re: [AccessD] ...gurus only > This looks like an easy job for a bit of code. And a real tough job for > queries. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Friday, November 02, 2007 11:46 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] ...gurus only > > ...ok, you too, eh :) > > ...given: > > fields w x y z max series > data1 1 1 1 2 > data2 1 5 5 3 > data3 1 4 3 3 4 > data4 2 3 3 2 > data5 1 1 1 1 1 4 > data6 1 1 1 > > 1) where max is the largest number in w/x/y/z and > 2) where series is the total fields between the first one containing a > number and the last containing a number > 3) where empty fields contain "" rather than nulls > > ...two days and I've yet to come up with an answer to fill the max and > series fields from the data in w/x/y/z. > > ...help! > > William > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.15.18/1104 - Release Date: > 11/1/2007 > 6:47 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Nov 2 15:16:55 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 02 Nov 2007 21:16:55 +0100 Subject: [AccessD] ...gurus only Message-ID: Hi William 1) No problem. 2) Sorry, now I understand. Use this for Series: IIf([First]+[Last]=0, 0, 1+[Last]-[First]) AS Series 3) If you expect "" for empty fields, values must be strings. That's why I use Val() to convert to Integers. /gustav >>> wdhindman at dejpolsystems.com 02-11-2007 21:05:02 >>> ...thanks gustav but: ...I'm busted again ...there was an error in the data3 max ...sigh ...given: fields w x y z max series data1 1 1 1 2 data2 1 5 5 3 data3 1 4 3 4 4 data4 2 3 3 2 data5 1 1 1 1 1 4 data6 1 1 1 1) where max is the largest number in w/x/y/z and 2) where series is the total number of fields between the first one containing a number and the last containing a number, not the total of the field contents. 3) where w/x/y/z are long integers for some stupid reason since it will allways be a single digit ...I ask for guru help and everyone starts exposing why I need it :( ...there is a desperate shortage of caffiene in my bloodstream ...that's my story and I'm sticking to it :) William ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, November 02, 2007 3:40 PM Subject: Re: [AccessD] ...gurus only > Hi William > > Here is one method using Choose(): > > SELECT > ID, > w, > x, > y, > z, > IIf(Val("" & [w])>Val("" & [x]), > Val("" & [w]), > Val("" & [x])) AS Max12, > IIf(Val("" & [y])>Val("" & [z]), > Val("" & [y]), > Val("" & [z])) AS Max34, > IIf(Val("" & [w])>0, > 1, > IIf(Val("" & [x])>0, > 2, > IIf(Val("" & [y])>0, > 3, > IIf(Val("" & [z])>0, > 4, > 0)))) AS > First, > IIf(Val("" & [z])>0, > 4, > IIf(Val("" & [y])>0, > 3, > IIf(Val("" & [x])>0, > 2, > IIf(Val("" & [w])>0, > 1, > 0)))) AS > Last, > IIf([Max12]>[Max34], > [Max12], > [Max34]) AS > Max, > IIf([First]=[Last], > Val(Choose([First],[w],[x],[y],[z])), > > Val(Choose([First],[w],[x],[y],[z]))+Val(Choose([Last],[w],[x],[y],[z]))) > AS > Series > FROM > tblGuru; > > > This will return, which differs from your example but is according to your > specification: > > Max Series > 1 2 > 5 6 > 4 4 > 3 5 > 1 2 > 1 1 > > /gustav > >>>> wdhindman at dejpolsystems.com 02-11-2007 19:45:35 >>> > ...ok, you too, eh :) > > ...given: > > fields w x y z max series > data1 1 1 1 2 > data2 1 5 5 3 > data3 1 4 3 3 4 > data4 2 3 3 2 > data5 1 1 1 1 1 4 > data6 1 1 1 > > 1) where max is the largest number in w/x/y/z and > 2) where series is the total fields between the first one containing a > number and the last containing a number > 3) where empty fields contain "" rather than nulls > > ...two days and I've yet to come up with an answer to fill the max and > series fields from the data in w/x/y/z. > > ...help! > > William From wdhindman at dejpolsystems.com Fri Nov 2 15:22:19 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 2 Nov 2007 16:22:19 -0400 Subject: [AccessD] ...gurus only References: Message-ID: <001401c81d8e$11e94180$0c10a8c0@jisshowsbs.local> ...sigh ...I've probably tried at least 50 different qry approaches before trying to write code to do it ...I'll give this one a shot ...tks :) William ----- Original Message ----- From: "Drew Wutka" To: "Access Developers discussion and problem solving" Sent: Friday, November 02, 2007 4:08 PM Subject: Re: [AccessD] ...gurus only > To do this with just queries isn't too difficult, though the series (by > your definition) requires a little logic checking. You could probably > do this with just one query, but what I tested uses two. A Union query, > and then a totals query. The Union query takes your W,X,Y, and Z fields > and puts them in the same field: > > SELECT ALL W As Field, IIF(Not IsNull([W]),1,0) AS FieldHasData, ID > FROM tblWilliam > UNION ALL SELECT X As Field, IIF(Not IsNull([X]),1,IIF((Not IsNull([W])) > AND (Not IsNull([Y]) OR Not IsNull([Z])),1,0)) AS FieldHasData, ID > FROM tblWilliam > UNION ALL SELECT Y As Field, IIF(Not IsNull([Y]),1,IIF((Not IsNull([W]) > OR Not IsNull([Y])) AND Not IsNull([Z]),1,0)) AS FieldHasData, ID > FROM tblWilliam > UNION ALL SELECT Z As Field, IIF(Not IsNull([Z]),1,0) AS FieldHasData, > ID > FROM tblWilliam; > > Note: My test table has ID as an AutoNumber, and then fields W,X,Y, And > Z as long integers. It's important to use the ALL statement in this > thing, because Union queries default to not showing records with > duplicate data. > > Next, we can now use a simple totals query to get the results you want: > > SELECT tblWilliam.ID, Sum(qryUnionedFields.FieldHasData) AS > SumOfFieldHasData, tblWilliam.W, tblWilliam.X, tblWilliam.Y, > tblWilliam.Z, Max(qryUnionedFields.Field) AS MaxOfField > FROM tblWilliam INNER JOIN qryUnionedFields ON tblWilliam.ID = > qryUnionedFields.ID > GROUP BY tblWilliam.ID, tblWilliam.W, tblWilliam.X, tblWilliam.Y, > tblWilliam.Z > ORDER BY tblWilliam.ID; > > Note that the Max field is simple, it's just Maxing the values in the > union query based on the ID field. The series is summing that 'middle' > field in the Union query, which, by the logic we put in the union query, > shows a 1 if it needs to be counted in the series 'sum'. > > I'll send you the sample db I whipped this up in, offline. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Friday, November 02, 2007 2:46 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] ...gurus only > > ...ah me ...leave it to you to catch that one, no wonder I've been > spinning > in circles ...the fields are indeed long integers though I can convert > them > readily :) > > William > > 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 BusinessSensitve 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 wdhindman at dejpolsystems.com Fri Nov 2 15:32:10 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 2 Nov 2007 16:32:10 -0400 Subject: [AccessD] ...gurus only References: Message-ID: <002001c81d8f$72364ff0$0c10a8c0@jisshowsbs.local> ...tks gustav ...I'll give this a shot ...suddenly my cup runneth over ...ain't no place like AccessD :) ...now if only I could learn to swallow my pride and just ask before spending days running in circles. William ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, November 02, 2007 4:16 PM Subject: Re: [AccessD] ...gurus only > Hi William > > 1) No problem. > > 2) Sorry, now I understand. > Use this for Series: > > IIf([First]+[Last]=0, > 0, > 1+[Last]-[First]) AS > Series > > 3) If you expect "" for empty fields, values must be strings. That's why I > use Val() to convert to Integers. > > /gustav > > >>>> wdhindman at dejpolsystems.com 02-11-2007 21:05:02 >>> > ...thanks gustav but: > ...I'm busted again ...there was an error in the data3 max ...sigh > ...given: > > fields w x y z max series > data1 1 1 1 2 > data2 1 5 5 3 > data3 1 4 3 4 4 > data4 2 3 3 2 > data5 1 1 1 1 1 4 > data6 1 1 1 > > 1) where max is the largest number in w/x/y/z and > 2) where series is the total number of fields between the first one > containing a > number and the last containing a number, not the total of the field > contents. > 3) where w/x/y/z are long integers for some stupid reason since it will > allways be a single digit > > ...I ask for guru help and everyone starts exposing why I need it :( > ...there is a desperate shortage of caffiene in my bloodstream ...that's > my > story and I'm sticking to it :) > > William > > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Friday, November 02, 2007 3:40 PM > Subject: Re: [AccessD] ...gurus only > > >> Hi William >> >> Here is one method using Choose(): >> >> SELECT >> ID, >> w, >> x, >> y, >> z, >> IIf(Val("" & [w])>Val("" & [x]), >> Val("" & [w]), >> Val("" & [x])) AS Max12, >> IIf(Val("" & [y])>Val("" & [z]), >> Val("" & [y]), >> Val("" & [z])) AS Max34, >> IIf(Val("" & [w])>0, >> 1, >> IIf(Val("" & [x])>0, >> 2, >> IIf(Val("" & [y])>0, >> 3, >> IIf(Val("" & [z])>0, >> 4, >> 0)))) AS >> First, >> IIf(Val("" & [z])>0, >> 4, >> IIf(Val("" & [y])>0, >> 3, >> IIf(Val("" & [x])>0, >> 2, >> IIf(Val("" & [w])>0, >> 1, >> 0)))) AS >> Last, >> IIf([Max12]>[Max34], >> [Max12], >> [Max34]) AS >> Max, >> IIf([First]=[Last], >> Val(Choose([First],[w],[x],[y],[z])), >> >> Val(Choose([First],[w],[x],[y],[z]))+Val(Choose([Last],[w],[x],[y],[z]))) >> AS >> Series >> FROM >> tblGuru; >> >> >> This will return, which differs from your example but is according to >> your >> specification: >> >> Max Series >> 1 2 >> 5 6 >> 4 4 >> 3 5 >> 1 2 >> 1 1 >> >> /gustav >> >>>>> wdhindman at dejpolsystems.com 02-11-2007 19:45:35 >>> >> ...ok, you too, eh :) >> >> ...given: >> >> fields w x y z max series >> data1 1 1 1 2 >> data2 1 5 5 3 >> data3 1 4 3 3 4 >> data4 2 3 3 2 >> data5 1 1 1 1 1 4 >> data6 1 1 1 >> >> 1) where max is the largest number in w/x/y/z and >> 2) where series is the total fields between the first one containing a >> number and the last containing a number >> 3) where empty fields contain "" rather than nulls >> >> ...two days and I've yet to come up with an answer to fill the max and >> series fields from the data in w/x/y/z. >> >> ...help! >> >> William > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From DWUTKA at Marlow.com Fri Nov 2 15:25:59 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Fri, 2 Nov 2007 15:25:59 -0500 Subject: [AccessD] ...gurus only (Better Solution) In-Reply-To: Message-ID: That'll teach me to do this stuff without a smoke break all afternoon. Just realized there's an even easier way to do this. Instead of all that logic in the union query, we can get the same results mathematically. Here's the new Union Query: SELECT ALL W As Field, IIF(Not IsNull([W]),1,null) AS FieldHasData, ID FROM tblWilliam UNION ALL SELECT X As Field, IIF(Not IsNull([X]),2,null) AS FieldHasData, ID FROM tblWilliam UNION ALL SELECT Y As Field, IIF(Not IsNull([Y]),3,null) AS FieldHasData, ID FROM tblWilliam UNION ALL SELECT Z As Field, IIF(Not IsNull([Z]),4,null) AS FieldHasData, ID FROM tblWilliam; Note that all the goofy logic is gone. Instead, if that field is not null, it gets a value equal to it's position (1 through 4, equating to W,X,Y,and Z). If it doesn't have a value, then FieldHasData is Null. With that in mind, instead of summing that field, we make the Series field be the Max-Min of FieldHasData + 1. Here's the new totals query: SELECT tblWilliam.ID, Max([FieldHasData])-Min([FieldHasData])+1 AS Series, tblWilliam.W, tblWilliam.X, tblWilliam.Y, tblWilliam.Z, Max(qryUnionedFields.Field) AS MaxOfField FROM tblWilliam INNER JOIN qryUnionedFields ON tblWilliam.ID = qryUnionedFields.ID GROUP BY tblWilliam.ID, tblWilliam.W, tblWilliam.X, tblWilliam.Y, tblWilliam.Z ORDER BY tblWilliam.ID; That way, if you need to add or remove fields, all you have to do is add another line to the union query (and add the field to the totals query), and the only 'check' would be to make sure that the 'true' part of the IIF statement is sequenced (1, 2, 3,...etc). Next time you have a problem like this, start with 'Drew, I'm trying too..... now, go smoke, and tell me how to do that. ' ;) Drew 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 BusinessSensitve 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 Gustav at cactus.dk Fri Nov 2 15:39:41 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 02 Nov 2007 21:39:41 +0100 Subject: [AccessD] ...gurus only Message-ID: Hi William It might be a sign of stress ... Friday beer and weekend and fun is approaching! /gustav >>> wdhindman at dejpolsystems.com 02-11-2007 21:32:10 >>> ...tks gustav ...I'll give this a shot ...suddenly my cup runneth over ...ain't no place like AccessD :) ...now if only I could learn to swallow my pride and just ask before spending days running in circles. William From DWUTKA at Marlow.com Fri Nov 2 15:38:43 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Fri, 2 Nov 2007 15:38:43 -0500 Subject: [AccessD] ...gurus only In-Reply-To: <001001c81d8d$3579fb40$0c10a8c0@jisshowsbs.local> Message-ID: LOL, I'll tell ya, if I learned anything about SQL in my years playing with Access, it's that using plain old queries, such as what the wizard does automatically for you is like riding a bike. Using union queries and subqueries is like riding a space shuttle. You can go A LOT further in it, though it's slightly more complex to operate! ;) The key is to remember that queries are great for dealing with vertical data (columns). You can sum a column simply by saying Sum([SomeField]), and it doesn't matter if there are a million records, it sums it off that one line. But if you need to Sum a Row, you have to build it [SomeField]+[AnotherField]+[YetAnotherField]. This works, but if more fields are added, it can be a pain, cause you have to adjust the statements. With a Union Query, you can take the horizontal, and make it vertical...which, admittedly, if you add more fields, you still have to change the union query (unless you build it on the fly), but it's much cleaner, and easier to deal with. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, November 02, 2007 3:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ...gurus only ...looks can be deceiving :) William ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Friday, November 02, 2007 3:37 PM Subject: Re: [AccessD] ...gurus only > This looks like an easy job for a bit of code. And a real tough job for > queries. > > Rocky > 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 BusinessSensitve 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 markamatte at hotmail.com Fri Nov 2 15:44:24 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 2 Nov 2007 20:44:24 +0000 Subject: [AccessD] ...gurus only In-Reply-To: <002001c81d8f$72364ff0$0c10a8c0@jisshowsbs.local> References: <002001c81d8f$72364ff0$0c10a8c0@jisshowsbs.local> Message-ID: > ...now if only I could learn to swallow my pride and just ask before > spending days running in circles. ...ouch...you're gonna hate this suggestion. Guessing from your description below...you used about 3 fields in your original table to get this output. We'll use the fields: field1=Set---this is where your data1,data2 stuff went field2=Value---this is where your 1,2,5,4,2,3,4...went field3=Ltr--(letter)...where your w,x,y,z Assuming this is how your data is stored...the results you want can be achieved using a single crosstab. Good Luck, Mark A. Matte ************SQL************* TRANSFORM Sum(tblDataTest.Value) AS SumOfValueSELECT tblDataTest.Set, Max(tblDataTest.Value) AS MaxOfValue, Count(*) AS SeriesFROM tblDataTestGROUP BY tblDataTest.SetPIVOT tblDataTest.Ltr; ************SQL************* > From: wdhindman at dejpolsystems.com> To: accessd at databaseadvisors.com> Date: Fri, 2 Nov 2007 16:32:10 -0400> Subject: Re: [AccessD] ...gurus only> > ...tks gustav ...I'll give this a shot ...suddenly my cup runneth over > ...ain't no place like AccessD :)> ...now if only I could learn to swallow my pride and just ask before > spending days running in circles.> > William> > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Friday, November 02, 2007 4:16 PM> Subject: Re: [AccessD] ...gurus only> > > > Hi William> >> > 1) No problem.> >> > 2) Sorry, now I understand.> > Use this for Series:> >> > IIf([First]+[Last]=0,> > 0,> > 1+[Last]-[First]) AS> > Series> >> > 3) If you expect "" for empty fields, values must be strings. That's why I > > use Val() to convert to Integers.> >> > /gustav> >> >> >>>> wdhindman at dejpolsystems.com 02-11-2007 21:05:02 >>>> > ...thanks gustav but:> > ...I'm busted again ...there was an error in the data3 max ...sigh> > ...given:> >> > fields w x y z max series> > data1 1 1 1 2> > data2 1 5 5 3> > data3 1 4 3 4 4> > data4 2 3 3 2> > data5 1 1 1 1 1 4> > data6 1 1 1> >> > 1) where max is the largest number in w/x/y/z and> > 2) where series is the total number of fields between the first one> > containing a> > number and the last containing a number, not the total of the field> > contents.> > 3) where w/x/y/z are long integers for some stupid reason since it will> > allways be a single digit> >> > ...I ask for guru help and everyone starts exposing why I need it :(> > ...there is a desperate shortage of caffiene in my bloodstream ...that's > > my> > story and I'm sticking to it :)> >> > William> >> > ----- Original Message ----- > > From: "Gustav Brock" > > To: > > Sent: Friday, November 02, 2007 3:40 PM> > Subject: Re: [AccessD] ...gurus only> >> >> >> Hi William> >>> >> Here is one method using Choose():> >>> >> SELECT> >> ID,> >> w,> >> x,> >> y,> >> z,> >> IIf(Val("" & [w])>Val("" & [x]),> >> Val("" & [w]),> >> Val("" & [x])) AS Max12,> >> IIf(Val("" & [y])>Val("" & [z]),> >> Val("" & [y]),> >> Val("" & [z])) AS Max34,> >> IIf(Val("" & [w])>0,> >> 1,> >> IIf(Val("" & [x])>0,> >> 2,> >> IIf(Val("" & [y])>0,> >> 3,> >> IIf(Val("" & [z])>0,> >> 4,> >> 0)))) AS> >> First,> >> IIf(Val("" & [z])>0,> >> 4,> >> IIf(Val("" & [y])>0,> >> 3,> >> IIf(Val("" & [x])>0,> >> 2,> >> IIf(Val("" & [w])>0,> >> 1,> >> 0)))) AS> >> Last,> >> IIf([Max12]>[Max34],> >> [Max12],> >> [Max34]) AS> >> Max,> >> IIf([First]=[Last],> >> Val(Choose([First],[w],[x],[y],[z])),> >>> >> Val(Choose([First],[w],[x],[y],[z]))+Val(Choose([Last],[w],[x],[y],[z])))> >> AS> >> Series> >> FROM> >> tblGuru;> >>> >>> >> This will return, which differs from your example but is according to > >> your> >> specification:> >>> >> Max Series> >> 1 2> >> 5 6> >> 4 4> >> 3 5> >> 1 2> >> 1 1> >>> >> /gustav> >>> >>>>> wdhindman at dejpolsystems.com 02-11-2007 19:45:35 >>>> >> ...ok, you too, eh :)> >>> >> ...given:> >>> >> fields w x y z max series> >> data1 1 1 1 2> >> data2 1 5 5 3> >> data3 1 4 3 3 4> >> data4 2 3 3 2> >> data5 1 1 1 1 1 4> >> data6 1 1 1> >>> >> 1) where max is the largest number in w/x/y/z and> >> 2) where series is the total fields between the first one containing a> >> number and the last containing a number> >> 3) where empty fields contain "" rather than nulls> >>> >> ...two days and I've yet to come up with an answer to fill the max and> >> series fields from the data in w/x/y/z.> >>> >> ...help!> >>> >> William> >> >> >> > -- > > AccessD mailing list> > AccessD at databaseadvisors.com> > http://databaseadvisors.com/mailman/listinfo/accessd> > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list> AccessD at databaseadvisors.com> http://databaseadvisors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com _________________________________________________________________ Peek-a-boo FREE Tricks & Treats for You! http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us From DWUTKA at Marlow.com Fri Nov 2 15:55:31 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Fri, 2 Nov 2007 15:55:31 -0500 Subject: [AccessD] ...gurus only In-Reply-To: <001401c81d8e$11e94180$0c10a8c0@jisshowsbs.local> Message-ID: No problem, but don't use THIS example, use my second one, which just posted. This example uses logic for that 'FieldHasData' field, which if you have more or less fields, you're going to go bonkers writing that. My 'fix' is FAR easier. To Add a field, you would just add the following line to the union query: UNION ALL SELECT XYZ As Field, IIF(Not IsNull([XYZ]),5,null) AS FieldHasData, ID FROM tblWilliam; And then add the XYZ field to the totals query (which you can do through the query builder). The only 'trick' is making sure that the true part of the IIF field is sequential in the order that you want to check the series in. Honestly, I wrote the example in less time then it would have taken to write code for it...plus, the finished result is just a plain old query, which is easy to push into a form or report. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, November 02, 2007 3:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ...gurus only ...sigh ...I've probably tried at least 50 different qry approaches before trying to write code to do it ...I'll give this one a shot ...tks :) William ----- Original Message ----- From: "Drew Wutka" To: "Access Developers discussion and problem solving" Sent: Friday, November 02, 2007 4:08 PM Subject: Re: [AccessD] ...gurus only > To do this with just queries isn't too difficult, though the series (by > your definition) requires a little logic checking. You could probably > do this with just one query, but what I tested uses two. A Union query, > and then a totals query. The Union query takes your W,X,Y, and Z fields > and puts them in the same field: > > SELECT ALL W As Field, IIF(Not IsNull([W]),1,0) AS FieldHasData, ID > FROM tblWilliam > UNION ALL SELECT X As Field, IIF(Not IsNull([X]),1,IIF((Not IsNull([W])) > AND (Not IsNull([Y]) OR Not IsNull([Z])),1,0)) AS FieldHasData, ID > FROM tblWilliam > UNION ALL SELECT Y As Field, IIF(Not IsNull([Y]),1,IIF((Not IsNull([W]) > OR Not IsNull([Y])) AND Not IsNull([Z]),1,0)) AS FieldHasData, ID > FROM tblWilliam > UNION ALL SELECT Z As Field, IIF(Not IsNull([Z]),1,0) AS FieldHasData, > ID > FROM tblWilliam; > > Note: My test table has ID as an AutoNumber, and then fields W,X,Y, And > Z as long integers. It's important to use the ALL statement in this > thing, because Union queries default to not showing records with > duplicate data. > > Next, we can now use a simple totals query to get the results you want: > > SELECT tblWilliam.ID, Sum(qryUnionedFields.FieldHasData) AS > SumOfFieldHasData, tblWilliam.W, tblWilliam.X, tblWilliam.Y, > tblWilliam.Z, Max(qryUnionedFields.Field) AS MaxOfField > FROM tblWilliam INNER JOIN qryUnionedFields ON tblWilliam.ID = > qryUnionedFields.ID > GROUP BY tblWilliam.ID, tblWilliam.W, tblWilliam.X, tblWilliam.Y, > tblWilliam.Z > ORDER BY tblWilliam.ID; > > Note that the Max field is simple, it's just Maxing the values in the > union query based on the ID field. The series is summing that 'middle' > field in the Union query, which, by the logic we put in the union query, > shows a 1 if it needs to be counted in the series 'sum'. > > I'll send you the sample db I whipped this up in, offline. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Friday, November 02, 2007 2:46 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] ...gurus only > > ...ah me ...leave it to you to catch that one, no wonder I've been > spinning > in circles ...the fields are indeed long integers though I can convert > them > readily :) > > William > > 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 BusinessSensitve 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 BusinessSensitve 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 ab-mi at post3.tele.dk Fri Nov 2 16:17:12 2007 From: ab-mi at post3.tele.dk (Asger Blond) Date: Fri, 2 Nov 2007 22:17:12 +0100 Subject: [AccessD] ...gurus only In-Reply-To: <001601c81d80$8e6df790$0c10a8c0@jisshowsbs.local> Message-ID: <000001c81d95$bc8d7960$2101a8c0@AB> If empty fields contain "" rather than nulls, then the fields are supposed to be text - and you could use a query like this: SELECT w, x, y, z, IIf([x]>[w] Or [y]>[x] Or [z]>[y],IIf([y]>[x] Or ([z]>[y] And [z]>[x]),IIf([z]>[y],[z],[y]),[x]),[w]) AS [Max], -(IsNumeric([w])+IsNumeric([x])+IsNumeric([y])+IsNumeric([z])) AS [Series] FROM tblTest Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af William Hindman Sendt: 2. november 2007 19:46 Til: Access Developers discussion and problem solving Emne: [AccessD] ...gurus only ...ok, you too, eh :) ...given: fields w x y z max series data1 1 1 1 2 data2 1 5 5 3 data3 1 4 3 3 4 data4 2 3 3 2 data5 1 1 1 1 1 4 data6 1 1 1 1) where max is the largest number in w/x/y/z and 2) where series is the total fields between the first one containing a number and the last containing a number 3) where empty fields contain "" rather than nulls ...two days and I've yet to come up with an answer to fill the max and series fields from the data in w/x/y/z. ...help! William -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Fri Nov 2 16:15:48 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Nov 2007 17:15:48 -0400 Subject: [AccessD] ...gurus only References: <002001c81d8f$72364ff0$0c10a8c0@jisshowsbs.local> Message-ID: <010e01c81d95$8d6e0730$4b3a8343@SusanOne> > Assuming this is how your data is stored...the results you want can be > achieved using a single crosstab. =======That's what I thought. Susan H. From dwaters at usinternet.com Fri Nov 2 16:32:10 2007 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 2 Nov 2007 16:32:10 -0500 Subject: [AccessD] ...gurus only In-Reply-To: <001601c81d80$8e6df790$0c10a8c0@jisshowsbs.local> References: <001601c81d80$8e6df790$0c10a8c0@jisshowsbs.local> Message-ID: <001801c81d97$d3cd3f50$0200a8c0@danwaters> Hi William, I can envision doing this while looping through the recordset. But what I would do that's a little different is to not refer to w,x,y, or z, but rather use the index value of the fields. So instead of rst("w") use rst(1) (or is it rst(0)??). If you replace 1 with lngField you can give yourself some control over what the code is doing. You'll need to walk through the fields for max like: Do while lngField<=4 If lngMax < rst(lngField) then lngMax = rst(lngField) endif lngField = lngField + 1 loop rst("Max") = lngMax Then do something similar for your total fields column. Hope this helps! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, November 02, 2007 1:46 PM To: Access Developers discussion and problem solving Subject: [AccessD] ...gurus only ...ok, you too, eh :) ...given: fields w x y z max series data1 1 1 1 2 data2 1 5 5 3 data3 1 4 3 3 4 data4 2 3 3 2 data5 1 1 1 1 1 4 data6 1 1 1 1) where max is the largest number in w/x/y/z and 2) where series is the total fields between the first one containing a number and the last containing a number 3) where empty fields contain "" rather than nulls ...two days and I've yet to come up with an answer to fill the max and series fields from the data in w/x/y/z. ...help! William -- 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 Fri Nov 2 18:27:57 2007 From: ab-mi at post3.tele.dk (Asger Blond) Date: Sat, 3 Nov 2007 00:27:57 +0100 Subject: [AccessD] ...gurus only In-Reply-To: <000001c81d95$bc8d7960$2101a8c0@AB> Message-ID: <000101c81da8$004b5f70$2101a8c0@AB> --correction, the query should be like this (supposing text data type and empty string "" as empty field value): SELECT w, x, y, z, IIf(val(x)>val(w) Or val(y)>val(w) Or val(z)>val(w), IIf(val(y)>val(x) Or val(z)>val(x), IIf(val(z)>val(y),val(z),val(y)),val(x)),val(w)) AS Max, -(IsNumeric(w)+IsNumeric(x)+IsNumeric(y)+IsNumeric(z)) AS Series FROM tblTest Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Asger Blond Sendt: 2. november 2007 22:17 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] ...gurus only If empty fields contain "" rather than nulls, then the fields are supposed to be text - and you could use a query like this: SELECT w, x, y, z, IIf([x]>[w] Or [y]>[x] Or [z]>[y],IIf([y]>[x] Or ([z]>[y] And [z]>[x]),IIf([z]>[y],[z],[y]),[x]),[w]) AS [Max], -(IsNumeric([w])+IsNumeric([x])+IsNumeric([y])+IsNumeric([z])) AS [Series] FROM tblTest Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af William Hindman Sendt: 2. november 2007 19:46 Til: Access Developers discussion and problem solving Emne: [AccessD] ...gurus only ...ok, you too, eh :) ...given: fields w x y z max series data1 1 1 1 2 data2 1 5 5 3 data3 1 4 3 3 4 data4 2 3 3 2 data5 1 1 1 1 1 4 data6 1 1 1 1) where max is the largest number in w/x/y/z and 2) where series is the total fields between the first one containing a number and the last containing a number 3) where empty fields contain "" rather than nulls ...two days and I've yet to come up with an answer to fill the max and series fields from the data in w/x/y/z. ...help! William -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 users.mns.ru Sat Nov 3 01:56:19 2007 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sat, 3 Nov 2007 09:56:19 +0300 Subject: [AccessD] OT: If he would have not arrived today, it could not be understood... Message-ID: <000001c81de6$a38bc970$6401a8c0@nant> Hi All, This post is a way off-topic and it's not easy weekend reading but I dare to post it here because it's related to the people of many nations and I expect this my post will be let through by moderators who allowed to have here a rather heated discussion about fires in California... No, I do not expect a heated discussion of this OT thread here. Just read it. This post has excerpts from an article published on 31-OCT-2007 here: http://www.kommersant.ru/doc.aspx?DocsID=820588 Here is its automated translation: http://www.translate.ru/url/tran_url.asp?lang=ru&url=http%3A%2F%2Fwww.kommer sant.ru%2Fdoc.aspx%3FDocsID%3D820588&direction=re&template=General&cp1=NO&cp 2=NO&autotranslate=on&transliterate=on&psubmit2.x=44&psubmit2.y=6 Below are the excerpts, which I tried to make more readable than referred above automated translation. My short comments are in brackets marked with (SS: ...). As you can find this article is far from being "an apologetics to the nowadays Russian Authorities"... I'm sorry that is all I can do now. Read on till the end and then you should get what a lot of people feel and think here. Thank you. <<<< If he would have not arrived today, it could not be understood... ================================================================= ...Yesterday, in Day of Memory of Victims of Political Reprisals, the president of Russia Vladimir Putin has arrived to Butovo where are buried more than 20 thousand of people shot to death in 1937-1938.... ...Here are buried more than 20 thousands of persons, - speaks diakon Dmitrij, and these are only about whom we precisely know. More than three hundreds of them are canonized, these are those from approximately thousand who passed on church affairs: not only clerics, but also church heads, and simply active laymen. First Russian pilot Danilevsky, troupe of one Baltic theatre with its full complement lays here... People of sixty nationalities are buried here: Greeks, Japanese, Germans... even an Epiopian... ...You go on a sanded pathway, and you realize, that what you now feel is "the ground burning under foots". To not touch it, to not tramble it down that is all what is required from you now. Because you never ever walk over the tombs before. Leaves rustle under foots, as pieces of polyfoam in hands. And you feel "frost on your skin"... ... - For us it is a real tragedy, - he (SS:Mr. Putin) has continued - the scale of this tragedy is enormous - millions of persons were banished, have been shot to death. And that were first of all people with their own opinion who were not afraid to openly express this their opinion... The most effective people, color of the nation were destroyed.... ...I (SS:this artcle author continues), maybe, first time have seen the confused president. - That's a complete crazyness (SS: umopomrachenie <- RUS), - has murmured the president. - it seems, that it is impossible to do that. For what?! (SS: for what all that people were executed to death?)... ...Father Cyril, the grandson of one of shot on this field, has made a helpless gesture and has added, that here the executors have shot the boy of twelve years. It was authorized to shoot only from fifteen, and they have attributed in the documents three superfluous years to the boy (to be "authorized" to kill him "legally"). They have also shot the seventy years old grandmother, and it is not clear for what reason she was shot do death.... ... - But memory is necessary to us not in itself, - spoke president. - but to determine the ways for development of the country... Political disputes, fights, struggle of opinions are necessary, but it is necessary, that this process would have not been destructive - it should be creative Now it should become clearer, why "United Russia" (SS: the most powerful political party here leaded by Mr.Putin for this year's December Russian Parliament Elections) will not participate in pre-election debate. These debate, probably, risk to become destructive for them (SS: for "United Russia" party).... >>>> -- Shamil From wdhindman at dejpolsystems.com Sat Nov 3 08:07:12 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sat, 3 Nov 2007 09:07:12 -0400 Subject: [AccessD] OT: If he would have not arrived today, it could not be understood... References: <000001c81de6$a38bc970$6401a8c0@nant> Message-ID: <001001c81e1a$73975660$6b706c4c@jisshowsbs.local> ...I don't "get" the last paragraph Shamil ...did you post this on OT? William ----- Original Message ----- From: "Shamil Salakhetdinov" To: "'Access-D'" Sent: Saturday, November 03, 2007 2:56 AM Subject: [AccessD] OT: If he would have not arrived today,it could not be understood... > > Hi All, > > This post is a way off-topic and it's not easy weekend reading but I dare > to > post it here because it's related to the people of many nations and I > expect > this my post will be let through by moderators who allowed to have here a > rather heated discussion about fires in California... > > No, I do not expect a heated discussion of this OT thread here. Just read > it. > > This post has excerpts from an article published on 31-OCT-2007 here: > > http://www.kommersant.ru/doc.aspx?DocsID=820588 > > Here is its automated translation: > > http://www.translate.ru/url/tran_url.asp?lang=ru&url=http%3A%2F%2Fwww.kommer > sant.ru%2Fdoc.aspx%3FDocsID%3D820588&direction=re&template=General&cp1=NO&cp > 2=NO&autotranslate=on&transliterate=on&psubmit2.x=44&psubmit2.y=6 > > Below are the excerpts, which I tried to make more readable than referred > above automated translation. My short comments are in brackets marked with > (SS: ...). As you can find this article is far from being "an apologetics > to > the nowadays Russian Authorities"... > > I'm sorry that is all I can do now. Read on till the end and then you > should > get what a lot of people feel and think here. Thank you. > > <<<< > If he would have not arrived today, it could not be understood... > ================================================================= > > ...Yesterday, in Day of Memory of Victims of Political Reprisals, the > president of Russia Vladimir Putin has arrived to Butovo where are buried > more than 20 thousand of people shot to death in 1937-1938.... > > ...Here are buried more than 20 thousands of persons, - speaks diakon > Dmitrij, and these are only about whom we precisely know. More than three > hundreds of them are canonized, these are those from approximately > thousand > who passed on church affairs: not only clerics, but also church heads, and > simply active laymen. First Russian pilot Danilevsky, troupe of one Baltic > theatre with its full complement lays here... People of sixty > nationalities > are buried here: Greeks, Japanese, Germans... even an Epiopian... > > ...You go on a sanded pathway, and you realize, that what you now feel is > "the ground burning under foots". To not touch it, to not tramble it down > that is all what is required from you now. Because you never ever walk > over > the tombs before. Leaves rustle under foots, as pieces of polyfoam in > hands. > And you feel "frost on your skin"... > > ... - For us it is a real tragedy, - he (SS:Mr. Putin) has continued - > the > scale of this tragedy is enormous - millions of persons were banished, > have > been shot to death. And that were first of all people with their own > opinion > who were not afraid to openly express this their opinion... The most > effective people, color of the nation were destroyed.... > > ...I (SS:this artcle author continues), maybe, first time have seen the > confused president. > > - That's a complete crazyness (SS: umopomrachenie <- RUS), - has murmured > the president. - it seems, that it is impossible to do that. For what?! > (SS: for what all that people were executed to death?)... > > ...Father Cyril, the grandson of one of shot on this field, has made a > helpless gesture and has added, that here the executors have shot the boy > of > twelve years. It was authorized to shoot only from fifteen, and they have > attributed in the documents three superfluous years to the boy (to be > "authorized" to kill him "legally"). They have also shot the seventy years > old grandmother, and it is not clear for what reason she was shot do > death.... > > ... - But memory is necessary to us not in itself, - spoke president. - > but > to determine the ways for development of the country... Political > disputes, > fights, struggle of opinions are necessary, but it is necessary, that this > process would have not been destructive - it should be creative > > Now it should become clearer, why "United Russia" (SS: the most powerful > political party here leaded by Mr.Putin for this year's December Russian > Parliament Elections) will not participate in pre-election debate. These > debate, probably, risk to become destructive for them (SS: for "United > Russia" party).... > >>>>> > > > -- > Shamil > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sat Nov 3 09:02:40 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 3 Nov 2007 07:02:40 -0700 Subject: [AccessD] OT: If he would have not arrived today, it could not be understood... In-Reply-To: <000001c81de6$a38bc970$6401a8c0@nant> References: <000001c81de6$a38bc970$6401a8c0@nant> Message-ID: <006701c81e22$32b3e1b0$0301a8c0@HAL9005> Shamil: "Political disputes, fights, struggle of opinions are necessary, but it is necessary, that this process would have not been destructive - it should be creative" Is this a coded way of saying that opposing views are not 'creative' and therefore not welcome in the debate? Is he trying to engineer a way to stay in power as a strong ruler if not dictator and undo or move away from the democratic reforms? Rocky Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, November 02, 2007 11:56 PM To: 'Access-D' Subject: [AccessD] OT: If he would have not arrived today,it could not be understood... Hi All, This post is a way off-topic and it's not easy weekend reading but I dare to post it here because it's related to the people of many nations and I expect this my post will be let through by moderators who allowed to have here a rather heated discussion about fires in California... No, I do not expect a heated discussion of this OT thread here. Just read it. This post has excerpts from an article published on 31-OCT-2007 here: http://www.kommersant.ru/doc.aspx?DocsID=820588 Here is its automated translation: http://www.translate.ru/url/tran_url.asp?lang=ru&url=http%3A%2F%2Fwww.kommer sant.ru%2Fdoc.aspx%3FDocsID%3D820588&direction=re&template=General&cp1=NO&cp 2=NO&autotranslate=on&transliterate=on&psubmit2.x=44&psubmit2.y=6 Below are the excerpts, which I tried to make more readable than referred above automated translation. My short comments are in brackets marked with (SS: ...). As you can find this article is far from being "an apologetics to the nowadays Russian Authorities"... I'm sorry that is all I can do now. Read on till the end and then you should get what a lot of people feel and think here. Thank you. <<<< If he would have not arrived today, it could not be understood... ================================================================= ...Yesterday, in Day of Memory of Victims of Political Reprisals, the president of Russia Vladimir Putin has arrived to Butovo where are buried more than 20 thousand of people shot to death in 1937-1938.... ...Here are buried more than 20 thousands of persons, - speaks diakon Dmitrij, and these are only about whom we precisely know. More than three hundreds of them are canonized, these are those from approximately thousand who passed on church affairs: not only clerics, but also church heads, and simply active laymen. First Russian pilot Danilevsky, troupe of one Baltic theatre with its full complement lays here... People of sixty nationalities are buried here: Greeks, Japanese, Germans... even an Epiopian... ...You go on a sanded pathway, and you realize, that what you now feel is "the ground burning under foots". To not touch it, to not tramble it down that is all what is required from you now. Because you never ever walk over the tombs before. Leaves rustle under foots, as pieces of polyfoam in hands. And you feel "frost on your skin"... ... - For us it is a real tragedy, - he (SS:Mr. Putin) has continued - the scale of this tragedy is enormous - millions of persons were banished, have been shot to death. And that were first of all people with their own opinion who were not afraid to openly express this their opinion... The most effective people, color of the nation were destroyed.... ...I (SS:this artcle author continues), maybe, first time have seen the confused president. - That's a complete crazyness (SS: umopomrachenie <- RUS), - has murmured the president. - it seems, that it is impossible to do that. For what?! (SS: for what all that people were executed to death?)... ...Father Cyril, the grandson of one of shot on this field, has made a helpless gesture and has added, that here the executors have shot the boy of twelve years. It was authorized to shoot only from fifteen, and they have attributed in the documents three superfluous years to the boy (to be "authorized" to kill him "legally"). They have also shot the seventy years old grandmother, and it is not clear for what reason she was shot do death.... ... - But memory is necessary to us not in itself, - spoke president. - but to determine the ways for development of the country... Political disputes, fights, struggle of opinions are necessary, but it is necessary, that this process would have not been destructive - it should be creative Now it should become clearer, why "United Russia" (SS: the most powerful political party here leaded by Mr.Putin for this year's December Russian Parliament Elections) will not participate in pre-election debate. These debate, probably, risk to become destructive for them (SS: for "United Russia" party).... >>>> -- Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.19/1106 - Release Date: 11/2/2007 9:46 PM From tinanfields at torchlake.com Sat Nov 3 11:10:09 2007 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 03 Nov 2007 12:10:09 -0400 Subject: [AccessD] Insert a new line in an expression? Message-ID: <472C9D61.1010701@torchlake.com> It seems that this should be easy, but I'm not getting it. I have a table of registered voters with their physical addresses and mailing addresses if other than the physical address. The physical address fields were laid out according to excellent rules, separated into house numbers, directional prefix, roadway name, roadway type, directional suffix, and residential extension. But, the mailing address fields were just MailAddr1, MailAddr2, MailAddr3, MailAddr4, and MailAddr5 text fields, with no consistent data entry rules - so there were PO Box numbers in MailAddr1 or MailAddr2, alone or in combination with city name, state name, and sometimes zip code. In order to use the data for mailing, I spent yesterday cleaning up the mailing address fields so that a "full" street address if any is in MailAddr1, PO Boxes are in MailAddr2, City, State, and Zip are in MailAddr3, MailAddr4, and MailAddr5 respectively. Now, I am trying to generate a report with these addresses. In some cases there are both a street address and a PO Box number, such as 2651 Gunny's Way NE, PO Box 1534. But, I don't want a blank line appearing for blank street addresses or PO Box addresses, so I'm trying to put them together in an expression. What I want to do is insert a carriage return character after the street address to put the PO Box on its own print line. I have this expression so far: =Trim(Iif([MailAddr1] Is Not Null, [MailAddr1]&" ","")&[MailAddr2]) which strings them out nicely, with a space between them. Instead of the " " I want to have ASCII 13 or the Access vba equivalent. I have tried vbCrLf, but Access sticks square brackets around it and demands a value for it as a parameter. (I've tried a bunch of other stuff, too, but just in case this turns out to be way easy, I am not going to spill the beans about my many failed efforts.) How do I do this? TIA Tina From joeo at appoli.com Sat Nov 3 11:51:40 2007 From: joeo at appoli.com (Joe O'Connell) Date: Sat, 3 Nov 2007 12:51:40 -0400 Subject: [AccessD] Insert a new line in an expression? In-Reply-To: <472C9D61.1010701@torchlake.com> References: <472C9D61.1010701@torchlake.com> Message-ID: Tina, You need both Carriage Return (ASCII 13) and Line Fee (ASCII 10). Use Chr(13) & Chr(10) instead of " ". Joe -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Saturday, November 03, 2007 12:10 PM To: Access Developers discussion and problem solving Subject: [AccessD] Insert a new line in an expression? It seems that this should be easy, but I'm not getting it. I have a table of registered voters with their physical addresses and mailing addresses if other than the physical address. The physical address fields were laid out according to excellent rules, separated into house numbers, directional prefix, roadway name, roadway type, directional suffix, and residential extension. But, the mailing address fields were just MailAddr1, MailAddr2, MailAddr3, MailAddr4, and MailAddr5 text fields, with no consistent data entry rules - so there were PO Box numbers in MailAddr1 or MailAddr2, alone or in combination with city name, state name, and sometimes zip code. In order to use the data for mailing, I spent yesterday cleaning up the mailing address fields so that a "full" street address if any is in MailAddr1, PO Boxes are in MailAddr2, City, State, and Zip are in MailAddr3, MailAddr4, and MailAddr5 respectively. Now, I am trying to generate a report with these addresses. In some cases there are both a street address and a PO Box number, such as 2651 Gunny's Way NE, PO Box 1534. But, I don't want a blank line appearing for blank street addresses or PO Box addresses, so I'm trying to put them together in an expression. What I want to do is insert a carriage return character after the street address to put the PO Box on its own print line. I have this expression so far: =Trim(Iif([MailAddr1] Is Not Null, [MailAddr1]&" ","")&[MailAddr2]) which strings them out nicely, with a space between them. Instead of the " " I want to have ASCII 13 or the Access vba equivalent. I have tried vbCrLf, but Access sticks square brackets around it and demands a value for it as a parameter. (I've tried a bunch of other stuff, too, but just in case this turns out to be way easy, I am not going to spill the beans about my many failed efforts.) How do I do this? TIA Tina -- 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 Nov 3 11:55:08 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 3 Nov 2007 12:55:08 -0400 Subject: [AccessD] Insert a new line in an expression? In-Reply-To: References: <472C9D61.1010701@torchlake.com> Message-ID: <29f585dd0711030955t59b4435dy307b9823d1ce6285@mail.gmail.com> Or use the constant vbCrLf. Arthur On 11/3/07, Joe O'Connell wrote: > > Tina, > > You need both Carriage Return (ASCII 13) and Line Fee (ASCII 10). Use > Chr(13) & Chr(10) instead of " ". > > Joe > From tinanfields at torchlake.com Sat Nov 3 12:29:46 2007 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 03 Nov 2007 13:29:46 -0400 Subject: [AccessD] Insert a new line in an expression? In-Reply-To: References: <472C9D61.1010701@torchlake.com> Message-ID: <472CB00A.4020804@torchlake.com> Joe, Yes, when I make it: =Trim(Iif([MailAddr1] Is Not Null, [MailAddr1] & Chr(13) & Chr(10), "") & [MailAddr2]) it works. Tina Joe O'Connell wrote: > Tina, > > You need both Carriage Return (ASCII 13) and Line Fee (ASCII 10). Use > Chr(13) & Chr(10) instead of " ". > > Joe > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris > Fields > Sent: Saturday, November 03, 2007 12:10 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Insert a new line in an expression? > > It seems that this should be easy, but I'm not getting it. I have a > table of registered voters with their physical addresses and mailing > addresses if other than the physical address. The physical address > fields were laid out according to excellent rules, separated into house > numbers, directional prefix, roadway name, roadway type, directional > suffix, and residential extension. But, the mailing address fields were > > just MailAddr1, MailAddr2, MailAddr3, MailAddr4, and MailAddr5 text > fields, with no consistent data entry rules - so there were PO Box > numbers in MailAddr1 or MailAddr2, alone or in combination with city > name, state name, and sometimes zip code. In order to use the data for > mailing, I spent yesterday cleaning up the mailing address fields so > that a "full" street address if any is in MailAddr1, PO Boxes are in > MailAddr2, City, State, and Zip are in MailAddr3, MailAddr4, and > MailAddr5 respectively. > > Now, I am trying to generate a report with these addresses. In some > cases there are both a street address and a PO Box number, such as 2651 > Gunny's Way NE, PO Box 1534. But, I don't want a blank line appearing > for blank street addresses or PO Box addresses, so I'm trying to put > them together in an expression. What I want to do is insert a carriage > return character after the street address to put the PO Box on its own > print line. > > I have this expression so far: > =Trim(Iif([MailAddr1] Is Not Null, [MailAddr1]&" ","")&[MailAddr2]) > which strings them out nicely, with a space between them. Instead of > the " " I want to have ASCII 13 or the Access vba equivalent. I have > tried vbCrLf, but Access sticks square brackets around it and demands a > value for it as a parameter. (I've tried a bunch of other stuff, too, > but just in case this turns out to be way easy, I am not going to spill > the beans about my many failed efforts.) > > How do I do this? > > TIA > Tina > From tinanfields at torchlake.com Sat Nov 3 12:35:17 2007 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 03 Nov 2007 13:35:17 -0400 Subject: [AccessD] Insert a new line in an expression? In-Reply-To: <29f585dd0711030955t59b4435dy307b9823d1ce6285@mail.gmail.com> References: <472C9D61.1010701@torchlake.com> <29f585dd0711030955t59b4435dy307b9823d1ce6285@mail.gmail.com> Message-ID: <472CB155.6090906@torchlake.com> Arthur, I wanted to use that constant, but I am not succeeding. When I write: =Trim( Iif( [MailAddr1] Is Not Null, [MailAddr1] & vbCrLf, "")& [MailAddr2]) Access treats vbCrLf not as a constant but as a parameter. What am I doing wrong? Tina Arthur Fuller wrote: > Or use the constant vbCrLf. > > Arthur > > On 11/3/07, Joe O'Connell wrote: > >> Tina, >> >> You need both Carriage Return (ASCII 13) and Line Fee (ASCII 10). Use >> Chr(13) & Chr(10) instead of " ". >> >> Joe >> >> From ssharkins at gmail.com Sat Nov 3 12:43:10 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 3 Nov 2007 13:43:10 -0400 Subject: [AccessD] Insert a new line in an expression? References: <472C9D61.1010701@torchlake.com> <29f585dd0711030955t59b4435dy307b9823d1ce6285@mail.gmail.com> <472CB155.6090906@torchlake.com> Message-ID: <003e01c81e41$0293b040$4b3a8343@SusanOne> > When I write: > =Trim( Iif( [MailAddr1] Is Not Null, [MailAddr1] & vbCrLf, "")& > [MailAddr2]) > Access treats vbCrLf not as a constant but as a parameter. =====Is this in a query expression? I don't think you can use vb constants in a query expression. Susan H. From max.wanadoo at gmail.com Sat Nov 3 12:56:16 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Sat, 3 Nov 2007 17:56:16 -0000 Subject: [AccessD] Insert a new line in an expression? In-Reply-To: <472C9D61.1010701@torchlake.com> Message-ID: <000001c81e42$d5d24060$8119fea9@LTVM> Hi Tina, I use a rather long function as shown below. I have actually trimmed this down considerable for your use as it actually does a whole bunch of other things for me. For your requirements this should suffice. It uses concatenation with nulls. This means it stores contents into variants instead of strings (although they are named as string for my own use. Eg strTitle instead of varTitle, change if you prefer). As I say, it is rather lengthy because I never know what data I am going to have and need to have a full address constructed correctly. Hope I have removed anything useful. HTH Max Function tryIt() MsgBox pfFormatPersonAddress(11200) End Function Function pfFormatPersonAddress(lngPID As Long) As String Dim dbs As DAO.Database, rst As DAO.Recordset, sql As String Dim bBadPostalArea As Boolean bBadPostalArea = False ' could be overseas Dim strAddrCode As String Dim lngTitleID As Variant, lngSuffixID As Variant Dim lngFKDistrictID As Variant, lngFKTownID As Variant Dim lngFKCountyID As Variant, lngFKPostalAreaID As Variant Dim lngFKCountryID As Variant Dim strTitle As Variant, strSuffix As Variant Dim strFirstName As Variant, strSecondName As Variant Dim strSurname As Variant Dim strHouseName As Variant, strHouseNum As Variant Dim strStreet As Variant Dim strPostalDistrict As Variant, strIn As Variant Dim strCountry As Variant, strCounty As Variant, strTown As Variant Dim strDefaultPostCode As String Dim strDistrict As Variant Dim varAddr As Variant, strLine As Variant Dim strOverseasPostCode As Variant ' rst variables that are being updated Dim strAddrName As Variant Dim strAddrMembName As Variant Dim strAddrShort As Variant Dim strAddrSingle As Variant Dim strAddrFull As Variant Dim strPostalArea As String Dim lngLocationID As Long Set dbs = CurrentDb sql = "Select * from mcmPeople where PersonID=" & lngPID Set rst = dbs.OpenRecordset(sql) If rst.EOF Then MsgBox "Cannot Find Person With PID: " & lngPID GoTo exithere End If ' Change empty strings to nulls so that empty vars are all set to null ' we can then use the '+' sign to avoid having empty lines If Nz(rst!FKTitleID, 0) = 0 Then lngTitleID = 0 Else lngTitleID = rst!FKTitleID If Nz(rst!FKSuffixID, 0) = 0 Then lngSuffixID = 0 Else lngSuffixID = rst!FKSuffixID If Nz(rst!FKPostalAreaID, 0) = 0 Then lngFKPostalAreaID = 0 Else lngFKPostalAreaID = rst!FKPostalAreaID If Nz(rst!FKDistrictID, 0) = 0 Then lngFKDistrictID = 0 Else lngFKDistrictID = rst!FKDistrictID If Nz(rst!FKTownID, 0) = 0 Then lngFKTownID = 0 Else lngFKTownID = rst!FKTownID If Nz(rst!FKCountyID, 0) = 0 Then lngFKCountyID = 0 Else lngFKCountyID = rst!FKCountyID If Nz(rst!FKCountryID, 0) = 0 Then lngFKCountryID = 0 Else lngFKCountryID = rst!FKCountryID If Len(Trim(rst!FirstName)) = 0 Or rst!FirstName = "" Then strFirstName = Null Else strFirstName = rst!FirstName If Len(Trim(rst!SecondName)) = 0 Or rst!SecondName = "" Or IsNull(rst!SecondName) Then strSecondName = Null Else strSecondName = rst!SecondName End If If Len(Trim(rst!Surname)) = 0 Or rst!Surname = "" Then strSurname = Null Else strSurname = rst!Surname If Len(Trim(rst!HouseName)) = 0 Or rst!HouseName = "" Then strHouseName = Null Else strHouseName = rst!HouseName If Len(Trim(rst!HouseNum)) = 0 Or rst!HouseNum = "" Then strHouseNum = Null Else strHouseNum = rst!HouseNum If Len(Trim(rst!Street)) = 0 Or rst!Street = "" Then strStreet = Null Else strStreet = rst!Street If Len(Trim(rst!PostalDistrict)) = 0 Or rst!PostalDistrict = "" Then strPostalDistrict = Null Else strPostalDistrict = rst!PostalDistrict If Len(Trim(rst!InCode)) = 0 Or rst!InCode = "" Then strIn = Null Else strIn = rst!InCode If Len(Trim(rst!OverseasPostCode)) = 0 Or rst!OverseasPostCode = "" Then strOverseasPostCode = Null Else strIn = rst!OverseasPostCode '============================================================== ' NAMES **************** ' sometime we only have an Initial for the first name If Not IsNull(strFirstName) And Len(strFirstName) = 1 Then strFirstName = strFirstName & "." End If strAddrName = Trim(((strTitle + " ") & (strFirstName + " ") & _ (Left(strSecondName, 1) + ". ") & (strSurname + " ") & (strSuffix + ""))) '& " (" & rst!PersonID & ")" strAddrFull = strAddrName ' only goes into full address If Not IsNull(strHouseName) Then strAddrFull = strAddrFull & vbCrLf & strHouseName End If strLine = (strHouseNum + " ") & (strStreet + " ") If Not Nz(strLine) & "!" = "!" Then strAddrFull = strAddrFull & vbCrLf & strLine End If ' get 3rd line of address or do nothing - not even a blank line strDistrict = Trim(Nz(DLookup("District", "mcmGeoDistricts", "DistrictID=" & lngFKDistrictID), Null)) strAddrShort = strAddrShort & strDistrict & vbCrLf strAddrSingle = strAddrSingle & (strDistrict + ", ") If Not Nz(strDistrict) & "!" = "!" Then strAddrFull = strAddrFull & vbCrLf & strDistrict End If ' get 4th line of address or do nothing - not even a blank line strTown = Trim(UCase$(Nz(DLookup("Town", "mcmGeoTowns", "TownID=" & Nz(lngFKTownID, 0)), " "))) strAddrShort = strAddrShort & (strTown + ", ") strAddrSingle = strAddrSingle & (strTown + ", ") If Not Nz(strTown) & "!" = "!" Then strAddrFull = strAddrFull & vbCrLf & strTown End If ' get 5th line of address or do nothing - not even a blank line If lngFKCountyID = 65 And Left(strTown, 6) = "Dublin" Then ' Skip if County Dublin and Dublin is in the town Else strCounty = Trim(Nz(DLookup("County", "mcmGeoCountys", "CountyID=" & Nz(lngFKCountyID, 0)), Null)) strDefaultPostCode = Trim(Nz(DLookup("FKPostalAreaID", "mcmGeoCountys", "CountyID=" & Nz(lngFKCountyID, 0)), "")) If Trim(Nz(strTown, "")) <> Trim(Nz(strCounty, "")) Then strAddrShort = strAddrShort & (strCounty + ", ") strAddrSingle = strAddrSingle & (strCounty + ", ") If Not Nz(strCounty) & "!" = "!" Then strAddrFull = strAddrFull & vbCrLf & strCounty End If End If End If ' See if we can get a default postcode in there if not one held from the [mcmGeoCountys] Tabls If Nz(rst!FKPostalAreaID, 0) = 0 And Len(Trim(strDefaultPostCode)) > 0 Then lngFKPostalAreaID = DLookup("PostalAreaID", "mcmGeoPostalAreas", "PostalArea='" & strDefaultPostCode & "'") If lngFKPostalAreaID = 0 Then lngFKPostalAreaID = 153 ' ZZ uknown End If If Not rst!FKPostalAreaID = lngFKPostalAreaID Or IsNull(rst!FKPostalAreaID) Then rst!FKPostalAreaID = lngFKPostalAreaID End If End If ' get 6th line of address or do nothing - not even a blank line strPostalArea = Nz(DLookup("Postalarea", "mcmGeoPostalAreas", "PostalAreaID=" & Nz(lngFKPostalAreaID, 0)), "") strLine = Trim(((strPostalArea + "") & (strPostalDistrict + " ") & (strIn + " "))) If InStr("ZZ/OV/IE/IS/IN", Left(strLine, 2)) > 0 Then ' ignore ireland and overseas and unknown Else 'MsgBox lngFKPostalAreaID & vbCrLf & strPostalDistrict & vbCrLf & strLine strAddrShort = strAddrShort & (strLine + ", ") strAddrSingle = strAddrSingle & (strLine + ", ") If Not Nz(strLine) & "!" = "!" Then strAddrFull = strAddrFull & vbCrLf & strLine End If End If strCountry = Nz(DLookup("Country", "mcmGeoCountrys", "CountryID=" & Nz(lngFKCountryID, 0)), Null) If Not InStr("England/Scotland/Wales", strCountry) > 0 Then strAddrShort = strAddrShort & strCountry strAddrSingle = strAddrSingle & strCountry If Not Nz(strCountry) & "!" = "!" Then strAddrFull = strAddrFull & vbCrLf & strCountry End If Else strAddrSingle = Trim(strAddrSingle) If Right(strAddrSingle, 1) = "," Then strAddrSingle = Left(strAddrSingle, Len(strAddrSingle) - 1) strAddrShort = Trim(strAddrShort) If Right(strAddrShort, 1) = "," Then strAddrShort = Left(strAddrShort, Len(strAddrShort) - 1) End If pfFormatPersonAddress = strAddrFull exithere: Set dbs = Nothing: Set rst = Nothing Exit Function errhandler: Select Case Err.Number Case Else MsgBox "Address Error: " & Err.Number & vbCrLf & Err.Description End Select Resume exithere End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Saturday, November 03, 2007 4:10 PM To: Access Developers discussion and problem solving Subject: [AccessD] Insert a new line in an expression? It seems that this should be easy, but I'm not getting it. I have a table of registered voters with their physical addresses and mailing addresses if other than the physical address. The physical address fields were laid out according to excellent rules, separated into house numbers, directional prefix, roadway name, roadway type, directional suffix, and residential extension. But, the mailing address fields were just MailAddr1, MailAddr2, MailAddr3, MailAddr4, and MailAddr5 text fields, with no consistent data entry rules - so there were PO Box numbers in MailAddr1 or MailAddr2, alone or in combination with city name, state name, and sometimes zip code. In order to use the data for mailing, I spent yesterday cleaning up the mailing address fields so that a "full" street address if any is in MailAddr1, PO Boxes are in MailAddr2, City, State, and Zip are in MailAddr3, MailAddr4, and MailAddr5 respectively. Now, I am trying to generate a report with these addresses. In some cases there are both a street address and a PO Box number, such as 2651 Gunny's Way NE, PO Box 1534. But, I don't want a blank line appearing for blank street addresses or PO Box addresses, so I'm trying to put them together in an expression. What I want to do is insert a carriage return character after the street address to put the PO Box on its own print line. I have this expression so far: =Trim(Iif([MailAddr1] Is Not Null, [MailAddr1]&" ","")&[MailAddr2]) which strings them out nicely, with a space between them. Instead of the " " I want to have ASCII 13 or the Access vba equivalent. I have tried vbCrLf, but Access sticks square brackets around it and demands a value for it as a parameter. (I've tried a bunch of other stuff, too, but just in case this turns out to be way easy, I am not going to spill the beans about my many failed efforts.) How do I do this? TIA Tina -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Sat Nov 3 14:25:50 2007 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 03 Nov 2007 15:25:50 -0400 Subject: [AccessD] Insert a new line in an expression? In-Reply-To: <003e01c81e41$0293b040$4b3a8343@SusanOne> References: <472C9D61.1010701@torchlake.com> <29f585dd0711030955t59b4435dy307b9823d1ce6285@mail.gmail.com> <472CB155.6090906@torchlake.com> <003e01c81e41$0293b040$4b3a8343@SusanOne> Message-ID: <472CCB3E.6060601@torchlake.com> Hi Susan, It's in a textbox control on a report. Does that have the same constraints as a query? Thanks for thinking about it for me. Tina Susan Harkins wrote: >> When I write: >> =Trim( Iif( [MailAddr1] Is Not Null, [MailAddr1] & vbCrLf, "")& >> [MailAddr2]) >> Access treats vbCrLf not as a constant but as a parameter. >> > > =====Is this in a query expression? I don't think you can use vb constants > in a query expression. > > Susan H. > > From ssharkins at gmail.com Sat Nov 3 15:18:08 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 3 Nov 2007 16:18:08 -0400 Subject: [AccessD] Insert a new line in an expression? References: <472C9D61.1010701@torchlake.com> <29f585dd0711030955t59b4435dy307b9823d1ce6285@mail.gmail.com> <472CB155.6090906@torchlake.com><003e01c81e41$0293b040$4b3a8343@SusanOne> <472CCB3E.6060601@torchlake.com> Message-ID: <007a01c81e56$a938c5b0$4b3a8343@SusanOne> Someone smarter than me will need to verify this, but I don't think you can use vb constants outside of a module. Susan H. > Hi Susan, > It's in a textbox control on a report. Does that have the same > constraints as a query? > Thanks for thinking about it for me. > Tina > > Susan Harkins wrote: >>> When I write: >>> =Trim( Iif( [MailAddr1] Is Not Null, [MailAddr1] & vbCrLf, "")& >>> [MailAddr2]) >>> Access treats vbCrLf not as a constant but as a parameter. >>> >> >> =====Is this in a query expression? I don't think you can use vb >> constants >> in a query expression. >> >> Susan H. >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Nov 3 16:21:31 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 3 Nov 2007 17:21:31 -0400 Subject: [AccessD] Insert a new line in an expression? In-Reply-To: <007a01c81e56$a938c5b0$4b3a8343@SusanOne> References: <472C9D61.1010701@torchlake.com> <29f585dd0711030955t59b4435dy307b9823d1ce6285@mail.gmail.com> <472CB155.6090906@torchlake.com><003e01c81e41$0293b040$4b3a8343@SusanOne><472CCB3E.6060601@torchlake.com> <007a01c81e56$a938c5b0$4b3a8343@SusanOne> Message-ID: <000001c81e5f$827ac730$647aa8c0@M90> You can, but they need to be declared public. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, November 03, 2007 4:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Insert a new line in an expression? Someone smarter than me will need to verify this, but I don't think you can use vb constants outside of a module. Susan H. > Hi Susan, > It's in a textbox control on a report. Does that have the same > constraints as a query? > Thanks for thinking about it for me. > Tina > > Susan Harkins wrote: >>> When I write: >>> =Trim( Iif( [MailAddr1] Is Not Null, [MailAddr1] & vbCrLf, "")& >>> [MailAddr2]) >>> Access treats vbCrLf not as a constant but as a parameter. >>> >> >> =====Is this in a query expression? I don't think you can use vb >> constants in a query expression. >> >> Susan H. >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Sat Nov 3 16:49:05 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 3 Nov 2007 17:49:05 -0400 Subject: [AccessD] Insert a new line in an expression? References: <472C9D61.1010701@torchlake.com> <29f585dd0711030955t59b4435dy307b9823d1ce6285@mail.gmail.com> <472CB155.6090906@torchlake.com><003e01c81e41$0293b040$4b3a8343@SusanOne><472CCB3E.6060601@torchlake.com><007a01c81e56$a938c5b0$4b3a8343@SusanOne> <000001c81e5f$827ac730$647aa8c0@M90> Message-ID: <017801c81e63$5d4ea590$4b3a8343@SusanOne> OH! Now that's interesting -- so if you declare a vb constant as a Public constant in a module, you can then use them in expression outside the module? If that's what you're saying, that's slick. I wouldn't have thought of it at all. Susan H. > You can, but they need to be declared public. > > Someone smarter than me will need to verify this, but I don't think you > can > use vb constants outside of a module. From accessd at shaw.ca Sat Nov 3 17:08:11 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 03 Nov 2007 15:08:11 -0700 Subject: [AccessD] OT: If he would have not arrived today, it could not be understood... In-Reply-To: <000001c81de6$a38bc970$6401a8c0@nant> Message-ID: It is a horrific event...definitely OT but of such a stature that it should have precedence. We on the North West Coast, outside the continental US, live such sheltered lives. Even though it happened many years ago, we all watched it on the news with an air of shock and disbelief. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, November 02, 2007 11:56 PM To: 'Access-D' Subject: [AccessD] OT: If he would have not arrived today,it could not be understood... Hi All, This post is a way off-topic and it's not easy weekend reading but I dare to post it here because it's related to the people of many nations and I expect this my post will be let through by moderators who allowed to have here a rather heated discussion about fires in California... No, I do not expect a heated discussion of this OT thread here. Just read it. This post has excerpts from an article published on 31-OCT-2007 here: http://www.kommersant.ru/doc.aspx?DocsID=820588 Here is its automated translation: http://www.translate.ru/url/tran_url.asp?lang=ru&url=http%3A%2F%2Fwww.kommer sant.ru%2Fdoc.aspx%3FDocsID%3D820588&direction=re&template=General&cp1=NO&cp 2=NO&autotranslate=on&transliterate=on&psubmit2.x=44&psubmit2.y=6 Below are the excerpts, which I tried to make more readable than referred above automated translation. My short comments are in brackets marked with (SS: ...). As you can find this article is far from being "an apologetics to the nowadays Russian Authorities"... I'm sorry that is all I can do now. Read on till the end and then you should get what a lot of people feel and think here. Thank you. <<<< If he would have not arrived today, it could not be understood... ================================================================= ...Yesterday, in Day of Memory of Victims of Political Reprisals, the president of Russia Vladimir Putin has arrived to Butovo where are buried more than 20 thousand of people shot to death in 1937-1938.... ...Here are buried more than 20 thousands of persons, - speaks diakon Dmitrij, and these are only about whom we precisely know. More than three hundreds of them are canonized, these are those from approximately thousand who passed on church affairs: not only clerics, but also church heads, and simply active laymen. First Russian pilot Danilevsky, troupe of one Baltic theatre with its full complement lays here... People of sixty nationalities are buried here: Greeks, Japanese, Germans... even an Epiopian... ...You go on a sanded pathway, and you realize, that what you now feel is "the ground burning under foots". To not touch it, to not tramble it down that is all what is required from you now. Because you never ever walk over the tombs before. Leaves rustle under foots, as pieces of polyfoam in hands. And you feel "frost on your skin"... ... - For us it is a real tragedy, - he (SS:Mr. Putin) has continued - the scale of this tragedy is enormous - millions of persons were banished, have been shot to death. And that were first of all people with their own opinion who were not afraid to openly express this their opinion... The most effective people, color of the nation were destroyed.... ...I (SS:this artcle author continues), maybe, first time have seen the confused president. - That's a complete crazyness (SS: umopomrachenie <- RUS), - has murmured the president. - it seems, that it is impossible to do that. For what?! (SS: for what all that people were executed to death?)... ...Father Cyril, the grandson of one of shot on this field, has made a helpless gesture and has added, that here the executors have shot the boy of twelve years. It was authorized to shoot only from fifteen, and they have attributed in the documents three superfluous years to the boy (to be "authorized" to kill him "legally"). They have also shot the seventy years old grandmother, and it is not clear for what reason she was shot do death.... ... - But memory is necessary to us not in itself, - spoke president. - but to determine the ways for development of the country... Political disputes, fights, struggle of opinions are necessary, but it is necessary, that this process would have not been destructive - it should be creative Now it should become clearer, why "United Russia" (SS: the most powerful political party here leaded by Mr.Putin for this year's December Russian Parliament Elections) will not participate in pre-election debate. These debate, probably, risk to become destructive for them (SS: for "United Russia" party).... >>>> -- Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Sat Nov 3 17:49:27 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Sat, 3 Nov 2007 22:49:27 +0000 Subject: [AccessD] Insert a new line in an expression? In-Reply-To: <472CCB3E.6060601@torchlake.com> References: <472C9D61.1010701@torchlake.com> <29f585dd0711030955t59b4435dy307b9823d1ce6285@mail.gmail.com> <472CB155.6090906@torchlake.com> <003e01c81e41$0293b040$4b3a8343@SusanOne> <472CCB3E.6060601@torchlake.com> Message-ID: That being the case...why not set the textbox height to 0 and the property 'CanGrow' to true...and this should give you the desired effect. I use this all of the time for addresses on postcards and letters. If the PO box doesn't exist...the line won't appear on the report . Let me know if you have questions. I can even send a sample offline come Monday if need be. Thanks, Mark A. Matte> Date: Sat, 3 Nov 2007 15:25:50 -0400> From: tinanfields at torchlake.com> To: accessd at databaseadvisors.com> Subject: Re: [AccessD] Insert a new line in an expression?> > Hi Susan,> It's in a textbox control on a report. Does that have the same > constraints as a query?> Thanks for thinking about it for me.> Tina> > Susan Harkins wrote:> >> When I write:> >> =Trim( Iif( [MailAddr1] Is Not Null, [MailAddr1] & vbCrLf, "")& > >> [MailAddr2])> >> Access treats vbCrLf not as a constant but as a parameter.> >> > >> > =====Is this in a query expression? I don't think you can use vb constants > > in a query expression.> >> > Susan H. > >> > > -- > AccessD mailing list> AccessD at databaseadvisors.com> http://databaseadvisors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com _________________________________________________________________ Boo!?Scare away worms, viruses and so much more! Try Windows Live OneCare! http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews From kp at sdsonline.net Sat Nov 3 17:57:22 2007 From: kp at sdsonline.net (Kath Pelletti) Date: Sun, 4 Nov 2007 09:57:22 +1100 Subject: [AccessD] highest value of 4 variables - urgent Message-ID: <000801c81e6c$e5ae0f30$6701a8c0@DELLAPTOP> maybe i am having a vague moment - but what function can I use to get the highest value of 4 variables, eg: eg. I want to know x where x is the highest of (var1, var2, var3, var4) ta ______________________________________ Kath Pelletti From rockysmolin at bchacc.com Sat Nov 3 18:29:56 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 3 Nov 2007 16:29:56 -0700 Subject: [AccessD] highest value of 4 variables - urgent In-Reply-To: <000801c81e6c$e5ae0f30$6701a8c0@DELLAPTOP> References: <000801c81e6c$e5ae0f30$6701a8c0@DELLAPTOP> Message-ID: <008101c81e71$720e80f0$0301a8c0@HAL9005> Brute Force? Function GetHigh as Variant GetHigh = var1 If var2 > GetHigh Then GetHigh = var2 If var3 > GetHigh Then GetHigh = var3 If var4 > GetHigh Then GetHigh = var4 End Function I'm sure there's a more elegant way... Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Saturday, November 03, 2007 3:57 PM To: Access D Normal List Subject: [AccessD] highest value of 4 variables - urgent maybe i am having a vague moment - but what function can I use to get the highest value of 4 variables, eg: eg. I want to know x where x is the highest of (var1, var2, var3, var4) ta ______________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.19/1106 - Release Date: 11/2/2007 9:46 PM From kp at sdsonline.net Sat Nov 3 18:35:43 2007 From: kp at sdsonline.net (Kath Pelletti) Date: Sun, 4 Nov 2007 10:35:43 +1100 Subject: [AccessD] highest value of 4 variables - urgent References: <000801c81e6c$e5ae0f30$6701a8c0@DELLAPTOP> <008101c81e71$720e80f0$0301a8c0@HAL9005> Message-ID: <000901c81e72$40ab91f0$6701a8c0@DELLAPTOP> That's where I am with it too Rocky - until I get another solution I will go with this.....(but I'm sure there will be something that we both can't remember?) Ta ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Sunday, November 04, 2007 10:29 AM Subject: Re: [AccessD] highest value of 4 variables - urgent > Brute Force? > > Function GetHigh as Variant > > GetHigh = var1 > If var2 > GetHigh Then GetHigh = var2 > If var3 > GetHigh Then GetHigh = var3 > If var4 > GetHigh Then GetHigh = var4 > > End Function > > I'm sure there's a more elegant way... > > Rocky > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti > Sent: Saturday, November 03, 2007 3:57 PM > To: Access D Normal List > Subject: [AccessD] highest value of 4 variables - urgent > > maybe i am having a vague moment - but what function can I use to get the > highest value of 4 variables, eg: > > > eg. I want to know x where x is the highest of (var1, var2, var3, var4) > > ta > ______________________________________ > Kath Pelletti > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.15.19/1106 - Release Date: > 11/2/2007 > 9:46 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From shamil at users.mns.ru Sat Nov 3 18:59:00 2007 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sun, 4 Nov 2007 02:59:00 +0300 Subject: [AccessD] OT: If he would have not arrived today, it could not be understood... In-Reply-To: <006701c81e22$32b3e1b0$0301a8c0@HAL9005> Message-ID: <000701c81e75$81731930$6401a8c0@nant> <<< "Political disputes, fights, struggle of opinions are necessary, but it is necessary, that this process would have not been destructive - it should be creative" Is this a coded way of saying that opposing views are not 'creative' and therefore not welcome in the debate? >>> Hi Rocky and William, I'd think that this is rather clear statement that opposing views are not welcomed by nowadays Russian Authorities... In four months it will become clearer what this "coded way of saying" means... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, November 03, 2007 5:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: If he would have not arrived today,it could not be understood... Shamil: "Political disputes, fights, struggle of opinions are necessary, but it is necessary, that this process would have not been destructive - it should be creative" Is this a coded way of saying that opposing views are not 'creative' and therefore not welcome in the debate? Is he trying to engineer a way to stay in power as a strong ruler if not dictator and undo or move away from the democratic reforms? Rocky <<< tail skipped for brevity >>> From mmattys at rochester.rr.com Sat Nov 3 18:57:48 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Sat, 3 Nov 2007 19:57:48 -0400 Subject: [AccessD] highest value of 4 variables - urgent References: <000801c81e6c$e5ae0f30$6701a8c0@DELLAPTOP> <008101c81e71$720e80f0$0301a8c0@HAL9005> <000901c81e72$40ab91f0$6701a8c0@DELLAPTOP> Message-ID: <003b01c81e75$5e8ffa00$0202a8c0@Laptop> Remember this? (Just kidding, but it is from NeatCode.mdb) Sub ShellSortArray(A() As Variant) Dim i As Long, j As Long Dim Low As Long, Hi As Long Dim PushPop As Variant Low = LBound(A) Hi = UBound(A) j = (Hi - Low + 1) \ 2 Do While j > 0 For i = Low To Hi - j If A(i) > A(i + j) Then PushPop = A(i) A(i) = A(i + j) A(i + j) = PushPop End If Next i For i = Hi - j To Low Step -1 If A(i) > A(i + j) Then PushPop = A(i) A(i) = A(i + j) A(i + j) = PushPop End If Next i j = j \ 2 Loop End Sub Function TestShellSortArray() Dim vA() As Variant Dim i As Long vA = Array(64, 16, 8, 32, 40, 48, 24, 56) ShellSortArray vA() For i = LBound(vA()) To UBound(vA()) Debug.Print vA(i) Next End Function Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Kath Pelletti" To: "Access Developers discussion and problem solving" Sent: Saturday, November 03, 2007 7:35 PM Subject: Re: [AccessD] highest value of 4 variables - urgent > That's where I am with it too Rocky - until I get another solution I will > go > with this.....(but I'm sure there will be something that we both can't > remember?) > > Ta > ----- Original Message ----- > From: "Rocky Smolin at Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Sunday, November 04, 2007 10:29 AM > Subject: Re: [AccessD] highest value of 4 variables - urgent > > >> Brute Force? >> >> Function GetHigh as Variant >> >> GetHigh = var1 >> If var2 > GetHigh Then GetHigh = var2 >> If var3 > GetHigh Then GetHigh = var3 >> If var4 > GetHigh Then GetHigh = var4 >> >> End Function >> >> I'm sure there's a more elegant way... >> >> Rocky >> >> >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti >> Sent: Saturday, November 03, 2007 3:57 PM >> To: Access D Normal List >> Subject: [AccessD] highest value of 4 variables - urgent >> >> maybe i am having a vague moment - but what function can I use to get the >> highest value of 4 variables, eg: >> >> >> eg. I want to know x where x is the highest of (var1, var2, var3, var4) >> >> ta >> ______________________________________ >> Kath Pelletti >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.503 / Virus Database: 269.15.19/1106 - Release Date: >> 11/2/2007 >> 9:46 PM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sat Nov 3 19:10:46 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 3 Nov 2007 17:10:46 -0700 Subject: [AccessD] OT: If he would have not arrived today, it could not be understood... In-Reply-To: <000701c81e75$81731930$6401a8c0@nant> References: <006701c81e22$32b3e1b0$0301a8c0@HAL9005> <000701c81e75$81731930$6401a8c0@nant> Message-ID: <008801c81e77$25e78310$0301a8c0@HAL9005> What happens in four months? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, November 03, 2007 4:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: If he would have not arrived today,it could not be understood... <<< "Political disputes, fights, struggle of opinions are necessary, but it is necessary, that this process would have not been destructive - it should be creative" Is this a coded way of saying that opposing views are not 'creative' and therefore not welcome in the debate? >>> Hi Rocky and William, I'd think that this is rather clear statement that opposing views are not welcomed by nowadays Russian Authorities... In four months it will become clearer what this "coded way of saying" means... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, November 03, 2007 5:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: If he would have not arrived today,it could not be understood... Shamil: "Political disputes, fights, struggle of opinions are necessary, but it is necessary, that this process would have not been destructive - it should be creative" Is this a coded way of saying that opposing views are not 'creative' and therefore not welcome in the debate? Is he trying to engineer a way to stay in power as a strong ruler if not dictator and undo or move away from the democratic reforms? Rocky <<< tail skipped for brevity >>> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.19/1106 - Release Date: 11/2/2007 9:46 PM From rockysmolin at bchacc.com Sat Nov 3 19:12:39 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 3 Nov 2007 17:12:39 -0700 Subject: [AccessD] highest value of 4 variables - urgent In-Reply-To: <000901c81e72$40ab91f0$6701a8c0@DELLAPTOP> References: <000801c81e6c$e5ae0f30$6701a8c0@DELLAPTOP><008101c81e71$720e80f0$0301a8c0@HAL9005> <000901c81e72$40ab91f0$6701a8c0@DELLAPTOP> Message-ID: <008901c81e77$69931ed0$0301a8c0@HAL9005> Yeah, there must be something like Max(var1, var2, var3, var4) Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Saturday, November 03, 2007 4:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] highest value of 4 variables - urgent That's where I am with it too Rocky - until I get another solution I will go with this.....(but I'm sure there will be something that we both can't remember?) Ta ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Sunday, November 04, 2007 10:29 AM Subject: Re: [AccessD] highest value of 4 variables - urgent > Brute Force? > > Function GetHigh as Variant > > GetHigh = var1 > If var2 > GetHigh Then GetHigh = var2 > If var3 > GetHigh Then GetHigh = var3 > If var4 > GetHigh Then GetHigh = var4 > > End Function > > I'm sure there's a more elegant way... > > Rocky > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti > Sent: Saturday, November 03, 2007 3:57 PM > To: Access D Normal List > Subject: [AccessD] highest value of 4 variables - urgent > > maybe i am having a vague moment - but what function can I use to get the > highest value of 4 variables, eg: > > > eg. I want to know x where x is the highest of (var1, var2, var3, var4) > > ta > ______________________________________ > Kath Pelletti > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.15.19/1106 - Release Date: > 11/2/2007 > 9:46 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.19/1106 - Release Date: 11/2/2007 9:46 PM From kp at sdsonline.net Sat Nov 3 19:13:52 2007 From: kp at sdsonline.net (Kath Pelletti) Date: Sun, 4 Nov 2007 11:13:52 +1100 Subject: [AccessD] highest value of 4 variables - urgent References: <000801c81e6c$e5ae0f30$6701a8c0@DELLAPTOP><008101c81e71$720e80f0$0301a8c0@HAL9005><000901c81e72$40ab91f0$6701a8c0@DELLAPTOP> <003b01c81e75$5e8ffa00$0202a8c0@Laptop> Message-ID: <001701c81e77$95302100$6701a8c0@DELLAPTOP> good one michael - how could i have forgotten ??? :) i'll play with that and see if I can just get the highest rather than all values sort low-high. thanks ----- Original Message ----- From: "Michael R Mattys" To: "Access Developers discussion and problem solving" Sent: Sunday, November 04, 2007 10:57 AM Subject: Re: [AccessD] highest value of 4 variables - urgent > Remember this? (Just kidding, but it is from NeatCode.mdb) > > Sub ShellSortArray(A() As Variant) > Dim i As Long, j As Long > Dim Low As Long, Hi As Long > Dim PushPop As Variant > Low = LBound(A) > Hi = UBound(A) > j = (Hi - Low + 1) \ 2 > Do While j > 0 > For i = Low To Hi - j > If A(i) > A(i + j) Then > PushPop = A(i) > A(i) = A(i + j) > A(i + j) = PushPop > End If > Next i > For i = Hi - j To Low Step -1 > If A(i) > A(i + j) Then > PushPop = A(i) > A(i) = A(i + j) > A(i + j) = PushPop > End If > Next i > j = j \ 2 > Loop > End Sub > > Function TestShellSortArray() > Dim vA() As Variant > Dim i As Long > vA = Array(64, 16, 8, 32, 40, 48, 24, 56) > ShellSortArray vA() > For i = LBound(vA()) To UBound(vA()) > Debug.Print vA(i) > Next > End Function > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "Kath Pelletti" > To: "Access Developers discussion and problem solving" > > Sent: Saturday, November 03, 2007 7:35 PM > Subject: Re: [AccessD] highest value of 4 variables - urgent > > >> That's where I am with it too Rocky - until I get another solution I will >> go >> with this.....(but I'm sure there will be something that we both can't >> remember?) >> >> Ta >> ----- Original Message ----- >> From: "Rocky Smolin at Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Sunday, November 04, 2007 10:29 AM >> Subject: Re: [AccessD] highest value of 4 variables - urgent >> >> >>> Brute Force? >>> >>> Function GetHigh as Variant >>> >>> GetHigh = var1 >>> If var2 > GetHigh Then GetHigh = var2 >>> If var3 > GetHigh Then GetHigh = var3 >>> If var4 > GetHigh Then GetHigh = var4 >>> >>> End Function >>> >>> I'm sure there's a more elegant way... >>> >>> Rocky >>> >>> >>> >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti >>> Sent: Saturday, November 03, 2007 3:57 PM >>> To: Access D Normal List >>> Subject: [AccessD] highest value of 4 variables - urgent >>> >>> maybe i am having a vague moment - but what function can I use to get >>> the >>> highest value of 4 variables, eg: >>> >>> >>> eg. I want to know x where x is the highest of (var1, var2, var3, var4) >>> >>> ta >>> ______________________________________ >>> Kath Pelletti >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> No virus found in this incoming message. >>> Checked by AVG Free Edition. >>> Version: 7.5.503 / Virus Database: 269.15.19/1106 - Release Date: >>> 11/2/2007 >>> 9:46 PM >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From kp at sdsonline.net Sat Nov 3 19:14:58 2007 From: kp at sdsonline.net (Kath Pelletti) Date: Sun, 4 Nov 2007 11:14:58 +1100 Subject: [AccessD] highest value of 4 variables - urgent References: <000801c81e6c$e5ae0f30$6701a8c0@DELLAPTOP><008101c81e71$720e80f0$0301a8c0@HAL9005><000901c81e72$40ab91f0$6701a8c0@DELLAPTOP> <008901c81e77$69931ed0$0301a8c0@HAL9005> Message-ID: <002101c81e77$bcdcd630$6701a8c0@DELLAPTOP> I would have thought so? ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Sunday, November 04, 2007 11:12 AM Subject: Re: [AccessD] highest value of 4 variables - urgent > Yeah, there must be something like Max(var1, var2, var3, var4) > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti > Sent: Saturday, November 03, 2007 4:36 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] highest value of 4 variables - urgent > > That's where I am with it too Rocky - until I get another solution I will > go > with this.....(but I'm sure there will be something that we both can't > remember?) > > Ta > ----- Original Message ----- > From: "Rocky Smolin at Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Sunday, November 04, 2007 10:29 AM > Subject: Re: [AccessD] highest value of 4 variables - urgent > > >> Brute Force? >> >> Function GetHigh as Variant >> >> GetHigh = var1 >> If var2 > GetHigh Then GetHigh = var2 >> If var3 > GetHigh Then GetHigh = var3 >> If var4 > GetHigh Then GetHigh = var4 >> >> End Function >> >> I'm sure there's a more elegant way... >> >> Rocky >> >> >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti >> Sent: Saturday, November 03, 2007 3:57 PM >> To: Access D Normal List >> Subject: [AccessD] highest value of 4 variables - urgent >> >> maybe i am having a vague moment - but what function can I use to get the >> highest value of 4 variables, eg: >> >> >> eg. I want to know x where x is the highest of (var1, var2, var3, var4) >> >> ta >> ______________________________________ >> Kath Pelletti >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.503 / Virus Database: 269.15.19/1106 - Release Date: >> 11/2/2007 >> 9:46 PM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/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 incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.15.19/1106 - Release Date: > 11/2/2007 > 9:46 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mmattys at rochester.rr.com Sat Nov 3 19:23:20 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Sat, 3 Nov 2007 20:23:20 -0400 Subject: [AccessD] highest value of 4 variables - urgent References: <000801c81e6c$e5ae0f30$6701a8c0@DELLAPTOP> <008101c81e71$720e80f0$0301a8c0@HAL9005> <000901c81e72$40ab91f0$6701a8c0@DELLAPTOP> <003b01c81e75$5e8ffa00$0202a8c0@Laptop> <001701c81e77$95302100$6701a8c0@DELLAPTOP> Message-ID: <005c01c81e78$e84146c0$0202a8c0@Laptop> Kathy, Min and Max are LBound and the UBound. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Kath Pelletti" To: "Access Developers discussion and problem solving" Sent: Saturday, November 03, 2007 8:13 PM Subject: Re: [AccessD] highest value of 4 variables - urgent > good one michael - how could i have forgotten ??? :) > > i'll play with that and see if I can just get the highest rather than all > values sort low-high. > > thanks From tinanfields at torchlake.com Sat Nov 3 19:51:40 2007 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 03 Nov 2007 20:51:40 -0400 Subject: [AccessD] Insert a new line in an expression? In-Reply-To: References: <472C9D61.1010701@torchlake.com> <29f585dd0711030955t59b4435dy307b9823d1ce6285@mail.gmail.com> <472CB155.6090906@torchlake.com> <003e01c81e41$0293b040$4b3a8343@SusanOne> <472CCB3E.6060601@torchlake.com> Message-ID: <472D179C.2020304@torchlake.com> Mark, Now that's slick! Thanks for the tip. Tina Mark A Matte wrote: > That being the case...why not set the textbox height to 0 and the property 'CanGrow' to true...and this should give you the desired effect. I use this all of the time for addresses on postcards and letters. If the PO box doesn't exist...the line won't appear on the report . > > Let me know if you have questions. I can even send a sample offline come Monday if need be. > > Thanks, > > Mark A. Matte> Date: Sat, 3 Nov 2007 15:25:50 -0400> From: tinanfields at torchlake.com> To: accessd at databaseadvisors.com> Subject: Re: [AccessD] Insert a new line in an expression?> > Hi Susan,> It's in a textbox control on a report. Does that have the same > constraints as a query?> Thanks for thinking about it for me.> Tina> > Susan Harkins wrote:> >> When I write:> >> =Trim( Iif( [MailAddr1] Is Not Null, [MailAddr1] & vbCrLf, "")& > >> [MailAddr2])> >> Access treats vbCrLf not as a constant but as a parameter.> >> > >> > =====Is this in a query expression? I don't think you can use vb constants > > in a query expression.> >> > Susan H. > >> > > -- > AccessD mailing list> AccessD at databaseadvisors.com> http://databaseadvisors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com > _________________________________________________________________ > Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare! > http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews > From andy at minstersystems.co.uk Sun Nov 4 02:04:30 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sun, 4 Nov 2007 08:04:30 -0000 Subject: [AccessD] highest value of 4 variables - urgent In-Reply-To: <002101c81e77$bcdcd630$6701a8c0@DELLAPTOP> Message-ID: <000c01c81eb9$57482cb0$cefa033e@minster33c3r25> If you write yourself a general purpose Max function along the lines of Function Max(var1, var2) If var1>var2 then Max=var1 Else Max=var2 End if End Function then you can just Result=Max(Max(Max(var4,var3),var2),var1) -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Kath Pelletti > Sent: 04 November 2007 00:15 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] highest value of 4 variables - urgent > > > I would have thought so? > > ----- Original Message ----- > From: "Rocky Smolin at Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Sunday, November 04, 2007 11:12 AM > Subject: Re: [AccessD] highest value of 4 variables - urgent > > > > Yeah, there must be something like Max(var1, var2, var3, var4) > > > > Rocky > > > > > > > > > > > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath > > Pelletti > > Sent: Saturday, November 03, 2007 4:36 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] highest value of 4 variables - urgent > > > > That's where I am with it too Rocky - until I get another > solution I > > will > > go > > with this.....(but I'm sure there will be something that we > both can't > > remember?) > > > > Ta > > ----- Original Message ----- > > From: "Rocky Smolin at Beach Access Software" > > > To: "'Access Developers discussion and problem solving'" > > > > Sent: Sunday, November 04, 2007 10:29 AM > > Subject: Re: [AccessD] highest value of 4 variables - urgent > > > > > >> Brute Force? > >> > >> Function GetHigh as Variant > >> > >> GetHigh = var1 > >> If var2 > GetHigh Then GetHigh = var2 > >> If var3 > GetHigh Then GetHigh = var3 > >> If var4 > GetHigh Then GetHigh = var4 > >> > >> End Function > >> > >> I'm sure there's a more elegant way... > >> > >> Rocky > >> > >> > >> > >> > >> > >> -----Original Message----- > >> From: accessd-bounces at databaseadvisors.com > >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath > >> Pelletti > >> Sent: Saturday, November 03, 2007 3:57 PM > >> To: Access D Normal List > >> Subject: [AccessD] highest value of 4 variables - urgent > >> > >> maybe i am having a vague moment - but what function can I > use to get > >> the highest value of 4 variables, eg: > >> > >> > >> eg. I want to know x where x is the highest of (var1, var2, var3, > >> var4) > >> > >> ta > >> ______________________________________ > >> Kath Pelletti > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > >> No virus found in this incoming message. > >> Checked by AVG Free Edition. > >> Version: 7.5.503 / Virus Database: 269.15.19/1106 - Release Date: > >> 11/2/2007 9:46 PM > >> > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/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 incoming message. > > Checked by AVG Free Edition. > > Version: 7.5.503 / Virus Database: 269.15.19/1106 - Release Date: > > 11/2/2007 > > 9:46 PM > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From spike at tenbus.co.uk Sun Nov 4 02:27:06 2007 From: spike at tenbus.co.uk (Webadmin - Tenbus) Date: Sun, 04 Nov 2007 08:27:06 +0000 Subject: [AccessD] highest value of 4 variables - urgent In-Reply-To: <000c01c81eb9$57482cb0$cefa033e@minster33c3r25> References: <000c01c81eb9$57482cb0$cefa033e@minster33c3r25> Message-ID: <472D825A.2090400@tenbus.co.uk> That's neat Andy! One to file away. Regards Chris Foote Andy Lacey wrote: > If you write yourself a general purpose Max function along the lines of > > Function Max(var1, var2) > > If var1>var2 then > Max=var1 > Else > Max=var2 > End if > End Function > > then you can just > > Result=Max(Max(Max(var4,var3),var2),var1) > > -- Andy Lacey > http://www.minstersystems.co.uk From kp at sdsonline.net Mon Nov 5 02:39:37 2007 From: kp at sdsonline.net (Kath Pelletti) Date: Mon, 5 Nov 2007 19:39:37 +1100 Subject: [AccessD] highest value of 4 variables - urgent References: <000c01c81eb9$57482cb0$cefa033e@minster33c3r25> Message-ID: <000901c81f87$6713dc60$6701a8c0@DELLAPTOP> thx andy Kath ----- Original Message ----- From: "Andy Lacey" To: "'Access Developers discussion and problem solving'" Sent: Sunday, November 04, 2007 7:04 PM Subject: Re: [AccessD] highest value of 4 variables - urgent > If you write yourself a general purpose Max function along the lines of > > Function Max(var1, var2) > > If var1>var2 then > Max=var1 > Else > Max=var2 > End if > End Function > > then you can just > > Result=Max(Max(Max(var4,var3),var2),var1) > > -- Andy Lacey > http://www.minstersystems.co.uk > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> Kath Pelletti >> Sent: 04 November 2007 00:15 >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] highest value of 4 variables - urgent >> >> >> I would have thought so? >> >> ----- Original Message ----- >> From: "Rocky Smolin at Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Sunday, November 04, 2007 11:12 AM >> Subject: Re: [AccessD] highest value of 4 variables - urgent >> >> >> > Yeah, there must be something like Max(var1, var2, var3, var4) >> > >> > Rocky >> > >> > >> > >> > >> > >> > >> > >> > >> > -----Original Message----- >> > From: accessd-bounces at databaseadvisors.com >> > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath >> > Pelletti >> > Sent: Saturday, November 03, 2007 4:36 PM >> > To: Access Developers discussion and problem solving >> > Subject: Re: [AccessD] highest value of 4 variables - urgent >> > >> > That's where I am with it too Rocky - until I get another >> solution I >> > will >> > go >> > with this.....(but I'm sure there will be something that we >> both can't >> > remember?) >> > >> > Ta >> > ----- Original Message ----- >> > From: "Rocky Smolin at Beach Access Software" >> >> > To: "'Access Developers discussion and problem solving'" >> > >> > Sent: Sunday, November 04, 2007 10:29 AM >> > Subject: Re: [AccessD] highest value of 4 variables - urgent >> > >> > >> >> Brute Force? >> >> >> >> Function GetHigh as Variant >> >> >> >> GetHigh = var1 >> >> If var2 > GetHigh Then GetHigh = var2 >> >> If var3 > GetHigh Then GetHigh = var3 >> >> If var4 > GetHigh Then GetHigh = var4 >> >> >> >> End Function >> >> >> >> I'm sure there's a more elegant way... >> >> >> >> Rocky >> >> >> >> >> >> >> >> >> >> >> >> -----Original Message----- >> >> From: accessd-bounces at databaseadvisors.com >> >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath >> >> Pelletti >> >> Sent: Saturday, November 03, 2007 3:57 PM >> >> To: Access D Normal List >> >> Subject: [AccessD] highest value of 4 variables - urgent >> >> >> >> maybe i am having a vague moment - but what function can I >> use to get >> >> the highest value of 4 variables, eg: >> >> >> >> >> >> eg. I want to know x where x is the highest of (var1, var2, var3, >> >> var4) >> >> >> >> ta >> >> ______________________________________ >> >> Kath Pelletti >> >> -- >> >> AccessD mailing list >> >> AccessD at databaseadvisors.com >> >> http://databaseadvisors.com/mailman/listinfo/accessd >> >> Website: http://www.databaseadvisors.com >> >> >> >> No virus found in this incoming message. >> >> Checked by AVG Free Edition. >> >> Version: 7.5.503 / Virus Database: 269.15.19/1106 - Release Date: >> >> 11/2/2007 9:46 PM >> >> >> >> >> >> -- >> >> AccessD mailing list >> >> AccessD at databaseadvisors.com >> >> http://databaseadvisors.com/mailman/listinfo/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 incoming message. >> > Checked by AVG Free Edition. >> > Version: 7.5.503 / Virus Database: 269.15.19/1106 - Release Date: >> > 11/2/2007 >> > 9:46 PM >> > >> > >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From adtp at airtelbroadband.in Sun Nov 4 05:56:45 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Sun, 4 Nov 2007 17:26:45 +0530 Subject: [AccessD] highest value of 4 variables - urgent References: <000c01c81eb9$57482cb0$cefa033e@minster33c3r25> Message-ID: <006b01c81ed9$d2a69c50$7357a27a@personalec1122> That is cute Andy! My compliments for such elegant solution. A.D.Tejpal ------------ ----- Original Message ----- From: Andy Lacey To: 'Access Developers discussion and problem solving' Sent: Sunday, November 04, 2007 13:34 Subject: Re: [AccessD] highest value of 4 variables - urgent If you write yourself a general purpose Max function along the lines of Function Max(var1, var2) If var1>var2 then Max=var1 Else Max=var2 End if End Function then you can just Result=Max(Max(Max(var4,var3),var2),var1) -- Andy Lacey http://www.minstersystems.co.uk From wdhindman at dejpolsystems.com Sun Nov 4 06:20:41 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sun, 4 Nov 2007 07:20:41 -0500 Subject: [AccessD] highest value of 4 variables - urgent References: <000c01c81eb9$57482cb0$cefa033e@minster33c3r25> Message-ID: <000c01c81edd$1e646200$6b706c4c@jisshowsbs.local> ...pop! ...into ye olde code bin :) William ----- Original Message ----- From: "Andy Lacey" To: "'Access Developers discussion and problem solving'" Sent: Sunday, November 04, 2007 3:04 AM Subject: Re: [AccessD] highest value of 4 variables - urgent > If you write yourself a general purpose Max function along the lines of > > Function Max(var1, var2) > > If var1>var2 then > Max=var1 > Else > Max=var2 > End if > End Function > > then you can just > > Result=Max(Max(Max(var4,var3),var2),var1) > > -- Andy Lacey > http://www.minstersystems.co.uk > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> Kath Pelletti >> Sent: 04 November 2007 00:15 >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] highest value of 4 variables - urgent >> >> >> I would have thought so? >> >> ----- Original Message ----- >> From: "Rocky Smolin at Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Sunday, November 04, 2007 11:12 AM >> Subject: Re: [AccessD] highest value of 4 variables - urgent >> >> >> > Yeah, there must be something like Max(var1, var2, var3, var4) >> > >> > Rocky >> > >> > >> > >> > >> > >> > >> > >> > >> > -----Original Message----- >> > From: accessd-bounces at databaseadvisors.com >> > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath >> > Pelletti >> > Sent: Saturday, November 03, 2007 4:36 PM >> > To: Access Developers discussion and problem solving >> > Subject: Re: [AccessD] highest value of 4 variables - urgent >> > >> > That's where I am with it too Rocky - until I get another >> solution I >> > will >> > go >> > with this.....(but I'm sure there will be something that we >> both can't >> > remember?) >> > >> > Ta >> > ----- Original Message ----- >> > From: "Rocky Smolin at Beach Access Software" >> >> > To: "'Access Developers discussion and problem solving'" >> > >> > Sent: Sunday, November 04, 2007 10:29 AM >> > Subject: Re: [AccessD] highest value of 4 variables - urgent >> > >> > >> >> Brute Force? >> >> >> >> Function GetHigh as Variant >> >> >> >> GetHigh = var1 >> >> If var2 > GetHigh Then GetHigh = var2 >> >> If var3 > GetHigh Then GetHigh = var3 >> >> If var4 > GetHigh Then GetHigh = var4 >> >> >> >> End Function >> >> >> >> I'm sure there's a more elegant way... >> >> >> >> Rocky >> >> >> >> >> >> >> >> >> >> >> >> -----Original Message----- >> >> From: accessd-bounces at databaseadvisors.com >> >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath >> >> Pelletti >> >> Sent: Saturday, November 03, 2007 3:57 PM >> >> To: Access D Normal List >> >> Subject: [AccessD] highest value of 4 variables - urgent >> >> >> >> maybe i am having a vague moment - but what function can I >> use to get >> >> the highest value of 4 variables, eg: >> >> >> >> >> >> eg. I want to know x where x is the highest of (var1, var2, var3, >> >> var4) >> >> >> >> ta >> >> ______________________________________ >> >> Kath Pelletti >> >> -- >> >> AccessD mailing list >> >> AccessD at databaseadvisors.com >> >> http://databaseadvisors.com/mailman/listinfo/accessd >> >> Website: http://www.databaseadvisors.com >> >> >> >> No virus found in this incoming message. >> >> Checked by AVG Free Edition. >> >> Version: 7.5.503 / Virus Database: 269.15.19/1106 - Release Date: >> >> 11/2/2007 9:46 PM >> >> >> >> >> >> -- >> >> AccessD mailing list >> >> AccessD at databaseadvisors.com >> >> http://databaseadvisors.com/mailman/listinfo/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 incoming message. >> > Checked by AVG Free Edition. >> > Version: 7.5.503 / Virus Database: 269.15.19/1106 - Release Date: >> > 11/2/2007 >> > 9:46 PM >> > >> > >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> 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 Nov 4 06:31:45 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 4 Nov 2007 07:31:45 -0500 Subject: [AccessD] highest value of 4 variables - urgent In-Reply-To: <000801c81e6c$e5ae0f30$6701a8c0@DELLAPTOP> References: <000801c81e6c$e5ae0f30$6701a8c0@DELLAPTOP> Message-ID: <000301c81ede$aa371a10$647aa8c0@M90> Probably the easiest way to do this is to turn the set of variables into an array of variables. '.Comments : '.Parameters: '.Sets : '.Returns : '.Created by: Colby Consulting '.Created : 11/4/2007 7:27:49 AM Function MaxOfVars(ParamArray varValues() As Variant) On Error GoTo Err_MaxOfVars Dim lvarVal As Variant Dim lvarMax As Variant lvarMax = varValues(0) For Each lvarVal In varValues If lvarVal > lvarMax Then lvarMax = lvarVal End If Next lvarVal MaxOfVars = lvarMax Exit_MaxOfVars: Exit Function Err_MaxOfVars: Select Case Err Case 9 'No values passed in. Return what you want here. Will currently return a null MaxOfVars = null Resume Exit_MaxOfVars Case Else MsgBox Err.Description, , "Error in Function Module1.MaxOfVars" Resume Exit_MaxOfVars End Select Resume 0 '.FOR TROUBLESHOOTING End Function Then you can simply: 1) Set the lvarMax = the first value in the array 2) Iterate through the array 3) Check if lvarVal > lvarMax 4) If it is set lvarmax = lvarVal 5) When you are done lvarMax is equal to the largest value in the array 6) Return lvarMax 7) if nothing is passed in you hit the error handler with a value of 9 and return a null Now you can pass in any number of values and always get back the max value regardless of the number passed in. BTW, the function is tested and works. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Saturday, November 03, 2007 6:57 PM To: Access D Normal List Subject: [AccessD] highest value of 4 variables - urgent maybe i am having a vague moment - but what function can I use to get the highest value of 4 variables, eg: eg. I want to know x where x is the highest of (var1, var2, var3, var4) ta ______________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sun Nov 4 06:32:39 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 4 Nov 2007 07:32:39 -0500 Subject: [AccessD] highest value of 4 variables - urgent In-Reply-To: <000c01c81edd$1e646200$6b706c4c@jisshowsbs.local> References: <000c01c81eb9$57482cb0$cefa033e@minster33c3r25> <000c01c81edd$1e646200$6b706c4c@jisshowsbs.local> Message-ID: <000401c81ede$c9e61050$647aa8c0@M90> Yes, but now you have to do that N times. I have a better solution coming. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Sunday, November 04, 2007 7:21 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] highest value of 4 variables - urgent ...pop! ...into ye olde code bin :) William ----- Original Message ----- From: "Andy Lacey" To: "'Access Developers discussion and problem solving'" Sent: Sunday, November 04, 2007 3:04 AM Subject: Re: [AccessD] highest value of 4 variables - urgent > If you write yourself a general purpose Max function along the lines of > > Function Max(var1, var2) > > If var1>var2 then > Max=var1 > Else > Max=var2 > End if > End Function > > then you can just > > Result=Max(Max(Max(var4,var3),var2),var1) > > -- Andy Lacey > http://www.minstersystems.co.uk > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> Kath Pelletti >> Sent: 04 November 2007 00:15 >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] highest value of 4 variables - urgent >> >> >> I would have thought so? >> >> ----- Original Message ----- >> From: "Rocky Smolin at Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Sunday, November 04, 2007 11:12 AM >> Subject: Re: [AccessD] highest value of 4 variables - urgent >> >> >> > Yeah, there must be something like Max(var1, var2, var3, var4) >> > >> > Rocky >> > >> > >> > >> > >> > >> > >> > >> > >> > -----Original Message----- >> > From: accessd-bounces at databaseadvisors.com >> > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath >> > Pelletti >> > Sent: Saturday, November 03, 2007 4:36 PM >> > To: Access Developers discussion and problem solving >> > Subject: Re: [AccessD] highest value of 4 variables - urgent >> > >> > That's where I am with it too Rocky - until I get another >> solution I >> > will >> > go >> > with this.....(but I'm sure there will be something that we >> both can't >> > remember?) >> > >> > Ta >> > ----- Original Message ----- >> > From: "Rocky Smolin at Beach Access Software" >> >> > To: "'Access Developers discussion and problem solving'" >> > >> > Sent: Sunday, November 04, 2007 10:29 AM >> > Subject: Re: [AccessD] highest value of 4 variables - urgent >> > >> > >> >> Brute Force? >> >> >> >> Function GetHigh as Variant >> >> >> >> GetHigh = var1 >> >> If var2 > GetHigh Then GetHigh = var2 >> >> If var3 > GetHigh Then GetHigh = var3 >> >> If var4 > GetHigh Then GetHigh = var4 >> >> >> >> End Function >> >> >> >> I'm sure there's a more elegant way... >> >> >> >> Rocky >> >> >> >> >> >> >> >> >> >> >> >> -----Original Message----- >> >> From: accessd-bounces at databaseadvisors.com >> >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath >> >> Pelletti >> >> Sent: Saturday, November 03, 2007 3:57 PM >> >> To: Access D Normal List >> >> Subject: [AccessD] highest value of 4 variables - urgent >> >> >> >> maybe i am having a vague moment - but what function can I >> use to get >> >> the highest value of 4 variables, eg: >> >> >> >> >> >> eg. I want to know x where x is the highest of (var1, var2, var3, >> >> var4) >> >> >> >> ta >> >> ______________________________________ >> >> Kath Pelletti >> >> -- >> >> AccessD mailing list >> >> AccessD at databaseadvisors.com >> >> http://databaseadvisors.com/mailman/listinfo/accessd >> >> Website: http://www.databaseadvisors.com >> >> >> >> No virus found in this incoming message. >> >> Checked by AVG Free Edition. >> >> Version: 7.5.503 / Virus Database: 269.15.19/1106 - Release Date: >> >> 11/2/2007 9:46 PM >> >> >> >> >> >> -- >> >> AccessD mailing list >> >> AccessD at databaseadvisors.com >> >> http://databaseadvisors.com/mailman/listinfo/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 incoming message. >> > Checked by AVG Free Edition. >> > Version: 7.5.503 / Virus Database: 269.15.19/1106 - Release Date: >> > 11/2/2007 >> > 9:46 PM >> > >> > >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 4 06:37:43 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 4 Nov 2007 07:37:43 -0500 Subject: [AccessD] highest value of 4 variables - urgent In-Reply-To: <000301c81ede$aa371a10$647aa8c0@M90> References: <000801c81e6c$e5ae0f30$6701a8c0@DELLAPTOP> <000301c81ede$aa371a10$647aa8c0@M90> Message-ID: <000501c81edf$7f415ef0$647aa8c0@M90> BTW. to test this simply go to the debug window and enter: ?MaxOfVars(4,2,5,4,8,4,9,0) and hit enter. Place a breakpoint at lvarmax=varvalues(0) and then step if you want to watch it run. Next do ?MaxOfVars(5,2,6,7,4) Next do ?MaxOfVars() John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Sunday, November 04, 2007 7:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] highest value of 4 variables - urgent Probably the easiest way to do this is to turn the set of variables into an array of variables. '.Comments : '.Parameters: '.Sets : '.Returns : '.Created by: Colby Consulting '.Created : 11/4/2007 7:27:49 AM Function MaxOfVars(ParamArray varValues() As Variant) On Error GoTo Err_MaxOfVars Dim lvarVal As Variant Dim lvarMax As Variant lvarMax = varValues(0) For Each lvarVal In varValues If lvarVal > lvarMax Then lvarMax = lvarVal End If Next lvarVal MaxOfVars = lvarMax Exit_MaxOfVars: Exit Function Err_MaxOfVars: Select Case Err Case 9 'No values passed in. Return what you want here. Will currently return a null MaxOfVars = null Resume Exit_MaxOfVars Case Else MsgBox Err.Description, , "Error in Function Module1.MaxOfVars" Resume Exit_MaxOfVars End Select Resume 0 '.FOR TROUBLESHOOTING End Function Then you can simply: 1) Set the lvarMax = the first value in the array 2) Iterate through the array 3) Check if lvarVal > lvarMax 4) If it is set lvarmax = lvarVal 5) When you are done lvarMax is equal to the largest value in the array 6) Return lvarMax 7) if nothing is passed in you hit the error handler with a value of 9 and return a null Now you can pass in any number of values and always get back the max value regardless of the number passed in. BTW, the function is tested and works. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Saturday, November 03, 2007 6:57 PM To: Access D Normal List Subject: [AccessD] highest value of 4 variables - urgent maybe i am having a vague moment - but what function can I use to get the highest value of 4 variables, eg: eg. I want to know x where x is the highest of (var1, var2, var3, var4) ta ______________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 4 06:40:14 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 4 Nov 2007 07:40:14 -0500 Subject: [AccessD] highest value of 4 variables - urgent In-Reply-To: <000301c81ede$aa371a10$647aa8c0@M90> References: <000801c81e6c$e5ae0f30$6701a8c0@DELLAPTOP> <000301c81ede$aa371a10$647aa8c0@M90> Message-ID: <000601c81edf$d93af880$647aa8c0@M90> For some reason the On Error and DIM statements got yanked up on the same line as the function. Just move them back down into their own line. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Sunday, November 04, 2007 7:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] highest value of 4 variables - urgent Probably the easiest way to do this is to turn the set of variables into an array of variables. '.Comments : '.Parameters: '.Sets : '.Returns : '.Created by: Colby Consulting '.Created : 11/4/2007 7:27:49 AM Function MaxOfVars(ParamArray varValues() As Variant) On Error GoTo Err_MaxOfVars Dim lvarVal As Variant Dim lvarMax As Variant lvarMax = varValues(0) For Each lvarVal In varValues If lvarVal > lvarMax Then lvarMax = lvarVal End If Next lvarVal MaxOfVars = lvarMax Exit_MaxOfVars: Exit Function Err_MaxOfVars: Select Case Err Case 9 'No values passed in. Return what you want here. Will currently return a null MaxOfVars = null Resume Exit_MaxOfVars Case Else MsgBox Err.Description, , "Error in Function Module1.MaxOfVars" Resume Exit_MaxOfVars End Select Resume 0 '.FOR TROUBLESHOOTING End Function Then you can simply: 1) Set the lvarMax = the first value in the array 2) Iterate through the array 3) Check if lvarVal > lvarMax 4) If it is set lvarmax = lvarVal 5) When you are done lvarMax is equal to the largest value in the array 6) Return lvarMax 7) if nothing is passed in you hit the error handler with a value of 9 and return a null Now you can pass in any number of values and always get back the max value regardless of the number passed in. BTW, the function is tested and works. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Saturday, November 03, 2007 6:57 PM To: Access D Normal List Subject: [AccessD] highest value of 4 variables - urgent maybe i am having a vague moment - but what function can I use to get the highest value of 4 variables, eg: eg. I want to know x where x is the highest of (var1, var2, var3, var4) ta ______________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 4 07:17:30 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 4 Nov 2007 05:17:30 -0800 Subject: [AccessD] Packagers/Installers Message-ID: <000601c81ee5$0dd472b0$0301a8c0@HAL9005> Dear List: I use the Wise/Sagekey combination to package a couple of commercial applications. Always found it to be top notch. Does anyone have experience with other packagers, good or bad, particularly Windows Installer? Thanks in advance Rocky From rockysmolin at bchacc.com Sun Nov 4 10:19:01 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 4 Nov 2007 08:19:01 -0800 Subject: [AccessD] Packagers/Installers In-Reply-To: <000601c81ee5$0dd472b0$0301a8c0@HAL9005> References: <000601c81ee5$0dd472b0$0301a8c0@HAL9005> Message-ID: <002c01c81efe$69bc3e50$0301a8c0@HAL9005> Another question about the Windows Installer - I vaguely remember there being some problem with it that you didn't have with a commercial installer like Wise. But I can't remember. Does anyone recall this? MTIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, November 04, 2007 5:18 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Packagers/Installers Dear List: I use the Wise/Sagekey combination to package a couple of commercial applications. Always found it to be top notch. Does anyone have experience with other packagers, good or bad, particularly Windows Installer? Thanks in advance Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.20/1108 - Release Date: 11/3/2007 9:42 PM From jwcolby at colbyconsulting.com Sun Nov 4 11:53:19 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 4 Nov 2007 12:53:19 -0500 Subject: [AccessD] highest value of 4 variables - urgent In-Reply-To: <003b01c81e75$5e8ffa00$0202a8c0@Laptop> References: <000801c81e6c$e5ae0f30$6701a8c0@DELLAPTOP><008101c81e71$720e80f0$0301a8c0@HAL9005><000901c81e72$40ab91f0$6701a8c0@DELLAPTOP> <003b01c81e75$5e8ffa00$0202a8c0@Laptop> Message-ID: <000701c81f0b$96988b60$647aa8c0@M90> LOL, the least you could have done is dig up the quicksort. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Saturday, November 03, 2007 7:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] highest value of 4 variables - urgent Remember this? (Just kidding, but it is from NeatCode.mdb) Sub ShellSortArray(A() As Variant) Dim i As Long, j As Long Dim Low As Long, Hi As Long Dim PushPop As Variant Low = LBound(A) Hi = UBound(A) j = (Hi - Low + 1) \ 2 Do While j > 0 For i = Low To Hi - j If A(i) > A(i + j) Then PushPop = A(i) A(i) = A(i + j) A(i + j) = PushPop End If Next i For i = Hi - j To Low Step -1 If A(i) > A(i + j) Then PushPop = A(i) A(i) = A(i + j) A(i + j) = PushPop End If Next i j = j \ 2 Loop End Sub Function TestShellSortArray() Dim vA() As Variant Dim i As Long vA = Array(64, 16, 8, 32, 40, 48, 24, 56) ShellSortArray vA() For i = LBound(vA()) To UBound(vA()) Debug.Print vA(i) Next End Function Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Kath Pelletti" To: "Access Developers discussion and problem solving" Sent: Saturday, November 03, 2007 7:35 PM Subject: Re: [AccessD] highest value of 4 variables - urgent > That's where I am with it too Rocky - until I get another solution I will > go > with this.....(but I'm sure there will be something that we both can't > remember?) > > Ta > ----- Original Message ----- > From: "Rocky Smolin at Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Sunday, November 04, 2007 10:29 AM > Subject: Re: [AccessD] highest value of 4 variables - urgent > > >> Brute Force? >> >> Function GetHigh as Variant >> >> GetHigh = var1 >> If var2 > GetHigh Then GetHigh = var2 >> If var3 > GetHigh Then GetHigh = var3 >> If var4 > GetHigh Then GetHigh = var4 >> >> End Function >> >> I'm sure there's a more elegant way... >> >> Rocky >> >> >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti >> Sent: Saturday, November 03, 2007 3:57 PM >> To: Access D Normal List >> Subject: [AccessD] highest value of 4 variables - urgent >> >> maybe i am having a vague moment - but what function can I use to get the >> highest value of 4 variables, eg: >> >> >> eg. I want to know x where x is the highest of (var1, var2, var3, var4) >> >> ta >> ______________________________________ >> Kath Pelletti >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.503 / Virus Database: 269.15.19/1106 - Release Date: >> 11/2/2007 >> 9:46 PM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kp at sdsonline.net Mon Nov 5 15:40:05 2007 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 6 Nov 2007 08:40:05 +1100 Subject: [AccessD] highest value of 4 variables - urgent References: <000801c81e6c$e5ae0f30$6701a8c0@DELLAPTOP> <000301c81ede$aa371a10$647aa8c0@M90> Message-ID: <001901c81ff4$6edf0510$6701a8c0@DELLAPTOP> that's great John - thanks. ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Sunday, November 04, 2007 11:31 PM Subject: Re: [AccessD] highest value of 4 variables - urgent > Probably the easiest way to do this is to turn the set of variables into > an > array of variables. > > '.Comments : > '.Parameters: > '.Sets : > '.Returns : > '.Created by: Colby Consulting > '.Created : 11/4/2007 7:27:49 AM > Function MaxOfVars(ParamArray varValues() As Variant) > On Error GoTo Err_MaxOfVars > Dim lvarVal As Variant > Dim lvarMax As Variant > lvarMax = varValues(0) > For Each lvarVal In varValues > If lvarVal > lvarMax Then > lvarMax = lvarVal > End If > Next lvarVal > MaxOfVars = lvarMax > Exit_MaxOfVars: > Exit Function > Err_MaxOfVars: > Select Case Err > Case 9 'No values passed in. Return what you want here. Will > currently return a null > MaxOfVars = null > Resume Exit_MaxOfVars > Case Else > MsgBox Err.Description, , "Error in Function Module1.MaxOfVars" > Resume Exit_MaxOfVars > End Select > Resume 0 '.FOR TROUBLESHOOTING > End Function > Then you can simply: > > 1) Set the lvarMax = the first value in the array > 2) Iterate through the array > 3) Check if lvarVal > lvarMax > 4) If it is set lvarmax = lvarVal > 5) When you are done lvarMax is equal to the largest value in the array > 6) Return lvarMax > > 7) if nothing is passed in you hit the error handler with a value of 9 and > return a null > > Now you can pass in any number of values and always get back the max value > regardless of the number passed in. > > BTW, the function is tested and works. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti > Sent: Saturday, November 03, 2007 6:57 PM > To: Access D Normal List > Subject: [AccessD] highest value of 4 variables - urgent > > maybe i am having a vague moment - but what function can I use to get the > highest value of 4 variables, eg: > > > eg. I want to know x where x is the highest of (var1, var2, var3, var4) > > ta > ______________________________________ > Kath Pelletti > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From kp at sdsonline.net Mon Nov 5 16:38:09 2007 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 6 Nov 2007 09:38:09 +1100 Subject: [AccessD] move report control 2007 Message-ID: <000601c81ffc$8b94bee0$6701a8c0@DELLAPTOP> ...going mad here and don't seem to be able to find this in 'help' 2007 or anywhere else.... How do I move a bound control (in report design) independently of its label? (Where has the 'finger' gone?) I have also tried to cut and paste the label and put it back (used to work in 2003 - they became separate items) but this doesn't work in 2007? tia Kath ______________________________________ Kath Pelletti From gustav at cactus.dk Sun Nov 4 16:49:46 2007 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 04 Nov 2007 23:49:46 +0100 Subject: [AccessD] Svar: highest value of 4 variables - urgent Message-ID: >>> kp at sdsonline.net 03-11-07 23:57 >>> maybe i am having a vague moment - but what function can I use to get the highest value of 4 variables, eg: eg. I want to know x where x is the highest of (var1, var2, var3, var4) ta ______________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Nov 4 16:49:47 2007 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 04 Nov 2007 23:49:47 +0100 Subject: [AccessD] Svar: highest value of 4 variables - urgent Message-ID: >>> kp at sdsonline.net 03-11-07 23:57 >>> maybe i am having a vague moment - but what function can I use to get the highest value of 4 variables, eg: eg. I want to know x where x is the highest of (var1, var2, var3, var4) ta ______________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Nov 4 16:49:46 2007 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 04 Nov 2007 23:49:46 +0100 Subject: [AccessD] Svar: highest value of 4 variables - urgent Message-ID: >>> kp at sdsonline.net 03-11-07 23:57 >>> maybe i am having a vague moment - but what function can I use to get the highest value of 4 variables, eg: eg. I want to know x where x is the highest of (var1, var2, var3, var4) ta ______________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Nov 4 16:49:46 2007 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 04 Nov 2007 23:49:46 +0100 Subject: [AccessD] Svar: highest value of 4 variables - urgent Message-ID: >>> kp at sdsonline.net 03-11-07 23:57 >>> maybe i am having a vague moment - but what function can I use to get the highest value of 4 variables, eg: eg. I want to know x where x is the highest of (var1, var2, var3, var4) ta ______________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Nov 4 16:49:46 2007 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 04 Nov 2007 23:49:46 +0100 Subject: [AccessD] Svar: highest value of 4 variables - urgent Message-ID: >>> kp at sdsonline.net 03-11-07 23:57 >>> maybe i am having a vague moment - but what function can I use to get the highest value of 4 variables, eg: eg. I want to know x where x is the highest of (var1, var2, var3, var4) ta ______________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Nov 4 16:49:46 2007 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 04 Nov 2007 23:49:46 +0100 Subject: [AccessD] Svar: highest value of 4 variables - urgent Message-ID: >>> kp at sdsonline.net 03-11-07 23:57 >>> maybe i am having a vague moment - but what function can I use to get the highest value of 4 variables, eg: eg. I want to know x where x is the highest of (var1, var2, var3, var4) ta ______________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Nov 4 16:49:47 2007 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 04 Nov 2007 23:49:47 +0100 Subject: [AccessD] Svar: highest value of 4 variables - urgent Message-ID: >>> kp at sdsonline.net 03-11-07 23:57 >>> maybe i am having a vague moment - but what function can I use to get the highest value of 4 variables, eg: eg. I want to know x where x is the highest of (var1, var2, var3, var4) ta ______________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Nov 4 16:49:46 2007 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 04 Nov 2007 23:49:46 +0100 Subject: [AccessD] Svar: highest value of 4 variables - urgent Message-ID: >>> kp at sdsonline.net 03-11-07 23:57 >>> maybe i am having a vague moment - but what function can I use to get the highest value of 4 variables, eg: eg. I want to know x where x is the highest of (var1, var2, var3, var4) ta ______________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Nov 4 16:49:47 2007 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 04 Nov 2007 23:49:47 +0100 Subject: [AccessD] Svar: highest value of 4 variables - urgent Message-ID: >>> kp at sdsonline.net 03-11-07 23:57 >>> maybe i am having a vague moment - but what function can I use to get the highest value of 4 variables, eg: eg. I want to know x where x is the highest of (var1, var2, var3, var4) ta ______________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Nov 4 16:49:47 2007 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 04 Nov 2007 23:49:47 +0100 Subject: [AccessD] Svar: highest value of 4 variables - urgent Message-ID: >>> kp at sdsonline.net 03-11-07 23:57 >>> maybe i am having a vague moment - but what function can I use to get the highest value of 4 variables, eg: eg. I want to know x where x is the highest of (var1, var2, var3, var4) ta ______________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Nov 4 16:49:47 2007 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 04 Nov 2007 23:49:47 +0100 Subject: [AccessD] Svar: highest value of 4 variables - urgent Message-ID: >>> kp at sdsonline.net 03-11-07 23:57 >>> maybe i am having a vague moment - but what function can I use to get the highest value of 4 variables, eg: eg. I want to know x where x is the highest of (var1, var2, var3, var4) ta ______________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Nov 4 16:54:17 2007 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 04 Nov 2007 23:54:17 +0100 Subject: [AccessD] highest value of 4 variables - urgent Message-ID: Hi Kath I'm with JC. This is an excellent example to demonstrate the power of ParamArray. Here's an example specific for dates that I have used: Public Function DateMax(ParamArray avarDates() As Variant) As Date ' Return maximum date/time value of elements in ' array avarDates(). ' If no elements of array avarDates() are dates, ' value of cdatEmpty is returned. ' ' 2003-09-30. Cactus Data ApS, CPH. ' Return value for an empty array. Const cdatEmpty As Date = #1/1/100# Dim varDate As Variant Dim varDateMax As Variant For Each varDate In avarDates() If IsDate(varDate) Then If VarType(varDate) <> vbDate Then varDate = CDate(varDate) End If If varDate > varDateMax Then varDateMax = varDate End If End If Next If IsEmpty(varDateMax) Then varDateMax = cdatEmpty End If DateMax = varDateMax End Function /gustav >>> kp at sdsonline.net 03-11-07 23:57 >>> maybe i am having a vague moment - but what function can I use to get the highest value of 4 variables, eg: eg. I want to know x where x is the highest of (var1, var2, var3, var4) ta ______________________________________ Kath Pelletti From gustav at cactus.dk Sun Nov 4 16:56:08 2007 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 04 Nov 2007 23:56:08 +0100 Subject: [AccessD] Svar: highest value of 4 variables - urgent Message-ID: Sorry for the empty posts, the cat stepped on the Enter key ... /gustav From jwcolby at colbyconsulting.com Sun Nov 4 17:05:46 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 4 Nov 2007 18:05:46 -0500 Subject: [AccessD] Svar: highest value of 4 variables - urgent In-Reply-To: References: Message-ID: <000f01c81f37$3c4e5cd0$647aa8c0@M90> ROTFL. Now I've heard everything. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, November 04, 2007 5:56 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Svar: highest value of 4 variables - urgent Sorry for the empty posts, the cat stepped on the Enter key ... /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kp at sdsonline.net Mon Nov 5 17:13:10 2007 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 6 Nov 2007 10:13:10 +1100 Subject: [AccessD] highest value of 4 variables - urgent References: Message-ID: <003201c82001$6f5337c0$6701a8c0@DELLAPTOP> thanks Gustav - I have never really mastered arrays in vba (used to use them a lot in Cobol, RPG - but many moons ago). So thanks to you and John for the examples. Kath ----- Original Message ----- From: "Gustav Brock" To: Sent: Monday, November 05, 2007 9:54 AM Subject: Re: [AccessD] highest value of 4 variables - urgent > Hi Kath > > I'm with JC. This is an excellent example to demonstrate the power of > ParamArray. Here's an example specific for dates that I have used: > > Public Function DateMax(ParamArray avarDates() As Variant) As Date > > ' Return maximum date/time value of elements in > ' array avarDates(). > ' If no elements of array avarDates() are dates, > ' value of cdatEmpty is returned. > ' > ' 2003-09-30. Cactus Data ApS, CPH. > > ' Return value for an empty array. > Const cdatEmpty As Date = #1/1/100# > > Dim varDate As Variant > Dim varDateMax As Variant > > For Each varDate In avarDates() > If IsDate(varDate) Then > If VarType(varDate) <> vbDate Then > varDate = CDate(varDate) > End If > If varDate > varDateMax Then > varDateMax = varDate > End If > End If > Next > > If IsEmpty(varDateMax) Then > varDateMax = cdatEmpty > End If > > DateMax = varDateMax > > End Function > > /gustav > > >>>> kp at sdsonline.net 03-11-07 23:57 >>> > maybe i am having a vague moment - but what function can I use to get the > highest value of 4 variables, eg: > > > eg. I want to know x where x is the highest of (var1, var2, var3, var4) > > ta > ______________________________________ > Kath Pelletti > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mmattys at rochester.rr.com Sun Nov 4 17:16:40 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Sun, 4 Nov 2007 18:16:40 -0500 Subject: [AccessD] highest value of 4 variables - urgent References: <000801c81e6c$e5ae0f30$6701a8c0@DELLAPTOP> <008101c81e71$720e80f0$0301a8c0@HAL9005> <000901c81e72$40ab91f0$6701a8c0@DELLAPTOP> <003b01c81e75$5e8ffa00$0202a8c0@Laptop> <000701c81f0b$96988b60$647aa8c0@M90> Message-ID: <008b01c81f38$cab24710$0202a8c0@Laptop> Oh, Sorry. Sub QuickSort(A() As Integer, ByVal Low As Integer, ByVal Hi As Integer) ' ' Very fast sort: n Log n comparisons ' ' Calling convention: ' Redim A(1 To 20) as Integer ' QuickSort A(), 1, 20 ' Dim MidValue As Integer, i As Integer, j As Integer, Temp As Integer If Hi <= Low Then Exit Sub MidValue = A((Low + Hi) \ 2) i = Low j = Hi Do While i <= j If A(i) >= MidValue And A(j) <= MidValue Then Temp = A(i) A(i) = A(j) A(j) = Temp i = i + 1 j = j - 1 Else If A(i) < MidValue Then i = i + 1 If A(j) > MidValue Then j = j - 1 End If Loop QuickSort A(), Low, j QuickSort A(), i, Hi End Sub Function TestQuickSort() ReDim A(1 To 8) As Integer A(1) = 64: A(2) = 16: A(3) = 8: A(4) = 32: A(5) = 40: A(6) = 48: A(7) = 24: A(8) = 56 QuickSort A(), 1, 8 Debug.Print "Min: " & A(1) & " and Max:" & A(8) End Function Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Sunday, November 04, 2007 12:53 PM Subject: Re: [AccessD] highest value of 4 variables - urgent > LOL, the least you could have done is dig up the quicksort. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R > Mattys > Sent: Saturday, November 03, 2007 7:58 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] highest value of 4 variables - urgent > > Remember this? (Just kidding, but it is from NeatCode.mdb) > > Sub ShellSortArray(A() As Variant) > Dim i As Long, j As Long > Dim Low As Long, Hi As Long > Dim PushPop As Variant > Low = LBound(A) > Hi = UBound(A) > j = (Hi - Low + 1) \ 2 > Do While j > 0 > For i = Low To Hi - j > If A(i) > A(i + j) Then > PushPop = A(i) > A(i) = A(i + j) > A(i + j) = PushPop > End If > Next i > For i = Hi - j To Low Step -1 > If A(i) > A(i + j) Then > PushPop = A(i) > A(i) = A(i + j) > A(i + j) = PushPop > End If > Next i > j = j \ 2 > Loop > End Sub > > Function TestShellSortArray() > Dim vA() As Variant > Dim i As Long > vA = Array(64, 16, 8, 32, 40, 48, 24, 56) > ShellSortArray vA() > For i = LBound(vA()) To UBound(vA()) > Debug.Print vA(i) > Next > End Function > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "Kath Pelletti" > To: "Access Developers discussion and problem solving" > > Sent: Saturday, November 03, 2007 7:35 PM > Subject: Re: [AccessD] highest value of 4 variables - urgent > > >> That's where I am with it too Rocky - until I get another solution I will >> go >> with this.....(but I'm sure there will be something that we both can't >> remember?) >> >> Ta >> ----- Original Message ----- >> From: "Rocky Smolin at Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Sunday, November 04, 2007 10:29 AM >> Subject: Re: [AccessD] highest value of 4 variables - urgent >> >> >>> Brute Force? >>> >>> Function GetHigh as Variant >>> >>> GetHigh = var1 >>> If var2 > GetHigh Then GetHigh = var2 >>> If var3 > GetHigh Then GetHigh = var3 >>> If var4 > GetHigh Then GetHigh = var4 >>> >>> End Function >>> >>> I'm sure there's a more elegant way... >>> >>> Rocky >>> >>> >>> >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti >>> Sent: Saturday, November 03, 2007 3:57 PM >>> To: Access D Normal List >>> Subject: [AccessD] highest value of 4 variables - urgent >>> >>> maybe i am having a vague moment - but what function can I use to get >>> the >>> highest value of 4 variables, eg: >>> >>> >>> eg. I want to know x where x is the highest of (var1, var2, var3, var4) >>> >>> ta >>> ______________________________________ >>> Kath Pelletti >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> No virus found in this incoming message. >>> Checked by AVG Free Edition. >>> Version: 7.5.503 / Virus Database: 269.15.19/1106 - Release Date: >>> 11/2/2007 >>> 9:46 PM >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Sun Nov 4 18:22:15 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 4 Nov 2007 19:22:15 -0500 Subject: [AccessD] move report control 2007 References: <000601c81ffc$8b94bee0$6701a8c0@DELLAPTOP> Message-ID: <007801c81f41$f2c52200$4b3a8343@SusanOne> You don't need the finger anymore, they move independently of one another without it. Susan H. > How do I move a bound control (in report design) independently of its > label? (Where has the 'finger' gone?) I have also tried to cut and paste > the label and put it back (used to work in 2003 - they became separate > items) but this doesn't work in 2007? From jwcolby at colbyconsulting.com Sun Nov 4 18:38:54 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 4 Nov 2007 19:38:54 -0500 Subject: [AccessD] highest value of 4 variables - urgent In-Reply-To: <003201c82001$6f5337c0$6701a8c0@DELLAPTOP> References: <003201c82001$6f5337c0$6701a8c0@DELLAPTOP> Message-ID: <001001c81f44$427f3810$647aa8c0@M90> The nice thing about the param array in this case is that you can pass in as many values as you wish to the function. In addition you can use the for next iterator to step through the array. Those two concepts allow a very quick and easy solution to this kind of problem, and additionally create a generic solution that fits not only your specific need but any set of numbers. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Monday, November 05, 2007 6:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] highest value of 4 variables - urgent thanks Gustav - I have never really mastered arrays in vba (used to use them a lot in Cobol, RPG - but many moons ago). So thanks to you and John for the examples. Kath ----- Original Message ----- From: "Gustav Brock" To: Sent: Monday, November 05, 2007 9:54 AM Subject: Re: [AccessD] highest value of 4 variables - urgent > Hi Kath > > I'm with JC. This is an excellent example to demonstrate the power of > ParamArray. Here's an example specific for dates that I have used: > > Public Function DateMax(ParamArray avarDates() As Variant) As Date > > ' Return maximum date/time value of elements in > ' array avarDates(). > ' If no elements of array avarDates() are dates, > ' value of cdatEmpty is returned. > ' > ' 2003-09-30. Cactus Data ApS, CPH. > > ' Return value for an empty array. > Const cdatEmpty As Date = #1/1/100# > > Dim varDate As Variant > Dim varDateMax As Variant > > For Each varDate In avarDates() > If IsDate(varDate) Then > If VarType(varDate) <> vbDate Then > varDate = CDate(varDate) > End If > If varDate > varDateMax Then > varDateMax = varDate > End If > End If > Next > > If IsEmpty(varDateMax) Then > varDateMax = cdatEmpty > End If > > DateMax = varDateMax > > End Function > > /gustav > > >>>> kp at sdsonline.net 03-11-07 23:57 >>> > maybe i am having a vague moment - but what function can I use to get the > highest value of 4 variables, eg: > > > eg. I want to know x where x is the highest of (var1, var2, var3, var4) > > ta > ______________________________________ > Kath Pelletti > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kp at sdsonline.net Mon Nov 5 18:39:51 2007 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 6 Nov 2007 11:39:51 +1100 Subject: [AccessD] move report control 2007 References: <000601c81ffc$8b94bee0$6701a8c0@DELLAPTOP> <007801c81f41$f2c52200$4b3a8343@SusanOne> Message-ID: <000501c8200d$8b8c71c0$6701a8c0@DELLAPTOP> I'm not finding that? When I move the bound control the attached label moves and vice versa......I know there is a new thing called control layout but I am definitely in design view. For now I had to delete the labels completely and add new labels using toolbox, then copy/paste for more. Then they are unattached. There must be an easier way....unforunately I'm working to a (late) deadline....this'll do for now. thx Kath ----- Original Message ----- From: "Susan Harkins" To: "Access Developers discussion and problem solving" Sent: Monday, November 05, 2007 11:22 AM Subject: Re: [AccessD] move report control 2007 > You don't need the finger anymore, they move independently of one another > without it. > > Susan H. > >> How do I move a bound control (in report design) independently of its >> label? (Where has the 'finger' gone?) I have also tried to cut and paste >> the label and put it back (used to work in 2003 - they became separate >> items) but this doesn't work in 2007? > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From kp at sdsonline.net Mon Nov 5 18:45:25 2007 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 6 Nov 2007 11:45:25 +1100 Subject: [AccessD] highest value of 4 variables - urgent References: <003201c82001$6f5337c0$6701a8c0@DELLAPTOP> <001001c81f44$427f3810$647aa8c0@M90> Message-ID: <000b01c8200e$525e1e70$6701a8c0@DELLAPTOP> exactly - the unlimited aspect is perfect.. ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 05, 2007 11:38 AM Subject: Re: [AccessD] highest value of 4 variables - urgent > The nice thing about the param array in this case is that you can pass in > as > many values as you wish to the function. In addition you can use the for > next iterator to step through the array. Those two concepts allow a very > quick and easy solution to this kind of problem, and additionally create a > generic solution that fits not only your specific need but any set of > numbers. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti > Sent: Monday, November 05, 2007 6:13 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] highest value of 4 variables - urgent > > thanks Gustav - I have never really mastered arrays in vba (used to use > them > a lot in Cobol, RPG - but many moons ago). > > So thanks to you and John for the examples. > > Kath > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Monday, November 05, 2007 9:54 AM > Subject: Re: [AccessD] highest value of 4 variables - urgent > > >> Hi Kath >> >> I'm with JC. This is an excellent example to demonstrate the power of >> ParamArray. Here's an example specific for dates that I have used: >> >> Public Function DateMax(ParamArray avarDates() As Variant) As Date >> >> ' Return maximum date/time value of elements in >> ' array avarDates(). >> ' If no elements of array avarDates() are dates, >> ' value of cdatEmpty is returned. >> ' >> ' 2003-09-30. Cactus Data ApS, CPH. >> >> ' Return value for an empty array. >> Const cdatEmpty As Date = #1/1/100# >> >> Dim varDate As Variant >> Dim varDateMax As Variant >> >> For Each varDate In avarDates() >> If IsDate(varDate) Then >> If VarType(varDate) <> vbDate Then >> varDate = CDate(varDate) >> End If >> If varDate > varDateMax Then >> varDateMax = varDate >> End If >> End If >> Next >> >> If IsEmpty(varDateMax) Then >> varDateMax = cdatEmpty >> End If >> >> DateMax = varDateMax >> >> End Function >> >> /gustav >> >> >>>>> kp at sdsonline.net 03-11-07 23:57 >>> >> maybe i am having a vague moment - but what function can I use to get the >> highest value of 4 variables, eg: >> >> >> eg. I want to know x where x is the highest of (var1, var2, var3, var4) >> >> ta >> ______________________________________ >> Kath Pelletti >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Sun Nov 4 18:52:07 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 4 Nov 2007 19:52:07 -0500 Subject: [AccessD] move report control 2007 References: <000601c81ffc$8b94bee0$6701a8c0@DELLAPTOP><007801c81f41$f2c52200$4b3a8343@SusanOne> <000501c8200d$8b8c71c0$6701a8c0@DELLAPTOP> Message-ID: <00b901c81f46$1cb98070$4b3a8343@SusanOne> Sorry about that -- I was thinking about form controls. I checked out reports. If the label and control are in the same section, you can easily delete one or the other. If they're in different sections, they seem glued together with that arrangement deal. Susan H. > I'm not finding that? When I move the bound control the attached label > moves > and vice versa......I know there is a new thing called control layout but > I > am definitely in design view. > > For now I had to delete the labels completely and add new labels using > toolbox, then copy/paste for more. Then they are unattached. > There must be an easier way....unforunately I'm working to a (late) > deadline....this'll do for now. > > thx > Kath > > ----- Original Message ----- > From: "Susan Harkins" > To: "Access Developers discussion and problem solving" > > Sent: Monday, November 05, 2007 11:22 AM > Subject: Re: [AccessD] move report control 2007 > > >> You don't need the finger anymore, they move independently of one another >> without it. >> >> Susan H. >> >>> How do I move a bound control (in report design) independently of its >>> label? (Where has the 'finger' gone?) I have also tried to cut and paste >>> the label and put it back (used to work in 2003 - they became separate >>> items) but this doesn't work in 2007? >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> 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 Nov 4 21:43:52 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 4 Nov 2007 22:43:52 -0500 Subject: [AccessD] Automate internet speed test Message-ID: <000001c81f5e$169576a0$647aa8c0@M90> I am having a big problem with my internet speed. I am paying for 5 mbit and getting 5 mbit, sometimes, and .5 mbit at others. I currently use speedtest.net for the simple reason that they keep a history of all of my tests, and I can download the results. I have done tests to all over the world just out of interest, mexico, ireland, london, isreal, india etc. It is fascinating to see how well I reach all of these places. Back to my problem. In order to troubleshoot this problem I need to do a test on a regular basis to try and establish the times of day that the problem occurs. I would like to automate hitting speedtest.net so I don't have to do so manually, but I do not know how to even begin doing such a thing. Is it possible to do what I want to do, to have a program that I write open a web site and "click on" a specific location on the screen, or by some other means to accomplish what I do with the mouse right now? John W. Colby Colby Consulting www.ColbyConsulting.com From darren at activebilling.com.au Sun Nov 4 22:06:57 2007 From: darren at activebilling.com.au (Darren D) Date: Mon, 5 Nov 2007 15:06:57 +1100 Subject: [AccessD] Automate internet speed test In-Reply-To: <000001c81f5e$169576a0$647aa8c0@M90> Message-ID: <200711050406.lA546lij029990@databaseadvisors.com> Hi John There would be a few ways to do this - Maybe explore the Windows Scheduler Another way - A simple one - Would be to do this in access (so you can control everything) using a Microsoft Web Browser control on a form Drop a Microsoft Web Control onto a form and feed it the URL you desire - even the 'clicked' url at Speedtest.net can be fed to it EG assume you called the dropped control "BrowserControl" Pass it the parameter of the URL - Me.BrowserControl.Navigate "http:// Speedtest.net" Then you could have it sit in the systray or minimised then using timers or time compare etc get it to 'run' at any time you wish etc Useful for other things to - can be re-used Darren ----------------- T: 1300 301 731 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, 5 November 2007 2:44 PM To: 'Access Developers discussion and problem solving'; 'Discussion of Hardware and Software issues' Subject: [AccessD] Automate internet speed test I am having a big problem with my internet speed. I am paying for 5 mbit and getting 5 mbit, sometimes, and .5 mbit at others. I currently use speedtest.net for the simple reason that they keep a history of all of my tests, and I can download the results. I have done tests to all over the world just out of interest, mexico, ireland, london, isreal, india etc. It is fascinating to see how well I reach all of these places. Back to my problem. In order to troubleshoot this problem I need to do a test on a regular basis to try and establish the times of day that the problem occurs. I would like to automate hitting speedtest.net so I don't have to do so manually, but I do not know how to even begin doing such a thing. Is it possible to do what I want to do, to have a program that I write open a web site and "click on" a specific location on the screen, or by some other means to accomplish what I do with the mouse right now? John W. Colby Colby Consulting 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 Sun Nov 4 22:15:28 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 4 Nov 2007 23:15:28 -0500 Subject: [AccessD] Automate internet speed test In-Reply-To: <200711050406.lA546lij029990@databaseadvisors.com> References: <000001c81f5e$169576a0$647aa8c0@M90> <200711050406.lA546lij029990@databaseadvisors.com> Message-ID: <000101c81f62$7fd23dc0$647aa8c0@M90> How do I determine the "clicked url"? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren D Sent: Sunday, November 04, 2007 11:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Automate internet speed test Hi John There would be a few ways to do this - Maybe explore the Windows Scheduler Another way - A simple one - Would be to do this in access (so you can control everything) using a Microsoft Web Browser control on a form Drop a Microsoft Web Control onto a form and feed it the URL you desire - even the 'clicked' url at Speedtest.net can be fed to it EG assume you called the dropped control "BrowserControl" Pass it the parameter of the URL - Me.BrowserControl.Navigate "http:// Speedtest.net" Then you could have it sit in the systray or minimised then using timers or time compare etc get it to 'run' at any time you wish etc Useful for other things to - can be re-used Darren ----------------- T: 1300 301 731 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, 5 November 2007 2:44 PM To: 'Access Developers discussion and problem solving'; 'Discussion of Hardware and Software issues' Subject: [AccessD] Automate internet speed test I am having a big problem with my internet speed. I am paying for 5 mbit and getting 5 mbit, sometimes, and .5 mbit at others. I currently use speedtest.net for the simple reason that they keep a history of all of my tests, and I can download the results. I have done tests to all over the world just out of interest, mexico, ireland, london, isreal, india etc. It is fascinating to see how well I reach all of these places. Back to my problem. In order to troubleshoot this problem I need to do a test on a regular basis to try and establish the times of day that the problem occurs. I would like to automate hitting speedtest.net so I don't have to do so manually, but I do not know how to even begin doing such a thing. Is it possible to do what I want to do, to have a program that I write open a web site and "click on" a specific location on the screen, or by some other means to accomplish what I do with the mouse right now? John W. Colby Colby Consulting 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 Sun Nov 4 22:16:57 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 4 Nov 2007 23:16:57 -0500 Subject: [AccessD] Automate internet speed test In-Reply-To: <200711050406.lA546lij029990@databaseadvisors.com> References: <000001c81f5e$169576a0$647aa8c0@M90> <200711050406.lA546lij029990@databaseadvisors.com> Message-ID: <000201c81f62$b549fc40$647aa8c0@M90> This thing is a flash control, apparently with "hot spots" in it. I don't know how to determine what goes on behind the scenes when I click one of the hotspots. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren D Sent: Sunday, November 04, 2007 11:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Automate internet speed test Hi John There would be a few ways to do this - Maybe explore the Windows Scheduler Another way - A simple one - Would be to do this in access (so you can control everything) using a Microsoft Web Browser control on a form Drop a Microsoft Web Control onto a form and feed it the URL you desire - even the 'clicked' url at Speedtest.net can be fed to it EG assume you called the dropped control "BrowserControl" Pass it the parameter of the URL - Me.BrowserControl.Navigate "http:// Speedtest.net" Then you could have it sit in the systray or minimised then using timers or time compare etc get it to 'run' at any time you wish etc Useful for other things to - can be re-used Darren ----------------- T: 1300 301 731 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, 5 November 2007 2:44 PM To: 'Access Developers discussion and problem solving'; 'Discussion of Hardware and Software issues' Subject: [AccessD] Automate internet speed test I am having a big problem with my internet speed. I am paying for 5 mbit and getting 5 mbit, sometimes, and .5 mbit at others. I currently use speedtest.net for the simple reason that they keep a history of all of my tests, and I can download the results. I have done tests to all over the world just out of interest, mexico, ireland, london, isreal, india etc. It is fascinating to see how well I reach all of these places. Back to my problem. In order to troubleshoot this problem I need to do a test on a regular basis to try and establish the times of day that the problem occurs. I would like to automate hitting speedtest.net so I don't have to do so manually, but I do not know how to even begin doing such a thing. Is it possible to do what I want to do, to have a program that I write open a web site and "click on" a specific location on the screen, or by some other means to accomplish what I do with the mouse right now? John W. Colby Colby Consulting 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 stuart at lexacorp.com.pg Sun Nov 4 23:28:09 2007 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 05 Nov 2007 15:28:09 +1000 Subject: [AccessD] Automate internet speed test In-Reply-To: <000001c81f5e$169576a0$647aa8c0@M90> References: <000001c81f5e$169576a0$647aa8c0@M90> Message-ID: <472EA9E9.9386.53860945@stuart.lexacorp.com.pg> On 4 Nov 2007 at 22:43, jwcolby wrote: > > Is it possible to do what I want to do, to have a program that I write open > a web site and "click on" a specific location on the screen, or by some > other means to accomplish what I do with the mouse right now? > AutoIt was original written to do just this sort of thing. http://www.autoitscript.com/autoit3/ AutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI and general scripting. It uses a combination of simulated keystrokes, mouse movement and window/control manipulation in order to automate tasks in a way not possible or reliable with other languages (e.g. VBScript and SendKeys). AutoIt is also very small, self-contained and will run on all versions of Windows out-of-the-box with no annoying "runtimes" required! AutoIt was initially designed for PC "roll out" situations to reliably automate and configure thousands of PCs. Over time it has become a powerful language that supports complex expressions, user functions, loops and everything else that veteran scripters would expect From darren at activebilling.com.au Mon Nov 5 00:55:20 2007 From: darren at activebilling.com.au (Darren D) Date: Mon, 5 Nov 2007 17:55:20 +1100 Subject: [AccessD] Automate internet speed test In-Reply-To: <000201c81f62$b549fc40$647aa8c0@M90> Message-ID: <200711050655.lA56tBgf022331@databaseadvisors.com> Howdy Mmm flash control - nope not sure how to determine that either - Sorry - Just assumed it was an html thingy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, 5 November 2007 3:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Automate internet speed test This thing is a flash control, apparently with "hot spots" in it. I don't know how to determine what goes on behind the scenes when I click one of the hotspots. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren D Sent: Sunday, November 04, 2007 11:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Automate internet speed test Hi John There would be a few ways to do this - Maybe explore the Windows Scheduler Another way - A simple one - Would be to do this in access (so you can control everything) using a Microsoft Web Browser control on a form Drop a Microsoft Web Control onto a form and feed it the URL you desire - even the 'clicked' url at Speedtest.net can be fed to it EG assume you called the dropped control "BrowserControl" Pass it the parameter of the URL - Me.BrowserControl.Navigate "http:// Speedtest.net" Then you could have it sit in the systray or minimised then using timers or time compare etc get it to 'run' at any time you wish etc Useful for other things to - can be re-used Darren ----------------- T: 1300 301 731 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, 5 November 2007 2:44 PM To: 'Access Developers discussion and problem solving'; 'Discussion of Hardware and Software issues' Subject: [AccessD] Automate internet speed test I am having a big problem with my internet speed. I am paying for 5 mbit and getting 5 mbit, sometimes, and .5 mbit at others. I currently use speedtest.net for the simple reason that they keep a history of all of my tests, and I can download the results. I have done tests to all over the world just out of interest, mexico, ireland, london, isreal, india etc. It is fascinating to see how well I reach all of these places. Back to my problem. In order to troubleshoot this problem I need to do a test on a regular basis to try and establish the times of day that the problem occurs. I would like to automate hitting speedtest.net so I don't have to do so manually, but I do not know how to even begin doing such a thing. Is it possible to do what I want to do, to have a program that I write open a web site and "click on" a specific location on the screen, or by some other means to accomplish what I do with the mouse right now? John W. Colby Colby Consulting 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Nov 5 01:07:59 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 5 Nov 2007 02:07:59 -0500 Subject: [AccessD] Automate internet speed test In-Reply-To: <472EA9E9.9386.53860945@stuart.lexacorp.com.pg> References: <000001c81f5e$169576a0$647aa8c0@M90> <472EA9E9.9386.53860945@stuart.lexacorp.com.pg> Message-ID: <000601c81f7a$99c254a0$647aa8c0@M90> This is way cool. However I am running into an issue setting the focus to the active window (the flash control). The window info tool tells me it is "MozillaWindowClass8" but I am trying things like Run("C:\Program Files\Mozilla Firefox\firefox.exe") ;mousemove(692,90) WinWaitActive("Mozilla Firefox Start Page - Mozilla Firefox") MouseClick("left",692,95) sleep(5000) WinActivate("MozillaWindowClass8") WinWaitActive("MozillaWindowClass8") mouseclick("left",356,136) and it gets all the way to opening the window and waiting for the flash to stabilize but it does not activate that MozillaWindowClass8. IOW the final mouse click moves relative to the firefox bookmark bar at the top of firefox, not relative to the boundaries of the flash control. I don't know how to get an absolute position on the screen, the mouse position in the window info tool keeps resetting as it moves into and out of sub windows inside of firefox. I continue to play but not sure if I will figure this one out. this widget is really cool though. It would be even cooler if it would "record macros" like Excel for instance. I find no way to do that. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, November 05, 2007 12:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Automate internet speed test On 4 Nov 2007 at 22:43, jwcolby wrote: > > Is it possible to do what I want to do, to have a program that I write > open a web site and "click on" a specific location on the screen, or > by some other means to accomplish what I do with the mouse right now? > AutoIt was original written to do just this sort of thing. http://www.autoitscript.com/autoit3/ AutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI and general scripting. It uses a combination of simulated keystrokes, mouse movement and window/control manipulation in order to automate tasks in a way not possible or reliable with other languages (e.g. VBScript and SendKeys). AutoIt is also very small, self-contained and will run on all versions of Windows out-of-the-box with no annoying "runtimes" required! AutoIt was initially designed for PC "roll out" situations to reliably automate and configure thousands of PCs. Over time it has become a powerful language that supports complex expressions, user functions, loops and everything else that veteran scripters would expect -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Nov 5 01:23:12 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 5 Nov 2007 02:23:12 -0500 Subject: [AccessD] Automate internet speed test In-Reply-To: <000601c81f7a$99c254a0$647aa8c0@M90> References: <000001c81f5e$169576a0$647aa8c0@M90><472EA9E9.9386.53860945@stuart.lexacorp.com.pg> <000601c81f7a$99c254a0$647aa8c0@M90> Message-ID: <000701c81f7c$ba310680$647aa8c0@M90> I got it! Boy was THAT easy. It took about 1 hour from download to finished script. It's crude but it works. The finished script looks like: Run("C:\Program Files\Mozilla Firefox\firefox.exe") WinWaitActive("Mozilla Firefox Start Page - Mozilla Firefox") MouseClick("left",692,95) sleep(10000) ;mouseclick("left",356,136) ;V=136+251=387 ;H=356+263=619 mouseclick("left",619,397) Basically the Window Info tool tells you the H/V offsets of the window, which you add on to the position within the window. Thanks a million for pointing out this tool, it works a treat as our brethren across the pond would say. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 05, 2007 2:08 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Automate internet speed test This is way cool. However I am running into an issue setting the focus to the active window (the flash control). The window info tool tells me it is "MozillaWindowClass8" but I am trying things like Run("C:\Program Files\Mozilla Firefox\firefox.exe") ;mousemove(692,90) WinWaitActive("Mozilla Firefox Start Page - Mozilla Firefox") MouseClick("left",692,95) sleep(5000) WinActivate("MozillaWindowClass8") WinWaitActive("MozillaWindowClass8") mouseclick("left",356,136) and it gets all the way to opening the window and waiting for the flash to stabilize but it does not activate that MozillaWindowClass8. IOW the final mouse click moves relative to the firefox bookmark bar at the top of firefox, not relative to the boundaries of the flash control. I don't know how to get an absolute position on the screen, the mouse position in the window info tool keeps resetting as it moves into and out of sub windows inside of firefox. I continue to play but not sure if I will figure this one out. this widget is really cool though. It would be even cooler if it would "record macros" like Excel for instance. I find no way to do that. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, November 05, 2007 12:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Automate internet speed test On 4 Nov 2007 at 22:43, jwcolby wrote: > > Is it possible to do what I want to do, to have a program that I write > open a web site and "click on" a specific location on the screen, or > by some other means to accomplish what I do with the mouse right now? > AutoIt was original written to do just this sort of thing. http://www.autoitscript.com/autoit3/ AutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI and general scripting. It uses a combination of simulated keystrokes, mouse movement and window/control manipulation in order to automate tasks in a way not possible or reliable with other languages (e.g. VBScript and SendKeys). AutoIt is also very small, self-contained and will run on all versions of Windows out-of-the-box with no annoying "runtimes" required! AutoIt was initially designed for PC "roll out" situations to reliably automate and configure thousands of PCs. Over time it has become a powerful language that supports complex expressions, user functions, loops and everything else that veteran scripters would expect -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Mon Nov 5 06:03:36 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 5 Nov 2007 12:03:36 -0000 Subject: [AccessD] highest value of 4 variables - urgent In-Reply-To: <000501c81edf$7f415ef0$647aa8c0@M90> Message-ID: <009101c81fa3$e60e5b50$cefa033e@minster33c3r25> Hats off to you JC. Your solution beats mine easy. I'll be using this principle. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 04 November 2007 12:38 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] highest value of 4 variables - urgent > > > BTW. to test this simply go to the debug window and enter: > > ?MaxOfVars(4,2,5,4,8,4,9,0) > > and hit enter. > > Place a breakpoint at lvarmax=varvalues(0) and then step if > you want to watch it run. > > Next do > > ?MaxOfVars(5,2,6,7,4) > > Next do > > ?MaxOfVars() > > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Sunday, November 04, 2007 7:32 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] highest value of 4 variables - urgent > > Probably the easiest way to do this is to turn the set of > variables into an array of variables. > > '.Comments : > '.Parameters: > '.Sets : > '.Returns : > '.Created by: Colby Consulting > '.Created : 11/4/2007 7:27:49 AM > Function MaxOfVars(ParamArray varValues() As Variant) On > Error GoTo Err_MaxOfVars Dim lvarVal As Variant Dim lvarMax As Variant > lvarMax = varValues(0) > For Each lvarVal In varValues > If lvarVal > lvarMax Then > lvarMax = lvarVal > End If > Next lvarVal > MaxOfVars = lvarMax > Exit_MaxOfVars: > Exit Function > Err_MaxOfVars: > Select Case Err > Case 9 'No values passed in. Return what you want here. Will > currently return a null > MaxOfVars = null > Resume Exit_MaxOfVars > Case Else > MsgBox Err.Description, , "Error in Function > Module1.MaxOfVars" > Resume Exit_MaxOfVars > End Select > Resume 0 '.FOR TROUBLESHOOTING > End Function > Then you can simply: > > 1) Set the lvarMax = the first value in the array > 2) Iterate through the array > 3) Check if lvarVal > lvarMax > 4) If it is set lvarmax = lvarVal > 5) When you are done lvarMax is equal to the largest value in > the array > 6) Return lvarMax > > 7) if nothing is passed in you hit the error handler with a > value of 9 and return a null > > Now you can pass in any number of values and always get back > the max value regardless of the number passed in. > > BTW, the function is tested and works. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Kath Pelletti > Sent: Saturday, November 03, 2007 6:57 PM > To: Access D Normal List > Subject: [AccessD] highest value of 4 variables - urgent > > maybe i am having a vague moment - but what function can I > use to get the highest value of 4 variables, eg: > > > eg. I want to know x where x is the highest of (var1, var2, > var3, var4) > > ta > ______________________________________ > Kath Pelletti > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 5 06:39:08 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 05 Nov 2007 07:39:08 -0500 Subject: [AccessD] Automate internet speed test In-Reply-To: <000701c81f7c$ba310680$647aa8c0@M90> References: <000001c81f5e$169576a0$647aa8c0@M90><472EA9E9.9386.53860945@stuart.lexacorp.com.pg> <000601c81f7a$99c254a0$647aa8c0@M90> <000701c81f7c$ba310680$647aa8c0@M90> Message-ID: <015201c81fa8$dc29c1b0$8abea8c0@XPS> John, Know you already have your answer, but I would also suggest a look at DSL Reports (www.dslreports.com). It has a tools section with a lot of different tools (including Smokeping, which is what you were basically looking for) for testing and troubleshooting Internet connections, plus a bunch of FAQ's on what to do about results. Just about all of it is free. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 05, 2007 2:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Automate internet speed test I got it! Boy was THAT easy. It took about 1 hour from download to finished script. It's crude but it works. The finished script looks like: Run("C:\Program Files\Mozilla Firefox\firefox.exe") WinWaitActive("Mozilla Firefox Start Page - Mozilla Firefox") MouseClick("left",692,95) sleep(10000) ;mouseclick("left",356,136) ;V=136+251=387 ;H=356+263=619 mouseclick("left",619,397) Basically the Window Info tool tells you the H/V offsets of the window, which you add on to the position within the window. Thanks a million for pointing out this tool, it works a treat as our brethren across the pond would say. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 05, 2007 2:08 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Automate internet speed test This is way cool. However I am running into an issue setting the focus to the active window (the flash control). The window info tool tells me it is "MozillaWindowClass8" but I am trying things like Run("C:\Program Files\Mozilla Firefox\firefox.exe") ;mousemove(692,90) WinWaitActive("Mozilla Firefox Start Page - Mozilla Firefox") MouseClick("left",692,95) sleep(5000) WinActivate("MozillaWindowClass8") WinWaitActive("MozillaWindowClass8") mouseclick("left",356,136) and it gets all the way to opening the window and waiting for the flash to stabilize but it does not activate that MozillaWindowClass8. IOW the final mouse click moves relative to the firefox bookmark bar at the top of firefox, not relative to the boundaries of the flash control. I don't know how to get an absolute position on the screen, the mouse position in the window info tool keeps resetting as it moves into and out of sub windows inside of firefox. I continue to play but not sure if I will figure this one out. this widget is really cool though. It would be even cooler if it would "record macros" like Excel for instance. I find no way to do that. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, November 05, 2007 12:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Automate internet speed test On 4 Nov 2007 at 22:43, jwcolby wrote: > > Is it possible to do what I want to do, to have a program that I write > open a web site and "click on" a specific location on the screen, or > by some other means to accomplish what I do with the mouse right now? > AutoIt was original written to do just this sort of thing. http://www.autoitscript.com/autoit3/ AutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI and general scripting. It uses a combination of simulated keystrokes, mouse movement and window/control manipulation in order to automate tasks in a way not possible or reliable with other languages (e.g. VBScript and SendKeys). AutoIt is also very small, self-contained and will run on all versions of Windows out-of-the-box with no annoying "runtimes" required! AutoIt was initially designed for PC "roll out" situations to reliably automate and configure thousands of PCs. Over time it has become a powerful language that supports complex expressions, user functions, loops and everything else that veteran scripters would expect -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 5 06:40:24 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 5 Nov 2007 07:40:24 -0500 Subject: [AccessD] Broken link at DatabaseAdvisors.com Message-ID: <000e01c81fa9$09ba7d90$647aa8c0@M90> We have a broken link to the mdb demo file for newsletter 200503 - How to create an FTP Client within Access. And I need it! 8~( John W. Colby Colby Consulting www.ColbyConsulting.com From adtejpal at gmail.com Mon Nov 5 07:12:46 2007 From: adtejpal at gmail.com (A.D.TEJPAL) Date: Mon, 5 Nov 2007 18:42:46 +0530 Subject: [AccessD] ...gurus only References: <000801c81e6c$e5ae0f30$6701a8c0@DELLAPTOP><008101c81e71$720e80f0$0301a8c0@HAL9005><000901c81e72$40ab91f0$6701a8c0@DELLAPTOP> <003b01c81e75$5e8ffa00$0202a8c0@Laptop> Message-ID: <00a101c81fad$bcdef230$3b57a27a@personalec1122> William, If the number of value columns in crosstab style source table is likely to vary, a generic solution could be suggested, envisaging programmatic creation of required queries. On the other hand, if you are in a position to use the original data in normalized state, a single crosstab query could be suggested. It would fetch the desired results, including the two extra columns (one showing max of values across columns and the other showing total number of columns spanned by the two outermost columns carrying explicit values). Best wishes, A.D.Tejpal ------------ ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Saturday, November 03, 2007 00:15 Subject: [AccessD] ...gurus only ...ok, you too, eh :) ...given: fields w x y z max series data1 1 1 1 2 data2 1 5 5 3 data3 1 4 3 3 4 data4 2 3 3 2 data5 1 1 1 1 1 4 data6 1 1 1 1) where max is the largest number in w/x/y/z and 2) where series is the total fields between the first one containing a number and the last containing a number 3) where empty fields contain "" rather than nulls ...two days and I've yet to come up with an answer to fill the max and series fields from the data in w/x/y/z. ...help! William From jwcolby at colbyconsulting.com Mon Nov 5 07:49:21 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 5 Nov 2007 08:49:21 -0500 Subject: [AccessD] newsletter 200503 - How to create an FTP Client within Access In-Reply-To: <000e01c81fa9$09ba7d90$647aa8c0@M90> References: <000e01c81fa9$09ba7d90$647aa8c0@M90> Message-ID: <000001c81fb2$ac10efd0$647aa8c0@M90> I have tried to compile the code as shown on the web page and the class is missing a method and won't compile. Is anyone out there using this and can you help me out here? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 05, 2007 7:40 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Broken link at DatabaseAdvisors.com We have a broken link to the mdb demo file for newsletter 200503 - How to create an FTP Client within Access. And I need it! 8~( John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Nov 5 08:22:08 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 5 Nov 2007 06:22:08 -0800 Subject: [AccessD] Timing Form Open Message-ID: <001a01c81fb7$3fea8730$0301a8c0@HAL9005> Dear List: I have a form which opens very slowly on the clients machine over a network. So I need to speed up the open. But first I need a benchmark. I tried capturing the time at the start and end of the Open event and then displaying a message box with the start, end, and elapsed times. But after I click OK on the message box there's still more stuff going on. I see Calculating... in the status at the bottom left which I think indicates that it's still evaluating the record source. And I think the slowness is from the recordsource query and/or the row sources of the combo boxes. So I need to capture the elapsed time from the very beginning to the very end of the open and load process. The start time is trivial, I think - first statement in the Open event timStart = Now. But where to I capture the stop time? If I can get the real elapsed time then I can begin to tweak the record and row sources - add indexes, simplify, etc. But I need an accurate measure of elapsed time. MTIA Rocky From jwcolby at colbyconsulting.com Mon Nov 5 08:45:06 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 5 Nov 2007 09:45:06 -0500 Subject: [AccessD] Timing Form Open In-Reply-To: <001a01c81fb7$3fea8730$0301a8c0@HAL9005> References: <001a01c81fb7$3fea8730$0301a8c0@HAL9005> Message-ID: <002701c81fba$76d97500$647aa8c0@M90> Rocky, You need to back out from the form itself and time the "Docmd.Open" code. Start the timer just before calling docmd.open and then capture the times when that call returns. BTW as you probably know I have a class available for doing this kind of thing. The simplest class ever created that can be called a class (or so I modestly claim). Option Compare Database Option Explicit ' Private Declare Function apiGetTime Lib "winmm.dll" _ Alias "timeGetTime" () As Long Private lngStartTime As Long 'THESE FUNCTIONS / SUBS ARE USED TO IMPLEMENT CLASS FUNCTIONALITY '*+Class function / sub declaration Function EndTimer() EndTimer = apiGetTime() - lngStartTime End Function Sub StartTimer() lngStartTime = apiGetTime() End Sub '*-Class function / sub declaration Private Sub Class_Initialize() StartTimer End Sub in the code that opens your form: dim lclsTimer as clsTimer set lclsTimer = new clsTimer docmd.open ... 'open your form here msgbox lclsTimer.EndTimer John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 05, 2007 9:22 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Timing Form Open Dear List: I have a form which opens very slowly on the clients machine over a network. So I need to speed up the open. But first I need a benchmark. I tried capturing the time at the start and end of the Open event and then displaying a message box with the start, end, and elapsed times. But after I click OK on the message box there's still more stuff going on. I see Calculating... in the status at the bottom left which I think indicates that it's still evaluating the record source. And I think the slowness is from the recordsource query and/or the row sources of the combo boxes. So I need to capture the elapsed time from the very beginning to the very end of the open and load process. The start time is trivial, I think - first statement in the Open event timStart = Now. But where to I capture the stop time? If I can get the real elapsed time then I can begin to tweak the record and row sources - add indexes, simplify, etc. But I need an accurate measure of elapsed time. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheygood at abestsystems.com Mon Nov 5 08:44:15 2007 From: bheygood at abestsystems.com (Bob Heygood) Date: Mon, 5 Nov 2007 06:44:15 -0800 Subject: [AccessD] Counting Co IDs In-Reply-To: References: <054781CF8ED948F797CE5E75B02C58E0@creativesystemdesigns.com><200711010201.lA121Ea9026644@databaseadvisors.com><005d01c81ca4$2feffb50$800101df@speedy><00fa01c81ca6$d0f364e0$4b3a8343@SusanOne><007b01c81cc1$20590570$800101df@speedy><024701c81cc2$4ad44e80$4b3a8343@SusanOne><008001c81cc3$8af101b0$800101df@speedy> Message-ID: <003f01c81fba$5656b400$800101df@speedy> Well thanks to the Friday morning Access users and beach watchers in SD we came up with a solution. More accurately, Mike Dwyer whipped it out on a napkin. Here goes: SELECT a.jid, a.q1, Count(*) AS NumCompanies FROM [select distinct jid,q1,coid from responses where q1 is not null]. AS a GROUP BY a.jid, a.q1; Funny tho, if you look at the QBE, no trace of the sub query..... I guess it is only capable of so much. Thanks again to all who contributed. Bob Heygood -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Thursday, November 01, 2007 2:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Counting Co IDs I would probably do two queries, one to select and to possibly group and the second that uses the first as it's input that counts. GK On 11/1/07, Bob Heygood wrote: > I think that that will just "count" the CoIDs, I want to know how many > different ones are represented. > One of the issues is I won't know before hand how many to allot for.... > > I may not be doing a good job of defining this either.... > > TIA > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan > Harkins > Sent: Thursday, November 01, 2007 1:04 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Counting Co IDs > > Totals view will do the trick, use the Count aggregate. That will > return just the one value though. If you need additional details, > you'll need a subquery. > > Susan H. > > > What I need is to count the number of companies. > > It is the last piece of data in my example that I am looking for. > > How many different companies responded to the question and many yes > > and how many no. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Mon Nov 5 09:30:16 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 5 Nov 2007 15:30:16 +0000 Subject: [AccessD] newsletter 200503 - How to create an FTP Client within Access In-Reply-To: <000001c81fb2$ac10efd0$647aa8c0@M90> References: <000e01c81fa9$09ba7d90$647aa8c0@M90> <000001c81fb2$ac10efd0$647aa8c0@M90> Message-ID: John, I sent you a file offline...I believe it is the original demo file that accompanied the code you are referencing. Everything I use I have pulled out of that mdb. Good luck, Mark A. Matte> From: jwcolby at colbyconsulting.com> To: accessd at databaseadvisors.com> Date: Mon, 5 Nov 2007 08:49:21 -0500> Subject: [AccessD] newsletter 200503 - How to create an FTP Client within Access> > I have tried to compile the code as shown on the web page and the class is> missing a method and won't compile. Is anyone out there using this and can> you help me out here?> > > John W. Colby> Colby Consulting> www.ColbyConsulting.com > -----Original Message-----> From: accessd-bounces at databaseadvisors.com> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby> Sent: Monday, November 05, 2007 7:40 AM> To: 'Access Developers discussion and problem solving'> Subject: [AccessD] Broken link at DatabaseAdvisors.com> > We have a broken link to the mdb demo file for newsletter 200503 - How to> create an FTP Client within Access.> > And I need it! 8~(> > John W. Colby> Colby Consulting> 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 _________________________________________________________________ Peek-a-boo FREE Tricks & Treats for You! http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us From fuller.artful at gmail.com Mon Nov 5 09:31:45 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 5 Nov 2007 10:31:45 -0500 Subject: [AccessD] Counting Co IDs In-Reply-To: <003f01c81fba$5656b400$800101df@speedy> References: <054781CF8ED948F797CE5E75B02C58E0@creativesystemdesigns.com> <200711010201.lA121Ea9026644@databaseadvisors.com> <005d01c81ca4$2feffb50$800101df@speedy> <00fa01c81ca6$d0f364e0$4b3a8343@SusanOne> <007b01c81cc1$20590570$800101df@speedy> <024701c81cc2$4ad44e80$4b3a8343@SusanOne> <008001c81cc3$8af101b0$800101df@speedy> <003f01c81fba$5656b400$800101df@speedy> Message-ID: <29f585dd0711050731u996f618o5206d0f100dd89a0@mail.gmail.com> Not that you need it in this case, but it's worth mentioning a seldom-used flavor of the Count() syntax. Here's one that works against the AdventureWorks sample database: Select Count(Distinct CustomerID) from Sales.SalesOrderHeader A. On 11/5/07, Bob Heygood wrote: > > Well thanks to the Friday morning Access users and beach watchers in SD we > came up with a solution. More accurately, Mike Dwyer whipped it out on a > napkin. Here goes: > > SELECT a.jid, a.q1, Count(*) AS NumCompanies > FROM [select distinct jid,q1,coid from responses where q1 is not null]. AS > a > GROUP BY a.jid, a.q1; > From ssharkins at gmail.com Mon Nov 5 09:36:02 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 5 Nov 2007 10:36:02 -0500 Subject: [AccessD] Counting Co IDs References: <054781CF8ED948F797CE5E75B02C58E0@creativesystemdesigns.com><200711010201.lA121Ea9026644@databaseadvisors.com><005d01c81ca4$2feffb50$800101df@speedy><00fa01c81ca6$d0f364e0$4b3a8343@SusanOne><007b01c81cc1$20590570$800101df@speedy><024701c81cc2$4ad44e80$4b3a8343@SusanOne><008001c81cc3$8af101b0$800101df@speedy><003f01c81fba$5656b400$800101df@speedy> <29f585dd0711050731u996f618o5206d0f100dd89a0@mail.gmail.com> Message-ID: <005f01c81fc1$f8f16d20$4b3a8343@SusanOne> Well that's cool -- I'll have to take a look at that one! Susan H. > Not that you need it in this case, but it's worth mentioning a seldom-used > flavor of the Count() syntax. Here's one that works against the > AdventureWorks sample database: > > Select Count(Distinct CustomerID) from Sales.SalesOrderHeader From jwcolby at colbyconsulting.com Mon Nov 5 09:42:30 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 5 Nov 2007 10:42:30 -0500 Subject: [AccessD] newsletter 200503 - How to create an FTP Client within Access In-Reply-To: References: <000e01c81fa9$09ba7d90$647aa8c0@M90><000001c81fb2$ac10efd0$647aa8c0@M90> Message-ID: <003101c81fc2$7a9264b0$647aa8c0@M90> It hasn't appeared yet. Thanks for the assistance. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Monday, November 05, 2007 10:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] newsletter 200503 - How to create an FTP Client within Access John, I sent you a file offline...I believe it is the original demo file that accompanied the code you are referencing. Everything I use I have pulled out of that mdb. Good luck, Mark A. Matte> From: jwcolby at colbyconsulting.com> To: accessd at databaseadvisors.com> Date: Mon, 5 Nov 2007 08:49:21 -0500> Subject: [AccessD] newsletter 200503 - How to create an FTP Client within Access> > I have tried to compile the code as shown on the web page and the class is> missing a method and won't compile. Is anyone out there using this and can> you help me out here?> > > John W. Colby> Colby Consulting> www.ColbyConsulting.com > -----Original Message-----> From: accessd-bounces at databaseadvisors.com> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby> Sent: Monday, November 05, 2007 7:40 AM> To: 'Access Developers discussion and problem solving'> Subject: [AccessD] Broken link at DatabaseAdvisors.com> > We have a broken link to the mdb demo file for newsletter 200503 - How! to> create an FTP Client within Access.> > And I need it! 8~(> > John W. Colby> Colby Consulting> 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 _________________________________________________________________ Peek-a-boo FREE Tricks & Treats for You! http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Mon Nov 5 09:50:26 2007 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 5 Nov 2007 09:50:26 -0600 Subject: [AccessD] Counting Co IDs In-Reply-To: <003f01c81fba$5656b400$800101df@speedy> References: <054781CF8ED948F797CE5E75B02C58E0@creativesystemdesigns.com><200711010201.lA121Ea9026644@databaseadvisors.com><005d01c81ca4$2feffb50$800101df@speedy><00fa01c81ca6$d0f364e0$4b3a8343@SusanOne><007b01c81cc1$20590570$800101df@speedy><024701c81cc2$4ad44e80$4b3a8343@SusanOne><008001c81cc3$8af101b0$800101df@speedy> <003f01c81fba$5656b400$800101df@speedy> Message-ID: <002d01c81fc3$95ccf460$0200a8c0@danwaters> Bob, I 'think' that you will need to replace the square brackets around your subquery with parentheses. Try that and then look at the QBE. I have written simple subqueries in the QBE, so they do display there. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Monday, November 05, 2007 8:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Counting Co IDs Well thanks to the Friday morning Access users and beach watchers in SD we came up with a solution. More accurately, Mike Dwyer whipped it out on a napkin. Here goes: SELECT a.jid, a.q1, Count(*) AS NumCompanies FROM [select distinct jid,q1,coid from responses where q1 is not null]. AS a GROUP BY a.jid, a.q1; Funny tho, if you look at the QBE, no trace of the sub query..... I guess it is only capable of so much. Thanks again to all who contributed. Bob Heygood -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Thursday, November 01, 2007 2:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Counting Co IDs I would probably do two queries, one to select and to possibly group and the second that uses the first as it's input that counts. GK On 11/1/07, Bob Heygood wrote: > I think that that will just "count" the CoIDs, I want to know how many > different ones are represented. > One of the issues is I won't know before hand how many to allot for.... > > I may not be doing a good job of defining this either.... > > TIA > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan > Harkins > Sent: Thursday, November 01, 2007 1:04 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Counting Co IDs > > Totals view will do the trick, use the Count aggregate. That will > return just the one value though. If you need additional details, > you'll need a subquery. > > Susan H. > > > What I need is to count the number of companies. > > It is the last piece of data in my example that I am looking for. > > How many different companies responded to the question and many yes > > and how many no. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Mon Nov 5 09:58:20 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Mon, 5 Nov 2007 15:58:20 -0000 Subject: [AccessD] newsletter 200503 - How to create an FTP Clientwithin Access In-Reply-To: <003101c81fc2$7a9264b0$647aa8c0@M90> Message-ID: <00d201c81fc4$b0e1fab0$8119fea9@LTVM> Hi, I also had this problem when I downloaded this module. Is it possible to have it corrected so that it is downloadable again please. Thanks Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 05, 2007 3:43 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] newsletter 200503 - How to create an FTP Clientwithin Access It hasn't appeared yet. Thanks for the assistance. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Monday, November 05, 2007 10:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] newsletter 200503 - How to create an FTP Client within Access John, I sent you a file offline...I believe it is the original demo file that accompanied the code you are referencing. Everything I use I have pulled out of that mdb. Good luck, Mark A. Matte> From: jwcolby at colbyconsulting.com> To: accessd at databaseadvisors.com> Date: Mon, 5 Nov 2007 08:49:21 -0500> Subject: [AccessD] newsletter 200503 - How to create an FTP Client within Access> > I have tried to compile the code as shown on the web page and the class is> missing a method and won't compile. Is anyone out there using this and can> you help me out here?> > > John W. Colby> Colby Consulting> www.ColbyConsulting.com > -----Original Message-----> From: accessd-bounces at databaseadvisors.com> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby> Sent: Monday, November 05, 2007 7:40 AM> To: 'Access Developers discussion and problem solving'> Subject: [AccessD] Broken link at DatabaseAdvisors.com> > We have a broken link to the mdb demo file for newsletter 200503 - How! to> create an FTP Client within Access.> > And I need it! 8~(> > John W. Colby> Colby Consulting> 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 _________________________________________________________________ Peek-a-boo FREE Tricks & Treats for You! http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Nov 5 10:06:17 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 5 Nov 2007 08:06:17 -0800 Subject: [AccessD] Packagers/Installers In-Reply-To: <000601c81ee5$0dd472b0$0301a8c0@HAL9005> References: <000601c81ee5$0dd472b0$0301a8c0@HAL9005> Message-ID: We used Wise and Sagekey for years with our Access apps, but we switched to InstallShield for the .Net apps. I've always like Installshiled, and I used to use it for my own Access runtime installs. Sagekey provides scripts for InstallShield too. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, November 04, 2007 5:17 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Packagers/Installers Dear List: I use the Wise/Sagekey combination to package a couple of commercial applications. Always found it to be top notch. Does anyone have experience with other packagers, good or bad, particularly Windows Installer? Thanks in advance Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Nov 5 10:07:43 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 5 Nov 2007 08:07:43 -0800 Subject: [AccessD] Packagers/Installers In-Reply-To: <002c01c81efe$69bc3e50$0301a8c0@HAL9005> References: <000601c81ee5$0dd472b0$0301a8c0@HAL9005> <002c01c81efe$69bc3e50$0301a8c0@HAL9005> Message-ID: The thing I remember about it was that you couldn't put a shortcut on the desktop with it. You had to create a VB script to install a shortcut. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, November 04, 2007 8:19 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Packagers/Installers Another question about the Windows Installer - I vaguely remember there being some problem with it that you didn't have with a commercial installer like Wise. But I can't remember. Does anyone recall this? MTIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, November 04, 2007 5:18 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Packagers/Installers Dear List: I use the Wise/Sagekey combination to package a couple of commercial applications. Always found it to be top notch. Does anyone have experience with other packagers, good or bad, particularly Windows Installer? Thanks in advance Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.20/1108 - Release Date: 11/3/2007 9:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Nov 5 10:15:25 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 5 Nov 2007 08:15:25 -0800 Subject: [AccessD] Counting Co IDs In-Reply-To: <002d01c81fc3$95ccf460$0200a8c0@danwaters> References: <054781CF8ED948F797CE5E75B02C58E0@creativesystemdesigns.com><200711010201.lA121Ea9026644@databaseadvisors.com><005d01c81ca4$2feffb50$800101df@speedy><00fa01c81ca6$d0f364e0$4b3a8343@SusanOne><007b01c81cc1$20590570$800101df@speedy><024701c81cc2$4ad44e80$4b3a8343@SusanOne><008001c81cc3$8af101b0$800101df@speedy><003f01c81fba$5656b400$800101df@speedy> <002d01c81fc3$95ccf460$0200a8c0@danwaters> Message-ID: You can write it with parens, but the query engine will replace them with square brackets and a period anyhow. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, November 05, 2007 7:50 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Counting Co IDs Bob, I 'think' that you will need to replace the square brackets around your subquery with parentheses. Try that and then look at the QBE. I have written simple subqueries in the QBE, so they do display there. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Monday, November 05, 2007 8:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Counting Co IDs Well thanks to the Friday morning Access users and beach watchers in SD we came up with a solution. More accurately, Mike Dwyer whipped it out on a napkin. Here goes: SELECT a.jid, a.q1, Count(*) AS NumCompanies FROM [select distinct jid,q1,coid from responses where q1 is not null]. AS a GROUP BY a.jid, a.q1; Funny tho, if you look at the QBE, no trace of the sub query..... I guess it is only capable of so much. Thanks again to all who contributed. Bob Heygood -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Thursday, November 01, 2007 2:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Counting Co IDs I would probably do two queries, one to select and to possibly group and the second that uses the first as it's input that counts. GK On 11/1/07, Bob Heygood wrote: > I think that that will just "count" the CoIDs, I want to know how many > different ones are represented. > One of the issues is I won't know before hand how many to allot for.... > > I may not be doing a good job of defining this either.... > > TIA > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan > Harkins > Sent: Thursday, November 01, 2007 1:04 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Counting Co IDs > > Totals view will do the trick, use the Count aggregate. That will > return just the one value though. If you need additional details, > you'll need a subquery. > > Susan H. > > > What I need is to count the number of companies. > > It is the last piece of data in my example that I am looking for. > > How many different companies responded to the question and many yes > > and how many no. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Mon Nov 5 10:31:49 2007 From: john at winhaven.net (John Bartow) Date: Mon, 5 Nov 2007 10:31:49 -0600 Subject: [AccessD] newsletter 200503 - How to create an FTP Client withinAccess In-Reply-To: <000001c81fb2$ac10efd0$647aa8c0@M90> References: <000e01c81fa9$09ba7d90$647aa8c0@M90> <000001c81fb2$ac10efd0$647aa8c0@M90> Message-ID: <00dc01c81fc9$5df56530$6402a8c0@ScuzzPaq> Sorry about the newsletter/link problem. Our webmaster he will correct it a soon as he can. Thanks for your patience. John Bartow, President Database Advisors, Inc. Email: mailto:president at databaseadvisors.com Website: http://www.databaseadvisors.com From Gustav at cactus.dk Mon Nov 5 11:50:19 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 05 Nov 2007 18:50:19 +0100 Subject: [AccessD] Counting Co IDs Message-ID: Hi Susan This is MS SQL Server or MySQL syntax. Unfortunately, it doesn't work in any version of JET SQL. /gustav >>> ssharkins at gmail.com 05-11-2007 16:36:02 >>> Well that's cool -- I'll have to take a look at that one! Susan H. > Not that you need it in this case, but it's worth mentioning a seldom-used > flavor of the Count() syntax. Here's one that works against the > AdventureWorks sample database: > > Select Count(Distinct CustomerID) from Sales.SalesOrderHeader From ssharkins at gmail.com Mon Nov 5 11:57:31 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 5 Nov 2007 12:57:31 -0500 Subject: [AccessD] Counting Co IDs References: Message-ID: <015701c81fd5$950f6b90$4b3a8343@SusanOne> Thanks Gustav -- I would've tried it in Access. Susan H. > Hi Susan > > This is MS SQL Server or MySQL syntax. Unfortunately, it doesn't work in > any version of JET SQL. > From fireonice at hotmail.com Mon Nov 5 12:07:02 2007 From: fireonice at hotmail.com (James Miller) Date: Mon, 5 Nov 2007 10:07:02 -0800 Subject: [AccessD] Easy question Message-ID: Okay. I know this is probably something really easy I'm overlooking, but right now I'm drawing a blank and hope someone can point me in the right direction. I have a form with two checkboxes on it.. form is tied to a table. and when the checkboxes are "true" I have a text box that appears for some text to be typed in. when the checkbox is unchecked, the text box is set so the visibility is false.. This works fine on my form, until you move to the next record. and then no matter what state the checkbox is, the textbox will be visible or not depending on how it was left on the last record. (I hope that made sense). My question is, what event do I need to add my code to, so that it will set the textbox properties correctly after the new record appears on the form. I have tried all the events I can think of, and none work.. I'm assuming there should be a way to capture the record change event, but I can't seem to find where to do that. Any pointers would be greatly appreciated!! I know this is probably so easy... LOL James From markamatte at hotmail.com Mon Nov 5 12:12:35 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 5 Nov 2007 18:12:35 +0000 Subject: [AccessD] OT..Test email format IGNORE In-Reply-To: <002001c81d8f$72364ff0$0c10a8c0@jisshowsbs.local> References: <002001c81d8f$72364ff0$0c10a8c0@jisshowsbs.local> Message-ID: > ...now if only I could learn to swallow my pride and just ask before > spending days running in circles. ...ouch...you're gonna hate this suggestion. Guessing from your description below...you used about 3 fields in your original table to get this output. We'll use the fields:field1=Set---this is where your data1,data2 stuff wentfield2=Value---this is where your 1,2,5,4,2,3,4...wentfield3=Ltr--(letter)...where your w,x,y,z Assuming this is how your data is stored...the results you want can be achieved using a single crosstab. Good Luck, Mark A. Matte ************SQL*************TRANSFORM Sum(tblDataTest.Value) AS SumOfValueSELECT tblDataTest.Set, Max(tblDataTest.Value) AS MaxOfValue, Count(*) AS SeriesFROM tblDataTestGROUP BY tblDataTest.SetPIVOT tblDataTest.Ltr;************SQL*************> From: wdhindman at dejpolsystems.com> To: accessd at databaseadvisors.com> Date: Fri, 2 Nov 2007 16:32:10 -0400> Subject: Re: [AccessD] ...gurus only> > ...tks gustav ...I'll give this a shot ...suddenly my cup runneth over > ...ain't no place like AccessD :)> ...now if only I could learn to swallow my pride and just ask before > spending days running in circles.> > William> > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Friday, November 02, 2007 4:16 PM> Subject: Re: [AccessD] ...gurus only> > > > Hi William> >> > 1) No problem.> >> > 2) Sorry, now I understand.> > Use this for Series:> >> > IIf([First]+[Last]=0,> > 0,> > 1+[Last]-[First]) AS> > Series> >> > 3) If you expect "" for empty fields, values must be strings. That's why I > > use Val() to convert to Integers.> >> > /gustav> >> >> >>>> wdhindman at dejpolsystems.com 02-11-2007 21:05:02 >>>> > ...thanks gustav but:> > ...I'm busted again ...there was an error in the data3 max ...sigh> > ...given:> >> > fields w x y z max series> > data1 1 1 1 2> > data2 1 5 5 3> > data3 1 4 3 4 4> > data4 2 3 3 2> > data5 1 1 1 1 1 4> > data6 1 1 1> >> > 1) where max is the largest number in w/x/y/z and> > 2) where series is the total number of fields between the first one> > containing a> > number and the last containing a number, not the total of the field> > contents.> > 3) where w/x/y/z are long integers for some stupid reason since it will> > allways be a single digit> >> > ...I ask for guru help and everyone starts exposing why I need it :(> > ...there is a desperate shortage of caffiene in my bloodstream ...that's > > my> > story and I'm sticking to it :)> >> > William> >> > ----- Original Message ----- > > From: "Gustav Brock" > > To: > > Sent: Friday, November 02, 2007 3:40 PM> > Subject: Re: [AccessD] ...gurus only> >> >> >> Hi William> >>> >> Here is one method using Choose():> >>> >> SELECT> >> ID,> >> w,> >> x,> >> y,> >> z,> >> IIf(Val("" & [w])>Val("" & [x]),> >> Val("" & [w]),> >> Val("" & [x])) AS Max12,> >> IIf(Val("" & [y])>Val("" & [z]),> >> Val("" & [y]),> >> Val("" & [z])) AS Max34,> >> IIf(Val("" & [w])>0,> >> 1,> >> IIf(Val("" & [x])>0,> >> 2,> >> IIf(Val("" & [y])>0,> >> 3,> >> IIf(Val("" & [z])>0,> >> 4,> >> 0)))) AS> >> First,> >> IIf(Val("" & [z])>0,> >> 4,> >> IIf(Val("" & [y])>0,> >> 3,> >> IIf(Val("" & [x])>0,> >> 2,> >> IIf(Val("" & [w])>0,> >> 1,> >> 0)))) AS> >> Last,> >> IIf([Max12]>[Max34],> >> [Max12],> >> [Max34]) AS> >> Max,> >> IIf([First]=[Last],> >> Val(Choose([First],[w],[x],[y],[z])),> >>> >> Val(Choose([First],[w],[x],[y],[z]))+Val(Choose([Last],[w],[x],[y],[z])))> >> AS> >> Series> >> FROM> >> tblGuru;> >>> >>> >> This will return, which differs from your example but is according to > >> your> >> specification:> >>> >> Max Series> >> 1 2> >> 5 6> >> 4 4> >> 3 5> >> 1 2> >> 1 1> >>> >> /gustav> >>> >>>>> wdhindman at dejpolsystems.com 02-11-2007 19:45:35 >>>> >> ...ok, you too, eh :)> >>> >> ...given:> >>> >> fields w x y z max series> >> data1 1 1 1 2> >> data2 1 5 5 3> >> data3 1 4 3 3 4> >> data4 2 3 3 2> >> data5 1 1 1 1 1 4> >> data6 1 1 1> >>> >> 1) where max is the largest number in w/x/y/z and> >> 2) where series is the total fields between the first one containing a> >> number and the last containing a number> >> 3) where empty fields contain "" rather than nulls> >>> >> ...two days and I've yet to come up with an answer to fill the max and> >> series fields from the data in w/x/y/z.> >>> >> ...help!> >>> >> William> >> >> >> > -- > > AccessD mailing list> > AccessD at databaseadvisors.com> > http://databaseadvisors.com/mailman/listinfo/accessd> > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list> AccessD at databaseadvisors.com> http://databaseadvisors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com _________________________________________________________________ Climb to the top of the charts!? Play Star Shuffle:? the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct From markamatte at hotmail.com Mon Nov 5 12:24:23 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 5 Nov 2007 18:24:23 +0000 Subject: [AccessD] Private_Format In-Reply-To: <002001c81d8f$72364ff0$0c10a8c0@jisshowsbs.local> References: <002001c81d8f$72364ff0$0c10a8c0@jisshowsbs.local> Message-ID: Gustav, Thanks for pointing this out as I typically don't read my own posts. I'm not sure what the problem is...I think this is happening when I reply to the list...as a test I will send this email to you directly...then hit "back" and send it to the list...please let me know the results. Thanks, Mark A. Matte From: markamatte at hotmail.comTo: accessd at databaseadvisors.comSubject: RE: [AccessD] ...gurus onlyDate: Fri, 2 Nov 2007 20:44:24 +0000 > ...now if only I could learn to swallow my pride and just ask before > spending days running in circles. ...ouch...you're gonna hate this suggestion. Guessing from your description below...you used about 3 fields in your original table to get this output. We'll use the fields:field1=Set---this is where your data1,data2 stuff wentfield2=Value---this is where your 1,2,5,4,2,3,4...wentfield3=Ltr--(letter)...where your w,x,y,z Assuming this is how your data is stored...the results you want can be achieved using a single crosstab. Good Luck, Mark A. Matte ************SQL*************TRANSFORM Sum(tblDataTest.Value) AS SumOfValueSELECT tblDataTest.Set, Max(tblDataTest.Value) AS MaxOfValue, Count(*) AS SeriesFROM tblDataTestGROUP BY tblDataTest.SetPIVOT tblDataTest.Ltr;************SQL*************> From: wdhindman at dejpolsystems.com> To: accessd at databaseadvisors.com> Date: Fri, 2 Nov 2007 16:32:10 -0400> Subject: Re: [AccessD] ...gurus only> > ...tks gustav ...I'll give this a shot ...suddenly my cup runneth over > ...ain't no place like AccessD :)> ...now if only I could learn to swallow my pride and just ask before > spending days running in circles.> > William> > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Friday, November 02, 2007 4:16 PM> Subject: Re: [AccessD] ...gurus only> > > > Hi William> >> > 1) No problem.> >> > 2) Sorry, now I understand.> > Use this for Series:> >> > IIf([First]+[Last]=0,> > 0,> > 1+[Last]-[First]) AS> > Series> >> > 3) If you expect "" for empty fields, values must be strings. That's why I > > use Val() to convert to Integers.> >> > /gustav> >> >> >>>> wdhindman at dejpolsystems.com 02-11-2007 21:05:02 >>>> > ...thanks gustav but:> > ...I'm busted again ...there was an error in the data3 max ...sigh> > ...given:> >> > fields w x y z max series> > data1 1 1 1 2> > data2 1 5 5 3> > data3 1 4 3 4 4> > data4 2 3 3 2> > data5 1 1 1 1 1 4> > data6 1 1 1> >> > 1) where max is the largest number in w/x/y/z and> > 2) where series is the total number of fields between the first one> > containing a> > number and the last containing a number, not the total of the field> > contents.> > 3) where w/x/y/z are long integers for some stupid reason since it will> > allways be a single digit> >> > ...I ask for guru help and everyone starts exposing why I need it :(> > ...there is a desperate shortage of caffiene in my bloodstream ...that's > > my> > story and I'm sticking to it :)> >> > William> >> > ----- Original Message ----- > > From: "Gustav Brock" > > To: > > Sent: Friday, November 02, 2007 3:40 PM> > Subject: Re: [AccessD] ...gurus only> >> >> >> Hi William> >>> >> Here is one method using Choose():> >>> >> SELECT> >> ID,> >> w,> >> x,> >> y,> >> z,> >> IIf(Val("" & [w])>Val("" & [x]),> >> Val("" & [w]),> >> Val("" & [x])) AS Max12,> >> IIf(Val("" & [y])>Val("" & [z]),> >> Val("" & [y]),> >> Val("" & [z])) AS Max34,> >> IIf(Val("" & [w])>0,> >> 1,> >> IIf(Val("" & [x])>0,> >> 2,> >> IIf(Val("" & [y])>0,> >> 3,> >> IIf(Val("" & [z])>0,> >> 4,> >> 0)))) AS> >> First,> >> IIf(Val("" & [z])>0,> >> 4,> >> IIf(Val("" & [y])>0,> >> 3,> >> IIf(Val("" & [x])>0,> >> 2,> >> IIf(Val("" & [w])>0,> >> 1,> >> 0)))) AS> >> Last,> >> IIf([Max12]>[Max34],> >> [Max12],> >> [Max34]) AS> >> Max,> >> IIf([First]=[Last],> >> Val(Choose([First],[w],[x],[y],[z])),> >>> >> Val(Choose([First],[w],[x],[y],[z]))+Val(Choose([Last],[w],[x],[y],[z])))> >> AS> >> Series> >> FROM> >> tblGuru;> >>> >>> >> This will return, which differs from your example but is according to > >> your> >> specification:> >>> >> Max Series> >> 1 2> >> 5 6> >> 4 4> >> 3 5> >> 1 2> >> 1 1> >>> >> /gustav> >>> >>>>> wdhindman at dejpolsystems.com 02-11-2007 19:45:35 >>>> >> ...ok, you too, eh :)> >>> >> ...given:> >>> >> fields w x y z max series> >> data1 1 1 1 2> >> data2 1 5 5 3> >> data3 1 4 3 3 4> >> data4 2 3 3 2> >> data5 1 1 1 1 1 4> >> data6 1 1 1> >>> >> 1) where max is the largest number in w/x/y/z and> >> 2) where series is the total fields between the first one containing a> >> number and the last containing a number> >> 3) where empty fields contain "" rather than nulls> >>> >> ...two days and I've yet to come up with an answer to fill the max and> >> series fields from the data in w/x/y/z.> >>> >> ...help!> >>> >> William> >> >> >> > -- > > AccessD mailing list> > AccessD at databaseadvisors.com> > http://databaseadvisors.com/mailman/listinfo/accessd> > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list> AccessD at databaseadvisors.com> http://databaseadvisors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com Peek-a-boo FREE Tricks & Treats for You! Get 'em! _________________________________________________________________ Peek-a-boo FREE Tricks & Treats for You! http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us From garykjos at gmail.com Mon Nov 5 12:40:04 2007 From: garykjos at gmail.com (Gary Kjos) Date: Mon, 5 Nov 2007 12:40:04 -0600 Subject: [AccessD] Easy question In-Reply-To: References: Message-ID: I beleive it would be the "On Current" Event of the form where you would evaluate the value of your fields and set the visibility on or off as needed. GK On 11/5/07, James Miller wrote: > Okay. I know this is probably something really easy I'm overlooking, but > right now I'm drawing a blank and hope someone can point me in the right > direction. > > > > I have a form with two checkboxes on it.. form is tied to a table. and when > the checkboxes are "true" I have a text box that appears for some text to be > typed in. when the checkbox is unchecked, the text box is set so the > visibility is false.. This works fine on my form, until you move to the > next record. and then no matter what state the checkbox is, the textbox will > be visible or not depending on how it was left on the last record. (I hope > that made sense). > > > > My question is, what event do I need to add my code to, so that it will set > the textbox properties correctly after the new record appears on the form. > I have tried all the events I can think of, and none work.. I'm assuming > there should be a way to capture the record change event, but I can't seem > to find where to do that. > > > > Any pointers would be greatly appreciated!! I know this is probably so > easy... LOL > > > > James > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From garykjos at gmail.com Mon Nov 5 12:43:32 2007 From: garykjos at gmail.com (Gary Kjos) Date: Mon, 5 Nov 2007 12:43:32 -0600 Subject: [AccessD] OT..Test email format IGNORE In-Reply-To: References: <002001c81d8f$72364ff0$0c10a8c0@jisshowsbs.local> Message-ID: Quite a lot of weirdness going on here Mark. I'd say the test FAILED. GK On 11/5/07, Mark A Matte wrote: > > > ...now if only I could learn to swallow my pride and just ask before > spending days running in circles. ...ouch...you're gonna hate this suggestion. Guessing from your description below...you used about 3 fields in your original table to get this output. We'll use the fields:field1=Set---this is where your data1,data2 stuff wentfield2=Value---this is where your 1,2,5,4,2,3,4...wentfield3=Ltr--(letter)...where your w,x,y,z Assuming this is how your data is stored...the results you want can be achieved using a single crosstab. Good Luck, Mark A. Matte ************SQL*************TRANSFORM Sum(tblDataTest.Value) AS SumOfValueSELECT tblDataTest.Set, Max(tblDataTest.Value) AS MaxOfValue, Count(*) AS SeriesFROM tblDataTestGROUP BY tblDataTest.SetPIVOT tblDataTest.Ltr;************SQL*************> From: wdhindman at dejpolsystems.com> To: accessd at databaseadvisors.com> Date: Fri, 2 Nov 2007 16:32:10 -0400> Subject: Re: [AccessD] ...gurus only> > ...tks gustav ...I'll give this a shot ...suddenly my cup runneth over > ...ain't no place like AccessD :)> ...now if only I could learn to swallow my pride and just ask before > spending days running in circles.> > William> > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Friday, November 02, 2007 4:16 PM> Subject: Re: [AccessD] ...gurus only> > > > Hi William> >> > 1) No problem.> >> > 2) Sorry, now I understand.> > Use this for Series:> >> > IIf([First]+[Last]=0,> > 0,> > 1+[Last]-[First]) AS> > Series> >> > 3) If you expect "" for empty fields, values must be strings. That's why I > > use Val() to convert to Integers.> >> > /gustav> >> >> >>>> wdhindman at dejpolsystems.com 02-11-2007 21:05:02 >>>> > ...thanks gustav but:> > ...I'm busted again ...there was an error in the data3 max ...sigh> > ...given:> >> > fields w x y z max series> > data1 1 1 1 2> > data2 1 5 5 3> > data3 1 4 3 4 4> > data4 2 3 3 2> > data5 1 1 1 1 1 4> > data6 1 1 1> >> > 1) where max is the largest number in w/x/y/z and> > 2) where series is the total number of fields between the first one> > containing a> > number and the last containing a number, not the total of the field> > contents.> > 3) where w/x/y/z are long integers for some stupid reason since it will> > allways be a single digit> >> > ...I ask for guru help and everyone starts exposing why I need it :(> > ...there is a desperate shortage of caffiene in my bloodstream ...that's > > my> > story and I'm sticking to it :)> >> > William> >> > ----- Original Message ----- > > From: "Gustav Brock" > > To: > > Sent: Friday, November 02, 2007 3:40 PM> > Subject: Re: [AccessD] ...gurus only> >> >> >> Hi William> >>> >> Here is one method using Choose():> >>> >> SELECT> >> ID,> >> w,> >> x,> >> y,> >> z,> >> IIf(Val("" & [w])>Val("" & [x]),> >> Val("" & [w]),> >> Val("" & [x])) AS Max12,> >> IIf(Val("" & [y])>Val("" & [z]),> >> Val("" & [y]),> >> Val("" & [z])) AS Max34,> >> IIf(Val("" & [w])>0,> >> 1,> >> IIf(Val("" & [x])>0,> >> 2,> >> IIf(Val("" & [y])>0,> >> 3,> >> IIf(Val("" & [z])>0,> >> 4,> >> 0)))) AS> >> First,> >> IIf(Val("" & [z])>0,> >> 4,> >> IIf(Val("" & [y])>0,> >> 3,> >> IIf(Val("" & [x])>0,> >> 2,> >> IIf(Val("" & [w])>0,> >> 1,> >> 0)))) AS> >> Last,> >> IIf([Max12]>[Max34],> >> [Max12],> >> [Max34]) AS> >> Max,> >> IIf([First]=[Last],> >> Val(Choose([First],[w],[x],[y],[z])),> >>> >> Val(Choose([First],[w],[x],[y],[z]))+Val(Choose([Last],[w],[x],[y],[z])))> >> AS> >> Series> >> FROM> >> tblGuru;> >>> >>> >> This will return, which differs from your example but is according to > >> your> >> specification:> >>> >> Max Series> >> 1 2> >> 5 6> >> 4 4> >> 3 5> >> 1 2> >> 1 1> >>> >> /gustav> >>> >>>>> wdhindman at dejpolsystems.com 02-11-2007 19:45:35 >>>> >> ...ok, you too, eh :)> >>> >> ...given:> >>> >> fields w x y z max series> >> data1 1 1 1 2> >> data2 1 5 5 3> >> data3 1 4 3 3 4> >> data4 2 3 3 2> >> data5 1 1 1 1 1 4> >> data6 1 1 1> >>> >> 1) where max is the largest number in w/x/y/z and> >> 2) where series is the total fields between the first one containing a> >> number and the last containing a number> >> 3) where empty fields contain "" rather than nulls> >>> >> ...two days and I've yet to come up with an answer to fill the max and> >> series fields from the data in w/x/y/z.> >>> >> ...help!> >>> >> William> >> >> >> > -- > > AccessD mailing list> > AccessD at databaseadvisors.com> > http://databaseadvisors.com/mailman/listinfo/accessd> > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list> AccessD at databaseadvisors.com> http://databaseadvisors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com > _________________________________________________________________ > Climb to the top of the charts! Play Star Shuffle: the word scramble challenge with star power. > http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From jwcolby at colbyconsulting.com Mon Nov 5 12:57:53 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 5 Nov 2007 13:57:53 -0500 Subject: [AccessD] Easy question In-Reply-To: References: Message-ID: <004601c81fdd$c5b05400$647aa8c0@M90> I would guess that this is happening because you are testing for a true / false in the checkbox and when you hit the new record the checkbox is null. Is the actual checkbox control default value false? As to your question OnCurrent is the event that fires when the form moves from record to record. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of James Miller Sent: Monday, November 05, 2007 1:07 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Easy question Okay. I know this is probably something really easy I'm overlooking, but right now I'm drawing a blank and hope someone can point me in the right direction. I have a form with two checkboxes on it.. form is tied to a table. and when the checkboxes are "true" I have a text box that appears for some text to be typed in. when the checkbox is unchecked, the text box is set so the visibility is false.. This works fine on my form, until you move to the next record. and then no matter what state the checkbox is, the textbox will be visible or not depending on how it was left on the last record. (I hope that made sense). My question is, what event do I need to add my code to, so that it will set the textbox properties correctly after the new record appears on the form. I have tried all the events I can think of, and none work.. I'm assuming there should be a way to capture the record change event, but I can't seem to find where to do that. Any pointers would be greatly appreciated!! I know this is probably so easy... LOL James -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fireonice at hotmail.com Mon Nov 5 12:58:10 2007 From: fireonice at hotmail.com (James Miller) Date: Mon, 5 Nov 2007 10:58:10 -0800 Subject: [AccessD] Easy question In-Reply-To: References: Message-ID: Thanks Gary! Man, I feel silly now, because I knew it had to be something easy I was overlooking... that did the trick! Thanks again, James -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Monday, November 05, 2007 10:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Easy question I beleive it would be the "On Current" Event of the form where you would evaluate the value of your fields and set the visibility on or off as needed. GK From JHewson at karta.com Mon Nov 5 13:03:44 2007 From: JHewson at karta.com (Jim Hewson) Date: Mon, 5 Nov 2007 13:03:44 -0600 Subject: [AccessD] Easy question In-Reply-To: <012001c81fd6$aaaff5e0$000fe1a0$@com> References: <012001c81fd6$aaaff5e0$000fe1a0$@com> Message-ID: <3918C60D59E7D84BBE11101EB0FDEF6F0BFD4A@karta-exc-int.Karta.com> Have you tried a refresh when moving to the next record? Jim jhewson at karta.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of James Miller Sent: Monday, November 05, 2007 12:07 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Easy question Okay. I know this is probably something really easy I'm overlooking, but right now I'm drawing a blank and hope someone can point me in the right direction. I have a form with two checkboxes on it.. form is tied to a table. and when the checkboxes are "true" I have a text box that appears for some text to be typed in. when the checkbox is unchecked, the text box is set so the visibility is false.. This works fine on my form, until you move to the next record. and then no matter what state the checkbox is, the textbox will be visible or not depending on how it was left on the last record. (I hope that made sense). My question is, what event do I need to add my code to, so that it will set the textbox properties correctly after the new record appears on the form. I have tried all the events I can think of, and none work.. I'm assuming there should be a way to capture the record change event, but I can't seem to find where to do that. Any pointers would be greatly appreciated!! I know this is probably so easy... LOL James -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Nov 5 13:10:56 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 5 Nov 2007 11:10:56 -0800 Subject: [AccessD] Packagers/Installers In-Reply-To: References: <000601c81ee5$0dd472b0$0301a8c0@HAL9005><002c01c81efe$69bc3e50$0301a8c0@HAL9005> Message-ID: <000101c81fdf$985933d0$0301a8c0@HAL9005> That's the kind of stuff I was looking for. There's got to be some reason why Wise and Instalshield exist. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 05, 2007 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Packagers/Installers The thing I remember about it was that you couldn't put a shortcut on the desktop with it. You had to create a VB script to install a shortcut. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, November 04, 2007 8:19 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Packagers/Installers Another question about the Windows Installer - I vaguely remember there being some problem with it that you didn't have with a commercial installer like Wise. But I can't remember. Does anyone recall this? MTIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, November 04, 2007 5:18 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Packagers/Installers Dear List: I use the Wise/Sagekey combination to package a couple of commercial applications. Always found it to be top notch. Does anyone have experience with other packagers, good or bad, particularly Windows Installer? Thanks in advance Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.20/1108 - Release Date: 11/3/2007 9:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.21/1110 - Release Date: 11/4/2007 9:37 PM From viner at EUnet.yu Mon Nov 5 13:13:13 2007 From: viner at EUnet.yu (viner) Date: Mon, 5 Nov 2007 20:13:13 +0100 Subject: [AccessD] Timetable sample needed Message-ID: <006f01c81fdf$fef13d90$dd0cf0d5@IPC> Hi, I need a sample timetable application for a school, if possible written in Access. TIA, Ervin From reuben at gfconsultants.com Mon Nov 5 13:19:39 2007 From: reuben at gfconsultants.com (Reuben Cummings) Date: Mon, 5 Nov 2007 14:19:39 -0500 Subject: [AccessD] Timetable sample needed In-Reply-To: <006f01c81fdf$fef13d90$dd0cf0d5@IPC> Message-ID: What do you mean "timetable application"? What are you trying to accomplish? Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of viner > Sent: Monday, November 05, 2007 2:13 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Timetable sample needed > > > Hi, > I need a sample timetable application for a school, if possible > written in Access. > TIA, > Ervin > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From markamatte at hotmail.com Mon Nov 5 13:24:54 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 5 Nov 2007 19:24:54 +0000 Subject: [AccessD] OT: Test Laptop In-Reply-To: <002001c81d8f$72364ff0$0c10a8c0@jisshowsbs.local> References: <002001c81d8f$72364ff0$0c10a8c0@jisshowsbs.local> Message-ID: Sorry for the tests everyone!!! From: markamatte at hotmail.comTo: accessd at databaseadvisors.comSubject: [AccessD] Private_FormatDate: Mon, 5 Nov 2007 18:24:23 +0000 Gustav, Thanks for pointing this out as I typically don't read my own posts. I'm not sure what the problem is...I think this is happening when I reply to the list...as a test I will send this email to you directly...then hit "back" and send it to the list...please let me know the results. Thanks, Mark A. Matte From: markamatte at hotmail.comTo: accessd at databaseadvisors.comSubject: RE: [AccessD] ...gurus onlyDate: Fri, 2 Nov 2007 20:44:24 +0000 > ...now if only I could learn to swallow my pride and just ask before > spending days running in circles. ...ouch...you're gonna hate this suggestion. Guessing from your description below...you used about 3 fields in your original table to get this output. We'll use the fields:field1=Set---this is where your data1,data2 stuff wentfield2=Value---this is where your 1,2,5,4,2,3,4...wentfield3=Ltr--(letter)...where your w,x,y,z Assuming this is how your data is stored...the results you want can be achieved using a single crosstab. Good Luck, Mark A. Matte ************SQL*************TRANSFORM Sum(tblDataTest.Value) AS SumOfValueSELECT tblDataTest.Set, Max(tblDataTest.Value) AS MaxOfValue, Count(*) AS SeriesFROM tblDataTestGROUP BY tblDataTest.SetPIVOT tblDataTest.Ltr;************SQL*************> From: wdhindman at dejpolsystems.com> To: accessd at databaseadvisors.com> Date: Fri, 2 Nov 2007 16:32:10 -0400> Subject: Re: [AccessD] ...gurus only> > ...tks gustav ...I'll give this a shot ...suddenly my cup runneth over > ...ain't no place like AccessD :)> ...now if only I could learn to swallow my pride and just ask before > spending days running in circles.> > William> > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Friday, November 02, 2007 4:16 PM> Subject: Re: [AccessD] ...gurus only> > > > Hi William> >> > 1) No problem.> >> > 2) Sorry, now I understand.> > Use this for Series:> >> > IIf([First]+[Last]=0,> > 0,> > 1+[Last]-[First]) AS> > Series> >> > 3) If you expect "" for empty fields, values must be strings. That's why I > > use Val() to convert to Integers.> >> > /gustav> >> >> >>>> wdhindman at dejpolsystems.com 02-11-2007 21:05:02 >>>> > ...thanks gustav but:> > ...I'm busted again ...there was an error in the data3 max ...sigh> > ...given:> >> > fields w x y z max series> > data1 1 1 1 2> > data2 1 5 5 3> > data3 1 4 3 4 4> > data4 2 3 3 2> > data5 1 1 1 1 1 4> > data6 1 1 1> >> > 1) where max is the largest number in w/x/y/z and> > 2) where series is the total number of fields between the first one> > containing a> > number and the last containing a number, not the total of the field> > contents.> > 3) where w/x/y/z are long integers for some stupid reason since it will> > allways be a single digit> >> > ...I ask for guru help and everyone starts exposing why I need it :(> > ...there is a desperate shortage of caffiene in my bloodstream ...that's > > my> > story and I'm sticking to it :)> >> > William> >> > ----- Original Message ----- > > From: "Gustav Brock" > > To: > > Sent: Friday, November 02, 2007 3:40 PM> > Subject: Re: [AccessD] ...gurus only> >> >> >> Hi William> >>> >> Here is one method using Choose():> >>> >> SELECT> >> ID,> >> w,> >> x,> >> y,> >> z,> >> IIf(Val("" & [w])>Val("" & [x]),> >> Val("" & [w]),> >> Val("" & [x])) AS Max12,> >> IIf(Val("" & [y])>Val("" & [z]),> >> Val("" & [y]),> >> Val("" & [z])) AS Max34,> >> IIf(Val("" & [w])>0,> >> 1,> >> IIf(Val("" & [x])>0,> >> 2,> >> IIf(Val("" & [y])>0,> >> 3,> >> IIf(Val("" & [z])>0,> >> 4,> >> 0)))) AS> >> First,> >> IIf(Val("" & [z])>0,> >> 4,> >> IIf(Val("" & [y])>0,> >> 3,> >> IIf(Val("" & [x])>0,> >> 2,> >> IIf(Val("" & [w])>0,> >> 1,> >> 0)))) AS> >> Last,> >> IIf([Max12]>[Max34],> >> [Max12],> >> [Max34]) AS> >> Max,> >> IIf([First]=[Last],> >> Val(Choose([First],[w],[x],[y],[z])),> >>> >> Val(Choose([First],[w],[x],[y],[z]))+Val(Choose([Last],[w],[x],[y],[z])))> >> AS> >> Series> >> FROM> >> tblGuru;> >>> >>> >> This will return, which differs from your example but is according to > >> your> >> specification:> >>> >> Max Series> >> 1 2> >> 5 6> >> 4 4> >> 3 5> >> 1 2> >> 1 1> >>> >> /gustav> >>> >>>>> wdhindman at dejpolsystems.com 02-11-2007 19:45:35 >>>> >> ...ok, you too, eh :)> >>> >> ...given:> >>> >> fields w x y z max series> >> data1 1 1 1 2> >> data2 1 5 5 3> >> data3 1 4 3 3 4> >> data4 2 3 3 2> >> data5 1 1 1 1 1 4> >> data6 1 1 1> >>> >> 1) where max is the largest number in w/x/y/z and> >> 2) where series is the total fields between the first one containing a> >> number and the last containing a number> >> 3) where empty fields contain "" rather than nulls> >>> >> ...two days and I've yet to come up with an answer to fill the max and> >> series fields from the data in w/x/y/z.> >>> >> ...help!> >>> >> William> >> >> >> > -- > > AccessD mailing list> > AccessD at databaseadvisors.com> > http://databaseadvisors.com/mailman/listinfo/accessd> > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list> AccessD at databaseadvisors.com> http://databaseadvisors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com Peek-a-boo FREE Tricks & Treats for You! Get 'em! Peek-a-boo FREE Tricks & Treats for You! Get 'em! _________________________________________________________________ Windows Live Hotmail and Microsoft Office Outlook ? together at last. ?Get it now. http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL100626971033 From markamatte at hotmail.com Mon Nov 5 13:26:09 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 5 Nov 2007 19:26:09 +0000 Subject: [AccessD] OT: Test DeskTop In-Reply-To: <002001c81d8f$72364ff0$0c10a8c0@jisshowsbs.local> References: <002001c81d8f$72364ff0$0c10a8c0@jisshowsbs.local> Message-ID: From: markamatte at hotmail.comTo: accessd at databaseadvisors.comSubject: [AccessD] OT: Test LaptopDate: Mon, 5 Nov 2007 19:24:54 +0000 Sorry for the tests everyone!!! From: markamatte at hotmail.comTo: accessd at databaseadvisors.comSubject: [AccessD] Private_FormatDate: Mon, 5 Nov 2007 18:24:23 +0000 Gustav, Thanks for pointing this out as I typically don't read my own posts. I'm not sure what the problem is...I think this is happening when I reply to the list...as a test I will send this email to you directly...then hit "back" and send it to the list...please let me know the results. Thanks, Mark A. Matte From: markamatte at hotmail.comTo: accessd at databaseadvisors.comSubject: RE: [AccessD] ...gurus onlyDate: Fri, 2 Nov 2007 20:44:24 +0000 > ...now if only I could learn to swallow my pride and just ask before > spending days running in circles. ...ouch...you're gonna hate this suggestion. Guessing from your description below...you used about 3 fields in your original table to get this output. We'll use the fields:field1=Set---this is where your data1,data2 stuff wentfield2=Value---this is where your 1,2,5,4,2,3,4...wentfield3=Ltr--(letter)...where your w,x,y,z Assuming this is how your data is stored...the results you want can be achieved using a single crosstab. Good Luck, Mark A. Matte ************SQL*************TRANSFORM Sum(tblDataTest.Value) AS SumOfValueSELECT tblDataTest.Set, Max(tblDataTest.Value) AS MaxOfValue, Count(*) AS SeriesFROM tblDataTestGROUP BY tblDataTest.SetPIVOT tblDataTest.Ltr;************SQL*************> From: wdhindman at dejpolsystems.com> To: accessd at databaseadvisors.com> Date: Fri, 2 Nov 2007 16:32:10 -0400> Subject: Re: [AccessD] ...gurus only> > ...tks gustav ...I'll give this a shot ...suddenly my cup runneth over > ...ain't no place like AccessD :)> ...now if only I could learn to swallow my pride and just ask before > spending days running in circles.> > William> > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Friday, November 02, 2007 4:16 PM> Subject: Re: [AccessD] ...gurus only> > > > Hi William> >> > 1) No problem.> >> > 2) Sorry, now I understand.> > Use this for Series:> >> > IIf([First]+[Last]=0,> > 0,> > 1+[Last]-[First]) AS> > Series> >> > 3) If you expect "" for empty fields, values must be strings. That's why I > > use Val() to convert to Integers.> >> > /gustav> >> >> >>>> wdhindman at dejpolsystems.com 02-11-2007 21:05:02 >>>> > ...thanks gustav but:> > ...I'm busted again ...there was an error in the data3 max ...sigh> > ...given:> >> > fields w x y z max series> > data1 1 1 1 2> > data2 1 5 5 3> > data3 1 4 3 4 4> > data4 2 3 3 2> > data5 1 1 1 1 1 4> > data6 1 1 1> >> > 1) where max is the largest number in w/x/y/z and> > 2) where series is the total number of fields between the first one> > containing a> > number and the last containing a number, not the total of the field> > contents.> > 3) where w/x/y/z are long integers for some stupid reason since it will> > allways be a single digit> >> > ...I ask for guru help and everyone starts exposing why I need it :(> > ...there is a desperate shortage of caffiene in my bloodstream ...that's > > my> > story and I'm sticking to it :)> >> > William> >> > ----- Original Message ----- > > From: "Gustav Brock" > > To: > > Sent: Friday, November 02, 2007 3:40 PM> > Subject: Re: [AccessD] ...gurus only> >> >> >> Hi William> >>> >> Here is one method using Choose():> >>> >> SELECT> >> ID,> >> w,> >> x,> >> y,> >> z,> >> IIf(Val("" & [w])>Val("" & [x]),> >> Val("" & [w]),> >> Val("" & [x])) AS Max12,> >> IIf(Val("" & [y])>Val("" & [z]),> >> Val("" & [y]),> >> Val("" & [z])) AS Max34,> >> IIf(Val("" & [w])>0,> >> 1,> >> IIf(Val("" & [x])>0,> >> 2,> >> IIf(Val("" & [y])>0,> >> 3,> >> IIf(Val("" & [z])>0,> >> 4,> >> 0)))) AS> >> First,> >> IIf(Val("" & [z])>0,> >> 4,> >> IIf(Val("" & [y])>0,> >> 3,> >> IIf(Val("" & [x])>0,> >> 2,> >> IIf(Val("" & [w])>0,> >> 1,> >> 0)))) AS> >> Last,> >> IIf([Max12]>[Max34],> >> [Max12],> >> [Max34]) AS> >> Max,> >> IIf([First]=[Last],> >> Val(Choose([First],[w],[x],[y],[z])),> >>> >> Val(Choose([First],[w],[x],[y],[z]))+Val(Choose([Last],[w],[x],[y],[z])))> >> AS> >> Series> >> FROM> >> tblGuru;> >>> >>> >> This will return, which differs from your example but is according to > >> your> >> specification:> >>> >> Max Series> >> 1 2> >> 5 6> >> 4 4> >> 3 5> >> 1 2> >> 1 1> >>> >> /gustav> >>> >>>>> wdhindman at dejpolsystems.com 02-11-2007 19:45:35 >>>> >> ...ok, you too, eh :)> >>> >> ...given:> >>> >> fields w x y z max series> >> data1 1 1 1 2> >> data2 1 5 5 3> >> data3 1 4 3 3 4> >> data4 2 3 3 2> >> data5 1 1 1 1 1 4> >> data6 1 1 1> >>> >> 1) where max is the largest number in w/x/y/z and> >> 2) where series is the total fields between the first one containing a> >> number and the last containing a number> >> 3) where empty fields contain "" rather than nulls> >>> >> ...two days and I've yet to come up with an answer to fill the max and> >> series fields from the data in w/x/y/z.> >>> >> ...help!> >>> >> William> >> >> >> > -- > > AccessD mailing list> > AccessD at databaseadvisors.com> > http://databaseadvisors.com/mailman/listinfo/accessd> > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list> AccessD at databaseadvisors.com> http://databaseadvisors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com Peek-a-boo FREE Tricks & Treats for You! Get 'em! Peek-a-boo FREE Tricks & Treats for You! Get 'em! Windows Live Hotmail and Microsoft Office Outlook ? together at last. Get it now! _________________________________________________________________ Climb to the top of the charts!? Play Star Shuffle:? the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct From markamatte at hotmail.com Mon Nov 5 13:27:59 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 5 Nov 2007 19:27:59 +0000 Subject: [AccessD] OT: Test XP_Conv In-Reply-To: <002001c81d8f$72364ff0$0c10a8c0@jisshowsbs.local> References: <002001c81d8f$72364ff0$0c10a8c0@jisshowsbs.local> Message-ID: From: markamatte at hotmail.comTo: accessd at databaseadvisors.comSubject: [AccessD] OT: Test DeskTopDate: Mon, 5 Nov 2007 19:26:09 +0000 From: markamatte at hotmail.comTo: accessd at databaseadvisors.comSubject: [AccessD] OT: Test LaptopDate: Mon, 5 Nov 2007 19:24:54 +0000 Sorry for the tests everyone!!! From: markamatte at hotmail.comTo: accessd at databaseadvisors.comSubject: [AccessD] Private_FormatDate: Mon, 5 Nov 2007 18:24:23 +0000 Gustav, Thanks for pointing this out as I typically don't read my own posts. I'm not sure what the problem is...I think this is happening when I reply to the list...as a test I will send this email to you directly...then hit "back" and send it to the list...please let me know the results. Thanks, Mark A. Matte From: markamatte at hotmail.comTo: accessd at databaseadvisors.comSubject: RE: [AccessD] ...gurus onlyDate: Fri, 2 Nov 2007 20:44:24 +0000 > ...now if only I could learn to swallow my pride and just ask before > spending days running in circles. ...ouch...you're gonna hate this suggestion. Guessing from your description below...you used about 3 fields in your original table to get this output. We'll use the fields:field1=Set---this is where your data1,data2 stuff wentfield2=Value---this is where your 1,2,5,4,2,3,4...wentfield3=Ltr--(letter)...where your w,x,y,z Assuming this is how your data is stored...the results you want can be achieved using a single crosstab. Good Luck, Mark A. Matte ************SQL*************TRANSFORM Sum(tblDataTest.Value) AS SumOfValueSELECT tblDataTest.Set, Max(tblDataTest.Value) AS MaxOfValue, Count(*) AS SeriesFROM tblDataTestGROUP BY tblDataTest.SetPIVOT tblDataTest.Ltr;************SQL*************> From: wdhindman at dejpolsystems.com> To: accessd at databaseadvisors.com> Date: Fri, 2 Nov 2007 16:32:10 -0400> Subject: Re: [AccessD] ...gurus only> > ...tks gustav ...I'll give this a shot ...suddenly my cup runneth over > ...ain't no place like AccessD :)> ...now if only I could learn to swallow my pride and just ask before > spending days running in circles.> > William> > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Friday, November 02, 2007 4:16 PM> Subject: Re: [AccessD] ...gurus only> > > > Hi William> >> > 1) No problem.> >> > 2) Sorry, now I understand.> > Use this for Series:> >> > IIf([First]+[Last]=0,> > 0,> > 1+[Last]-[First]) AS> > Series> >> > 3) If you expect "" for empty fields, values must be strings. That's why I > > use Val() to convert to Integers.> >> > /gustav> >> >> >>>> wdhindman at dejpolsystems.com 02-11-2007 21:05:02 >>>> > ...thanks gustav but:> > ...I'm busted again ...there was an error in the data3 max ...sigh> > ...given:> >> > fields w x y z max series> > data1 1 1 1 2> > data2 1 5 5 3> > data3 1 4 3 4 4> > data4 2 3 3 2> > data5 1 1 1 1 1 4> > data6 1 1 1> >> > 1) where max is the largest number in w/x/y/z and> > 2) where series is the total number of fields between the first one> > containing a> > number and the last containing a number, not the total of the field> > contents.> > 3) where w/x/y/z are long integers for some stupid reason since it will> > allways be a single digit> >> > ...I ask for guru help and everyone starts exposing why I need it :(> > ...there is a desperate shortage of caffiene in my bloodstream ...that's > > my> > story and I'm sticking to it :)> >> > William> >> > ----- Original Message ----- > > From: "Gustav Brock" > > To: > > Sent: Friday, November 02, 2007 3:40 PM> > Subject: Re: [AccessD] ...gurus only> >> >> >> Hi William> >>> >> Here is one method using Choose():> >>> >> SELECT> >> ID,> >> w,> >> x,> >> y,> >> z,> >> IIf(Val("" & [w])>Val("" & [x]),> >> Val("" & [w]),> >> Val("" & [x])) AS Max12,> >> IIf(Val("" & [y])>Val("" & [z]),> >> Val("" & [y]),> >> Val("" & [z])) AS Max34,> >> IIf(Val("" & [w])>0,> >> 1,> >> IIf(Val("" & [x])>0,> >> 2,> >> IIf(Val("" & [y])>0,> >> 3,> >> IIf(Val("" & [z])>0,> >> 4,> >> 0)))) AS> >> First,> >> IIf(Val("" & [z])>0,> >> 4,> >> IIf(Val("" & [y])>0,> >> 3,> >> IIf(Val("" & [x])>0,> >> 2,> >> IIf(Val("" & [w])>0,> >> 1,> >> 0)))) AS> >> Last,> >> IIf([Max12]>[Max34],> >> [Max12],> >> [Max34]) AS> >> Max,> >> IIf([First]=[Last],> >> Val(Choose([First],[w],[x],[y],[z])),> >>> >> Val(Choose([First],[w],[x],[y],[z]))+Val(Choose([Last],[w],[x],[y],[z])))> >> AS> >> Series> >> FROM> >> tblGuru;> >>> >>> >> This will return, which differs from your example but is according to > >> your> >> specification:> >>> >> Max Series> >> 1 2> >> 5 6> >> 4 4> >> 3 5> >> 1 2> >> 1 1> >>> >> /gustav> >>> >>>>> wdhindman at dejpolsystems.com 02-11-2007 19:45:35 >>>> >> ...ok, you too, eh :)> >>> >> ...given:> >>> >> fields w x y z max series> >> data1 1 1 1 2> >> data2 1 5 5 3> >> data3 1 4 3 3 4> >> data4 2 3 3 2> >> data5 1 1 1 1 1 4> >> data6 1 1 1> >>> >> 1) where max is the largest number in w/x/y/z and> >> 2) where series is the total fields between the first one containing a> >> number and the last containing a number> >> 3) where empty fields contain "" rather than nulls> >>> >> ...two days and I've yet to come up with an answer to fill the max and> >> series fields from the data in w/x/y/z.> >>> >> ...help!> >>> >> William> >> >> >> > -- > > AccessD mailing list> > AccessD at databaseadvisors.com> > http://databaseadvisors.com/mailman/listinfo/accessd> > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list> AccessD at databaseadvisors.com> http://databaseadvisors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com Peek-a-boo FREE Tricks & Treats for You! Get 'em! Peek-a-boo FREE Tricks & Treats for You! Get 'em! Windows Live Hotmail and Microsoft Office Outlook ? together at last. Get it now! Climb to the top of the charts! Play Star Shuffle: the word scramble challenge with star power. Play Now! _________________________________________________________________ Windows Live Hotmail and Microsoft Office Outlook ? together at last. ?Get it now. http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL100626971033 From markamatte at hotmail.com Mon Nov 5 13:40:17 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 5 Nov 2007 19:40:17 +0000 Subject: [AccessD] My AccessD Email Format In-Reply-To: References: <002001c81d8f$72364ff0$0c10a8c0@jisshowsbs.local> Message-ID: Hello All, I have received some offline emails from the list concerning the format of my emails. As I do not typically read my own posts...I was not aware. Thank you all for letting me know. I have sent from multiple machines...1 of which nothing has changed on in the last year...and the results are the same. When I reply to an email...What I view seems to be fine...what is in the SENT folder seems to be fine...but when I get the email back from the list...everything past what I added is all run together without CR or spaces. I have sent the same message to people directly...I'm waiting to hear how it went...If I send it to myself...it comes through correct. Any ideas? Thanks, Mark A. Matte _________________________________________________________________ Boo!?Scare away worms, viruses and so much more! Try Windows Live OneCare! http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews From ssharkins at gmail.com Mon Nov 5 13:47:10 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 5 Nov 2007 14:47:10 -0500 Subject: [AccessD] My AccessD Email Format References: <002001c81d8f$72364ff0$0c10a8c0@jisshowsbs.local> Message-ID: <008701c81fe4$a90c2890$4b3a8343@SusanOne> I have sent the same message to people directly...I'm waiting to hear how it went...If I send it to myself...it comes through correct. Any ideas? =======For what it's worth, this one came through fine. Susan H. From viner at EUnet.yu Mon Nov 5 13:51:34 2007 From: viner at EUnet.yu (viner) Date: Mon, 5 Nov 2007 20:51:34 +0100 Subject: [AccessD] Timetable sample needed References: Message-ID: <001201c81fe5$4c50ba70$690ef0d5@IPC> Hi Reuben, I'm trying to make a timetable for school, to avoid clashes in "tutor, room, class" situation. Something like iMagic Timetable Master, http://www.imagictimetablesoftware.com/ TIA, Ervin ----- Original Message ----- From: "Reuben Cummings" To: "Access Developers discussion and problem solving" Sent: Monday, November 05, 2007 8:19 PM Subject: Re: [AccessD] Timetable sample needed > What do you mean "timetable application"? What are you trying to > accomplish? > > Reuben Cummings > GFC, LLC > 812.523.1017 > > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of viner >> Sent: Monday, November 05, 2007 2:13 PM >> To: AccessD at databaseadvisors.com >> Subject: [AccessD] Timetable sample needed >> >> >> Hi, >> I need a sample timetable application for a school, if possible >> written in Access. >> TIA, >> Ervin >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Nov 5 13:55:39 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 5 Nov 2007 11:55:39 -0800 Subject: [AccessD] Spell Check In-Reply-To: <002401c81a60$70c6d2c0$0200a8c0@danwaters> References: <007d01c81a57$3f1b2680$0301a8c0@HAL9005><002301c81a5c$68c54010$0200a8c0@danwaters><008b01c81a5e$6cebf470$0301a8c0@HAL9005> <002401c81a60$70c6d2c0$0200a8c0@danwaters> Message-ID: <000201c81fe5$d7514ae0$0301a8c0@HAL9005> Dan: Here's what I ended up with. My requirement was not as general case as yours. Just to spell check a specific bound field on a filtered form - all records. DoCmd.GoToRecord , , acFirst Do While Me.NewRecord = False Me.TimeEntryNarrative.SetFocus Me.TimeEntryNarrative.SelStart = 0 If Not IsNull(Me.TimeEntryNarrative) Then Me.TimeEntryNarrative.SelLength = Len(Me.TimeEntryNarrative) DoCmd.SetWarnings False DoCmd.RunCommand acCmdSpelling DoCmd.SetWarnings True End If DoCmd.GoToRecord , , acNext Loop SendKeys "{ESC}" The send keys at the end is to cancel the new record. Thanks for the code. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, October 29, 2007 12:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Spell Check The code I listed was a little simplified. In my app I have a User Settings form. One of the settings is if a user wants the auto-spellcheck turned on. That value is stored in a tblPeopleMain field, and it's value is True by default. The reason this is only checking a specific field is because all the text in that field is selected in code. I've never tried to run acCmdSpelling without selecting text first! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, October 29, 2007 2:04 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Spell Check That will definitely help. I'll probably define some hot key to trigger the spell check since the user may want it off - or maybe a check box and use the enter/exit approach. The DoCmd.RunCommand acCmdSpelling if call separately, does that normally run on all the text boxes on the form or just the text box that has the focus? Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, October 29, 2007 11:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Spell Check Hi Rocky, To do spellchecking on textboxes I use this code I've developed through trial & error. It works pretty well - although I've had one 'user' try to paste a long email into a textbox field and then crash the whole database. I retrained him in alternate methods! First, you need to declare a modular variable for each form you'll be using this in like this: Private MvarOriginalText As Variant Second, you need to enter the following into the Enter and Exit events of each textbox (here called memDescription): Private Sub memDescription_Enter() MvarOriginalText = memDescription End Sub Private Sub memDescription_Exit(Delete As Integer) Call SpellCheckField(memDescription, MvarOriginalText) MvarOriginalText = memDescription End Sub Third, put these two procedures into a standard module: Public Sub SpellCheckField(varField As Variant, varOriginalFieldText As Variant) If IsNull(varField) Or varField = "" Then Exit Sub End If If varField = varOriginalFieldText Then Exit Sub End If Call Spellcheck Exit Sub End Sub Public Sub Spellcheck() Dim ctl As Control Dim lngText As Long Dim varFieldContents As Variant Set ctl = Screen.ActiveControl If Not ctl.ControlType = acTextBox Then Exit Sub End If If ctl.Locked = True Then Exit Sub End If If ctl.Enabled = False Then Exit Sub End If ctl.SelStart = 0 ctl.SelLength = Len(ctl.Text) DoCmd.SetWarnings False DoCmd.RunCommand acCmdSpelling DoCmd.SetWarnings True Set ctl = Nothing Exit Sub End Sub This ends up working the way a person would probably intuitively expect automatic spellchecking to work. The user doesn't have to take any action, it just pops up the spellchecking window if something is misspelled, and doesn't do anything at all if all the text is spelled correctly. Hope this helps! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, October 29, 2007 1:12 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Spell Check Dear List: Is there a way through code to trigger the spell checker on a specific field? I think the F7 hotkey does all the fields. 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.12/1097 - Release Date: 10/28/2007 1:58 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.12/1097 - Release Date: 10/28/2007 1:58 PM From carbonnb at gmail.com Mon Nov 5 14:03:32 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Mon, 5 Nov 2007 15:03:32 -0500 Subject: [AccessD] My AccessD Email Format In-Reply-To: References: <002001c81d8f$72364ff0$0c10a8c0@jisshowsbs.local> Message-ID: On Nov 5, 2007 2:40 PM, Mark A Matte wrote: > > Hello All, > > I have received some offline emails from the list concerning the format of my emails. As I do not typically read my own posts...I was not aware. Thank you all for letting me know. > > I have sent from multiple machines...1 of which nothing has changed on in the last year...and the results are the same. When I reply to an email...What I view seems to be fine...what is in the SENT folder seems to be fine...but when I get the email back from the list...everything past what I added is all run together without CR or spaces. > > I have sent the same message to people directly...I'm waiting to hear how it went...If I send it to myself...it comes through correct. > > Any ideas? My guess (not having time to look carefully as I;'m in the middle of 3 projects with deadlines in less than an hour) is that it the HTML email to plain text converter in the mailing list software. Try setting your e-mail client to send only plain ascii text and not html. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From sdhi at kalamazoo.net Mon Nov 5 14:22:16 2007 From: sdhi at kalamazoo.net (Sheri Hixson) Date: Mon, 5 Nov 2007 15:22:16 -0500 Subject: [AccessD] Replace/delete first 4 characters Message-ID: <00a201c81fe9$8f08d1a0$b000000a@nw8000> I have a column in a table that contains info as shown below: 123 123.456 123 123.456 410 410.435 555 555.123 789 789.678 910 910.321 The first 3 characters are duplicated in 5,6,7. How do I remove the first three characters, and the space, from each record in this column so that the results would be: 123.456 123.456 410.435 555.123 789.678 910.321 Any help would be appreciated! Thanks, Dee From doug at starntech.com Mon Nov 5 14:38:53 2007 From: doug at starntech.com (Doug Barnes) Date: Mon, 5 Nov 2007 15:38:53 -0500 Subject: [AccessD] Packagers/Installers In-Reply-To: <000101c81fdf$985933d0$0301a8c0@HAL9005> Message-ID: Another installer is Inno Setup, which is free. Also, download the Inno Tool to accompany. Douglas Barnes Starn Technical Services P.O. Box 1172 15957 Conneaut Lake Road, Suite 7 Meadville, PA 16335 P: 814.724.1045 F: 814.337.3460 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 05, 2007 2:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Packagers/Installers That's the kind of stuff I was looking for. There's got to be some reason why Wise and Instalshield exist. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 05, 2007 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Packagers/Installers The thing I remember about it was that you couldn't put a shortcut on the desktop with it. You had to create a VB script to install a shortcut. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, November 04, 2007 8:19 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Packagers/Installers Another question about the Windows Installer - I vaguely remember there being some problem with it that you didn't have with a commercial installer like Wise. But I can't remember. Does anyone recall this? MTIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, November 04, 2007 5:18 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Packagers/Installers Dear List: I use the Wise/Sagekey combination to package a couple of commercial applications. Always found it to be top notch. Does anyone have experience with other packagers, good or bad, particularly Windows Installer? Thanks in advance Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.20/1108 - Release Date: 11/3/2007 9:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.21/1110 - Release Date: 11/4/2007 9:37 PM -- 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 Nov 5 14:40:43 2007 From: Chester_Kaup at KinderMorgan.com (Kaup, Chester) Date: Mon, 5 Nov 2007 14:40:43 -0600 Subject: [AccessD] Replace/delete first 4 characters In-Reply-To: <00a201c81fe9$8f08d1a0$b000000a@nw8000> References: <00a201c81fe9$8f08d1a0$b000000a@nw8000> Message-ID: For example if your data is in table1 and field1 use this function Mid([Table1]![Field1],5,7) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Sheri Hixson Sent: Monday, November 05, 2007 2:22 PM To: accessD at databaseadvisors.com Subject: [AccessD] Replace/delete first 4 characters I have a column in a table that contains info as shown below: 123 123.456 123 123.456 410 410.435 555 555.123 789 789.678 910 910.321 The first 3 characters are duplicated in 5,6,7. How do I remove the first three characters, and the space, from each record in this column so that the results would be: 123.456 123.456 410.435 555.123 789.678 910.321 Any help would be appreciated! Thanks, Dee -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Mon Nov 5 14:47:16 2007 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 5 Nov 2007 14:47:16 -0600 Subject: [AccessD] Spell Check In-Reply-To: <000201c81fe5$d7514ae0$0301a8c0@HAL9005> References: <007d01c81a57$3f1b2680$0301a8c0@HAL9005><002301c81a5c$68c54010$0200a8c0@danwaters><008b01c81a5e$6cebf470$0301a8c0@HAL9005><002401c81a60$70c6d2c0$0200a8c0@danwaters> <000201c81fe5$d7514ae0$0301a8c0@HAL9005> Message-ID: <004101c81fed$0d601510$0200a8c0@danwaters> Very Clever! I'll remember this. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 05, 2007 1:56 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Spell Check Dan: Here's what I ended up with. My requirement was not as general case as yours. Just to spell check a specific bound field on a filtered form - all records. DoCmd.GoToRecord , , acFirst Do While Me.NewRecord = False Me.TimeEntryNarrative.SetFocus Me.TimeEntryNarrative.SelStart = 0 If Not IsNull(Me.TimeEntryNarrative) Then Me.TimeEntryNarrative.SelLength = Len(Me.TimeEntryNarrative) DoCmd.SetWarnings False DoCmd.RunCommand acCmdSpelling DoCmd.SetWarnings True End If DoCmd.GoToRecord , , acNext Loop SendKeys "{ESC}" The send keys at the end is to cancel the new record. Thanks for the code. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, October 29, 2007 12:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Spell Check The code I listed was a little simplified. In my app I have a User Settings form. One of the settings is if a user wants the auto-spellcheck turned on. That value is stored in a tblPeopleMain field, and it's value is True by default. The reason this is only checking a specific field is because all the text in that field is selected in code. I've never tried to run acCmdSpelling without selecting text first! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, October 29, 2007 2:04 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Spell Check That will definitely help. I'll probably define some hot key to trigger the spell check since the user may want it off - or maybe a check box and use the enter/exit approach. The DoCmd.RunCommand acCmdSpelling if call separately, does that normally run on all the text boxes on the form or just the text box that has the focus? Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, October 29, 2007 11:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Spell Check Hi Rocky, To do spellchecking on textboxes I use this code I've developed through trial & error. It works pretty well - although I've had one 'user' try to paste a long email into a textbox field and then crash the whole database. I retrained him in alternate methods! First, you need to declare a modular variable for each form you'll be using this in like this: Private MvarOriginalText As Variant Second, you need to enter the following into the Enter and Exit events of each textbox (here called memDescription): Private Sub memDescription_Enter() MvarOriginalText = memDescription End Sub Private Sub memDescription_Exit(Delete As Integer) Call SpellCheckField(memDescription, MvarOriginalText) MvarOriginalText = memDescription End Sub Third, put these two procedures into a standard module: Public Sub SpellCheckField(varField As Variant, varOriginalFieldText As Variant) If IsNull(varField) Or varField = "" Then Exit Sub End If If varField = varOriginalFieldText Then Exit Sub End If Call Spellcheck Exit Sub End Sub Public Sub Spellcheck() Dim ctl As Control Dim lngText As Long Dim varFieldContents As Variant Set ctl = Screen.ActiveControl If Not ctl.ControlType = acTextBox Then Exit Sub End If If ctl.Locked = True Then Exit Sub End If If ctl.Enabled = False Then Exit Sub End If ctl.SelStart = 0 ctl.SelLength = Len(ctl.Text) DoCmd.SetWarnings False DoCmd.RunCommand acCmdSpelling DoCmd.SetWarnings True Set ctl = Nothing Exit Sub End Sub This ends up working the way a person would probably intuitively expect automatic spellchecking to work. The user doesn't have to take any action, it just pops up the spellchecking window if something is misspelled, and doesn't do anything at all if all the text is spelled correctly. Hope this helps! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, October 29, 2007 1:12 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Spell Check Dear List: Is there a way through code to trigger the spell checker on a specific field? I think the F7 hotkey does all the fields. 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.12/1097 - Release Date: 10/28/2007 1:58 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.12/1097 - Release Date: 10/28/2007 1:58 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at Marlow.com Mon Nov 5 15:04:19 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 5 Nov 2007 15:04:19 -0600 Subject: [AccessD] Replace/delete first 4 characters In-Reply-To: <00a201c81fe9$8f08d1a0$b000000a@nw8000> Message-ID: If this a permanent change, this would work: UPDATE tblYourTableName SET YourFieldName=Mid(YourFieldName,5) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Sheri Hixson Sent: Monday, November 05, 2007 2:22 PM To: accessD at databaseadvisors.com Subject: [AccessD] Replace/delete first 4 characters I have a column in a table that contains info as shown below: 123 123.456 123 123.456 410 410.435 555 555.123 789 789.678 910 910.321 The first 3 characters are duplicated in 5,6,7. How do I remove the first three characters, and the space, from each record in this column so that the results would be: 123.456 123.456 410.435 555.123 789.678 910.321 Any help would be appreciated! Thanks, Dee -- 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 BusinessSensitve 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 markamatte at hotmail.com Mon Nov 5 15:30:27 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 5 Nov 2007 21:30:27 +0000 Subject: [AccessD] My AccessD Email Format In-Reply-To: References: <002001c81d8f$72364ff0$0c10a8c0@jisshowsbs.local> Message-ID: the HTML> email to plain text converter in the mailing list software.> > Try setting your e-mail client to send only plain ascii text and not html.> I use hotmail...anyone else use it...and have any idea if that is an option? Thanks, Mark A. Matte > Date: Mon, 5 Nov 2007 15:03:32 -0500> From: carbonnb at gmail.com> To: accessd at databaseadvisors.com> Subject: Re: [AccessD] My AccessD Email Format> > On Nov 5, 2007 2:40 PM, Mark A Matte wrote:> >> > Hello All,> >> > I have received some offline emails from the list concerning the format of my emails. As I do not typically read my own posts...I was not aware. Thank you all for letting me know.> >> > I have sent from multiple machines...1 of which nothing has changed on in the last year...and the results are the same. When I reply to an email...What I view seems to be fine...what is in the SENT folder seems to be fine...but when I get the email back from the list...everything past what I added is all run together without CR or spaces.> >> > I have sent the same message to people directly...I'm waiting to hear how it went...If I send it to myself...it comes through correct.> >> > Any ideas?> > My guess (not having time to look carefully as I;'m in the middle of 3> projects with deadlines in less than an hour) is that it the HTML> email to plain text converter in the mailing list software.> > Try setting your e-mail client to send only plain ascii text and not html.> > -- > Bryan Carbonnell - carbonnb at gmail.com> Life's journey is not to arrive at the grave safely in a well> preserved body, but rather to skid in sideways, totally worn out,> shouting "What a great ride!"> -- > AccessD mailing list> AccessD at databaseadvisors.com> http://databaseadvisors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com _________________________________________________________________ Climb to the top of the charts!? Play Star Shuffle:? the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct From carbonnb at gmail.com Mon Nov 5 19:37:11 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Mon, 5 Nov 2007 20:37:11 -0500 Subject: [AccessD] My AccessD Email Format In-Reply-To: References: <002001c81d8f$72364ff0$0c10a8c0@jisshowsbs.local> Message-ID: On Nov 5, 2007 4:30 PM, Mark A Matte wrote: > > the HTML> email to plain text converter in the mailing list software.> > Try setting your e-mail client to send only plain ascii text and not html.> > > I use hotmail...anyone else use it...and have any idea if that is an option? Which version? MSN Hotmail or the new and broken Windows Live Hotmail? http://email.about.com/od/hotmailtips/qt/et_plain_text.htm will tell you how to do it in MSN Hotmail. If you are using the Windows Live Hotmail, time to find another way to send to the list. You can't send in plain acsii text from Windows Live Hotmail. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From adtp at airtelbroadband.in Mon Nov 5 22:38:23 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Tue, 6 Nov 2007 10:08:23 +0530 Subject: [AccessD] ...gurus only References: <002001c81d8f$72364ff0$0c10a8c0@jisshows bs.local> Message-ID: <008b01c8202e$f5e09620$df57a27a@personalec1122> William, If the number of value columns in crosstab style source table is likely to vary, a generic solution could be suggested, envisaging programmatic creation of required queries. On the other hand, if you are in a position to use the original data in normalized state, a single crosstab query could be suggested. It would fetch the desired results, including the two extra columns (one showing max of values across columns and the other showing total number of columns spanned by the two outermost columns carrying explicit values). Best wishes, A.D.Tejpal ------------ ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Saturday, November 03, 2007 00:15 Subject: [AccessD] ...gurus only ...ok, you too, eh :) ...given: fields w x y z max series data1 1 1 1 2 data2 1 5 5 3 data3 1 4 3 3 4 data4 2 3 3 2 data5 1 1 1 1 1 4 data6 1 1 1 1) where max is the largest number in w/x/y/z and 2) where series is the total fields between the first one containing a number and the last containing a number 3) where empty fields contain "" rather than nulls ...two days and I've yet to come up with an answer to fill the max and series fields from the data in w/x/y/z. ...help! William From Gustav at cactus.dk Tue Nov 6 03:23:20 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 06 Nov 2007 10:23:20 +0100 Subject: [AccessD] Private_Format Message-ID: Hi Mark et al The problem is that the plain text body of the message from Hotmail is garbled as no line breaks exist. This is a direct cut and paste of the encoded body part in the mail you sent directly to me. Here's a snip: --- From: markamatte at hotmail.comTo: accessd at databaseadvisors.comSubject: RE: [A= ccessD] ...gurus onlyDate: Fri, 2 Nov 2007 20:44:24 +0000 > ...now if only I could learn to swallow my pride and just ask before > sp= ending days running in circles. ...ouch...you're gonna hate this suggestion= . Guessing from your description below...you used about 3 fields in your or= iginal table to get this output. We'll use the fields:field1=3DSet---this = is where your data1,data2 stuff wentfield2=3DValue---this is where your 1,2= ,5,4,2,3,4...wentfield3=3DLtr--(letter)...where your w,x,y,z Assuming this = is how your data is stored...the results you want can be achieved using a s= ingle crosstab. --- However, also an HTML part is included, and if your mail client defaults to HTML, it will read that for quoting. That looks similar to this snip: --- From: markamatte at hotmail.com To: accessd at databaseadvisors.com Subject: RE: [AccessD] ...gurus only Date: Fri, 2 Nov 2007 20:44:24 +0000 > ...now if only I could learn to swallow my pride and just ask before > spending days running in circles. ...ouch...you're gonna hate this suggestion. Guessing from your description below...you used about 3 fields in your original table to get this output. We'll use the fields: field1=Set---this is where your data1,data2 stuff went field2=Value---this is where your 1,2,5,4,2,3,4...went field3=Ltr--(letter)...where your w,x,y,z Assuming this is how your data is stored...the results you want can be achieved using a single crosstab. --- No problem here. So the issue is, that Hotmail generates garbled plain text and mail clients (including the mail reader part of the list server) faithfully reads that part for quoting or forwarding to the list. As I don't use Hotmail while other list members do you may discuss with these if some option can be changed to address this issue. /gustav From reuben at gfconsultants.com Tue Nov 6 08:00:22 2007 From: reuben at gfconsultants.com (Reuben Cummings) Date: Tue, 6 Nov 2007 09:00:22 -0500 Subject: [AccessD] Timetable sample needed In-Reply-To: <001201c81fe5$4c50ba70$690ef0d5@IPC> Message-ID: I don't know of anything, but I've passed this on to my wife, the teacher, who is heavily involved in software selections in her system. Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of viner > Sent: Monday, November 05, 2007 2:52 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Timetable sample needed > > > Hi Reuben, > I'm trying to make a timetable for school, to avoid clashes in "tutor, > room, class" situation. Something like iMagic Timetable Master, > http://www.imagictimetablesoftware.com/ > TIA, > Ervin > ----- Original Message ----- > From: "Reuben Cummings" > To: "Access Developers discussion and problem solving" > > Sent: Monday, November 05, 2007 8:19 PM > Subject: Re: [AccessD] Timetable sample needed > > > > What do you mean "timetable application"? What are you trying to > > accomplish? > > > > Reuben Cummings > > GFC, LLC > > 812.523.1017 > > > > > >> -----Original Message----- > >> From: accessd-bounces at databaseadvisors.com > >> [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of viner > >> Sent: Monday, November 05, 2007 2:13 PM > >> To: AccessD at databaseadvisors.com > >> Subject: [AccessD] Timetable sample needed > >> > >> > >> Hi, > >> I need a sample timetable application for a school, if possible > >> written in Access. > >> TIA, > >> Ervin > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From markamatte at hotmail.com Tue Nov 6 08:29:34 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 6 Nov 2007 14:29:34 +0000 Subject: [AccessD] OT...View Test In-Reply-To: References: <001201c81fe5$4c50ba70$690ef0d5@IPC> Message-ID: Sorry for the tests... ok...changed a view on my email... > From: reuben at gfconsultants.com > To: accessd at databaseadvisors.com > Date: Tue, 6 Nov 2007 09:00:22 -0500 > Subject: Re: [AccessD] Timetable sample needed > > I don't know of anything, but I've passed this on to my wife, the teacher, > who is heavily involved in software selections in her system. > > Reuben Cummings > GFC, LLC > 812.523.1017 > > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of viner >> Sent: Monday, November 05, 2007 2:52 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Timetable sample needed >> >> >> Hi Reuben, >> I'm trying to make a timetable for school, to avoid clashes in "tutor, >> room, class" situation. Something like iMagic Timetable Master, >> http://www.imagictimetablesoftware.com/ >> TIA, >> Ervin >> ----- Original Message ----- >> From: "Reuben Cummings" >> To: "Access Developers discussion and problem solving" >> >> Sent: Monday, November 05, 2007 8:19 PM >> Subject: Re: [AccessD] Timetable sample needed >> >> >>> What do you mean "timetable application"? What are you trying to >>> accomplish? >>> >>> Reuben Cummings >>> GFC, LLC >>> 812.523.1017 >>> >>> >>>> -----Original Message----- >>>> From: accessd-bounces at databaseadvisors.com >>>> [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of viner >>>> Sent: Monday, November 05, 2007 2:13 PM >>>> To: AccessD at databaseadvisors.com >>>> Subject: [AccessD] Timetable sample needed >>>> >>>> >>>> Hi, >>>> I need a sample timetable application for a school, if possible >>>> written in Access. >>>> TIA, >>>> Ervin >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>> >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Climb to the top of the charts!? Play Star Shuffle:? the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct From reuben at gfconsultants.com Tue Nov 6 08:43:18 2007 From: reuben at gfconsultants.com (Reuben Cummings) Date: Tue, 6 Nov 2007 09:43:18 -0500 Subject: [AccessD] Timetable sample needed In-Reply-To: Message-ID: My wife suggested looking at these people... http://www.sti-k12.com/ I'm guessing it's a little overkill. A friend of mine has written a scheduling app for things like resteraunts - would that help? I haven't spoken to him in quite a while so it may be tough to run him down. Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Reuben > Cummings > Sent: Tuesday, November 06, 2007 9:00 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Timetable sample needed > > > I don't know of anything, but I've passed this on to my wife, the teacher, > who is heavily involved in software selections in her system. > > Reuben Cummings > GFC, LLC > 812.523.1017 > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of viner > > Sent: Monday, November 05, 2007 2:52 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Timetable sample needed > > > > > > Hi Reuben, > > I'm trying to make a timetable for school, to avoid clashes in "tutor, > > room, class" situation. Something like iMagic Timetable Master, > > http://www.imagictimetablesoftware.com/ > > TIA, > > Ervin > > ----- Original Message ----- > > From: "Reuben Cummings" > > To: "Access Developers discussion and problem solving" > > > > Sent: Monday, November 05, 2007 8:19 PM > > Subject: Re: [AccessD] Timetable sample needed > > > > > > > What do you mean "timetable application"? What are you trying to > > > accomplish? > > > > > > Reuben Cummings > > > GFC, LLC > > > 812.523.1017 > > > > > > > > >> -----Original Message----- > > >> From: accessd-bounces at databaseadvisors.com > > >> [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of viner > > >> Sent: Monday, November 05, 2007 2:13 PM > > >> To: AccessD at databaseadvisors.com > > >> Subject: [AccessD] Timetable sample needed > > >> > > >> > > >> Hi, > > >> I need a sample timetable application for a school, if possible > > >> written in Access. > > >> TIA, > > >> Ervin > > >> -- > > >> AccessD mailing list > > >> AccessD at databaseadvisors.com > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > >> Website: http://www.databaseadvisors.com > > >> > > > > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From garykjos at gmail.com Tue Nov 6 08:56:35 2007 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 6 Nov 2007 08:56:35 -0600 Subject: [AccessD] OT...View Test In-Reply-To: References: <001201c81fe5$4c50ba70$690ef0d5@IPC> Message-ID: Looks good here. Gary On 11/6/07, Mark A Matte wrote: > > Sorry for the tests... > > ok...changed a view on my email... > > > > From: reuben at gfconsultants.com > > To: accessd at databaseadvisors.com > > Date: Tue, 6 Nov 2007 09:00:22 -0500 > > Subject: Re: [AccessD] Timetable sample needed > > > > I don't know of anything, but I've passed this on to my wife, the teacher, > > who is heavily involved in software selections in her system. > > > > Reuben Cummings > > GFC, LLC > > 812.523.1017 > > > > > >> -----Original Message----- > >> From: accessd-bounces at databaseadvisors.com > >> [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of viner > >> Sent: Monday, November 05, 2007 2:52 PM > >> To: Access Developers discussion and problem solving > >> Subject: Re: [AccessD] Timetable sample needed > >> > >> > >> Hi Reuben, > >> I'm trying to make a timetable for school, to avoid clashes in "tutor, > >> room, class" situation. Something like iMagic Timetable Master, > >> http://www.imagictimetablesoftware.com/ > >> TIA, > >> Ervin > >> ----- Original Message ----- > >> From: "Reuben Cummings" > >> To: "Access Developers discussion and problem solving" > >> > >> Sent: Monday, November 05, 2007 8:19 PM > >> Subject: Re: [AccessD] Timetable sample needed > >> > >> > >>> What do you mean "timetable application"? What are you trying to > >>> accomplish? > >>> > >>> Reuben Cummings > >>> GFC, LLC > >>> 812.523.1017 > >>> > >>> > >>>> -----Original Message----- > >>>> From: accessd-bounces at databaseadvisors.com > >>>> [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of viner > >>>> Sent: Monday, November 05, 2007 2:13 PM > >>>> To: AccessD at databaseadvisors.com > >>>> Subject: [AccessD] Timetable sample needed > >>>> > >>>> > >>>> Hi, > >>>> I need a sample timetable application for a school, if possible > >>>> written in Access. > >>>> TIA, > >>>> Ervin > >>>> -- > >>>> AccessD mailing list > >>>> AccessD at databaseadvisors.com > >>>> http://databaseadvisors.com/mailman/listinfo/accessd > >>>> Website: http://www.databaseadvisors.com > >>>> > >>> > >>> > >>> > >>> -- > >>> AccessD mailing list > >>> AccessD at databaseadvisors.com > >>> http://databaseadvisors.com/mailman/listinfo/accessd > >>> Website: http://www.databaseadvisors.com > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _________________________________________________________________ > Climb to the top of the charts! Play Star Shuffle: the word scramble challenge with star power. > http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From carbonnb at gmail.com Tue Nov 6 09:01:24 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 6 Nov 2007 10:01:24 -0500 Subject: [AccessD] OT...View Test In-Reply-To: References: <001201c81fe5$4c50ba70$690ef0d5@IPC> Message-ID: On Nov 6, 2007 9:29 AM, Mark A Matte wrote: > > Sorry for the tests... > > ok...changed a view on my email... Much better. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From Gustav at cactus.dk Tue Nov 6 09:06:06 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 06 Nov 2007 16:06:06 +0100 Subject: [AccessD] OT...View Test Message-ID: Hi Matt That made a big change. Thanks! /gustav >>> markamatte at hotmail.com 06-11-2007 15:29 >>> Sorry for the tests... ok...changed a view on my email... > From: reuben at gfconsultants.com > To: accessd at databaseadvisors.com > Date: Tue, 6 Nov 2007 09:00:22 -0500 > Subject: Re: [AccessD] Timetable sample needed > > I don't know of anything, but I've passed this on to my wife, the teacher, > who is heavily involved in software selections in her system. > > Reuben Cummings > GFC, LLC > 812.523.1017 From ssharkins at gmail.com Tue Nov 6 13:51:59 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 6 Nov 2007 14:51:59 -0500 Subject: [AccessD] storing last item on the page Message-ID: <001601c820ae$821c9a10$4b3a8343@SusanOne> I have four unbound text controls -- two in the header and two in the footer -- to display the first and last items on each page. I've got three of them working as follows: I use the control's Control Source property to display the first item in the header and the last item in the footer. I use the following to update the footer's first item. Private Sub PageHeaderSection_Format(Cancel As Integer, FormatCount As Integer) 'Store first item on page for footer. Dim strFirst As String strFirst = Me.txtHeaderFirst Me.txtFooterFirst = strFirst End Sub I tried the following to update the header's last item, but it doesn't work: Private Sub PageFooterSection_Format(Cancel As Integer, FormatCount As Integer) 'Return last item on each page for header. Dim strLast As String strLast = Me.txtFooterLast Me.txtHeaderLast = strLast End Sub The first page displays nothing and all subsequent pages display the last item from the previous page, not the current page. How do I grab the last item on the current page? Susan H. From ssharkins at gmail.com Tue Nov 6 19:29:17 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 6 Nov 2007 20:29:17 -0500 Subject: [AccessD] report control not displaying right value Message-ID: <001601c820dd$a367a8c0$4b3a8343@SusanOne> The following code is a simple solution, I thought, to displaying the last item on a page in the page header section. I've dropped in a few Debug statements to verify that the collection is storing and retrieving the right items, but the control always displays the first item on the page. I'm clueless -- I have no idea what's happening here. Basically, during the first pass (I'm using the report Pages property to force a second formatting run), I'm storing the last item on each page -- the value of txtFooterLast -- in a Collection object. That part works fine. Then, the report retrieves those values using the page number as the index value. The Debug statements verify that the right values are in the collection, however, txtHeaderLast doesn't display the results of col(Me.Page) -- it displays the first value on the page, not the value retrieved from the Collection. I just don't have any explanation. Option Compare Database Option Explicit Dim col As New Collection Private Sub PageFooterSection_Format(Cancel As Integer, FormatCount As Integer) Debug.Print Me.Page Debug.Print col(Me.Page) Me.txtHeaderLast = col(Me.Page) Debug.Print Me.txtHeaderLast.Value End Sub Private Sub PageHeaderSection_Format(Cancel As Integer, FormatCount As Integer) Me.txtFooterFirst = Me.txtHeaderFirst Me.txtHeaderLast = Me.txtFooterLast If Me.Pages = 0 Then col.Add Me.txtFooterLast, CStr(Me.Page) End If End Sub Private Sub Report_Close() Set col = Nothing End Sub From jwcolby at colbyconsulting.com Tue Nov 6 20:51:29 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 6 Nov 2007 21:51:29 -0500 Subject: [AccessD] OT: A great night observing Message-ID: <003a01c820e9$19c48f00$6c7aa8c0@M90> I had good skies tonight and spent about an hour out looking at the north east quadrant of the skies. I went out specifically to see if I could find the comet Holmes. It turned out to be dead easy using Starry Nights. The program loads the location of comets and satellites and so forth so I was able to print out a star chart with the location of Holmes. It took all of about 2 minutes to find it. It is HUGE, although it is now growing so big that it is really just a big ball of gas with a very slightly brighter center area. I dragged my son Robbie and my wife Mary out to see it. Quite cool. Of course it is also quite cold now (about 38 degrees out right now) so Robbie and Mary quickly hurried back in the house. I stayed out to try and hunt down something else interesting. Being totally new to this stuff I have a lot of difficulty finding things, in fact even knowing where I am looking. I was trying to find the owl cluster and from there the little dumbbell nebula M76 but was not able to do so. I THINK I found the Andromeda galaxy M31. However looking at the chart now (inside the house) I notice that there are three M objects m110, m32 and M31 quite close together and I did not notice any other fuzzy in the immediate neighborhood so perhaps I (once again) was not looking where I thought I was. The area I was looking at was close to directly over head, which makes using the finder a pain. Anyway, it was a fun evening. I spent about an hour out there until my ears were starting to get numb and it was time to pack it in. Saturday the "local" astronomy club is supposed to be meeting at a dark site, specific location to be determined. I hope to make it to the gathering. My telescope is an 8" DOB, an Orion Skyquest XT8 and it has a computerized object locator, a "digital setting circle" which, if I could figure out how to do the scope setup and calibration, would then allow me to "push to" just about any object visible at my location. I am hoping to get some instruction on how to do this from club members Saturday night. John W. Colby Colby Consulting www.ColbyConsulting.com From adtp at airtelbroadband.in Wed Nov 7 00:15:41 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Wed, 7 Nov 2007 11:45:41 +0530 Subject: [AccessD] storing last item on the page References: <001601c820ae$821c9a10$4b3a8343@SusanOne> Message-ID: <003301c82105$babcfd40$8c57a27a@personalec1122> Susan, For displaying the first and last items of report's detail section in its page header as well as footer, you have used four unbound text boxes as follows: (a) Page Header section: TxtHeaderFirst and TxtHeaderLast (b) Page Footer section: TxtFooterFirst and TxtFooterLast Assignment of values to TxtHeaderLast, located in page header section involves backward reference and therefore requires pre-building of array based upon first pass of formatting. For ensuring a complete prior cycle of formatting, you have correctly placed a calculated textbox having [Pages] as a component of its expression. Sample code in report's module, as given below, should get you the desired results. Title is the name of control in detail section, whose first & last values are required to be displayed in page header & footer. Best wishes, A.D.Tejpal ------------ Sample code in report's module '================================= ' Declarations section ' Report level global array variable Private ArLastVal() As String '-------------------------------------------------- Private Sub PageFooterSection_Format(Cancel _ As Integer, FormatCount As Integer) Me.TxtFooterLast = Me.Title If Me.Pages = 0 Then ArLastVal([Page]) = Me.Title ReDim Preserve ArLastVal([Page] + 1) End If End Sub '-------------------------------------------------- Private Sub PageHeaderSection_Format(Cancel _ As Integer, FormatCount As Integer) Me.TxtHeaderFirst = Me.Title Me.TxtFooterFirst = Me.Title Me.TxtHeaderLast = ArLastVal([Page]) End Sub '-------------------------------------------------- Private Sub Report_Open(Cancel As Integer) ReDim Preserve ArLastVal(1) End Sub '================================= ----- Original Message ----- From: Susan Harkins To: AccessD at databaseadvisors.com Sent: Wednesday, November 07, 2007 01:21 Subject: [AccessD] storing last item on the page I have four unbound text controls -- two in the header and two in the footer -- to display the first and last items on each page. I've got three of them working as follows: I use the control's Control Source property to display the first item in the header and the last item in the footer. I use the following to update the footer's first item. Private Sub PageHeaderSection_Format(Cancel As Integer, FormatCount As Integer) 'Store first item on page for footer. Dim strFirst As String strFirst = Me.txtHeaderFirst Me.txtFooterFirst = strFirst End Sub I tried the following to update the header's last item, but it doesn't work: Private Sub PageFooterSection_Format(Cancel As Integer, FormatCount As Integer) 'Return last item on each page for header. Dim strLast As String strLast = Me.txtFooterLast Me.txtHeaderLast = strLast End Sub The first page displays nothing and all subsequent pages display the last item from the previous page, not the current page. How do I grab the last item on the current page? Susan H. From Gustav at cactus.dk Wed Nov 7 03:31:19 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 07 Nov 2007 10:31:19 +0100 Subject: [AccessD] report control not displaying right value Message-ID: Hi Susan Have you tried moving this line to the OnPrint event: Me.txtHeaderLast = col(Me.Page) /gustav >>> ssharkins at gmail.com 07-11-2007 02:29 >>> The following code is a simple solution, I thought, to displaying the last item on a page in the page header section. I've dropped in a few Debug statements to verify that the collection is storing and retrieving the right items, but the control always displays the first item on the page. I'm clueless -- I have no idea what's happening here. Basically, during the first pass (I'm using the report Pages property to force a second formatting run), I'm storing the last item on each page -- the value of txtFooterLast -- in a Collection object. That part works fine. Then, the report retrieves those values using the page number as the index value. The Debug statements verify that the right values are in the collection, however, txtHeaderLast doesn't display the results of col(Me.Page) -- it displays the first value on the page, not the value retrieved from the Collection. I just don't have any explanation. Option Compare Database Option Explicit Dim col As New Collection Private Sub PageFooterSection_Format(Cancel As Integer, FormatCount As Integer) Debug.Print Me.Page Debug.Print col(Me.Page) Me.txtHeaderLast = col(Me.Page) Debug.Print Me.txtHeaderLast.Value End Sub Private Sub PageHeaderSection_Format(Cancel As Integer, FormatCount As Integer) Me.txtFooterFirst = Me.txtHeaderFirst Me.txtHeaderLast = Me.txtFooterLast If Me.Pages = 0 Then col.Add Me.txtFooterLast, CStr(Me.Page) End If End Sub Private Sub Report_Close() Set col = Nothing End Sub From ssharkins at gmail.com Wed Nov 7 06:41:10 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 7 Nov 2007 07:41:10 -0500 Subject: [AccessD] report control not displaying right value References: Message-ID: <003d01c8213b$99d1a6e0$4b3a8343@SusanOne> I've put it everywhere, but I'll try again, just in case! ;) Susan H. > Hi Susan > > Have you tried moving this line to the OnPrint event: > > Me.txtHeaderLast = col(Me.Page) > > /gustav > >>>> ssharkins at gmail.com 07-11-2007 02:29 >>> > The following code is a simple solution, I thought, to displaying the last > item on a page in the page header section. I've dropped in a few Debug > statements to verify that the collection is storing and retrieving the > right > items, but the control always displays the first item on the page. I'm > clueless -- I have no idea what's happening here. > > Basically, during the first pass (I'm using the report Pages property to > force a second formatting run), I'm storing the last item on each page -- > the value of txtFooterLast -- in a Collection object. That part works > fine. > Then, the report retrieves those values using the page number as the index > value. The Debug statements verify that the right values are in the > collection, however, txtHeaderLast doesn't display the results of > col(Me.Page) -- it displays the first value on the page, not the value > retrieved from the Collection. I just don't have any explanation. > > Option Compare Database > Option Explicit > Dim col As New Collection > > > Private Sub PageFooterSection_Format(Cancel As Integer, FormatCount As > Integer) > Debug.Print Me.Page > Debug.Print col(Me.Page) > Me.txtHeaderLast = col(Me.Page) > Debug.Print Me.txtHeaderLast.Value > End Sub > > Private Sub PageHeaderSection_Format(Cancel As Integer, FormatCount As > Integer) > Me.txtFooterFirst = Me.txtHeaderFirst > Me.txtHeaderLast = Me.txtFooterLast > If Me.Pages = 0 Then > col.Add Me.txtFooterLast, CStr(Me.Page) > End If > End Sub > > Private Sub Report_Close() > Set col = Nothing > End Sub > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From ssharkins at gmail.com Wed Nov 7 06:41:59 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 7 Nov 2007 07:41:59 -0500 Subject: [AccessD] storing last item on the page References: <001601c820ae$821c9a10$4b3a8343@SusanOne> <003301c82105$babcfd40$8c57a27a@personalec1122> Message-ID: <003f01c8213b$9abb4390$4b3a8343@SusanOne> I'm not convinced an array is necessary -- I've seen that solution. Have you seen the collection solution I tried and posted late last night? Susan H. > Susan, > > For displaying the first and last items of report's detail section in > its page header as well as footer, you have used four unbound text boxes > as follows: > > (a) Page Header section: TxtHeaderFirst and TxtHeaderLast > (b) Page Footer section: TxtFooterFirst and TxtFooterLast > > Assignment of values to TxtHeaderLast, located in page header section > involves backward reference and therefore requires pre-building of array > based upon first pass of formatting. For ensuring a complete prior cycle > of formatting, you have correctly placed a calculated textbox having > [Pages] as a component of its expression. > > Sample code in report's module, as given below, should get you the > desired results. Title is the name of control in detail section, whose > first & last values are required to be displayed in page header & footer. > > Best wishes, > A.D.Tejpal > ------------ > > Sample code in report's module > '================================= > ' Declarations section > ' Report level global array variable > Private ArLastVal() As String > '-------------------------------------------------- > > Private Sub PageFooterSection_Format(Cancel _ > As Integer, FormatCount As Integer) > Me.TxtFooterLast = Me.Title > > If Me.Pages = 0 Then > ArLastVal([Page]) = Me.Title > ReDim Preserve ArLastVal([Page] + 1) > End If > End Sub > '-------------------------------------------------- > > Private Sub PageHeaderSection_Format(Cancel _ > As Integer, FormatCount As Integer) > Me.TxtHeaderFirst = Me.Title > Me.TxtFooterFirst = Me.Title > Me.TxtHeaderLast = ArLastVal([Page]) > End Sub > '-------------------------------------------------- > > Private Sub Report_Open(Cancel As Integer) > ReDim Preserve ArLastVal(1) > End Sub > '================================= > > ----- Original Message ----- > From: Susan Harkins > To: AccessD at databaseadvisors.com > Sent: Wednesday, November 07, 2007 01:21 > Subject: [AccessD] storing last item on the page > > > I have four unbound text controls -- two in the header and two in the > footer -- to display the first and last items on each page. > > I've got three of them working as follows: > > I use the control's Control Source property to display the first item in > the > header and the last item in the footer. I use the following to update the > footer's first item. > > Private Sub PageHeaderSection_Format(Cancel As Integer, FormatCount As > Integer) > 'Store first item on page for footer. > Dim strFirst As String > strFirst = Me.txtHeaderFirst > Me.txtFooterFirst = strFirst > End Sub > > I tried the following to update the header's last item, but it doesn't > work: > > Private Sub PageFooterSection_Format(Cancel As Integer, FormatCount As > Integer) > 'Return last item on each page for header. > Dim strLast As String > strLast = Me.txtFooterLast > Me.txtHeaderLast = strLast > End Sub > > The first page displays nothing and all subsequent pages display the last > item from the previous page, not the current page. > > How do I grab the last item on the current page? > > Susan H. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Nov 7 09:22:12 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 7 Nov 2007 10:22:12 -0500 Subject: [AccessD] Office 2007 Message-ID: <004701c82151$f8d86d20$6c7aa8c0@M90> I got my action pack the other day and now want to install Office 2007, just for testing, but I do want to install Office Accounting 2007 (and actually try to use it) and am wondering if anyone is shouting "don't go there". My intention is to leave Office 2003 installed for development. Does anyone have experience that would tell me not to do this? John W. Colby Colby Consulting www.ColbyConsulting.com From cfoust at infostatsystems.com Wed Nov 7 10:00:56 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 7 Nov 2007 08:00:56 -0800 Subject: [AccessD] Office 2007 In-Reply-To: <004701c82151$f8d86d20$6c7aa8c0@M90> References: <004701c82151$f8d86d20$6c7aa8c0@M90> Message-ID: DON'T DO THAT!! Is that loud enough? I installed 2007 on my laptop and came to regret it. Office 2003 and Office 2007 installers do NOT like each other, and the Office 2007 installer takes about 5 minutes to run when you've opened 2003 last. The 2003 installer does the same thing if you opened 2007 last, but at least it doesn't take so long. Outlook 2007 is OK and the least like the rest of Office 2007 insofar as menus, etc. If you want to install it, do it on a virtual PC, which I didn't do from lack of warning. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, November 07, 2007 7:22 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Office 2007 I got my action pack the other day and now want to install Office 2007, just for testing, but I do want to install Office Accounting 2007 (and actually try to use it) and am wondering if anyone is shouting "don't go there". My intention is to leave Office 2003 installed for development. Does anyone have experience that would tell me not to do this? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Wed Nov 7 10:01:21 2007 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 7 Nov 2007 10:01:21 -0600 Subject: [AccessD] Office 2007 In-Reply-To: <004701c82151$f8d86d20$6c7aa8c0@M90> References: <004701c82151$f8d86d20$6c7aa8c0@M90> Message-ID: Yes. Put it on a different system would be my recommendation. They don't play well together. Outlook will definately not work in multiple versions on the same system. The other Office 2007 apps will cause a "install" step every time you try to open something in the 2003 version. If you have another system to play with the Office 2007 stuff on I would load them there instead of on your primary system. GK On 11/7/07, jwcolby wrote: > I got my action pack the other day and now want to install Office 2007, just > for testing, but I do want to install Office Accounting 2007 (and actually > try to use it) and am wondering if anyone is shouting "don't go there". My > intention is to leave Office 2003 installed for development. Does anyone > have experience that would tell me not to do this? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From mmattys at rochester.rr.com Wed Nov 7 10:19:28 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Wed, 7 Nov 2007 11:19:28 -0500 Subject: [AccessD] Office 2007 References: <004701c82151$f8d86d20$6c7aa8c0@M90> Message-ID: <003801c82159$f9e7e7b0$0202a8c0@Laptop> Yep. Every time I try to instantiate a new database in code, it says "Can't create object" because of the installer. My COM addins won't work the first time! Arrgh!!! Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 07, 2007 11:00 AM Subject: Re: [AccessD] Office 2007 > DON'T DO THAT!! Is that loud enough? I installed 2007 on my laptop and > came to regret it. Office 2003 and Office 2007 installers do NOT like > each other, and the Office 2007 installer takes about 5 minutes to run > when you've opened 2003 last. The 2003 installer does the same thing if > you opened 2007 last, but at least it doesn't take so long. Outlook > 2007 is OK and the least like the rest of Office 2007 insofar as menus, > etc. If you want to install it, do it on a virtual PC, which I didn't > do from lack of warning. > > Charlotte Foust From jwcolby at colbyconsulting.com Wed Nov 7 10:23:43 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 7 Nov 2007 11:23:43 -0500 Subject: [AccessD] Office 2007 In-Reply-To: References: <004701c82151$f8d86d20$6c7aa8c0@M90> Message-ID: <004801c8215a$90f94e50$6c7aa8c0@M90> Thanks Gary and Charlotte, Two votes against is enough for me. I do have a server I can throw it on and will do that. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Wednesday, November 07, 2007 11:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Office 2007 Yes. Put it on a different system would be my recommendation. They don't play well together. Outlook will definately not work in multiple versions on the same system. The other Office 2007 apps will cause a "install" step every time you try to open something in the 2003 version. If you have another system to play with the Office 2007 stuff on I would load them there instead of on your primary system. GK On 11/7/07, jwcolby wrote: > I got my action pack the other day and now want to install Office > 2007, just for testing, but I do want to install Office Accounting > 2007 (and actually try to use it) and am wondering if anyone is > shouting "don't go there". My intention is to leave Office 2003 > installed for development. Does anyone have experience that would tell me not to do this? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BarbaraRyan at cox.net Wed Nov 7 11:50:13 2007 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Wed, 7 Nov 2007 12:50:13 -0500 Subject: [AccessD] Crosstab Report Message-ID: <044e01c82166$a64ec4e0$0a00a8c0@PCRURI35> I have created a crosstab report which contains 14 columns of data. If the underlying crosstab query yields more than 14 columns, I want to add a new page to display the remaining columns. The data on the report is populated via code using a recordset based on the crosstab query. I am currently reading through the recordset and populating 14 columns of data, then doing a page break, an "rs.Movefirst", then reading thru the recordset extracting data beginning in the 15th column. However, the Detail Format and Print events do not fire. What am I missing? Thanks, Barb Ryan From markamatte at hotmail.com Wed Nov 7 13:43:44 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 7 Nov 2007 19:43:44 +0000 Subject: [AccessD] Crosstab Report In-Reply-To: <044e01c82166$a64ec4e0$0a00a8c0@PCRURI35> References: <044e01c82166$a64ec4e0$0a00a8c0@PCRURI35> Message-ID: Hi Barb, It sounds like your 15th column is the same record as your first 14...can you put a page break in the middle of a record? Could you move your 15th(or more) columns off the page to the right...forcing a new page when printed or viewed? Thanks, Mark A. Matte > From: BarbaraRyan at cox.net > To: AccessD at databaseadvisors.com > Date: Wed, 7 Nov 2007 12:50:13 -0500 > Subject: [AccessD] Crosstab Report > > I have created a crosstab report which contains 14 columns of data. If the underlying crosstab query yields more than 14 columns, I want to add a new page to display the remaining columns. The data on the report is populated via code using a recordset based on the crosstab query. > > I am currently reading through the recordset and populating 14 columns of data, then doing a page break, an "rs.Movefirst", then reading thru the recordset extracting data beginning in the 15th column. However, the Detail Format and Print events do not fire. > > What am I missing? > > Thanks, > Barb Ryan > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Boo!?Scare away worms, viruses and so much more! Try Windows Live OneCare! http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews From Chester_Kaup at kindermorgan.com Wed Nov 7 14:32:20 2007 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 7 Nov 2007 14:32:20 -0600 Subject: [AccessD] How to update form source? Message-ID: I have a form on which the user clicks a button to see 90 days worth of data from a source table. When the button is clicked a query runs that puts 90 days worth of data in a table. Another form then opens and displays this data. On the top of the form are two text boxes. One text box contains the start date of the data and the other the end date of the data. These boxes can be edited allowing the user to see some time interval of data other than 90 days. When the date is changed in the text box code attempts to run a query to update the table the displayed data is based on. The query will not run though because the table is open. I could use some ideas on how to do this. 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 fuller.artful at gmail.com Wed Nov 7 15:02:02 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 7 Nov 2007 16:02:02 -0500 Subject: [AccessD] How to update form source? In-Reply-To: References: Message-ID: <29f585dd0711071302w209588acu7f7c838e32004fdd@mail.gmail.com> Instead of running a query to update the table, change the recordsource of the form and/or its filterBy. I have used this approach several times and it works very well. A. On 11/7/07, Kaup, Chester wrote: > > I have a form on which the user clicks a button to see 90 days worth of > data from a source table. When the button is clicked a query runs that > puts 90 days worth of data in a table. Another form then opens and > displays this data. On the top of the form are two text boxes. One text > box contains the start date of the data and the other the end date of > the data. These boxes can be edited allowing the user to see some time > interval of data other than 90 days. When the date is changed in the > text box code attempts to run a query to update the table the displayed > data is based on. The query will not run though because the table is > open. I could use some ideas on how to do this. 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 Lambert.Heenan at AIG.com Wed Nov 7 15:03:05 2007 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 7 Nov 2007 16:03:05 -0500 Subject: [AccessD] How to update form source? Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED730F@XLIVMBX35bkup.aig.com> Chester, Instead of copying the data from the source table to another table, just use the source table itself and apply a filter to the form so only the selected time period is displayed. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, November 07, 2007 3:32 PM To: Access Developers discussion and problem solving Subject: [AccessD] How to update form source? I have a form on which the user clicks a button to see 90 days worth of data from a source table. When the button is clicked a query runs that puts 90 days worth of data in a table. Another form then opens and displays this data. On the top of the form are two text boxes. One text box contains the start date of the data and the other the end date of the data. These boxes can be edited allowing the user to see some time interval of data other than 90 days. When the date is changed in the text box code attempts to run a query to update the table the displayed data is based on. The query will not run though because the table is open. I could use some ideas on how to do this. 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 jengross at gte.net Wed Nov 7 15:38:51 2007 From: jengross at gte.net (Jennifer Gross) Date: Wed, 07 Nov 2007 13:38:51 -0800 Subject: [AccessD] Packagers/Installers In-Reply-To: <000601c81ee5$0dd472b0$0301a8c0@HAL9005> Message-ID: <002101c82186$9bbbf5a0$6501a8c0@jefferson> Hi Rocky, I have used the Wise/SageKey combination since Access 97. I have always been more than happy with this combination. I would be interested to find out if you find a reason to switch. Jennifer -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, November 04, 2007 5:18 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Packagers/Installers Dear List: I use the Wise/Sagekey combination to package a couple of commercial applications. Always found it to be top notch. Does anyone have experience with other packagers, good or bad, particularly Windows Installer? Thanks in advance Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Wed Nov 7 16:42:10 2007 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 7 Nov 2007 16:42:10 -0600 Subject: [AccessD] How to update form source? In-Reply-To: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED730F@XLIVMBX35bkup.aig.com> References: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED730F@XLIVMBX35bkup.aig.com> Message-ID: This is my experience using the filter property in code. It works great. Thanks. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Wednesday, November 07, 2007 3:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] How to update form source? Chester, Instead of copying the data from the source table to another table, just use the source table itself and apply a filter to the form so only the selected time period is displayed. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, November 07, 2007 3:32 PM To: Access Developers discussion and problem solving Subject: [AccessD] How to update form source? I have a form on which the user clicks a button to see 90 days worth of data from a source table. When the button is clicked a query runs that puts 90 days worth of data in a table. Another form then opens and displays this data. On the top of the form are two text boxes. One text box contains the start date of the data and the other the end date of the data. These boxes can be edited allowing the user to see some time interval of data other than 90 days. When the date is changed in the text box code attempts to run a query to update the table the displayed data is based on. The query will not run though because the table is open. I could use some ideas on how to do this. 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 adtp at airtelbroadband.in Wed Nov 7 23:12:09 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Thu, 8 Nov 2007 10:42:09 +0530 Subject: [AccessD] Crosstab Report References: <044e01c82166$a64ec4e0$0a00a8c0@PCRURI35> Message-ID: <013e01c821c6$126306a0$0100007f@personalec1122> Barb, You can try the following: 1 - Place adequate number of extra unbound text boxes so as to cover maximum likely columns over and above 14. These text boxes should normally be in a hidden state and can all be overlapping, located at left edge of the report. 2 - Depending upon the actual number of extra columns (beyond 14) in the record source, unhide the required number of text boxes, assign appropriate control source and move these to suitable positions at right of report, by manipulating the Left & Top properties. Starting reference would be Left value for last text box (representing 14th column) + Width of this text box + suitable margin (in twips). With above measures, the report will generate extra pages as required on account of additional columns. Best wishes, A.D.Tejpal ------------ ----- Original Message ----- From: Barbara Ryan To: Access List Sent: Wednesday, November 07, 2007 23:20 Subject: [AccessD] Crosstab Report I have created a crosstab report which contains 14 columns of data. If the underlying crosstab query yields more than 14 columns, I want to add a new page to display the remaining columns. The data on the report is populated via code using a recordset based on the crosstab query. I am currently reading through the recordset and populating 14 columns of data, then doing a page break, an "rs.Movefirst", then reading thru the recordset extracting data beginning in the 15th column. However, the Detail Format and Print events do not fire. What am I missing? Thanks, Barb Ryan From Gustav at cactus.dk Thu Nov 8 05:09:47 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 08 Nov 2007 12:09:47 +0100 Subject: [AccessD] Dot Net, where to start? Videos Message-ID: Hi all For those of still wondering if or how to start with Visual Studio, please note that a whole series of videos are readily available. Visual Basic (quite close to VBA): http://msdn2.microsoft.com/en-us/vbasic/bb466226.aspx C# (recommended by several including me): http://msdn2.microsoft.com/en-us/vcsharp/bb798022.aspx and many others subjects - including SQL Server - as well, see the right sidebar. These videos are so short that you can keep your concentration up and turn any 15 minutes of spare time you may encounter into something useful! /gustav From jwcolby at colbyconsulting.com Thu Nov 8 05:24:44 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 8 Nov 2007 06:24:44 -0500 Subject: [AccessD] Dot Net, where to start? Videos In-Reply-To: References: Message-ID: <000901c821f9$f7377800$6c7aa8c0@M90> Gustav, Thanks for those pointers. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, November 08, 2007 6:10 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? Videos Hi all For those of still wondering if or how to start with Visual Studio, please note that a whole series of videos are readily available. Visual Basic (quite close to VBA): http://msdn2.microsoft.com/en-us/vbasic/bb466226.aspx C# (recommended by several including me): http://msdn2.microsoft.com/en-us/vcsharp/bb798022.aspx and many others subjects - including SQL Server - as well, see the right sidebar. These videos are so short that you can keep your concentration up and turn any 15 minutes of spare time you may encounter into something useful! /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Thu Nov 8 08:53:57 2007 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 8 Nov 2007 08:53:57 -0600 Subject: [AccessD] Svar: highest value of 4 variables - urgent In-Reply-To: References: Message-ID: That was weird. Is the cat's name d?j? vu? Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, November 04, 2007 4:56 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Svar: highest value of 4 variables - urgent Sorry for the empty posts, the cat stepped on the Enter key ... /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Gustav at cactus.dk Thu Nov 8 09:09:34 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 08 Nov 2007 16:09:34 +0100 Subject: [AccessD] Svar: highest value of 4 variables - urgent Message-ID: Hi Jim No, "it" is normally called (blush) Gustav ... /gustav >>> Jim.Hale at fleetpride.com 08-11-2007 15:53:57 >>> That was weird. Is the cat's name d?j? vu? Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, November 04, 2007 4:56 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Svar: highest value of 4 variables - urgent Sorry for the empty posts, the cat stepped on the Enter key ... /gustav From max.wanadoo at gmail.com Thu Nov 8 09:24:35 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Thu, 8 Nov 2007 15:24:35 -0000 Subject: [AccessD] Svar: highest value of 4 variables - urgent In-Reply-To: Message-ID: <01bc01c8221b$790b6370$8119fea9@LTVM> Now, that is weird 'cos my dog is called.....wait for it....Max Max Mine looks like me....Does yours look like you? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, November 08, 2007 3:10 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Svar: highest value of 4 variables - urgent Hi Jim No, "it" is normally called (blush) Gustav ... /gustav >>> Jim.Hale at fleetpride.com 08-11-2007 15:53:57 >>> That was weird. Is the cat's name d?j? vu? Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, November 04, 2007 4:56 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Svar: highest value of 4 variables - urgent Sorry for the empty posts, the cat stepped on the Enter key ... /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Thu Nov 8 09:37:46 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 08 Nov 2007 16:37:46 +0100 Subject: [AccessD] Svar: highest value of 4 variables - urgent Message-ID: Hi Max Some say yes, I'm not sure, but the miauw sounds the same! /gustav >>> max.wanadoo at gmail.com 08-11-2007 16:24:35 >>> Now, that is weird 'cos my dog is called.....wait for it....Max Max Mine looks like me....Does yours look like you? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, November 08, 2007 3:10 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Svar: highest value of 4 variables - urgent Hi Jim No, "it" is normally called (blush) Gustav ... /gustav >>> Jim.Hale at fleetpride.com 08-11-2007 15:53:57 >>> That was weird. Is the cat's name d?j? vu? Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, November 04, 2007 4:56 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Svar: highest value of 4 variables - urgent Sorry for the empty posts, the cat stepped on the Enter key ... /gustav From miscellany at mvps.org Thu Nov 8 14:50:25 2007 From: miscellany at mvps.org (Steve Schapel) Date: Fri, 09 Nov 2007 09:50:25 +1300 Subject: [AccessD] Dot Net, where to start? Videos In-Reply-To: References: Message-ID: <47337691.6040904@mvps.org> Yep, 15 minutes is about my maximum concentration span too. :-) Thanks a lot, Gustav, they look like a very good resource. Regards Steve Gustav Brock wrote: > Hi all > > For those of still wondering if or how to start with Visual Studio, please note that a whole series of videos are readily available. > > Visual Basic (quite close to VBA): > http://msdn2.microsoft.com/en-us/vbasic/bb466226.aspx > > C# (recommended by several including me): > http://msdn2.microsoft.com/en-us/vcsharp/bb798022.aspx > > and many others subjects - including SQL Server - as well, see the right sidebar. > > These videos are so short that you can keep your concentration up and turn any 15 minutes of spare time you may encounter into something useful! > > /gustav > > From Mwp.Reid at qub.ac.uk Thu Nov 8 14:56:30 2007 From: Mwp.Reid at qub.ac.uk (Martin W Reid) Date: Thu, 8 Nov 2007 20:56:30 +0000 Subject: [AccessD] Dot Net, where to start? Videos In-Reply-To: <47337691.6040904@mvps.org> References: ,<47337691.6040904@mvps.org> Message-ID: Been on a .NET Sharepoint course all week. Feels like my head is melting!! Martin Martin WP Reid Information Services Queen's University Riddel Hall 185 Stranmillis Road Belfast BT9 5EE Tel : 02890974465 Email : mwp.reid at qub.ac.uk ________________________________________ From: accessd-bounces at databaseadvisors.com [accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel [miscellany at mvps.org] Sent: 08 November 2007 20:50 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? Videos Yep, 15 minutes is about my maximum concentration span too. :-) Thanks a lot, Gustav, they look like a very good resource. Regards Steve Gustav Brock wrote: > Hi all > > For those of still wondering if or how to start with Visual Studio, please note that a whole series of videos are readily available. > > Visual Basic (quite close to VBA): > http://msdn2.microsoft.com/en-us/vbasic/bb466226.aspx > > C# (recommended by several including me): > http://msdn2.microsoft.com/en-us/vcsharp/bb798022.aspx > > and many others subjects - including SQL Server - as well, see the right sidebar. > > These videos are so short that you can keep your concentration up and turn any 15 minutes of spare time you may encounter into something useful! > > /gustav > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Nov 8 16:32:14 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 8 Nov 2007 14:32:14 -0800 Subject: [AccessD] JIT Forms Message-ID: <00a901c82257$3656b390$0301a8c0@HAL9005> JC: I have a form with about 16 tabs, a bunch of combo boxes, and a bunch of sub-forms. It will not surprise you to learn that it is taking an unacceptably long time to open - 60 seconds on a smallish database over a wireless connection to my laptop (trying to simulate a slow server). I remember something about a form like this that you had and, I believe, loading the combo boxes and sub forms only when a tab got the focus? The combo boxes are bound so I can't wait to put in the row source until they're clicked. But I could load the row source when the tab was activated - store the row source in the tag and load it if it's not there. But there's no activate or got focus event for a tab. There is a mouse move event but I'm not sure that will do to trigger loading of the Row Source and the sub-forms. How did you solve the problem? Regards, Rocky From jwcolby at colbyconsulting.com Thu Nov 8 17:14:27 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 8 Nov 2007 18:14:27 -0500 Subject: [AccessD] JIT Forms In-Reply-To: <00a901c82257$3656b390$0301a8c0@HAL9005> References: <00a901c82257$3656b390$0301a8c0@HAL9005> Message-ID: <000401c8225d$23c64b40$6c7aa8c0@M90> I am running out the door but I will discuss JIT subforms when I get home from dinner / theater. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 08, 2007 5:32 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] JIT Forms JC: I have a form with about 16 tabs, a bunch of combo boxes, and a bunch of sub-forms. It will not surprise you to learn that it is taking an unacceptably long time to open - 60 seconds on a smallish database over a wireless connection to my laptop (trying to simulate a slow server). I remember something about a form like this that you had and, I believe, loading the combo boxes and sub forms only when a tab got the focus? The combo boxes are bound so I can't wait to put in the row source until they're clicked. But I could load the row source when the tab was activated - store the row source in the tag and load it if it's not there. But there's no activate or got focus event for a tab. There is a mouse move event but I'm not sure that will do to trigger loading of the Row Source and the sub-forms. How did you solve the problem? Regards, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darren at activebilling.com.au Thu Nov 8 17:37:12 2007 From: darren at activebilling.com.au (Darren D) Date: Fri, 9 Nov 2007 10:37:12 +1100 Subject: [AccessD] JIT Forms In-Reply-To: <00a901c82257$3656b390$0301a8c0@HAL9005> Message-ID: <200711082337.lA8Nb536031641@databaseadvisors.com> Hi Rocky Not so sure about JC's cool JIT logic But there is an OnChange event for Tabs - Way cool very powerful and easy to manipulate See below for some Code snips below I am using for a 10 Tab Form Now it is a snip so some of it may not work correctly etc ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Private Sub tabMain_Change() On Err GoTo Err_tabMain_Change Dim intClientID As Integer intClientID = Me.tabMain Dim tbc As Control Dim pg As Page Dim ctl As Control Dim db As DAO.Database Dim selSQL As String Dim rs As DAO.Recordset Set tbc = Me!tabMain Set pg = tbc.Pages(tbc.Value) 'Current page Set db = CurrentDb selSQL = "SELECT tblClients.ClientID, tblClients.ClientName, tblClients.DatabaseName, tblClients.ClientAbbrev, tblClients.IsCurrent, tblClients.IsNowDeleted FROM tblClients WHERE (((tblClients.IsCurrent)=-1) AND ((tblClients.IsNowDeleted) Is Null Or (tblClients.IsNowDeleted)=0));" Set rs = db.OpenRecordset(selSQL) 'reset things to true or false if true may exist for more thant 1 tab If pg.Name = "pgOptions" Then ' Option Page - Don't show everything for the clients - Show the setup options only Forms!xfrmBeast!subfrmOptions.SourceObject = "sub_frmBeastOptions" Forms!xfrmBeast!subfrmLocalOptions.SourceObject = "sub_frmLocalOptions" Me.subfrmMain.Visible = False Me.tabOptions.Visible = True Me.subfrmNotes.Visible = False Me.subfrmContacts.Visible = False Me.tabSupport.Visible = False 'Determine what controls get seen or used For Each ctl In Me.Controls If ctl.Tag <> "" Then ctl.Enabled = False End If Next ElseIf Me("pg" & Me.tabMain).Caption = "Active" Then ElseIf Me("pg" & Me.tabMain).Caption = "SomeText" Then Me.cmdBFM.Enabled = False Else For Each ctl In Me.Controls If ctl.Tag <> "" Then ctl.Enabled = True End If Next Me.tabOptions.Visible = False End If Me.subfrmMain.Requery Me.subfrmNotes.Requery Me.subfrmContacts.Requery Me.txtClientID = Forms!xfrmBeast.tabMain txtInvoiceSearch = "" txtAccountNo = "" If intClientID = 0 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "General Contacts" Me.subfrmNotes.Form.lblAdviceNotes.Caption = "General Notes" Me.lblMain.Caption = "Options and Settings" txtInvoiceSearch.Enabled = False txtAccountNo.Enabled = False ElseIf intClientID = 1 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Active Contacts" Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Active Info" Me.lblMain.Caption = "Details about...us" txtInvoiceSearch.Enabled = False txtAccountNo.Enabled = False ElseIf intClientID = 2 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Contacts for Client: " & Me("pg" & intClientID).Caption Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Notes For Client: " & Me("pg" & intClientID).Caption Me.lblMain.Caption = "Bureau Details for: " & Me("pg" & intClientID).Caption txtInvoiceSearch.Enabled = True txtAccountNo.Enabled = True ElseIf intClientID > 1 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Contacts for Client: " & Me("pg" & intClientID).Caption Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Notes For Client: " & Me("pg" & intClientID).Caption Me.lblMain.Caption = "Bureau Details for: " & Me("pg" & intClientID).Caption txtInvoiceSearch.Enabled = True txtAccountNo.Enabled = True End If rs.Close db.Close Set rs = Nothing Set db = Nothing Exit_tabMain_Change: Exit Sub Err_tabMain_Change: MsgBox Err.Number & " " & Err.Description, vbCritical, "Error in tbMain Change" Resume Exit_tabMain_Change End Sub Many thanks Have a great day Darren ----------------- T: 1300 301 731 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, 9 November 2007 9:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] JIT Forms JC: I have a form with about 16 tabs, a bunch of combo boxes, and a bunch of sub-forms. It will not surprise you to learn that it is taking an unacceptably long time to open - 60 seconds on a smallish database over a wireless connection to my laptop (trying to simulate a slow server). I remember something about a form like this that you had and, I believe, loading the combo boxes and sub forms only when a tab got the focus? The combo boxes are bound so I can't wait to put in the row source until they're clicked. But I could load the row source when the tab was activated - store the row source in the tag and load it if it's not there. But there's no activate or got focus event for a tab. There is a mouse move event but I'm not sure that will do to trigger loading of the Row Source and the sub-forms. How did you solve the problem? Regards, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Thu Nov 8 18:03:46 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 8 Nov 2007 19:03:46 -0500 Subject: [AccessD] JIT Forms References: <00a901c82257$3656b390$0301a8c0@HAL9005> Message-ID: <000801c82264$00674120$ef706c4c@jisshowsbs.local> Rocky ...JC's JIT code was the first thing I bought when I was starting out in Access ...he was still living in Pueblo, Mexico back then ...we had many an AccessD discussion about which was the best way to do this ...anyway, he used to keep a copy on his website (which is stll a disaster area) but I can't find it now ...so I zipped a code library copy I have of his code, an A2k3 version, and sent it to you offline. William ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Thursday, November 08, 2007 5:32 PM Subject: [AccessD] JIT Forms > JC: > > I have a form with about 16 tabs, a bunch of combo boxes, and a bunch of > sub-forms. It will not surprise you to learn that it is taking an > unacceptably long time to open - 60 seconds on a smallish database over a > wireless connection to my laptop (trying to simulate a slow server). > > I remember something about a form like this that you had and, I believe, > loading the combo boxes and sub forms only when a tab got the focus? The > combo boxes are bound so I can't wait to put in the row source until > they're > clicked. But I could load the row source when the tab was activated - > store > the row source in the tag and load it if it's not there. But there's no > activate or got focus event for a tab. There is a mouse move event but > I'm > not sure that will do to trigger loading of the Row Source and the > sub-forms. > > How did you solve the problem? > > Regards, > > 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 Nov 8 19:19:00 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 8 Nov 2007 17:19:00 -0800 Subject: [AccessD] JIT Forms In-Reply-To: <200711082337.lA8Nb536031641@databaseadvisors.com> References: <00a901c82257$3656b390$0301a8c0@HAL9005> <200711082337.lA8Nb536031641@databaseadvisors.com> Message-ID: <00c901c8226e$82232f30$0301a8c0@HAL9005> Aha. That's what I was looking for. Change event. Too bad there isn't a GotFocus or Activate event for each page. But this will work. I can do a Select Case on the page and load the controls for that page in the case for each tab. That will work! Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren D Sent: Thursday, November 08, 2007 3:37 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Hi Rocky Not so sure about JC's cool JIT logic But there is an OnChange event for Tabs - Way cool very powerful and easy to manipulate See below for some Code snips below I am using for a 10 Tab Form Now it is a snip so some of it may not work correctly etc ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Private Sub tabMain_Change() On Err GoTo Err_tabMain_Change Dim intClientID As Integer intClientID = Me.tabMain Dim tbc As Control Dim pg As Page Dim ctl As Control Dim db As DAO.Database Dim selSQL As String Dim rs As DAO.Recordset Set tbc = Me!tabMain Set pg = tbc.Pages(tbc.Value) 'Current page Set db = CurrentDb selSQL = "SELECT tblClients.ClientID, tblClients.ClientName, tblClients.DatabaseName, tblClients.ClientAbbrev, tblClients.IsCurrent, tblClients.IsNowDeleted FROM tblClients WHERE (((tblClients.IsCurrent)=-1) AND ((tblClients.IsNowDeleted) Is Null Or (tblClients.IsNowDeleted)=0));" Set rs = db.OpenRecordset(selSQL) 'reset things to true or false if true may exist for more thant 1 tab If pg.Name = "pgOptions" Then ' Option Page - Don't show everything for the clients - Show the setup options only Forms!xfrmBeast!subfrmOptions.SourceObject = "sub_frmBeastOptions" Forms!xfrmBeast!subfrmLocalOptions.SourceObject = "sub_frmLocalOptions" Me.subfrmMain.Visible = False Me.tabOptions.Visible = True Me.subfrmNotes.Visible = False Me.subfrmContacts.Visible = False Me.tabSupport.Visible = False 'Determine what controls get seen or used For Each ctl In Me.Controls If ctl.Tag <> "" Then ctl.Enabled = False End If Next ElseIf Me("pg" & Me.tabMain).Caption = "Active" Then ElseIf Me("pg" & Me.tabMain).Caption = "SomeText" Then Me.cmdBFM.Enabled = False Else For Each ctl In Me.Controls If ctl.Tag <> "" Then ctl.Enabled = True End If Next Me.tabOptions.Visible = False End If Me.subfrmMain.Requery Me.subfrmNotes.Requery Me.subfrmContacts.Requery Me.txtClientID = Forms!xfrmBeast.tabMain txtInvoiceSearch = "" txtAccountNo = "" If intClientID = 0 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "General Contacts" Me.subfrmNotes.Form.lblAdviceNotes.Caption = "General Notes" Me.lblMain.Caption = "Options and Settings" txtInvoiceSearch.Enabled = False txtAccountNo.Enabled = False ElseIf intClientID = 1 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Active Contacts" Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Active Info" Me.lblMain.Caption = "Details about...us" txtInvoiceSearch.Enabled = False txtAccountNo.Enabled = False ElseIf intClientID = 2 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Contacts for Client: " & Me("pg" & intClientID).Caption Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Notes For Client: " & Me("pg" & intClientID).Caption Me.lblMain.Caption = "Bureau Details for: " & Me("pg" & intClientID).Caption txtInvoiceSearch.Enabled = True txtAccountNo.Enabled = True ElseIf intClientID > 1 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Contacts for Client: " & Me("pg" & intClientID).Caption Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Notes For Client: " & Me("pg" & intClientID).Caption Me.lblMain.Caption = "Bureau Details for: " & Me("pg" & intClientID).Caption txtInvoiceSearch.Enabled = True txtAccountNo.Enabled = True End If rs.Close db.Close Set rs = Nothing Set db = Nothing Exit_tabMain_Change: Exit Sub Err_tabMain_Change: MsgBox Err.Number & " " & Err.Description, vbCritical, "Error in tbMain Change" Resume Exit_tabMain_Change End Sub Many thanks Have a great day Darren ----------------- T: 1300 301 731 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, 9 November 2007 9:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] JIT Forms JC: I have a form with about 16 tabs, a bunch of combo boxes, and a bunch of sub-forms. It will not surprise you to learn that it is taking an unacceptably long time to open - 60 seconds on a smallish database over a wireless connection to my laptop (trying to simulate a slow server). I remember something about a form like this that you had and, I believe, loading the combo boxes and sub forms only when a tab got the focus? The combo boxes are bound so I can't wait to put in the row source until they're clicked. But I could load the row source when the tab was activated - store the row source in the tag and load it if it's not there. But there's no activate or got focus event for a tab. There is a mouse move event but I'm not sure that will do to trigger loading of the Row Source and the sub-forms. How did you solve the problem? Regards, 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.24/1117 - Release Date: 11/7/2007 10:52 PM From jwcolby at colbyconsulting.com Thu Nov 8 21:35:48 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 8 Nov 2007 22:35:48 -0500 Subject: [AccessD] JIT Forms In-Reply-To: <00c901c8226e$82232f30$0301a8c0@HAL9005> References: <00a901c82257$3656b390$0301a8c0@HAL9005><200711082337.lA8Nb536031641@databaseadvisors.com> <00c901c8226e$82232f30$0301a8c0@HAL9005> Message-ID: <000801c82281$9f58ed70$6c7aa8c0@M90> And that is really about all there is to it. Except... You need to be careful about the Link Master / child properties. I leave them set and just change the source object IIRC. Beyond that you need to make the decision whether to leave the subforms bound or unbind them as the user clicks off the tab. And no I don't do anything about loading the combos specifically. Since only the combos on the specific subforms loading are at issue, this will not tend to be a problem. Since everyone else jumped in with info I will let you ask if you need more than that. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 08, 2007 8:19 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Aha. That's what I was looking for. Change event. Too bad there isn't a GotFocus or Activate event for each page. But this will work. I can do a Select Case on the page and load the controls for that page in the case for each tab. That will work! Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren D Sent: Thursday, November 08, 2007 3:37 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Hi Rocky Not so sure about JC's cool JIT logic But there is an OnChange event for Tabs - Way cool very powerful and easy to manipulate See below for some Code snips below I am using for a 10 Tab Form Now it is a snip so some of it may not work correctly etc ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Private Sub tabMain_Change() On Err GoTo Err_tabMain_Change Dim intClientID As Integer intClientID = Me.tabMain Dim tbc As Control Dim pg As Page Dim ctl As Control Dim db As DAO.Database Dim selSQL As String Dim rs As DAO.Recordset Set tbc = Me!tabMain Set pg = tbc.Pages(tbc.Value) 'Current page Set db = CurrentDb selSQL = "SELECT tblClients.ClientID, tblClients.ClientName, tblClients.DatabaseName, tblClients.ClientAbbrev, tblClients.IsCurrent, tblClients.IsNowDeleted FROM tblClients WHERE (((tblClients.IsCurrent)=-1) AND ((tblClients.IsNowDeleted) Is Null Or (tblClients.IsNowDeleted)=0));" Set rs = db.OpenRecordset(selSQL) 'reset things to true or false if true may exist for more thant 1 tab If pg.Name = "pgOptions" Then ' Option Page - Don't show everything for the clients - Show the setup options only Forms!xfrmBeast!subfrmOptions.SourceObject = "sub_frmBeastOptions" Forms!xfrmBeast!subfrmLocalOptions.SourceObject = "sub_frmLocalOptions" Me.subfrmMain.Visible = False Me.tabOptions.Visible = True Me.subfrmNotes.Visible = False Me.subfrmContacts.Visible = False Me.tabSupport.Visible = False 'Determine what controls get seen or used For Each ctl In Me.Controls If ctl.Tag <> "" Then ctl.Enabled = False End If Next ElseIf Me("pg" & Me.tabMain).Caption = "Active" Then ElseIf Me("pg" & Me.tabMain).Caption = "SomeText" Then Me.cmdBFM.Enabled = False Else For Each ctl In Me.Controls If ctl.Tag <> "" Then ctl.Enabled = True End If Next Me.tabOptions.Visible = False End If Me.subfrmMain.Requery Me.subfrmNotes.Requery Me.subfrmContacts.Requery Me.txtClientID = Forms!xfrmBeast.tabMain txtInvoiceSearch = "" txtAccountNo = "" If intClientID = 0 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "General Contacts" Me.subfrmNotes.Form.lblAdviceNotes.Caption = "General Notes" Me.lblMain.Caption = "Options and Settings" txtInvoiceSearch.Enabled = False txtAccountNo.Enabled = False ElseIf intClientID = 1 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Active Contacts" Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Active Info" Me.lblMain.Caption = "Details about...us" txtInvoiceSearch.Enabled = False txtAccountNo.Enabled = False ElseIf intClientID = 2 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Contacts for Client: " & Me("pg" & intClientID).Caption Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Notes For Client: " & Me("pg" & intClientID).Caption Me.lblMain.Caption = "Bureau Details for: " & Me("pg" & intClientID).Caption txtInvoiceSearch.Enabled = True txtAccountNo.Enabled = True ElseIf intClientID > 1 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Contacts for Client: " & Me("pg" & intClientID).Caption Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Notes For Client: " & Me("pg" & intClientID).Caption Me.lblMain.Caption = "Bureau Details for: " & Me("pg" & intClientID).Caption txtInvoiceSearch.Enabled = True txtAccountNo.Enabled = True End If rs.Close db.Close Set rs = Nothing Set db = Nothing Exit_tabMain_Change: Exit Sub Err_tabMain_Change: MsgBox Err.Number & " " & Err.Description, vbCritical, "Error in tbMain Change" Resume Exit_tabMain_Change End Sub Many thanks Have a great day Darren ----------------- T: 1300 301 731 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, 9 November 2007 9:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] JIT Forms JC: I have a form with about 16 tabs, a bunch of combo boxes, and a bunch of sub-forms. It will not surprise you to learn that it is taking an unacceptably long time to open - 60 seconds on a smallish database over a wireless connection to my laptop (trying to simulate a slow server). I remember something about a form like this that you had and, I believe, loading the combo boxes and sub forms only when a tab got the focus? The combo boxes are bound so I can't wait to put in the row source until they're clicked. But I could load the row source when the tab was activated - store the row source in the tag and load it if it's not there. But there's no activate or got focus event for a tab. There is a mouse move event but I'm not sure that will do to trigger loading of the Row Source and the sub-forms. How did you solve the problem? Regards, 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.24/1117 - Release Date: 11/7/2007 10:52 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Nov 8 22:40:09 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 8 Nov 2007 20:40:09 -0800 Subject: [AccessD] JIT Forms In-Reply-To: <000801c82281$9f58ed70$6c7aa8c0@M90> References: <00a901c82257$3656b390$0301a8c0@HAL9005><200711082337.lA8Nb536031641@databaseadvisors.com><00c901c8226e$82232f30$0301a8c0@HAL9005> <000801c82281$9f58ed70$6c7aa8c0@M90> Message-ID: <00f801c8228a$9c178f00$0301a8c0@HAL9005> I'm good to go. Thanks. However, converting all the combos and subforms to JIT still did not yield an acceptable opening time. The reocrdsource for the main form is retrieving all the records and the navigation buttons are at the bottom of the form. I have asked the client if users would really use those buttons to move from one record to another. I'm thinking not. In which case retrieving one record might be the hot ticket. Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, November 08, 2007 7:36 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms And that is really about all there is to it. Except... You need to be careful about the Link Master / child properties. I leave them set and just change the source object IIRC. Beyond that you need to make the decision whether to leave the subforms bound or unbind them as the user clicks off the tab. And no I don't do anything about loading the combos specifically. Since only the combos on the specific subforms loading are at issue, this will not tend to be a problem. Since everyone else jumped in with info I will let you ask if you need more than that. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 08, 2007 8:19 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Aha. That's what I was looking for. Change event. Too bad there isn't a GotFocus or Activate event for each page. But this will work. I can do a Select Case on the page and load the controls for that page in the case for each tab. That will work! Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren D Sent: Thursday, November 08, 2007 3:37 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Hi Rocky Not so sure about JC's cool JIT logic But there is an OnChange event for Tabs - Way cool very powerful and easy to manipulate See below for some Code snips below I am using for a 10 Tab Form Now it is a snip so some of it may not work correctly etc ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Private Sub tabMain_Change() On Err GoTo Err_tabMain_Change Dim intClientID As Integer intClientID = Me.tabMain Dim tbc As Control Dim pg As Page Dim ctl As Control Dim db As DAO.Database Dim selSQL As String Dim rs As DAO.Recordset Set tbc = Me!tabMain Set pg = tbc.Pages(tbc.Value) 'Current page Set db = CurrentDb selSQL = "SELECT tblClients.ClientID, tblClients.ClientName, tblClients.DatabaseName, tblClients.ClientAbbrev, tblClients.IsCurrent, tblClients.IsNowDeleted FROM tblClients WHERE (((tblClients.IsCurrent)=-1) AND ((tblClients.IsNowDeleted) Is Null Or (tblClients.IsNowDeleted)=0));" Set rs = db.OpenRecordset(selSQL) 'reset things to true or false if true may exist for more thant 1 tab If pg.Name = "pgOptions" Then ' Option Page - Don't show everything for the clients - Show the setup options only Forms!xfrmBeast!subfrmOptions.SourceObject = "sub_frmBeastOptions" Forms!xfrmBeast!subfrmLocalOptions.SourceObject = "sub_frmLocalOptions" Me.subfrmMain.Visible = False Me.tabOptions.Visible = True Me.subfrmNotes.Visible = False Me.subfrmContacts.Visible = False Me.tabSupport.Visible = False 'Determine what controls get seen or used For Each ctl In Me.Controls If ctl.Tag <> "" Then ctl.Enabled = False End If Next ElseIf Me("pg" & Me.tabMain).Caption = "Active" Then ElseIf Me("pg" & Me.tabMain).Caption = "SomeText" Then Me.cmdBFM.Enabled = False Else For Each ctl In Me.Controls If ctl.Tag <> "" Then ctl.Enabled = True End If Next Me.tabOptions.Visible = False End If Me.subfrmMain.Requery Me.subfrmNotes.Requery Me.subfrmContacts.Requery Me.txtClientID = Forms!xfrmBeast.tabMain txtInvoiceSearch = "" txtAccountNo = "" If intClientID = 0 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "General Contacts" Me.subfrmNotes.Form.lblAdviceNotes.Caption = "General Notes" Me.lblMain.Caption = "Options and Settings" txtInvoiceSearch.Enabled = False txtAccountNo.Enabled = False ElseIf intClientID = 1 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Active Contacts" Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Active Info" Me.lblMain.Caption = "Details about...us" txtInvoiceSearch.Enabled = False txtAccountNo.Enabled = False ElseIf intClientID = 2 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Contacts for Client: " & Me("pg" & intClientID).Caption Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Notes For Client: " & Me("pg" & intClientID).Caption Me.lblMain.Caption = "Bureau Details for: " & Me("pg" & intClientID).Caption txtInvoiceSearch.Enabled = True txtAccountNo.Enabled = True ElseIf intClientID > 1 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Contacts for Client: " & Me("pg" & intClientID).Caption Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Notes For Client: " & Me("pg" & intClientID).Caption Me.lblMain.Caption = "Bureau Details for: " & Me("pg" & intClientID).Caption txtInvoiceSearch.Enabled = True txtAccountNo.Enabled = True End If rs.Close db.Close Set rs = Nothing Set db = Nothing Exit_tabMain_Change: Exit Sub Err_tabMain_Change: MsgBox Err.Number & " " & Err.Description, vbCritical, "Error in tbMain Change" Resume Exit_tabMain_Change End Sub Many thanks Have a great day Darren ----------------- T: 1300 301 731 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, 9 November 2007 9:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] JIT Forms JC: I have a form with about 16 tabs, a bunch of combo boxes, and a bunch of sub-forms. It will not surprise you to learn that it is taking an unacceptably long time to open - 60 seconds on a smallish database over a wireless connection to my laptop (trying to simulate a slow server). I remember something about a form like this that you had and, I believe, loading the combo boxes and sub forms only when a tab got the focus? The combo boxes are bound so I can't wait to put in the row source until they're clicked. But I could load the row source when the tab was activated - store the row source in the tag and load it if it's not there. But there's no activate or got focus event for a tab. There is a mouse move event but I'm not sure that will do to trigger loading of the Row Source and the sub-forms. How did you solve the problem? Regards, 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.24/1117 - Release Date: 11/7/2007 10:52 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.26/1119 - Release Date: 11/8/2007 5:55 PM From adtp at airtelbroadband.in Fri Nov 9 01:49:16 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Fri, 9 Nov 2007 13:19:16 +0530 Subject: [AccessD] storing last item on the page References: <001601c820ae$821c9a10$4b3a8343@SusanOne><003301c82105$babcfd40$ 8c57a27a@personalec1122> <003f01c8213b$9abb4390$4b3a8343@SusanOne> Message-ID: <004101c822a5$4dd21160$8a57a27a@personalec1122> You have not given any reason as to why you wish to avoid array based solution. Apparently, you are keen to implement collection based solution as an alternative. In your second post, describing the unsuccessful attempt to work out collection based solution, you stated "I'm clueless -- I have no idea what's happening here." It is observed that the following factors are contributing to the problem: 1 - You have landed into an interesting pitfall typical of collections. Whenever a collection's Add method is used, you have to be careful as to what exactly is being added. If you use the syntax col.Add Me.MyControl, it becomes a collection of control objects. For making it a collection of control contents, you have to use Value property of the control. 2 - Page Footer is the appropriate place to grab a value from last record of detail section and add it to the collection. You are wrongly using Page Header for this purpose. 3 - You are using Page Footer to assign a value (from collection) to txtHeaderLast. In view of the nature of forward time flow during report execution, the effect of such assignment materializes only on the next page. This defeats the very purpose of building a collection of last values in forced first pass of formatting. The proper place for making such an assignment is Page Header (preferably its print event, as by then, building up of collection during prior formatting pass, is complete). Sample code in report's module, as given below, demonstrates collection based solution. All the four controls (TxtHeaderFirst, TxtHeaderLast, TxtFooterFirst, TxtFooterLast) are unbound. In the sample code, "Title" is the name of control in detail section whose first and last values are required to be displayed in page header as well as footer. You can substitute the name of actual control in your report, suitably. A.D.Tejpal ------------ Code in report's module '================================== ' Declarations section Private col As New Collection '--------------------------------------------------- Private Sub PageFooterSection_Format(Cancel _ As Integer, FormatCount As Integer) Me.TxtFooterLast = Me.Title If Me.Pages = 0 Then col.Add Me.Title.Value, CStr(Me.Page) ' (A) End If ' Caution - There is a potential pitfall here. ' In statement (A), while adding items to ' collection, Value property of the control ' in question MUST be used. Otherwise, ' it will become a collection of control ' objects (not the contents as intended), ' leading to weird results. End Sub '--------------------------------------------------- Private Sub PageHeaderSection_Format(Cancel _ As Integer, FormatCount As Integer) Me.TxtHeaderFirst = Me.Title Me.TxtFooterFirst = Me.Title End Sub '--------------------------------------------------- Private Sub PageHeaderSection_Print(Cancel _ As Integer, PrintCount As Integer) Me.TxtHeaderLast = col(CStr(Me.Page)) End Sub '--------------------------------------------------- Private Sub Report_Close() Set col = Nothing End Sub '================================== ----- Original Message ----- From: Susan Harkins To: Access Developers discussion and problem solving Sent: Wednesday, November 07, 2007 18:11 Subject: Re: [AccessD] storing last item on the page I'm not convinced an array is necessary -- I've seen that solution. Have you seen the collection solution I tried and posted late last night? Susan H. From jwcolby at colbyconsulting.com Fri Nov 9 06:11:20 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 9 Nov 2007 07:11:20 -0500 Subject: [AccessD] JIT Forms In-Reply-To: <00f801c8228a$9c178f00$0301a8c0@HAL9005> References: <00a901c82257$3656b390$0301a8c0@HAL9005><200711082337.lA8Nb536031641@databaseadvisors.com><00c901c8226e$82232f30$0301a8c0@HAL9005><000801c82281$9f58ed70$6c7aa8c0@M90> <00f801c8228a$9c178f00$0301a8c0@HAL9005> Message-ID: <001801c822c9$a3fc7020$6c7aa8c0@M90> And in the end that is what I had to do, retrieve only one record. That is the superior solution for any large table. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 08, 2007 11:40 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms I'm good to go. Thanks. However, converting all the combos and subforms to JIT still did not yield an acceptable opening time. The reocrdsource for the main form is retrieving all the records and the navigation buttons are at the bottom of the form. I have asked the client if users would really use those buttons to move from one record to another. I'm thinking not. In which case retrieving one record might be the hot ticket. Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, November 08, 2007 7:36 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms And that is really about all there is to it. Except... You need to be careful about the Link Master / child properties. I leave them set and just change the source object IIRC. Beyond that you need to make the decision whether to leave the subforms bound or unbind them as the user clicks off the tab. And no I don't do anything about loading the combos specifically. Since only the combos on the specific subforms loading are at issue, this will not tend to be a problem. Since everyone else jumped in with info I will let you ask if you need more than that. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 08, 2007 8:19 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Aha. That's what I was looking for. Change event. Too bad there isn't a GotFocus or Activate event for each page. But this will work. I can do a Select Case on the page and load the controls for that page in the case for each tab. That will work! Thanks Rocky From jwcolby at colbyconsulting.com Fri Nov 9 06:16:02 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 9 Nov 2007 07:16:02 -0500 Subject: [AccessD] storing last item on the page In-Reply-To: <004101c822a5$4dd21160$8a57a27a@personalec1122> References: <001601c820ae$821c9a10$4b3a8343@SusanOne><003301c82105$babcfd40$8c57a27a@personalec1122> <003f01c8213b$9abb4390$4b3a8343@SusanOne> <004101c822a5$4dd21160$8a57a27a@personalec1122> Message-ID: <001901c822ca$4bd900b0$6c7aa8c0@M90> A.D. An array can store a control just as easily. And yes, you need to be aware of what you are storing, since if you store a control a number of things can occur that can be confusing. For example, if you store a control, the value of the control can change between when you stored that control and when you use it, and in fact can continue to change as long as the collection is stored. OTOH, if you store the control's VALUE then that value is captured in time, and while the control may continue to change, it's value back when it was stored will still be available. It really depends on what you need to do, but you definitely need to keep this in mind. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Friday, November 09, 2007 2:49 AM To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Subject: Re: [AccessD] storing last item on the page You have not given any reason as to why you wish to avoid array based solution. Apparently, you are keen to implement collection based solution as an alternative. In your second post, describing the unsuccessful attempt to work out collection based solution, you stated "I'm clueless -- I have no idea what's happening here." It is observed that the following factors are contributing to the problem: 1 - You have landed into an interesting pitfall typical of collections. Whenever a collection's Add method is used, you have to be careful as to what exactly is being added. If you use the syntax col.Add Me.MyControl, it becomes a collection of control objects. For making it a collection of control contents, you have to use Value property of the control. 2 - Page Footer is the appropriate place to grab a value from last record of detail section and add it to the collection. You are wrongly using Page Header for this purpose. 3 - You are using Page Footer to assign a value (from collection) to txtHeaderLast. In view of the nature of forward time flow during report execution, the effect of such assignment materializes only on the next page. This defeats the very purpose of building a collection of last values in forced first pass of formatting. The proper place for making such an assignment is Page Header (preferably its print event, as by then, building up of collection during prior formatting pass, is complete). Sample code in report's module, as given below, demonstrates collection based solution. All the four controls (TxtHeaderFirst, TxtHeaderLast, TxtFooterFirst, TxtFooterLast) are unbound. In the sample code, "Title" is the name of control in detail section whose first and last values are required to be displayed in page header as well as footer. You can substitute the name of actual control in your report, suitably. A.D.Tejpal ------------ Code in report's module '================================== ' Declarations section Private col As New Collection '--------------------------------------------------- Private Sub PageFooterSection_Format(Cancel _ As Integer, FormatCount As Integer) Me.TxtFooterLast = Me.Title If Me.Pages = 0 Then col.Add Me.Title.Value, CStr(Me.Page) ' (A) End If ' Caution - There is a potential pitfall here. ' In statement (A), while adding items to ' collection, Value property of the control ' in question MUST be used. Otherwise, ' it will become a collection of control ' objects (not the contents as intended), ' leading to weird results. End Sub '--------------------------------------------------- Private Sub PageHeaderSection_Format(Cancel _ As Integer, FormatCount As Integer) Me.TxtHeaderFirst = Me.Title Me.TxtFooterFirst = Me.Title End Sub '--------------------------------------------------- Private Sub PageHeaderSection_Print(Cancel _ As Integer, PrintCount As Integer) Me.TxtHeaderLast = col(CStr(Me.Page)) End Sub '--------------------------------------------------- Private Sub Report_Close() Set col = Nothing End Sub '================================== ----- Original Message ----- From: Susan Harkins To: Access Developers discussion and problem solving Sent: Wednesday, November 07, 2007 18:11 Subject: Re: [AccessD] storing last item on the page I'm not convinced an array is necessary -- I've seen that solution. Have you seen the collection solution I tried and posted late last night? 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 Nov 9 07:55:52 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 9 Nov 2007 08:55:52 -0500 Subject: [AccessD] storing last item on the page References: <001601c820ae$821c9a10$4b3a8343@SusanOne><003301c82105$babcfd40$8c57a27a@personalec1122> <003f01c8213b$9abb4390$4b3a8343@SusanOne> <004101c822a5$4dd21160$8a57a27a@personalec1122> Message-ID: <009601c822d8$c937b250$4b3a8343@SusanOne> Thanks -- I'll see if anything here resolves this. I'm interested in a collection because I think, it is an easier solution for the average user. Arrays can be difficult for the average user to apply to their own work. A collection, used in this manner, won't require any special attention from the user. Of course, if I can't get it to work, how much easier can it be????????? ;) Susan H. > You have not given any reason as to why you wish to avoid array based > solution. Apparently, you are keen to implement collection based solution > as an alternative. > > In your second post, describing the unsuccessful attempt to work out > collection based solution, you stated "I'm clueless -- I have no idea > what's happening here." It is observed that the following factors are > contributing to the problem: > > 1 - You have landed into an interesting pitfall typical of collections. > Whenever a collection's Add method is used, you have to be careful as to > what exactly is being added. If you use the syntax col.Add Me.MyControl, > it becomes a collection of control objects. For making it a collection of > control contents, you have to use Value property of the control. > > 2 - Page Footer is the appropriate place to grab a value from last > record of detail section and add it to the collection. You are wrongly > using Page Header for this purpose. > > 3 - You are using Page Footer to assign a value (from collection) to > txtHeaderLast. In view of the nature of forward time flow during report > execution, the effect of such assignment materializes only on the next > page. This defeats the very purpose of building a collection of last > values in forced first pass of formatting. The proper place for making > such an assignment is Page Header (preferably its print event, as by then, > building up of collection during prior formatting pass, is complete). > > Sample code in report's module, as given below, demonstrates collection > based solution. All the four controls (TxtHeaderFirst, TxtHeaderLast, > TxtFooterFirst, TxtFooterLast) are unbound. In the sample code, "Title" is > the name of control in detail section whose first and last values are > required to be displayed in page header as well as footer. You can > substitute the name of actual control in your report, suitably. > > A.D.Tejpal > ------------ > > Code in report's module > '================================== > ' Declarations section > Private col As New Collection > '--------------------------------------------------- > > Private Sub PageFooterSection_Format(Cancel _ > As Integer, FormatCount As Integer) > > Me.TxtFooterLast = Me.Title > > If Me.Pages = 0 Then > col.Add Me.Title.Value, CStr(Me.Page) ' (A) > End If > > ' Caution - There is a potential pitfall here. > ' In statement (A), while adding items to > ' collection, Value property of the control > ' in question MUST be used. Otherwise, > ' it will become a collection of control > ' objects (not the contents as intended), > ' leading to weird results. > End Sub > '--------------------------------------------------- > > Private Sub PageHeaderSection_Format(Cancel _ > As Integer, FormatCount As Integer) > Me.TxtHeaderFirst = Me.Title > Me.TxtFooterFirst = Me.Title > End Sub > '--------------------------------------------------- > > Private Sub PageHeaderSection_Print(Cancel _ > As Integer, PrintCount As Integer) > Me.TxtHeaderLast = col(CStr(Me.Page)) > End Sub > '--------------------------------------------------- > > Private Sub Report_Close() > Set col = Nothing > End Sub > '================================== > > ----- Original Message ----- > From: Susan Harkins > To: Access Developers discussion and problem solving > Sent: Wednesday, November 07, 2007 18:11 > Subject: Re: [AccessD] storing last item on the page > > > I'm not convinced an array is necessary -- I've seen that solution. Have > you > seen the collection solution I tried and posted late last night? > > 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 Nov 9 07:59:41 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 9 Nov 2007 08:59:41 -0500 Subject: [AccessD] storing last item on the page References: <001601c820ae$821c9a10$4b3a8343@SusanOne><003301c82105$babcfd40$8c57a27a@personalec1122><003f01c8213b$9abb4390$4b3a8343@SusanOne><004101c822a5$4dd21160$8a57a27a@personalec1122> <001901c822ca$4bd900b0$6c7aa8c0@M90> Message-ID: <009701c822d8$ca3dfec0$4b3a8343@SusanOne> I'm storing the value and the page number, and both are correct and in synch. The value that the text box is actually the last item from the previous page, not the current page, so there seems to be some discrepancy between page number and value between the time those values are retrieved and the time the code actually displays the value. The values are correct, they're just being applied incorrectly. A.D.'s comment about using the wrong events might be the answer I need. Susan H. > A.D. > > An array can store a control just as easily. And yes, you need to be > aware > of what you are storing, since if you store a control a number of things > can > occur that can be confusing. For example, if you store a control, the > value > of the control can change between when you stored that control and when > you > use it, and in fact can continue to change as long as the collection is > stored. OTOH, if you store the control's VALUE then that value is > captured > in time, and while the control may continue to change, it's value back > when > it was stored will still be available. It really depends on what you need > to do, but you definitely need to keep this in mind. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL > Sent: Friday, November 09, 2007 2:49 AM > To: Access Developers discussion and problem solving > Cc: A.D.TEJPAL > Subject: Re: [AccessD] storing last item on the page > > You have not given any reason as to why you wish to avoid array based > solution. Apparently, you are keen to implement collection based solution > as > an alternative. > > In your second post, describing the unsuccessful attempt to work out > collection based solution, you stated "I'm clueless -- I have no idea > what's happening here." It is observed that the following factors are > contributing to the problem: > > 1 - You have landed into an interesting pitfall typical of collections. > Whenever a collection's Add method is used, you have to be careful as to > what exactly is being added. If you use the syntax col.Add Me.MyControl, > it > becomes a collection of control objects. For making it a collection of > control contents, you have to use Value property of the control. > > 2 - Page Footer is the appropriate place to grab a value from last > record of detail section and add it to the collection. You are wrongly > using > Page Header for this purpose. > > 3 - You are using Page Footer to assign a value (from collection) to > txtHeaderLast. In view of the nature of forward time flow during report > execution, the effect of such assignment materializes only on the next > page. > This defeats the very purpose of building a collection of last values in > forced first pass of formatting. The proper place for making such an > assignment is Page Header (preferably its print event, as by then, > building > up of collection during prior formatting pass, is complete). > > Sample code in report's module, as given below, demonstrates collection > based solution. All the four controls (TxtHeaderFirst, TxtHeaderLast, > TxtFooterFirst, TxtFooterLast) are unbound. In the sample code, "Title" is > the name of control in detail section whose first and last values are > required to be displayed in page header as well as footer. You can > substitute the name of actual control in your report, suitably. > > A.D.Tejpal > ------------ > > Code in report's module > '================================== > ' Declarations section > Private col As New Collection > '--------------------------------------------------- > > Private Sub PageFooterSection_Format(Cancel _ > As Integer, FormatCount As Integer) > > Me.TxtFooterLast = Me.Title > > If Me.Pages = 0 Then > col.Add Me.Title.Value, CStr(Me.Page) ' (A) > End If > > ' Caution - There is a potential pitfall here. > ' In statement (A), while adding items to > ' collection, Value property of the control > ' in question MUST be used. Otherwise, > ' it will become a collection of control > ' objects (not the contents as intended), > ' leading to weird results. > End Sub > '--------------------------------------------------- > > Private Sub PageHeaderSection_Format(Cancel _ > As Integer, FormatCount As Integer) > Me.TxtHeaderFirst = Me.Title > Me.TxtFooterFirst = Me.Title > End Sub > '--------------------------------------------------- > > Private Sub PageHeaderSection_Print(Cancel _ > As Integer, PrintCount As Integer) > Me.TxtHeaderLast = col(CStr(Me.Page)) End Sub > '--------------------------------------------------- > > Private Sub Report_Close() > Set col = Nothing > End Sub > '================================== > > ----- Original Message ----- > From: Susan Harkins > To: Access Developers discussion and problem solving > Sent: Wednesday, November 07, 2007 18:11 > Subject: Re: [AccessD] storing last item on the page > > > I'm not convinced an array is necessary -- I've seen that solution. Have > you > seen the collection solution I tried and posted late last night? > > Susan H. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From ssharkins at gmail.com Fri Nov 9 08:56:10 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 9 Nov 2007 09:56:10 -0500 Subject: [AccessD] storing last item on the page References: <001601c820ae$821c9a10$4b3a8343@SusanOne><003301c82105$babcfd40$8c57a27a@personalec1122> <003f01c8213b$9abb4390$4b3a8343@SusanOne> <004101c822a5$4dd21160$8a57a27a@personalec1122> Message-ID: <002b01c822e0$ae5fc5f0$4b3a8343@SusanOne> A.D., you are a genius -- you are right, I had the code right, just executing it in reverse! Private Sub PageFooterSection_Format(Cancel As Integer, FormatCount As Integer) Me.txtFooterFirst = Me.txtHeaderFirst Me.txtHeaderLast = Me.txtFooterLast If Me.Pages = 0 Then col.Add Me.txtFooterLast.Value, CStr(Me.Page) End If End Sub Private Sub PageHeaderSection_Print(Cancel As Integer, PrintCount As Integer) Me.txtHeaderLast = col(Me.Page) End Sub Private Sub Report_Close() Set col = Nothing End Sub It's working perfectly now -- thank you A.D. I was going to rearrange things this morning, after sleeping on the problem last night, but your message helped a lot. I would've been working purely on speculation and you gave me a map. ;) Now, I don't know if anyone else agrees with me, but I think this is much simpler than the more common array solution. Susan H. > 2 - Page Footer is the appropriate place to grab a value from last > record of detail section and add it to the collection. You are wrongly > using Page Header for this purpose. > > 3 - You are using Page Footer to assign a value (from collection) to > txtHeaderLast. In view of the nature of forward time flow during report > execution, the effect of such assignment materializes only on the next > page. This defeats the very purpose of building a collection of last > values in forced first pass of formatting. The proper place for making > such an assignment is Page Header (preferably its print event, as by then, > building up of collection during prior formatting pass, is complete). > > Sample code in report's module, as given below, demonstrates collection > based solution. All the four controls (TxtHeaderFirst, TxtHeaderLast, > TxtFooterFirst, TxtFooterLast) are unbound. In the sample code, "Title" is > the name of control in detail section whose first and last values are > required to be displayed in page header as well as footer. You can > substitute the name of actual control in your report, suitably. > > A.D.Tejpal From ssharkins at gmail.com Fri Nov 9 09:36:45 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 9 Nov 2007 10:36:45 -0500 Subject: [AccessD] storing last item on the page References: <001601c820ae$821c9a10$4b3a8343@SusanOne><003301c82105$babcfd40$8c57a27a@personalec1122> <003f01c8213b$9abb4390$4b3a8343@SusanOne> <004101c822a5$4dd21160$8a57a27a@personalec1122> Message-ID: <00a301c822e6$57e00220$4b3a8343@SusanOne> Small correction to the previous code I posted -- I had to move the Me.txtFooterFirst statement back to the PageHeaderSection event. Susan H. Private Sub PageFooterSection_Format(Cancel As Integer, FormatCount As Integer) 'Me.txtFooterFirst = Me.txtHeaderFirst Me.txtHeaderLast = Me.txtFooterLast If Me.Pages = 0 Then col.Add Me.txtFooterLast.Value, CStr(Me.Page) End If End Sub Private Sub PageHeaderSection_Print(Cancel As Integer, PrintCount As Integer) Me.txtFooterFirst = Me.txtHeaderFirst Me.txtHeaderLast = col(Me.Page) End Sub Private Sub Report_Close() Set col = Nothing End Sub ----- Original Message ----- From: "A.D.TEJPAL" To: "Access Developers discussion and problem solving" Cc: "A.D.TEJPAL" Sent: Friday, November 09, 2007 2:49 AM Subject: Re: [AccessD] storing last item on the page > You have not given any reason as to why you wish to avoid array based > solution. Apparently, you are keen to implement collection based solution > as an alternative. > > In your second post, describing the unsuccessful attempt to work out > collection based solution, you stated "I'm clueless -- I have no idea > what's happening here." It is observed that the following factors are > contributing to the problem: > > 1 - You have landed into an interesting pitfall typical of collections. > Whenever a collection's Add method is used, you have to be careful as to > what exactly is being added. If you use the syntax col.Add Me.MyControl, > it becomes a collection of control objects. For making it a collection of > control contents, you have to use Value property of the control. > > 2 - Page Footer is the appropriate place to grab a value from last > record of detail section and add it to the collection. You are wrongly > using Page Header for this purpose. > > 3 - You are using Page Footer to assign a value (from collection) to > txtHeaderLast. In view of the nature of forward time flow during report > execution, the effect of such assignment materializes only on the next > page. This defeats the very purpose of building a collection of last > values in forced first pass of formatting. The proper place for making > such an assignment is Page Header (preferably its print event, as by then, > building up of collection during prior formatting pass, is complete). > > Sample code in report's module, as given below, demonstrates collection > based solution. All the four controls (TxtHeaderFirst, TxtHeaderLast, > TxtFooterFirst, TxtFooterLast) are unbound. In the sample code, "Title" is > the name of control in detail section whose first and last values are > required to be displayed in page header as well as footer. You can > substitute the name of actual control in your report, suitably. > > A.D.Tejpal > ------------ > > Code in report's module > '================================== > ' Declarations section > Private col As New Collection > '--------------------------------------------------- > > Private Sub PageFooterSection_Format(Cancel _ > As Integer, FormatCount As Integer) > > Me.TxtFooterLast = Me.Title > > If Me.Pages = 0 Then > col.Add Me.Title.Value, CStr(Me.Page) ' (A) > End If > > ' Caution - There is a potential pitfall here. > ' In statement (A), while adding items to > ' collection, Value property of the control > ' in question MUST be used. Otherwise, > ' it will become a collection of control > ' objects (not the contents as intended), > ' leading to weird results. > End Sub > '--------------------------------------------------- > > Private Sub PageHeaderSection_Format(Cancel _ > As Integer, FormatCount As Integer) > Me.TxtHeaderFirst = Me.Title > Me.TxtFooterFirst = Me.Title > End Sub > '--------------------------------------------------- > > Private Sub PageHeaderSection_Print(Cancel _ > As Integer, PrintCount As Integer) > Me.TxtHeaderLast = col(CStr(Me.Page)) > End Sub > '--------------------------------------------------- > > Private Sub Report_Close() > Set col = Nothing > End Sub > '================================== > > ----- Original Message ----- > From: Susan Harkins > To: Access Developers discussion and problem solving > Sent: Wednesday, November 07, 2007 18:11 > Subject: Re: [AccessD] storing last item on the page > > > I'm not convinced an array is necessary -- I've seen that solution. Have > you > seen the collection solution I tried and posted late last night? > > Susan H. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Nov 9 09:45:04 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 9 Nov 2007 07:45:04 -0800 Subject: [AccessD] JIT Forms In-Reply-To: <00f801c8228a$9c178f00$0301a8c0@HAL9005> References: <00a901c82257$3656b390$0301a8c0@HAL9005><200711082337.lA8Nb536031641@databaseadvisors.com><00c901c8226e$82232f30$0301a8c0@HAL9005><000801c82281$9f58ed70$6c7aa8c0@M90> <00f801c8228a$9c178f00$0301a8c0@HAL9005> Message-ID: Rocky, If you bind just subforms, not the main form, you solve that problem. Basically, all you need in the main form is the fields to link to, although, they don't have to be in bound controls, so you could populate them from code for each tab. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 08, 2007 8:40 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms I'm good to go. Thanks. However, converting all the combos and subforms to JIT still did not yield an acceptable opening time. The reocrdsource for the main form is retrieving all the records and the navigation buttons are at the bottom of the form. I have asked the client if users would really use those buttons to move from one record to another. I'm thinking not. In which case retrieving one record might be the hot ticket. Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, November 08, 2007 7:36 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms And that is really about all there is to it. Except... You need to be careful about the Link Master / child properties. I leave them set and just change the source object IIRC. Beyond that you need to make the decision whether to leave the subforms bound or unbind them as the user clicks off the tab. And no I don't do anything about loading the combos specifically. Since only the combos on the specific subforms loading are at issue, this will not tend to be a problem. Since everyone else jumped in with info I will let you ask if you need more than that. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 08, 2007 8:19 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Aha. That's what I was looking for. Change event. Too bad there isn't a GotFocus or Activate event for each page. But this will work. I can do a Select Case on the page and load the controls for that page in the case for each tab. That will work! Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren D Sent: Thursday, November 08, 2007 3:37 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Hi Rocky Not so sure about JC's cool JIT logic But there is an OnChange event for Tabs - Way cool very powerful and easy to manipulate See below for some Code snips below I am using for a 10 Tab Form Now it is a snip so some of it may not work correctly etc ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Private Sub tabMain_Change() On Err GoTo Err_tabMain_Change Dim intClientID As Integer intClientID = Me.tabMain Dim tbc As Control Dim pg As Page Dim ctl As Control Dim db As DAO.Database Dim selSQL As String Dim rs As DAO.Recordset Set tbc = Me!tabMain Set pg = tbc.Pages(tbc.Value) 'Current page Set db = CurrentDb selSQL = "SELECT tblClients.ClientID, tblClients.ClientName, tblClients.DatabaseName, tblClients.ClientAbbrev, tblClients.IsCurrent, tblClients.IsNowDeleted FROM tblClients WHERE (((tblClients.IsCurrent)=-1) AND ((tblClients.IsNowDeleted) Is Null Or (tblClients.IsNowDeleted)=0));" Set rs = db.OpenRecordset(selSQL) 'reset things to true or false if true may exist for more thant 1 tab If pg.Name = "pgOptions" Then ' Option Page - Don't show everything for the clients - Show the setup options only Forms!xfrmBeast!subfrmOptions.SourceObject = "sub_frmBeastOptions" Forms!xfrmBeast!subfrmLocalOptions.SourceObject = "sub_frmLocalOptions" Me.subfrmMain.Visible = False Me.tabOptions.Visible = True Me.subfrmNotes.Visible = False Me.subfrmContacts.Visible = False Me.tabSupport.Visible = False 'Determine what controls get seen or used For Each ctl In Me.Controls If ctl.Tag <> "" Then ctl.Enabled = False End If Next ElseIf Me("pg" & Me.tabMain).Caption = "Active" Then ElseIf Me("pg" & Me.tabMain).Caption = "SomeText" Then Me.cmdBFM.Enabled = False Else For Each ctl In Me.Controls If ctl.Tag <> "" Then ctl.Enabled = True End If Next Me.tabOptions.Visible = False End If Me.subfrmMain.Requery Me.subfrmNotes.Requery Me.subfrmContacts.Requery Me.txtClientID = Forms!xfrmBeast.tabMain txtInvoiceSearch = "" txtAccountNo = "" If intClientID = 0 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "General Contacts" Me.subfrmNotes.Form.lblAdviceNotes.Caption = "General Notes" Me.lblMain.Caption = "Options and Settings" txtInvoiceSearch.Enabled = False txtAccountNo.Enabled = False ElseIf intClientID = 1 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Active Contacts" Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Active Info" Me.lblMain.Caption = "Details about...us" txtInvoiceSearch.Enabled = False txtAccountNo.Enabled = False ElseIf intClientID = 2 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Contacts for Client: " & Me("pg" & intClientID).Caption Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Notes For Client: " & Me("pg" & intClientID).Caption Me.lblMain.Caption = "Bureau Details for: " & Me("pg" & intClientID).Caption txtInvoiceSearch.Enabled = True txtAccountNo.Enabled = True ElseIf intClientID > 1 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Contacts for Client: " & Me("pg" & intClientID).Caption Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Notes For Client: " & Me("pg" & intClientID).Caption Me.lblMain.Caption = "Bureau Details for: " & Me("pg" & intClientID).Caption txtInvoiceSearch.Enabled = True txtAccountNo.Enabled = True End If rs.Close db.Close Set rs = Nothing Set db = Nothing Exit_tabMain_Change: Exit Sub Err_tabMain_Change: MsgBox Err.Number & " " & Err.Description, vbCritical, "Error in tbMain Change" Resume Exit_tabMain_Change End Sub Many thanks Have a great day Darren ----------------- T: 1300 301 731 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, 9 November 2007 9:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] JIT Forms JC: I have a form with about 16 tabs, a bunch of combo boxes, and a bunch of sub-forms. It will not surprise you to learn that it is taking an unacceptably long time to open - 60 seconds on a smallish database over a wireless connection to my laptop (trying to simulate a slow server). I remember something about a form like this that you had and, I believe, loading the combo boxes and sub forms only when a tab got the focus? The combo boxes are bound so I can't wait to put in the row source until they're clicked. But I could load the row source when the tab was activated - store the row source in the tag and load it if it's not there. But there's no activate or got focus event for a tab. There is a mouse move event but I'm not sure that will do to trigger loading of the Row Source and the sub-forms. How did you solve the problem? Regards, 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.24/1117 - Release Date: 11/7/2007 10:52 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.26/1119 - Release Date: 11/8/2007 5:55 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Nov 9 10:10:25 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 9 Nov 2007 11:10:25 -0500 Subject: [AccessD] JIT Forms In-Reply-To: References: <00a901c82257$3656b390$0301a8c0@HAL9005><200711082337.lA8Nb536031641@databaseadvisors.com><00c901c8226e$82232f30$0301a8c0@HAL9005><000801c82281$9f58ed70$6c7aa8c0@M90><00f801c8228a$9c178f00$0301a8c0@HAL9005> Message-ID: <002601c822eb$09fbe060$6c7aa8c0@M90> Charlotte, I don't understand what you are saying here. What problem are you solving? Binding the subforms before they are actually viewed causes the form to slow down as it loads all of the subforms and their respective controls, even though the user may in fact never visit the subforms (that tab). So leave the subform controls with no source object (form name) until the tab is clicked on (JIT subforms). Now in the query for the main form just specify a filter for the PKID of the parent object, claimID if the form displays claims, CustomerID if the form displays customers etc. By feeding the query one specific PKID it will pull only that one record for the main form. The subforms on the tabs do not load until the tab is clicked. That is about as fast as you are going to get to actually load the form and its data. So what are you saying? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, November 09, 2007 10:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] JIT Forms Rocky, If you bind just subforms, not the main form, you solve that problem. Basically, all you need in the main form is the fields to link to, although, they don't have to be in bound controls, so you could populate them from code for each tab. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 08, 2007 8:40 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms I'm good to go. Thanks. However, converting all the combos and subforms to JIT still did not yield an acceptable opening time. The reocrdsource for the main form is retrieving all the records and the navigation buttons are at the bottom of the form. I have asked the client if users would really use those buttons to move from one record to another. I'm thinking not. In which case retrieving one record might be the hot ticket. Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, November 08, 2007 7:36 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms And that is really about all there is to it. Except... You need to be careful about the Link Master / child properties. I leave them set and just change the source object IIRC. Beyond that you need to make the decision whether to leave the subforms bound or unbind them as the user clicks off the tab. And no I don't do anything about loading the combos specifically. Since only the combos on the specific subforms loading are at issue, this will not tend to be a problem. Since everyone else jumped in with info I will let you ask if you need more than that. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 08, 2007 8:19 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Aha. That's what I was looking for. Change event. Too bad there isn't a GotFocus or Activate event for each page. But this will work. I can do a Select Case on the page and load the controls for that page in the case for each tab. That will work! Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren D Sent: Thursday, November 08, 2007 3:37 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Hi Rocky Not so sure about JC's cool JIT logic But there is an OnChange event for Tabs - Way cool very powerful and easy to manipulate See below for some Code snips below I am using for a 10 Tab Form Now it is a snip so some of it may not work correctly etc ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Private Sub tabMain_Change() On Err GoTo Err_tabMain_Change Dim intClientID As Integer intClientID = Me.tabMain Dim tbc As Control Dim pg As Page Dim ctl As Control Dim db As DAO.Database Dim selSQL As String Dim rs As DAO.Recordset Set tbc = Me!tabMain Set pg = tbc.Pages(tbc.Value) 'Current page Set db = CurrentDb selSQL = "SELECT tblClients.ClientID, tblClients.ClientName, tblClients.DatabaseName, tblClients.ClientAbbrev, tblClients.IsCurrent, tblClients.IsNowDeleted FROM tblClients WHERE (((tblClients.IsCurrent)=-1) AND ((tblClients.IsNowDeleted) Is Null Or (tblClients.IsNowDeleted)=0));" Set rs = db.OpenRecordset(selSQL) 'reset things to true or false if true may exist for more thant 1 tab If pg.Name = "pgOptions" Then ' Option Page - Don't show everything for the clients - Show the setup options only Forms!xfrmBeast!subfrmOptions.SourceObject = "sub_frmBeastOptions" Forms!xfrmBeast!subfrmLocalOptions.SourceObject = "sub_frmLocalOptions" Me.subfrmMain.Visible = False Me.tabOptions.Visible = True Me.subfrmNotes.Visible = False Me.subfrmContacts.Visible = False Me.tabSupport.Visible = False 'Determine what controls get seen or used For Each ctl In Me.Controls If ctl.Tag <> "" Then ctl.Enabled = False End If Next ElseIf Me("pg" & Me.tabMain).Caption = "Active" Then ElseIf Me("pg" & Me.tabMain).Caption = "SomeText" Then Me.cmdBFM.Enabled = False Else For Each ctl In Me.Controls If ctl.Tag <> "" Then ctl.Enabled = True End If Next Me.tabOptions.Visible = False End If Me.subfrmMain.Requery Me.subfrmNotes.Requery Me.subfrmContacts.Requery Me.txtClientID = Forms!xfrmBeast.tabMain txtInvoiceSearch = "" txtAccountNo = "" If intClientID = 0 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "General Contacts" Me.subfrmNotes.Form.lblAdviceNotes.Caption = "General Notes" Me.lblMain.Caption = "Options and Settings" txtInvoiceSearch.Enabled = False txtAccountNo.Enabled = False ElseIf intClientID = 1 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Active Contacts" Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Active Info" Me.lblMain.Caption = "Details about...us" txtInvoiceSearch.Enabled = False txtAccountNo.Enabled = False ElseIf intClientID = 2 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Contacts for Client: " & Me("pg" & intClientID).Caption Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Notes For Client: " & Me("pg" & intClientID).Caption Me.lblMain.Caption = "Bureau Details for: " & Me("pg" & intClientID).Caption txtInvoiceSearch.Enabled = True txtAccountNo.Enabled = True ElseIf intClientID > 1 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Contacts for Client: " & Me("pg" & intClientID).Caption Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Notes For Client: " & Me("pg" & intClientID).Caption Me.lblMain.Caption = "Bureau Details for: " & Me("pg" & intClientID).Caption txtInvoiceSearch.Enabled = True txtAccountNo.Enabled = True End If rs.Close db.Close Set rs = Nothing Set db = Nothing Exit_tabMain_Change: Exit Sub Err_tabMain_Change: MsgBox Err.Number & " " & Err.Description, vbCritical, "Error in tbMain Change" Resume Exit_tabMain_Change End Sub Many thanks Have a great day Darren ----------------- T: 1300 301 731 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, 9 November 2007 9:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] JIT Forms JC: I have a form with about 16 tabs, a bunch of combo boxes, and a bunch of sub-forms. It will not surprise you to learn that it is taking an unacceptably long time to open - 60 seconds on a smallish database over a wireless connection to my laptop (trying to simulate a slow server). I remember something about a form like this that you had and, I believe, loading the combo boxes and sub forms only when a tab got the focus? The combo boxes are bound so I can't wait to put in the row source until they're clicked. But I could load the row source when the tab was activated - store the row source in the tag and load it if it's not there. But there's no activate or got focus event for a tab. There is a mouse move event but I'm not sure that will do to trigger loading of the Row Source and the sub-forms. How did you solve the problem? Regards, 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.24/1117 - Release Date: 11/7/2007 10:52 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.26/1119 - Release Date: 11/8/2007 5:55 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Nov 9 11:34:46 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 9 Nov 2007 09:34:46 -0800 Subject: [AccessD] JIT Forms In-Reply-To: <002601c822eb$09fbe060$6c7aa8c0@M90> References: <00a901c82257$3656b390$0301a8c0@HAL9005><200711082337.lA8Nb536031641@databaseadvisors.com><00c901c8226e$82232f30$0301a8c0@HAL9005><000801c82281$9f58ed70$6c7aa8c0@M90><00f801c8228a$9c178f00$0301a8c0@HAL9005> <002601c822eb$09fbe060$6c7aa8c0@M90> Message-ID: I'm not suggesting binding subforms until they're loaded, John. I don't do that either. I'm saying you don't need a full dataset behind the parent form if all your subforms are going to be bound WHEN THEY'RE LOADED. You can get by with a snapshot of the key fields at most. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, November 09, 2007 8:10 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Charlotte, I don't understand what you are saying here. What problem are you solving? Binding the subforms before they are actually viewed causes the form to slow down as it loads all of the subforms and their respective controls, even though the user may in fact never visit the subforms (that tab). So leave the subform controls with no source object (form name) until the tab is clicked on (JIT subforms). Now in the query for the main form just specify a filter for the PKID of the parent object, claimID if the form displays claims, CustomerID if the form displays customers etc. By feeding the query one specific PKID it will pull only that one record for the main form. The subforms on the tabs do not load until the tab is clicked. That is about as fast as you are going to get to actually load the form and its data. So what are you saying? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, November 09, 2007 10:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] JIT Forms Rocky, If you bind just subforms, not the main form, you solve that problem. Basically, all you need in the main form is the fields to link to, although, they don't have to be in bound controls, so you could populate them from code for each tab. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 08, 2007 8:40 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms I'm good to go. Thanks. However, converting all the combos and subforms to JIT still did not yield an acceptable opening time. The reocrdsource for the main form is retrieving all the records and the navigation buttons are at the bottom of the form. I have asked the client if users would really use those buttons to move from one record to another. I'm thinking not. In which case retrieving one record might be the hot ticket. Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, November 08, 2007 7:36 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms And that is really about all there is to it. Except... You need to be careful about the Link Master / child properties. I leave them set and just change the source object IIRC. Beyond that you need to make the decision whether to leave the subforms bound or unbind them as the user clicks off the tab. And no I don't do anything about loading the combos specifically. Since only the combos on the specific subforms loading are at issue, this will not tend to be a problem. Since everyone else jumped in with info I will let you ask if you need more than that. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 08, 2007 8:19 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Aha. That's what I was looking for. Change event. Too bad there isn't a GotFocus or Activate event for each page. But this will work. I can do a Select Case on the page and load the controls for that page in the case for each tab. That will work! Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren D Sent: Thursday, November 08, 2007 3:37 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Hi Rocky Not so sure about JC's cool JIT logic But there is an OnChange event for Tabs - Way cool very powerful and easy to manipulate See below for some Code snips below I am using for a 10 Tab Form Now it is a snip so some of it may not work correctly etc ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Private Sub tabMain_Change() On Err GoTo Err_tabMain_Change Dim intClientID As Integer intClientID = Me.tabMain Dim tbc As Control Dim pg As Page Dim ctl As Control Dim db As DAO.Database Dim selSQL As String Dim rs As DAO.Recordset Set tbc = Me!tabMain Set pg = tbc.Pages(tbc.Value) 'Current page Set db = CurrentDb selSQL = "SELECT tblClients.ClientID, tblClients.ClientName, tblClients.DatabaseName, tblClients.ClientAbbrev, tblClients.IsCurrent, tblClients.IsNowDeleted FROM tblClients WHERE (((tblClients.IsCurrent)=-1) AND ((tblClients.IsNowDeleted) Is Null Or (tblClients.IsNowDeleted)=0));" Set rs = db.OpenRecordset(selSQL) 'reset things to true or false if true may exist for more thant 1 tab If pg.Name = "pgOptions" Then ' Option Page - Don't show everything for the clients - Show the setup options only Forms!xfrmBeast!subfrmOptions.SourceObject = "sub_frmBeastOptions" Forms!xfrmBeast!subfrmLocalOptions.SourceObject = "sub_frmLocalOptions" Me.subfrmMain.Visible = False Me.tabOptions.Visible = True Me.subfrmNotes.Visible = False Me.subfrmContacts.Visible = False Me.tabSupport.Visible = False 'Determine what controls get seen or used For Each ctl In Me.Controls If ctl.Tag <> "" Then ctl.Enabled = False End If Next ElseIf Me("pg" & Me.tabMain).Caption = "Active" Then ElseIf Me("pg" & Me.tabMain).Caption = "SomeText" Then Me.cmdBFM.Enabled = False Else For Each ctl In Me.Controls If ctl.Tag <> "" Then ctl.Enabled = True End If Next Me.tabOptions.Visible = False End If Me.subfrmMain.Requery Me.subfrmNotes.Requery Me.subfrmContacts.Requery Me.txtClientID = Forms!xfrmBeast.tabMain txtInvoiceSearch = "" txtAccountNo = "" If intClientID = 0 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "General Contacts" Me.subfrmNotes.Form.lblAdviceNotes.Caption = "General Notes" Me.lblMain.Caption = "Options and Settings" txtInvoiceSearch.Enabled = False txtAccountNo.Enabled = False ElseIf intClientID = 1 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Active Contacts" Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Active Info" Me.lblMain.Caption = "Details about...us" txtInvoiceSearch.Enabled = False txtAccountNo.Enabled = False ElseIf intClientID = 2 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Contacts for Client: " & Me("pg" & intClientID).Caption Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Notes For Client: " & Me("pg" & intClientID).Caption Me.lblMain.Caption = "Bureau Details for: " & Me("pg" & intClientID).Caption txtInvoiceSearch.Enabled = True txtAccountNo.Enabled = True ElseIf intClientID > 1 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Contacts for Client: " & Me("pg" & intClientID).Caption Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Notes For Client: " & Me("pg" & intClientID).Caption Me.lblMain.Caption = "Bureau Details for: " & Me("pg" & intClientID).Caption txtInvoiceSearch.Enabled = True txtAccountNo.Enabled = True End If rs.Close db.Close Set rs = Nothing Set db = Nothing Exit_tabMain_Change: Exit Sub Err_tabMain_Change: MsgBox Err.Number & " " & Err.Description, vbCritical, "Error in tbMain Change" Resume Exit_tabMain_Change End Sub Many thanks Have a great day Darren ----------------- T: 1300 301 731 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, 9 November 2007 9:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] JIT Forms JC: I have a form with about 16 tabs, a bunch of combo boxes, and a bunch of sub-forms. It will not surprise you to learn that it is taking an unacceptably long time to open - 60 seconds on a smallish database over a wireless connection to my laptop (trying to simulate a slow server). I remember something about a form like this that you had and, I believe, loading the combo boxes and sub forms only when a tab got the focus? The combo boxes are bound so I can't wait to put in the row source until they're clicked. But I could load the row source when the tab was activated - store the row source in the tag and load it if it's not there. But there's no activate or got focus event for a tab. There is a mouse move event but I'm not sure that will do to trigger loading of the Row Source and the sub-forms. How did you solve the problem? Regards, 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.24/1117 - Release Date: 11/7/2007 10:52 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.26/1119 - Release Date: 11/8/2007 5:55 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 9 11:56:16 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 9 Nov 2007 09:56:16 -0800 Subject: [AccessD] JIT Forms In-Reply-To: References: <00a901c82257$3656b390$0301a8c0@HAL9005><200711082337.lA8Nb536031641@databaseadvisors.com><00c901c8226e$82232f30$0301a8c0@HAL9005><000801c82281$9f58ed70$6c7aa8c0@M90><00f801c8228a$9c178f00$0301a8c0@HAL9005><002601c822eb$09fbe060$6c7aa8c0@M90> Message-ID: <003c01c822f9$d36c9990$0301a8c0@HAL9005> Unfortunately, in my case. MOST of the bound fields are not in subforms but scattered throughout the multiple tabs. I think we're going for the one record or very few records approach by modifying the Record Source on the fly rather than using form filters as it is now. Hopefully that reduces what's coming over the wire. Brings up another question - if a filter is set on Open, do all the records come over anyway and access just makes the filtered subset available to the form? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, November 09, 2007 9:35 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] JIT Forms I'm not suggesting binding subforms until they're loaded, John. I don't do that either. I'm saying you don't need a full dataset behind the parent form if all your subforms are going to be bound WHEN THEY'RE LOADED. You can get by with a snapshot of the key fields at most. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, November 09, 2007 8:10 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Charlotte, I don't understand what you are saying here. What problem are you solving? Binding the subforms before they are actually viewed causes the form to slow down as it loads all of the subforms and their respective controls, even though the user may in fact never visit the subforms (that tab). So leave the subform controls with no source object (form name) until the tab is clicked on (JIT subforms). Now in the query for the main form just specify a filter for the PKID of the parent object, claimID if the form displays claims, CustomerID if the form displays customers etc. By feeding the query one specific PKID it will pull only that one record for the main form. The subforms on the tabs do not load until the tab is clicked. That is about as fast as you are going to get to actually load the form and its data. So what are you saying? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, November 09, 2007 10:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] JIT Forms Rocky, If you bind just subforms, not the main form, you solve that problem. Basically, all you need in the main form is the fields to link to, although, they don't have to be in bound controls, so you could populate them from code for each tab. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 08, 2007 8:40 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms I'm good to go. Thanks. However, converting all the combos and subforms to JIT still did not yield an acceptable opening time. The reocrdsource for the main form is retrieving all the records and the navigation buttons are at the bottom of the form. I have asked the client if users would really use those buttons to move from one record to another. I'm thinking not. In which case retrieving one record might be the hot ticket. Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, November 08, 2007 7:36 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms And that is really about all there is to it. Except... You need to be careful about the Link Master / child properties. I leave them set and just change the source object IIRC. Beyond that you need to make the decision whether to leave the subforms bound or unbind them as the user clicks off the tab. And no I don't do anything about loading the combos specifically. Since only the combos on the specific subforms loading are at issue, this will not tend to be a problem. Since everyone else jumped in with info I will let you ask if you need more than that. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 08, 2007 8:19 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Aha. That's what I was looking for. Change event. Too bad there isn't a GotFocus or Activate event for each page. But this will work. I can do a Select Case on the page and load the controls for that page in the case for each tab. That will work! Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren D Sent: Thursday, November 08, 2007 3:37 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Hi Rocky Not so sure about JC's cool JIT logic But there is an OnChange event for Tabs - Way cool very powerful and easy to manipulate See below for some Code snips below I am using for a 10 Tab Form Now it is a snip so some of it may not work correctly etc ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Private Sub tabMain_Change() On Err GoTo Err_tabMain_Change Dim intClientID As Integer intClientID = Me.tabMain Dim tbc As Control Dim pg As Page Dim ctl As Control Dim db As DAO.Database Dim selSQL As String Dim rs As DAO.Recordset Set tbc = Me!tabMain Set pg = tbc.Pages(tbc.Value) 'Current page Set db = CurrentDb selSQL = "SELECT tblClients.ClientID, tblClients.ClientName, tblClients.DatabaseName, tblClients.ClientAbbrev, tblClients.IsCurrent, tblClients.IsNowDeleted FROM tblClients WHERE (((tblClients.IsCurrent)=-1) AND ((tblClients.IsNowDeleted) Is Null Or (tblClients.IsNowDeleted)=0));" Set rs = db.OpenRecordset(selSQL) 'reset things to true or false if true may exist for more thant 1 tab If pg.Name = "pgOptions" Then ' Option Page - Don't show everything for the clients - Show the setup options only Forms!xfrmBeast!subfrmOptions.SourceObject = "sub_frmBeastOptions" Forms!xfrmBeast!subfrmLocalOptions.SourceObject = "sub_frmLocalOptions" Me.subfrmMain.Visible = False Me.tabOptions.Visible = True Me.subfrmNotes.Visible = False Me.subfrmContacts.Visible = False Me.tabSupport.Visible = False 'Determine what controls get seen or used For Each ctl In Me.Controls If ctl.Tag <> "" Then ctl.Enabled = False End If Next ElseIf Me("pg" & Me.tabMain).Caption = "Active" Then ElseIf Me("pg" & Me.tabMain).Caption = "SomeText" Then Me.cmdBFM.Enabled = False Else For Each ctl In Me.Controls If ctl.Tag <> "" Then ctl.Enabled = True End If Next Me.tabOptions.Visible = False End If Me.subfrmMain.Requery Me.subfrmNotes.Requery Me.subfrmContacts.Requery Me.txtClientID = Forms!xfrmBeast.tabMain txtInvoiceSearch = "" txtAccountNo = "" If intClientID = 0 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "General Contacts" Me.subfrmNotes.Form.lblAdviceNotes.Caption = "General Notes" Me.lblMain.Caption = "Options and Settings" txtInvoiceSearch.Enabled = False txtAccountNo.Enabled = False ElseIf intClientID = 1 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Active Contacts" Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Active Info" Me.lblMain.Caption = "Details about...us" txtInvoiceSearch.Enabled = False txtAccountNo.Enabled = False ElseIf intClientID = 2 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Contacts for Client: " & Me("pg" & intClientID).Caption Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Notes For Client: " & Me("pg" & intClientID).Caption Me.lblMain.Caption = "Bureau Details for: " & Me("pg" & intClientID).Caption txtInvoiceSearch.Enabled = True txtAccountNo.Enabled = True ElseIf intClientID > 1 Then Me.subfrmContacts.Form.lblAdviceContacts.Caption = "Contacts for Client: " & Me("pg" & intClientID).Caption Me.subfrmNotes.Form.lblAdviceNotes.Caption = "Notes For Client: " & Me("pg" & intClientID).Caption Me.lblMain.Caption = "Bureau Details for: " & Me("pg" & intClientID).Caption txtInvoiceSearch.Enabled = True txtAccountNo.Enabled = True End If rs.Close db.Close Set rs = Nothing Set db = Nothing Exit_tabMain_Change: Exit Sub Err_tabMain_Change: MsgBox Err.Number & " " & Err.Description, vbCritical, "Error in tbMain Change" Resume Exit_tabMain_Change End Sub Many thanks Have a great day Darren ----------------- T: 1300 301 731 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, 9 November 2007 9:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] JIT Forms JC: I have a form with about 16 tabs, a bunch of combo boxes, and a bunch of sub-forms. It will not surprise you to learn that it is taking an unacceptably long time to open - 60 seconds on a smallish database over a wireless connection to my laptop (trying to simulate a slow server). I remember something about a form like this that you had and, I believe, loading the combo boxes and sub forms only when a tab got the focus? The combo boxes are bound so I can't wait to put in the row source until they're clicked. But I could load the row source when the tab was activated - store the row source in the tag and load it if it's not there. But there's no activate or got focus event for a tab. There is a mouse move event but I'm not sure that will do to trigger loading of the Row Source and the sub-forms. How did you solve the problem? Regards, 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.24/1117 - Release Date: 11/7/2007 10:52 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.26/1119 - Release Date: 11/8/2007 5:55 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.26/1119 - Release Date: 11/8/2007 5:55 PM From jwcolby at colbyconsulting.com Fri Nov 9 12:15:41 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 9 Nov 2007 13:15:41 -0500 Subject: [AccessD] JIT Forms In-Reply-To: <003c01c822f9$d36c9990$0301a8c0@HAL9005> References: <00a901c82257$3656b390$0301a8c0@HAL9005><200711082337.lA8Nb536031641@databaseadvisors.com><00c901c8226e$82232f30$0301a8c0@HAL9005><000801c82281$9f58ed70$6c7aa8c0@M90><00f801c8228a$9c178f00$0301a8c0@HAL9005><002601c822eb$09fbe060$6c7aa8c0@M90> <003c01c822f9$d36c9990$0301a8c0@HAL9005> Message-ID: <002d01c822fc$8a618910$6c7aa8c0@M90> I think so. What I do is set one of my fltr "ClientID", someClientID and then place fltr("ClientID") in the ClientID field (where) of the source query for the form to cause the form to filter down to a single record. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, November 09, 2007 12:56 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Unfortunately, in my case. MOST of the bound fields are not in subforms but scattered throughout the multiple tabs. I think we're going for the one record or very few records approach by modifying the Record Source on the fly rather than using form filters as it is now. Hopefully that reduces what's coming over the wire. Brings up another question - if a filter is set on Open, do all the records come over anyway and access just makes the filtered subset available to the form? Rocky From rockysmolin at bchacc.com Fri Nov 9 12:36:17 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 9 Nov 2007 10:36:17 -0800 Subject: [AccessD] JIT Forms In-Reply-To: <002d01c822fc$8a618910$6c7aa8c0@M90> References: <00a901c82257$3656b390$0301a8c0@HAL9005><200711082337.lA8Nb536031641@databaseadvisors.com><00c901c8226e$82232f30$0301a8c0@HAL9005><000801c82281$9f58ed70$6c7aa8c0@M90><00f801c8228a$9c178f00$0301a8c0@HAL9005><002601c822eb$09fbe060$6c7aa8c0@M90><003c01c822f9$d36c9990$0301a8c0@HAL9005> <002d01c822fc$8a618910$6c7aa8c0@M90> Message-ID: <005001c822ff$6ad92640$0301a8c0@HAL9005> So then you can't be opening the form with the record source set, yes? Because it's likely to execute before you put the filter in the filter in the ClientID field. So are you setting the Record Source after putting the filter into ClientID? And, if so, what's the advantage of just modifying the Record Source in the open (or maybe load?) event and adding the WHERE clause based on the record ID that you want to fetch? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, November 09, 2007 10:16 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms I think so. What I do is set one of my fltr "ClientID", someClientID and then place fltr("ClientID") in the ClientID field (where) of the source query for the form to cause the form to filter down to a single record. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, November 09, 2007 12:56 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Unfortunately, in my case. MOST of the bound fields are not in subforms but scattered throughout the multiple tabs. I think we're going for the one record or very few records approach by modifying the Record Source on the fly rather than using form filters as it is now. Hopefully that reduces what's coming over the wire. Brings up another question - if a filter is set on Open, do all the records come over anyway and access just makes the filtered subset available to the form? Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.26/1119 - Release Date: 11/8/2007 5:55 PM From andy at minstersystems.co.uk Fri Nov 9 12:48:00 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 9 Nov 2007 18:48:00 -0000 Subject: [AccessD] JIT Forms In-Reply-To: <005001c822ff$6ad92640$0301a8c0@HAL9005> Message-ID: <01fd01c82301$10c95ab0$cefa033e@minster33c3r25> What you might want to do Rocky is set the form's recordsource to something wich returns no records, eg WHERE Keyfield=-1. Then you can manipulate the Recordsource when you want to select record or move back and forth, knowing that initially you'll get no records. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin at Beach Access Software > Sent: 09 November 2007 18:36 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] JIT Forms > > > So then you can't be opening the form with the record source > set, yes? Because it's likely to execute before you put the > filter in the filter in the ClientID field. So are you > setting the Record Source after putting the filter into ClientID? > > And, if so, what's the advantage of just modifying the Record > Source in the open (or maybe load?) event and adding the > WHERE clause based on the record ID that you want to fetch? > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Friday, November 09, 2007 10:16 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] JIT Forms > > I think so. What I do is set one of my > > fltr "ClientID", someClientID > > and then place fltr("ClientID") in the ClientID field (where) > of the source query for the form to cause the form to filter > down to a single record. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin at Beach Access Software > Sent: Friday, November 09, 2007 12:56 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] JIT Forms > > Unfortunately, in my case. MOST of the bound fields are not > in subforms but scattered throughout the multiple tabs. > > I think we're going for the one record or very few records > approach by modifying the Record Source on the fly rather > than using form filters as it is now. Hopefully that reduces > what's coming over the wire. > > Brings up another question - if a filter is set on Open, do > all the records come over anyway and access just makes the > filtered subset available to the form? > > Rocky > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.15.26/1119 - Release > Date: 11/8/2007 5:55 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From rockysmolin at bchacc.com Fri Nov 9 12:54:13 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 9 Nov 2007 10:54:13 -0800 Subject: [AccessD] JIT Forms In-Reply-To: <01fd01c82301$10c95ab0$cefa033e@minster33c3r25> References: <005001c822ff$6ad92640$0301a8c0@HAL9005> <01fd01c82301$10c95ab0$cefa033e@minster33c3r25> Message-ID: <005a01c82301$ec1074a0$0301a8c0@HAL9005> Capital idea! Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Friday, November 09, 2007 10:48 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms What you might want to do Rocky is set the form's recordsource to something wich returns no records, eg WHERE Keyfield=-1. Then you can manipulate the Recordsource when you want to select record or move back and forth, knowing that initially you'll get no records. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: 09 November 2007 18:36 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] JIT Forms > > > So then you can't be opening the form with the record source set, yes? > Because it's likely to execute before you put the filter in the filter > in the ClientID field. So are you setting the Record Source after > putting the filter into ClientID? > > And, if so, what's the advantage of just modifying the Record Source > in the open (or maybe load?) event and adding the WHERE clause based > on the record ID that you want to fetch? > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Friday, November 09, 2007 10:16 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] JIT Forms > > I think so. What I do is set one of my > > fltr "ClientID", someClientID > > and then place fltr("ClientID") in the ClientID field (where) of the > source query for the form to cause the form to filter down to a single > record. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Friday, November 09, 2007 12:56 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] JIT Forms > > Unfortunately, in my case. MOST of the bound fields are not in > subforms but scattered throughout the multiple tabs. > > I think we're going for the one record or very few records approach by > modifying the Record Source on the fly rather than using form filters > as it is now. Hopefully that reduces what's coming over the wire. > > Brings up another question - if a filter is set on Open, do all the > records come over anyway and access just makes the filtered subset > available to the form? > > Rocky > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.15.26/1119 - Release > Date: 11/8/2007 5:55 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.26/1119 - Release Date: 11/8/2007 5:55 PM From jwcolby at colbyconsulting.com Fri Nov 9 14:09:26 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 9 Nov 2007 15:09:26 -0500 Subject: [AccessD] JIT Forms In-Reply-To: <005001c822ff$6ad92640$0301a8c0@HAL9005> References: <00a901c82257$3656b390$0301a8c0@HAL9005><200711082337.lA8Nb536031641@databaseadvisors.com><00c901c8226e$82232f30$0301a8c0@HAL9005><000801c82281$9f58ed70$6c7aa8c0@M90><00f801c8228a$9c178f00$0301a8c0@HAL9005><002601c822eb$09fbe060$6c7aa8c0@M90><003c01c822f9$d36c9990$0301a8c0@HAL9005><002d01c822fc$8a618910$6c7aa8c0@M90> <005001c822ff$6ad92640$0301a8c0@HAL9005> Message-ID: <003201c8230c$6dfd0fa0$6c7aa8c0@M90> Nope, the code that opens the form sets the filter, then opens the form. In this kind of situation you will always be selecting some item (claim, person etc) so the code that selects that person then sets the filter and opens the form. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, November 09, 2007 1:36 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms So then you can't be opening the form with the record source set, yes? Because it's likely to execute before you put the filter in the filter in the ClientID field. So are you setting the Record Source after putting the filter into ClientID? And, if so, what's the advantage of just modifying the Record Source in the open (or maybe load?) event and adding the WHERE clause based on the record ID that you want to fetch? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, November 09, 2007 10:16 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms I think so. What I do is set one of my fltr "ClientID", someClientID and then place fltr("ClientID") in the ClientID field (where) of the source query for the form to cause the form to filter down to a single record. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, November 09, 2007 12:56 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Unfortunately, in my case. MOST of the bound fields are not in subforms but scattered throughout the multiple tabs. I think we're going for the one record or very few records approach by modifying the Record Source on the fly rather than using form filters as it is now. Hopefully that reduces what's coming over the wire. Brings up another question - if a filter is set on Open, do all the records come over anyway and access just makes the filtered subset available to the form? Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.26/1119 - Release Date: 11/8/2007 5:55 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Fri Nov 9 14:47:37 2007 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 9 Nov 2007 14:47:37 -0600 Subject: [AccessD] JIT Forms In-Reply-To: <003201c8230c$6dfd0fa0$6c7aa8c0@M90> References: <00a901c82257$3656b390$0301a8c0@HAL9005><200711082337.lA8Nb536031641@databaseadvisors.com><00c901c8226e$82232f30$0301a8c0@HAL9005><000801c82281$9f58ed70$6c7aa8c0@M90><00f801c8228a$9c178f00$0301a8c0@HAL9005><002601c822eb$09fbe060$6c7aa8c0@M90><003c01c822f9$d36c9990$0301a8c0@HAL9005><002d01c822fc$8a618910$6c7aa8c0@M90><005001c822ff$6ad92640$0301a8c0@HAL9005> <003201c8230c$6dfd0fa0$6c7aa8c0@M90> Message-ID: <003401c82311$c33f4960$0200a8c0@danwaters> John - I've been briefly following this thread. Is this being done with an Access BE or with a SQL Server BE? If Access, how much improvement did you see? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, November 09, 2007 2:09 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Nope, the code that opens the form sets the filter, then opens the form. In this kind of situation you will always be selecting some item (claim, person etc) so the code that selects that person then sets the filter and opens the form. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, November 09, 2007 1:36 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms So then you can't be opening the form with the record source set, yes? Because it's likely to execute before you put the filter in the filter in the ClientID field. So are you setting the Record Source after putting the filter into ClientID? And, if so, what's the advantage of just modifying the Record Source in the open (or maybe load?) event and adding the WHERE clause based on the record ID that you want to fetch? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, November 09, 2007 10:16 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms I think so. What I do is set one of my fltr "ClientID", someClientID and then place fltr("ClientID") in the ClientID field (where) of the source query for the form to cause the form to filter down to a single record. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, November 09, 2007 12:56 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms Unfortunately, in my case. MOST of the bound fields are not in subforms but scattered throughout the multiple tabs. I think we're going for the one record or very few records approach by modifying the Record Source on the fly rather than using form filters as it is now. Hopefully that reduces what's coming over the wire. Brings up another question - if a filter is set on Open, do all the records come over anyway and access just makes the filtered subset available to the form? Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.26/1119 - Release Date: 11/8/2007 5:55 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 9 15:13:18 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 9 Nov 2007 16:13:18 -0500 Subject: [AccessD] JIT Forms In-Reply-To: <003401c82311$c33f4960$0200a8c0@danwaters> References: <00a901c82257$3656b390$0301a8c0@HAL9005><200711082337.lA8Nb536031641@databaseadvisors.com><00c901c8226e$82232f30$0301a8c0@HAL9005><000801c82281$9f58ed70$6c7aa8c0@M90><00f801c8228a$9c178f00$0301a8c0@HAL9005><002601c822eb$09fbe060$6c7aa8c0@M90><003c01c822f9$d36c9990$0301a8c0@HAL9005><002d01c822fc$8a618910$6c7aa8c0@M90><005001c822ff$6ad92640$0301a8c0@HAL9005><003201c8230c$6dfd0fa0$6c7aa8c0@M90> <003401c82311$c33f4960$0200a8c0@danwaters> Message-ID: <003a01c82315$5a7e9670$6c7aa8c0@M90> Dan, In fact the data store is not the issue, although in my experience an Access data store is often faster than a SQL Server data store. It really doesn't matter however. What you are trying to do in either case is to reduce the data pulled. This discussion is about two strategies, not related. 1) Pull only one record for the main form 2) Use JIT subforms for the child records for the main form. These two strategies increase the speed ("feel") of the system for very different reasons. Pulling only one record for the main form obviously increases the speed simply because the form will not open until a bunch of records are pulled. It does NOT wait for all of them but it does wait for about 100 or so (if there are that many). Thus by pulling just one, the form opens as soon as that one record loads. The JIT subforms increases the speed for a different reason, that being that subforms populate before the main form. Thus the main form has to wait for all the subforms to populate before the main form populates and displays. Obviously, the more subforms, the larger the gains of going to JIT subforms. By implementing both of these strategies you can IN SOME INSTANCES decrease the load time of the main form immensely. In some cases the load time decrease will not be noticeable. It really depends on a number of factors including the number of people in the database, the speed of the network and amount of network traffic, the number of records being pulled in the main form and the number of subforms. It is therefore impossible to generalize about how much it will help, but it will always help some amount. I can tell you that when both of these strategies were applied I dropped the form open time of a VERY complex form with 25 users on a slow network on slow machines from 15-25 seconds down to 3-7 seconds. That is worth doing! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, November 09, 2007 3:48 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] JIT Forms John - I've been briefly following this thread. Is this being done with an Access BE or with a SQL Server BE? If Access, how much improvement did you see? Dan From adtp at airtelbroadband.in Fri Nov 9 23:17:59 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Sat, 10 Nov 2007 10:47:59 +0530 Subject: [AccessD] storing last item on the page References: <001601c820ae$821c9a10$4b3a8343@SusanOne><003301c82105$babcfd40$ 8c57a27a@personalec1122><003f01c8213b$9abb4390$4b3a8343@SusanOne><004101c82 2a5$4dd21160$8a57a27a@personalec1122> <002b01c822e0$ae5fc5f0$4b3a8343@SusanOne> Message-ID: <013401c82361$370678b0$0157a27a@personalec1122> You are most welcome Susan! Thanks for the generous compliment. Glad you could make a success of it. A.D.Tejpal ------------ ----- Original Message ----- From: Susan Harkins To: Access Developers discussion and problem solving Sent: Friday, November 09, 2007 20:26 Subject: Re: [AccessD] storing last item on the page A.D., you are a genius -- you are right, I had the code right, just executing it in reverse! Private Sub PageFooterSection_Format(Cancel As Integer, FormatCount As Integer) Me.txtFooterFirst = Me.txtHeaderFirst Me.txtHeaderLast = Me.txtFooterLast If Me.Pages = 0 Then col.Add Me.txtFooterLast.Value, CStr(Me.Page) End If End Sub Private Sub PageHeaderSection_Print(Cancel As Integer, PrintCount As Integer) Me.txtHeaderLast = col(Me.Page) End Sub Private Sub Report_Close() Set col = Nothing End Sub It's working perfectly now -- thank you A.D. I was going to rearrange things this morning, after sleeping on the problem last night, but your message helped a lot. I would've been working purely on speculation and you gave me a map. ;) Now, I don't know if anyone else agrees with me, but I think this is much simpler than the more common array solution. Susan H. > 2 - Page Footer is the appropriate place to grab a value from last > record of detail section and add it to the collection. You are wrongly > using Page Header for this purpose. > > 3 - You are using Page Footer to assign a value (from collection) to > txtHeaderLast. In view of the nature of forward time flow during report > execution, the effect of such assignment materializes only on the next > page. This defeats the very purpose of building a collection of last > values in forced first pass of formatting. The proper place for making > such an assignment is Page Header (preferably its print event, as by then, > building up of collection during prior formatting pass, is complete). > > Sample code in report's module, as given below, demonstrates collection > based solution. All the four controls (TxtHeaderFirst, TxtHeaderLast, > TxtFooterFirst, TxtFooterLast) are unbound. In the sample code, "Title" is > the name of control in detail section whose first and last values are > required to be displayed in page header as well as footer. You can > substitute the name of actual control in your report, suitably. > > A.D.Tejpal From adtp at airtelbroadband.in Sat Nov 10 00:15:29 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Sat, 10 Nov 2007 11:45:29 +0530 Subject: [AccessD] storing last item on the page References: <001601c820ae$821c9a10$4b3a8343@SusanOne><003301c82105$babcfd40$ 8c57a27a@personalec1122><003f01c8213b$9abb4390$4b3a8343@SusanOne><004101c82 2a5$4dd21160$8a57a27a@personalec1122> <001901c822ca$4bd900b0$6c7aa8c0@M90> Message-ID: <013501c82361$375052f0$0157a27a@personalec1122> John, That is exactly the point. The requirement in this particular case was "point of time value as per flow of report execution". Hence the need for ensuring a collection of the then value held by the control and not the control object itself. Susan's objective was to store page-wise contents of TxtFooterLast (located in page footer) in a collection. With her original code, each element of this collection happened to become a pointer to the text box TxtFooterLast itself, even though Debug.Print statement did show the correct point of time value (as Value happens to be the default property of a text box control). For example, on a three page report, where TxtFooterLast displays "A", "B", "C" respectively on the three pages, the actual collection became: TxtFooterLast, TxtFooterLast, TxtFooterLast (instead of intended "A", "B", "C" as per Debug.Print statement) Best wishes, A.D.Tejpal ------------ ----- Original Message ----- From: jwcolby To: 'Access Developers discussion and problem solving' Sent: Friday, November 09, 2007 17:46 Subject: Re: [AccessD] storing last item on the page A.D. An array can store a control just as easily. And yes, you need to be aware of what you are storing, since if you store a control a number of things can occur that can be confusing. For example, if you store a control, the value of the control can change between when you stored that control and when you use it, and in fact can continue to change as long as the collection is stored. OTOH, if you store the control's VALUE then that value is captured in time, and while the control may continue to change, it's value back when it was stored will still be available. It really depends on what you need to do, but you definitely need to keep this in mind. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Friday, November 09, 2007 2:49 AM To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Subject: Re: [AccessD] storing last item on the page You have not given any reason as to why you wish to avoid array based solution. Apparently, you are keen to implement collection based solution as an alternative. In your second post, describing the unsuccessful attempt to work out collection based solution, you stated "I'm clueless -- I have no idea what's happening here." It is observed that the following factors are contributing to the problem: 1 - You have landed into an interesting pitfall typical of collections. Whenever a collection's Add method is used, you have to be careful as to what exactly is being added. If you use the syntax col.Add Me.MyControl, it becomes a collection of control objects. For making it a collection of control contents, you have to use Value property of the control. 2 - Page Footer is the appropriate place to grab a value from last record of detail section and add it to the collection. You are wrongly using Page Header for this purpose. 3 - You are using Page Footer to assign a value (from collection) to txtHeaderLast. In view of the nature of forward time flow during report execution, the effect of such assignment materializes only on the next page. This defeats the very purpose of building a collection of last values in forced first pass of formatting. The proper place for making such an assignment is Page Header (preferably its print event, as by then, building up of collection during prior formatting pass, is complete). Sample code in report's module, as given below, demonstrates collection based solution. All the four controls (TxtHeaderFirst, TxtHeaderLast, TxtFooterFirst, TxtFooterLast) are unbound. In the sample code, "Title" is the name of control in detail section whose first and last values are required to be displayed in page header as well as footer. You can substitute the name of actual control in your report, suitably. A.D.Tejpal ------------ Code in report's module '================================== ' Declarations section Private col As New Collection '--------------------------------------------------- Private Sub PageFooterSection_Format(Cancel _ As Integer, FormatCount As Integer) Me.TxtFooterLast = Me.Title If Me.Pages = 0 Then col.Add Me.Title.Value, CStr(Me.Page) ' (A) End If ' Caution - There is a potential pitfall here. ' In statement (A), while adding items to ' collection, Value property of the control ' in question MUST be used. Otherwise, ' it will become a collection of control ' objects (not the contents as intended), ' leading to weird results. End Sub '--------------------------------------------------- Private Sub PageHeaderSection_Format(Cancel _ As Integer, FormatCount As Integer) Me.TxtHeaderFirst = Me.Title Me.TxtFooterFirst = Me.Title End Sub '--------------------------------------------------- Private Sub PageHeaderSection_Print(Cancel _ As Integer, PrintCount As Integer) Me.TxtHeaderLast = col(CStr(Me.Page)) End Sub '--------------------------------------------------- Private Sub Report_Close() Set col = Nothing End Sub '================================== ----- Original Message ----- From: Susan Harkins To: Access Developers discussion and problem solving Sent: Wednesday, November 07, 2007 18:11 Subject: Re: [AccessD] storing last item on the page I'm not convinced an array is necessary -- I've seen that solution. Have you seen the collection solution I tried and posted late last night? Susan H. From adtp at airtelbroadband.in Sat Nov 10 07:13:51 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Sat, 10 Nov 2007 18:43:51 +0530 Subject: [AccessD] storing last item on the page References: <001601c820ae$821c9a10$4b3a8343@SusanOne><003301c82105$babcfd40$ 8c57a27a@personalec1122><003f01c8213b$9abb4390$4b3a8343@SusanOne><004101c82 2a5$4dd21160$8a57a27a@personalec1122> <00a301c822e6$57e00220$4b3a8343@SusanOne> Message-ID: <006f01c8239b$b4e504b0$7157a27a@personalec1122> In your code, second statement in page footer's format event is also redundant. The real assignment for txtHeaderLast is taking place in page header's print event. First two lines of existing code block can be removed. The only portion required in page footer's format event is the block of three lines meant to build up the collection. In page header's print event, while retrieving information from collection object, you have used number argument, which returns values as per index position in collection. This method does not take advantage of key strings that you have embedded (via CStr(Me.Page) as the second argument) while adding to the collection. Though in the present case, your results are not affected (being a simple situation), it is considered preferable in the interest of greater reliability to retrieve values using key (where available) instead of number index (specially if the collection is likely to get disturbed for some reason). Second statement in page header's print event would then become: Me.txtHeaderLast = col(CStr(Me.Page)) On the other hand, if you wish to continue using number index, it is not necessary to provide the second argument (for key string) in collection's Add method. The existing statement in page footer's format event would then become: col.Add Me.txtFooterLast.Value A.D.Tejpal ------------ ----- Original Message ----- From: Susan Harkins To: Access Developers discussion and problem solving Sent: Friday, November 09, 2007 21:06 Subject: Re: [AccessD] storing last item on the page Small correction to the previous code I posted -- I had to move the Me.txtFooterFirst statement back to the PageHeaderSection event. Susan H. Private Sub PageFooterSection_Format(Cancel As Integer, FormatCount As Integer) 'Me.txtFooterFirst = Me.txtHeaderFirst Me.txtHeaderLast = Me.txtFooterLast If Me.Pages = 0 Then col.Add Me.txtFooterLast.Value, CStr(Me.Page) End If End Sub Private Sub PageHeaderSection_Print(Cancel As Integer, PrintCount As Integer) Me.txtFooterFirst = Me.txtHeaderFirst Me.txtHeaderLast = col(Me.Page) End Sub Private Sub Report_Close() Set col = Nothing End Sub From dwaters at usinternet.com Sat Nov 10 07:18:51 2007 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 10 Nov 2007 07:18:51 -0600 Subject: [AccessD] Access 2000 Security Patches - Not Included in Office Update Message-ID: <001101c8239c$3cff6520$0200a8c0@danwaters> Tony Toews is reporting on his blog that Access 2000 Security Patches are NOT automatically included with Office Update. But he does describe how to get them: http://msmvps.com/blogs/access/archive/2007/11/09/access-2000-security-patch es.aspx (Watch Wrap) Dan Waters From ssharkins at gmail.com Sat Nov 10 08:33:49 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 10 Nov 2007 09:33:49 -0500 Subject: [AccessD] storing last item on the page References: <001601c820ae$821c9a10$4b3a8343@SusanOne><003301c82105$babcfd40$8c57a27a@personalec1122><003f01c8213b$9abb4390$4b3a8343@SusanOne><004101c822a5$4dd21160$8a57a27a@personalec1122> <00a301c822e6$57e00220$4b3a8343@SusanOne> <006f01c8239b$b4e504b0$7157a27a@personalec1122> Message-ID: <002501c823a6$b905fda0$4b3a8343@SusanOne> > In your code, second statement in page footer's format event is also > redundant. The real assignment for txtHeaderLast is taking place in page > header's print event. First two lines of existing code block can be > removed. The only portion required in page footer's format event is the > block of three lines meant to build up the collection. ======Oh, you're right. I think that's just a residual from my original attempt and I did a bad job of cleaning up. Thanks for pointing that out. > > In page header's print event, while retrieving information from > collection object, you have used number argument, which returns values as > per index position in collection. This method does not take advantage of > key strings that you have embedded (via CStr(Me.Page) as the second > argument) while adding to the collection. Though in the present case, your > results are not affected (being a simple situation), it is considered > preferable in the interest of greater reliability to retrieve values using > key (where available) instead of number index (specially if the collection > is likely to get disturbed for some reason). Second statement in page > header's print event would then become: > > Me.txtHeaderLast = col(CStr(Me.Page)) > > On the other hand, if you wish to continue using number index, it is > not necessary to provide the second argument (for key string) in > collection's Add method. The existing statement in page footer's format > event would then become: > > col.Add Me.txtFooterLast.Value =======I don't understand what you're saying. I'm really sorry -- let me ask a few questions, so you don't have to repeat yourself. I do see the inconsistency now that you point it out -- I use CStr(Me.Page) to store that value as a string, as required by the Collection object, but then I used Me.Page to retrieve members -- so I think what you're saying is that the code isn't even using the Me.Page value to retrieve values? That's where I get lost. If not the Me.Page value, then what? Thanks for your help. Susan H. From bheid at sc.rr.com Sat Nov 10 16:21:23 2007 From: bheid at sc.rr.com (Bobby Heid) Date: Sat, 10 Nov 2007 17:21:23 -0500 Subject: [AccessD] OT: A great night observing In-Reply-To: <003a01c820e9$19c48f00$6c7aa8c0@M90> References: <003a01c820e9$19c48f00$6c7aa8c0@M90> Message-ID: <000f01c823e8$073444f0$159cced0$@rr.com> John, Did you ever get that scope that we talked about? If so, which one? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 06, 2007 9:51 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: A great night observing I had good skies tonight and spent about an hour out looking at the north east quadrant of the skies. I went out specifically to see if I could find the comet Holmes. It turned out to be dead easy using Starry Nights. The program loads the location of comets and satellites and so forth so I was able to print out a star chart with the location of Holmes. It took all of about 2 minutes to find it. It is HUGE, although it is now growing so big that it is really just a big ball of gas with a very slightly brighter center area. I dragged my son Robbie and my wife Mary out to see it. Quite cool. Of course it is also quite cold now (about 38 degrees out right now) so Robbie and Mary quickly hurried back in the house. I stayed out to try and hunt down something else interesting. Being totally new to this stuff I have a lot of difficulty finding things, in fact even knowing where I am looking. I was trying to find the owl cluster and from there the little dumbbell nebula M76 but was not able to do so. I THINK I found the Andromeda galaxy M31. However looking at the chart now (inside the house) I notice that there are three M objects m110, m32 and M31 quite close together and I did not notice any other fuzzy in the immediate neighborhood so perhaps I (once again) was not looking where I thought I was. The area I was looking at was close to directly over head, which makes using the finder a pain. Anyway, it was a fun evening. I spent about an hour out there until my ears were starting to get numb and it was time to pack it in. Saturday the "local" astronomy club is supposed to be meeting at a dark site, specific location to be determined. I hope to make it to the gathering. My telescope is an 8" DOB, an Orion Skyquest XT8 and it has a computerized object locator, a "digital setting circle" which, if I could figure out how to do the scope setup and calibration, would then allow me to "push to" just about any object visible at my location. I am hoping to get some instruction on how to do this from club members Saturday night. John W. Colby Colby Consulting www.ColbyConsulting.com From jwcolby at colbyconsulting.com Sat Nov 10 18:15:16 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 10 Nov 2007 19:15:16 -0500 Subject: [AccessD] OT: A great night observing In-Reply-To: <000f01c823e8$073444f0$159cced0$@rr.com> References: <003a01c820e9$19c48f00$6c7aa8c0@M90> <000f01c823e8$073444f0$159cced0$@rr.com> Message-ID: <005901c823f7$f0bf6af0$6c7aa8c0@M90> I ended up buying a used 8" DOB Orion Intelliscope with digital setting circles and a "push to" computer. The computer will allow you to enter a target object and push the scope manually. The computer will count down to zero as you get closer and closer. When the computer reads 0,0 then you are looking at the object. I have yet to figure that out but I have used the scope manually (without the computer). 8" is nice, and it is easily luggable. I would like to get a 10" or 12" some day but it will be awhile, and I want to use what I have to get to know the skies before I go looking at a bigger scope. If I can Figure out the computer then it will help me actually find some of the many available. I think I found Andromeda the other night. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Saturday, November 10, 2007 5:21 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: A great night observing John, Did you ever get that scope that we talked about? If so, which one? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 06, 2007 9:51 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: A great night observing I had good skies tonight and spent about an hour out looking at the north east quadrant of the skies. I went out specifically to see if I could find the comet Holmes. It turned out to be dead easy using Starry Nights. The program loads the location of comets and satellites and so forth so I was able to print out a star chart with the location of Holmes. It took all of about 2 minutes to find it. It is HUGE, although it is now growing so big that it is really just a big ball of gas with a very slightly brighter center area. I dragged my son Robbie and my wife Mary out to see it. Quite cool. Of course it is also quite cold now (about 38 degrees out right now) so Robbie and Mary quickly hurried back in the house. I stayed out to try and hunt down something else interesting. Being totally new to this stuff I have a lot of difficulty finding things, in fact even knowing where I am looking. I was trying to find the owl cluster and from there the little dumbbell nebula M76 but was not able to do so. I THINK I found the Andromeda galaxy M31. However looking at the chart now (inside the house) I notice that there are three M objects m110, m32 and M31 quite close together and I did not notice any other fuzzy in the immediate neighborhood so perhaps I (once again) was not looking where I thought I was. The area I was looking at was close to directly over head, which makes using the finder a pain. Anyway, it was a fun evening. I spent about an hour out there until my ears were starting to get numb and it was time to pack it in. Saturday the "local" astronomy club is supposed to be meeting at a dark site, specific location to be determined. I hope to make it to the gathering. My telescope is an 8" DOB, an Orion Skyquest XT8 and it has a computerized object locator, a "digital setting circle" which, if I could figure out how to do the scope setup and calibration, would then allow me to "push to" just about any object visible at my location. I am hoping to get some instruction on how to do this from club members Saturday night. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sun Nov 11 13:07:54 2007 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 11 Nov 2007 13:07:54 -0600 Subject: [AccessD] Insert Into with Null Fields Message-ID: <000701c82496$29f8ba80$0200a8c0@danwaters> Sometimes when I write an INSERT INTO string, I have to take into account that a text box or memo field might be null. If there is one possibility of a Null, I have to write and choose from 2 different strings, if there are two possibilities of Null fields, then I have to write and choose from 4 different strings, and so on. Is there a way out of this? Thanks! Dan From ssharkins at gmail.com Sun Nov 11 13:49:18 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 11 Nov 2007 14:49:18 -0500 Subject: [AccessD] Insert Into with Null Fields References: <000701c82496$29f8ba80$0200a8c0@danwaters> Message-ID: <017601c8249b$f4bdf640$4b3a8343@SusanOne> > Sometimes when I write an INSERT INTO string, I have to take into account > that a text box or memo field might be null. If there is one possibility > of > a Null, I have to write and choose from 2 different strings, if there are > two possibilities of Null fields, then I have to write and choose from 4 > different strings, and so on. > > Is there a way out of this? =========I don't understand the need for mutliple statements. Can you provide a simple example? Susan H. From dwaters at usinternet.com Sun Nov 11 14:10:08 2007 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 11 Nov 2007 14:10:08 -0600 Subject: [AccessD] Insert Into with Null Fields In-Reply-To: <017601c8249b$f4bdf640$4b3a8343@SusanOne> References: <000701c82496$29f8ba80$0200a8c0@danwaters> <017601c8249b$f4bdf640$4b3a8343@SusanOne> Message-ID: <000801c8249e$dbce4420$0200a8c0@danwaters> Hi Susan, If IsNull(txtA) then Stg = "INSERT INTO tblMain ( B, C )" _ & " VALUES ('" & txtB & "', '" & txtC & "')" Else Stg = "INSERT INTO tblMain ( A, B, C )" _ & " VALUES ('" & txtA & "', '" & txtB & "', '" & txtC & "')" End If Trying to insert a Null value creates an error. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, November 11, 2007 1:49 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Insert Into with Null Fields > Sometimes when I write an INSERT INTO string, I have to take into account > that a text box or memo field might be null. If there is one possibility > of > a Null, I have to write and choose from 2 different strings, if there are > two possibilities of Null fields, then I have to write and choose from 4 > different strings, and so on. > > Is there a way out of this? =========I don't understand the need for mutliple statements. Can you provide a simple example? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jengross at gte.net Sun Nov 11 14:41:33 2007 From: jengross at gte.net (Jennifer Gross) Date: Sun, 11 Nov 2007 12:41:33 -0800 Subject: [AccessD] Insert Into with Null Fields In-Reply-To: <000801c8249e$dbce4420$0200a8c0@danwaters> Message-ID: <007401c824a3$3f2b2340$6501a8c0@jefferson> Hi Dan, Perhaps setting the Allow Nulls property of the field in the table to true will work. Jennifer -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, November 11, 2007 12:10 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Insert Into with Null Fields Hi Susan, If IsNull(txtA) then Stg = "INSERT INTO tblMain ( B, C )" _ & " VALUES ('" & txtB & "', '" & txtC & "')" Else Stg = "INSERT INTO tblMain ( A, B, C )" _ & " VALUES ('" & txtA & "', '" & txtB & "', '" & txtC & "')" End If Trying to insert a Null value creates an error. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, November 11, 2007 1:49 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Insert Into with Null Fields > Sometimes when I write an INSERT INTO string, I have to take into > account that a text box or memo field might be null. If there is one > possibility of a Null, I have to write and choose from 2 different > strings, if there are two possibilities of Null fields, then I have to > write and choose from 4 different strings, and so on. > > Is there a way out of this? =========I don't understand the need for mutliple statements. Can you provide a simple example? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Sun Nov 11 17:26:56 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 11 Nov 2007 18:26:56 -0500 Subject: [AccessD] Explanation of ! in Nz function Message-ID: <008801c824ba$5c66b110$4b3a8343@SusanOne> Would someone please explain the use of the ! character in the following function: Nz(!CustomerID) I've never seen this before. Susan H. From jengross at gte.net Sun Nov 11 17:53:20 2007 From: jengross at gte.net (Jennifer Gross) Date: Sun, 11 Nov 2007 15:53:20 -0800 Subject: [AccessD] Explanation of ! in Nz function In-Reply-To: <008801c824ba$5c66b110$4b3a8343@SusanOne> Message-ID: <009b01c824be$0b6e18d0$6501a8c0@jefferson> Hi Susan, My guess is that it is wrapped inside of a With statement so that you don't have to specifically indicate the name of the recordset. Jennifer -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, November 11, 2007 3:27 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Explanation of ! in Nz function Would someone please explain the use of the ! character in the following function: Nz(!CustomerID) I've never seen this before. 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 Sun Nov 11 18:04:00 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 11 Nov 2007 19:04:00 -0500 Subject: [AccessD] Explanation of ! in Nz function References: <009b01c824be$0b6e18d0$6501a8c0@jefferson> Message-ID: <00c301c824bf$9f264ce0$4b3a8343@SusanOne> OH! I hadn't thought of that -- thanks. I'm sure you're right. Susan H. > Hi Susan, > > My guess is that it is wrapped inside of a With statement so that you > don't have to specifically indicate the name of the recordset. From ssharkins at gmail.com Sun Nov 11 18:18:08 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 11 Nov 2007 19:18:08 -0500 Subject: [AccessD] Insert Into with Null Fields References: <000701c82496$29f8ba80$0200a8c0@danwaters><017601c8249b$f4bdf640$4b3a8343@SusanOne> <000801c8249e$dbce4420$0200a8c0@danwaters> Message-ID: <00ce01c824c1$845721d0$4b3a8343@SusanOne> INSERT INTO doesn't care if a value doesn't exist, it only cares about the placeholder. When txtA is empty, insert a zero-length string. If IsNull(txtA) then txtA = '' Stg = "INSERT INTO tblMain ( A, B, C )" _ & " VALUES ('" & txtA & "', '" & txtB & "', '" & txtC & "')" Susan H. ----- Original Message ----- From: "Dan Waters" To: "'Access Developers discussion and problem solving'" Sent: Sunday, November 11, 2007 3:10 PM Subject: Re: [AccessD] Insert Into with Null Fields > Hi Susan, > > If IsNull(txtA) then > Stg = "INSERT INTO tblMain ( B, C )" _ > & " VALUES ('" & txtB & "', '" & txtC & "')" > Else > Stg = "INSERT INTO tblMain ( A, B, C )" _ > & " VALUES ('" & txtA & "', '" & txtB & "', '" & txtC & "')" > End If > > Trying to insert a Null value creates an error. > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: Sunday, November 11, 2007 1:49 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Insert Into with Null Fields > > > >> Sometimes when I write an INSERT INTO string, I have to take into account >> that a text box or memo field might be null. If there is one possibility >> of >> a Null, I have to write and choose from 2 different strings, if there are >> two possibilities of Null fields, then I have to write and choose from 4 >> different strings, and so on. >> >> Is there a way out of this? > > =========I don't understand the need for mutliple statements. Can you > provide a simple example? > > Susan H. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sun Nov 11 18:49:30 2007 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 11 Nov 2007 18:49:30 -0600 Subject: [AccessD] Insert Into with Null Fields In-Reply-To: <00ce01c824c1$845721d0$4b3a8343@SusanOne> References: <000701c82496$29f8ba80$0200a8c0@danwaters><017601c8249b$f4bdf640$4b3a8343@SusanOne><000801c8249e$dbce4420$0200a8c0@danwaters> <00ce01c824c1$845721d0$4b3a8343@SusanOne> Message-ID: <000001c824c5$e2cf41d0$0200a8c0@danwaters> Thanks Susan! I'll try this out. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, November 11, 2007 6:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Insert Into with Null Fields INSERT INTO doesn't care if a value doesn't exist, it only cares about the placeholder. When txtA is empty, insert a zero-length string. If IsNull(txtA) then txtA = '' Stg = "INSERT INTO tblMain ( A, B, C )" _ & " VALUES ('" & txtA & "', '" & txtB & "', '" & txtC & "')" Susan H. ----- Original Message ----- From: "Dan Waters" To: "'Access Developers discussion and problem solving'" Sent: Sunday, November 11, 2007 3:10 PM Subject: Re: [AccessD] Insert Into with Null Fields > Hi Susan, > > If IsNull(txtA) then > Stg = "INSERT INTO tblMain ( B, C )" _ > & " VALUES ('" & txtB & "', '" & txtC & "')" > Else > Stg = "INSERT INTO tblMain ( A, B, C )" _ > & " VALUES ('" & txtA & "', '" & txtB & "', '" & txtC & "')" > End If > > Trying to insert a Null value creates an error. > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: Sunday, November 11, 2007 1:49 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Insert Into with Null Fields > > > >> Sometimes when I write an INSERT INTO string, I have to take into account >> that a text box or memo field might be null. If there is one possibility >> of >> a Null, I have to write and choose from 2 different strings, if there are >> two possibilities of Null fields, then I have to write and choose from 4 >> different strings, and so on. >> >> Is there a way out of this? > > =========I don't understand the need for mutliple statements. Can you > provide a simple example? > > Susan H. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Sun Nov 11 18:55:10 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 11 Nov 2007 19:55:10 -0500 Subject: [AccessD] Insert Into with Null Fields References: <000701c82496$29f8ba80$0200a8c0@danwaters><017601c8249b$f4bdf640$4b3a8343@SusanOne><000801c8249e$dbce4420$0200a8c0@danwaters><00ce01c824c1$845721d0$4b3a8343@SusanOne> <000001c824c5$e2cf41d0$0200a8c0@danwaters> Message-ID: <001601c824c6$af2c26d0$4b3a8343@SusanOne> Dan, just in case -- that placeholder -- '' is two single quotation marks, not one double quotation mark. I should've mentioned before. Susan H. > Thanks Susan! > > I'll try this out. > > Dan > > INSERT INTO doesn't care if a value doesn't exist, it only cares about the > placeholder. When txtA is empty, insert a zero-length string. > > If IsNull(txtA) then txtA = '' > > Stg = "INSERT INTO tblMain ( A, B, C )" _ > & " VALUES ('" & txtA & "', '" & txtB & "', '" & txtC & "')" > > Susan H. From adtp at airtelbroadband.in Sun Nov 11 23:57:58 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Mon, 12 Nov 2007 11:27:58 +0530 Subject: [AccessD] storing last item on the page References: <001601c820ae$821c9a10$4b3a8343@SusanOne><003301c82105$babcfd40$ 8c57a27a@personalec1122><003f01c8213b$9abb4390$4b3a8343@SusanOne><004101c82 2a5$4dd21160$8a57a27a@personalec1122><00a301c822e6$57e00220$4b3a8343@SusanO ne><006f01c8239b$b4e504b0$7157a27a@personalec1122> <002501c823a6$b905fda0$4b3a8343@SusanOne> Message-ID: <00bb01c824f1$07fb3100$bb57a27a@personalec1122> While using collection's Add method, second argument is optional and gets stored as the key for identifying the particular element. As a parallel, it is like the primary key value for a record. Let us presume that txtFooterLast displays "LV-1", "LV-2", "LV-3" and "LV-4" on page number 1 to 4 respectively. Your Add statement reads: col.Add Me.txtFooterLast.Value, CStr(Me.Page) This means that "1" to "4" get stored as the key string values for elements "LV-1" to "LV-4" respectively of the collection. In this state, the index position of the four elements is 1 to 4. The results fetched by the following two statements for page 3 will be identical: (a) Syntax: col(CStr(Me.Page)) - using key: col("3") fetches "LV-3" (b) Syntax: col(Me.Page) - using index position: col(3) also fetches "LV-3" If, for some reason (although not likely in this particular case), second element of collection were to be removed, and then re-added as "LLVV-2" with key "2" for page 2, the existing 3rd & 4th elements will move up to 2nd & 3rd positions respectively, while the newly added element "LLVV-2" will occupy the last i.e. fourth position (unless you take special care to specify its position in Add statement by making use of optional third & fourth arguments). In this state, syntax as per (a) above, using key string will still fetch the correct value "LV-3" for page 3. However, with the other syntax as per (b) above, using index position, incorrect value of "LV-4" will get fetched for page 3. It is therefore considered a preferable practice to use key values (if available) for retrieving information from a collection. It is observed that you have already taken the trouble of embedding the key strings during Add process. That being so, better use it for retrieval (i.e. col(CStr(Me.Page)) in preference to col(Me.Page)). Reverting to our parallel with a recordset, it is like using the primary key value rather than record number while locating a record. As mentioned earlier, your current exercise does not run the risk of collection once built, getting disturbed. As such, if you are particularly keen to keep everything absolutely simple, you can avoid using the second argument in Add method. That statement would become: col.Add Me.txtFooterLast.Value And then you can continue to use the following statement for retrieval: Me.txtHeaderLast = col(Me.Page) A.D.Tejpal ------------ ----- Original Message ----- From: Susan Harkins To: Access Developers discussion and problem solving Sent: Saturday, November 10, 2007 20:03 Subject: Re: [AccessD] storing last item on the page > In your code, second statement in page footer's format event is also > redundant. The real assignment for txtHeaderLast is taking place in page > header's print event. First two lines of existing code block can be > removed. The only portion required in page footer's format event is the > block of three lines meant to build up the collection. ======Oh, you're right. I think that's just a residual from my original attempt and I did a bad job of cleaning up. Thanks for pointing that out. > > In page header's print event, while retrieving information from > collection object, you have used number argument, which returns values as > per index position in collection. This method does not take advantage of > key strings that you have embedded (via CStr(Me.Page) as the second > argument) while adding to the collection. Though in the present case, your > results are not affected (being a simple situation), it is considered > preferable in the interest of greater reliability to retrieve values using > key (where available) instead of number index (specially if the collection > is likely to get disturbed for some reason). Second statement in page > header's print event would then become: > > Me.txtHeaderLast = col(CStr(Me.Page)) > > On the other hand, if you wish to continue using number index, it is > not necessary to provide the second argument (for key string) in > collection's Add method. The existing statement in page footer's format > event would then become: > > col.Add Me.txtFooterLast.Value =======I don't understand what you're saying. I'm really sorry -- let me ask a few questions, so you don't have to repeat yourself. I do see the inconsistency now that you point it out -- I use CStr(Me.Page) to store that value as a string, as required by the Collection object, but then I used Me.Page to retrieve members -- so I think what you're saying is that the code isn't even using the Me.Page value to retrieve values? That's where I get lost. If not the Me.Page value, then what? Thanks for your help. Susan H. From Gustav at cactus.dk Mon Nov 12 02:43:16 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 12 Nov 2007 09:43:16 +0100 Subject: [AccessD] Insert Into with Null Fields Message-ID: Hi Dan If your fields doesn't allow for zero length strings but do accept Nulls, you can use: ' Replace zero-length strings with 'Null' and wrap strings in quotes. varA = IIf(Len(Nz(txtA), vbNullString)=0, "Null", "'" & txtA & "'") varB = IIf(Len(Nz(txtB), vbNullString)=0, "Null", "'" & txtB & "'") varC = IIf(Len(Nz(txtC), vbNullString)=0, "Null", "'" & txtC & "'") ' Build SQL string with the word Null for empty variables. Stg = "INSERT INTO tblMain ( A, B, C )" _ & " VALUES (" & varA & ", " & varB & ", " & varC & ")" /gustav >>> dwaters at usinternet.com 11-11-2007 20:07 >>> Sometimes when I write an INSERT INTO string, I have to take into account that a text box or memo field might be null. If there is one possibility of a Null, I have to write and choose from 2 different strings, if there are two possibilities of Null fields, then I have to write and choose from 4 different strings, and so on. Is there a way out of this? Thanks! Dan From ssharkins at gmail.com Mon Nov 12 06:56:20 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 12 Nov 2007 07:56:20 -0500 Subject: [AccessD] storing last item on the page References: <001601c820ae$821c9a10$4b3a8343@SusanOne><003301c82105$babcfd40$8c57a27a@personalec1122><003f01c8213b$9abb4390$4b3a8343@SusanOne><004101c822a5$4dd21160$8a57a27a@personalec1122><00a301c822e6$57e00220$4b3a8343@SusanOne><006f01c8239b$b4e504b0$7157a27a@personalec1122> <002501c823a6$b905fda0$4b3a8343@SusanOne> <00bb01c824f1$07fb3100$bb57a27a@personalec1122> Message-ID: <008601c8252b$7254a330$4b3a8343@SusanOne> I worked through this a little last night and you're right. I totally missed the logic there -- thanks. But I do have a question for you. > This means that "1" to "4" get stored as the key string values for > elements "LV-1" to "LV-4" respectively of the collection. In this state, > the index position of the four elements is 1 to 4. The results fetched by > the following two statements for page 3 will be identical: > > (a) Syntax: col(CStr(Me.Page)) - using key: > col("3") fetches "LV-3" > > (b) Syntax: col(Me.Page) - using index position: > col(3) also fetches "LV-3" > > If, for some reason (although not likely in this particular case), > second element of collection were to be removed, and then re-added as > "LLVV-2" with key "2" for page 2, the existing 3rd & 4th elements will > move up to 2nd & 3rd positions respectively, while the newly added element > "LLVV-2" will occupy the last i.e. fourth position (unless you take > special care to specify its position in Add statement by making use of > optional third & fourth arguments). ======The whole point of using Me.Page as the key value was to make sure there was an identical match when I retrieved the value using Me.Page. I see where storing Me.Page as the key is unnecessary in this particular case. But wouldn't storing Me.Page as the key keep the above from happening? It sounds like the key value is retrieving by position and not by actual value? Susan H. From dwaters at usinternet.com Mon Nov 12 07:44:56 2007 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 12 Nov 2007 07:44:56 -0600 Subject: [AccessD] Insert Into with Null Fields In-Reply-To: References: Message-ID: <000901c82532$365fa710$0200a8c0@danwaters> Gustav, This is interesting! This looks like something of a syntax trick to build the string you want. Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, November 12, 2007 2:43 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Insert Into with Null Fields Hi Dan If your fields doesn't allow for zero length strings but do accept Nulls, you can use: ' Replace zero-length strings with 'Null' and wrap strings in quotes. varA = IIf(Len(Nz(txtA), vbNullString)=0, "Null", "'" & txtA & "'") varB = IIf(Len(Nz(txtB), vbNullString)=0, "Null", "'" & txtB & "'") varC = IIf(Len(Nz(txtC), vbNullString)=0, "Null", "'" & txtC & "'") ' Build SQL string with the word Null for empty variables. Stg = "INSERT INTO tblMain ( A, B, C )" _ & " VALUES (" & varA & ", " & varB & ", " & varC & ")" /gustav >>> dwaters at usinternet.com 11-11-2007 20:07 >>> Sometimes when I write an INSERT INTO string, I have to take into account that a text box or memo field might be null. If there is one possibility of a Null, I have to write and choose from 2 different strings, if there are two possibilities of Null fields, then I have to write and choose from 4 different strings, and so on. Is there a way out of this? Thanks! Dan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at airtelbroadband.in Mon Nov 12 07:53:41 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Mon, 12 Nov 2007 19:23:41 +0530 Subject: [AccessD] storing last item on the page References: <001601c820ae$821c9a10$4b3a8343@SusanOne><003301c82105$babcfd40$ 8c57a27a@personalec1122><003f01c8213b$9abb4390$4b3a8343@SusanOne><004101c82 2a5$4dd21160$8a57a27a@personalec1122><00a301c822e6$57e00220$4b3a8343@SusanO ne><006f01c8239b$b4e504b0$7157a27a@personalec1122><002501c823a6$b905fda0$4b 3a8343@SusanOne><00bb01c824f1$07fb3100$bb57a27a@personalec1122> <008601c8252b$7254a330$4b3a8343@SusanOne> Message-ID: <006501c82533$901eda40$9957a27a@personalec1122> If you do wish to pass the second argument (which is optional) to serve as key, it has to be a string. That is why you correctly used CStr(Me.Page) instead of mere Me.Page. For element pertaining to page 3, key becomes "3", while its index position (i.e. element number is 3). If you retrieve by using col(Me.Page) for page 3, it translates to col(3). It gets you the third element in collection, irrespective of its key. If retrieval is made by using col(CStr(Me.Page)), it will translate to col("3") and get you the element having "3" as its key, irrespective of its position in the collection. In your particular case, being a simple undisturbed collection, the results in either case are identical. A.D.Tejpal ------------ ----- Original Message ----- From: Susan Harkins To: Access Developers discussion and problem solving Sent: Monday, November 12, 2007 18:26 Subject: Re: [AccessD] storing last item on the page I worked through this a little last night and you're right. I totally missed the logic there -- thanks. But I do have a question for you. > This means that "1" to "4" get stored as the key string values for > elements "LV-1" to "LV-4" respectively of the collection. In this state, > the index position of the four elements is 1 to 4. The results fetched by > the following two statements for page 3 will be identical: > > (a) Syntax: col(CStr(Me.Page)) - using key: > col("3") fetches "LV-3" > > (b) Syntax: col(Me.Page) - using index position: > col(3) also fetches "LV-3" > > If, for some reason (although not likely in this particular case), > second element of collection were to be removed, and then re-added as > "LLVV-2" with key "2" for page 2, the existing 3rd & 4th elements will > move up to 2nd & 3rd positions respectively, while the newly added element > "LLVV-2" will occupy the last i.e. fourth position (unless you take > special care to specify its position in Add statement by making use of > optional third & fourth arguments). ======The whole point of using Me.Page as the key value was to make sure there was an identical match when I retrieved the value using Me.Page. I see where storing Me.Page as the key is unnecessary in this particular case. But wouldn't storing Me.Page as the key keep the above from happening? It sounds like the key value is retrieving by position and not by actual value? Susan H. From ssharkins at gmail.com Mon Nov 12 08:08:26 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 12 Nov 2007 09:08:26 -0500 Subject: [AccessD] storing last item on the page References: <001601c820ae$821c9a10$4b3a8343@SusanOne><003301c82105$babcfd40$8c57a27a@personalec1122><003f01c8213b$9abb4390$4b3a8343@SusanOne><004101c822a5$4dd21160$8a57a27a@personalec1122><00a301c822e6$57e00220$4b3a8343@SusanOne><006f01c8239b$b4e504b0$7157a27a@personalec1122><002501c823a6$b905fda0$4b3a8343@SusanOne><00bb01c824f1$07fb3100$bb57a27a@personalec1122> <008601c8252b$7254a330$4b3a8343@SusanOne> <006501c82533$901eda40$9957a27a@personalec1122> Message-ID: <001501c82535$8088c300$4b3a8343@SusanOne> OH!!!! I get it -- thanks so much A.P. -- that definitely clears things up for me. Susan H. > If you do wish to pass the second argument (which is optional) to serve > as key, it has to be a string. That is why you correctly used > CStr(Me.Page) instead of mere Me.Page. For element pertaining to page 3, > key becomes "3", while its index position (i.e. element number is 3). > > If you retrieve by using col(Me.Page) for page 3, it translates to > col(3). It gets you the third element in collection, irrespective of its > key. If retrieval is made by using col(CStr(Me.Page)), it will translate > to col("3") and get you the element having "3" as its key, irrespective of > its position in the collection. In your particular case, being a simple > undisturbed collection, the results in either case are identical. > > A.D.Tejpal > ------------ > > ----- Original Message ----- > From: Susan Harkins > To: Access Developers discussion and problem solving > Sent: Monday, November 12, 2007 18:26 > Subject: Re: [AccessD] storing last item on the page > > > I worked through this a little last night and you're right. I totally > missed > the logic there -- thanks. But I do have a question for you. > > > > This means that "1" to "4" get stored as the key string values for > > elements "LV-1" to "LV-4" respectively of the collection. In this > state, > > the index position of the four elements is 1 to 4. The results fetched > by > > the following two statements for page 3 will be identical: > > > > (a) Syntax: col(CStr(Me.Page)) - using key: > > col("3") fetches "LV-3" > > > > (b) Syntax: col(Me.Page) - using index position: > > col(3) also fetches "LV-3" > > > > If, for some reason (although not likely in this particular case), > > second element of collection were to be removed, and then re-added as > > "LLVV-2" with key "2" for page 2, the existing 3rd & 4th elements will > > move up to 2nd & 3rd positions respectively, while the newly added > element > > "LLVV-2" will occupy the last i.e. fourth position (unless you take > > special care to specify its position in Add statement by making use of > > optional third & fourth arguments). > > ======The whole point of using Me.Page as the key value was to make sure > there was an identical match when I retrieved the value using Me.Page. I > see > where storing Me.Page as the key is unnecessary in this particular case. > But > wouldn't storing Me.Page as the key keep the above from happening? It > sounds > like the key value is retrieving by position and not by actual value? > > Susan H. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Nov 12 09:11:59 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 12 Nov 2007 07:11:59 -0800 Subject: [AccessD] Conditional Formatting - Current Record Message-ID: <003901c8253e$5f6c9210$0301a8c0@HAL9005> Dear List: I am trying to use conditional formatting to change the background color of a control when it is the current record. Control is actually on a sub-form but I don't think that's relevant. What is the expression I need in the conditional formatting dialog box to do this? MTIA Rocky From dwaters at usinternet.com Mon Nov 12 09:28:57 2007 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 12 Nov 2007 09:28:57 -0600 Subject: [AccessD] Conditional Formatting - Current Record In-Reply-To: <003901c8253e$5f6c9210$0301a8c0@HAL9005> References: <003901c8253e$5f6c9210$0301a8c0@HAL9005> Message-ID: <001001c82540$be3afa50$0200a8c0@danwaters> Rocky, In design view, the select the text box or combobox. Go to conditional formatting. Select 'Field has Focus'. Select your background color. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 12, 2007 9:12 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Conditional Formatting - Current Record Dear List: I am trying to use conditional formatting to change the background color of a control when it is the current record. Control is actually on a sub-form but I don't think that's relevant. What is the expression I need in the conditional formatting dialog box to do this? 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 Mon Nov 12 09:53:10 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 12 Nov 2007 07:53:10 -0800 Subject: [AccessD] Conditional Formatting - Current Record In-Reply-To: <001001c82540$be3afa50$0200a8c0@danwaters> References: <003901c8253e$5f6c9210$0301a8c0@HAL9005> <001001c82540$be3afa50$0200a8c0@danwaters> Message-ID: <005c01c82544$2018d000$0301a8c0@HAL9005> Dan: It doesn't work because the field never gets the focus. I did this on another app and the way I did it was to put a text box on the detail section, move to back and change the color of the text box when the record got the focus. There's no conditional formatting of the detail section. I was able to do this in an expression by comparing the Autonumber ID of the current record with an invisible text box in the header section. But it was a simple bound form with no subforms. That won't work in this case - the subform data is coming from another table. There must be some trick to telling the conditional formatting to operate on the current record only. Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, November 12, 2007 7:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Conditional Formatting - Current Record Rocky, In design view, the select the text box or combobox. Go to conditional formatting. Select 'Field has Focus'. Select your background color. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 12, 2007 9:12 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Conditional Formatting - Current Record Dear List: I am trying to use conditional formatting to change the background color of a control when it is the current record. Control is actually on a sub-form but I don't think that's relevant. What is the expression I need in the conditional formatting dialog box to do this? 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.30/1125 - Release Date: 11/11/2007 9:50 PM From jwcolby at colbyconsulting.com Mon Nov 12 10:01:12 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 12 Nov 2007 11:01:12 -0500 Subject: [AccessD] summing in a crosstab Message-ID: <00b201c82545$3faa5dc0$6c7aa8c0@M90> I am doing a count like this 10 11 12 13 14 15 16 17 etc AK AL AR AZ This is by state, by boat length. However the user wants the boat lengths grouped, i.e. a single column for 10-15, 15-20 etc. where I have summed the counts for 10,11,12,13,14, and 15 and display that in a single column. Is this possible in a single query or am I going to have to go to a separate query to sum the lengths by state and then add that in to the crosstab somehow? John W. Colby Colby Consulting www.ColbyConsulting.com From Gustav at cactus.dk Mon Nov 12 10:15:41 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 12 Nov 2007 17:15:41 +0100 Subject: [AccessD] summing in a crosstab Message-ID: Hi John The "secret" function Partition (look up the on-line help) is what you are looking for. /gustav >>> jwcolby at colbyconsulting.com 12-11-2007 17:01 >>> I am doing a count like this 10 11 12 13 14 15 16 17 etc AK AL AR AZ This is by state, by boat length. However the user wants the boat lengths grouped, i.e. a single column for 10-15, 15-20 etc. where I have summed the counts for 10,11,12,13,14, and 15 and display that in a single column. Is this possible in a single query or am I going to have to go to a separate query to sum the lengths by state and then add that in to the crosstab somehow? John W. Colby Colby Consulting www.ColbyConsulting.com From adtp at airtelbroadband.in Mon Nov 12 12:06:10 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Mon, 12 Nov 2007 23:36:10 +0530 Subject: [AccessD] Insert Into with Null Fields References: <000701c82496$29f8ba80$0200a8c0@danwaters><017601c8249b$f4bdf640 $4b3a8343@SusanOne> <000801c8249e$dbce4420$0200a8c0@danwaters> Message-ID: <00fd01c82556$e1d1b010$9557a27a@personalec1122> Dan, As an interesting alternative with significant advantages, VALUES clause can be replaced by SELECT clause. Sample code in form's module, as given at (A) below, demonstrates this approach. If it happens to be a subform, the code given at (B) below would be applicable. With this technique, all your problems should stand resolved. Some of the advantages inherent in this method are: 1 - While building the SQL string, you don't have to worry about data type. 2 - If the source text box is blank, Null value gets inserted in the destination field (Required property set to No). 3 - If there are any embedded quotes (whether single, double or various combinations of these) in the contents of source text box, the same get faithfully transferred to destination field without needing any special treatment. If such a task were to be implemented via VALUES clause, tedious prior fixing of such embedded quotes would have been necessary. Note - As form based parameters are involved, DoCmd.RunSQL method has been used instead of CurrentDb.Execute. Best wishes, A.D.Tejpal ------------ A - Code in independent form's module F_Main is the name of this form. TxtA, TxtB and TxtC are text boxes whose values are to be appended to fields A, B & C respectively in table T_Main. (T_Dummy is a single field single record table). '===================================== Private Sub CmdAppend_Click() Dim Qst As String Qst = "INSERT INTO T_Main (A, B, C) " & _ "SELECT Forms!F_Main!TxtA, " & _ "Forms!F_Main!TxtB, " & _ "Forms!F_Main!TxtC FROM T_Dummy;" DoCmd.SetWarnings False DoCmd.RunSQL Qst DoCmd.SetWarnings True End Sub '===================================== B - Code in subform's module F_Main is the name of parent form. SF_Sub is the name of control serving as container for the subform. Txt1, Txt2 and Txt3 are text boxes on the subform whose values are to be appended to fields A, B & C respectively in table T_Main. (T_Dummy is a single field single record table). '===================================== Private Sub CmdAppend_Click() Dim Qst As String Qst = "INSERT INTO T_Main (A, B, C) " & _ "SELECT Forms!F_Main!SF_Sub!Txt1, " & _ "Forms!F_Main!SF_Sub!Txt2, " & _ "Forms!F_Main!SF_Sub!Txt3 FROM T_Dummy;" DoCmd.SetWarnings False DoCmd.RunSQL Qst DoCmd.SetWarnings True End Sub '===================================== ----- Original Message ----- From: Dan Waters To: 'Access Developers discussion and problem solving' Sent: Monday, November 12, 2007 01:40 Subject: Re: [AccessD] Insert Into with Null Fields Hi Susan, If IsNull(txtA) then Stg = "INSERT INTO tblMain ( B, C )" _ & " VALUES ('" & txtB & "', '" & txtC & "')" Else Stg = "INSERT INTO tblMain ( A, B, C )" _ & " VALUES ('" & txtA & "', '" & txtB & "', '" & txtC & "')" End If Trying to insert a Null value creates an error. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, November 11, 2007 1:49 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Insert Into with Null Fields > Sometimes when I write an INSERT INTO string, I have to take into account > that a text box or memo field might be null. If there is one possibility > of a Null, I have to write and choose from 2 different strings, if there are > two possibilities of Null fields, then I have to write and choose from 4 > different strings, and so on. > > Is there a way out of this? =========I don't understand the need for mutliple statements. Can you provide a simple example? Susan H. From dwaters at usinternet.com Mon Nov 12 12:34:50 2007 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 12 Nov 2007 12:34:50 -0600 Subject: [AccessD] Insert Into with Null Fields In-Reply-To: <00fd01c82556$e1d1b010$9557a27a@personalec1122> References: <000701c82496$29f8ba80$0200a8c0@danwaters><017601c8249b$f4bdf640$4b3a8343@SusanOne> <000801c8249e$dbce4420$0200a8c0@danwaters> <00fd01c82556$e1d1b010$9557a27a@personalec1122> Message-ID: <001c01c8255a$b62c73b0$0200a8c0@danwaters> Hello A.D. This is absolutely clever! Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Monday, November 12, 2007 12:06 PM To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Subject: Re: [AccessD] Insert Into with Null Fields Dan, As an interesting alternative with significant advantages, VALUES clause can be replaced by SELECT clause. Sample code in form's module, as given at (A) below, demonstrates this approach. If it happens to be a subform, the code given at (B) below would be applicable. With this technique, all your problems should stand resolved. Some of the advantages inherent in this method are: 1 - While building the SQL string, you don't have to worry about data type. 2 - If the source text box is blank, Null value gets inserted in the destination field (Required property set to No). 3 - If there are any embedded quotes (whether single, double or various combinations of these) in the contents of source text box, the same get faithfully transferred to destination field without needing any special treatment. If such a task were to be implemented via VALUES clause, tedious prior fixing of such embedded quotes would have been necessary. Note - As form based parameters are involved, DoCmd.RunSQL method has been used instead of CurrentDb.Execute. Best wishes, A.D.Tejpal ------------ A - Code in independent form's module F_Main is the name of this form. TxtA, TxtB and TxtC are text boxes whose values are to be appended to fields A, B & C respectively in table T_Main. (T_Dummy is a single field single record table). '===================================== Private Sub CmdAppend_Click() Dim Qst As String Qst = "INSERT INTO T_Main (A, B, C) " & _ "SELECT Forms!F_Main!TxtA, " & _ "Forms!F_Main!TxtB, " & _ "Forms!F_Main!TxtC FROM T_Dummy;" DoCmd.SetWarnings False DoCmd.RunSQL Qst DoCmd.SetWarnings True End Sub '===================================== B - Code in subform's module F_Main is the name of parent form. SF_Sub is the name of control serving as container for the subform. Txt1, Txt2 and Txt3 are text boxes on the subform whose values are to be appended to fields A, B & C respectively in table T_Main. (T_Dummy is a single field single record table). '===================================== Private Sub CmdAppend_Click() Dim Qst As String Qst = "INSERT INTO T_Main (A, B, C) " & _ "SELECT Forms!F_Main!SF_Sub!Txt1, " & _ "Forms!F_Main!SF_Sub!Txt2, " & _ "Forms!F_Main!SF_Sub!Txt3 FROM T_Dummy;" DoCmd.SetWarnings False DoCmd.RunSQL Qst DoCmd.SetWarnings True End Sub '===================================== ----- Original Message ----- From: Dan Waters To: 'Access Developers discussion and problem solving' Sent: Monday, November 12, 2007 01:40 Subject: Re: [AccessD] Insert Into with Null Fields Hi Susan, If IsNull(txtA) then Stg = "INSERT INTO tblMain ( B, C )" _ & " VALUES ('" & txtB & "', '" & txtC & "')" Else Stg = "INSERT INTO tblMain ( A, B, C )" _ & " VALUES ('" & txtA & "', '" & txtB & "', '" & txtC & "')" End If Trying to insert a Null value creates an error. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, November 11, 2007 1:49 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Insert Into with Null Fields > Sometimes when I write an INSERT INTO string, I have to take into account > that a text box or memo field might be null. If there is one possibility > of a Null, I have to write and choose from 2 different strings, if there are > two possibilities of Null fields, then I have to write and choose from 4 > different strings, and so on. > > Is there a way out of this? =========I don't understand the need for mutliple statements. Can you provide a simple example? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at airtelbroadband.in Mon Nov 12 13:13:56 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Tue, 13 Nov 2007 00:43:56 +0530 Subject: [AccessD] Conditional Formatting - Current Record References: <003901c8253e$5f6c9210$0301a8c0@HAL9005><001001c82540$be3afa50$0 200a8c0@danwaters> <005c01c82544$2018d000$0301a8c0@HAL9005> Message-ID: <01d001c82560$4abb34d0$9557a27a@personalec1122> Rocky, My sample db's mentioned below, might be of interest to you. (a) Form_SubformHighLightCurrentRow (b) HighLightDataSheetRows (c) ContFormsKeyNavAndHighLightMultiSelect (d) Form_HighLightUpdatedFields These are available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. You could adapt the underlying approach suitably, for your specific needs. Best wishes, A.D.Tejpal ------------ ----- Original Message ----- From: Rocky Smolin at Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Monday, November 12, 2007 21:23 Subject: Re: [AccessD] Conditional Formatting - Current Record Dan: It doesn't work because the field never gets the focus. I did this on another app and the way I did it was to put a text box on the detail section, move to back and change the color of the text box when the record got the focus. There's no conditional formatting of the detail section. I was able to do this in an expression by comparing the Autonumber ID of the current record with an invisible text box in the header section. But it was a simple bound form with no subforms. That won't work in this case - the subform data is coming from another table. There must be some trick to telling the conditional formatting to operate on the current record only. Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, November 12, 2007 7:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Conditional Formatting - Current Record Rocky, In design view, the select the text box or combobox. Go to conditional formatting. Select 'Field has Focus'. Select your background color. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 12, 2007 9:12 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Conditional Formatting - Current Record Dear List: I am trying to use conditional formatting to change the background color of a control when it is the current record. Control is actually on a sub-form but I don't think that's relevant. What is the expression I need in the conditional formatting dialog box to do this? MTIA Rocky From adtp at airtelbroadband.in Mon Nov 12 13:19:55 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Tue, 13 Nov 2007 00:49:55 +0530 Subject: [AccessD] Insert Into with Null Fields References: <000701c82496$29f8ba80$0200a8c0@danwaters><017601c8249b$f4bdf640 $4b3a8343@SusanOne><000801c8249e$dbce4420$0200a8c0@danwaters><00fd01c82556$ e1d1b010$9557a27a@personalec1122> <001c01c8255a$b62c73b0$0200a8c0@danwaters> Message-ID: <01e401c82561$1c987cb0$9557a27a@personalec1122> You are most welcome Dan! A.D.Tejpal ------------ ----- Original Message ----- From: Dan Waters To: 'Access Developers discussion and problem solving' Sent: Tuesday, November 13, 2007 00:04 Subject: Re: [AccessD] Insert Into with Null Fields Hello A.D. This is absolutely clever! Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Monday, November 12, 2007 12:06 PM To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Subject: Re: [AccessD] Insert Into with Null Fields Dan, As an interesting alternative with significant advantages, VALUES clause can be replaced by SELECT clause. Sample code in form's module, as given at (A) below, demonstrates this approach. If it happens to be a subform, the code given at (B) below would be applicable. With this technique, all your problems should stand resolved. Some of the advantages inherent in this method are: 1 - While building the SQL string, you don't have to worry about data type. 2 - If the source text box is blank, Null value gets inserted in the destination field (Required property set to No). 3 - If there are any embedded quotes (whether single, double or various combinations of these) in the contents of source text box, the same get faithfully transferred to destination field without needing any special treatment. If such a task were to be implemented via VALUES clause, tedious prior fixing of such embedded quotes would have been necessary. Note - As form based parameters are involved, DoCmd.RunSQL method has been used instead of CurrentDb.Execute. Best wishes, A.D.Tejpal ------------ A - Code in independent form's module F_Main is the name of this form. TxtA, TxtB and TxtC are text boxes whose values are to be appended to fields A, B & C respectively in table T_Main. (T_Dummy is a single field single record table). '===================================== Private Sub CmdAppend_Click() Dim Qst As String Qst = "INSERT INTO T_Main (A, B, C) " & _ "SELECT Forms!F_Main!TxtA, " & _ "Forms!F_Main!TxtB, " & _ "Forms!F_Main!TxtC FROM T_Dummy;" DoCmd.SetWarnings False DoCmd.RunSQL Qst DoCmd.SetWarnings True End Sub '===================================== B - Code in subform's module F_Main is the name of parent form. SF_Sub is the name of control serving as container for the subform. Txt1, Txt2 and Txt3 are text boxes on the subform whose values are to be appended to fields A, B & C respectively in table T_Main. (T_Dummy is a single field single record table). '===================================== Private Sub CmdAppend_Click() Dim Qst As String Qst = "INSERT INTO T_Main (A, B, C) " & _ "SELECT Forms!F_Main!SF_Sub!Txt1, " & _ "Forms!F_Main!SF_Sub!Txt2, " & _ "Forms!F_Main!SF_Sub!Txt3 FROM T_Dummy;" DoCmd.SetWarnings False DoCmd.RunSQL Qst DoCmd.SetWarnings True End Sub '===================================== ----- Original Message ----- From: Dan Waters To: 'Access Developers discussion and problem solving' Sent: Monday, November 12, 2007 01:40 Subject: Re: [AccessD] Insert Into with Null Fields Hi Susan, If IsNull(txtA) then Stg = "INSERT INTO tblMain ( B, C )" _ & " VALUES ('" & txtB & "', '" & txtC & "')" Else Stg = "INSERT INTO tblMain ( A, B, C )" _ & " VALUES ('" & txtA & "', '" & txtB & "', '" & txtC & "')" End If Trying to insert a Null value creates an error. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, November 11, 2007 1:49 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Insert Into with Null Fields > Sometimes when I write an INSERT INTO string, I have to take into account > that a text box or memo field might be null. If there is one possibility > of a Null, I have to write and choose from 2 different strings, if there are > two possibilities of Null fields, then I have to write and choose from 4 > different strings, and so on. > > Is there a way out of this? =========I don't understand the need for mutliple statements. Can you provide a simple example? Susan H. From fuller.artful at gmail.com Mon Nov 12 13:46:50 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 12 Nov 2007 14:46:50 -0500 Subject: [AccessD] recordset count = -1? Message-ID: <29f585dd0711121146q112b7cf2x652e9a61aaba5069@mail.gmail.com> I've got a DAO recordset and codes that does rs.moveFirst and rs.MoveLastand debug.print rs.RecordCount, but it consistently returns -1, when I know there are records in the set. What am I doing wrong? TIA, Arthur From ssharkins at gmail.com Mon Nov 12 14:09:55 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 12 Nov 2007 15:09:55 -0500 Subject: [AccessD] recordset count = -1? References: <29f585dd0711121146q112b7cf2x652e9a61aaba5069@mail.gmail.com> Message-ID: <00db01c82568$0111f640$4b3a8343@SusanOne> Oh my... this is an old one Arthur -- so old, I can't even remember the exact cure -- I think it has to do with the type of cursor. I wrote about it years ago, I'll see if I can find the article. Charlotte will know. Maybe she'll see this. Susan H. > I've got a DAO recordset and codes that does rs.moveFirst and > rs.MoveLastand > debug.print rs.RecordCount, but it consistently returns -1, when I know > there are records in the set. What am I doing wrong? From rockysmolin at bchacc.com Mon Nov 12 14:30:46 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 12 Nov 2007 12:30:46 -0800 Subject: [AccessD] Conditional Formatting - Current Record In-Reply-To: <01d001c82560$4abb34d0$9557a27a@personalec1122> References: <003901c8253e$5f6c9210$0301a8c0@HAL9005><001001c82540$be3afa50$0200a8c0@danwaters> <005c01c82544$2018d000$0301a8c0@HAL9005> <01d001c82560$4abb34d0$9557a27a@personalec1122> Message-ID: <000101c8256a$e8143a60$0301a8c0@HAL9005> Thanks A.D. - I think that ranking scheme will work. Regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Monday, November 12, 2007 11:14 AM To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Subject: Re: [AccessD] Conditional Formatting - Current Record Rocky, My sample db's mentioned below, might be of interest to you. (a) Form_SubformHighLightCurrentRow (b) HighLightDataSheetRows (c) ContFormsKeyNavAndHighLightMultiSelect (d) Form_HighLightUpdatedFields These are available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. You could adapt the underlying approach suitably, for your specific needs. Best wishes, A.D.Tejpal ------------ ----- Original Message ----- From: Rocky Smolin at Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Monday, November 12, 2007 21:23 Subject: Re: [AccessD] Conditional Formatting - Current Record Dan: It doesn't work because the field never gets the focus. I did this on another app and the way I did it was to put a text box on the detail section, move to back and change the color of the text box when the record got the focus. There's no conditional formatting of the detail section. I was able to do this in an expression by comparing the Autonumber ID of the current record with an invisible text box in the header section. But it was a simple bound form with no subforms. That won't work in this case - the subform data is coming from another table. There must be some trick to telling the conditional formatting to operate on the current record only. Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, November 12, 2007 7:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Conditional Formatting - Current Record Rocky, In design view, the select the text box or combobox. Go to conditional formatting. Select 'Field has Focus'. Select your background color. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 12, 2007 9:12 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Conditional Formatting - Current Record Dear List: I am trying to use conditional formatting to change the background color of a control when it is the current record. Control is actually on a sub-form but I don't think that's relevant. What is the expression I need in the conditional formatting dialog box to do this? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.30/1125 - Release Date: 11/11/2007 9:50 PM From cfoust at infostatsystems.com Mon Nov 12 14:52:24 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 12 Nov 2007 12:52:24 -0800 Subject: [AccessD] recordset count = -1? In-Reply-To: <29f585dd0711121146q112b7cf2x652e9a61aaba5069@mail.gmail.com> References: <29f585dd0711121146q112b7cf2x652e9a61aaba5069@mail.gmail.com> Message-ID: Are you sure it's a DAO recordset, Arthur? ADO recordsets commonly return 0 or -1. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, November 12, 2007 11:47 AM To: Access Developers discussion and problem solving Subject: [AccessD] recordset count = -1? I've got a DAO recordset and codes that does rs.moveFirst and rs.MoveLastand debug.print rs.RecordCount, but it consistently returns -1, when I know there are records in the set. What am I doing wrong? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Nov 12 14:54:04 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 12 Nov 2007 12:54:04 -0800 Subject: [AccessD] recordset count = -1? In-Reply-To: <00db01c82568$0111f640$4b3a8343@SusanOne> References: <29f585dd0711121146q112b7cf2x652e9a61aaba5069@mail.gmail.com> <00db01c82568$0111f640$4b3a8343@SusanOne> Message-ID: Susan, You give me more credit than I deserve. I don't even work with DAO recordsets any more, so my memory is failing. I suspect a forward only type will do this, but can't remember for sure. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 12, 2007 12:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] recordset count = -1? Oh my... this is an old one Arthur -- so old, I can't even remember the exact cure -- I think it has to do with the type of cursor. I wrote about it years ago, I'll see if I can find the article. Charlotte will know. Maybe she'll see this. Susan H. > I've got a DAO recordset and codes that does rs.moveFirst and > rs.MoveLastand debug.print rs.RecordCount, but it consistently returns > -1, when I know there are records in the set. What am I doing wrong? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pharold at proftesting.com Mon Nov 12 15:04:21 2007 From: pharold at proftesting.com (Perry L Harold) Date: Mon, 12 Nov 2007 16:04:21 -0500 Subject: [AccessD] recordset count = -1? References: <29f585dd0711121146q112b7cf2x652e9a61aaba5069@mail.gmail.com> <00db01c82568$0111f640$4b3a8343@SusanOne> Message-ID: Is it client side or server side cursor? >From DEVX forum - "RecordCount for server side cursors returns "-1". oRS.Source = SQL_str oRS.CursorLocation = 3 'adUseClient oRS.Open" Perry Harold Professional Testing Inc -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 12, 2007 3:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] recordset count = -1? Oh my... this is an old one Arthur -- so old, I can't even remember the exact cure -- I think it has to do with the type of cursor. I wrote about it years ago, I'll see if I can find the article. Charlotte will know. Maybe she'll see this. Susan H. > I've got a DAO recordset and codes that does rs.moveFirst and > rs.MoveLastand debug.print rs.RecordCount, but it consistently returns > -1, when I know there are records in the set. What am I doing wrong? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Nov 12 15:05:01 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 12 Nov 2007 13:05:01 -0800 Subject: [AccessD] recordset count = -1? In-Reply-To: References: <29f585dd0711121146q112b7cf2x652e9a61aaba5069@mail.gmail.com><00db01c82568$0111f640$4b3a8343@SusanOne> Message-ID: <000a01c8256f$b185e980$0301a8c0@HAL9005> Arthur: Why don't you post your DIMs and opening statement? Maybe we'll see something there. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 12, 2007 12:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] recordset count = -1? Susan, You give me more credit than I deserve. I don't even work with DAO recordsets any more, so my memory is failing. I suspect a forward only type will do this, but can't remember for sure. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 12, 2007 12:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] recordset count = -1? Oh my... this is an old one Arthur -- so old, I can't even remember the exact cure -- I think it has to do with the type of cursor. I wrote about it years ago, I'll see if I can find the article. Charlotte will know. Maybe she'll see this. Susan H. > I've got a DAO recordset and codes that does rs.moveFirst and > rs.MoveLastand debug.print rs.RecordCount, but it consistently returns > -1, when I know there are records in the set. What am I doing wrong? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.30/1125 - Release Date: 11/11/2007 9:50 PM From jwcolby at colbyconsulting.com Mon Nov 12 15:09:19 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 12 Nov 2007 16:09:19 -0500 Subject: [AccessD] Pivot in SQL Server 2005 Message-ID: <00b801c82570$4af193d0$6c7aa8c0@M90> I just wrote my first Pivot table by hand in SQL Server 2005 and HOLY COW was that a PITA!!! Is there a wizard anywhere for doing this? John W. Colby Colby Consulting www.ColbyConsulting.com From jimdettman at verizon.net Mon Nov 12 15:51:44 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 12 Nov 2007 16:51:44 -0500 Subject: [AccessD] recordset count = -1? In-Reply-To: References: <29f585dd0711121146q112b7cf2x652e9a61aaba5069@mail.gmail.com> Message-ID: <004601c82576$3844c9e0$8abea8c0@XPS> DAO recordsets return -1 on forward only and snapshot sets. Also a set on a linked tabledef will always return -1 when you open the recordset with the table option. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 12, 2007 3:52 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] recordset count = -1? Are you sure it's a DAO recordset, Arthur? ADO recordsets commonly return 0 or -1. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, November 12, 2007 11:47 AM To: Access Developers discussion and problem solving Subject: [AccessD] recordset count = -1? I've got a DAO recordset and codes that does rs.moveFirst and rs.MoveLastand debug.print rs.RecordCount, but it consistently returns -1, when I know there are records in the set. What am I doing wrong? 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 ssharkins at gmail.com Mon Nov 12 16:16:23 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 12 Nov 2007 17:16:23 -0500 Subject: [AccessD] Access to Outlook Message-ID: <000b01c82579$ad1e6520$4b3a8343@SusanOne> I posted the following code on the tech list this weekend, but so far haven't resolved the problem I'm having. I'm trying to send Access values to Outlook as a new contact. The Set itm = itms.Add("IPM.Contact") statement returns a can't set object variable error. Susan H. Function SendContactsToOutlook() Dim rst As New ADODB.Recordset Dim cnn As New ADODB.Connection '--------- 'Must set reference to Outlook library '--------- Dim itms As Outlook.Items Dim itm As Outlook.ContactItem Set cnn = CurrentProject.Connection rst.Open "tblContacts", cnn 'Outlook Folder name is hardcoded Set itm = itms.Add("IPM.Contact") With itm .CustomerID = Nz(rst!CustomerID) .FirstName = Nz(rst!FirstName) .LastName = Nz(rst!LastName) .Department = Nz(rst!Department) .Birthday = Nz(rst!Department) .Close (olSave) 'DoCmd.RunCommand acCmdSaveRecord End With Set rst = Nothing Set cnn = Nothing Set itms = Nothing Set itm = Nothing End Function From Donald.A.McGillivray at sprint.com Mon Nov 12 16:33:12 2007 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Mon, 12 Nov 2007 16:33:12 -0600 Subject: [AccessD] Strange compile error Message-ID: Well, it's strange to me, anyway. When I compile my code using the Debug|Compile menu options, I get no errors. I have one procedure, however, which throws a compile error - not a runtime error - when I try to execute it. The code for that procedure is self-contained, with no calls to any other procedures. I'm scratching my head on this one. I suspect some sort of corruption, but don't know quite where to go looking or how to resolve. Can anybody suggest a solution - or a starting point? Thanks! Don McGillivray From ssharkins at gmail.com Mon Nov 12 16:34:13 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 12 Nov 2007 17:34:13 -0500 Subject: [AccessD] Fw: Access to Outlook Message-ID: <003001c8257c$281f4710$4b3a8343@SusanOne> I think I've figured it out, although I haven't tried it -- I'm going to have to create an Outlook Application and NameSpace object, via a MAPI folder. I didn't think it'd be this much work, but it is Outlook... Susan H. I posted the following code on the tech list this weekend, but so far haven't resolved the problem I'm having. I'm trying to send Access values to Outlook as a new contact. The Set itm = itms.Add("IPM.Contact") statement returns a can't set object variable error. Susan H. Function SendContactsToOutlook() Dim rst As New ADODB.Recordset Dim cnn As New ADODB.Connection '--------- 'Must set reference to Outlook library '--------- Dim itms As Outlook.Items Dim itm As Outlook.ContactItem Set cnn = CurrentProject.Connection rst.Open "tblContacts", cnn 'Outlook Folder name is hardcoded Set itm = itms.Add("IPM.Contact") With itm .CustomerID = Nz(rst!CustomerID) .FirstName = Nz(rst!FirstName) .LastName = Nz(rst!LastName) .Department = Nz(rst!Department) .Birthday = Nz(rst!Department) .Close (olSave) 'DoCmd.RunCommand acCmdSaveRecord End With Set rst = Nothing Set cnn = Nothing Set itms = Nothing Set itm = Nothing End Function From ssharkins at gmail.com Mon Nov 12 16:35:33 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 12 Nov 2007 17:35:33 -0500 Subject: [AccessD] Strange compile error References: Message-ID: <003501c8257c$58695690$4b3a8343@SusanOne> > > Can anybody suggest a solution - or a starting point? ======I'd copy the procedure to a Word file, delete it from the module, and compile. Then copy the procedure back, and recompile. Susan H. From Jim.Hale at FleetPride.com Mon Nov 12 16:43:15 2007 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 12 Nov 2007 16:43:15 -0600 Subject: [AccessD] recordset count = -1? In-Reply-To: References: <29f585dd0711121146q112b7cf2x652e9a61aaba5069@mail.gmail.com><00 db01c82568$0111f640$4b3a8343@SusanOne> Message-ID: Nah, I think she meant it is soooo ooold only Charlotte is old enough to remember. Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 12, 2007 2:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] recordset count = -1? Susan, You give me more credit than I deserve. I don't even work with DAO recordsets any more, so my memory is failing. I suspect a forward only type will do this, but can't remember for sure. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 12, 2007 12:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] recordset count = -1? Oh my... this is an old one Arthur -- so old, I can't even remember the exact cure -- I think it has to do with the type of cursor. I wrote about it years ago, I'll see if I can find the article. Charlotte will know. Maybe she'll see this. Susan H. *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From darren at activebilling.com.au Mon Nov 12 16:44:33 2007 From: darren at activebilling.com.au (Darren D) Date: Tue, 13 Nov 2007 09:44:33 +1100 Subject: [AccessD] Getting Results from SQL SVR into a Continuous form Message-ID: <200711122244.lACMijHL019663@databaseadvisors.com> Hi team Access 2003 I am running select statements to get results from an SQL dB Then looping through the rs object and populating temp tables with the results - Then I am 'binding' my forms to these temp tables for display This all works fine - no Prob - I was just wondering if it is possible to cut out the middle man - I mean ditch the temp tables and somehow populate a continuous form with the various results straight from the rs object EG Select AccountNo, AccountName, ContactPerson from tblAccounts may return say.10 records each with 3 fields of data How then do I get these results from the rs object in code into a continuous form without populating a temp table first? Also - Are there any advantages doing it this way or is using a temp table perfectly reasonable? Many thanks in advance Have a great day Darren From dw-murphy at cox.net Mon Nov 12 16:51:58 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Mon, 12 Nov 2007 14:51:58 -0800 Subject: [AccessD] Strange compile error In-Reply-To: Message-ID: <006101c8257e$a1d00250$0200a8c0@murphy3234aaf1> Have you tried decompiling the database? Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don [IT] Sent: Monday, November 12, 2007 2:33 PM To: accessd at databaseadvisors.com Subject: [AccessD] Strange compile error Well, it's strange to me, anyway. When I compile my code using the Debug|Compile menu options, I get no errors. I have one procedure, however, which throws a compile error - not a runtime error - when I try to execute it. The code for that procedure is self-contained, with no calls to any other procedures. I'm scratching my head on this one. I suspect some sort of corruption, but don't know quite where to go looking or how to resolve. Can anybody suggest a solution - or a starting point? Thanks! Don McGillivray -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Donald.A.McGillivray at sprint.com Mon Nov 12 17:09:10 2007 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Mon, 12 Nov 2007 17:09:10 -0600 Subject: [AccessD] Strange compile error In-Reply-To: <006101c8257e$a1d00250$0200a8c0@murphy3234aaf1> References: <006101c8257e$a1d00250$0200a8c0@murphy3234aaf1> Message-ID: Doug, I did try that, to no avail. I think I'll try Susan's suggestion and see what I get. Thanks! Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Monday, November 12, 2007 2:52 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strange compile error Have you tried decompiling the database? Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don [IT] Sent: Monday, November 12, 2007 2:33 PM To: accessd at databaseadvisors.com Subject: [AccessD] Strange compile error Well, it's strange to me, anyway. When I compile my code using the Debug|Compile menu options, I get no errors. I have one procedure, however, which throws a compile error - not a runtime error - when I try to execute it. The code for that procedure is self-contained, with no calls to any other procedures. I'm scratching my head on this one. I suspect some sort of corruption, but don't know quite where to go looking or how to resolve. Can anybody suggest a solution - or a starting point? Thanks! Don McGillivray -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Donald.A.McGillivray at sprint.com Mon Nov 12 17:44:28 2007 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Mon, 12 Nov 2007 17:44:28 -0600 Subject: [AccessD] Strange compile error In-Reply-To: <003501c8257c$58695690$4b3a8343@SusanOne> References: <003501c8257c$58695690$4b3a8343@SusanOne> Message-ID: Sheesh, I'm an idiot. Didn't notice that the procedure was part of a form's code module. Moved it to its own module, and all's well. Still, I didn't expect a compile error when trying to invoke a form level procedure in the immediate window, or should I? Seems like I've done that before and gotten a different error that was a bit more descriptive. Ah well, thanks for the ideas, nonetheless . . . Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 12, 2007 2:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Strange compile error > > Can anybody suggest a solution - or a starting point? ======I'd copy the procedure to a Word file, delete it from the module, and compile. Then copy the procedure back, and recompile. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Nov 12 17:49:29 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 12 Nov 2007 15:49:29 -0800 Subject: [AccessD] recordset count = -1? In-Reply-To: References: <29f585dd0711121146q112b7cf2x652e9a61aaba5069@mail.gmail.com><00db01c82568$0111f640$4b3a8343@SusanOne> Message-ID: Oooooh! You'd better duck. I swing a mean cane!! LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Monday, November 12, 2007 2:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] recordset count = -1? Nah, I think she meant it is soooo ooold only Charlotte is old enough to remember. Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 12, 2007 2:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] recordset count = -1? Susan, You give me more credit than I deserve. I don't even work with DAO recordsets any more, so my memory is failing. I suspect a forward only type will do this, but can't remember for sure. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 12, 2007 12:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] recordset count = -1? Oh my... this is an old one Arthur -- so old, I can't even remember the exact cure -- I think it has to do with the type of cursor. I wrote about it years ago, I'll see if I can find the article. Charlotte will know. Maybe she'll see this. Susan H. *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- 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 Nov 12 17:50:37 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 12 Nov 2007 18:50:37 -0500 Subject: [AccessD] Pass a recordset as parameter Message-ID: <29f585dd0711121550n544e108el979a352d1678450e@mail.gmail.com> Can one pass a recordset as a parameter to a function. I guess I could write a quick tester to determine this, but I'm in the middle of something else. If I could do this, I could seriously simplify some hairy code that I inherited. Just as an aside and casual invitation to start another lengthy debate, all this inherited code is based on dynamically building SQL statements using the values contained in a recordset. A typical example would be: sDocMemo = sDocMemo _ & " is too close to the pinch point. It is " & Nz(rsLCData!DisToPinchPoint1, 0) _ & " millimetres away and should be at least " _ & Nz(rsLCData!DsPP1_ShouldBe, 0) & " millimetres away from the Pinch Point." _ & " " & sBlankedBeamsText Oh God, I hate this style of coding. It makes me crazy. It may work but even with the logical line breaks it's hard as hell to read (or maybe I'm just getting too old for this business. There are a bunch of text-assembly blocks like this all stuck into one huge (1000+ lines) procedure. My plan is to break each text-assembly chunk out into a function that accepts a recordset as a parameter and builds the string and returns it. If I can't pass the recordset, then I'll grab its values and pass those instead, and break this 1000-liner into about 20 5-liners (or less lines per function), which fetch the text from a table and then whose content uses a syntax like this: The ///LCPosition1/// light curtain is too close to the pinch point. It is ///DisToPinchPoint1/// millimetres away and should be at least ///DsPP1_ShouldBe/// millimetres away from the Pinch Point. The given function will use Replace() to find the triple-shlash-delimited insertion-points and replace them with the passed parameters, then return the string. Anyone see any problems with this approach? TIA, Arthur From fuller.artful at gmail.com Mon Nov 12 17:52:31 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 12 Nov 2007 18:52:31 -0500 Subject: [AccessD] Getting Results from SQL SVR into a Continuous form In-Reply-To: <200711122244.lACMijHL019663@databaseadvisors.com> References: <200711122244.lACMijHL019663@databaseadvisors.com> Message-ID: <29f585dd0711121552xa066b03wcd094da4192a705d@mail.gmail.com> Why not eliminate both at once and instead create a sproc or view and use it as the record source? A. On 11/12/07, Darren D wrote: > > Hi team > > > > Access 2003 > > > > I am running select statements to get results from an SQL dB > > > > Then looping through the rs object and populating temp tables with the > results - > Then I am 'binding' my forms to these temp tables for display > > > > This all works fine - no Prob - I was just wondering if it is possible to > cut > out the middle man - > > > > I mean ditch the temp tables and somehow populate a continuous form with > the > various results straight from the rs object > > > > EG Select AccountNo, AccountName, ContactPerson from tblAccounts may > return > say.10 records each with 3 fields of data > > > > How then do I get these results from the rs object in code into a > continuous > form without populating a temp table first? > > > > Also - Are there any advantages doing it this way or is using a temp table > perfectly reasonable? > > > > Many thanks in advance > > > > Have a great day > > > > Darren > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darren at activebilling.com.au Mon Nov 12 18:06:46 2007 From: darren at activebilling.com.au (Darren D) Date: Tue, 13 Nov 2007 11:06:46 +1100 Subject: [AccessD] Getting Results from SQL SVR into a Continuous form In-Reply-To: <29f585dd0711121552xa066b03wcd094da4192a705d@mail.gmail.com> Message-ID: <200711130006.lAD06tAA029982@databaseadvisors.com> Hi Arthur This sounds very efficient - Cool Now the tricky bit... How do I 'bind' a continuous form in access 2003 (NOT ADP) to a SPROC or view in SQL SVR? Thanks Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, 13 November 2007 10:53 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Getting Results from SQL SVR into a Continuous form Why not eliminate both at once and instead create a sproc or view and use it as the record source? A. On 11/12/07, Darren D wrote: > > Hi team > > > > Access 2003 > > > > I am running select statements to get results from an SQL dB > > > > Then looping through the rs object and populating temp tables with the > results - > Then I am 'binding' my forms to these temp tables for display > > > > This all works fine - no Prob - I was just wondering if it is possible to > cut > out the middle man - > > > > I mean ditch the temp tables and somehow populate a continuous form with > the > various results straight from the rs object > > > > EG Select AccountNo, AccountName, ContactPerson from tblAccounts may > return > say.10 records each with 3 fields of data > > > > How then do I get these results from the rs object in code into a > continuous > form without populating a temp table first? > > > > Also - Are there any advantages doing it this way or is using a temp table > perfectly reasonable? > > > > Many thanks in advance > > > > Have a great day > > > > Darren > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Nov 12 18:23:50 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 12 Nov 2007 16:23:50 -0800 Subject: [AccessD] Blanks in text box Message-ID: <004901c8258b$77362c60$0301a8c0@HAL9005> Dear List: I am trapping keystrokes in a text box and setting a filter in a list box based on the current value in the text box. But it won't accept and retain trailing blanks. If my client wants to search on R & R for example, he presses R and the list box of names is filtered to all those beginning with R. if he then presses the space bar, it should show all the name beginning with R-blank. But of course, it strips the trailing blank. Is there some trick to getting the trailing blanks to be included in the string? MTIA Rocky From pcs at azizaz.com Mon Nov 12 18:26:45 2007 From: pcs at azizaz.com (pcs at azizaz.com) Date: Tue, 13 Nov 2007 10:26:45 +1000 (EST) Subject: [AccessD] Getting Results from SQL SVR into a Continuous form Message-ID: <20071113102645.DHJ48961@dommail.onthenet.com.au> Darren, Try: Set Forms(strFrm).Recordset = rs where rs is the recordset you have created and strForm is a string variable holding the name of your Form Regards Borge ---- Original message ---- >Date: Tue, 13 Nov 2007 11:06:46 +1100 >From: "Darren D" >Subject: Re: [AccessD] Getting Results from SQL SVR into a Continuous form >To: "'Access Developers discussion and problem solving'" > >Hi Arthur > >This sounds very efficient - Cool > >Now the tricky bit... > >How do I 'bind' a continuous form in access 2003 (NOT ADP) to a SPROC or view in >SQL SVR? > >Thanks > >Darren >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller >Sent: Tuesday, 13 November 2007 10:53 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Getting Results from SQL SVR into a Continuous form > >Why not eliminate both at once and instead create a sproc or view and use it >as the record source? > >A. > >On 11/12/07, Darren D wrote: >> >> Hi team >> >> >> >> Access 2003 >> >> >> >> I am running select statements to get results from an SQL dB >> >> >> >> Then looping through the rs object and populating temp tables with the >> results - >> Then I am 'binding' my forms to these temp tables for display >> >> >> >> This all works fine - no Prob - I was just wondering if it is possible to >> cut >> out the middle man - >> >> >> >> I mean ditch the temp tables and somehow populate a continuous form with >> the >> various results straight from the rs object >> >> >> >> EG Select AccountNo, AccountName, ContactPerson from tblAccounts may >> return >> say.10 records each with 3 fields of data >> >> >> >> How then do I get these results from the rs object in code into a >> continuous >> form without populating a temp table first? >> >> >> >> Also - Are there any advantages doing it this way or is using a temp table >> perfectly reasonable? >> >> >> >> Many thanks in advance >> >> >> >> Have a great day >> >> >> >> Darren >> >> >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From ssharkins at gmail.com Mon Nov 12 18:30:16 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 12 Nov 2007 19:30:16 -0500 Subject: [AccessD] recordset count = -1? References: <29f585dd0711121146q112b7cf2x652e9a61aaba5069@mail.gmail.com><00db01c82568$0111f640$4b3a8343@SusanOne> Message-ID: <005f01c8258d$3eacaf20$4b3a8343@SusanOne> OH NO YOU DON'T!!!!!!!! ;) I think Charlotte's about my age -- so be careful there! ;) Susan H. > > Nah, I think she meant it is soooo ooold only Charlotte is old enough to > remember. From jwcolby at colbyconsulting.com Mon Nov 12 18:51:29 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 12 Nov 2007 19:51:29 -0500 Subject: [AccessD] Strange compile error In-Reply-To: References: Message-ID: <00b901c8258f$5455f690$6c7aa8c0@M90> decompile it, then compile it, compact and repair John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don [IT] Sent: Monday, November 12, 2007 5:33 PM To: accessd at databaseadvisors.com Subject: [AccessD] Strange compile error Well, it's strange to me, anyway. When I compile my code using the Debug|Compile menu options, I get no errors. I have one procedure, however, which throws a compile error - not a runtime error - when I try to execute it. The code for that procedure is self-contained, with no calls to any other procedures. I'm scratching my head on this one. I suspect some sort of corruption, but don't know quite where to go looking or how to resolve. Can anybody suggest a solution - or a starting point? Thanks! Don McGillivray -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Nov 12 18:52:58 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 12 Nov 2007 19:52:58 -0500 Subject: [AccessD] Pass a recordset as parameter In-Reply-To: <29f585dd0711121550n544e108el979a352d1678450e@mail.gmail.com> References: <29f585dd0711121550n544e108el979a352d1678450e@mail.gmail.com> Message-ID: <00ba01c8258f$898624c0$6c7aa8c0@M90> Yes, you can. You can pass pretty much anything except a custom data type. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, November 12, 2007 6:51 PM To: Access Developers discussion and problem solving Subject: [AccessD] Pass a recordset as parameter Can one pass a recordset as a parameter to a function. I guess I could write a quick tester to determine this, but I'm in the middle of something else. If I could do this, I could seriously simplify some hairy code that I inherited. Just as an aside and casual invitation to start another lengthy debate, all this inherited code is based on dynamically building SQL statements using the values contained in a recordset. A typical example would be: sDocMemo = sDocMemo _ & " is too close to the pinch point. It is " & Nz(rsLCData!DisToPinchPoint1, 0) _ & " millimetres away and should be at least " _ & Nz(rsLCData!DsPP1_ShouldBe, 0) & " millimetres away from the Pinch Point." _ & " " & sBlankedBeamsText Oh God, I hate this style of coding. It makes me crazy. It may work but even with the logical line breaks it's hard as hell to read (or maybe I'm just getting too old for this business. There are a bunch of text-assembly blocks like this all stuck into one huge (1000+ lines) procedure. My plan is to break each text-assembly chunk out into a function that accepts a recordset as a parameter and builds the string and returns it. If I can't pass the recordset, then I'll grab its values and pass those instead, and break this 1000-liner into about 20 5-liners (or less lines per function), which fetch the text from a table and then whose content uses a syntax like this: The ///LCPosition1/// light curtain is too close to the pinch point. It is ///DisToPinchPoint1/// millimetres away and should be at least ///DsPP1_ShouldBe/// millimetres away from the Pinch Point. The given function will use Replace() to find the triple-shlash-delimited insertion-points and replace them with the passed parameters, then return the string. Anyone see any problems with this approach? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Nov 12 18:58:35 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 12 Nov 2007 16:58:35 -0800 Subject: [AccessD] Blanks in text box In-Reply-To: <004901c8258b$77362c60$0301a8c0@HAL9005> References: <004901c8258b$77362c60$0301a8c0@HAL9005> Message-ID: What is the "it" that won't accept and retain trailing blanks, Rocky, the list box, the textbox, the filter, or what? If you're trapping keystrokes, make sure you aren't including a Trim in there somewhere. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 12, 2007 4:24 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Blanks in text box Dear List: I am trapping keystrokes in a text box and setting a filter in a list box based on the current value in the text box. But it won't accept and retain trailing blanks. If my client wants to search on R & R for example, he presses R and the list box of names is filtered to all those beginning with R. if he then presses the space bar, it should show all the name beginning with R-blank. But of course, it strips the trailing blank. Is there some trick to getting the trailing blanks to be included in the string? 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 Mon Nov 12 19:47:17 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 12 Nov 2007 17:47:17 -0800 Subject: [AccessD] Blanks in text box In-Reply-To: References: <004901c8258b$77362c60$0301a8c0@HAL9005> Message-ID: <005401c82597$1f9b4ce0$0301a8c0@HAL9005> It the text box where I want to have the trailing blanks retained. I'm setting the filter for the text box in a subroutine that's called from the Change event of the text box. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 12, 2007 4:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Blanks in text box What is the "it" that won't accept and retain trailing blanks, Rocky, the list box, the textbox, the filter, or what? If you're trapping keystrokes, make sure you aren't including a Trim in there somewhere. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 12, 2007 4:24 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Blanks in text box Dear List: I am trapping keystrokes in a text box and setting a filter in a list box based on the current value in the text box. But it won't accept and retain trailing blanks. If my client wants to search on R & R for example, he presses R and the list box of names is filtered to all those beginning with R. if he then presses the space bar, it should show all the name beginning with R-blank. But of course, it strips the trailing blank. Is there some trick to getting the trailing blanks to be included in the string? 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.30/1125 - Release Date: 11/11/2007 9:50 PM From thewaddles at sbcglobal.net Mon Nov 12 20:28:40 2007 From: thewaddles at sbcglobal.net (Kevin Waddle) Date: Mon, 12 Nov 2007 18:28:40 -0800 Subject: [AccessD] Access to Outlook In-Reply-To: <000b01c82579$ad1e6520$4b3a8343@SusanOne> References: <000b01c82579$ad1e6520$4b3a8343@SusanOne> Message-ID: <014601c8259c$e82872f0$6600a8c0@TheWaddles> Susan, I built a sample table... tblContacts ID Full Name Company File As E-mail Phone ...and added the following code: Function to add reference to Outlook2003 Function to loop through tblContacts and add to Contacts in Outlook Sub to call the Functions Seems to work OK for me. HTH, Kevin Option Compare Database Option Explicit Function AddRefOutlook() As Boolean 'Add a reference to Outlook 2003 Dim strRef As String Dim ref As Reference strRef = "C:\Program Files\Microsoft Office\Office11\msoutl.olb" 'My Office install in on my G drive 'strRef = "G:\Program Files\Microsoft Office\Office11\msoutl.olb" On Error GoTo ErrorOnDLL Set ref = References.AddFromFile(strRef) Exit Function ErrorOnDLL: 'If the reference is already there then... If Err.Number = 32813 Then '...do something Debug.Print "reference is already there" AddRefOutlook = True Else Debug.Print Err.Number & " " & Err.Description AddRefOutlook = False End If End Function Function AddContacts() '--------- 'Must set reference to Outlook library '--------- Dim rst As New ADODB.Recordset Dim cnn As New ADODB.Connection Dim ol As New Outlook.Application Dim olns As Outlook.NameSpace Dim fldContacts As Outlook.MAPIFolder Dim itms As Outlook.Items Dim cf As Object Set cnn = CurrentProject.Connection Set ol = CreateObject("Outlook.Application") Set olns = ol.GetNamespace("MAPI") ' Which folder is the contacts list in? Set fldContacts = olns.GetDefaultFolder(olFolderContacts) Set itms = fldContacts.Items rst.Open "tblContacts", cnn rst.MoveFirst Do While Not rst.EOF Set cf = itms.Add("IPM.Contact") With cf .FullName = rst.Fields(1).Value .CompanyName = rst.Fields(2).Value .FileAs = rst.Fields(3).Value .Email1Address = rst.Fields(4).Value If Not IsNull(rst.Fields(5).Value) Then .PrimaryTelephoneNumber = rst.Fields(5).Value End If .Save End With Set cf = Nothing rst.MoveNext Loop Set ol = Nothing Set olns = Nothing Set fldContacts = Nothing Set itms = Nothing End Function Sub Test() Dim x As Variant x = AddRefOutlook x = AddContacts End Sub Famous Last Words: 'This should be easy...' -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 12, 2007 2:16 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Access to Outlook I posted the following code on the tech list this weekend, but so far haven't resolved the problem I'm having. I'm trying to send Access values to Outlook as a new contact. The Set itm = itms.Add("IPM.Contact") statement returns a can't set object variable error. Susan H. Function SendContactsToOutlook() Dim rst As New ADODB.Recordset Dim cnn As New ADODB.Connection '--------- 'Must set reference to Outlook library '--------- Dim itms As Outlook.Items Dim itm As Outlook.ContactItem Set cnn = CurrentProject.Connection rst.Open "tblContacts", cnn 'Outlook Folder name is hardcoded Set itm = itms.Add("IPM.Contact") With itm .CustomerID = Nz(rst!CustomerID) .FirstName = Nz(rst!FirstName) .LastName = Nz(rst!LastName) .Department = Nz(rst!Department) .Birthday = Nz(rst!Department) .Close (olSave) 'DoCmd.RunCommand acCmdSaveRecord End With Set rst = Nothing Set cnn = Nothing Set itms = Nothing Set itm = Nothing End Function -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Nov 13 04:37:36 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Nov 2007 05:37:36 -0500 Subject: [AccessD] SP to create C# classes Message-ID: <00d101c825e1$357b9520$6c7aa8c0@M90> I ran across this this morning. http://www.sqlservercentral.com/scripts/Miscellaneous/31997/ I have not tested it yet but thought that someone might find it useful. John W. Colby Colby Consulting www.ColbyConsulting.com From Gustav at cactus.dk Tue Nov 13 05:44:33 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 13 Nov 2007 12:44:33 +0100 Subject: [AccessD] SP to create C# classes Message-ID: Hi John Thanks! But what should the purpose be? Building a middle-tier? /gustav >>> jwcolby at colbyconsulting.com 13-11-2007 11:37 >>> I ran across this this morning. http://www.sqlservercentral.com/scripts/Miscellaneous/31997/ I have not tested it yet but thought that someone might find it useful. John W. Colby Colby Consulting www.ColbyConsulting.com From jwcolby at colbyconsulting.com Tue Nov 13 06:13:55 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Nov 2007 07:13:55 -0500 Subject: [AccessD] SP to create C# classes In-Reply-To: References: Message-ID: <00d901c825ee$a9cb0d40$6c7aa8c0@M90> Gustav, The purpose should be automated building of classes from tables. How many times I have wished for such a thing for Access (in fact built one myself and then lost it 8~( As for what to do with it... well suppose you had a table with 700 plus fields and you wanted to do something with that table that was difficult to do with SQL directly. You therefore need to import the data into classes so that you can programmatically manipulate the data... Before you can even begin you have to write a class with get/let and variable dim statements in the top of the class... How many days would it take you to write that one class? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, November 13, 2007 6:45 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SP to create C# classes Hi John Thanks! But what should the purpose be? Building a middle-tier? /gustav >>> jwcolby at colbyconsulting.com 13-11-2007 11:37 >>> I ran across this this morning. http://www.sqlservercentral.com/scripts/Miscellaneous/31997/ I have not tested it yet but thought that someone might find it useful. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Tue Nov 13 06:53:51 2007 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 13 Nov 2007 06:53:51 -0600 Subject: [AccessD] VB.Net / C# Guidelines Message-ID: <001201c825f4$3dbb9290$0200a8c0@danwaters> VB City is offering a free download (100 pages) of coding guidelines. http://submain.com/?nav=products.guidelines From jwcolby at colbyconsulting.com Tue Nov 13 06:53:49 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Nov 2007 07:53:49 -0500 Subject: [AccessD] merging records Message-ID: <00e401c825f4$3ca28170$6c7aa8c0@M90> I have tables of information about people. The tables represent polls that people have taken, so if a person takes a poll about brands of cigarettes smoked, the table would have a record about that person for that poll. If that same person took a poll about software used, the table would have a NEW record with information about the same person, but about the software that person used. And so forth and so on. Now I need to "roll up" all of the information about a person into a single record so that one record contains all of the information about that person contained in all of the records about that person in the table. Is this possible directly in SQL? Do I need to write code to iterate through the table finding each person and all the records for that person, and then consolidating the information from the second and subsequent records into the first record found? John W. Colby Colby Consulting www.ColbyConsulting.com From jwcolby at colbyconsulting.com Tue Nov 13 07:20:02 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Nov 2007 08:20:02 -0500 Subject: [AccessD] VB.Net / C# Guidelines In-Reply-To: <001201c825f4$3dbb9290$0200a8c0@danwaters> References: <001201c825f4$3dbb9290$0200a8c0@danwaters> Message-ID: <00e501c825f7$e696a000$6c7aa8c0@M90> Thanks Dan. You should post this to the VB list since it really about .Net. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, November 13, 2007 7:54 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] VB.Net / C# Guidelines VB City is offering a free download (100 pages) of coding guidelines. http://submain.com/?nav=products.guidelines -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Tue Nov 13 07:37:38 2007 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 13 Nov 2007 07:37:38 -0600 Subject: [AccessD] VB.Net / C# Guidelines In-Reply-To: <00e501c825f7$e696a000$6c7aa8c0@M90> References: <001201c825f4$3dbb9290$0200a8c0@danwaters> <00e501c825f7$e696a000$6c7aa8c0@M90> Message-ID: <001b01c825fa$5b7f4be0$0200a8c0@danwaters> I used to be signed up for that list, but there was almost no traffic on it. Has that changed recently? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 13, 2007 7:20 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines Thanks Dan. You should post this to the VB list since it really about .Net. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, November 13, 2007 7:54 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] VB.Net / C# Guidelines VB City is offering a free download (100 pages) of coding guidelines. http://submain.com/?nav=products.guidelines -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 13 07:52:49 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Nov 2007 08:52:49 -0500 Subject: [AccessD] VB.Net / C# Guidelines In-Reply-To: <001b01c825fa$5b7f4be0$0200a8c0@danwaters> References: <001201c825f4$3dbb9290$0200a8c0@danwaters><00e501c825f7$e696a000$6c7aa8c0@M90> <001b01c825fa$5b7f4be0$0200a8c0@danwaters> Message-ID: <00e801c825fc$7ac9c910$6c7aa8c0@M90> LOL, well... it goes in bursts. Critical mass is one of those strange things where people have to sign up and use it in order for others to observe that it is use and sign up and use it so that others observe that it is used. I do think that more and more of our AccessD members are trying out the .Net stuff and so hopefully we will gain critical mass someday. It won't happen without YOUR support however. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, November 13, 2007 8:38 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines I used to be signed up for that list, but there was almost no traffic on it. Has that changed recently? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 13, 2007 7:20 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines Thanks Dan. You should post this to the VB list since it really about .Net. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, November 13, 2007 7:54 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] VB.Net / C# Guidelines VB City is offering a free download (100 pages) of coding guidelines. http://submain.com/?nav=products.guidelines -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 13 08:11:13 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Nov 2007 09:11:13 -0500 Subject: [AccessD] An Excel 2007 Observation Message-ID: <00ea01c825ff$0cfb67b0$6c7aa8c0@M90> I installed Office 2007 on a server where I already had Office 2003 installed. I use Office 2003 (specifically Excel) on that machine quite a bit. this morning I just double clicked on a spreadsheet and it was loaded in Excel 2007 (Office 2007 apparently replaced my file type mappings). I checked the task manager memory usage and it was 20.6 mb for Excel with that specific spreadsheet. I then closed Excel 2007, opened Excel 2003 and then loaded the same spreadsheet. The memory usage was 10.5 mb. And BTW, there was no noticeable delay switching between the two versions, nor did it request a disk etc. I will do more testing on that subject later when the server isn't working heavily on SQL Server stuff. John W. Colby Colby Consulting www.ColbyConsulting.com From adtp at airtelbroadband.in Tue Nov 13 08:54:27 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Tue, 13 Nov 2007 20:24:27 +0530 Subject: [AccessD] Blanks in text box References: <004901c8258b$77362c60$0301a8c0@HAL9005> <005401c82597$1f9b4ce0$0301a8c0@HAL9005> Message-ID: <00c901c82605$35a1fe80$6c57a27a@personalec1122> Rocky, You wish to trap the trailing spaces in a text box, while using its contents for applying filter. This calls for certain special measures as trailing spaces (if any) get lost while exiting the text box. Sample code in form's module, as given below, demonstrates application of filter on a subform, duly taking into account the contents of text box (including trailing spaces if any) located on the parent form. Best wishes, A.D.Tejpal ------------ Sample code in form's module Txt1 is the name of text box where criteria string is entered. SF_Sub is the name of control holding the subform. Clicking command button named CmdFilter applies filter on subform records - duly taking into account the trailing blanks (if any) in text box Txt1 PCode is the name of field on which filter is applied. '================================= ' Declarations section Private RefTxt As String '-------------------------------------------------- Private Sub CmdFilter_Click() With Me.SF_Sub.Form .Filter = "PCode Like '" & RefTxt & "*'" .FilterOn = True End With End Sub '-------------------------------------------------- Private Sub Txt1_Change() RefTxt = ActiveControl.Text End Sub '-------------------------------------------------- Private Sub Txt1_Enter() RefTxt = ActiveControl.Text End Sub '================================= ----- Original Message ----- From: Rocky Smolin at Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Tuesday, November 13, 2007 07:17 Subject: Re: [AccessD] Blanks in text box It the text box where I want to have the trailing blanks retained. I'm setting the filter for the text box in a subroutine that's called from the Change event of the text box. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 12, 2007 4:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Blanks in text box What is the "it" that won't accept and retain trailing blanks, Rocky, the list box, the textbox, the filter, or what? If you're trapping keystrokes, make sure you aren't including a Trim in there somewhere. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 12, 2007 4:24 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Blanks in text box Dear List: I am trapping keystrokes in a text box and setting a filter in a list box based on the current value in the text box. But it won't accept and retain trailing blanks. If my client wants to search on R & R for example, he presses R and the list box of names is filtered to all those beginning with R. if he then presses the space bar, it should show all the name beginning with R-blank. But of course, it strips the trailing blank. Is there some trick to getting the trailing blanks to be included in the string? MTIA Rocky From dwaters at usinternet.com Tue Nov 13 09:08:59 2007 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 13 Nov 2007 09:08:59 -0600 Subject: [AccessD] VB.Net / C# Guidelines In-Reply-To: <00e801c825fc$7ac9c910$6c7aa8c0@M90> References: <001201c825f4$3dbb9290$0200a8c0@danwaters><00e501c825f7$e696a000$6c7aa8c0@M90><001b01c825fa$5b7f4be0$0200a8c0@danwaters> <00e801c825fc$7ac9c910$6c7aa8c0@M90> Message-ID: <002001c82607$1ec654c0$0200a8c0@danwaters> OK - my support exists! Maybe someday I'll be a VB.Net programmer. ;-) Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 13, 2007 7:53 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines LOL, well... it goes in bursts. Critical mass is one of those strange things where people have to sign up and use it in order for others to observe that it is use and sign up and use it so that others observe that it is used. I do think that more and more of our AccessD members are trying out the .Net stuff and so hopefully we will gain critical mass someday. It won't happen without YOUR support however. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, November 13, 2007 8:38 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines I used to be signed up for that list, but there was almost no traffic on it. Has that changed recently? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 13, 2007 7:20 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines Thanks Dan. You should post this to the VB list since it really about .Net. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, November 13, 2007 7:54 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] VB.Net / C# Guidelines VB City is offering a free download (100 pages) of coding guidelines. http://submain.com/?nav=products.guidelines -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmattys at rochester.rr.com Tue Nov 13 09:11:50 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Tue, 13 Nov 2007 10:11:50 -0500 Subject: [AccessD] An Excel 2007 Observation References: <00ea01c825ff$0cfb67b0$6c7aa8c0@M90> Message-ID: <007a01c82607$85a32fb0$0202a8c0@Laptop> Hi John, In your tests, try using the Common Dialog or OpenFileName API to open any version prior to Access 2007. Then use Start ... Run. That should be an interesting excursion. The explanation I've read for this is that the ProgID is unchanged between versions and therefore resolves to 2007. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 13, 2007 9:11 AM Subject: [AccessD] An Excel 2007 Observation >I installed Office 2007 on a server where I already had Office 2003 > installed. I use Office 2003 (specifically Excel) on that machine quite a > bit. this morning I just double clicked on a spreadsheet and it was > loaded > in Excel 2007 (Office 2007 apparently replaced my file type mappings). I > checked the task manager memory usage and it was 20.6 mb for Excel with > that > specific spreadsheet. I then closed Excel 2007, opened Excel 2003 and > then > loaded the same spreadsheet. The memory usage was 10.5 mb. > > And BTW, there was no noticeable delay switching between the two versions, > nor did it request a disk etc. I will do more testing on that subject > later > when the server isn't working heavily on SQL Server stuff. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com From cfoust at infostatsystems.com Tue Nov 13 09:24:41 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 13 Nov 2007 07:24:41 -0800 Subject: [AccessD] Blanks in text box In-Reply-To: <005401c82597$1f9b4ce0$0301a8c0@HAL9005> References: <004901c8258b$77362c60$0301a8c0@HAL9005> <005401c82597$1f9b4ce0$0301a8c0@HAL9005> Message-ID: So what does the resulting filter look like? Have you tried replacing a " " with a Space(1)? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 12, 2007 5:47 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Blanks in text box It the text box where I want to have the trailing blanks retained. I'm setting the filter for the text box in a subroutine that's called from the Change event of the text box. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 12, 2007 4:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Blanks in text box What is the "it" that won't accept and retain trailing blanks, Rocky, the list box, the textbox, the filter, or what? If you're trapping keystrokes, make sure you aren't including a Trim in there somewhere. Charlotte Foust From cfoust at infostatsystems.com Tue Nov 13 09:30:57 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 13 Nov 2007 07:30:57 -0800 Subject: [AccessD] SP to create C# classes In-Reply-To: <00d901c825ee$a9cb0d40$6c7aa8c0@M90> References: <00d901c825ee$a9cb0d40$6c7aa8c0@M90> Message-ID: You also use such classes to enforce business rules in the data tier rather than having to code them into the UI. We use such classes for virtually all interaction with the data, bind our forms, reports and controls to the classes, etc. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 13, 2007 4:14 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SP to create C# classes Gustav, The purpose should be automated building of classes from tables. How many times I have wished for such a thing for Access (in fact built one myself and then lost it 8~( As for what to do with it... well suppose you had a table with 700 plus fields and you wanted to do something with that table that was difficult to do with SQL directly. You therefore need to import the data into classes so that you can programmatically manipulate the data... Before you can even begin you have to write a class with get/let and variable dim statements in the top of the class... How many days would it take you to write that one class? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, November 13, 2007 6:45 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SP to create C# classes Hi John Thanks! But what should the purpose be? Building a middle-tier? /gustav >>> jwcolby at colbyconsulting.com 13-11-2007 11:37 >>> I ran across this this morning. http://www.sqlservercentral.com/scripts/Miscellaneous/31997/ I have not tested it yet but thought that someone might find it useful. John W. Colby Colby Consulting 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 cfoust at infostatsystems.com Tue Nov 13 09:33:11 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 13 Nov 2007 07:33:11 -0800 Subject: [AccessD] An Excel 2007 Observation In-Reply-To: <00ea01c825ff$0cfb67b0$6c7aa8c0@M90> References: <00ea01c825ff$0cfb67b0$6c7aa8c0@M90> Message-ID: Interesting, John. I didn't try it with Excel, since I replaced all the Office apps except Access with the 2007 version, and believe me, that one runs the installer. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 13, 2007 6:11 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] An Excel 2007 Observation I installed Office 2007 on a server where I already had Office 2003 installed. I use Office 2003 (specifically Excel) on that machine quite a bit. this morning I just double clicked on a spreadsheet and it was loaded in Excel 2007 (Office 2007 apparently replaced my file type mappings). I checked the task manager memory usage and it was 20.6 mb for Excel with that specific spreadsheet. I then closed Excel 2007, opened Excel 2003 and then loaded the same spreadsheet. The memory usage was 10.5 mb. And BTW, there was no noticeable delay switching between the two versions, nor did it request a disk etc. I will do more testing on that subject later when the server isn't working heavily on SQL Server stuff. John W. Colby Colby Consulting www.ColbyConsulting.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 Nov 13 09:44:34 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 13 Nov 2007 07:44:34 -0800 Subject: [AccessD] Blanks in text box In-Reply-To: References: <004901c8258b$77362c60$0301a8c0@HAL9005><005401c82597$1f9b4ce0$0301a8c0@HAL9005> Message-ID: <006001c8260c$17ad3730$0301a8c0@HAL9005> if I key in r and then a space the resulting filter is just an r. There are actually four text boxes like that which can add criteria to the row source of the list box. I do this four times adding Where clauses to the row source: If Me.txtFirstNameFilter <> "" Then If InStr(1, lstGoTo.RowSource, "WHERE ") <> 0 Then Me.lstGoTo.RowSource = Me.lstGoTo.RowSource & " AND " Else Me.lstGoTo.RowSource = Me.lstGoTo.RowSource & " WHERE " End If Me.lstGoTo.RowSource = Me.lstGoTo.RowSource _ & "tblPersonSearch.FirstName Like '" & Me.txtFirstNameFilter & "*'" End If Each of the four text boxes has a change event which calls the subroutine SetSelectNameRowSource from which the above snip was taken. I put a message box in to see what was getting to the sub from the change event: MsgBox "*" & Nz(Me.txtLastNameFilter) & "*" By the time the sub opens the trailing blank has been stripped. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 13, 2007 7:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Blanks in text box So what does the resulting filter look like? Have you tried replacing a " " with a Space(1)? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 12, 2007 5:47 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Blanks in text box It the text box where I want to have the trailing blanks retained. I'm setting the filter for the text box in a subroutine that's called from the Change event of the text box. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 12, 2007 4:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Blanks in text box What is the "it" that won't accept and retain trailing blanks, Rocky, the list box, the textbox, the filter, or what? If you're trapping keystrokes, make sure you aren't including a Trim in there somewhere. Charlotte Foust -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.30/1127 - Release Date: 11/12/2007 9:19 PM From fuller.artful at gmail.com Tue Nov 13 09:58:08 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 13 Nov 2007 10:58:08 -0500 Subject: [AccessD] Blanks in text box In-Reply-To: <006001c8260c$17ad3730$0301a8c0@HAL9005> References: <004901c8258b$77362c60$0301a8c0@HAL9005> <005401c82597$1f9b4ce0$0301a8c0@HAL9005> <006001c8260c$17ad3730$0301a8c0@HAL9005> Message-ID: <29f585dd0711130758m22473902gd14ab6fffc084344@mail.gmail.com> This does not strike me as surprising, since the same thing happens in the database itself. You can't store "aaaa " in a column. Access will trim it. So it's only natural that it would do the same for its form controls, isn't it? A. On 11/13/07, Rocky Smolin at Beach Access Software wrote: > > if I key in r and then a space the resulting filter is just an r. There > are > actually four text boxes like that which can add criteria to the row > source > of the list box. I do this four times adding Where clauses to the row > source: > > From accessd at vftt.co.uk Tue Nov 13 10:04:41 2007 From: accessd at vftt.co.uk (Pete Phillipps) Date: Tue, 13 Nov 2007 16:04:41 -0000 Subject: [AccessD] Test In-Reply-To: <015201c81fa8$dc29c1b0$8abea8c0@XPS> Message-ID: <037401c8260e$ea6b7e50$0301a8c0@kilchoan> Test - ignore Pete Phillipps From accessd at vftt.co.uk Tue Nov 13 10:05:29 2007 From: accessd at vftt.co.uk (Pete Phillipps) Date: Tue, 13 Nov 2007 16:05:29 -0000 Subject: [AccessD] Test 2 In-Reply-To: <015201c81fa8$dc29c1b0$8abea8c0@XPS> Message-ID: <037501c8260f$07e7dd20$0301a8c0@kilchoan> Test 2 - ignore again Pete Phillipps From rockysmolin at bchacc.com Tue Nov 13 10:12:19 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 13 Nov 2007 08:12:19 -0800 Subject: [AccessD] Blanks in text box In-Reply-To: <29f585dd0711130758m22473902gd14ab6fffc084344@mail.gmail.com> References: <004901c8258b$77362c60$0301a8c0@HAL9005><005401c82597$1f9b4ce0$0301a8c0@HAL9005><006001c8260c$17ad3730$0301a8c0@HAL9005> <29f585dd0711130758m22473902gd14ab6fffc084344@mail.gmail.com> Message-ID: <006c01c8260f$f7fb5df0$0301a8c0@HAL9005> Only natural. So now I'm faced with the problem of committing an unnatural act. Any ideas? Programming, that is. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, November 13, 2007 7:58 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Blanks in text box This does not strike me as surprising, since the same thing happens in the database itself. You can't store "aaaa " in a column. Access will trim it. So it's only natural that it would do the same for its form controls, isn't it? A. On 11/13/07, Rocky Smolin at Beach Access Software wrote: > > if I key in r and then a space the resulting filter is just an r. > There are actually four text boxes like that which can add criteria to > the row source of the list box. I do this four times adding Where > clauses to the row > source: > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.30/1127 - Release Date: 11/12/2007 9:19 PM From jwcolby at colbyconsulting.com Tue Nov 13 10:13:09 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Nov 2007 11:13:09 -0500 Subject: [AccessD] VB.Net / C# Guidelines In-Reply-To: <002001c82607$1ec654c0$0200a8c0@danwaters> References: <001201c825f4$3dbb9290$0200a8c0@danwaters><00e501c825f7$e696a000$6c7aa8c0@M90><001b01c825fa$5b7f4be0$0200a8c0@danwaters><00e801c825fc$7ac9c910$6c7aa8c0@M90> <002001c82607$1ec654c0$0200a8c0@danwaters> Message-ID: <000201c82610$15da7630$6c7aa8c0@M90> LOL, maybe someday I'll be a .Net programmer too. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, November 13, 2007 10:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines OK - my support exists! Maybe someday I'll be a VB.Net programmer. ;-) Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 13, 2007 7:53 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines LOL, well... it goes in bursts. Critical mass is one of those strange things where people have to sign up and use it in order for others to observe that it is use and sign up and use it so that others observe that it is used. I do think that more and more of our AccessD members are trying out the .Net stuff and so hopefully we will gain critical mass someday. It won't happen without YOUR support however. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, November 13, 2007 8:38 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines I used to be signed up for that list, but there was almost no traffic on it. Has that changed recently? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 13, 2007 7:20 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines Thanks Dan. You should post this to the VB list since it really about .Net. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, November 13, 2007 7:54 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] VB.Net / C# Guidelines VB City is offering a free download (100 pages) of coding guidelines. http://submain.com/?nav=products.guidelines -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Tue Nov 13 10:25:57 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 13 Nov 2007 16:25:57 +0000 Subject: [AccessD] Blanks in text box In-Reply-To: <29f585dd0711130758m22473902gd14ab6fffc084344@mail.gmail.com> References: <004901c8258b$77362c60$0301a8c0@HAL9005> <005401c82597$1f9b4ce0$0301a8c0@HAL9005> <006001c8260c$17ad3730$0301a8c0@HAL9005> <29f585dd0711130758m22473902gd14ab6fffc084344@mail.gmail.com> Message-ID: Rocky, It might be crude, but could you just force the string using something like (code below) on the BeforeUpdate of the text box? Thanks, Mark A. Matte CODE START Dim SpaceCheck Dim Length Dim TrimLength Dim FinalString FinalString = Me!Text0 Length = Len(Me!Text0.Text) TrimLength = Len(Trim(Me!Text0.Text)) If Length = TrimLength Then GoTo SKIP SpaceCheck = 0 Do Until SpaceCheck = Length FinalString = FinalString & Chr(32) SpaceCheck = Len(FinalString) Loop SKIP: MsgBox FinalString & "test" CODE END > Date: Tue, 13 Nov 2007 10:58:08 -0500 > From: fuller.artful at gmail.com > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Blanks in text box > > This does not strike me as surprising, since the same thing happens in the > database itself. You can't store "aaaa " in a column. Access will trim it. > So it's only natural that it would do the same for its form controls, isn't > it? > > A. > > On 11/13/07, Rocky Smolin at Beach Access Software > wrote: >> >> if I key in r and then a space the resulting filter is just an r. There >> are >> actually four text boxes like that which can add criteria to the row >> source >> of the list box. I do this four times adding Where clauses to the row >> source: >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Windows Live Hotmail and Microsoft Office Outlook ? together at last. ?Get it now. http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL100626971033 From fuller.artful at gmail.com Tue Nov 13 10:28:27 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 13 Nov 2007 11:28:27 -0500 Subject: [AccessD] Blanks in text box In-Reply-To: <006c01c8260f$f7fb5df0$0301a8c0@HAL9005> References: <004901c8258b$77362c60$0301a8c0@HAL9005> <005401c82597$1f9b4ce0$0301a8c0@HAL9005> <006001c8260c$17ad3730$0301a8c0@HAL9005> <29f585dd0711130758m22473902gd14ab6fffc084344@mail.gmail.com> <006c01c8260f$f7fb5df0$0301a8c0@HAL9005> Message-ID: <29f585dd0711130828p495da587t5cd69a5e1d82008d@mail.gmail.com> I re-read the thread from the top, and afaics the only thing you can do is "empower" the user with a little education. Otherwise, you have a significant problem enabling the user to enter "r " plus some other filter. If you allow the user to enter "r *" then you'll get the effect you desire, I think. A. On 11/13/07, Rocky Smolin at Beach Access Software wrote: > > Only natural. So now I'm faced with the problem of committing an > unnatural > act. Any ideas? Programming, that is. > > Rocky > From accessd at vftt.co.uk Tue Nov 13 10:31:30 2007 From: accessd at vftt.co.uk (Pete Phillipps) Date: Tue, 13 Nov 2007 16:31:30 -0000 Subject: [AccessD] Test 4 In-Reply-To: <015201c81fa8$dc29c1b0$8abea8c0@XPS> Message-ID: <038301c82612$a8d0eb70$0301a8c0@kilchoan> Test 4 - ignore Pete Phillipps From accessd at vftt.co.uk Tue Nov 13 10:33:35 2007 From: accessd at vftt.co.uk (Pete Phillipps) Date: Tue, 13 Nov 2007 16:33:35 -0000 Subject: [AccessD] Test 5 In-Reply-To: <015201c81fa8$dc29c1b0$8abea8c0@XPS> Message-ID: Yet another test -just ignore me fo now :-) Pete Phillipps From cfoust at infostatsystems.com Tue Nov 13 10:41:06 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 13 Nov 2007 08:41:06 -0800 Subject: [AccessD] VB.Net / C# Guidelines In-Reply-To: <000201c82610$15da7630$6c7aa8c0@M90> References: <001201c825f4$3dbb9290$0200a8c0@danwaters><00e501c825f7$e696a000$6c7aa8c0@M90><001b01c825fa$5b7f4be0$0200a8c0@danwaters><00e801c825fc$7ac9c910$6c7aa8c0@M90><002001c82607$1ec654c0$0200a8c0@danwaters> <000201c82610$15da7630$6c7aa8c0@M90> Message-ID: Hah! I'm still trying for that after 2 years of DOING it! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 13, 2007 8:13 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines LOL, maybe someday I'll be a .Net programmer too. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, November 13, 2007 10:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines OK - my support exists! Maybe someday I'll be a VB.Net programmer. ;-) Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 13, 2007 7:53 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines LOL, well... it goes in bursts. Critical mass is one of those strange things where people have to sign up and use it in order for others to observe that it is use and sign up and use it so that others observe that it is used. I do think that more and more of our AccessD members are trying out the .Net stuff and so hopefully we will gain critical mass someday. It won't happen without YOUR support however. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, November 13, 2007 8:38 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines I used to be signed up for that list, but there was almost no traffic on it. Has that changed recently? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 13, 2007 7:20 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines Thanks Dan. You should post this to the VB list since it really about .Net. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, November 13, 2007 7:54 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] VB.Net / C# Guidelines VB City is offering a free download (100 pages) of coding guidelines. http://submain.com/?nav=products.guidelines -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 13 10:45:04 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 13 Nov 2007 08:45:04 -0800 Subject: [AccessD] Blanks in text box In-Reply-To: <29f585dd0711130828p495da587t5cd69a5e1d82008d@mail.gmail.com> References: <004901c8258b$77362c60$0301a8c0@HAL9005><005401c82597$1f9b4ce0$0301a8c0@HAL9005><006001c8260c$17ad3730$0301a8c0@HAL9005><29f585dd0711130758m22473902gd14ab6fffc084344@mail.gmail.com><006c01c8260f$f7fb5df0$0301a8c0@HAL9005> <29f585dd0711130828p495da587t5cd69a5e1d82008d@mail.gmail.com> Message-ID: <007401c82614$8bf54e90$0301a8c0@HAL9005> Arthur: Yes, it will do wild cards. I'll see if that is a practical compromise. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, November 13, 2007 8:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Blanks in text box I re-read the thread from the top, and afaics the only thing you can do is "empower" the user with a little education. Otherwise, you have a significant problem enabling the user to enter "r " plus some other filter. If you allow the user to enter "r *" then you'll get the effect you desire, I think. A. On 11/13/07, Rocky Smolin at Beach Access Software wrote: > > Only natural. So now I'm faced with the problem of committing an > unnatural act. Any ideas? Programming, that is. > > Rocky > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.30/1127 - Release Date: 11/12/2007 9:19 PM From rockysmolin at bchacc.com Tue Nov 13 10:48:38 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 13 Nov 2007 08:48:38 -0800 Subject: [AccessD] Blanks in text box In-Reply-To: References: <004901c8258b$77362c60$0301a8c0@HAL9005><005401c82597$1f9b4ce0$0301a8c0@HAL9005><006001c8260c$17ad3730$0301a8c0@HAL9005> <29f585dd0711130758m22473902gd14ab6fffc084344@mail.gmail.com> Message-ID: <007501c82615$0afd99e0$0301a8c0@HAL9005> Mark: I'm not sure that will work because the space seems to be getting trimmed from the string before I get hold of it. I may have to use key trapping to see what key was pressed. And if blank add it manually to the string during the row source update. Regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, November 13, 2007 8:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Blanks in text box Rocky, It might be crude, but could you just force the string using something like (code below) on the BeforeUpdate of the text box? Thanks, Mark A. Matte CODE START Dim SpaceCheck Dim Length Dim TrimLength Dim FinalString FinalString = Me!Text0 Length = Len(Me!Text0.Text) TrimLength = Len(Trim(Me!Text0.Text)) If Length = TrimLength Then GoTo SKIP SpaceCheck = 0 Do Until SpaceCheck = Length FinalString = FinalString & Chr(32) SpaceCheck = Len(FinalString) Loop SKIP: MsgBox FinalString & "test" CODE END > Date: Tue, 13 Nov 2007 10:58:08 -0500 > From: fuller.artful at gmail.com > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Blanks in text box > > This does not strike me as surprising, since the same thing happens in > the database itself. You can't store "aaaa " in a column. Access will trim it. > So it's only natural that it would do the same for its form controls, > isn't it? > > A. > > On 11/13/07, Rocky Smolin at Beach Access Software > wrote: >> >> if I key in r and then a space the resulting filter is just an r. >> There are actually four text boxes like that which can add criteria >> to the row source of the list box. I do this four times adding Where >> clauses to the row >> source: >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Windows Live Hotmail and Microsoft Office Outlook ? together at last. ?Get it now. http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL10062697 1033 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.30/1127 - Release Date: 11/12/2007 9:19 PM From markamatte at hotmail.com Tue Nov 13 10:54:05 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 13 Nov 2007 16:54:05 +0000 Subject: [AccessD] Blanks in text box In-Reply-To: <007501c82615$0afd99e0$0301a8c0@HAL9005> References: <004901c8258b$77362c60$0301a8c0@HAL9005><005401c82597$1f9b4ce0$0301a8c0@HAL9005><006001c8260c$17ad3730$0301a8c0@HAL9005> <29f585dd0711130758m22473902gd14ab6fffc084344@mail.gmail.com> <007501c82615$0afd99e0$0301a8c0@HAL9005> Message-ID: Rocky, I can't see exactly what you are looking at...but in testing what is below...I was losing the spaces when I left the text box...thats why I placed the code on the before update...and in that case the spaces where passed to the code. Good luck, Mark > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Tue, 13 Nov 2007 08:48:38 -0800 > Subject: Re: [AccessD] Blanks in text box > > Mark: > > I'm not sure that will work because the space seems to be getting trimmed > from the string before I get hold of it. I may have to use key trapping to > see what key was pressed. And if blank add it manually to the string during > the row source update. > > Regards, > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > Sent: Tuesday, November 13, 2007 8:26 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Blanks in text box > > > Rocky, > > It might be crude, but could you just force the string using something like > (code below) on the BeforeUpdate of the text box? > > Thanks, > > Mark A. Matte > > CODE START > Dim SpaceCheck > Dim Length > Dim TrimLength > Dim FinalString > FinalString = Me!Text0 > Length = Len(Me!Text0.Text) > TrimLength = Len(Trim(Me!Text0.Text)) > If Length = TrimLength Then GoTo SKIP > SpaceCheck = 0 > Do Until SpaceCheck = Length > FinalString = FinalString & Chr(32) > SpaceCheck = Len(FinalString) > Loop > SKIP: > MsgBox FinalString & "test" > CODE END > >> Date: Tue, 13 Nov 2007 10:58:08 -0500 >> From: fuller.artful at gmail.com >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] Blanks in text box >> >> This does not strike me as surprising, since the same thing happens in >> the database itself. You can't store "aaaa " in a column. Access will trim > it. >> So it's only natural that it would do the same for its form controls, >> isn't it? >> >> A. >> >> On 11/13/07, Rocky Smolin at Beach Access Software >> wrote: >>> >>> if I key in r and then a space the resulting filter is just an r. >>> There are actually four text boxes like that which can add criteria >>> to the row source of the list box. I do this four times adding Where >>> clauses to the row >>> source: >>> >>> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > _________________________________________________________________ > Windows Live Hotmail and Microsoft Office Outlook ? together at last. Get > it now. > http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL10062697 > 1033 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.15.30/1127 - Release Date: 11/12/2007 > 9:19 PM > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Windows Live Hotmail and Microsoft Office Outlook ? together at last. ?Get it now. http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL100626971033 From rockysmolin at bchacc.com Tue Nov 13 11:05:56 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 13 Nov 2007 09:05:56 -0800 Subject: [AccessD] Blanks in text box In-Reply-To: References: <004901c8258b$77362c60$0301a8c0@HAL9005><005401c82597$1f9b4ce0$0301a8c0@HAL9005><006001c8260c$17ad3730$0301a8c0@HAL9005><29f585dd0711130758m22473902gd14ab6fffc084344@mail.gmail.com> <007501c82615$0afd99e0$0301a8c0@HAL9005> Message-ID: <007e01c82617$767a77e0$0301a8c0@HAL9005> Mark: My debug statement shows that even in the Before Update event the blank is already gone. So I still need a way to know if the user has pressed the space bar. I'm updating the row source after every keystroke. Your code seems to imply that at that point Text0 still has the trailing blanks. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, November 13, 2007 8:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Blanks in text box Rocky, I can't see exactly what you are looking at...but in testing what is below...I was losing the spaces when I left the text box...thats why I placed the code on the before update...and in that case the spaces where passed to the code. Good luck, Mark > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Tue, 13 Nov 2007 08:48:38 -0800 > Subject: Re: [AccessD] Blanks in text box > > Mark: > > I'm not sure that will work because the space seems to be getting > trimmed from the string before I get hold of it. I may have to use key > trapping to see what key was pressed. And if blank add it manually to > the string during the row source update. > > Regards, > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A > Matte > Sent: Tuesday, November 13, 2007 8:26 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Blanks in text box > > > Rocky, > > It might be crude, but could you just force the string using something > like (code below) on the BeforeUpdate of the text box? > > Thanks, > > Mark A. Matte > > CODE START > Dim SpaceCheck > Dim Length > Dim TrimLength > Dim FinalString > FinalString = Me!Text0 > Length = Len(Me!Text0.Text) > TrimLength = Len(Trim(Me!Text0.Text)) > If Length = TrimLength Then GoTo SKIP > SpaceCheck = 0 > Do Until SpaceCheck = Length > FinalString = FinalString & Chr(32) > SpaceCheck = Len(FinalString) > Loop > SKIP: > MsgBox FinalString & "test" > CODE END > From jwcolby at colbyconsulting.com Tue Nov 13 11:15:52 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Nov 2007 12:15:52 -0500 Subject: [AccessD] VB.Net / C# Guidelines In-Reply-To: References: <001201c825f4$3dbb9290$0200a8c0@danwaters><00e501c825f7$e696a000$6c7aa8c0@M90><001b01c825fa$5b7f4be0$0200a8c0@danwaters><00e801c825fc$7ac9c910$6c7aa8c0@M90><002001c82607$1ec654c0$0200a8c0@danwaters><000201c82610$15da7630$6c7aa8c0@M90> Message-ID: <000e01c82618$d89e4220$6c7aa8c0@M90> Yea, but you were still trying to be an Access programmer after how many years? Then you gave up and moved on to .Net! ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 13, 2007 11:41 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VB.Net / C# Guidelines Hah! I'm still trying for that after 2 years of DOING it! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 13, 2007 8:13 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines LOL, maybe someday I'll be a .Net programmer too. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, November 13, 2007 10:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines OK - my support exists! Maybe someday I'll be a VB.Net programmer. ;-) Dan From markamatte at hotmail.com Tue Nov 13 11:17:58 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 13 Nov 2007 17:17:58 +0000 Subject: [AccessD] From Access to Hosted site??? In-Reply-To: <007501c82615$0afd99e0$0301a8c0@HAL9005> References: <004901c8258b$77362c60$0301a8c0@HAL9005><005401c82597$1f9b4ce0$0301a8c0@HAL9005><006001c8260c$17ad3730$0301a8c0@HAL9005> <29f585dd0711130758m22473902gd14ab6fffc084344@mail.gmail.com> <007501c82615$0afd99e0$0301a8c0@HAL9005> Message-ID: Hello All, I have asked questions related to this topic before...and honestly, without this list I would have never got this thing to work as is...but now its time to expand. Currently, everything listed below is done in access on a machine at my house. I want to have it hosted somewhere. Here is what it does. 1. check for file on FTP every 5 minutes 2. gets ftp file 3. unzips file 4. imports file LOOP HERE 5. runs SQL against import 6. concantenates results of sql into string 7. emails string END LOOP Lets say the loop part happens about 1000 times with different SQLs and emails that are constantly changing.(SQL and email addresses are stored in a table) At this point lets pretend that there is not a user interface...I just need to replicate the above automated functionality on a hosted site (just not my house...and somewhere reliable). If I could just drop my Access db out somewhere and let it run...I would...or can I? I'm really lost at this point. I guess my question is..."To put this out on a server...what would be the 'engine' or driving force that would coordinate and execute these tasks?" I'm a quick study...and will tackle whatever language/db/platform I need to...I'm just having trouble with my game plan. I don't know where to start. Any guidence or suggestions would be greatly appreciated. Thanks Again, Mark A. Matte _________________________________________________________________ Boo!?Scare away worms, viruses and so much more! Try Windows Live OneCare! http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews From markamatte at hotmail.com Tue Nov 13 11:21:38 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 13 Nov 2007 17:21:38 +0000 Subject: [AccessD] Blanks in text box In-Reply-To: <007e01c82617$767a77e0$0301a8c0@HAL9005> References: <004901c8258b$77362c60$0301a8c0@HAL9005><005401c82597$1f9b4ce0$0301a8c0@HAL9005><006001c8260c$17ad3730$0301a8c0@HAL9005><29f585dd0711130758m22473902gd14ab6fffc084344@mail.gmail.com> <007501c82615$0afd99e0$0301a8c0@HAL9005> <007e01c82617$767a77e0$0301a8c0@HAL9005> Message-ID: Rocky, Yes the code impies that...kinda...lol. the following is true on the BeforeUpdate >> Me!Text0.Text has the trailing spaces >> Me!Text0 does NOT have trailing spaces Does that make sense? Thanks, Mark > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Tue, 13 Nov 2007 09:05:56 -0800 > Subject: Re: [AccessD] Blanks in text box > > Mark: > > My debug statement shows that even in the Before Update event the blank is > already gone. So I still need a way to know if the user has pressed the > space bar. I'm updating the row source after every keystroke. Your code > seems to imply that at that point Text0 still has the trailing blanks. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > Sent: Tuesday, November 13, 2007 8:54 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Blanks in text box > > > Rocky, > > I can't see exactly what you are looking at...but in testing what is > below...I was losing the spaces when I left the text box...thats why I > placed the code on the before update...and in that case the spaces where > passed to the code. > > Good luck, > > Mark > >> From: rockysmolin at bchacc.com >> To: accessd at databaseadvisors.com >> Date: Tue, 13 Nov 2007 08:48:38 -0800 >> Subject: Re: [AccessD] Blanks in text box >> >> Mark: >> >> I'm not sure that will work because the space seems to be getting >> trimmed from the string before I get hold of it. I may have to use key >> trapping to see what key was pressed. And if blank add it manually to >> the string during the row source update. >> >> Regards, >> >> Rocky >> >> >> >> >> >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A >> Matte >> Sent: Tuesday, November 13, 2007 8:26 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Blanks in text box >> >> >> Rocky, >> >> It might be crude, but could you just force the string using something >> like (code below) on the BeforeUpdate of the text box? >> >> Thanks, >> >> Mark A. Matte >> >> CODE START >> Dim SpaceCheck >> Dim Length >> Dim TrimLength >> Dim FinalString >> FinalString = Me!Text0 >> Length = Len(Me!Text0.Text) >> TrimLength = Len(Trim(Me!Text0.Text)) >> If Length = TrimLength Then GoTo SKIP >> SpaceCheck = 0 >> Do Until SpaceCheck = Length >> FinalString = FinalString & Chr(32) >> SpaceCheck = Len(FinalString) >> Loop >> SKIP: >> MsgBox FinalString & "test" >> CODE END >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Climb to the top of the charts!? Play Star Shuffle:? the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct From markamatte at hotmail.com Tue Nov 13 11:25:02 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 13 Nov 2007 17:25:02 +0000 Subject: [AccessD] Blanks in text box In-Reply-To: <007e01c82617$767a77e0$0301a8c0@HAL9005> References: <004901c8258b$77362c60$0301a8c0@HAL9005><005401c82597$1f9b4ce0$0301a8c0@HAL9005><006001c8260c$17ad3730$0301a8c0@HAL9005><29f585dd0711130758m22473902gd14ab6fffc084344@mail.gmail.com> <007501c82615$0afd99e0$0301a8c0@HAL9005> <007e01c82617$767a77e0$0301a8c0@HAL9005> Message-ID: Ok...I feel kinda silly now...after reading my last response...why not ignore all the funky loop thing I did and just: (Again on the BeforeUpdate) Dim FinalString FinalString = Me!Text0.Text MsgBox FinalString & "test" I think we try to make this complicated. Good Luck, Mark > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Tue, 13 Nov 2007 09:05:56 -0800 > Subject: Re: [AccessD] Blanks in text box > > Mark: > > My debug statement shows that even in the Before Update event the blank is > already gone. So I still need a way to know if the user has pressed the > space bar. I'm updating the row source after every keystroke. Your code > seems to imply that at that point Text0 still has the trailing blanks. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > Sent: Tuesday, November 13, 2007 8:54 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Blanks in text box > > > Rocky, > > I can't see exactly what you are looking at...but in testing what is > below...I was losing the spaces when I left the text box...thats why I > placed the code on the before update...and in that case the spaces where > passed to the code. > > Good luck, > > Mark > >> From: rockysmolin at bchacc.com >> To: accessd at databaseadvisors.com >> Date: Tue, 13 Nov 2007 08:48:38 -0800 >> Subject: Re: [AccessD] Blanks in text box >> >> Mark: >> >> I'm not sure that will work because the space seems to be getting >> trimmed from the string before I get hold of it. I may have to use key >> trapping to see what key was pressed. And if blank add it manually to >> the string during the row source update. >> >> Regards, >> >> Rocky >> >> >> >> >> >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A >> Matte >> Sent: Tuesday, November 13, 2007 8:26 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Blanks in text box >> >> >> Rocky, >> >> It might be crude, but could you just force the string using something >> like (code below) on the BeforeUpdate of the text box? >> >> Thanks, >> >> Mark A. Matte >> >> CODE START >> Dim SpaceCheck >> Dim Length >> Dim TrimLength >> Dim FinalString >> FinalString = Me!Text0 >> Length = Len(Me!Text0.Text) >> TrimLength = Len(Trim(Me!Text0.Text)) >> If Length = TrimLength Then GoTo SKIP >> SpaceCheck = 0 >> Do Until SpaceCheck = Length >> FinalString = FinalString & Chr(32) >> SpaceCheck = Len(FinalString) >> Loop >> SKIP: >> MsgBox FinalString & "test" >> CODE END >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Boo!?Scare away worms, viruses and so much more! Try Windows Live OneCare! http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews From jwcolby at colbyconsulting.com Tue Nov 13 11:25:09 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Nov 2007 12:25:09 -0500 Subject: [AccessD] Query builder Message-ID: <001201c8261a$24ba3f50$6c7aa8c0@M90> My client is asking if there is a tool I can buy to make me more productive in building the queries for the analysis he is asking me to do. Just a quick Google of "SQL Server query generator" gets me these: http://www.querytool.com/?gclid=COXT2a-i2o8CFQNlHgodhSWX1Q http://sqlmanager.net/products/tools/querybuilder http://www.activequerybuilder.com/ Has anyone ever used any of these or have any recommendations for other tools like these? John W. Colby Colby Consulting www.ColbyConsulting.com From cfoust at infostatsystems.com Tue Nov 13 11:28:57 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 13 Nov 2007 09:28:57 -0800 Subject: [AccessD] VB.Net / C# Guidelines In-Reply-To: <000e01c82618$d89e4220$6c7aa8c0@M90> References: <001201c825f4$3dbb9290$0200a8c0@danwaters><00e501c825f7$e696a000$6c7aa8c0@M90><001b01c825fa$5b7f4be0$0200a8c0@danwaters><00e801c825fc$7ac9c910$6c7aa8c0@M90><002001c82607$1ec654c0$0200a8c0@danwaters><000201c82610$15da7630$6c7aa8c0@M90> <000e01c82618$d89e4220$6c7aa8c0@M90> Message-ID: Hmmn.... If Me.DataBindings.ToString = "John Colby" Then Me.DataBindings.Clear() End If Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 13, 2007 9:16 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines Yea, but you were still trying to be an Access programmer after how many years? Then you gave up and moved on to .Net! ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 13, 2007 11:41 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VB.Net / C# Guidelines Hah! I'm still trying for that after 2 years of DOING it! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 13, 2007 8:13 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines LOL, maybe someday I'll be a .Net programmer too. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, November 13, 2007 10:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines OK - my support exists! Maybe someday I'll be a VB.Net programmer. ;-) Dan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue Nov 13 11:30:06 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 13 Nov 2007 09:30:06 -0800 Subject: [AccessD] Blanks in text box In-Reply-To: References: <004901c8258b$77362c60$0301a8c0@HAL9005><005401c82597$1f9b4ce0$0301a8c0@HAL9005><006001c8260c$17ad3730$0301a8c0@HAL9005><29f585dd0711130758m22473902gd14ab6fffc084344@mail.gmail.com><007501c82615$0afd99e0$0301a8c0@HAL9005> <007e01c82617$767a77e0$0301a8c0@HAL9005> Message-ID: <008801c8261a$d661fbd0$0301a8c0@HAL9005> Mark: I've been doing VBA long enough not to ask for sense. Just consistency. Let me try it again with .Text. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, November 13, 2007 9:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Blanks in text box Rocky, Yes the code impies that...kinda...lol. the following is true on the BeforeUpdate >> Me!Text0.Text has the trailing spaces Me!Text0 does NOT have >> trailing spaces Does that make sense? Thanks, Mark > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Tue, 13 Nov 2007 09:05:56 -0800 > Subject: Re: [AccessD] Blanks in text box > > Mark: > > My debug statement shows that even in the Before Update event the > blank is already gone. So I still need a way to know if the user has > pressed the space bar. I'm updating the row source after every > keystroke. Your code seems to imply that at that point Text0 still has the trailing blanks. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A > Matte > Sent: Tuesday, November 13, 2007 8:54 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Blanks in text box > > > Rocky, > > I can't see exactly what you are looking at...but in testing what is > below...I was losing the spaces when I left the text box...thats why I > placed the code on the before update...and in that case the spaces > where passed to the code. > > Good luck, > > Mark > >> From: rockysmolin at bchacc.com >> To: accessd at databaseadvisors.com >> Date: Tue, 13 Nov 2007 08:48:38 -0800 >> Subject: Re: [AccessD] Blanks in text box >> >> Mark: >> >> I'm not sure that will work because the space seems to be getting >> trimmed from the string before I get hold of it. I may have to use >> key trapping to see what key was pressed. And if blank add it >> manually to the string during the row source update. >> >> Regards, >> >> Rocky >> >> >> >> >> >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A >> Matte >> Sent: Tuesday, November 13, 2007 8:26 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Blanks in text box >> >> >> Rocky, >> >> It might be crude, but could you just force the string using >> something like (code below) on the BeforeUpdate of the text box? >> >> Thanks, >> >> Mark A. Matte >> >> CODE START >> Dim SpaceCheck >> Dim Length >> Dim TrimLength >> Dim FinalString >> FinalString = Me!Text0 >> Length = Len(Me!Text0.Text) >> TrimLength = Len(Trim(Me!Text0.Text)) If Length = TrimLength Then >> GoTo SKIP SpaceCheck = 0 Do Until SpaceCheck = Length FinalString = >> FinalString & Chr(32) SpaceCheck = Len(FinalString) Loop >> SKIP: >> MsgBox FinalString & "test" >> CODE END >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Climb to the top of the charts!? Play Star Shuffle:? the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.30/1127 - Release Date: 11/12/2007 9:19 PM From markamatte at hotmail.com Tue Nov 13 11:42:28 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 13 Nov 2007 17:42:28 +0000 Subject: [AccessD] Blanks in text box In-Reply-To: <008801c8261a$d661fbd0$0301a8c0@HAL9005> References: <004901c8258b$77362c60$0301a8c0@HAL9005><005401c82597$1f9b4ce0$0301a8c0@HAL9005><006001c8260c$17ad3730$0301a8c0@HAL9005><29f585dd0711130758m22473902gd14ab6fffc084344@mail.gmail.com><007501c82615$0afd99e0$0301a8c0@HAL9005> <007e01c82617$767a77e0$0301a8c0@HAL9005> <008801c8261a$d661fbd0$0301a8c0@HAL9005> Message-ID: Lately I have been making much sense and confusing myself...and others...so it was more of a reference to me. > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Tue, 13 Nov 2007 09:30:06 -0800 > Subject: Re: [AccessD] Blanks in text box > > Mark: > > I've been doing VBA long enough not to ask for sense. Just consistency. > Let me try it again with .Text. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > Sent: Tuesday, November 13, 2007 9:22 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Blanks in text box > > > Rocky, > > Yes the code impies that...kinda...lol. the following is true on the > BeforeUpdate > >>> Me!Text0.Text has the trailing spaces Me!Text0 does NOT have >>> trailing spaces > > Does that make sense? > > Thanks, > > Mark > >> From: rockysmolin at bchacc.com >> To: accessd at databaseadvisors.com >> Date: Tue, 13 Nov 2007 09:05:56 -0800 >> Subject: Re: [AccessD] Blanks in text box >> >> Mark: >> >> My debug statement shows that even in the Before Update event the >> blank is already gone. So I still need a way to know if the user has >> pressed the space bar. I'm updating the row source after every >> keystroke. Your code seems to imply that at that point Text0 still has the > trailing blanks. >> >> Rocky >> >> >> >> >> >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A >> Matte >> Sent: Tuesday, November 13, 2007 8:54 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Blanks in text box >> >> >> Rocky, >> >> I can't see exactly what you are looking at...but in testing what is >> below...I was losing the spaces when I left the text box...thats why I >> placed the code on the before update...and in that case the spaces >> where passed to the code. >> >> Good luck, >> >> Mark >> >>> From: rockysmolin at bchacc.com >>> To: accessd at databaseadvisors.com >>> Date: Tue, 13 Nov 2007 08:48:38 -0800 >>> Subject: Re: [AccessD] Blanks in text box >>> >>> Mark: >>> >>> I'm not sure that will work because the space seems to be getting >>> trimmed from the string before I get hold of it. I may have to use >>> key trapping to see what key was pressed. And if blank add it >>> manually to the string during the row source update. >>> >>> Regards, >>> >>> Rocky >>> >>> >>> >>> >>> >>> >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A >>> Matte >>> Sent: Tuesday, November 13, 2007 8:26 AM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] Blanks in text box >>> >>> >>> Rocky, >>> >>> It might be crude, but could you just force the string using >>> something like (code below) on the BeforeUpdate of the text box? >>> >>> Thanks, >>> >>> Mark A. Matte >>> >>> CODE START >>> Dim SpaceCheck >>> Dim Length >>> Dim TrimLength >>> Dim FinalString >>> FinalString = Me!Text0 >>> Length = Len(Me!Text0.Text) >>> TrimLength = Len(Trim(Me!Text0.Text)) If Length = TrimLength Then >>> GoTo SKIP SpaceCheck = 0 Do Until SpaceCheck = Length FinalString = >>> FinalString & Chr(32) SpaceCheck = Len(FinalString) Loop >>> SKIP: >>> MsgBox FinalString & "test" >>> CODE END >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > _________________________________________________________________ > Climb to the top of the charts! Play Star Shuffle: the word scramble > challenge with star power. > http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.15.30/1127 - Release Date: 11/12/2007 > 9:19 PM > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Windows Live Hotmail and Microsoft Office Outlook ? together at last. ?Get it now. http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL100626971033 From jwcolby at colbyconsulting.com Tue Nov 13 11:49:01 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Nov 2007 12:49:01 -0500 Subject: [AccessD] VB.Net / C# Guidelines In-Reply-To: References: <001201c825f4$3dbb9290$0200a8c0@danwaters><00e501c825f7$e696a000$6c7aa8c0@M90><001b01c825fa$5b7f4be0$0200a8c0@danwaters><00e801c825fc$7ac9c910$6c7aa8c0@M90><002001c82607$1ec654c0$0200a8c0@danwaters><000201c82610$15da7630$6c7aa8c0@M90><000e01c82618$d89e4220$6c7aa8c0@M90> Message-ID: <001401c8261d$7b2b6e10$6c7aa8c0@M90> ROTFL. If me.value = "Charlotte" then me.PokeWithAStick endif John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 13, 2007 12:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VB.Net / C# Guidelines Hmmn.... If Me.DataBindings.ToString = "John Colby" Then Me.DataBindings.Clear() End If Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 13, 2007 9:16 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines Yea, but you were still trying to be an Access programmer after how many years? Then you gave up and moved on to .Net! ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 13, 2007 11:41 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VB.Net / C# Guidelines Hah! I'm still trying for that after 2 years of DOING it! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 13, 2007 8:13 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines LOL, maybe someday I'll be a .Net programmer too. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, November 13, 2007 10:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB.Net / C# Guidelines OK - my support exists! Maybe someday I'll be a VB.Net programmer. ;-) 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 DWUTKA at Marlow.com Tue Nov 13 11:49:53 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Tue, 13 Nov 2007 11:49:53 -0600 Subject: [AccessD] From Access to Hosted site??? In-Reply-To: Message-ID: Just curious, why don't you want this running from your house? Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, November 13, 2007 11:18 AM To: Access Developers discussion and problem solving Subject: [AccessD] From Access to Hosted site??? Hello All, I have asked questions related to this topic before...and honestly, without this list I would have never got this thing to work as is...but now its time to expand. Currently, everything listed below is done in access on a machine at my house. I want to have it hosted somewhere. Here is what it does. 1. check for file on FTP every 5 minutes 2. gets ftp file 3. unzips file 4. imports file LOOP HERE 5. runs SQL against import 6. concantenates results of sql into string 7. emails string END LOOP Lets say the loop part happens about 1000 times with different SQLs and emails that are constantly changing.(SQL and email addresses are stored in a table) At this point lets pretend that there is not a user interface...I just need to replicate the above automated functionality on a hosted site (just not my house...and somewhere reliable). If I could just drop my Access db out somewhere and let it run...I would...or can I? I'm really lost at this point. I guess my question is..."To put this out on a server...what would be the 'engine' or driving force that would coordinate and execute these tasks?" I'm a quick study...and will tackle whatever language/db/platform I need to...I'm just having trouble with my game plan. I don't know where to start. Any guidence or suggestions would be greatly appreciated. Thanks Again, Mark A. Matte _________________________________________________________________ Boo!?Scare away worms, viruses and so much more! Try Windows Live OneCare! http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews -- 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 BusinessSensitve 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 lmrazek at lcm-res.com Tue Nov 13 11:50:42 2007 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Tue, 13 Nov 2007 11:50:42 -0600 Subject: [AccessD] From Access to Hosted site??? In-Reply-To: References: <004901c8258b$77362c60$0301a8c0@HAL9005><005401c82597$1f9b4ce0$0301a8c0@HAL9005><006001c8260c$17ad3730$0301a8c0@HAL9005><29f585dd0711130758m22473902gd14ab6fffc084344@mail.gmail.com> <007501c82615$0afd99e0$0301a8c0@HAL9005> Message-ID: <046f01c8261d$b5c60620$0702a8c0@lcmdv8000> Hi Mark: If you're looking at running this on a hosted site, then you'll probably require a provider that offers a virtual private server or a dedicated server. Prices (and service) varies widely, but if you need to actually install and schedule an access app, this is the way you'll probably need to go. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, November 13, 2007 11:18 AM To: Access Developers discussion and problem solving Subject: [AccessD] From Access to Hosted site??? Hello All, I have asked questions related to this topic before...and honestly, without this list I would have never got this thing to work as is...but now its time to expand. Currently, everything listed below is done in access on a machine at my house. I want to have it hosted somewhere. Here is what it does. 1. check for file on FTP every 5 minutes 2. gets ftp file 3. unzips file 4. imports file LOOP HERE 5. runs SQL against import 6. concantenates results of sql into string 7. emails string END LOOP Lets say the loop part happens about 1000 times with different SQLs and emails that are constantly changing.(SQL and email addresses are stored in a table) At this point lets pretend that there is not a user interface...I just need to replicate the above automated functionality on a hosted site (just not my house...and somewhere reliable). If I could just drop my Access db out somewhere and let it run...I would...or can I? I'm really lost at this point. I guess my question is..."To put this out on a server...what would be the 'engine' or driving force that would coordinate and execute these tasks?" I'm a quick study...and will tackle whatever language/db/platform I need to...I'm just having trouble with my game plan. I don't know where to start. Any guidence or suggestions would be greatly appreciated. Thanks Again, Mark A. Matte _________________________________________________________________ Boo!?Scare away worms, viruses and so much more! Try Windows Live OneCare! http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailn ews -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Tue Nov 13 12:02:28 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 13 Nov 2007 18:02:28 +0000 Subject: [AccessD] From Access to Hosted site??? In-Reply-To: <046f01c8261d$b5c60620$0702a8c0@lcmdv8000> References: <004901c8258b$77362c60$0301a8c0@HAL9005><005401c82597$1f9b4ce0$0301a8c0@HAL9005><006001c8260c$17ad3730$0301a8c0@HAL9005><29f585dd0711130758m22473902gd14ab6fffc084344@mail.gmail.com> <007501c82615$0afd99e0$0301a8c0@HAL9005> <046f01c8261d$b5c60620$0702a8c0@lcmdv8000> Message-ID: Larry, The functionality is currently in Access. If I can go this route and leave it in access...I probably will. I am curious as to what other approaches listers would suggest. Thanks for the advice. Mark > From: lmrazek at lcm-res.com > To: accessd at databaseadvisors.com > Date: Tue, 13 Nov 2007 11:50:42 -0600 > Subject: Re: [AccessD] From Access to Hosted site??? > > Hi Mark: > > If you're looking at running this on a hosted site, then you'll probably > require a provider that offers a virtual private server or a dedicated > server. Prices (and service) varies widely, but if you need to actually > install and schedule an access app, this is the way you'll probably need to > go. > > Larry Mrazek > LCM Research, Inc. > www.lcm-res.com > lmrazek at lcm-res.com > ph. 314-432-5886 > mobile: 314-496-1645 > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > Sent: Tuesday, November 13, 2007 11:18 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] From Access to Hosted site??? > > > Hello All, > > I have asked questions related to this topic before...and honestly, without > this list I would have never got this thing to work as is...but now its time > to expand. Currently, everything listed below is done in access on a > machine at my house. I want to have it hosted somewhere. Here is what it > does. > > 1. check for file on FTP every 5 minutes 2. gets ftp file 3. unzips file > 4. imports file LOOP HERE 5. runs SQL against import 6. concantenates > results of sql into string 7. emails string END LOOP > > Lets say the loop part happens about 1000 times with different SQLs and > emails that are constantly changing.(SQL and email addresses are stored in a > table) > > At this point lets pretend that there is not a user interface...I just need > to replicate the above automated functionality on a hosted site (just not my > house...and somewhere reliable). > > If I could just drop my Access db out somewhere and let it run...I > would...or can I? > > I'm really lost at this point. I guess my question is..."To put this out on > a server...what would be the 'engine' or driving force that would coordinate > and execute these tasks?" > > I'm a quick study...and will tackle whatever language/db/platform I need > to...I'm just having trouble with my game plan. I don't know where to > start. > > Any guidence or suggestions would be greatly appreciated. > > Thanks Again, > > Mark A. Matte > > > > > > > _________________________________________________________________ > Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare! > http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailn > ews > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Windows Live Hotmail and Microsoft Office Outlook ? together at last. ?Get it now. http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL100626971033 From markamatte at hotmail.com Tue Nov 13 12:11:55 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 13 Nov 2007 18:11:55 +0000 Subject: [AccessD] From Access to Hosted site??? In-Reply-To: References: Message-ID: Drew, There are a few reasons: 1. There will eventually be a front end/UI/webpage for people to subscribe to this service and need to be available. 2. Right now I use docmd.sendobject to send the email..fine for a few emails...but I will need to send 1000s (hopefully)...thought it easier to pay for a site with email capability 3. I'm trying to get as mobile as possible...don't want to be tied to that single machine...site goes down...hosted =I call someone...Home=I fly home. Thanks, Mark A. Matte P.S...Most of the db's I have created were for very specific tasks...and never had a need to create something on this scale (availability scale)...typically never more than a few users. But my biggest uncertainty is what 'engine' can drive this thing. > Date: Tue, 13 Nov 2007 11:49:53 -0600 > From: DWUTKA at marlow.com > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] From Access to Hosted site??? > > Just curious, why don't you want this running from your house? > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > Sent: Tuesday, November 13, 2007 11:18 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] From Access to Hosted site??? > > > Hello All, > > I have asked questions related to this topic before...and honestly, without this list I would have never got this thing to work as is...but now its time to expand. Currently, everything listed below is done in access on a machine at my house. I want to have it hosted somewhere. Here is what it does. > > 1. check for file on FTP every 5 minutes > 2. gets ftp file > 3. unzips file > 4. imports file > LOOP HERE > 5. runs SQL against import > 6. concantenates results of sql into string > 7. emails string > END LOOP > > Lets say the loop part happens about 1000 times with different SQLs and emails that are constantly changing.(SQL and email addresses are stored in a table) > > At this point lets pretend that there is not a user interface...I just need to replicate the above automated functionality on a hosted site (just not my house...and somewhere reliable). > > If I could just drop my Access db out somewhere and let it run...I would...or can I? > > I'm really lost at this point. I guess my question is..."To put this out on a server...what would be the 'engine' or driving force that would coordinate and execute these tasks?" > > I'm a quick study...and will tackle whatever language/db/platform I need to...I'm just having trouble with my game plan. I don't know where to start. > > Any guidence or suggestions would be greatly appreciated. > > Thanks Again, > > Mark A. Matte > > > > > > > _________________________________________________________________ > Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare! > http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews > -- > 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 BusinessSensitve 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 _________________________________________________________________ Help yourself to FREE treats served up daily at the Messenger Caf?. Stop by today. http://www.cafemessenger.com/info/info_sweetstuff2.html?ocid=TXT_TAGLM_OctWLtagline From Gustav at cactus.dk Tue Nov 13 12:28:00 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 13 Nov 2007 19:28:00 +0100 Subject: [AccessD] Query builder Message-ID: Hi John A more comprehensive query and reporting tool from our (previous?) member, Rudolf Vanek, is DBxtra: http://www.dbxtra.com/ /gustav >>> jwcolby at colbyconsulting.com 13-11-2007 18:25 >>> My client is asking if there is a tool I can buy to make me more productive in building the queries for the analysis he is asking me to do. Just a quick Google of "SQL Server query generator" gets me these: http://www.querytool.com/?gclid=COXT2a-i2o8CFQNlHgodhSWX1Q http://sqlmanager.net/products/tools/querybuilder http://www.activequerybuilder.com/ Has anyone ever used any of these or have any recommendations for other tools like these? John W. Colby Colby Consulting www.ColbyConsulting.com From robert at webedb.com Tue Nov 13 13:23:51 2007 From: robert at webedb.com (Robert L. Stewart) Date: Tue, 13 Nov 2007 13:23:51 -0600 Subject: [AccessD] From Access to Hosted site??? In-Reply-To: References: Message-ID: <200711131926.lADJQr2O016019@databaseadvisors.com> I would use SQL Server, create a job, and schedule it to run every X minutes. The question would be if the hosting company would let you email from the SQL Server. At 11:50 AM 11/13/2007, you wrote: >Date: Tue, 13 Nov 2007 17:17:58 +0000 >From: Mark A Matte >Subject: [AccessD] From Access to Hosted site??? >To: Access Developers discussion and problem solving > >Message-ID: >Content-Type: text/plain; charset="iso-8859-1" > > >Hello All, > >I have asked questions related to this topic before...and honestly, >without this list I would have never got this thing to work as >is...but now its time to expand. Currently, everything listed below >is done in access on a machine at my house. I want to have it >hosted somewhere. Here is what it does. > >1. check for file on FTP every 5 minutes >2. gets ftp file >3. unzips file >4. imports file >LOOP HERE >5. runs SQL against import >6. concantenates results of sql into string >7. emails string >END LOOP > >Lets say the loop part happens about 1000 times with different SQLs >and emails that are constantly changing.(SQL and email addresses are >stored in a table) > >At this point lets pretend that there is not a user interface...I >just need to replicate the above automated functionality on a hosted >site (just not my house...and somewhere reliable). > >If I could just drop my Access db out somewhere and let it run...I >would...or can I? > >I'm really lost at this point. I guess my question is..."To put >this out on a server...what would be the 'engine' or driving force >that would coordinate and execute these tasks?" > >I'm a quick study...and will tackle whatever language/db/platform I >need to...I'm just having trouble with my game plan. I don't know >where to start. > >Any guidence or suggestions would be greatly appreciated. > >Thanks Again, > >Mark A. Matte > From jwcolby at colbyconsulting.com Tue Nov 13 14:13:43 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Nov 2007 15:13:43 -0500 Subject: [AccessD] 4 Core cpu Message-ID: <000401c82631$b1463340$6c7aa8c0@M90> Does anyone out there have a quad core processor? I am interested in how the 4 cores work with SQL Server specifically. I can tell you that moving to a dual core made a huge difference in "response time" for allowing me to do things simultaneously in SQL Server. I am running a compact database (I think / hope) and am also able to run queries, build indexes on other databases etc. I am just wondering how it looks with a quad core? John W. Colby Colby Consulting www.ColbyConsulting.com From DWUTKA at Marlow.com Tue Nov 13 14:43:22 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Tue, 13 Nov 2007 14:43:22 -0600 Subject: [AccessD] From Access to Hosted site??? In-Reply-To: Message-ID: I see (said the blind man, as he picked up the hammer and saw). Pretty much everything you want to do, you could do with a home setup. (Reliable ISP with a static IP address and domain name, UPS, server OS mirrored drives). I personally don't know of any hosting site out there that let's you host an Access application. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, November 13, 2007 12:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] From Access to Hosted site??? Drew, There are a few reasons: 1. There will eventually be a front end/UI/webpage for people to subscribe to this service and need to be available. 2. Right now I use docmd.sendobject to send the email..fine for a few emails...but I will need to send 1000s (hopefully)...thought it easier to pay for a site with email capability 3. I'm trying to get as mobile as possible...don't want to be tied to that single machine...site goes down...hosted =I call someone...Home=I fly home. Thanks, Mark A. Matte P.S...Most of the db's I have created were for very specific tasks...and never had a need to create something on this scale (availability scale)...typically never more than a few users. But my biggest uncertainty is what 'engine' can drive this thing. > Date: Tue, 13 Nov 2007 11:49:53 -0600 > From: DWUTKA at marlow.com > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] From Access to Hosted site??? > > Just curious, why don't you want this running from your house? > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > Sent: Tuesday, November 13, 2007 11:18 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] From Access to Hosted site??? > > > Hello All, > > I have asked questions related to this topic before...and honestly, without this list I would have never got this thing to work as is...but now its time to expand. Currently, everything listed below is done in access on a machine at my house. I want to have it hosted somewhere. Here is what it does. > > 1. check for file on FTP every 5 minutes > 2. gets ftp file > 3. unzips file > 4. imports file > LOOP HERE > 5. runs SQL against import > 6. concantenates results of sql into string > 7. emails string > END LOOP > > Lets say the loop part happens about 1000 times with different SQLs and emails that are constantly changing.(SQL and email addresses are stored in a table) > > At this point lets pretend that there is not a user interface...I just need to replicate the above automated functionality on a hosted site (just not my house...and somewhere reliable). > > If I could just drop my Access db out somewhere and let it run...I would...or can I? > > I'm really lost at this point. I guess my question is..."To put this out on a server...what would be the 'engine' or driving force that would coordinate and execute these tasks?" > > I'm a quick study...and will tackle whatever language/db/platform I need to...I'm just having trouble with my game plan. I don't know where to start. > > Any guidence or suggestions would be greatly appreciated. > > Thanks Again, > > Mark A. Matte > > > > > > > _________________________________________________________________ > Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare! > http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews > -- > 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 BusinessSensitve 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 _________________________________________________________________ Help yourself to FREE treats served up daily at the Messenger Caf?. Stop by today. http://www.cafemessenger.com/info/info_sweetstuff2.html?ocid=TXT_TAGLM_OctWLtagline -- 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 BusinessSensitve 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 markamatte at hotmail.com Tue Nov 13 15:26:37 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 13 Nov 2007 21:26:37 +0000 Subject: [AccessD] From Access to Hosted site??? In-Reply-To: References: Message-ID: So if I ask for advise...and you give it...and I follow...proverbial blind leading the blind??? I have a hammer AND a saw!!! If I can't leave it in Access...what should I use...and we are not talkng about record count...If I'm lucky...I might have 1000 records in my SQL table and then import(then delete) 3k every 30 minutes. What 'program' should I use to manage/execute the tasks listed below...every 30 minutes. Thanks, Mark > Date: Tue, 13 Nov 2007 14:43:22 -0600 > From: DWUTKA at marlow.com > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] From Access to Hosted site??? > > I see (said the blind man, as he picked up the hammer and saw). > > Pretty much everything you want to do, you could do with a home setup. (Reliable ISP with a static IP address and domain name, UPS, server OS mirrored drives). I personally don't know of any hosting site out there that let's you host an Access application. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > Sent: Tuesday, November 13, 2007 12:12 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] From Access to Hosted site??? > > > > > Drew, > > There are a few reasons: > > 1. There will eventually be a front end/UI/webpage for people to subscribe to this service and need to be available. > 2. Right now I use docmd.sendobject to send the email..fine for a few emails...but I will need to send 1000s (hopefully)...thought it easier to pay for a site with email capability > 3. I'm trying to get as mobile as possible...don't want to be tied to that single machine...site goes down...hosted =I call someone...Home=I fly home. > > Thanks, > > Mark A. Matte > > P.S...Most of the db's I have created were for very specific tasks...and never had a need to create something on this scale (availability scale)...typically never more than a few users. But my biggest uncertainty is what 'engine' can drive this thing. > > >> Date: Tue, 13 Nov 2007 11:49:53 -0600 >> From: DWUTKA at marlow.com >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] From Access to Hosted site??? >> >> Just curious, why don't you want this running from your house? >> >> Drew >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >> Sent: Tuesday, November 13, 2007 11:18 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] From Access to Hosted site??? >> >> >> Hello All, >> >> I have asked questions related to this topic before...and honestly, without this list I would have never got this thing to work as is...but now its time to expand. Currently, everything listed below is done in access on a machine at my house. I want to have it hosted somewhere. Here is what it does. >> >> 1. check for file on FTP every 5 minutes >> 2. gets ftp file >> 3. unzips file >> 4. imports file >> LOOP HERE >> 5. runs SQL against import >> 6. concantenates results of sql into string >> 7. emails string >> END LOOP >> >> Lets say the loop part happens about 1000 times with different SQLs and emails that are constantly changing.(SQL and email addresses are stored in a table) >> >> At this point lets pretend that there is not a user interface...I just need to replicate the above automated functionality on a hosted site (just not my house...and somewhere reliable). >> >> If I could just drop my Access db out somewhere and let it run...I would...or can I? >> >> I'm really lost at this point. I guess my question is..."To put this out on a server...what would be the 'engine' or driving force that would coordinate and execute these tasks?" >> >> I'm a quick study...and will tackle whatever language/db/platform I need to...I'm just having trouble with my game plan. I don't know where to start. >> >> Any guidence or suggestions would be greatly appreciated. >> >> Thanks Again, >> >> Mark A. Matte >> >> >> >> >> >> >> _________________________________________________________________ >> Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare! >> http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews >> -- >> 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 BusinessSensitve 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 > > _________________________________________________________________ > Help yourself to FREE treats served up daily at the Messenger Caf?. Stop by today. > http://www.cafemessenger.com/info/info_sweetstuff2.html?ocid=TXT_TAGLM_OctWLtagline > -- > 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 BusinessSensitve 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 _________________________________________________________________ Climb to the top of the charts!? Play Star Shuffle:? the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct From jwcolby at colbyconsulting.com Tue Nov 13 15:39:30 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Nov 2007 16:39:30 -0500 Subject: [AccessD] From Access to Hosted site??? In-Reply-To: References: Message-ID: <000901c8263d$ad521f40$6c7aa8c0@M90> For that size application I would go with a site hosted on your own machine (for now). I would tend to think vb.net / sql server. Once you get the application ported and running then move it to a hosting site. Lots of them will allow VB.Net applications to run. Until then you have total control over everything. Now, I can't claim 20/20 vision here since I do not host a web site from my home, but you can get a business account with the cable company, get pretty fair speeds, they know and are OK with web sites (over a business account) and you can get fixed IP addresses. Make it work, then swap it out to a pro web hosting site later. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, November 13, 2007 4:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] From Access to Hosted site??? So if I ask for advise...and you give it...and I follow...proverbial blind leading the blind??? I have a hammer AND a saw!!! If I can't leave it in Access...what should I use...and we are not talkng about record count...If I'm lucky...I might have 1000 records in my SQL table and then import(then delete) 3k every 30 minutes. What 'program' should I use to manage/execute the tasks listed below...every 30 minutes. Thanks, Mark > Date: Tue, 13 Nov 2007 14:43:22 -0600 > From: DWUTKA at marlow.com > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] From Access to Hosted site??? > > I see (said the blind man, as he picked up the hammer and saw). > > Pretty much everything you want to do, you could do with a home setup. (Reliable ISP with a static IP address and domain name, UPS, server OS mirrored drives). I personally don't know of any hosting site out there that let's you host an Access application. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A > Matte > Sent: Tuesday, November 13, 2007 12:12 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] From Access to Hosted site??? > > > > > Drew, > > There are a few reasons: > > 1. There will eventually be a front end/UI/webpage for people to subscribe to this service and need to be available. > 2. Right now I use docmd.sendobject to send the email..fine for a few > emails...but I will need to send 1000s (hopefully)...thought it easier to pay for a site with email capability 3. I'm trying to get as mobile as possible...don't want to be tied to that single machine...site goes down...hosted =I call someone...Home=I fly home. > > Thanks, > > Mark A. Matte > > P.S...Most of the db's I have created were for very specific tasks...and never had a need to create something on this scale (availability scale)...typically never more than a few users. But my biggest uncertainty is what 'engine' can drive this thing. > > >> Date: Tue, 13 Nov 2007 11:49:53 -0600 >> From: DWUTKA at marlow.com >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] From Access to Hosted site??? >> >> Just curious, why don't you want this running from your house? >> >> Drew >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A >> Matte >> Sent: Tuesday, November 13, 2007 11:18 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] From Access to Hosted site??? >> >> >> Hello All, >> >> I have asked questions related to this topic before...and honestly, without this list I would have never got this thing to work as is...but now its time to expand. Currently, everything listed below is done in access on a machine at my house. I want to have it hosted somewhere. Here is what it does. >> >> 1. check for file on FTP every 5 minutes 2. gets ftp file 3. unzips >> file 4. imports file LOOP HERE 5. runs SQL against import 6. >> concantenates results of sql into string 7. emails string END LOOP >> >> Lets say the loop part happens about 1000 times with different SQLs >> and emails that are constantly changing.(SQL and email addresses are >> stored in a table) >> >> At this point lets pretend that there is not a user interface...I just need to replicate the above automated functionality on a hosted site (just not my house...and somewhere reliable). >> >> If I could just drop my Access db out somewhere and let it run...I would...or can I? >> >> I'm really lost at this point. I guess my question is..."To put this out on a server...what would be the 'engine' or driving force that would coordinate and execute these tasks?" >> >> I'm a quick study...and will tackle whatever language/db/platform I need to...I'm just having trouble with my game plan. I don't know where to start. >> >> Any guidence or suggestions would be greatly appreciated. >> >> Thanks Again, >> >> Mark A. Matte >> >> >> >> >> >> >> _________________________________________________________________ >> Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare! >> http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_h >> otmailnews >> -- >> 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 BusinessSensitve 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 > > _________________________________________________________________ > Help yourself to FREE treats served up daily at the Messenger Caf?. Stop by today. > http://www.cafemessenger.com/info/info_sweetstuff2.html?ocid=TXT_TAGLM > _OctWLtagline > -- > 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 BusinessSensitve 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 _________________________________________________________________ Climb to the top of the charts!? Play Star Shuffle:? the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at Marlow.com Tue Nov 13 15:41:18 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Tue, 13 Nov 2007 15:41:18 -0600 Subject: [AccessD] From Access to Hosted site??? In-Reply-To: Message-ID: Good question. The problem is most hosting sites host web sites. So you can have an Access .mdb, but they aren't going to actively run it for you. There might be a company out there doing hosting like that, I just haven't heard of one. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, November 13, 2007 3:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] From Access to Hosted site??? So if I ask for advise...and you give it...and I follow...proverbial blind leading the blind??? I have a hammer AND a saw!!! If I can't leave it in Access...what should I use...and we are not talkng about record count...If I'm lucky...I might have 1000 records in my SQL table and then import(then delete) 3k every 30 minutes. What 'program' should I use to manage/execute the tasks listed below...every 30 minutes. Thanks, Mark > Date: Tue, 13 Nov 2007 14:43:22 -0600 > From: DWUTKA at marlow.com > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] From Access to Hosted site??? > > I see (said the blind man, as he picked up the hammer and saw). > > Pretty much everything you want to do, you could do with a home setup. (Reliable ISP with a static IP address and domain name, UPS, server OS mirrored drives). I personally don't know of any hosting site out there that let's you host an Access application. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > Sent: Tuesday, November 13, 2007 12:12 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] From Access to Hosted site??? > > > > > Drew, > > There are a few reasons: > > 1. There will eventually be a front end/UI/webpage for people to subscribe to this service and need to be available. > 2. Right now I use docmd.sendobject to send the email..fine for a few emails...but I will need to send 1000s (hopefully)...thought it easier to pay for a site with email capability > 3. I'm trying to get as mobile as possible...don't want to be tied to that single machine...site goes down...hosted =I call someone...Home=I fly home. > > Thanks, > > Mark A. Matte > > P.S...Most of the db's I have created were for very specific tasks...and never had a need to create something on this scale (availability scale)...typically never more than a few users. But my biggest uncertainty is what 'engine' can drive this thing. > > >> Date: Tue, 13 Nov 2007 11:49:53 -0600 >> From: DWUTKA at marlow.com >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] From Access to Hosted site??? >> >> Just curious, why don't you want this running from your house? >> >> Drew >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >> Sent: Tuesday, November 13, 2007 11:18 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] From Access to Hosted site??? >> >> >> Hello All, >> >> I have asked questions related to this topic before...and honestly, without this list I would have never got this thing to work as is...but now its time to expand. Currently, everything listed below is done in access on a machine at my house. I want to have it hosted somewhere. Here is what it does. >> >> 1. check for file on FTP every 5 minutes >> 2. gets ftp file >> 3. unzips file >> 4. imports file >> LOOP HERE >> 5. runs SQL against import >> 6. concantenates results of sql into string >> 7. emails string >> END LOOP >> >> Lets say the loop part happens about 1000 times with different SQLs and emails that are constantly changing.(SQL and email addresses are stored in a table) >> >> At this point lets pretend that there is not a user interface...I just need to replicate the above automated functionality on a hosted site (just not my house...and somewhere reliable). >> >> If I could just drop my Access db out somewhere and let it run...I would...or can I? >> >> I'm really lost at this point. I guess my question is..."To put this out on a server...what would be the 'engine' or driving force that would coordinate and execute these tasks?" >> >> I'm a quick study...and will tackle whatever language/db/platform I need to...I'm just having trouble with my game plan. I don't know where to start. >> >> Any guidence or suggestions would be greatly appreciated. >> >> Thanks Again, >> >> Mark A. Matte >> >> >> >> >> >> >> _________________________________________________________________ >> Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare! >> http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews >> -- >> 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 BusinessSensitve 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 > > _________________________________________________________________ > Help yourself to FREE treats served up daily at the Messenger Caf?. Stop by today. > http://www.cafemessenger.com/info/info_sweetstuff2.html?ocid=TXT_TAGLM_OctWLtagline > -- > 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 BusinessSensitve 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 _________________________________________________________________ Climb to the top of the charts!? Play Star Shuffle:? the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct -- 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 BusinessSensitve 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 jengross at gte.net Tue Nov 13 15:43:41 2007 From: jengross at gte.net (Jennifer Gross) Date: Tue, 13 Nov 2007 13:43:41 -0800 Subject: [AccessD] From Access to Hosted site??? In-Reply-To: Message-ID: <00de01c8263e$4293cef0$6501a8c0@jefferson> NetworkSolutions.com will let you host an Access app. I have been poking around for a hosting company and just happened to notice this a few weeks ago. Jennifer -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Tuesday, November 13, 2007 12:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] From Access to Hosted site??? I see (said the blind man, as he picked up the hammer and saw). Pretty much everything you want to do, you could do with a home setup. (Reliable ISP with a static IP address and domain name, UPS, server OS mirrored drives). I personally don't know of any hosting site out there that let's you host an Access application. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, November 13, 2007 12:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] From Access to Hosted site??? Drew, There are a few reasons: 1. There will eventually be a front end/UI/webpage for people to subscribe to this service and need to be available. 2. Right now I use docmd.sendobject to send the email..fine for a few emails...but I will need to send 1000s (hopefully)...thought it easier to pay for a site with email capability 3. I'm trying to get as mobile as possible...don't want to be tied to that single machine...site goes down...hosted =I call someone...Home=I fly home. Thanks, Mark A. Matte P.S...Most of the db's I have created were for very specific tasks...and never had a need to create something on this scale (availability scale)...typically never more than a few users. But my biggest uncertainty is what 'engine' can drive this thing. > Date: Tue, 13 Nov 2007 11:49:53 -0600 > From: DWUTKA at marlow.com > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] From Access to Hosted site??? > > Just curious, why don't you want this running from your house? > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > Sent: Tuesday, November 13, 2007 11:18 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] From Access to Hosted site??? > > > Hello All, > > I have asked questions related to this topic before...and honestly, > without this list I would have never got this thing to work as > is...but now its time to expand. Currently, everything listed below is > done in access on a machine at my house. I want to have it hosted > somewhere. Here is what it does. > > 1. check for file on FTP every 5 minutes > 2. gets ftp file > 3. unzips file > 4. imports file > LOOP HERE > 5. runs SQL against import > 6. concantenates results of sql into string > 7. emails string > END LOOP > > Lets say the loop part happens about 1000 times with different SQLs > and emails that are constantly changing.(SQL and email addresses are > stored in a table) > > At this point lets pretend that there is not a user interface...I just > need to replicate the above automated functionality on a hosted site > (just not my house...and somewhere reliable). > > If I could just drop my Access db out somewhere and let it run...I > would...or can I? > > I'm really lost at this point. I guess my question is..."To put this > out on a server...what would be the 'engine' or driving force that > would coordinate and execute these tasks?" > > I'm a quick study...and will tackle whatever language/db/platform I > need to...I'm just having trouble with my game plan. I don't know > where to start. > > Any guidence or suggestions would be greatly appreciated. > > Thanks Again, > > Mark A. Matte > > > > > > > _________________________________________________________________ > Boo! Scare away worms, viruses and so much more! Try Windows Live > OneCare! > http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotm ailnews > -- > 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 BusinessSensitve 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 _________________________________________________________________ Help yourself to FREE treats served up daily at the Messenger Caf?. Stop by today. http://www.cafemessenger.com/info/info_sweetstuff2.html?ocid=TXT_TAGLM_O ctWLtagline -- 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 BusinessSensitve 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 joeo at appoli.com Tue Nov 13 15:53:03 2007 From: joeo at appoli.com (Joe O'Connell) Date: Tue, 13 Nov 2007 16:53:03 -0500 Subject: [AccessD] From Access to Hosted site??? In-Reply-To: References: Message-ID: Mark, There is no reason why you cannot leave it in Access and utilize a third party hosting service. In addition to providing email services (both POP and Exchange), my company provides hosting services for many of our clients, including Terminal Services running Access applications. If you can provide details of your requirements, I will be able to provide a quote for hosting your application. What version of Access are you using? What are the bandwidth requirements? How long does it take to process each zip file? Is the usage constant throughout the day, or are there peaks and valleys? How large are the emails? Do you have a preference for the email system that is used? Are the emails text only or are they HTML? Joe O'Connell -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, November 13, 2007 4:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] From Access to Hosted site??? So if I ask for advise...and you give it...and I follow...proverbial blind leading the blind??? I have a hammer AND a saw!!! If I can't leave it in Access...what should I use...and we are not talkng about record count...If I'm lucky...I might have 1000 records in my SQL table and then import(then delete) 3k every 30 minutes. What 'program' should I use to manage/execute the tasks listed below...every 30 minutes. Thanks, Mark > Date: Tue, 13 Nov 2007 14:43:22 -0600 > From: DWUTKA at marlow.com > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] From Access to Hosted site??? > > I see (said the blind man, as he picked up the hammer and saw). > > Pretty much everything you want to do, you could do with a home setup. (Reliable ISP with a static IP address and domain name, UPS, server OS mirrored drives). I personally don't know of any hosting site out there that let's you host an Access application. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > Sent: Tuesday, November 13, 2007 12:12 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] From Access to Hosted site??? > > > > > Drew, > > There are a few reasons: > > 1. There will eventually be a front end/UI/webpage for people to subscribe to this service and need to be available. > 2. Right now I use docmd.sendobject to send the email..fine for a few emails...but I will need to send 1000s (hopefully)...thought it easier to pay for a site with email capability > 3. I'm trying to get as mobile as possible...don't want to be tied to that single machine...site goes down...hosted =I call someone...Home=I fly home. > > Thanks, > > Mark A. Matte > > P.S...Most of the db's I have created were for very specific tasks...and never had a need to create something on this scale (availability scale)...typically never more than a few users. But my biggest uncertainty is what 'engine' can drive this thing. > > >> Date: Tue, 13 Nov 2007 11:49:53 -0600 >> From: DWUTKA at marlow.com >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] From Access to Hosted site??? >> >> Just curious, why don't you want this running from your house? >> >> Drew >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >> Sent: Tuesday, November 13, 2007 11:18 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] From Access to Hosted site??? >> >> >> Hello All, >> >> I have asked questions related to this topic before...and honestly, without this list I would have never got this thing to work as is...but now its time to expand. Currently, everything listed below is done in access on a machine at my house. I want to have it hosted somewhere. Here is what it does. >> >> 1. check for file on FTP every 5 minutes >> 2. gets ftp file >> 3. unzips file >> 4. imports file >> LOOP HERE >> 5. runs SQL against import >> 6. concantenates results of sql into string >> 7. emails string >> END LOOP >> >> Lets say the loop part happens about 1000 times with different SQLs and emails that are constantly changing.(SQL and email addresses are stored in a table) >> >> At this point lets pretend that there is not a user interface...I just need to replicate the above automated functionality on a hosted site (just not my house...and somewhere reliable). >> >> If I could just drop my Access db out somewhere and let it run...I would...or can I? >> >> I'm really lost at this point. I guess my question is..."To put this out on a server...what would be the 'engine' or driving force that would coordinate and execute these tasks?" >> >> I'm a quick study...and will tackle whatever language/db/platform I need to...I'm just having trouble with my game plan. I don't know where to start. >> >> Any guidence or suggestions would be greatly appreciated. >> >> Thanks Again, >> >> Mark A. Matte >> >> >> >> >> >> >> _________________________________________________________________ >> Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare! >> http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews >> -- >> 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 BusinessSensitve 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 > > _________________________________________________________________ > Help yourself to FREE treats served up daily at the Messenger Caf?. Stop by today. > http://www.cafemessenger.com/info/info_sweetstuff2.html?ocid=TXT_TAGLM_OctWLtagline > -- > 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 BusinessSensitve 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 _________________________________________________________________ Climb to the top of the charts!? Play Star Shuffle:? the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lmrazek at lcm-res.com Tue Nov 13 15:55:09 2007 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Tue, 13 Nov 2007 15:55:09 -0600 Subject: [AccessD] From Access to Hosted site??? In-Reply-To: References: Message-ID: <04b201c8263f$dd3c2280$0702a8c0@lcmdv8000> The hosting companies that offer dedicated servers and virtual private servers will allow you to load anything you'd like, as long as it doesn't violate their terms of service (EX: no naughty sites, spamming, etc.). So if you go to a host like: http://www.maximumasp.com/products/virtualDedicated/, you'll find that you'll be able to install programs, reboot the server, etc, without having to risk downtime because the idiots behind you chopped up your buried phone line while building a new house ... (happened to me several times in the past few years). On my dedicated box, I've installed custom components (Browserhawk, SmarterMail, etc.), all without the help or approval of the host. You shouldn't have any problem at least installing a runtime version of Access on one of these hosts. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Tuesday, November 13, 2007 3:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] From Access to Hosted site??? Good question. The problem is most hosting sites host web sites. So you can have an Access .mdb, but they aren't going to actively run it for you. There might be a company out there doing hosting like that, I just haven't heard of one. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, November 13, 2007 3:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] From Access to Hosted site??? So if I ask for advise...and you give it...and I follow...proverbial blind leading the blind??? I have a hammer AND a saw!!! If I can't leave it in Access...what should I use...and we are not talkng about record count...If I'm lucky...I might have 1000 records in my SQL table and then import(then delete) 3k every 30 minutes. What 'program' should I use to manage/execute the tasks listed below...every 30 minutes. Thanks, Mark > Date: Tue, 13 Nov 2007 14:43:22 -0600 > From: DWUTKA at marlow.com > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] From Access to Hosted site??? > > I see (said the blind man, as he picked up the hammer and saw). > > Pretty much everything you want to do, you could do with a home setup. (Reliable ISP with a static IP address and domain name, UPS, server OS mirrored drives). I personally don't know of any hosting site out there that let's you host an Access application. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A > Matte > Sent: Tuesday, November 13, 2007 12:12 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] From Access to Hosted site??? > > > > > Drew, > > There are a few reasons: > > 1. There will eventually be a front end/UI/webpage for people to subscribe to this service and need to be available. > 2. Right now I use docmd.sendobject to send the email..fine for a few > emails...but I will need to send 1000s (hopefully)...thought it easier to pay for a site with email capability 3. I'm trying to get as mobile as possible...don't want to be tied to that single machine...site goes down...hosted =I call someone...Home=I fly home. > > Thanks, > > Mark A. Matte > > P.S...Most of the db's I have created were for very specific tasks...and never had a need to create something on this scale (availability scale)...typically never more than a few users. But my biggest uncertainty is what 'engine' can drive this thing. > > >> Date: Tue, 13 Nov 2007 11:49:53 -0600 >> From: DWUTKA at marlow.com >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] From Access to Hosted site??? >> >> Just curious, why don't you want this running from your house? >> >> Drew >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A >> Matte >> Sent: Tuesday, November 13, 2007 11:18 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] From Access to Hosted site??? >> >> >> Hello All, >> >> I have asked questions related to this topic before...and honestly, without this list I would have never got this thing to work as is...but now its time to expand. Currently, everything listed below is done in access on a machine at my house. I want to have it hosted somewhere. Here is what it does. >> >> 1. check for file on FTP every 5 minutes 2. gets ftp file 3. unzips >> file 4. imports file LOOP HERE 5. runs SQL against import 6. >> concantenates results of sql into string 7. emails string END LOOP >> >> Lets say the loop part happens about 1000 times with different SQLs >> and emails that are constantly changing.(SQL and email addresses are >> stored in a table) >> >> At this point lets pretend that there is not a user interface...I just need to replicate the above automated functionality on a hosted site (just not my house...and somewhere reliable). >> >> If I could just drop my Access db out somewhere and let it run...I would...or can I? >> >> I'm really lost at this point. I guess my question is..."To put this out on a server...what would be the 'engine' or driving force that would coordinate and execute these tasks?" >> >> I'm a quick study...and will tackle whatever language/db/platform I need to...I'm just having trouble with my game plan. I don't know where to start. >> >> Any guidence or suggestions would be greatly appreciated. >> >> Thanks Again, >> >> Mark A. Matte >> >> >> >> >> >> >> _________________________________________________________________ >> Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare! >> http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_h >> otmailnews >> -- >> 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 BusinessSensitve 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 > > _________________________________________________________________ > Help yourself to FREE treats served up daily at the Messenger Caf?. Stop by today. > http://www.cafemessenger.com/info/info_sweetstuff2.html?ocid=TXT_TAGLM > _OctWLtagline > -- > 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 BusinessSensitve 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 _________________________________________________________________ Climb to the top of the charts!? Play Star Shuffle:? the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct -- 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 BusinessSensitve 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 fhtapia at gmail.com Tue Nov 13 16:45:28 2007 From: fhtapia at gmail.com (Francisco Tapia) Date: Tue, 13 Nov 2007 14:45:28 -0800 Subject: [AccessD] [dba-SQLServer] Query builder In-Reply-To: <001201c8261a$24ba3f50$6c7aa8c0@M90> References: <001201c8261a$24ba3f50$6c7aa8c0@M90> Message-ID: If you're looking for tools I would check out the toolbelt from Red-Gate software http://www.red-gate.com/index.htm For standardizing your existing code you can use the sql refractor tool, but to build new queries quickly with intellisense-like technology, then use sql-prompt. I really do enjoy this tool. (I do have this and sql-compare plus sql backup from red gate, they tend to really put out quality software On Nov 13, 2007 9:25 AM, jwcolby wrote: > My client is asking if there is a tool I can buy to make me more > productive > in building the queries for the analysis he is asking me to do. Just a > quick Google of "SQL Server query generator" gets me these: > > http://www.querytool.com/?gclid=COXT2a-i2o8CFQNlHgodhSWX1Q > http://sqlmanager.net/products/tools/querybuilder > http://www.activequerybuilder.com/ > > Has anyone ever used any of these or have any recommendations for other > tools like these? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > -- -Francisco http://sqlthis.blogspot.com | Tsql and More... From adtp at airtelbroadband.in Wed Nov 14 00:03:05 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Wed, 14 Nov 2007 11:33:05 +0530 Subject: [AccessD] Blanks in text box References: <004901c8258b$77362c60$0301a8c0@HAL9005> <005401c82597$1f9b4ce0$0301a8c0@HAL9005> <00c901c82605$35a1fe80$6c57a27a@personalec1122> Message-ID: <018401c82684$14393090$0f57a27a@personalec1122> Rocky, Were you able to try the solution given in my post of 13-Nov-2007 ? A.D.Tejpal ------------ ----- Original Message ----- From: A.D.TEJPAL To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Sent: Tuesday, November 13, 2007 20:24 Subject: Re: [AccessD] Blanks in text box Rocky, You wish to trap the trailing spaces in a text box, while using its contents for applying filter. This calls for certain special measures as trailing spaces (if any) get lost while exiting the text box. Sample code in form's module, as given below, demonstrates application of filter on a subform, duly taking into account the contents of text box (including trailing spaces if any) located on the parent form. Best wishes, A.D.Tejpal ------------ Sample code in form's module Txt1 is the name of text box where criteria string is entered. SF_Sub is the name of control holding the subform. Clicking command button named CmdFilter applies filter on subform records - duly taking into account the trailing blanks (if any) in text box Txt1 PCode is the name of field on which filter is applied. '================================= ' Declarations section Private RefTxt As String '-------------------------------------------------- Private Sub CmdFilter_Click() With Me.SF_Sub.Form .Filter = "PCode Like '" & RefTxt & "*'" .FilterOn = True End With End Sub '-------------------------------------------------- Private Sub Txt1_Change() RefTxt = ActiveControl.Text End Sub '-------------------------------------------------- Private Sub Txt1_Enter() RefTxt = ActiveControl.Text End Sub '================================= ----- Original Message ----- From: Rocky Smolin at Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Tuesday, November 13, 2007 07:17 Subject: Re: [AccessD] Blanks in text box It the text box where I want to have the trailing blanks retained. I'm setting the filter for the text box in a subroutine that's called from the Change event of the text box. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 12, 2007 4:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Blanks in text box What is the "it" that won't accept and retain trailing blanks, Rocky, the list box, the textbox, the filter, or what? If you're trapping keystrokes, make sure you aren't including a Trim in there somewhere. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 12, 2007 4:24 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Blanks in text box Dear List: I am trapping keystrokes in a text box and setting a filter in a list box based on the current value in the text box. But it won't accept and retain trailing blanks. If my client wants to search on R & R for example, he presses R and the list box of names is filtered to all those beginning with R. if he then presses the space bar, it should show all the name beginning with R-blank. But of course, it strips the trailing blank. Is there some trick to getting the trailing blanks to be included in the string? MTIA Rocky From rockysmolin at bchacc.com Wed Nov 14 00:20:49 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 13 Nov 2007 22:20:49 -0800 Subject: [AccessD] Blanks in text box In-Reply-To: <018401c82684$14393090$0f57a27a@personalec1122> References: <004901c8258b$77362c60$0301a8c0@HAL9005> <005401c82597$1f9b4ce0$0301a8c0@HAL9005> <00c901c82605$35a1fe80$6c57a27a@personalec1122> <018401c82684$14393090$0f57a27a@personalec1122> Message-ID: <010c01c82686$808a0060$0301a8c0@HAL9005> A.D.: A modification. Or subset. Looking at your code I could see that it was the .Text property that I was missing. So instead of making the row source WHERE clauses from the text boxes, I stored the contents of the text boxes in strings using the .Text property (strLastName = Me.txtLastName.Text). The strings have the trailing blank so I use the strings to construct the WHERE clause instead of the contents of the text boxes. This works well to insert one blank. But it won't do more than one blank. I know how to solve this with a bit of code but I have to ask the client if that's really necessary. The original requirement for the blank was a company named R & R. The client wanted to filter on that. I think the need to filter on a string that contains two blanks is astronomically small. But I'll ask. With best regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, November 13, 2007 10:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Blanks in text box Rocky, Were you able to try the solution given in my post of 13-Nov-2007 ? A.D.Tejpal ------------ ----- Original Message ----- From: A.D.TEJPAL To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Sent: Tuesday, November 13, 2007 20:24 Subject: Re: [AccessD] Blanks in text box Rocky, You wish to trap the trailing spaces in a text box, while using its contents for applying filter. This calls for certain special measures as trailing spaces (if any) get lost while exiting the text box. Sample code in form's module, as given below, demonstrates application of filter on a subform, duly taking into account the contents of text box (including trailing spaces if any) located on the parent form. Best wishes, A.D.Tejpal ------------ Sample code in form's module Txt1 is the name of text box where criteria string is entered. SF_Sub is the name of control holding the subform. Clicking command button named CmdFilter applies filter on subform records - duly taking into account the trailing blanks (if any) in text box Txt1 PCode is the name of field on which filter is applied. '================================= ' Declarations section Private RefTxt As String '-------------------------------------------------- Private Sub CmdFilter_Click() With Me.SF_Sub.Form .Filter = "PCode Like '" & RefTxt & "*'" .FilterOn = True End With End Sub '-------------------------------------------------- Private Sub Txt1_Change() RefTxt = ActiveControl.Text End Sub '-------------------------------------------------- Private Sub Txt1_Enter() RefTxt = ActiveControl.Text End Sub '================================= ----- Original Message ----- From: Rocky Smolin at Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Tuesday, November 13, 2007 07:17 Subject: Re: [AccessD] Blanks in text box It the text box where I want to have the trailing blanks retained. I'm setting the filter for the text box in a subroutine that's called from the Change event of the text box. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 12, 2007 4:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Blanks in text box What is the "it" that won't accept and retain trailing blanks, Rocky, the list box, the textbox, the filter, or what? If you're trapping keystrokes, make sure you aren't including a Trim in there somewhere. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 12, 2007 4:24 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Blanks in text box Dear List: I am trapping keystrokes in a text box and setting a filter in a list box based on the current value in the text box. But it won't accept and retain trailing blanks. If my client wants to search on R & R for example, he presses R and the list box of names is filtered to all those beginning with R. if he then presses the space bar, it should show all the name beginning with R-blank. But of course, it strips the trailing blank. Is there some trick to getting the trailing blanks to be included in the string? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.31/1129 - Release Date: 11/13/2007 9:22 PM From adtp at airtelbroadband.in Wed Nov 14 07:09:34 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Wed, 14 Nov 2007 18:39:34 +0530 Subject: [AccessD] merging records References: <00e401c825f4$3ca28170$6c7aa8c0@M90> Message-ID: <002801c826bf$f7ba9b70$c657a27a@personalec1122> John, User defined function is found more convenient for such a situation. Sample query Q_Results, as given below, making use of function Fn_SurveyResults() given below, should get the desired results. PersonID, Qn and Ans are the fields (all text type) in table T_Survey. Best wishes, A.D.Tejpal ------------ Q_Results ================================== SELECT T_Survey.PersonID, Fn_SurveyResults([PersonID]) AS SurveyResult FROM T_Survey GROUP BY T_Survey.PersonID; ================================== Fn_SurveyResults() '================================== Function Fn_SurveyResults(Pid _ As String) As String Dim Qst As String, Txt As String Dim rst As DAO.Recordset Qst = "SELECT Qn, Ans " & _ "FROM T_Survey " & _ "WHERE PersonID = '" & _ Pid & "' ORDER BY Qn;" Set rst = DBEngine(0)(0).OpenRecordset(Qst) ' Note - For repeated calls from a query, ' DBEngine(0)(0) is preferred over ' CurrentDb Txt = "" Do Until rst.EOF Txt = Txt & ", [" & rst.Fields("Qn") & _ " - " & rst.Fields("Ans") & "]" rst.MoveNext Loop ' Get rid of leading comma if any If Len(Txt) > 0 Then Txt = Mid(Txt, 3) End If Fn_SurveyResults = Txt rst.Close Set rst = Nothing End Function '================================== ----- Original Message ----- From: jwcolby To: 'Access Developers discussion and problem solving' ; dba-sqlserver at databaseadvisors.com Sent: Tuesday, November 13, 2007 18:23 Subject: [AccessD] merging records I have tables of information about people. The tables represent polls that people have taken, so if a person takes a poll about brands of cigarettes smoked, the table would have a record about that person for that poll. If that same person took a poll about software used, the table would have a NEW record with information about the same person, but about the software that person used. And so forth and so on. Now I need to "roll up" all of the information about a person into a single record so that one record contains all of the information about that person contained in all of the records about that person in the table. Is this possible directly in SQL? Do I need to write code to iterate through the table finding each person and all the records for that person, and then consolidating the information from the second and subsequent records into the first record found? John W. Colby Colby Consulting www.ColbyConsulting.com From jwcolby at colbyconsulting.com Wed Nov 14 07:39:35 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 14 Nov 2007 08:39:35 -0500 Subject: [AccessD] merging records In-Reply-To: <002801c826bf$f7ba9b70$c657a27a@personalec1122> References: <00e401c825f4$3ca28170$6c7aa8c0@M90> <002801c826bf$f7ba9b70$c657a27a@personalec1122> Message-ID: <002001c826c3$cc055980$6c7aa8c0@M90> A.D., Thanks for the response. Unfortunately it is not that simple, i.e. there are about 700 fields, of which about 600 are responses to query questions. Each of those 600 fields will need to be merged with the alternate record. for example: FName LName Addr Smokes Softdrink Car John Colby 1723 N '' '' John Colby 1723 '' Pepsi '' John Colby 1723 '' '' Ford Escort In at least one table there are 600 fields. The fields are divided into "sets" of fields. One set is about boats - State registered, length, type, engine etc. Another set is about medications taken - Zoloft, Aspirin, Etc. Another set is about electronics purchased - stereo, cb, computers, cell phones etc. Thus there are entire sets of fields where there are answers, and potentially (other than name / address) those may be the ONLY fields with data, or potentially someone in the past has already merged the car fields and the medical fields but not the electronics fields. I am attempting to allow a form of data mining I guess, but not really. The user wants to be able to ask questions like "return name and address for all people who smoke and drive a Chevy and purchased CBs". Let's not get bogged down in "why would he ask that", I am not saying that he will, that is just an example. Let's simply assume that he can ask for where clauses on ANY combination of fields. Obviously if the answers to fields are scattered out in multiple records, then it becomes difficult to provide a name set who fit all the criteria because they don't fit all the criteria in any one record. Thus I need to merge the data for a single person at a single address into a single record. I can, and often but not always do, have several records for a given person at that same address. My gut tells me that this is a "software" kind of solution. There are just too many fields to manually type in all the field names that need merging. I need to be able to say something like... merge fields 78-740. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Wednesday, November 14, 2007 8:10 AM To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Subject: Re: [AccessD] merging records John, User defined function is found more convenient for such a situation. Sample query Q_Results, as given below, making use of function Fn_SurveyResults() given below, should get the desired results. PersonID, Qn and Ans are the fields (all text type) in table T_Survey. Best wishes, A.D.Tejpal ------------ Q_Results ================================== SELECT T_Survey.PersonID, Fn_SurveyResults([PersonID]) AS SurveyResult FROM T_Survey GROUP BY T_Survey.PersonID; ================================== Fn_SurveyResults() '================================== Function Fn_SurveyResults(Pid _ As String) As String Dim Qst As String, Txt As String Dim rst As DAO.Recordset Qst = "SELECT Qn, Ans " & _ "FROM T_Survey " & _ "WHERE PersonID = '" & _ Pid & "' ORDER BY Qn;" Set rst = DBEngine(0)(0).OpenRecordset(Qst) ' Note - For repeated calls from a query, ' DBEngine(0)(0) is preferred over ' CurrentDb Txt = "" Do Until rst.EOF Txt = Txt & ", [" & rst.Fields("Qn") & _ " - " & rst.Fields("Ans") & "]" rst.MoveNext Loop ' Get rid of leading comma if any If Len(Txt) > 0 Then Txt = Mid(Txt, 3) End If Fn_SurveyResults = Txt rst.Close Set rst = Nothing End Function '================================== ----- Original Message ----- From: jwcolby To: 'Access Developers discussion and problem solving' ; dba-sqlserver at databaseadvisors.com Sent: Tuesday, November 13, 2007 18:23 Subject: [AccessD] merging records I have tables of information about people. The tables represent polls that people have taken, so if a person takes a poll about brands of cigarettes smoked, the table would have a record about that person for that poll. If that same person took a poll about software used, the table would have a NEW record with information about the same person, but about the software that person used. And so forth and so on. Now I need to "roll up" all of the information about a person into a single record so that one record contains all of the information about that person contained in all of the records about that person in the table. Is this possible directly in SQL? Do I need to write code to iterate through the table finding each person and all the records for that person, and then consolidating the information from the second and subsequent records into the first record found? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at airtelbroadband.in Wed Nov 14 13:49:48 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Thu, 15 Nov 2007 01:19:48 +0530 Subject: [AccessD] merging records References: <00e401c825f4$3ca28170$6c7aa8c0@M90><002801c826bf$f7ba9b70$c657a 27a@personalec1122> <002001c826c3$cc055980$6c7aa8c0@M90> Message-ID: <001e01c826f7$b3738890$c857a27a@personalec1122> John, Apparently, each column carries only one significant value (over a group of records) for each combination of person & address. Your objective is to display only one compacted row per combination of person & address, showing only the significant values for survey results in various columns across the record. As a programmatic solution, the following course of action is suggested: 1 - Let the source table be named T_Data. Its first four fields are ID (PK), FirstName, LastName and Address, followed by large number of other fields (like Smokes etc) meant to hold survey response. 2 - Create an empty table named T_Result. Its structure should be identical to that of T_Data. 3 - Create a dummy table T_Dummy having one field. Populate it with one record. Having taken the above steps, if you run sample subroutine P_PopulateResultTable as given below, table T_Result will get populated with the compacted survey results in desired format. You might like to try it out and confirm whether it is in line with what you have been aiming at. Note - It has been tested on Access 2003 desktop (Access 2000 file format). Reference required - DAO 3.6 Best wishes, A.D.Tejpal ------------ Sample subroutine - for merging survey results T_data is source table. Results are appended to T_Result. '===================================== Sub P_PopulateResultTable() ' This subroutine merges the survey ' results for each person in source table ' T_Data and appends the outcome into ' destination table T_Result. Structure of T_Result ' is identical to that of T_Data ' T_Dummy is a single field single record table. Dim Qst As String, Txt As String Dim Fnm As String, Qst2 As String Dim Fv As Variant Dim rst1 As DAO.Recordset Dim rst2 As DAO.Recordset Dim fd As Field Dim tdf As TableDef Dim db As DAO.Database Const SourceTable As String = "T_Data" Const DestnTable As String = "T_Result" Const DummyTable As String = "T_Dummy" ' Comma separated string of all field names ' that do not directly carry survey response Const ExemptFields As String = _ "ID,FirstName,LastName,Address" Set db = DBEngine(0)(0) ' Clear destination table db.Execute "DELETE * FROM " & _ DestnTable & ";", dbFailOnError Qst = "SELECT FirstName, LastName, " & _ "Address FROM " & SourceTable & _ " GROUP BY FirstName, " & _ "LastName, Address;" Set rst1 = db.OpenRecordset(Qst) Set tdf = db.TableDefs(SourceTable) Do Until rst1.EOF Qst = "INSERT INTO " & DestnTable & _ " SELECT '" & _ rst1.Fields("FirstName") & "' AS " & _ "FirstName, '" & rst1.Fields("LastName") & _ "' AS LastName, '" & rst1.Fields("Address") & _ "' AS Address," For Each fd In tdf.Fields Fnm = fd.Name If InStr(ExemptFields, Fnm) > 0 Then Else Qst2 = "SELECT " & Fnm & _ " FROM " & SourceTable & _ " WHERE FirstName = '" & _ rst1.Fields("FirstName") & _ "' AND LastName = '" & _ rst1.Fields("LastName") & _ "' AND Address = '" & _ rst1.Fields("Address") & _ "' AND Len(" & Fnm & ") > 0;" Set rst2 = db.OpenRecordset(Qst2) If rst2.RecordCount > 0 Then Qst = Qst & " '" & rst2.Fields(0) & _ "' AS " & Fnm & "," Else Qst = Qst & " Null AS " & Fnm & "," End If End If Next ' Remove trailing comma Qst = Left(Qst, Len(Qst) - 1) Qst = Qst & " FROM " & DummyTable & ";" ' Append to destination table db.Execute Qst, dbFailOnError rst1.MoveNext Loop rst1.Close rst2.Close Set rst1 = Nothing Set rst2 = Nothing Set fd = Nothing Set tdf = Nothing Set db = Nothing End Sub '===================================== ----- Original Message ----- From: jwcolby To: 'Access Developers discussion and problem solving' Sent: Wednesday, November 14, 2007 19:09 Subject: Re: [AccessD] merging records A.D., Thanks for the response. Unfortunately it is not that simple, i.e. there are about 700 fields, of which about 600 are responses to query questions. Each of those 600 fields will need to be merged with the alternate record. for example: FName LName Addr Smokes Softdrink Car John Colby 1723 N '' '' John Colby 1723 '' Pepsi '' John Colby 1723 '' '' Ford Escort In at least one table there are 600 fields. The fields are divided into "sets" of fields. One set is about boats - State registered, length, type, engine etc. Another set is about medications taken - Zoloft, Aspirin, Etc. Another set is about electronics purchased - stereo, cb, computers, cell phones etc. << SNIPPED to prevent overall size crossing limits >> John W. Colby Colby Consulting www.ColbyConsulting.com From jwcolby at colbyconsulting.com Wed Nov 14 14:41:46 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 14 Nov 2007 15:41:46 -0500 Subject: [AccessD] merging records In-Reply-To: <001e01c826f7$b3738890$c857a27a@personalec1122> References: <00e401c825f4$3ca28170$6c7aa8c0@M90><002801c826bf$f7ba9b70$c657a27a@personalec1122> <002001c826c3$cc055980$6c7aa8c0@M90> <001e01c826f7$b3738890$c857a27a@personalec1122> Message-ID: <004401c826fe$c6bbe350$6c7aa8c0@M90> Precisely. I will most likely run this in VB.Net since it has to eventually process 50 million records. I long ago generated a hash field for the address, family (address+lastName) and Person (Address+Family+FirstName) so I have hash fields to allow me to find the "same person", ignoring such problems as John Colby and John W. Colby at the same address. This project is one of the reasons I was asking the question about iterating the fields of a class in .Net. If I build a class which is instantiated once for each record for a given person, I can then update the first instance using the data in the subsequent instances, and when done, write the first instance back to the table (or a new table). If I do it correctly the classes of the extraneous records can be told to delete their record in the table after each "person" recordset is scrubbed. I can put a system like this on autopilot to run over a week or month, however long it might take. And with 50 million records it is going to take awhile. But with a VB.Net program running in the background scrubbing the table, I can continue to use the table, with increasing accuracy as the table is being scrubbed. None of the other providers for my client has ever attempted to do this, for obvious reasons (it ain't easy!). John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Wednesday, November 14, 2007 2:50 PM To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Subject: Re: [AccessD] merging records John, Apparently, each column carries only one significant value (over a group of records) for each combination of person & address. Your objective is to display only one compacted row per combination of person & address, showing only the significant values for survey results in various columns across the record. As a programmatic solution, the following course of action is suggested: 1 - Let the source table be named T_Data. Its first four fields are ID (PK), FirstName, LastName and Address, followed by large number of other fields (like Smokes etc) meant to hold survey response. 2 - Create an empty table named T_Result. Its structure should be identical to that of T_Data. 3 - Create a dummy table T_Dummy having one field. Populate it with one record. Having taken the above steps, if you run sample subroutine P_PopulateResultTable as given below, table T_Result will get populated with the compacted survey results in desired format. You might like to try it out and confirm whether it is in line with what you have been aiming at. Note - It has been tested on Access 2003 desktop (Access 2000 file format). Reference required - DAO 3.6 Best wishes, A.D.Tejpal ------------ Sample subroutine - for merging survey results T_data is source table. Results are appended to T_Result. '===================================== Sub P_PopulateResultTable() ' This subroutine merges the survey ' results for each person in source table ' T_Data and appends the outcome into ' destination table T_Result. Structure of T_Result ' is identical to that of T_Data ' T_Dummy is a single field single record table. Dim Qst As String, Txt As String Dim Fnm As String, Qst2 As String Dim Fv As Variant Dim rst1 As DAO.Recordset Dim rst2 As DAO.Recordset Dim fd As Field Dim tdf As TableDef Dim db As DAO.Database Const SourceTable As String = "T_Data" Const DestnTable As String = "T_Result" Const DummyTable As String = "T_Dummy" ' Comma separated string of all field names ' that do not directly carry survey response Const ExemptFields As String = _ "ID,FirstName,LastName,Address" Set db = DBEngine(0)(0) ' Clear destination table db.Execute "DELETE * FROM " & _ DestnTable & ";", dbFailOnError Qst = "SELECT FirstName, LastName, " & _ "Address FROM " & SourceTable & _ " GROUP BY FirstName, " & _ "LastName, Address;" Set rst1 = db.OpenRecordset(Qst) Set tdf = db.TableDefs(SourceTable) Do Until rst1.EOF Qst = "INSERT INTO " & DestnTable & _ " SELECT '" & _ rst1.Fields("FirstName") & "' AS " & _ "FirstName, '" & rst1.Fields("LastName") & _ "' AS LastName, '" & rst1.Fields("Address") & _ "' AS Address," For Each fd In tdf.Fields Fnm = fd.Name If InStr(ExemptFields, Fnm) > 0 Then Else Qst2 = "SELECT " & Fnm & _ " FROM " & SourceTable & _ " WHERE FirstName = '" & _ rst1.Fields("FirstName") & _ "' AND LastName = '" & _ rst1.Fields("LastName") & _ "' AND Address = '" & _ rst1.Fields("Address") & _ "' AND Len(" & Fnm & ") > 0;" Set rst2 = db.OpenRecordset(Qst2) If rst2.RecordCount > 0 Then Qst = Qst & " '" & rst2.Fields(0) & _ "' AS " & Fnm & "," Else Qst = Qst & " Null AS " & Fnm & "," End If End If Next ' Remove trailing comma Qst = Left(Qst, Len(Qst) - 1) Qst = Qst & " FROM " & DummyTable & ";" ' Append to destination table db.Execute Qst, dbFailOnError rst1.MoveNext Loop rst1.Close rst2.Close Set rst1 = Nothing Set rst2 = Nothing Set fd = Nothing Set tdf = Nothing Set db = Nothing End Sub '===================================== ----- Original Message ----- From: jwcolby To: 'Access Developers discussion and problem solving' Sent: Wednesday, November 14, 2007 19:09 Subject: Re: [AccessD] merging records A.D., Thanks for the response. Unfortunately it is not that simple, i.e. there are about 700 fields, of which about 600 are responses to query questions. Each of those 600 fields will need to be merged with the alternate record. for example: FName LName Addr Smokes Softdrink Car John Colby 1723 N '' '' John Colby 1723 '' Pepsi '' John Colby 1723 '' '' Ford Escort In at least one table there are 600 fields. The fields are divided into "sets" of fields. One set is about boats - State registered, length, type, engine etc. Another set is about medications taken - Zoloft, Aspirin, Etc. Another set is about electronics purchased - stereo, cb, computers, cell phones etc. << SNIPPED to prevent overall size crossing limits >> John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Wed Nov 14 14:43:52 2007 From: robert at servicexp.com (Robert) Date: Wed, 14 Nov 2007 15:43:52 -0500 Subject: [AccessD] merging records In-Reply-To: <001e01c826f7$b3738890$c857a27a@personalec1122> References: <00e401c825f4$3ca28170$6c7aa8c0@M90><002801c826bf$f7ba9b70$c657a 27a@personalec1122> <002001c826c3$cc055980$6c7aa8c0@M90> <001e01c826f7$b3738890$c857a27a@personalec1122> Message-ID: <473B5E08.8010808@servicexp.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 A.D., Nice, that is very cooooool.... Robert A.D.TEJPAL wrote: > John, > > Apparently, each column carries only one significant value (over a group of records) for each combination of person & address. Your objective is to display only one compacted row per combination of person & address, showing only the significant values for survey results in various columns across the record. > > As a programmatic solution, the following course of action is suggested: > > 1 - Let the source table be named T_Data. Its first four fields are ID (PK), FirstName, LastName and Address, followed by large number of other fields (like Smokes etc) meant to hold survey response. > > 2 - Create an empty table named T_Result. Its structure should be identical to that of T_Data. > > 3 - Create a dummy table T_Dummy having one field. Populate it with one record. > > Having taken the above steps, if you run sample subroutine P_PopulateResultTable as given below, table T_Result will get populated with the compacted survey results in desired format. You might like to try it out and confirm whether it is in line with what you have been aiming at. > > Note - It has been tested on Access 2003 desktop (Access 2000 file format). Reference required - DAO 3.6 > > Best wishes, > A.D.Tejpal > ------------ > > Sample subroutine - for merging survey results > T_data is source table. Results are appended to T_Result. > '===================================== > Sub P_PopulateResultTable() > ' This subroutine merges the survey > ' results for each person in source table > ' T_Data and appends the outcome into > ' destination table T_Result. Structure of T_Result > ' is identical to that of T_Data > ' T_Dummy is a single field single record table. > > Dim Qst As String, Txt As String > Dim Fnm As String, Qst2 As String > Dim Fv As Variant > > Dim rst1 As DAO.Recordset > Dim rst2 As DAO.Recordset > Dim fd As Field > Dim tdf As TableDef > Dim db As DAO.Database > > Const SourceTable As String = "T_Data" > Const DestnTable As String = "T_Result" > Const DummyTable As String = "T_Dummy" > > ' Comma separated string of all field names > ' that do not directly carry survey response > Const ExemptFields As String = _ > "ID,FirstName,LastName,Address" > > Set db = DBEngine(0)(0) > > ' Clear destination table > db.Execute "DELETE * FROM " & _ > DestnTable & ";", dbFailOnError > > Qst = "SELECT FirstName, LastName, " & _ > "Address FROM " & SourceTable & _ > " GROUP BY FirstName, " & _ > "LastName, Address;" > Set rst1 = db.OpenRecordset(Qst) > > Set tdf = db.TableDefs(SourceTable) > > Do Until rst1.EOF > Qst = "INSERT INTO " & DestnTable & _ > " SELECT '" & _ > rst1.Fields("FirstName") & "' AS " & _ > "FirstName, '" & rst1.Fields("LastName") & _ > "' AS LastName, '" & rst1.Fields("Address") & _ > "' AS Address," > For Each fd In tdf.Fields > Fnm = fd.Name > If InStr(ExemptFields, Fnm) > 0 Then > Else > Qst2 = "SELECT " & Fnm & _ > " FROM " & SourceTable & _ > " WHERE FirstName = '" & _ > rst1.Fields("FirstName") & _ > "' AND LastName = '" & _ > rst1.Fields("LastName") & _ > "' AND Address = '" & _ > rst1.Fields("Address") & _ > "' AND Len(" & Fnm & ") > 0;" > Set rst2 = db.OpenRecordset(Qst2) > > If rst2.RecordCount > 0 Then > Qst = Qst & " '" & rst2.Fields(0) & _ > "' AS " & Fnm & "," > Else > Qst = Qst & " Null AS " & Fnm & "," > End If > > End If > Next > > ' Remove trailing comma > Qst = Left(Qst, Len(Qst) - 1) > Qst = Qst & " FROM " & DummyTable & ";" > > ' Append to destination table > db.Execute Qst, dbFailOnError > > rst1.MoveNext > Loop > > rst1.Close > rst2.Close > Set rst1 = Nothing > Set rst2 = Nothing > Set fd = Nothing > Set tdf = Nothing > Set db = Nothing > End Sub > '===================================== > > ----- Original Message ----- > From: jwcolby > To: 'Access Developers discussion and problem solving' > Sent: Wednesday, November 14, 2007 19:09 > Subject: Re: [AccessD] merging records > > > A.D., > > Thanks for the response. Unfortunately it is not that simple, i.e. there > are about 700 fields, of which about 600 are responses to query questions. > Each of those 600 fields will need to be merged with the alternate record. > for example: > > FName LName Addr Smokes Softdrink Car > John Colby 1723 N '' '' > John Colby 1723 '' Pepsi '' > John Colby 1723 '' '' Ford Escort > > In at least one table there are 600 fields. The fields are divided into > "sets" of fields. One set is about boats - State registered, length, type, > engine etc. Another set is about medications taken - Zoloft, Aspirin, Etc. > Another set is about electronics purchased - stereo, cb, computers, cell > phones etc. > > << SNIPPED to prevent overall size crossing limits >> > > John W. Colby > Colby Consulting > www.ColbyConsulting.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHO14H72dSYCwH8FQRAgB4AKCib+mOSRFqmWCrhBSxqrS0lIh5DwCgpOkC BvIeTD2jF0e2Skvfkla+kLY= =YHVF -----END PGP SIGNATURE----- From darren at activebilling.com.au Wed Nov 14 18:29:42 2007 From: darren at activebilling.com.au (Darren D) Date: Thu, 15 Nov 2007 11:29:42 +1100 Subject: [AccessD] Getting a Record Count using ADO Message-ID: <200711150029.lAF0Tr06021471@databaseadvisors.com> Hi All When I use DAO Recordsets I can simply do a rs.movelast and rs.MoveFirst to populate the rs and then can do an accurate rs.recordCount - Simple When using ADO - IF I use the line rs.movelast - I get a strange error about backward fetching "Run Time Error -2147217884(80040e24) Rowset does not support fetching backward If I rem the line rs.MoveLast - the code works Code Snip Below (The real code does some updates etc on a second recordset - snip not included for that) Anyone know about this - Is there a work around - I just want to compare one rs.recordCount with another rs2.RecordCount and if they differ then do something - else forget about it Make sense? Many thanks in advance DD '#############This is connecting a an SQL Server dB Dim conn1 As New ADODB.Connection Dim rs1 As New ADODB.Recordset Dim selSQL1 As String Dim intRecordCount As Integer Dim i As Integer selSQL1 = "SELECT * from BillRun" conn1 = f_SetSQLSVRConnection '<--SQL Server connections set up and passed from a function here conn1.Open rs1.Open selSQL1, conn1 intRecordCount = 0 With rs1 If Not rs1.BOF And Not rs1.EOF Then 'rs1.MoveLast <---- If I leave this line in - I get the error rs1.MoveFirst Do Until rs1.EOF End If End With rs1.MoveNext intRecordCount = intRecordCount + 1 Loop Else End If End With From ssharkins at gmail.com Wed Nov 14 19:12:08 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 14 Nov 2007 20:12:08 -0500 Subject: [AccessD] Getting a Record Count using ADO References: <200711150029.lAF0Tr06021471@databaseadvisors.com> Message-ID: <02de01c82724$8d560570$4b3a8343@SusanOne> ADO's default cursor type is Forward-Only. You can't move backward, so the MoveLast method returns an error. ADO cursors: dbOpenForwardOnly (the default): static copy, moves forward only dbOpenStatic static copy, all movement enabled dbOpenDynamic Updates are immediate and all types of movement are enabled (not supported by Jet OLEDB provider), so Jet defaults to adOpenKeyset dbOpenKeyset All records are updateable, but you can't see additions and deletions, all movements are enabled. Choose your poison wisely. :) Susan H. Subject: [AccessD] Getting a Record Count using ADO > Hi All > > > > When I use DAO Recordsets I can simply do a rs.movelast and rs.MoveFirst > to > populate the rs and then can do an accurate rs.recordCount - Simple > > When using ADO - IF I use the line rs.movelast - I get a strange error > about > backward fetching > > "Run Time Error -2147217884(80040e24) > > Rowset does not support fetching backward > > If I rem the line rs.MoveLast - the code works > > Code Snip Below (The real code does some updates etc on a second > recordset - > snip not included for that) > > Anyone know about this - Is there a work around - I just want to compare > one > rs.recordCount with another rs2.RecordCount and if they differ then do > something > - else forget about it > > Make sense? > > Many thanks in advance > > DD > > > > > > '#############This is connecting a an SQL Server dB > > Dim conn1 As New ADODB.Connection > > Dim rs1 As New ADODB.Recordset > > Dim selSQL1 As String > > Dim intRecordCount As Integer > > Dim i As Integer > > > > selSQL1 = "SELECT * from BillRun" > > conn1 = f_SetSQLSVRConnection '<--SQL Server connections set up and passed > from > a function here > > conn1.Open > > > > rs1.Open selSQL1, conn1 > > > > intRecordCount = 0 > > > > With rs1 > > If Not rs1.BOF And Not rs1.EOF Then > > 'rs1.MoveLast <---- If I leave this line in - I get the error > > rs1.MoveFirst > > > > Do Until rs1.EOF > > End If > > End With > > rs1.MoveNext > > intRecordCount = intRecordCount + 1 > > Loop > > Else > > End If > > End With > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From darren at activebilling.com.au Wed Nov 14 20:30:14 2007 From: darren at activebilling.com.au (Darren D) Date: Thu, 15 Nov 2007 13:30:14 +1100 Subject: [AccessD] Getting a Record Count using ADO In-Reply-To: <02de01c82724$8d560570$4b3a8343@SusanOne> Message-ID: <200711150230.lAF2UVSL019384@databaseadvisors.com> Hi Susan Brilliant - Many thanks I chose dbOpenStatic rs1.Open selSQL1, conn1 becomes rs1.Open selSQL1, conn1, dbOpenStatic Have a great day Darren ----------------- -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, 15 November 2007 12:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Getting a Record Count using ADO ADO's default cursor type is Forward-Only. You can't move backward, so the MoveLast method returns an error. ADO cursors: dbOpenForwardOnly (the default): static copy, moves forward only dbOpenStatic static copy, all movement enabled dbOpenDynamic Updates are immediate and all types of movement are enabled (not supported by Jet OLEDB provider), so Jet defaults to adOpenKeyset dbOpenKeyset All records are updateable, but you can't see additions and deletions, all movements are enabled. Choose your poison wisely. :) Susan H. Subject: [AccessD] Getting a Record Count using ADO > Hi All > > > > When I use DAO Recordsets I can simply do a rs.movelast and rs.MoveFirst > to > populate the rs and then can do an accurate rs.recordCount - Simple > > When using ADO - IF I use the line rs.movelast - I get a strange error > about > backward fetching > > "Run Time Error -2147217884(80040e24) > > Rowset does not support fetching backward > > If I rem the line rs.MoveLast - the code works > > Code Snip Below (The real code does some updates etc on a second > recordset - > snip not included for that) > > Anyone know about this - Is there a work around - I just want to compare > one > rs.recordCount with another rs2.RecordCount and if they differ then do > something > - else forget about it > > Make sense? > > Many thanks in advance > > DD > > > > > > '#############This is connecting a an SQL Server dB > > Dim conn1 As New ADODB.Connection > > Dim rs1 As New ADODB.Recordset > > Dim selSQL1 As String > > Dim intRecordCount As Integer > > Dim i As Integer > > > > selSQL1 = "SELECT * from BillRun" > > conn1 = f_SetSQLSVRConnection '<--SQL Server connections set up and passed > from > a function here > > conn1.Open > > > > rs1.Open selSQL1, conn1, dbOpenStatic > > > > intRecordCount = 0 > > > > With rs1 > > If Not rs1.BOF And Not rs1.EOF Then > > 'rs1.MoveLast <---- If I leave this line in - I get the error > > rs1.MoveFirst > > > > Do Until rs1.EOF > > End If > > End With > > rs1.MoveNext > > intRecordCount = intRecordCount + 1 > > Loop > > Else > > End If > > End With > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael at ddisolutions.com.au Wed Nov 14 20:55:00 2007 From: michael at ddisolutions.com.au (Michael Maddison) Date: Thu, 15 Nov 2007 13:55:00 +1100 Subject: [AccessD] Getting a Record Count using ADO References: <200711150230.lAF2UVSL019384@databaseadvisors.com> Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D0128A09A@ddi-01.DDI.local> Havn't used ADO for a while but I have 2 comments. I thought ADO didn't require movelast movefirst to get a rowcount? Rather then populating 2 recordsets (potentially expensive) why not just execute 2 select count(1) from table queries? Then populate the recordset if required. cheers Michael M Hi Susan Brilliant - Many thanks I chose dbOpenStatic rs1.Open selSQL1, conn1 becomes rs1.Open selSQL1, conn1, dbOpenStatic Have a great day Darren ----------------- -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, 15 November 2007 12:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Getting a Record Count using ADO ADO's default cursor type is Forward-Only. You can't move backward, so the MoveLast method returns an error. ADO cursors: dbOpenForwardOnly (the default): static copy, moves forward only dbOpenStatic static copy, all movement enabled dbOpenDynamic Updates are immediate and all types of movement are enabled (not supported by Jet OLEDB provider), so Jet defaults to adOpenKeyset dbOpenKeyset All records are updateable, but you can't see additions and deletions, all movements are enabled. Choose your poison wisely. :) Susan H. Subject: [AccessD] Getting a Record Count using ADO > Hi All > > > > When I use DAO Recordsets I can simply do a rs.movelast and > rs.MoveFirst to populate the rs and then can do an accurate > rs.recordCount - Simple > > When using ADO - IF I use the line rs.movelast - I get a strange error > about backward fetching > > "Run Time Error -2147217884(80040e24) > > Rowset does not support fetching backward > > If I rem the line rs.MoveLast - the code works > > Code Snip Below (The real code does some updates etc on a second > recordset - snip not included for that) > > Anyone know about this - Is there a work around - I just want to > compare one rs.recordCount with another rs2.RecordCount and if they > differ then do something > - else forget about it > > Make sense? > > Many thanks in advance > > DD > > > > > > '#############This is connecting a an SQL Server dB > > Dim conn1 As New ADODB.Connection > > Dim rs1 As New ADODB.Recordset > > Dim selSQL1 As String > > Dim intRecordCount As Integer > > Dim i As Integer > > > > selSQL1 = "SELECT * from BillRun" > > conn1 = f_SetSQLSVRConnection '<--SQL Server connections set up and > passed from a function here > > conn1.Open > > > > rs1.Open selSQL1, conn1, dbOpenStatic > > > > intRecordCount = 0 > > > > With rs1 > > If Not rs1.BOF And Not rs1.EOF Then > > 'rs1.MoveLast <---- If I leave this line in - I get the error > > rs1.MoveFirst > > > > Do Until rs1.EOF > > End If > > End With > > rs1.MoveNext > > intRecordCount = intRecordCount + 1 > > Loop > > Else > > End If > > End With > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pcs at azizaz.com Wed Nov 14 21:57:58 2007 From: pcs at azizaz.com (pcs at azizaz.com) Date: Thu, 15 Nov 2007 13:57:58 +1000 (EST) Subject: [AccessD] Getting a Record Count using ADO Message-ID: <20071115135758.DHO77064@dommail.onthenet.com.au> Darren, In ADO Just execute rs.RecordCount which works with : .CursorType = adOpenKeyset regards Borge ---- Original message ---- >Date: Thu, 15 Nov 2007 11:29:42 +1100 >From: "Darren D" >Subject: [AccessD] Getting a Record Count using ADO >To: "'Access Developers discussion and problem solving'" > >Hi All > > > >When I use DAO Recordsets I can simply do a rs.movelast and rs.MoveFirst to >populate the rs and then can do an accurate rs.recordCount - Simple > >When using ADO - IF I use the line rs.movelast - I get a strange error about >backward fetching > >"Run Time Error -2147217884(80040e24) > >Rowset does not support fetching backward > >If I rem the line rs.MoveLast - the code works > >Code Snip Below (The real code does some updates etc on a second recordset - >snip not included for that) > >Anyone know about this - Is there a work around - I just want to compare one >rs.recordCount with another rs2.RecordCount and if they differ then do something >- else forget about it > >Make sense? > >Many thanks in advance > >DD > > > > > >'#############This is connecting a an SQL Server dB > >Dim conn1 As New ADODB.Connection > >Dim rs1 As New ADODB.Recordset > >Dim selSQL1 As String > >Dim intRecordCount As Integer > >Dim i As Integer > > > >selSQL1 = "SELECT * from BillRun" > >conn1 = f_SetSQLSVRConnection '<--SQL Server connections set up and passed from >a function here > >conn1.Open > > > >rs1.Open selSQL1, conn1 > > > >intRecordCount = 0 > > > >With rs1 > > If Not rs1.BOF And Not rs1.EOF Then > > 'rs1.MoveLast <---- If I leave this line in - I get the error > > rs1.MoveFirst > > > > Do Until rs1.EOF > > End If > > End With > > rs1.MoveNext > > intRecordCount = intRecordCount + 1 > > Loop > > Else > > End If > >End With > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From adtp at airtelbroadband.in Wed Nov 14 22:51:59 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Thu, 15 Nov 2007 10:21:59 +0530 Subject: [AccessD] merging records References: <00e401c825f4$3ca28170$6c7aa8c0@M90><002801c826bf$f7ba9b70$c657a 27a@personalec1122><002001c826c3$cc055980$6c7aa8c0@M90><001e01c826f7$b3738 890$c857a27a@personalec1122> <473B5E08.8010808@servicexp.com> Message-ID: <012001c82743$96006700$a857a27a@personalec1122> Thanks Robert! So nice of you. A.D.Tejpal ------------ ----- Original Message ----- From: Robert To: Access Developers discussion and problem solving Sent: Thursday, November 15, 2007 02:13 Subject: Re: [AccessD] merging records -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 A.D., Nice, that is very cooooool.... Robert A.D.TEJPAL wrote: > John, > > Apparently, each column carries only one significant value (over a group of records) for each combination of person & address. Your objective is to display only one compacted row per combination of person & address, showing only the significant values for survey results in various columns across the record. > > As a programmatic solution, the following course of action is suggested: > > 1 - Let the source table be named T_Data. Its first four fields are ID (PK), FirstName, LastName and Address, followed by large number of other fields (like Smokes etc) meant to hold survey response. > > 2 - Create an empty table named T_Result. Its structure should be identical to that of T_Data. > > 3 - Create a dummy table T_Dummy having one field. Populate it with one record. > > Having taken the above steps, if you run sample subroutine P_PopulateResultTable as given below, table T_Result will get populated with the compacted survey results in desired format. You might like to try it out and confirm whether it is in line with what you have been aiming at. > > Note - It has been tested on Access 2003 desktop (Access 2000 file format). Reference required - DAO 3.6 > > Best wishes, > A.D.Tejpal > ------------ > > Sample subroutine - for merging survey results > T_data is source table. Results are appended to T_Result. > '===================================== > Sub P_PopulateResultTable() > ' This subroutine merges the survey > ' results for each person in source table > ' T_Data and appends the outcome into > ' destination table T_Result. Structure of T_Result > ' is identical to that of T_Data > ' T_Dummy is a single field single record table. > > Dim Qst As String, Txt As String > Dim Fnm As String, Qst2 As String > Dim Fv As Variant > > Dim rst1 As DAO.Recordset > Dim rst2 As DAO.Recordset > Dim fd As Field > Dim tdf As TableDef > Dim db As DAO.Database > > Const SourceTable As String = "T_Data" > Const DestnTable As String = "T_Result" > Const DummyTable As String = "T_Dummy" > > ' Comma separated string of all field names > ' that do not directly carry survey response > Const ExemptFields As String = _ > "ID,FirstName,LastName,Address" > > Set db = DBEngine(0)(0) > > ' Clear destination table > db.Execute "DELETE * FROM " & _ > DestnTable & ";", dbFailOnError > > Qst = "SELECT FirstName, LastName, " & _ > "Address FROM " & SourceTable & _ > " GROUP BY FirstName, " & _ > "LastName, Address;" > Set rst1 = db.OpenRecordset(Qst) > > Set tdf = db.TableDefs(SourceTable) > > Do Until rst1.EOF > Qst = "INSERT INTO " & DestnTable & _ > " SELECT '" & _ > rst1.Fields("FirstName") & "' AS " & _ > "FirstName, '" & rst1.Fields("LastName") & _ > "' AS LastName, '" & rst1.Fields("Address") & _ > "' AS Address," > For Each fd In tdf.Fields > Fnm = fd.Name > If InStr(ExemptFields, Fnm) > 0 Then > Else > Qst2 = "SELECT " & Fnm & _ > " FROM " & SourceTable & _ > " WHERE FirstName = '" & _ > rst1.Fields("FirstName") & _ > "' AND LastName = '" & _ > rst1.Fields("LastName") & _ > "' AND Address = '" & _ > rst1.Fields("Address") & _ > "' AND Len(" & Fnm & ") > 0;" > Set rst2 = db.OpenRecordset(Qst2) > > If rst2.RecordCount > 0 Then > Qst = Qst & " '" & rst2.Fields(0) & _ > "' AS " & Fnm & "," > Else > Qst = Qst & " Null AS " & Fnm & "," > End If > > End If > Next > > ' Remove trailing comma > Qst = Left(Qst, Len(Qst) - 1) > Qst = Qst & " FROM " & DummyTable & ";" > > ' Append to destination table > db.Execute Qst, dbFailOnError > > rst1.MoveNext > Loop > > rst1.Close > rst2.Close > Set rst1 = Nothing > Set rst2 = Nothing > Set fd = Nothing > Set tdf = Nothing > Set db = Nothing > End Sub > '===================================== From darren at activebilling.com.au Wed Nov 14 23:10:49 2007 From: darren at activebilling.com.au (Darren D) Date: Thu, 15 Nov 2007 16:10:49 +1100 Subject: [AccessD] Getting Results from SQL SVR into a Continuous form In-Reply-To: <20071113102645.DHJ48961@dommail.onthenet.com.au> Message-ID: <200711150511.lAF5BEkb003143@databaseadvisors.com> Hi Borge Thanks for the reply - I can see this is very efficient compared to the way I was doing it And - It works - kinda If I use code similar to Dim strForm As String strForm = "frmRunDetails" DoCmd.OpenForm strForm '"frmRunDetails" Set Forms(strForm).Recordset = rs1 And ensure the form is not bound to any table or query - I get only 1 row showing at a time Even though the form is a continuous form and there are plenty of rows to show I can scroll through all the records but only displaying one row at a time Is there a trick to get the form to show say 20 records of say 200 then let the user scroll as normal through 180 or so not showing? Also I have text boxes at the footer of the form showing up with #Error using the set RS method- They have things like...="Total Runs: " & Count([RunNo]) as their control source Any way around this too? Many thanks DD -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pcs at azizaz.com Sent: Tuesday, 13 November 2007 11:27 AM To: Access Developers discussion and problemsolving Subject: Re: [AccessD] Getting Results from SQL SVR into a Continuous form Darren, Try: Set Forms(strFrm).Recordset = rs where rs is the recordset you have created and strForm is a string variable holding the name of your Form Regards Borge ---- Original message ---- >Date: Tue, 13 Nov 2007 11:06:46 +1100 >From: "Darren D" >Subject: Re: [AccessD] Getting Results from SQL SVR into a Continuous form >To: "'Access Developers discussion and problem solving'" > >Hi Arthur > >This sounds very efficient - Cool > >Now the tricky bit... > >How do I 'bind' a continuous form in access 2003 (NOT ADP) to a SPROC or view in >SQL SVR? > >Thanks > >Darren >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller >Sent: Tuesday, 13 November 2007 10:53 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Getting Results from SQL SVR into a Continuous form > >Why not eliminate both at once and instead create a sproc or view and use it >as the record source? > >A. > >On 11/12/07, Darren D wrote: >> >> Hi team >> >> >> >> Access 2003 >> >> >> >> I am running select statements to get results from an SQL dB >> >> >> >> Then looping through the rs object and populating temp tables with the >> results - >> Then I am 'binding' my forms to these temp tables for display >> >> >> >> This all works fine - no Prob - I was just wondering if it is possible to >> cut >> out the middle man - >> >> >> >> I mean ditch the temp tables and somehow populate a continuous form with >> the >> various results straight from the rs object >> >> >> >> EG Select AccountNo, AccountName, ContactPerson from tblAccounts may >> return >> say.10 records each with 3 fields of data >> >> >> >> How then do I get these results from the rs object in code into a >> continuous >> form without populating a temp table first? >> >> >> >> Also - Are there any advantages doing it this way or is using a temp table >> perfectly reasonable? >> >> >> >> Many thanks in advance >> >> >> >> Have a great day >> >> >> >> Darren >> >> >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darren at activebilling.com.au Wed Nov 14 23:15:02 2007 From: darren at activebilling.com.au (Darren D) Date: Thu, 15 Nov 2007 16:15:02 +1100 Subject: [AccessD] Getting a Record Count using ADO In-Reply-To: <20071115135758.DHO77064@dommail.onthenet.com.au> Message-ID: <200711150515.lAF5FQlR007806@databaseadvisors.com> Hi Borge I am now realising I can get the rs1.RecordCount without 'populating' using rs1.MoveLast and rs1.MoveFirst - Cool - It is in place now But there are occasions where I do need to get to the last record so I can display the description of the last record on the users form EG In code in the line after rs1.MoveLast I have a line that reads Me.lblDisplay.Caption = "Current Run: " & rs!RunDescription Then the next line is .MoveFirst and then after that I do a loop and then I do all the .Update stuff after that Many thanks for your reply Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pcs at azizaz.com Sent: Thursday, 15 November 2007 2:58 PM To: Access Developers discussion and problemsolving Subject: Re: [AccessD] Getting a Record Count using ADO Darren, In ADO Just execute rs.RecordCount which works with : .CursorType = adOpenKeyset regards Borge ---- Original message ---- >Date: Thu, 15 Nov 2007 11:29:42 +1100 >From: "Darren D" >Subject: [AccessD] Getting a Record Count using ADO >To: "'Access Developers discussion and problem solving'" > >Hi All > > > >When I use DAO Recordsets I can simply do a rs.movelast and rs.MoveFirst to >populate the rs and then can do an accurate rs.recordCount - Simple > >When using ADO - IF I use the line rs.movelast - I get a strange error about >backward fetching > >"Run Time Error -2147217884(80040e24) > >Rowset does not support fetching backward > >If I rem the line rs.MoveLast - the code works > >Code Snip Below (The real code does some updates etc on a second recordset - >snip not included for that) > >Anyone know about this - Is there a work around - I just want to compare one >rs.recordCount with another rs2.RecordCount and if they differ then do something >- else forget about it > >Make sense? > >Many thanks in advance > >DD > > > > > >'#############This is connecting a an SQL Server dB > >Dim conn1 As New ADODB.Connection > >Dim rs1 As New ADODB.Recordset > >Dim selSQL1 As String > >Dim intRecordCount As Integer > >Dim i As Integer > > > >selSQL1 = "SELECT * from BillRun" > >conn1 = f_SetSQLSVRConnection '<--SQL Server connections set up and passed from >a function here > >conn1.Open > > > >rs1.Open selSQL1, conn1 > > > >intRecordCount = 0 > > > >With rs1 > > If Not rs1.BOF And Not rs1.EOF Then > > 'rs1.MoveLast <---- If I leave this line in - I get the error > > rs1.MoveFirst > > > > Do Until rs1.EOF > > End If > > End With > > rs1.MoveNext > > intRecordCount = intRecordCount + 1 > > Loop > > Else > > End If > >End With > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darren at activebilling.com.au Wed Nov 14 23:19:13 2007 From: darren at activebilling.com.au (Darren D) Date: Thu, 15 Nov 2007 16:19:13 +1100 Subject: [AccessD] Getting a Record Count using ADO In-Reply-To: <59A61174B1F5B54B97FD4ADDE71E7D0128A09A@ddi-01.DDI.local> Message-ID: <200711150519.lAF5JcXP009071@databaseadvisors.com> Hi Michael Excellent - this is what Borge Suggested too I have implemented it for the bits where I just need a record count And I use the full blown rs1.Movelast rs1.moveFirst then a Loop for the bits where I need to update a local table I am grateful for the replies Many thanks Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Thursday, 15 November 2007 1:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Getting a Record Count using ADO Havn't used ADO for a while but I have 2 comments. I thought ADO didn't require movelast movefirst to get a rowcount? Rather then populating 2 recordsets (potentially expensive) why not just execute 2 select count(1) from table queries? Then populate the recordset if required. cheers Michael M Hi Susan Brilliant - Many thanks I chose dbOpenStatic rs1.Open selSQL1, conn1 becomes rs1.Open selSQL1, conn1, dbOpenStatic Have a great day Darren ----------------- -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, 15 November 2007 12:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Getting a Record Count using ADO ADO's default cursor type is Forward-Only. You can't move backward, so the MoveLast method returns an error. ADO cursors: dbOpenForwardOnly (the default): static copy, moves forward only dbOpenStatic static copy, all movement enabled dbOpenDynamic Updates are immediate and all types of movement are enabled (not supported by Jet OLEDB provider), so Jet defaults to adOpenKeyset dbOpenKeyset All records are updateable, but you can't see additions and deletions, all movements are enabled. Choose your poison wisely. :) Susan H. Subject: [AccessD] Getting a Record Count using ADO > Hi All > > > > When I use DAO Recordsets I can simply do a rs.movelast and > rs.MoveFirst to populate the rs and then can do an accurate > rs.recordCount - Simple > > When using ADO - IF I use the line rs.movelast - I get a strange error > about backward fetching > > "Run Time Error -2147217884(80040e24) > > Rowset does not support fetching backward > > If I rem the line rs.MoveLast - the code works > > Code Snip Below (The real code does some updates etc on a second > recordset - snip not included for that) > > Anyone know about this - Is there a work around - I just want to > compare one rs.recordCount with another rs2.RecordCount and if they > differ then do something > - else forget about it > > Make sense? > > Many thanks in advance > > DD > > > > > > '#############This is connecting a an SQL Server dB > > Dim conn1 As New ADODB.Connection > > Dim rs1 As New ADODB.Recordset > > Dim selSQL1 As String > > Dim intRecordCount As Integer > > Dim i As Integer > > > > selSQL1 = "SELECT * from BillRun" > > conn1 = f_SetSQLSVRConnection '<--SQL Server connections set up and > passed from a function here > > conn1.Open > > > > rs1.Open selSQL1, conn1, dbOpenStatic > > > > intRecordCount = 0 > > > > With rs1 > > If Not rs1.BOF And Not rs1.EOF Then > > 'rs1.MoveLast <---- If I leave this line in - I get the error > > rs1.MoveFirst > > > > Do Until rs1.EOF > > End If > > End With > > rs1.MoveNext > > intRecordCount = intRecordCount + 1 > > Loop > > Else > > End If > > End With > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From joeget at vgernet.net Wed Nov 14 23:41:56 2007 From: joeget at vgernet.net (John Eget) Date: Thu, 15 Nov 2007 00:41:56 -0500 Subject: [AccessD] Access application to WEb Based Message-ID: <004a01c8274a$4156f460$4cc2f63f@JELaptop> My boss asked me today "What would be the effort to make an existing Microsoft Access application usable on the Web". I could find no references in any of the books I have as a reference. Any idea what I can say or where to look? Thanks for the thoughts and chuckles John From pcs at azizaz.com Thu Nov 15 00:11:44 2007 From: pcs at azizaz.com (pcs at azizaz.com) Date: Thu, 15 Nov 2007 16:11:44 +1000 (EST) Subject: [AccessD] Getting Results from SQL SVR into a Continuous form Message-ID: <20071115161144.DHO89409@dommail.onthenet.com.au> Darren, Sorry, no immediate suggestion to your question about the calculated text controls in the Footer... I don't fully understand how you have designed your Form... We normally split the UI into a Summary Form and a Detail Form... The Summary Form is a continous form that also allow us to scroll horizontal across the columns of a row.... There are usually a number of predefined selection criteria in the Form Footer (a combo box served up by an auxiliary table holding information about SPs that corresponds to each of these predefined selection criteria)..... On the Summary Form above the text control and label that forms each column we have another unbound text control that functions as a 'filter' - the user can enter filter criteria in any of these controls - if an ad hoc 'filter' like that is present it will work in conjunction with the predefined selection criteria that has been selected. The code module will then fetch the chunks of SQL that was used to create the SP (the auxiliary table holds the PK - Description - Name of SP - "Select Part" of SP in memo field - "Where Part" of SP in memo field - "Order By" Part in memo field) and along with the ad hoc filter provided the code will build the SQL string that now is to be used to fetch the record set from the Server instead of the straightforward SP. Using ADO recordset.... Clicking on a column will open the Detail Form on the PK of the Summary Form record... Using query on ODBC linked table(s) limited to one record selected by the PK provided.... On the Detail Form we have a combo box that gets populated with the sub set of records from the Summary Form limited to the first 100 if the Summary Form shows more than 100 records.... So, rather than scrolling on the Detail Form, the User clicks on the combo box to select another record from the subset arrived at on the Summary Form. On the Summary Form you normally show all the essential static information about the records at hand plus any additional fields that is relevant to search on ..... This provides the User with a very effective way of quickly drilling down to the subset of records that the User will be working on in more detail.... The record set on the Summary Form can be made up of any complex (and non-updatable) query .... I don't know if this is relevant to you... Borge ---- Original message ---- >Date: Thu, 15 Nov 2007 16:10:49 +1100 >From: "Darren D" >Subject: Re: [AccessD] Getting Results from SQL SVR into a Continuous form >To: "'Access Developers discussion and problem solving'" > >Hi Borge > >Thanks for the reply - I can see this is very efficient compared to the way I >was doing it >And - It works - kinda >If I use code similar to > > Dim strForm As String > strForm = "frmRunDetails" > DoCmd.OpenForm strForm '"frmRunDetails" > Set Forms(strForm).Recordset = rs1 > >And ensure the form is not bound to any table or query - I get only 1 row >showing at a time >Even though the form is a continuous form and there are plenty of rows to show >I can scroll through all the records but only displaying one row at a time > >Is there a trick to get the form to show say 20 records of say 200 then let the >user scroll as normal through 180 or so not showing? > >Also I have text boxes at the footer of the form showing up with #Error using >the set RS method- They have things like...="Total Runs: " & Count([RunNo]) as >their control source >Any way around this too? > >Many thanks > >DD > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pcs at azizaz.com >Sent: Tuesday, 13 November 2007 11:27 AM >To: Access Developers discussion and problemsolving >Subject: Re: [AccessD] Getting Results from SQL SVR into a Continuous form > >Darren, >Try: > >Set Forms(strFrm).Recordset = rs > >where rs is the recordset you have created and strForm is a >string variable holding the name of your Form > >Regards >Borge > >---- Original message ---- >>Date: Tue, 13 Nov 2007 11:06:46 +1100 >>From: "Darren D" >>Subject: Re: [AccessD] Getting Results from SQL SVR into a >Continuous form >>To: "'Access Developers discussion and problem solving'" > >> >>Hi Arthur >> >>This sounds very efficient - Cool >> >>Now the tricky bit... >> >>How do I 'bind' a continuous form in access 2003 (NOT ADP) to >a SPROC or view in >>SQL SVR? >> >>Thanks >> >>Darren >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >Arthur Fuller >>Sent: Tuesday, 13 November 2007 10:53 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] Getting Results from SQL SVR into a >Continuous form >> >>Why not eliminate both at once and instead create a sproc or >view and use it >>as the record source? >> >>A. >> >>On 11/12/07, Darren D wrote: >>> >>> Hi team >>> >>> >>> >>> Access 2003 >>> >>> >>> >>> I am running select statements to get results from an SQL dB >>> >>> >>> >>> Then looping through the rs object and populating temp >tables with the >>> results - >>> Then I am 'binding' my forms to these temp tables for display >>> >>> >>> >>> This all works fine - no Prob - I was just wondering if it >is possible to >>> cut >>> out the middle man - >>> >>> >>> >>> I mean ditch the temp tables and somehow populate a >continuous form with >>> the >>> various results straight from the rs object >>> >>> >>> >>> EG Select AccountNo, AccountName, ContactPerson from >tblAccounts may >>> return >>> say.10 records each with 3 fields of data >>> >>> >>> >>> How then do I get these results from the rs object in code >into a >>> continuous >>> form without populating a temp table first? >>> >>> >>> >>> Also - Are there any advantages doing it this way or is >using a temp table >>> perfectly reasonable? >>> >>> >>> >>> Many thanks in advance >>> >>> >>> >>> Have a great day >>> >>> >>> >>> Darren >>> >>> >>> >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From Gustav at cactus.dk Thu Nov 15 02:13:00 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 15 Nov 2007 09:13:00 +0100 Subject: [AccessD] merging records Message-ID: Hi A.D. But - as you have the DAO recordset present - why not use AddNew/Update to replace the slow "Insert Into .." SQL execution? /gustav >>> adtp at airtelbroadband.in 14-11-2007 20:49 >>> John, Apparently, each column carries only one significant value (over a group of records) for each combination of person & address. Your objective is to display only one compacted row per combination of person & address, showing only the significant values for survey results in various columns across the record. As a programmatic solution, the following course of action is suggested: 1 - Let the source table be named T_Data. Its first four fields are ID (PK), FirstName, LastName and Address, followed by large number of other fields (like Smokes etc) meant to hold survey response. 2 - Create an empty table named T_Result. Its structure should be identical to that of T_Data. 3 - Create a dummy table T_Dummy having one field. Populate it with one record. Having taken the above steps, if you run sample subroutine P_PopulateResultTable as given below, table T_Result will get populated with the compacted survey results in desired format. You might like to try it out and confirm whether it is in line with what you have been aiming at. Note - It has been tested on Access 2003 desktop (Access 2000 file format). Reference required - DAO 3.6 Best wishes, A.D.Tejpal ------------ Sample subroutine - for merging survey results T_data is source table. Results are appended to T_Result. '===================================== Sub P_PopulateResultTable() ' This subroutine merges the survey ' results for each person in source table ' T_Data and appends the outcome into ' destination table T_Result. Structure of T_Result ' is identical to that of T_Data ' T_Dummy is a single field single record table. Dim Qst As String, Txt As String Dim Fnm As String, Qst2 As String Dim Fv As Variant Dim rst1 As DAO.Recordset Dim rst2 As DAO.Recordset Dim fd As Field Dim tdf As TableDef Dim db As DAO.Database Const SourceTable As String = "T_Data" Const DestnTable As String = "T_Result" Const DummyTable As String = "T_Dummy" ' Comma separated string of all field names ' that do not directly carry survey response Const ExemptFields As String = _ "ID,FirstName,LastName,Address" Set db = DBEngine(0)(0) ' Clear destination table db.Execute "DELETE * FROM " & _ DestnTable & ";", dbFailOnError Qst = "SELECT FirstName, LastName, " & _ "Address FROM " & SourceTable & _ " GROUP BY FirstName, " & _ "LastName, Address;" Set rst1 = db.OpenRecordset(Qst) Set tdf = db.TableDefs(SourceTable) Do Until rst1.EOF Qst = "INSERT INTO " & DestnTable & _ " SELECT '" & _ rst1.Fields("FirstName") & "' AS " & _ "FirstName, '" & rst1.Fields("LastName") & _ "' AS LastName, '" & rst1.Fields("Address") & _ "' AS Address," For Each fd In tdf.Fields Fnm = fd.Name If InStr(ExemptFields, Fnm) > 0 Then Else Qst2 = "SELECT " & Fnm & _ " FROM " & SourceTable & _ " WHERE FirstName = '" & _ rst1.Fields("FirstName") & _ "' AND LastName = '" & _ rst1.Fields("LastName") & _ "' AND Address = '" & _ rst1.Fields("Address") & _ "' AND Len(" & Fnm & ") > 0;" Set rst2 = db.OpenRecordset(Qst2) If rst2.RecordCount > 0 Then Qst = Qst & " '" & rst2.Fields(0) & _ "' AS " & Fnm & "," Else Qst = Qst & " Null AS " & Fnm & "," End If End If Next ' Remove trailing comma Qst = Left(Qst, Len(Qst) - 1) Qst = Qst & " FROM " & DummyTable & ";" ' Append to destination table db.Execute Qst, dbFailOnError rst1.MoveNext Loop rst1.Close rst2.Close Set rst1 = Nothing Set rst2 = Nothing Set fd = Nothing Set tdf = Nothing Set db = Nothing End Sub '===================================== ----- Original Message ----- From: jwcolby To: 'Access Developers discussion and problem solving' Sent: Wednesday, November 14, 2007 19:09 Subject: Re: [AccessD] merging records A.D., Thanks for the response. Unfortunately it is not that simple, i.e. there are about 700 fields, of which about 600 are responses to query questions. Each of those 600 fields will need to be merged with the alternate record. for example: FName LName Addr Smokes Softdrink Car John Colby 1723 N '' '' John Colby 1723 '' Pepsi '' John Colby 1723 '' '' Ford Escort In at least one table there are 600 fields. The fields are divided into "sets" of fields. One set is about boats - State registered, length, type, engine etc. Another set is about medications taken - Zoloft, Aspirin, Etc. Another set is about electronics purchased - stereo, cb, computers, cell phones etc. << SNIPPED to prevent overall size crossing limits >> John W. Colby Colby Consulting www.ColbyConsulting.com From rockysmolin at bchacc.com Thu Nov 15 07:10:17 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 15 Nov 2007 05:10:17 -0800 Subject: [AccessD] Off-Site Backup Message-ID: <001f01c82788$de8012b0$0301a8c0@HAL9005> Dear List: Maybe a bit OT but hopefully some answers that will be useful to all. I've just been solicited by WinZip Computing to try their off-site backup product Carbonite. I occasionally FTP some stuff up to my web site for off site backup. Are any of you doing off-site through a third party product? And if so, which one? Recommendations? TIA Rocky From lmrazek at lcm-res.com Thu Nov 15 07:22:59 2007 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Thu, 15 Nov 2007 07:22:59 -0600 Subject: [AccessD] Off-Site Backup In-Reply-To: <001f01c82788$de8012b0$0301a8c0@HAL9005> References: <001f01c82788$de8012b0$0301a8c0@HAL9005> Message-ID: <061301c8278a$a4c7d970$0702a8c0@lcmdv8000> Hi Rocky: I'm using MozyPro (for clients and myself) ... www.mozy.com. I've like it, and have been impressed with the features. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 15, 2007 7:10 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Off-Site Backup Dear List: Maybe a bit OT but hopefully some answers that will be useful to all. I've just been solicited by WinZip Computing to try their off-site backup product Carbonite. I occasionally FTP some stuff up to my web site for off site backup. Are any of you doing off-site through a third party product? And if so, which one? Recommendations? 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 Nov 15 07:42:07 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 15 Nov 2007 05:42:07 -0800 Subject: [AccessD] Off-Site Backup In-Reply-To: <061301c8278a$a4c7d970$0702a8c0@lcmdv8000> References: <001f01c82788$de8012b0$0301a8c0@HAL9005> <061301c8278a$a4c7d970$0702a8c0@lcmdv8000> Message-ID: <002a01c8278d$511b6140$0301a8c0@HAL9005> Looks good from the web page. I couldn't figure out how much it costs, however, if you want more than 2GB. Guess you have to go with the Pro version. How much do you pay? T&R Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawrence Mrazek Sent: Thursday, November 15, 2007 5:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Hi Rocky: I'm using MozyPro (for clients and myself) ... www.mozy.com. I've like it, and have been impressed with the features. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 15, 2007 7:10 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Off-Site Backup Dear List: Maybe a bit OT but hopefully some answers that will be useful to all. I've just been solicited by WinZip Computing to try their off-site backup product Carbonite. I occasionally FTP some stuff up to my web site for off site backup. Are any of you doing off-site through a third party product? And if so, which one? Recommendations? 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: 11/14/2007 4:54 PM From wdhindman at dejpolsystems.com Thu Nov 15 07:44:30 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 15 Nov 2007 08:44:30 -0500 Subject: [AccessD] Off-Site Backup References: <001f01c82788$de8012b0$0301a8c0@HAL9005> Message-ID: <000901c8278d$a6170e60$ef706c4c@jisshowsbs.local> ...looked a number of times but the first problem was always been the length of time required to backup 40+ gigs over the net ...doesn't matter who the vendor is ...it would require days, not hours, over dsl for the first full backup and then incrementals can take hours themselves. ...but the real problem to me is system restoration on fail ...if file backup were my only consideration then web might be feasible ...but if the server fails and your only backup is the web then you're looking at a very, very long outage vs an hour fom tape and minutes from a hard disk b/u. William ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Thursday, November 15, 2007 8:10 AM Subject: [AccessD] Off-Site Backup > > Dear List: > > Maybe a bit OT but hopefully some answers that will be useful to all. > > I've just been solicited by WinZip Computing to try their off-site backup > product Carbonite. I occasionally FTP some stuff up to my web site for > off > site backup. > > Are any of you doing off-site through a third party product? And if so, > which one? Recommendations? > > TIA > > Rocky > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Nov 15 07:58:18 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Nov 2007 08:58:18 -0500 Subject: [AccessD] Off-Site Backup In-Reply-To: <000901c8278d$a6170e60$ef706c4c@jisshowsbs.local> References: <001f01c82788$de8012b0$0301a8c0@HAL9005> <000901c8278d$a6170e60$ef706c4c@jisshowsbs.local> Message-ID: <008801c8278f$93c8dc00$6c7aa8c0@M90> Agreed on all counts. I think web backup is great for some types of backup, specifically files such as company documents or pictures. I must say that security would be a concern of mine though. With all the issues of data theft... John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Thursday, November 15, 2007 8:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Off-Site Backup ...looked a number of times but the first problem was always been the length of time required to backup 40+ gigs over the net ...doesn't matter who the vendor is ...it would require days, not hours, over dsl for the first full backup and then incrementals can take hours themselves. ...but the real problem to me is system restoration on fail ...if file backup were my only consideration then web might be feasible ...but if the server fails and your only backup is the web then you're looking at a very, very long outage vs an hour fom tape and minutes from a hard disk b/u. William ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Thursday, November 15, 2007 8:10 AM Subject: [AccessD] Off-Site Backup > > Dear List: > > Maybe a bit OT but hopefully some answers that will be useful to all. > > I've just been solicited by WinZip Computing to try their off-site backup > product Carbonite. I occasionally FTP some stuff up to my web site for > off > site backup. > > Are any of you doing off-site through a third party product? And if so, > which one? Recommendations? > > 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 ssharkins at gmail.com Thu Nov 15 08:11:28 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 15 Nov 2007 09:11:28 -0500 Subject: [AccessD] Getting a Record Count using ADO References: <200711150230.lAF2UVSL019384@databaseadvisors.com> Message-ID: <007401c82791$b6a113d0$4b3a8343@SusanOne> This was a huge issue years ago when they switched the default library from DAO to ADO because the DAO default cursor worked correctly. Many developers didn't include an explicit cursor type and when they tried that in ADO, they got errors they didn't understand. What I find most interesting in the internal conversion of dynamic to keyset -- fascinating. Susan H. > Hi Susan > Brilliant - Many thanks > I chose dbOpenStatic > > rs1.Open selSQL1, conn1 > becomes > rs1.Open selSQL1, conn1, dbOpenStatic > Have a great day From max.wanadoo at gmail.com Thu Nov 15 08:32:44 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Thu, 15 Nov 2007 14:32:44 -0000 Subject: [AccessD] Off-Site Backup In-Reply-To: <002a01c8278d$511b6140$0301a8c0@HAL9005> Message-ID: <00ac01c82794$63558050$8119fea9@LTVM> Pricings are here: https://mozy.com/pro/pricing Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 15, 2007 1:42 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Looks good from the web page. I couldn't figure out how much it costs, however, if you want more than 2GB. Guess you have to go with the Pro version. How much do you pay? T&R Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawrence Mrazek Sent: Thursday, November 15, 2007 5:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Hi Rocky: I'm using MozyPro (for clients and myself) ... www.mozy.com. I've like it, and have been impressed with the features. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 15, 2007 7:10 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Off-Site Backup Dear List: Maybe a bit OT but hopefully some answers that will be useful to all. I've just been solicited by WinZip Computing to try their off-site backup product Carbonite. I occasionally FTP some stuff up to my web site for off site backup. Are any of you doing off-site through a third party product? And if so, which one? Recommendations? 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: 11/14/2007 4:54 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Nov 15 08:51:16 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 15 Nov 2007 06:51:16 -0800 Subject: [AccessD] Off-Site Backup In-Reply-To: <00ac01c82794$63558050$8119fea9@LTVM> References: <002a01c8278d$511b6140$0301a8c0@HAL9005> <00ac01c82794$63558050$8119fea9@LTVM> Message-ID: <003801c82796$f9fb9010$0301a8c0@HAL9005> Well, my local ghost backup runs to 35GB - so that gets me into about $20 a month. I can FTP my stuff myself to me web site - plenty of space there - it's just the discipline. I send the critical stuff up there sporadically in an encrypted zip file. The upload time is a killer, though. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Thursday, November 15, 2007 6:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Pricings are here: https://mozy.com/pro/pricing Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 15, 2007 1:42 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Looks good from the web page. I couldn't figure out how much it costs, however, if you want more than 2GB. Guess you have to go with the Pro version. How much do you pay? T&R Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawrence Mrazek Sent: Thursday, November 15, 2007 5:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Hi Rocky: I'm using MozyPro (for clients and myself) ... www.mozy.com. I've like it, and have been impressed with the features. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 15, 2007 7:10 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Off-Site Backup Dear List: Maybe a bit OT but hopefully some answers that will be useful to all. I've just been solicited by WinZip Computing to try their off-site backup product Carbonite. I occasionally FTP some stuff up to my web site for off site backup. Are any of you doing off-site through a third party product? And if so, which one? Recommendations? 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: 11/14/2007 4:54 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: 11/14/2007 4:54 PM From lmrazek at lcm-res.com Thu Nov 15 09:00:48 2007 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Thu, 15 Nov 2007 09:00:48 -0600 Subject: [AccessD] Access application to WEb Based In-Reply-To: <004a01c8274a$4156f460$4cc2f63f@JELaptop> References: <004a01c8274a$4156f460$4cc2f63f@JELaptop> Message-ID: <001901c82798$4e771b40$75010a0a@lcmdv8000> Hmmm ... This is one of those "it depends" questions. If you're looking to merely present tabular data on the web, with perhaps a couple of lookups, filters, etc. this wouldn't be a problem. However, if you're app has a lot of custom functions, business logic, etc., then it will be a much larger project. Is the focus to make the application "usable on the web" or do you merely need to enable remote access to the app? Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Eget Sent: Wednesday, November 14, 2007 11:42 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Access application to WEb Based My boss asked me today "What would be the effort to make an existing Microsoft Access application usable on the Web". I could find no references in any of the books I have as a reference. Any idea what I can say or where to look? Thanks for the thoughts and chuckles John -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Thu Nov 15 10:07:47 2007 From: john at winhaven.net (John Bartow) Date: Thu, 15 Nov 2007 10:07:47 -0600 Subject: [AccessD] Off-Site Backup In-Reply-To: <001f01c82788$de8012b0$0301a8c0@HAL9005> Message-ID: <200711151609.lAFG8wDN015591@databaseadvisors.com> Hi Rocky, These are enticing ideas aren't they? Seems everyone and their uncle is offering it today. After thorough evaluation, given the size of Access DB and Apps (prerequisite Access related content ;-) , I decided against this option. (Besides that fact that I also do a load of DP/graphics work so mdbs are actually quite small in size comparison.) I found that an external hard drive unit that can be kept off site is a more cost effective and much faster alternative. Given the difficulties that most of clients have using (especially restoring from) tape backup media for security backups procedures I have started to implement multiple removable hard drives instead. A simple USB or Fire wire cable connection is all it takes. For smaller size backups (35-90 GB) an Iomega Rev Drive is another option and can directly replace a daily/weekly/monthly tape backup rotation scheme as the removable Rev disks (which are a proprietary hard drive enclosure) are about the size of a tape cartridge. They had been selling a reasonably priced "starter kit" which included a drive unit, a number of disks and a backup software solution (although you can use any form of backup including a simple folder copy. Another option for you, given that you have space on your web server is to use an FTP client that you can schedule to do this automatically at night. There are a number of good FTP clients available that can do this. Some free. HTH John B From DWUTKA at Marlow.com Thu Nov 15 09:39:05 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 15 Nov 2007 09:39:05 -0600 Subject: [AccessD] Access application to WEb Based In-Reply-To: <004a01c8274a$4156f460$4cc2f63f@JELaptop> Message-ID: Depends on how complex it is, and how dependant you would be on client side code. For example, recording data into a table is a server side process. Selecting a value in one combo box, to display different values in another, while that can be done on the server side, it would really be a client side process. If there's a lot of client side stuff, you'll need to figure out how to do it. Personally, I have a few apps like that, where I know the end users all use IE, so I can get away with programming everything in VBScript. Pretty easy. Unknown browsers, and you better go with Javascript. There's also the option of ASP.Net, which provides a development environment that will appear a lot like access. I mainly build web interfaces, though I have converted a handful to web based applications. I'm sorry I can't give you a solid ratio of development time, but it's really going to depend on how the initial database is designed. I did a few that were mainly unbound (there were classes and collection that acted as a business layer). Those were very easy, because it was just a matter of building a web interface on top of that business layer, not too much different then just creating new forms/reports. In a completely bound interface, more time consuming, because then you are basically starting from scratch. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Eget Sent: Wednesday, November 14, 2007 11:42 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Access application to WEb Based My boss asked me today "What would be the effort to make an existing Microsoft Access application usable on the Web". I could find no references in any of the books I have as a reference. Any idea what I can say or where to look? Thanks for the thoughts and chuckles John -- 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 BusinessSensitve 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 Nov 15 10:18:49 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 15 Nov 2007 10:18:49 -0600 Subject: [AccessD] Off-Site Backup In-Reply-To: <003801c82796$f9fb9010$0301a8c0@HAL9005> Message-ID: At work we use Iron Mountain (www.ironmountain.com). But why don't you just get a big flash drive and put it on your key chain. You'll always have your critical stuff with you then. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 15, 2007 8:51 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Well, my local ghost backup runs to 35GB - so that gets me into about $20 a month. I can FTP my stuff myself to me web site - plenty of space there - it's just the discipline. I send the critical stuff up there sporadically in an encrypted zip file. The upload time is a killer, though. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Thursday, November 15, 2007 6:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Pricings are here: https://mozy.com/pro/pricing Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 15, 2007 1:42 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Looks good from the web page. I couldn't figure out how much it costs, however, if you want more than 2GB. Guess you have to go with the Pro version. How much do you pay? T&R Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawrence Mrazek Sent: Thursday, November 15, 2007 5:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Hi Rocky: I'm using MozyPro (for clients and myself) ... www.mozy.com. I've like it, and have been impressed with the features. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 15, 2007 7:10 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Off-Site Backup Dear List: Maybe a bit OT but hopefully some answers that will be useful to all. I've just been solicited by WinZip Computing to try their off-site backup product Carbonite. I occasionally FTP some stuff up to my web site for off site backup. Are any of you doing off-site through a third party product? And if so, which one? Recommendations? 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: 11/14/2007 4:54 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: 11/14/2007 4:54 PM -- 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 BusinessSensitve 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 Nov 15 11:42:13 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Nov 2007 12:42:13 -0500 Subject: [AccessD] Off-Site Backup In-Reply-To: References: <003801c82796$f9fb9010$0301a8c0@HAL9005> Message-ID: <009901c827ae$db89c0d0$6c7aa8c0@M90> LOL. Make sure that you use a good encryption scheme. I use TrueCrypt: http://www.truecrypt.org/downloads.php John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, November 15, 2007 11:19 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Off-Site Backup At work we use Iron Mountain (www.ironmountain.com). But why don't you just get a big flash drive and put it on your key chain. You'll always have your critical stuff with you then. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 15, 2007 8:51 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Well, my local ghost backup runs to 35GB - so that gets me into about $20 a month. I can FTP my stuff myself to me web site - plenty of space there - it's just the discipline. I send the critical stuff up there sporadically in an encrypted zip file. The upload time is a killer, though. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Thursday, November 15, 2007 6:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Pricings are here: https://mozy.com/pro/pricing Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 15, 2007 1:42 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Looks good from the web page. I couldn't figure out how much it costs, however, if you want more than 2GB. Guess you have to go with the Pro version. How much do you pay? T&R Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawrence Mrazek Sent: Thursday, November 15, 2007 5:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Hi Rocky: I'm using MozyPro (for clients and myself) ... www.mozy.com. I've like it, and have been impressed with the features. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 15, 2007 7:10 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Off-Site Backup Dear List: Maybe a bit OT but hopefully some answers that will be useful to all. I've just been solicited by WinZip Computing to try their off-site backup product Carbonite. I occasionally FTP some stuff up to my web site for off site backup. Are any of you doing off-site through a third party product? And if so, which one? Recommendations? 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: 11/14/2007 4:54 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: 11/14/2007 4:54 PM -- 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 BusinessSensitve 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 adtp at airtelbroadband.in Thu Nov 15 12:10:39 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Thu, 15 Nov 2007 23:40:39 +0530 Subject: [AccessD] merging records References: Message-ID: <012001c827b2$fe29bfb0$5e57a27a@personalec1122> Gustav, In its present version, the suggested procedure does not open any recordset for target table. After all the values meant to be inserted in various fields are lined up, the pertinent record gets inserted in destination table in one go via append query. As pointed out by you, pure recordset approach can also be adopted in lieu of append query method. John states that the number of fields involved is very large. That would require corresponding large number of assignment calls from one recordset to the other. It might be interesting if an actual trial could be conducted over a large data set, using append query visa-vis recordset approach. Perhaps John could do it and let us know. Best wishes, A.D.Tejpal ------------ ----- Original Message ----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Thursday, November 15, 2007 13:43 Subject: Re: [AccessD] merging records Hi A.D. But - as you have the DAO recordset present - why not use AddNew/Update to replace the slow "Insert Into .." SQL execution? /gustav >>> adtp at airtelbroadband.in 14-11-2007 20:49 >>> John, Apparently, each column carries only one significant value (over a group of records) for each combination of person & address. Your objective is to display only one compacted row per combination of person & address, showing only the significant values for survey results in various columns across the record. As a programmatic solution, the following course of action is suggested: 1 - Let the source table be named T_Data. Its first four fields are ID (PK), FirstName, LastName and Address, followed by large number of other fields (like Smokes etc) meant to hold survey response. 2 - Create an empty table named T_Result. Its structure should be identical to that of T_Data. 3 - Create a dummy table T_Dummy having one field. Populate it with one record. Having taken the above steps, if you run sample subroutine P_PopulateResultTable as given below, table T_Result will get populated with the compacted survey results in desired format. You might like to try it out and confirm whether it is in line with what you have been aiming at. Note - It has been tested on Access 2003 desktop (Access 2000 file format). Reference required - DAO 3.6 Best wishes, A.D.Tejpal ------------ Sample subroutine - for merging survey results T_data is source table. Results are appended to T_Result. '===================================== Sub P_PopulateResultTable() ' This subroutine merges the survey ' results for each person in source table ' T_Data and appends the outcome into ' destination table T_Result. Structure of T_Result ' is identical to that of T_Data ' T_Dummy is a single field single record table. Dim Qst As String, Txt As String Dim Fnm As String, Qst2 As String Dim Fv As Variant Dim rst1 As DAO.Recordset Dim rst2 As DAO.Recordset Dim fd As Field Dim tdf As TableDef Dim db As DAO.Database Const SourceTable As String = "T_Data" Const DestnTable As String = "T_Result" Const DummyTable As String = "T_Dummy" ' Comma separated string of all field names ' that do not directly carry survey response Const ExemptFields As String = _ "ID,FirstName,LastName,Address" Set db = DBEngine(0)(0) ' Clear destination table db.Execute "DELETE * FROM " & _ DestnTable & ";", dbFailOnError Qst = "SELECT FirstName, LastName, " & _ "Address FROM " & SourceTable & _ " GROUP BY FirstName, " & _ "LastName, Address;" Set rst1 = db.OpenRecordset(Qst) Set tdf = db.TableDefs(SourceTable) Do Until rst1.EOF Qst = "INSERT INTO " & DestnTable & _ " SELECT '" & _ rst1.Fields("FirstName") & "' AS " & _ "FirstName, '" & rst1.Fields("LastName") & _ "' AS LastName, '" & rst1.Fields("Address") & _ "' AS Address," For Each fd In tdf.Fields Fnm = fd.Name If InStr(ExemptFields, Fnm) > 0 Then Else Qst2 = "SELECT " & Fnm & _ " FROM " & SourceTable & _ " WHERE FirstName = '" & _ rst1.Fields("FirstName") & _ "' AND LastName = '" & _ rst1.Fields("LastName") & _ "' AND Address = '" & _ rst1.Fields("Address") & _ "' AND Len(" & Fnm & ") > 0;" Set rst2 = db.OpenRecordset(Qst2) If rst2.RecordCount > 0 Then Qst = Qst & " '" & rst2.Fields(0) & _ "' AS " & Fnm & "," Else Qst = Qst & " Null AS " & Fnm & "," End If End If Next ' Remove trailing comma Qst = Left(Qst, Len(Qst) - 1) Qst = Qst & " FROM " & DummyTable & ";" ' Append to destination table db.Execute Qst, dbFailOnError rst1.MoveNext Loop rst1.Close rst2.Close Set rst1 = Nothing Set rst2 = Nothing Set fd = Nothing Set tdf = Nothing Set db = Nothing End Sub '===================================== From Gustav at cactus.dk Thu Nov 15 12:13:03 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 15 Nov 2007 19:13:03 +0100 Subject: [AccessD] Programming Font Message-ID: Hi all I got so tired of the "normal" programming fonts that I did some research. The new font from MS for the purpose is Consolas, but it is too tight. Here's a great source on monospaced fonts for programming: http://cg.scs.carleton.ca/~luc/mono.html It also has a link for this site: http://c2.com/cgi/wiki?GoodProgrammerTypeface where I located this quite good font: http://www.ms-studio.com/FontSales/anonymous.html Also, the SaxMono and Verily and Share-Tech font here: http://www.dafont.com/theme.php?cat=503 I stopped at Dutchfonts - the page is huge and several links are broken. After all I ended up with Lucida Console which still is the best due to the readability of this test: 1. Number 1, lowercase L, lower/uppercase I: 1lIi 2. Zero, uppercase O, uppercase slashed O: 0O? 3. The four sets of brackets etc: <{[()]}> 4. Quote combo: ''""'"'" Other suggestions? /gustav From robert at webedb.com Thu Nov 15 13:15:02 2007 From: robert at webedb.com (Robert L. Stewart) Date: Thu, 15 Nov 2007 13:15:02 -0600 Subject: [AccessD] Off-Site Backup In-Reply-To: References: Message-ID: <200711151916.lAFJGhue025034@databaseadvisors.com> Rocky, You can get a 500 gb NAS unit for about $130 (Buy.com SimpleTech) Just get 2 of them and take one home at night, and bring the other one in the next morning. Rotating backup. Or, you can use something like I do for my photographs. I have an Addonics USB case that will hold 4 PATA drives. With what I have in it now, it is 1.32 tb. You could put 4 1tb drives in it and get 4 tb of storage. I have a full copy of all photos on each of the 4 drives. Plus, I have DVDs that cover everything also. I plan on getting a safe deposit box at the bank and putting the backup DVDs in there. Robert At 12:00 PM 11/15/2007, you wrote: >Date: Thu, 15 Nov 2007 05:10:17 -0800 >From: "Rocky Smolin at Beach Access Software" >Subject: [AccessD] Off-Site Backup >To: "'Access Developers discussion and problem solving'" > >Message-ID: <001f01c82788$de8012b0$0301a8c0 at HAL9005> >Content-Type: text/plain; charset="us-ascii" > > >Dear List: > >Maybe a bit OT but hopefully some answers that will be useful to all. > >I've just been solicited by WinZip Computing to try their off-site backup >product Carbonite. I occasionally FTP some stuff up to my web site for off >site backup. > >Are any of you doing off-site through a third party product? And if so, >which one? Recommendations? > >TIA > >Rocky From jwcolby at colbyconsulting.com Thu Nov 15 13:27:02 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Nov 2007 14:27:02 -0500 Subject: [AccessD] merging records In-Reply-To: <012001c827b2$fe29bfb0$5e57a27a@personalec1122> References: <012001c827b2$fe29bfb0$5e57a27a@personalec1122> Message-ID: <00ba01c827bd$8061bb90$6c7aa8c0@M90> A.D. I will get around to this, just not sure when. Running this through Access / VBA is probably a non starter since not only are there a lot of fields (>600), but also a lot of records (>50 million). Thus if this is ever to actually work it will need to be done in VB.Net. My experience so far is that VB.Net speeds things up by a factor of 10 or more. Even then I would suggest something like pulling the field names that will be actually used out and placing them (or maybe their numeric field position in the record object) in a collection. That way the code that iterates the fields becomes a simple "for each in colValidFld" construct instead of a constant comparison to see if they are in the string of non-valid fields. If you place the valid field names in the collection, then the For Each loop would "just have" the field names to build up the SQL statement. Additionally I think you can use the field names to index into the field collection to extract the values: rst.fields(strFldName).value Believe me, with 600 fields and 50 million records, it needs all the efficiency it can get. And BTW thanks for the code. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Thursday, November 15, 2007 1:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] merging records Gustav, In its present version, the suggested procedure does not open any recordset for target table. After all the values meant to be inserted in various fields are lined up, the pertinent record gets inserted in destination table in one go via append query. As pointed out by you, pure recordset approach can also be adopted in lieu of append query method. John states that the number of fields involved is very large. That would require corresponding large number of assignment calls from one recordset to the other. It might be interesting if an actual trial could be conducted over a large data set, using append query visa-vis recordset approach. Perhaps John could do it and let us know. Best wishes, A.D.Tejpal ------------ ----- Original Message ----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Thursday, November 15, 2007 13:43 Subject: Re: [AccessD] merging records Hi A.D. But - as you have the DAO recordset present - why not use AddNew/Update to replace the slow "Insert Into .." SQL execution? /gustav >>> adtp at airtelbroadband.in 14-11-2007 20:49 >>> John, Apparently, each column carries only one significant value (over a group of records) for each combination of person & address. Your objective is to display only one compacted row per combination of person & address, showing only the significant values for survey results in various columns across the record. As a programmatic solution, the following course of action is suggested: 1 - Let the source table be named T_Data. Its first four fields are ID (PK), FirstName, LastName and Address, followed by large number of other fields (like Smokes etc) meant to hold survey response. 2 - Create an empty table named T_Result. Its structure should be identical to that of T_Data. 3 - Create a dummy table T_Dummy having one field. Populate it with one record. Having taken the above steps, if you run sample subroutine P_PopulateResultTable as given below, table T_Result will get populated with the compacted survey results in desired format. You might like to try it out and confirm whether it is in line with what you have been aiming at. Note - It has been tested on Access 2003 desktop (Access 2000 file format). Reference required - DAO 3.6 Best wishes, A.D.Tejpal ------------ Sample subroutine - for merging survey results T_data is source table. Results are appended to T_Result. '===================================== Sub P_PopulateResultTable() ' This subroutine merges the survey ' results for each person in source table ' T_Data and appends the outcome into ' destination table T_Result. Structure of T_Result ' is identical to that of T_Data ' T_Dummy is a single field single record table. Dim Qst As String, Txt As String Dim Fnm As String, Qst2 As String Dim Fv As Variant Dim rst1 As DAO.Recordset Dim rst2 As DAO.Recordset Dim fd As Field Dim tdf As TableDef Dim db As DAO.Database Const SourceTable As String = "T_Data" Const DestnTable As String = "T_Result" Const DummyTable As String = "T_Dummy" ' Comma separated string of all field names ' that do not directly carry survey response Const ExemptFields As String = _ "ID,FirstName,LastName,Address" Set db = DBEngine(0)(0) ' Clear destination table db.Execute "DELETE * FROM " & _ DestnTable & ";", dbFailOnError Qst = "SELECT FirstName, LastName, " & _ "Address FROM " & SourceTable & _ " GROUP BY FirstName, " & _ "LastName, Address;" Set rst1 = db.OpenRecordset(Qst) Set tdf = db.TableDefs(SourceTable) Do Until rst1.EOF Qst = "INSERT INTO " & DestnTable & _ " SELECT '" & _ rst1.Fields("FirstName") & "' AS " & _ "FirstName, '" & rst1.Fields("LastName") & _ "' AS LastName, '" & rst1.Fields("Address") & _ "' AS Address," For Each fd In tdf.Fields Fnm = fd.Name If InStr(ExemptFields, Fnm) > 0 Then Else Qst2 = "SELECT " & Fnm & _ " FROM " & SourceTable & _ " WHERE FirstName = '" & _ rst1.Fields("FirstName") & _ "' AND LastName = '" & _ rst1.Fields("LastName") & _ "' AND Address = '" & _ rst1.Fields("Address") & _ "' AND Len(" & Fnm & ") > 0;" Set rst2 = db.OpenRecordset(Qst2) If rst2.RecordCount > 0 Then Qst = Qst & " '" & rst2.Fields(0) & _ "' AS " & Fnm & "," Else Qst = Qst & " Null AS " & Fnm & "," End If End If Next ' Remove trailing comma Qst = Left(Qst, Len(Qst) - 1) Qst = Qst & " FROM " & DummyTable & ";" ' Append to destination table db.Execute Qst, dbFailOnError rst1.MoveNext Loop rst1.Close rst2.Close Set rst1 = Nothing Set rst2 = Nothing Set fd = Nothing Set tdf = Nothing Set db = Nothing End Sub '===================================== -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From miscellany at mvps.org Thu Nov 15 13:34:58 2007 From: miscellany at mvps.org (Steve Schapel) Date: Fri, 16 Nov 2007 08:34:58 +1300 Subject: [AccessD] Off-Site Backup In-Reply-To: <001f01c82788$de8012b0$0301a8c0@HAL9005> References: <001f01c82788$de8012b0$0301a8c0@HAL9005> Message-ID: <473C9F62.40103@mvps.org> Rocky, I have been using Carbonite for over a year now, on my business computer, home computers and my server. Not only that, but I have referred a number of other people who are also using it bor business and personal machines. I highly recommend it. I have had absolutely no problems with it, it does the job exactly as advertised, and it completely removes the need to think or worry about data/document backup. And you can't beat the price. Of course, if you are talking about backup on the system level, disk imaging and whatnot, then that's in a different ballpark. Regards Steve Rocky Smolin at Beach Access Software wrote: > > Dear List: > > Maybe a bit OT but hopefully some answers that will be useful to all. > > I've just been solicited by WinZip Computing to try their off-site backup > product Carbonite. I occasionally FTP some stuff up to my web site for off > site backup. > > Are any of you doing off-site through a third party product? And if so, > which one? Recommendations? > > TIA > > Rocky > From kost36 at otenet.gr Thu Nov 15 13:49:44 2007 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Thu, 15 Nov 2007 21:49:44 +0200 Subject: [AccessD] MSAccess 2007 - Count days In-Reply-To: References: Message-ID: <6374B25FBE5348639828BDA880CB236B@kost36PC> Hi all, Does anybody know how it could be possible to count the work days between two days excluding weekends and local holidays To my coutry there are several dates as holidays and some of them are moving year by year many thank's to all /kostas From rockysmolin at bchacc.com Thu Nov 15 13:52:16 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 15 Nov 2007 11:52:16 -0800 Subject: [AccessD] Off-Site Backup In-Reply-To: References: <003801c82796$f9fb9010$0301a8c0@HAL9005> Message-ID: <001d01c827c1$06654290$0301a8c0@HAL9005> I'm backed up to an external HD. So I'm covered there. But I'd like an off-site. I had enough lead time in the fires to grab the EHD. But if I wasn't home it would not be good. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, November 15, 2007 8:19 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Off-Site Backup At work we use Iron Mountain (www.ironmountain.com). But why don't you just get a big flash drive and put it on your key chain. You'll always have your critical stuff with you then. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 15, 2007 8:51 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Well, my local ghost backup runs to 35GB - so that gets me into about $20 a month. I can FTP my stuff myself to me web site - plenty of space there - it's just the discipline. I send the critical stuff up there sporadically in an encrypted zip file. The upload time is a killer, though. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Thursday, November 15, 2007 6:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Pricings are here: https://mozy.com/pro/pricing Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 15, 2007 1:42 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Looks good from the web page. I couldn't figure out how much it costs, however, if you want more than 2GB. Guess you have to go with the Pro version. How much do you pay? T&R Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawrence Mrazek Sent: Thursday, November 15, 2007 5:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Hi Rocky: I'm using MozyPro (for clients and myself) ... www.mozy.com. I've like it, and have been impressed with the features. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 15, 2007 7:10 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Off-Site Backup Dear List: Maybe a bit OT but hopefully some answers that will be useful to all. I've just been solicited by WinZip Computing to try their off-site backup product Carbonite. I occasionally FTP some stuff up to my web site for off site backup. Are any of you doing off-site through a third party product? And if so, which one? Recommendations? 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: 11/14/2007 4:54 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: 11/14/2007 4:54 PM -- 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 BusinessSensitve 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: 11/14/2007 4:54 PM From rockysmolin at bchacc.com Thu Nov 15 13:53:06 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 15 Nov 2007 11:53:06 -0800 Subject: [AccessD] Off-Site Backup In-Reply-To: <200711151916.lAFJGhue025034@databaseadvisors.com> References: <200711151916.lAFJGhue025034@databaseadvisors.com> Message-ID: <001e01c827c1$24303690$0301a8c0@HAL9005> Only one fly in that ointment: I work at home. :o) Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Thursday, November 15, 2007 11:15 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Off-Site Backup Rocky, You can get a 500 gb NAS unit for about $130 (Buy.com SimpleTech) Just get 2 of them and take one home at night, and bring the other one in the next morning. Rotating backup. Or, you can use something like I do for my photographs. I have an Addonics USB case that will hold 4 PATA drives. With what I have in it now, it is 1.32 tb. You could put 4 1tb drives in it and get 4 tb of storage. I have a full copy of all photos on each of the 4 drives. Plus, I have DVDs that cover everything also. I plan on getting a safe deposit box at the bank and putting the backup DVDs in there. Robert At 12:00 PM 11/15/2007, you wrote: >Date: Thu, 15 Nov 2007 05:10:17 -0800 >From: "Rocky Smolin at Beach Access Software" >Subject: [AccessD] Off-Site Backup >To: "'Access Developers discussion and problem solving'" > >Message-ID: <001f01c82788$de8012b0$0301a8c0 at HAL9005> >Content-Type: text/plain; charset="us-ascii" > > >Dear List: > >Maybe a bit OT but hopefully some answers that will be useful to all. > >I've just been solicited by WinZip Computing to try their off-site >backup product Carbonite. I occasionally FTP some stuff up to my web >site for off site backup. > >Are any of you doing off-site through a third party product? And if >so, which one? Recommendations? > >TIA > >Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: 11/14/2007 4:54 PM From Jim.Hale at FleetPride.com Thu Nov 15 14:33:33 2007 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 15 Nov 2007 14:33:33 -0600 Subject: [AccessD] MSAccess 2007 - Count days In-Reply-To: <6374B25FBE5348639828BDA880CB236B@kost36PC> References: <6374B25FBE5348639828BDA880CB236B@kost36PC> Message-ID: I am sending you a database offline Regards, Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas Konstantinidis Sent: Thursday, November 15, 2007 1:50 PM To: Access Developers discussion and problem solving Subject: [AccessD] MSAccess 2007 - Count days Hi all, Does anybody know how it could be possible to count the work days between two days excluding weekends and local holidays To my coutry there are several dates as holidays and some of them are moving year by year many thank's to all /kostas -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From kost36 at otenet.gr Thu Nov 15 15:39:10 2007 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Thu, 15 Nov 2007 23:39:10 +0200 Subject: [AccessD] MSAccess 2007 - Count days In-Reply-To: References: <6374B25FBE5348639828BDA880CB236B@kost36PC> Message-ID: <1EC87BC14BCD4BD5B0701BE7FEF82E21@kost36PC> Jim, Excellent work but what I need to know is how many working days there are between two dates, so I will be able to count at all times the paid holydays of my fulltime employees thank's a lot /kostas ----- Original Message ----- From: "Hale, Jim" To: "Access Developers discussion and problem solving" Sent: Thursday, November 15, 2007 10:33 PM Subject: Re: [AccessD] MSAccess 2007 - Count days > > I am sending you a database offline > Regards, > Jim Hale > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas > Konstantinidis > Sent: Thursday, November 15, 2007 1:50 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] MSAccess 2007 - Count days > > Hi all, > > Does anybody know how it could be possible to count > the work days between two days excluding weekends and local holidays > To my coutry there are several dates as holidays and some of them > are moving year by year > > many thank's to all > > /kostas > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Thu Nov 15 15:49:28 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 15 Nov 2007 16:49:28 -0500 Subject: [AccessD] Off-Site Backup References: <003801c82796$f9fb9010$0301a8c0@HAL9005> <009901c827ae$db89c0d0$6c7aa8c0@M90> Message-ID: <002401c827d1$6638dd70$ef706c4c@jisshowsbs.local> ...I used to take a laptop with me to clients ...now I plug the stick into a usb port before bed each night and put it back on my neck after the morning shower ...any changes are updated while I sleep ...and no matter where I go during the day, all it takes is a usb port to go to work ...no more lugging a laptop around with me :) William ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Thursday, November 15, 2007 12:42 PM Subject: Re: [AccessD] Off-Site Backup > LOL. Make sure that you use a good encryption scheme. I use TrueCrypt: > > http://www.truecrypt.org/downloads.php > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka > Sent: Thursday, November 15, 2007 11:19 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Off-Site Backup > > At work we use Iron Mountain (www.ironmountain.com). > > But why don't you just get a big flash drive and put it on your key chain. > You'll always have your critical stuff with you then. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Thursday, November 15, 2007 8:51 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Off-Site Backup > > Well, my local ghost backup runs to 35GB - so that gets me into about $20 > a > month. I can FTP my stuff myself to me web site - plenty of space there > - > it's just the discipline. I send the critical stuff up there sporadically > in an encrypted zip file. The upload time is a killer, though. > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > max.wanadoo at gmail.com > Sent: Thursday, November 15, 2007 6:33 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Off-Site Backup > > Pricings are here: > > https://mozy.com/pro/pricing > > Max > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Thursday, November 15, 2007 1:42 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Off-Site Backup > > Looks good from the web page. I couldn't figure out how much it costs, > however, if you want more than 2GB. Guess you have to go with the Pro > version. How much do you pay? > > T&R > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawrence Mrazek > Sent: Thursday, November 15, 2007 5:23 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Off-Site Backup > > Hi Rocky: > > I'm using MozyPro (for clients and myself) ... www.mozy.com. I've like it, > and have been impressed with the features. > > Larry Mrazek > LCM Research, Inc. > www.lcm-res.com > lmrazek at lcm-res.com > ph. 314-432-5886 > mobile: 314-496-1645 > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Thursday, November 15, 2007 7:10 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Off-Site Backup > > > Dear List: > > Maybe a bit OT but hopefully some answers that will be useful to all. > > I've just been solicited by WinZip Computing to try their off-site backup > product Carbonite. I occasionally FTP some stuff up to my web site for > off > site backup. > > Are any of you doing off-site through a third party product? And if so, > which one? Recommendations? > > 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 > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: > 11/14/2007 > 4:54 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: > 11/14/2007 > 4:54 PM > > > -- > 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 BusinessSensitve > 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 Elizabeth.J.Doering at wellsfargo.com Thu Nov 15 16:05:12 2007 From: Elizabeth.J.Doering at wellsfargo.com (Elizabeth.J.Doering at wellsfargo.com) Date: Thu, 15 Nov 2007 16:05:12 -0600 Subject: [AccessD] MSAccess 2007 - Count days References: <6374B25FBE5348639828BDA880CB236B@kost36PC> <1EC87BC14BCD4BD5B0701BE7FEF82E21@kost36PC> Message-ID: Kostas, We keep a little table called Holiday, with the correct dates for all holidays, including those dreadful floating ones. Then before you count days, you query that table for how many are between your first date and your last date and you're all set. You could include weekend days in the table if you liked. HTH, Liz Liz Doering elizabeth.j.doering at wellsfargo.com 612.667.2447 This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas Konstantinidis Sent: Thursday, November 15, 2007 3:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MSAccess 2007 - Count days Jim, Excellent work but what I need to know is how many working days there are between two dates, so I will be able to count at all times the paid holydays of my fulltime employees thank's a lot /kostas ----- Original Message ----- From: "Hale, Jim" To: "Access Developers discussion and problem solving" Sent: Thursday, November 15, 2007 10:33 PM Subject: Re: [AccessD] MSAccess 2007 - Count days > > I am sending you a database offline > Regards, > Jim Hale > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas > Konstantinidis > Sent: Thursday, November 15, 2007 1:50 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] MSAccess 2007 - Count days > > Hi all, > > Does anybody know how it could be possible to count > the work days between two days excluding weekends and local holidays > To my coutry there are several dates as holidays and some of them > are moving year by year > > many thank's to all > > /kostas > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Nov 15 16:07:21 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 15 Nov 2007 14:07:21 -0800 Subject: [AccessD] MSAccess 2007 - Count days In-Reply-To: <6374B25FBE5348639828BDA880CB236B@kost36PC> References: <6374B25FBE5348639828BDA880CB236B@kost36PC> Message-ID: <003901c827d3$e5364160$0301a8c0@HAL9005> Kostas: I did this for my MRP system to calculate Order Date from Due Date minus lead time. But never found a slick way to doit other than looping backwards, starting with the due date, checking each date to see what day of the week it was and also checking the holiday calendar to see if it was a holiday - and decrementing a lead time counter each date that was determined to be a work day. Works fast enough but it's definitely brute force. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas Konstantinidis Sent: Thursday, November 15, 2007 11:50 AM To: Access Developers discussion and problem solving Subject: [AccessD] MSAccess 2007 - Count days Hi all, Does anybody know how it could be possible to count the work days between two days excluding weekends and local holidays To my coutry there are several dates as holidays and some of them are moving year by year many thank's to all /kostas -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: 11/14/2007 4:54 PM From gustav at cactus.dk Thu Nov 15 17:17:06 2007 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 16 Nov 2007 00:17:06 +0100 Subject: [AccessD] MSAccess 2007 - Count days Message-ID: Hi Kostas Here is the function we use: Public Function ISO_WorkdayDiff( _ ByVal datDateFrom As Date, _ ByVal datDateTo As Date) _ As Long ' Purpose: Calculate number of working days between dates datDateFrom and datDateTo. ' Assumes: 5 or 6 working days per week. Weekend is (Saturday and) Sunday. ' Limitation: Does not count for public holidays. ' May be freely used and distributed. ' 1999-04-23. Gustav Brock, Cactus Data ApS, Copenhagen ' 2000-10-03. Constants added. ' Option for 5 or 6 working days per week added. Const cbytWorkdaysOfWeek As Byte = 5 Dim bytSunday As Byte Dim intWeekdayDateFrom As Integer Dim intWeekdayDateTo As Integer Dim lngDays As Long Dim datDateTemp As Date ' Reverse dates if these have been input reversed. If datDateFrom > datDateTo Then datDateTemp = datDateFrom datDateFrom = datDateTo datDateTo = datDateTemp End If ' Find ISO weekday for Sunday. bytSunday = WeekDay(vbSunday, vbMonday) ' Find weekdays for the dates. intWeekdayDateFrom = WeekDay(datDateFrom, vbMonday) intWeekdayDateTo = WeekDay(datDateTo, vbMonday) ' Compensate weekdays' value for non-working days (weekends). intWeekdayDateFrom = intWeekdayDateFrom + (intWeekdayDateFrom = bytSunday) intWeekdayDateTo = intWeekdayDateTo + (intWeekdayDateTo = bytSunday) ' Calculate number of working days between the two weekdays, ignoring number of weeks. lngDays = intWeekdayDateTo - intWeekdayDateFrom - (cbytWorkdaysOfWeek * (intWeekdayDateTo < intWeekdayDateFrom)) ' Add number of working days between the weeks of the two dates. lngDays = lngDays + (cbytWorkdaysOfWeek * DateDiff("w", datDateFrom, datDateTo, vbMonday, vbFirstFourDays)) ISO_WorkdayDiff = lngDays End Function To exclude holidays, look up and count the holidays from a table of holidays not falling in weekends; substract this number from the count of working days. /gustav >>> kost36 at otenet.gr 15-11-07 20:49 >>> Hi all, Does anybody know how it could be possible to count the work days between two days excluding weekends and local holidays To my coutry there are several dates as holidays and some of them are moving year by year many thank's to all /kostas -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From R.Griffiths at bury.gov.uk Fri Nov 16 03:24:17 2007 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Fri, 16 Nov 2007 09:24:17 -0000 Subject: [AccessD] Off-Site Backup In-Reply-To: <473C9F62.40103@mvps.org> References: <001f01c82788$de8012b0$0301a8c0@HAL9005> <473C9F62.40103@mvps.org> Message-ID: <200711160908.lAG985121511@smarthost.yourcomms.net> Hi I use Carbonite. (?25 per year). This service has to be seen for what it is, simply off line backup. I have other local backup options as well. I see Carbonite as the last layer of support/backup. If my pc/hard disk and backup devices get stolen, irreparable etc the I can log on to any pc/laptop and get back the latest versions of my files. Richard -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: 15 November 2007 19:35 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Off-Site Backup Rocky, I have been using Carbonite for over a year now, on my business computer, home computers and my server. Not only that, but I have referred a number of other people who are also using it bor business and personal machines. I highly recommend it. I have had absolutely no problems with it, it does the job exactly as advertised, and it completely removes the need to think or worry about data/document backup. And you can't beat the price. Of course, if you are talking about backup on the system level, disk imaging and whatnot, then that's in a different ballpark. Regards Steve Rocky Smolin at Beach Access Software wrote: > > Dear List: > > Maybe a bit OT but hopefully some answers that will be useful to all. > > I've just been solicited by WinZip Computing to try their off-site backup > product Carbonite. I occasionally FTP some stuff up to my web site for off > site backup. > > Are any of you doing off-site through a third party product? And if so, > which one? Recommendations? > > TIA > > Rocky > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kost36 at otenet.gr Fri Nov 16 04:23:46 2007 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Fri, 16 Nov 2007 12:23:46 +0200 Subject: [AccessD] MSAccess 2007 - Count days In-Reply-To: References: Message-ID: Gustav, could you please show me the way to use that function I am not really familiar with function's code thank's a lot /kostas ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, November 16, 2007 1:17 AM Subject: Re: [AccessD] MSAccess 2007 - Count days > Hi Kostas > > Here is the function we use: > > Public Function ISO_WorkdayDiff( _ > ByVal datDateFrom As Date, _ > ByVal datDateTo As Date) _ > As Long > > ' Purpose: Calculate number of working days between dates datDateFrom and > datDateTo. > ' Assumes: 5 or 6 working days per week. Weekend is (Saturday and) Sunday. > ' Limitation: Does not count for public holidays. > ' May be freely used and distributed. > ' 1999-04-23. Gustav Brock, Cactus Data ApS, Copenhagen > ' 2000-10-03. Constants added. > ' Option for 5 or 6 working days per week added. > > Const cbytWorkdaysOfWeek As Byte = 5 > > Dim bytSunday As Byte > Dim intWeekdayDateFrom As Integer > Dim intWeekdayDateTo As Integer > Dim lngDays As Long > Dim datDateTemp As Date > > ' Reverse dates if these have been input reversed. > If datDateFrom > datDateTo Then > datDateTemp = datDateFrom > datDateFrom = datDateTo > datDateTo = datDateTemp > End If > > ' Find ISO weekday for Sunday. > bytSunday = WeekDay(vbSunday, vbMonday) > > ' Find weekdays for the dates. > intWeekdayDateFrom = WeekDay(datDateFrom, vbMonday) > intWeekdayDateTo = WeekDay(datDateTo, vbMonday) > > ' Compensate weekdays' value for non-working days (weekends). > intWeekdayDateFrom = intWeekdayDateFrom + (intWeekdayDateFrom = > bytSunday) > intWeekdayDateTo = intWeekdayDateTo + (intWeekdayDateTo = bytSunday) > > ' Calculate number of working days between the two weekdays, ignoring > number of weeks. > lngDays = intWeekdayDateTo - intWeekdayDateFrom - (cbytWorkdaysOfWeek * > (intWeekdayDateTo < intWeekdayDateFrom)) > ' Add number of working days between the weeks of the two dates. > lngDays = lngDays + (cbytWorkdaysOfWeek * DateDiff("w", datDateFrom, > datDateTo, vbMonday, vbFirstFourDays)) > > ISO_WorkdayDiff = lngDays > > End Function > > To exclude holidays, look up and count the holidays from a table of > holidays not falling in weekends; substract this number from the count of > working days. > > /gustav > >>>> kost36 at otenet.gr 15-11-07 20:49 >>> > Hi all, > > Does anybody know how it could be possible to count > the work days between two days excluding weekends and local holidays > To my coutry there are several dates as holidays and some of them > are moving year by year > > many thank's to all > > /kostas > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Fri Nov 16 07:30:19 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 16 Nov 2007 08:30:19 -0500 Subject: [AccessD] Grouping values in crosstab Message-ID: <002101c82854$d5b1c3a0$6c7aa8c0@M90> You might remember I asked if it is possible to group values in a field directly in a crosstab. For example a crosstab of length of boat by state where you group 7-15 the count of the values (lengths) in a crosstab column called 7 to 15. Well... I tried it directly in the crosstab. SELECT St as USState, [7,8,9,10,11,12,13,14] as '7 To 14' FROM( SELECT IR3863.dbo.vBaseBoatLength.St, IR3863.dbo.vBaseBoatLength.Boat_Length_4_through_50_feet FROM IR3863.dbo.vBaseBoatLength ) tmpBoatLength PIVOT ( COUNT(tmpBoatLength.Boat_Length_4_through_50_feet) FOR tmpBoatLength.Boat_Length_4_through_50_feet IN([7,8,9,10,11,12,13,14])) AS tmpBL ORDER BY USState vBaseBoatLength pulls the ST and Boat_Length_4_through_50_feet fields. The query did not complain and is currently running. I will report back when I get the counts, which I will then cross check against a simple count() where IN() query, but it certainly looks like it might be working. John W. Colby Colby Consulting www.ColbyConsulting.com From fuller.artful at gmail.com Fri Nov 16 08:24:26 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 16 Nov 2007 09:24:26 -0500 Subject: [AccessD] Hey, it's Friday Message-ID: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> Last night was my 60th birthday, and about 25 of my friends had a surprise party for me. I was completely clueless about its occurrence. I have a favourite Indian restaurant in Toronto called Shalimar, owned and operated by a good friend called Khalid, and ironically, I decided that that was where I wanted to have dinner last night. So I booked a reservation, little knowing that the entire restaurant had already been booked. Khalid managed to keep a straight voice when I called. My friend Norma and my sister Clare came with me, and there's a great bookstore/recordstore next door which I insisted upon visiting, little knowing that there was a party awaiting me next door. This is a small restaurant (always a good sign), and when I walked in, I saw that the whole place had been re-arranged, a dozen tables united into one enormous long table, and as I scanned the occupants I realized bit by bit that I knew everyone at the table, and finally it dawned on me. To break bread with good friends is a good thing. To find oneself as the centre of attention, so to speak, surrounded by good friends, is truly breathtaking -- and humbling. For some reason or other, I have a collection of quality people to call my friends. We had fabulous food, wonderful conversation and I even received some cool presents and cards. Forced at one point to stand and make a speech, all I could manage was to thank my friends for being my friends. I've known almost everyone in attendance for 30 or so years, some more. There were even emails from persons who could not attend, such as one of my oldest friends, Paul Grenkow, who teaches English in Beijing, who could not attend only because his wife was expected to give birth on the day. I'm a lucky man. I have wonderful friends. But I do caution you to think carefully about holding a surprise party for 60yo people. The heart palpitations are unbelievable. On the other hand, what better way to go. A. From adtp at airtelbroadband.in Fri Nov 16 08:24:42 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Fri, 16 Nov 2007 19:54:42 +0530 Subject: [AccessD] merging records References: <012001c827b2$fe29bfb0$5e57a27a@personalec1122> <00ba01c827bd$8061bb90$6c7aa8c0@M90> Message-ID: <004101c8285c$9b5880b0$1557a27a@personalec1122> You are welcome John! I have since optimized the subroutine still further. Taking into account the point raised by you, iteration through fields is now implemented based upon their number position. This eliminates the repeated check against InStr() function for excluding initial set of fields (not directly representing survey response). Instead, the loop starts at first survey field. In the sample case, position of this field, represented by constant PosOfFirstSurveyField is 5. You can substitute this figure by an appropriate value as required. Two versions of the optimized subroutine have been made out, one uses append query for final insertion, while the other depends upon recorset's AddNew method as suggested by Gustav. The first routine, named P_PopulateResultTableByAppQry() is placed below. The other one, named P_PopulateResultTableByRecordset() shall be sent by subsequent post, so as to avoid crossing the max size prescribed by the moderators. Best wishes, A.D.Tejpal ------------ Sample subroutine - for merging survey results T_data is source table. Compacted results (ignoring blanks) are appended to T_Result. '==================================== Sub P_PopulateResultTableByAppQry() ' This subroutine merges the survey ' results (ignoring blanks) for each person in source ' table T_Data and appends the compacted outcome ' into destination table T_Result. Structure of T_Result ' is identical to that of T_Data ' T_Dummy is a single field single record table. Dim Qst As String, Txt As String Dim Fnm As String, Qst2 As String Dim Cnt As Long Dim rst1 As DAO.Recordset Dim rst2 As DAO.Recordset Dim tdf As TableDef Dim db As DAO.Database Const SourceTable As String = "T_Data" Const DestnTable As String = "T_Result" Const DummyTable As String = "T_Dummy" Const PosOfFirstSurveyField As Long = 5 Set db = DBEngine(0)(0) ' Clear destination table db.Execute "DELETE FROM " & _ DestnTable & ";", dbFailOnError Qst = "SELECT FirstName, LastName, " & _ "Address FROM " & SourceTable & _ " GROUP BY FirstName, " & _ "LastName, Address;" Set rst1 = db.OpenRecordset(Qst) Set tdf = db.TableDefs(SourceTable) Do Until rst1.EOF ' Build first part of SQL for appending Person ' and address particulars Qst = "INSERT INTO " & DestnTable & _ " SELECT '" & _ rst1.Fields("FirstName") & "' AS " & _ "FirstName, '" & rst1.Fields("LastName") & _ "' AS LastName, '" & rst1.Fields("Address") & _ "' AS Address," ' Build balance portion of SQL for appending ' survey results (ignoring blanks), field-wise For Cnt = (PosOfFirstSurveyField - 1) _ To (tdf.Fields.Count - 1) Fnm = tdf.Fields(Cnt).Name Qst2 = "SELECT " & Fnm & _ " FROM " & SourceTable & _ " WHERE FirstName = '" & _ rst1.Fields("FirstName") & _ "' AND LastName = '" & _ rst1.Fields("LastName") & _ "' AND Address = '" & _ rst1.Fields("Address") & _ "' AND Len(" & Fnm & ") > 0;" Set rst2 = db.OpenRecordset(Qst2) ' This If/End If block is meant to prevent ' error (no current record) if rst2 is empty If rst2.RecordCount > 0 Then Qst = Qst & " '" & rst2.Fields(0) & _ "' AS " & Fnm & "," End If Next ' Remove trailing comma Qst = Left(Qst, Len(Qst) - 1) Qst = Qst & " FROM " & DummyTable & ";" ' Append to destination table db.Execute Qst, dbFailOnError rst1.MoveNext Loop rst1.Close rst2.Close Set rst1 = Nothing Set rst2 = Nothing Set tdf = Nothing Set db = Nothing End Sub '==================================== ----- Original Message ----- From: jwcolby To: 'Access Developers discussion and problem solving' Sent: Friday, November 16, 2007 00:57 Subject: Re: [AccessD] merging records A.D. I will get around to this, just not sure when. Running this through Access / VBA is probably a non starter since not only are there a lot of fields (>600), but also a lot of records (>50 million). Thus if this is ever to actually work it will need to be done in VB.Net. My experience so far is that VB.Net speeds things up by a factor of 10 or more. Even then I would suggest something like pulling the field names that will be actually used out and placing them (or maybe their numeric field position in the record object) in a collection. That way the code that iterates the fields becomes a simple "for each in colValidFld" construct instead of a constant comparison to see if they are in the string of non-valid fields. If you place the valid field names in the collection, then the For Each loop would "just have" the field names to build up the SQL statement. Additionally I think you can use the field names to index into the field collection to extract the values: rst.fields(strFldName).value Believe me, with 600 fields and 50 million records, it needs all the efficiency it can get. And BTW thanks for the code. John W. Colby Colby Consulting www.ColbyConsulting.com From max.wanadoo at gmail.com Fri Nov 16 08:26:10 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Fri, 16 Nov 2007 14:26:10 -0000 Subject: [AccessD] Off-Site Backup In-Reply-To: <009901c827ae$db89c0d0$6c7aa8c0@M90> Message-ID: <011c01c8285c$a31f5120$8119fea9@LTVM> John Colby: Many thanks for the pointer to TrueCrypt. This is fantastic! I now have all my BE Data in an encrypted file on the Server and the FE's in an encrypted file on user's PC's. Even if they steal all the computers they will never get access to the data without my 40 char key to mount the volumes. Brilliant tip, John. Many thanks Max ----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, November 15, 2007 5:42 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup LOL. Make sure that you use a good encryption scheme. I use TrueCrypt: http://www.truecrypt.org/downloads.php John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, November 15, 2007 11:19 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Off-Site Backup At work we use Iron Mountain (www.ironmountain.com). But why don't you just get a big flash drive and put it on your key chain. You'll always have your critical stuff with you then. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 15, 2007 8:51 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Well, my local ghost backup runs to 35GB - so that gets me into about $20 a month. I can FTP my stuff myself to me web site - plenty of space there - it's just the discipline. I send the critical stuff up there sporadically in an encrypted zip file. The upload time is a killer, though. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Thursday, November 15, 2007 6:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Pricings are here: https://mozy.com/pro/pricing Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 15, 2007 1:42 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Looks good from the web page. I couldn't figure out how much it costs, however, if you want more than 2GB. Guess you have to go with the Pro version. How much do you pay? T&R Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawrence Mrazek Sent: Thursday, November 15, 2007 5:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Hi Rocky: I'm using MozyPro (for clients and myself) ... www.mozy.com. I've like it, and have been impressed with the features. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, November 15, 2007 7:10 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Off-Site Backup Dear List: Maybe a bit OT but hopefully some answers that will be useful to all. I've just been solicited by WinZip Computing to try their off-site backup product Carbonite. I occasionally FTP some stuff up to my web site for off site backup. Are any of you doing off-site through a third party product? And if so, which one? Recommendations? 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: 11/14/2007 4:54 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: 11/14/2007 4:54 PM -- 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 BusinessSensitve 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 adtp at airtelbroadband.in Fri Nov 16 08:43:26 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Fri, 16 Nov 2007 20:13:26 +0530 Subject: [AccessD] merging records References: <012001c827b2$fe29bfb0$5e57a27a@personalec1122> <00ba01c827bd$8061bb90$6c7aa8c0@M90> Message-ID: <006401c8285f$4a72a290$1557a27a@personalec1122> Sample subroutine named P_PopulateResultTableByAppQry() was sent in my previous post. Alternative routine, named P_PopulateResultTableByRecordset() is placed below. This one carries out the append action using AddNew method of recordset, instead of append query. An interesting feature of this routine is that you don't even have to bother about exempt fields or starting position of first survey field. It simply takes care of all fields. Best wishes, A.D.Tejpal ------------ Sample subroutine - for merging survey results T_data is source table. Compacted results (ignoring blanks) are appended to T_Result. '==================================== Sub P_PopulateResultTableByRecordset() ' This subroutine merges the survey ' results (ignoring blanks) for each person in source ' table T_Data and appends the compacted outcome ' into destination table T_Result. Structure of T_Result ' is identical to that of T_Data Dim Qst As String, Txt As String Dim Fnm As String, Qst2 As String Dim Cnt As Long Dim rst1 As DAO.Recordset Dim rst2 As DAO.Recordset Dim rst3 As DAO.Recordset Dim tdf As TableDef Dim db As DAO.Database Const SourceTable As String = "T_Data" Const DestnTable As String = "T_Result" Set db = DBEngine(0)(0) ' Clear destination table db.Execute "DELETE FROM " & _ DestnTable & ";", dbFailOnError Qst = "SELECT FirstName, LastName, " & _ "Address FROM " & SourceTable & _ " GROUP BY FirstName, " & _ "LastName, Address;" Set rst1 = db.OpenRecordset(Qst) Set tdf = db.TableDefs(SourceTable) Set rst3 = db.OpenRecordset(DestnTable) Do Until rst1.EOF ' Append survey results (ignoring blanks), field-wise rst3.AddNew For Cnt = 0 To tdf.Fields.Count - 1 Fnm = tdf.Fields(Cnt).Name Qst2 = "SELECT " & Fnm & _ " FROM " & SourceTable & _ " WHERE FirstName = '" & _ rst1.Fields("FirstName") & _ "' AND LastName = '" & _ rst1.Fields("LastName") & _ "' AND Address = '" & _ rst1.Fields("Address") & _ "' AND Len(" & Fnm & ") > 0;" Set rst2 = db.OpenRecordset(Qst2) ' This If/End If block is meant to prevent ' error (no current record) if rst2 is empty If rst2.RecordCount > 0 Then rst3.Fields(Fnm) = rst2.Fields(0) End If Next rst3.Update rst1.MoveNext Loop rst1.Close rst2.Close rst3.Close Set rst1 = Nothing Set rst2 = Nothing Set rst3 = Nothing Set tdf = Nothing Set db = Nothing End Sub '==================================== ----- Original Message ----- From: jwcolby To: 'Access Developers discussion and problem solving' Sent: Friday, November 16, 2007 00:57 Subject: Re: [AccessD] merging records A.D. I will get around to this, just not sure when. Running this through Access / VBA is probably a non starter since not only are there a lot of fields (>600), but also a lot of records (>50 million). Thus if this is ever to actually work it will need to be done in VB.Net. My experience so far is that VB.Net speeds things up by a factor of 10 or more. Even then I would suggest something like pulling the field names that will be actually used out and placing them (or maybe their numeric field position in the record object) in a collection. That way the code that iterates the fields becomes a simple "for each in colValidFld" construct instead of a constant comparison to see if they are in the string of non-valid fields. If you place the valid field names in the collection, then the For Each loop would "just have" the field names to build up the SQL statement. Additionally I think you can use the field names to index into the field collection to extract the values: rst.fields(strFldName).value Believe me, with 600 fields and 50 million records, it needs all the efficiency it can get. And BTW thanks for the code. John W. Colby Colby Consulting www.ColbyConsulting.com From mmattys at rochester.rr.com Fri Nov 16 08:47:54 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 16 Nov 2007 09:47:54 -0500 Subject: [AccessD] Hey, it's Friday References: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> Message-ID: <005201c8285f$af0a4870$0202a8c0@Laptop> Thanks, Arthur. Your eloquence is in writing if not in speech, and well received here. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Arthur Fuller" To: "Access Developers discussion and problem solving" Sent: Friday, November 16, 2007 9:24 AM Subject: [AccessD] Hey, it's Friday > Last night was my 60th birthday, and about 25 of my friends had a surprise > ... From rockysmolin at bchacc.com Fri Nov 16 08:59:59 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 16 Nov 2007 06:59:59 -0800 Subject: [AccessD] Hey, it's Friday In-Reply-To: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> References: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> Message-ID: <000101c82861$5c933870$0301a8c0@HAL9005> A: Well, it doesn't get any better, does it? I'm a year behind you. You've really raised the bar on 60th bd celebrations. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, November 16, 2007 6:24 AM To: Access Developers discussion and problem solving Subject: [AccessD] Hey, it's Friday Last night was my 60th birthday, and about 25 of my friends had a surprise party for me. I was completely clueless about its occurrence. I have a favourite Indian restaurant in Toronto called Shalimar, owned and operated by a good friend called Khalid, and ironically, I decided that that was where I wanted to have dinner last night. So I booked a reservation, little knowing that the entire restaurant had already been booked. Khalid managed to keep a straight voice when I called. My friend Norma and my sister Clare came with me, and there's a great bookstore/recordstore next door which I insisted upon visiting, little knowing that there was a party awaiting me next door. This is a small restaurant (always a good sign), and when I walked in, I saw that the whole place had been re-arranged, a dozen tables united into one enormous long table, and as I scanned the occupants I realized bit by bit that I knew everyone at the table, and finally it dawned on me. To break bread with good friends is a good thing. To find oneself as the centre of attention, so to speak, surrounded by good friends, is truly breathtaking -- and humbling. For some reason or other, I have a collection of quality people to call my friends. We had fabulous food, wonderful conversation and I even received some cool presents and cards. Forced at one point to stand and make a speech, all I could manage was to thank my friends for being my friends. I've known almost everyone in attendance for 30 or so years, some more. There were even emails from persons who could not attend, such as one of my oldest friends, Paul Grenkow, who teaches English in Beijing, who could not attend only because his wife was expected to give birth on the day. I'm a lucky man. I have wonderful friends. But I do caution you to think carefully about holding a surprise party for 60yo people. The heart palpitations are unbelievable. On the other hand, what better way to go. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.33/1133 - Release Date: 11/15/2007 8:57 PM From rockysmolin at bchacc.com Fri Nov 16 09:00:50 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 16 Nov 2007 07:00:50 -0800 Subject: [AccessD] Hey, it's Friday In-Reply-To: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> References: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> Message-ID: <000001c82861$7f386440$0301a8c0@HAL9005> A: Well, it doesn't get any better, does it? I'm a year behind you. You've really raised the bar on 60th bd celebrations. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, November 16, 2007 6:24 AM To: Access Developers discussion and problem solving Subject: [AccessD] Hey, it's Friday Last night was my 60th birthday, and about 25 of my friends had a surprise party for me. I was completely clueless about its occurrence. I have a favourite Indian restaurant in Toronto called Shalimar, owned and operated by a good friend called Khalid, and ironically, I decided that that was where I wanted to have dinner last night. So I booked a reservation, little knowing that the entire restaurant had already been booked. Khalid managed to keep a straight voice when I called. My friend Norma and my sister Clare came with me, and there's a great bookstore/recordstore next door which I insisted upon visiting, little knowing that there was a party awaiting me next door. This is a small restaurant (always a good sign), and when I walked in, I saw that the whole place had been re-arranged, a dozen tables united into one enormous long table, and as I scanned the occupants I realized bit by bit that I knew everyone at the table, and finally it dawned on me. To break bread with good friends is a good thing. To find oneself as the centre of attention, so to speak, surrounded by good friends, is truly breathtaking -- and humbling. For some reason or other, I have a collection of quality people to call my friends. We had fabulous food, wonderful conversation and I even received some cool presents and cards. Forced at one point to stand and make a speech, all I could manage was to thank my friends for being my friends. I've known almost everyone in attendance for 30 or so years, some more. There were even emails from persons who could not attend, such as one of my oldest friends, Paul Grenkow, who teaches English in Beijing, who could not attend only because his wife was expected to give birth on the day. I'm a lucky man. I have wonderful friends. But I do caution you to think carefully about holding a surprise party for 60yo people. The heart palpitations are unbelievable. On the other hand, what better way to go. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.33/1133 - Release Date: 11/15/2007 8:57 PM From markamatte at hotmail.com Fri Nov 16 09:01:33 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 16 Nov 2007 15:01:33 +0000 Subject: [AccessD] Hey, it's Friday In-Reply-To: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> References: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> Message-ID: Happy Belated Birthday!!! > Date: Fri, 16 Nov 2007 09:24:26 -0500 > From: fuller.artful at gmail.com > To: accessd at databaseadvisors.com > Subject: [AccessD] Hey, it's Friday > > Last night was my 60th birthday, and about 25 of my friends had a surprise > party for me. I was completely clueless about its occurrence. I have a > favourite Indian restaurant in Toronto called Shalimar, owned and operated > by a good friend called Khalid, and ironically, I decided that that was > where I wanted to have dinner last night. So I booked a reservation, little > knowing that the entire restaurant had already been booked. Khalid managed > to keep a straight voice when I called. My friend Norma and my sister Clare > came with me, and there's a great bookstore/recordstore next door which I > insisted upon visiting, little knowing that there was a party awaiting me > next door. This is a small restaurant (always a good sign), and when I > walked in, I saw that the whole place had been re-arranged, a dozen tables > united into one enormous long table, and as I scanned the occupants I > realized bit by bit that I knew everyone at the table, and finally it dawned > on me. > > To break bread with good friends is a good thing. To find oneself as the > centre of attention, so to speak, surrounded by good friends, is truly > breathtaking -- and humbling. For some reason or other, I have a collection > of quality people to call my friends. We had fabulous food, wonderful > conversation and I even received some cool presents and cards. Forced at one > point to stand and make a speech, all I could manage was to thank my friends > for being my friends. I've known almost everyone in attendance for 30 or so > years, some more. There were even emails from persons who could not attend, > such as one of my oldest friends, Paul Grenkow, who teaches English in > Beijing, who could not attend only because his wife was expected to give > birth on the day. > > I'm a lucky man. I have wonderful friends. But I do caution you to think > carefully about holding a surprise party for 60yo people. The heart > palpitations are unbelievable. On the other hand, what better way to go. > > A. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Peek-a-boo FREE Tricks & Treats for You! http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us From garykjos at gmail.com Fri Nov 16 09:02:38 2007 From: garykjos at gmail.com (Gary Kjos) Date: Fri, 16 Nov 2007 09:02:38 -0600 Subject: [AccessD] Hey, it's Friday In-Reply-To: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> References: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> Message-ID: Belated happy birthday Arthur. I was having a hard time keeping the party a secret Glad you survived the surprize. GK On 11/16/07, Arthur Fuller wrote: > Last night was my 60th birthday -- Gary Kjos garykjos at gmail.com From RRANTHON at sentara.com Fri Nov 16 09:37:16 2007 From: RRANTHON at sentara.com (RANDALL R ANTHONY) Date: Fri, 16 Nov 2007 10:37:16 -0500 Subject: [AccessD] OT: SQL Load/Stress Test Utilities Message-ID: <200711161537.lAGFbWbl032449@databaseadvisors.com> Anyone have any experience with Microsoft's SQLIOSim or any third party tools for stress testing SQL 2000 or 2005. Any recommendations? Thanks! From jwcolby at colbyconsulting.com Fri Nov 16 09:42:01 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 16 Nov 2007 10:42:01 -0500 Subject: [AccessD] Hey, it's Friday In-Reply-To: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> References: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> Message-ID: <003401c82867$3b884cf0$6c7aa8c0@M90> Arthur, In fact you took me to that restaurant (and the bookstore as well) when I visited you a couple of years ago so I can attend your birthday party through my memories of my visit. Happy 60th and may you have another 60 in good health. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, November 16, 2007 9:24 AM To: Access Developers discussion and problem solving Subject: [AccessD] Hey, it's Friday Last night was my 60th birthday, and about 25 of my friends had a surprise party for me. I was completely clueless about its occurrence. I have a favourite Indian restaurant in Toronto called Shalimar, owned and operated by a good friend called Khalid, and ironically, I decided that that was where I wanted to have dinner last night. So I booked a reservation, little knowing that the entire restaurant had already been booked. Khalid managed to keep a straight voice when I called. My friend Norma and my sister Clare came with me, and there's a great bookstore/recordstore next door which I insisted upon visiting, little knowing that there was a party awaiting me next door. This is a small restaurant (always a good sign), and when I walked in, I saw that the whole place had been re-arranged, a dozen tables united into one enormous long table, and as I scanned the occupants I realized bit by bit that I knew everyone at the table, and finally it dawned on me. To break bread with good friends is a good thing. To find oneself as the centre of attention, so to speak, surrounded by good friends, is truly breathtaking -- and humbling. For some reason or other, I have a collection of quality people to call my friends. We had fabulous food, wonderful conversation and I even received some cool presents and cards. Forced at one point to stand and make a speech, all I could manage was to thank my friends for being my friends. I've known almost everyone in attendance for 30 or so years, some more. There were even emails from persons who could not attend, such as one of my oldest friends, Paul Grenkow, who teaches English in Beijing, who could not attend only because his wife was expected to give birth on the day. I'm a lucky man. I have wonderful friends. But I do caution you to think carefully about holding a surprise party for 60yo people. The heart palpitations are unbelievable. On the other hand, what better way to go. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Nov 16 09:45:20 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 16 Nov 2007 10:45:20 -0500 Subject: [AccessD] merging records In-Reply-To: <004101c8285c$9b5880b0$1557a27a@personalec1122> References: <012001c827b2$fe29bfb0$5e57a27a@personalec1122><00ba01c827bd$8061bb90$6c7aa8c0@M90> <004101c8285c$9b5880b0$1557a27a@personalec1122> Message-ID: <003501c82867$b1e4e610$6c7aa8c0@M90> By position is brilliant where it will work, which in this specific file (and in most I suspect) it definitely does. Thanks for the idea. I will try to build an Access database with links to the SQL Server BE and test the code to see how fast it is. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Friday, November 16, 2007 9:25 AM To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Subject: Re: [AccessD] merging records You are welcome John! I have since optimized the subroutine still further. Taking into account the point raised by you, iteration through fields is now implemented based upon their number position. This eliminates the repeated check against InStr() function for excluding initial set of fields (not directly representing survey response). Instead, the loop starts at first survey field. In the sample case, position of this field, represented by constant PosOfFirstSurveyField is 5. You can substitute this figure by an appropriate value as required. Two versions of the optimized subroutine have been made out, one uses append query for final insertion, while the other depends upon recorset's AddNew method as suggested by Gustav. The first routine, named P_PopulateResultTableByAppQry() is placed below. The other one, named P_PopulateResultTableByRecordset() shall be sent by subsequent post, so as to avoid crossing the max size prescribed by the moderators. Best wishes, A.D.Tejpal ------------ Sample subroutine - for merging survey results T_data is source table. Compacted results (ignoring blanks) are appended to T_Result. '==================================== Sub P_PopulateResultTableByAppQry() ' This subroutine merges the survey ' results (ignoring blanks) for each person in source ' table T_Data and appends the compacted outcome ' into destination table T_Result. Structure of T_Result ' is identical to that of T_Data ' T_Dummy is a single field single record table. Dim Qst As String, Txt As String Dim Fnm As String, Qst2 As String Dim Cnt As Long Dim rst1 As DAO.Recordset Dim rst2 As DAO.Recordset Dim tdf As TableDef Dim db As DAO.Database Const SourceTable As String = "T_Data" Const DestnTable As String = "T_Result" Const DummyTable As String = "T_Dummy" Const PosOfFirstSurveyField As Long = 5 Set db = DBEngine(0)(0) ' Clear destination table db.Execute "DELETE FROM " & _ DestnTable & ";", dbFailOnError Qst = "SELECT FirstName, LastName, " & _ "Address FROM " & SourceTable & _ " GROUP BY FirstName, " & _ "LastName, Address;" Set rst1 = db.OpenRecordset(Qst) Set tdf = db.TableDefs(SourceTable) Do Until rst1.EOF ' Build first part of SQL for appending Person ' and address particulars Qst = "INSERT INTO " & DestnTable & _ " SELECT '" & _ rst1.Fields("FirstName") & "' AS " & _ "FirstName, '" & rst1.Fields("LastName") & _ "' AS LastName, '" & rst1.Fields("Address") & _ "' AS Address," ' Build balance portion of SQL for appending ' survey results (ignoring blanks), field-wise For Cnt = (PosOfFirstSurveyField - 1) _ To (tdf.Fields.Count - 1) Fnm = tdf.Fields(Cnt).Name Qst2 = "SELECT " & Fnm & _ " FROM " & SourceTable & _ " WHERE FirstName = '" & _ rst1.Fields("FirstName") & _ "' AND LastName = '" & _ rst1.Fields("LastName") & _ "' AND Address = '" & _ rst1.Fields("Address") & _ "' AND Len(" & Fnm & ") > 0;" Set rst2 = db.OpenRecordset(Qst2) ' This If/End If block is meant to prevent ' error (no current record) if rst2 is empty If rst2.RecordCount > 0 Then Qst = Qst & " '" & rst2.Fields(0) & _ "' AS " & Fnm & "," End If Next ' Remove trailing comma Qst = Left(Qst, Len(Qst) - 1) Qst = Qst & " FROM " & DummyTable & ";" ' Append to destination table db.Execute Qst, dbFailOnError rst1.MoveNext Loop rst1.Close rst2.Close Set rst1 = Nothing Set rst2 = Nothing Set tdf = Nothing Set db = Nothing End Sub '==================================== ----- Original Message ----- From: jwcolby To: 'Access Developers discussion and problem solving' Sent: Friday, November 16, 2007 00:57 Subject: Re: [AccessD] merging records A.D. I will get around to this, just not sure when. Running this through Access / VBA is probably a non starter since not only are there a lot of fields (>600), but also a lot of records (>50 million). Thus if this is ever to actually work it will need to be done in VB.Net. My experience so far is that VB.Net speeds things up by a factor of 10 or more. Even then I would suggest something like pulling the field names that will be actually used out and placing them (or maybe their numeric field position in the record object) in a collection. That way the code that iterates the fields becomes a simple "for each in colValidFld" construct instead of a constant comparison to see if they are in the string of non-valid fields. If you place the valid field names in the collection, then the For Each loop would "just have" the field names to build up the SQL statement. Additionally I think you can use the field names to index into the field collection to extract the values: rst.fields(strFldName).value Believe me, with 600 fields and 50 million records, it needs all the efficiency it can get. And BTW thanks for the code. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Nov 16 09:52:04 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 16 Nov 2007 07:52:04 -0800 Subject: [AccessD] Hey, it's Friday In-Reply-To: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> References: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> Message-ID: Happy Birthday, Arthur. You're only a few years behind me! My friends mostly know that I don't like surprises, good or bad, so I think my heart (and pacemaker) are safe. LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, November 16, 2007 6:24 AM To: Access Developers discussion and problem solving Subject: [AccessD] Hey, it's Friday Last night was my 60th birthday, and about 25 of my friends had a surprise party for me. I was completely clueless about its occurrence. I have a favourite Indian restaurant in Toronto called Shalimar, owned and operated by a good friend called Khalid, and ironically, I decided that that was where I wanted to have dinner last night. So I booked a reservation, little knowing that the entire restaurant had already been booked. Khalid managed to keep a straight voice when I called. My friend Norma and my sister Clare came with me, and there's a great bookstore/recordstore next door which I insisted upon visiting, little knowing that there was a party awaiting me next door. This is a small restaurant (always a good sign), and when I walked in, I saw that the whole place had been re-arranged, a dozen tables united into one enormous long table, and as I scanned the occupants I realized bit by bit that I knew everyone at the table, and finally it dawned on me. To break bread with good friends is a good thing. To find oneself as the centre of attention, so to speak, surrounded by good friends, is truly breathtaking -- and humbling. For some reason or other, I have a collection of quality people to call my friends. We had fabulous food, wonderful conversation and I even received some cool presents and cards. Forced at one point to stand and make a speech, all I could manage was to thank my friends for being my friends. I've known almost everyone in attendance for 30 or so years, some more. There were even emails from persons who could not attend, such as one of my oldest friends, Paul Grenkow, who teaches English in Beijing, who could not attend only because his wife was expected to give birth on the day. I'm a lucky man. I have wonderful friends. But I do caution you to think carefully about holding a surprise party for 60yo people. The heart palpitations are unbelievable. On the other hand, what better way to go. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Fri Nov 16 10:10:02 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 16 Nov 2007 11:10:02 -0500 Subject: [AccessD] Hey, it's Friday In-Reply-To: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> References: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> Message-ID: <004101c8286b$258fec60$8abea8c0@XPS> Sounds like it was a great present! Happy birthday Arthur! Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, November 16, 2007 9:24 AM To: Access Developers discussion and problem solving Subject: [AccessD] Hey, it's Friday Last night was my 60th birthday, and about 25 of my friends had a surprise party for me. I was completely clueless about its occurrence. I have a favourite Indian restaurant in Toronto called Shalimar, owned and operated by a good friend called Khalid, and ironically, I decided that that was where I wanted to have dinner last night. So I booked a reservation, little knowing that the entire restaurant had already been booked. Khalid managed to keep a straight voice when I called. My friend Norma and my sister Clare came with me, and there's a great bookstore/recordstore next door which I insisted upon visiting, little knowing that there was a party awaiting me next door. This is a small restaurant (always a good sign), and when I walked in, I saw that the whole place had been re-arranged, a dozen tables united into one enormous long table, and as I scanned the occupants I realized bit by bit that I knew everyone at the table, and finally it dawned on me. To break bread with good friends is a good thing. To find oneself as the centre of attention, so to speak, surrounded by good friends, is truly breathtaking -- and humbling. For some reason or other, I have a collection of quality people to call my friends. We had fabulous food, wonderful conversation and I even received some cool presents and cards. Forced at one point to stand and make a speech, all I could manage was to thank my friends for being my friends. I've known almost everyone in attendance for 30 or so years, some more. There were even emails from persons who could not attend, such as one of my oldest friends, Paul Grenkow, who teaches English in Beijing, who could not attend only because his wife was expected to give birth on the day. I'm a lucky man. I have wonderful friends. But I do caution you to think carefully about holding a surprise party for 60yo people. The heart palpitations are unbelievable. On the other hand, what better way to go. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From EdTesiny at oasas.state.ny.us Fri Nov 16 10:43:00 2007 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Fri, 16 Nov 2007 11:43:00 -0500 Subject: [AccessD] Hey, it's Friday In-Reply-To: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> References: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> Message-ID: Happy Birthday Arthur! Years ago we had good friends who lived in Toronto and we would always eat in Indian restaurants, good authentic cuisine. Ed Tesiny EdTesiny at oasas.state.ny.us > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Arthur Fuller > Sent: Friday, November 16, 2007 9:24 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Hey, it's Friday > > Last night was my 60th birthday, and about 25 of my friends > had a surprise > party for me. I was completely clueless about its occurrence. I have a > favourite Indian restaurant in Toronto called Shalimar, owned > and operated > by a good friend called Khalid, and ironically, I decided > that that was > where I wanted to have dinner last night. So I booked a > reservation, little > knowing that the entire restaurant had already been booked. > Khalid managed > to keep a straight voice when I called. My friend Norma and > my sister Clare > came with me, and there's a great bookstore/recordstore next > door which I > insisted upon visiting, little knowing that there was a party > awaiting me > next door. This is a small restaurant (always a good sign), and when I > walked in, I saw that the whole place had been re-arranged, a > dozen tables > united into one enormous long table, and as I scanned the occupants I > realized bit by bit that I knew everyone at the table, and > finally it dawned > on me. > > To break bread with good friends is a good thing. To find > oneself as the > centre of attention, so to speak, surrounded by good friends, is truly > breathtaking -- and humbling. For some reason or other, I > have a collection > of quality people to call my friends. We had fabulous food, wonderful > conversation and I even received some cool presents and > cards. Forced at one > point to stand and make a speech, all I could manage was to > thank my friends > for being my friends. I've known almost everyone in > attendance for 30 or so > years, some more. There were even emails from persons who > could not attend, > such as one of my oldest friends, Paul Grenkow, who teaches English in > Beijing, who could not attend only because his wife was > expected to give > birth on the day. > > I'm a lucky man. I have wonderful friends. But I do caution > you to think > carefully about holding a surprise party for 60yo people. The heart > palpitations are unbelievable. On the other hand, what better > way to go. > > A. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Fri Nov 16 12:21:56 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 16 Nov 2007 13:21:56 -0500 Subject: [AccessD] Off-Site Backup References: <011c01c8285c$a31f5120$8119fea9@LTVM> Message-ID: <002601c8287d$92678520$ef706c4c@jisshowsbs.local> ...whoa! ...now there is something I'd never considered ...I have a client that is very concerned about employees stealing his data ...I'll have to take another look at this. William ----- Original Message ----- From: To: "'Access Developers discussion and problem solving'" Sent: Friday, November 16, 2007 9:26 AM Subject: Re: [AccessD] Off-Site Backup > John Colby: > > Many thanks for the pointer to TrueCrypt. This is fantastic! I now have > all > my BE Data in an encrypted file on the Server and the FE's in an encrypted > file on user's PC's. Even if they steal all the computers they will never > get access to the data without my 40 char key to mount the volumes. > > Brilliant tip, John. Many thanks > > Max > > > > ----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, November 15, 2007 5:42 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Off-Site Backup > > LOL. Make sure that you use a good encryption scheme. I use TrueCrypt: > > http://www.truecrypt.org/downloads.php > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka > Sent: Thursday, November 15, 2007 11:19 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Off-Site Backup > > At work we use Iron Mountain (www.ironmountain.com). > > But why don't you just get a big flash drive and put it on your key chain. > You'll always have your critical stuff with you then. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Thursday, November 15, 2007 8:51 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Off-Site Backup > > Well, my local ghost backup runs to 35GB - so that gets me into about $20 > a > month. I can FTP my stuff myself to me web site - plenty of space there > - > it's just the discipline. I send the critical stuff up there sporadically > in an encrypted zip file. The upload time is a killer, though. > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > max.wanadoo at gmail.com > Sent: Thursday, November 15, 2007 6:33 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Off-Site Backup > > Pricings are here: > > https://mozy.com/pro/pricing > > Max > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Thursday, November 15, 2007 1:42 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Off-Site Backup > > Looks good from the web page. I couldn't figure out how much it costs, > however, if you want more than 2GB. Guess you have to go with the Pro > version. How much do you pay? > > T&R > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawrence Mrazek > Sent: Thursday, November 15, 2007 5:23 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Off-Site Backup > > Hi Rocky: > > I'm using MozyPro (for clients and myself) ... www.mozy.com. I've like it, > and have been impressed with the features. > > Larry Mrazek > LCM Research, Inc. > www.lcm-res.com > lmrazek at lcm-res.com > ph. 314-432-5886 > mobile: 314-496-1645 > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Thursday, November 15, 2007 7:10 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Off-Site Backup > > > Dear List: > > Maybe a bit OT but hopefully some answers that will be useful to all. > > I've just been solicited by WinZip Computing to try their off-site backup > product Carbonite. I occasionally FTP some stuff up to my web site for > off > site backup. > > Are any of you doing off-site through a third party product? And if so, > which one? Recommendations? > > 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 > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: > 11/14/2007 > 4:54 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: > 11/14/2007 > 4:54 PM > > > -- > 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 BusinessSensitve > 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 Jim.Hale at FleetPride.com Fri Nov 16 12:52:44 2007 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 16 Nov 2007 12:52:44 -0600 Subject: [AccessD] Off-Site Backup In-Reply-To: <200711160908.lAG985121511@smarthost.yourcomms.net> References: <001f01c82788$de8012b0$0301a8c0@HAL9005> <473C9F62.40103@mvps.org> <200711160908.lAG985121511@smarthost.yourcomms.net> Message-ID: How big a process does it leave in memory? I had to ditch one service because they were a huge memory hog. Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: Friday, November 16, 2007 3:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Off-Site Backup Hi I use Carbonite. (?25 per year). This service has to be seen for what it is, simply off line backup. I have other local backup options as well. I see Carbonite as the last layer of support/backup. If my pc/hard disk and backup devices get stolen, irreparable etc the I can log on to any pc/laptop and get back the latest versions of my files. Richard *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From max.wanadoo at gmail.com Fri Nov 16 13:10:32 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Fri, 16 Nov 2007 19:10:32 -0000 Subject: [AccessD] Off-Site Backup In-Reply-To: <002601c8287d$92678520$ef706c4c@jisshowsbs.local> Message-ID: <002601c82884$6003b930$8119fea9@LTVM> Hi William: Here is such an article which bears out your client's concerns: SECURITY? STICK IT! A recent survey by Tower Software has revealed that 49% of employees store work-related files in multiple locations - posing serious security threats and exposure as well as compliance and information management issues. To read the full story follow the link below... I have the FE secured with user logins, etc. The BE is password protected. Both ends (now) contained within encrypted files. Backups now contain encrypted files. Totally secure from "outsiders". BUT! - once you are in the system, a (valid) user can still "do things" unless he/she is totally restricted by the various methods outlined in postings to this site. Ie. Menu systems, exporting options, printing data options, etc. At some stage there has to be employee trust. Ie, unless I am trusted (being the developer) then nothing else works. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, November 16, 2007 6:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Off-Site Backup ...whoa! ...now there is something I'd never considered ...I have a client that is very concerned about employees stealing his data ...I'll have to take another look at this. William ----- Original Message ----- From: To: "'Access Developers discussion and problem solving'" Sent: Friday, November 16, 2007 9:26 AM Subject: Re: [AccessD] Off-Site Backup > John Colby: > > Many thanks for the pointer to TrueCrypt. This is fantastic! I now have > all > my BE Data in an encrypted file on the Server and the FE's in an encrypted > file on user's PC's. Even if they steal all the computers they will never > get access to the data without my 40 char key to mount the volumes. > > Brilliant tip, John. Many thanks > > Max > > > > ----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, November 15, 2007 5:42 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Off-Site Backup > > LOL. Make sure that you use a good encryption scheme. I use TrueCrypt: > > http://www.truecrypt.org/downloads.php > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka > Sent: Thursday, November 15, 2007 11:19 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Off-Site Backup > > At work we use Iron Mountain (www.ironmountain.com). > > But why don't you just get a big flash drive and put it on your key chain. > You'll always have your critical stuff with you then. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Thursday, November 15, 2007 8:51 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Off-Site Backup > > Well, my local ghost backup runs to 35GB - so that gets me into about $20 > a > month. I can FTP my stuff myself to me web site - plenty of space there > - > it's just the discipline. I send the critical stuff up there sporadically > in an encrypted zip file. The upload time is a killer, though. > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > max.wanadoo at gmail.com > Sent: Thursday, November 15, 2007 6:33 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Off-Site Backup > > Pricings are here: > > https://mozy.com/pro/pricing > > Max > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Thursday, November 15, 2007 1:42 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Off-Site Backup > > Looks good from the web page. I couldn't figure out how much it costs, > however, if you want more than 2GB. Guess you have to go with the Pro > version. How much do you pay? > > T&R > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawrence Mrazek > Sent: Thursday, November 15, 2007 5:23 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Off-Site Backup > > Hi Rocky: > > I'm using MozyPro (for clients and myself) ... www.mozy.com. I've like it, > and have been impressed with the features. > > Larry Mrazek > LCM Research, Inc. > www.lcm-res.com > lmrazek at lcm-res.com > ph. 314-432-5886 > mobile: 314-496-1645 > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Thursday, November 15, 2007 7:10 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Off-Site Backup > > > Dear List: > > Maybe a bit OT but hopefully some answers that will be useful to all. > > I've just been solicited by WinZip Computing to try their off-site backup > product Carbonite. I occasionally FTP some stuff up to my web site for > off > site backup. > > Are any of you doing off-site through a third party product? And if so, > which one? Recommendations? > > 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 > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: > 11/14/2007 > 4:54 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: > 11/14/2007 > 4:54 PM > > > -- > 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 BusinessSensitve > 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 From Patricia.O'Connor at otda.state.ny.us Fri Nov 16 14:44:47 2007 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Fri, 16 Nov 2007 15:44:47 -0500 Subject: [AccessD] Hey, it's Friday In-Reply-To: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> References: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BB0F0@EXCNYSM0A1AI.nysemail.nyenet> HAPPY BIRTHDAY ARTHUR Glad to hear you had a wonderful time. Enjoy life!! Patti ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** > -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Arthur Fuller > Sent: Friday, November 16, 2007 09:24 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Hey, it's Friday > > Last night was my 60th birthday, and about 25 of my friends > had a surprise party for me. I was completely clueless about > its occurrence. I have a favourite Indian restaurant in > Toronto called Shalimar, owned and operated by a good friend > called Khalid, and ironically, I decided that that was where > I wanted to have dinner last night. So I booked a > reservation, little knowing that the entire restaurant had > already been booked. Khalid managed to keep a straight voice > when I called. My friend Norma and my sister Clare came with > me, and there's a great bookstore/recordstore next door which > I insisted upon visiting, little knowing that there was a > party awaiting me next door. This is a small restaurant > (always a good sign), and when I walked in, I saw that the > whole place had been re-arranged, a dozen tables united into > one enormous long table, and as I scanned the occupants I > realized bit by bit that I knew everyone at the table, and > finally it dawned on me. > > To break bread with good friends is a good thing. To find > oneself as the centre of attention, so to speak, surrounded > by good friends, is truly breathtaking -- and humbling. For > some reason or other, I have a collection of quality people > to call my friends. We had fabulous food, wonderful > conversation and I even received some cool presents and > cards. Forced at one point to stand and make a speech, all I > could manage was to thank my friends for being my friends. > I've known almost everyone in attendance for 30 or so years, > some more. There were even emails from persons who could not > attend, such as one of my oldest friends, Paul Grenkow, who > teaches English in Beijing, who could not attend only because > his wife was expected to give birth on the day. > > I'm a lucky man. I have wonderful friends. But I do caution > you to think carefully about holding a surprise party for > 60yo people. The heart palpitations are unbelievable. On the > other hand, what better way to go. > > A. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From davidmcafee at gmail.com Fri Nov 16 15:01:27 2007 From: davidmcafee at gmail.com (David McAfee) Date: Fri, 16 Nov 2007 13:01:27 -0800 Subject: [AccessD] Hey, it's Friday In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BB0F0@EXCNYSM0A1AI.nysemail.nyenet> References: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> <01DBAB52E30A9A4AB3D94EF8029EDBE8021BB0F0@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: <8786a4c00711161301w2eff5680hc8463590da52440f@mail.gmail.com> Happy belated Birthday Arthur. Sounds like you had such a great time! From DWUTKA at Marlow.com Fri Nov 16 15:44:45 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Fri, 16 Nov 2007 15:44:45 -0600 Subject: [AccessD] Hey, it's Friday In-Reply-To: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> Message-ID: Happy birthday Arthur! Wow, 60 years old...is it about time to get a Mac? Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, November 16, 2007 8:24 AM To: Access Developers discussion and problem solving Subject: [AccessD] Hey, it's Friday Last night was my 60th birthday, and about 25 of my friends had a surprise party for me. I was completely clueless about its occurrence. I have a favourite Indian restaurant in Toronto called Shalimar, owned and operated by a good friend called Khalid, and ironically, I decided that that was where I wanted to have dinner last night. So I booked a reservation, little knowing that the entire restaurant had already been booked. Khalid managed to keep a straight voice when I called. My friend Norma and my sister Clare came with me, and there's a great bookstore/recordstore next door which I insisted upon visiting, little knowing that there was a party awaiting me next door. This is a small restaurant (always a good sign), and when I walked in, I saw that the whole place had been re-arranged, a dozen tables united into one enormous long table, and as I scanned the occupants I realized bit by bit that I knew everyone at the table, and finally it dawned on me. To break bread with good friends is a good thing. To find oneself as the centre of attention, so to speak, surrounded by good friends, is truly breathtaking -- and humbling. For some reason or other, I have a collection of quality people to call my friends. We had fabulous food, wonderful conversation and I even received some cool presents and cards. Forced at one point to stand and make a speech, all I could manage was to thank my friends for being my friends. I've known almost everyone in attendance for 30 or so years, some more. There were even emails from persons who could not attend, such as one of my oldest friends, Paul Grenkow, who teaches English in Beijing, who could not attend only because his wife was expected to give birth on the day. I'm a lucky man. I have wonderful friends. But I do caution you to think carefully about holding a surprise party for 60yo people. The heart palpitations are unbelievable. On the other hand, what better way to go. 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 BusinessSensitve 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 Fri Nov 16 15:46:01 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 16 Nov 2007 16:46:01 -0500 Subject: [AccessD] Encrypting your stuff was offsite backup In-Reply-To: <002601c82884$6003b930$8119fea9@LTVM> References: <002601c8287d$92678520$ef706c4c@jisshowsbs.local> <002601c82884$6003b930$8119fea9@LTVM> Message-ID: <005801c8289a$15263800$6c7aa8c0@M90> I use this for my own protection. My laptop contains an encrypted file that contains my Colby Consulting stuff (books, etc). I have another encrypted drive that contains all client projects. Thus if the laptop ever does take a hike, all data is encrypted. the other nice thing about this is that you can backup all your work by copying a single encrypted file to a backup location. If that backup location ever takes a hike no data is exposed. I have a usb memory stick (just 1 gb for now) where 3/4 is an encrypted file. If I ever need to carry anything on my person, it is encrypted. The TrueCrypt program is stored on the unencrypted part and can be run from there. Thus I can stick the memory stick into a machine, run TrueCrypt, mount the drive and copy files to/from. Of course you do have to have admin rights in order to do this. I have been using this for about two years now and it just works. Just don't forget your password. I use the first character from a phrase or song, along with special characters and numbers which make it dead simple to remember when you are first learning your password. For example take two nursery rhymes: Mary Had A Little Lamb His Fleece Was White As Snow MhAlLhFwWaS (use alternating upper and lower case) Throw two numbers in front of, behind or around it 0MhAlLhFwWaS9 Now throw two special characters in front of that !0MhAlLhFwWaS9@ That all by itself is a pretty secure password. If you want more, do that twice, perhaps Jack And Jill Went Up The Hill To Fetch A Pail Of Water #8JaJwUtHtFaPoW7$ !0MhAlLhFwWaS9@#8JaJwUtHtFaPoW7$ You get the picture. Either one is a good password, the two together are pretty industrial strength, and dead easy to remember until you have it assigned to muscle memory. Pick a favorite saying, slogan, song, whatever you already have remembered and just use the first character of each word, plus numbers and special symbols. Someone (on this list IIRC) claimed they had a password cracker that would crack any password in XX seconds. I think not. My password is 21 characters long using a simple system like that and takes me about 10 seconds to type in. 10 seconds is not too much to ask for an industrial strength memorable password. http://www.lockdown.co.uk/?pg=combi&s=articles John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Friday, November 16, 2007 2:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Hi William: Here is such an article which bears out your client's concerns: SECURITY? STICK IT! A recent survey by Tower Software has revealed that 49% of employees store work-related files in multiple locations - posing serious security threats and exposure as well as compliance and information management issues. To read the full story follow the link below... I have the FE secured with user logins, etc. The BE is password protected. Both ends (now) contained within encrypted files. Backups now contain encrypted files. Totally secure from "outsiders". BUT! - once you are in the system, a (valid) user can still "do things" unless he/she is totally restricted by the various methods outlined in postings to this site. Ie. Menu systems, exporting options, printing data options, etc. At some stage there has to be employee trust. Ie, unless I am trusted (being the developer) then nothing else works. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, November 16, 2007 6:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Off-Site Backup ...whoa! ...now there is something I'd never considered ...I have a client that is very concerned about employees stealing his data ...I'll have to take another look at this. William ----- Original Message ----- From: To: "'Access Developers discussion and problem solving'" Sent: Friday, November 16, 2007 9:26 AM Subject: Re: [AccessD] Off-Site Backup > John Colby: > > Many thanks for the pointer to TrueCrypt. This is fantastic! I now > have all my BE Data in an encrypted file on the Server and the FE's in > an encrypted file on user's PC's. Even if they steal all the > computers they will never get access to the data without my 40 char > key to mount the volumes. > > Brilliant tip, John. Many thanks > > Max From wdhindman at dejpolsystems.com Fri Nov 16 16:57:17 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 16 Nov 2007 17:57:17 -0500 Subject: [AccessD] Encrypting your stuff was offsite backup References: <002601c8287d$92678520$ef706c4c@jisshowsbs.local><002601c82884$6003b930$8119fea9@LTVM> <005801c8289a$15263800$6c7aa8c0@M90> Message-ID: <000c01c828a4$098c5b00$ef706c4c@jisshowsbs.local> I use a 4gig stick with a u3 encryption program, wear it on a chain around my neck. I seldom take a laptop to client offices anymore because most everything I need is on the stick ...just plug it in, log-on, sync, and go to work ...I use a similar password algorithm but based on an Elvis tune ...shows my age, it does :) William ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Friday, November 16, 2007 4:46 PM Subject: [AccessD] Encrypting your stuff was offsite backup >I use this for my own protection. My laptop contains an encrypted file >that > contains my Colby Consulting stuff (books, etc). I have another encrypted > drive that contains all client projects. Thus if the laptop ever does > take > a hike, all data is encrypted. the other nice thing about this is that > you > can backup all your work by copying a single encrypted file to a backup > location. If that backup location ever takes a hike no data is exposed. > > I have a usb memory stick (just 1 gb for now) where 3/4 is an encrypted > file. If I ever need to carry anything on my person, it is encrypted. > The > TrueCrypt program is stored on the unencrypted part and can be run from > there. Thus I can stick the memory stick into a machine, run TrueCrypt, > mount the drive and copy files to/from. Of course you do have to have > admin > rights in order to do this. > > I have been using this for about two years now and it just works. > > Just don't forget your password. > > I use the first character from a phrase or song, along with special > characters and numbers which make it dead simple to remember when you are > first learning your password. For example take two nursery rhymes: > > Mary Had A Little Lamb His Fleece Was White As Snow > MhAlLhFwWaS > (use alternating upper and lower case) > Throw two numbers in front of, behind or around it > 0MhAlLhFwWaS9 > Now throw two special characters in front of that > !0MhAlLhFwWaS9@ > > That all by itself is a pretty secure password. If you want more, do that > twice, perhaps > > Jack And Jill Went Up The Hill To Fetch A Pail Of Water > #8JaJwUtHtFaPoW7$ > > !0MhAlLhFwWaS9@#8JaJwUtHtFaPoW7$ > > You get the picture. Either one is a good password, the two together are > pretty industrial strength, and dead easy to remember until you have it > assigned to muscle memory. Pick a favorite saying, slogan, song, whatever > you already have remembered and just use the first character of each word, > plus numbers and special symbols. > > Someone (on this list IIRC) claimed they had a password cracker that would > crack any password in XX seconds. I think not. My password is 21 > characters long using a simple system like that and takes me about 10 > seconds to type in. 10 seconds is not too much to ask for an industrial > strength memorable password. > > http://www.lockdown.co.uk/?pg=combi&s=articles > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > max.wanadoo at gmail.com > Sent: Friday, November 16, 2007 2:11 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Off-Site Backup > > > Hi William: > > Here is such an article which bears out your client's concerns: > > SECURITY? STICK IT! > A recent survey by Tower Software has revealed that 49% of employees store > work-related files in multiple locations - posing serious security threats > and exposure as well as compliance and information management issues. > To read the full story follow the link below... > > > > I have the FE secured with user logins, etc. The BE is password > protected. > Both ends (now) contained within encrypted files. Backups now contain > encrypted files. Totally secure from "outsiders". > > BUT! - once you are in the system, a (valid) user can still "do things" > unless he/she is totally restricted by the various methods outlined in > postings to this site. Ie. Menu systems, exporting options, printing data > options, etc. > > At some stage there has to be employee trust. Ie, unless I am trusted > (being the developer) then nothing else works. > > Max > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Friday, November 16, 2007 6:22 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Off-Site Backup > > ...whoa! ...now there is something I'd never considered ...I have a client > that is very concerned about employees stealing his data ...I'll have to > take another look at this. > > William > > ----- Original Message ----- > From: > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, November 16, 2007 9:26 AM > Subject: Re: [AccessD] Off-Site Backup > > >> John Colby: >> >> Many thanks for the pointer to TrueCrypt. This is fantastic! I now >> have all my BE Data in an encrypted file on the Server and the FE's in >> an encrypted file on user's PC's. Even if they steal all the >> computers they will never get access to the data without my 40 char >> key to mount the volumes. >> >> Brilliant tip, John. Many thanks >> >> Max > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Fri Nov 16 17:00:42 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 16 Nov 2007 18:00:42 -0500 Subject: [AccessD] Hey, it's Friday References: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> Message-ID: <001001c828a4$83e30520$ef706c4c@jisshowsbs.local> Arthur ...may you share many, many more with your friends, both here and there. William ----- Original Message ----- From: "Arthur Fuller" To: "Access Developers discussion and problem solving" Sent: Friday, November 16, 2007 9:24 AM Subject: [AccessD] Hey, it's Friday > Last night was my 60th birthday, and about 25 of my friends had a surprise > party for me. I was completely clueless about its occurrence. I have a > favourite Indian restaurant in Toronto called Shalimar, owned and operated > by a good friend called Khalid, and ironically, I decided that that was > where I wanted to have dinner last night. So I booked a reservation, > little > knowing that the entire restaurant had already been booked. Khalid managed > to keep a straight voice when I called. My friend Norma and my sister > Clare > came with me, and there's a great bookstore/recordstore next door which I > insisted upon visiting, little knowing that there was a party awaiting me > next door. This is a small restaurant (always a good sign), and when I > walked in, I saw that the whole place had been re-arranged, a dozen tables > united into one enormous long table, and as I scanned the occupants I > realized bit by bit that I knew everyone at the table, and finally it > dawned > on me. > > To break bread with good friends is a good thing. To find oneself as the > centre of attention, so to speak, surrounded by good friends, is truly > breathtaking -- and humbling. For some reason or other, I have a > collection > of quality people to call my friends. We had fabulous food, wonderful > conversation and I even received some cool presents and cards. Forced at > one > point to stand and make a speech, all I could manage was to thank my > friends > for being my friends. I've known almost everyone in attendance for 30 or > so > years, some more. There were even emails from persons who could not > attend, > such as one of my oldest friends, Paul Grenkow, who teaches English in > Beijing, who could not attend only because his wife was expected to give > birth on the day. > > I'm a lucky man. I have wonderful friends. But I do caution you to think > carefully about holding a surprise party for 60yo people. The heart > palpitations are unbelievable. On the other hand, what better way to go. > > A. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Fri Nov 16 17:04:44 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 16 Nov 2007 18:04:44 -0500 Subject: [AccessD] Hey, it's Friday References: Message-ID: <001801c828a5$1436a6e0$ef706c4c@jisshowsbs.local> ...that's 60 years YOUNG, you pup! ...someday soon we'll talk about trading in your Playstation II for a real computer :) William ----- Original Message ----- From: "Drew Wutka" To: "Access Developers discussion and problem solving" Sent: Friday, November 16, 2007 4:44 PM Subject: Re: [AccessD] Hey, it's Friday > Happy birthday Arthur! Wow, 60 years old...is it about time to get a > Mac? > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Friday, November 16, 2007 8:24 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Hey, it's Friday > > Last night was my 60th birthday, and about 25 of my friends had a > surprise > party for me. I was completely clueless about its occurrence. I have a > favourite Indian restaurant in Toronto called Shalimar, owned and > operated > by a good friend called Khalid, and ironically, I decided that that was > where I wanted to have dinner last night. So I booked a reservation, > little > knowing that the entire restaurant had already been booked. Khalid > managed > to keep a straight voice when I called. My friend Norma and my sister > Clare > came with me, and there's a great bookstore/recordstore next door which > I > insisted upon visiting, little knowing that there was a party awaiting > me > next door. This is a small restaurant (always a good sign), and when I > walked in, I saw that the whole place had been re-arranged, a dozen > tables > united into one enormous long table, and as I scanned the occupants I > realized bit by bit that I knew everyone at the table, and finally it > dawned > on me. > > To break bread with good friends is a good thing. To find oneself as the > centre of attention, so to speak, surrounded by good friends, is truly > breathtaking -- and humbling. For some reason or other, I have a > collection > of quality people to call my friends. We had fabulous food, wonderful > conversation and I even received some cool presents and cards. Forced at > one > point to stand and make a speech, all I could manage was to thank my > friends > for being my friends. I've known almost everyone in attendance for 30 or > so > years, some more. There were even emails from persons who could not > attend, > such as one of my oldest friends, Paul Grenkow, who teaches English in > Beijing, who could not attend only because his wife was expected to give > birth on the day. > > I'm a lucky man. I have wonderful friends. But I do caution you to think > carefully about holding a surprise party for 60yo people. The heart > palpitations are unbelievable. On the other hand, what better way to go. > > 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 BusinessSensitve 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 joeget at vgernet.net Fri Nov 16 17:29:09 2007 From: joeget at vgernet.net (John Eget) Date: Fri, 16 Nov 2007 18:29:09 -0500 Subject: [AccessD] Access application to WEb Based References: <004a01c8274a$4156f460$4cc2f63f@JELaptop> <001901c82798$4e771b40$75010a0a@lcmdv8000> Message-ID: <010a01c828a8$80a4cd40$33c2f63f@JELaptop> usable on the web ----- Original Message ----- From: "Lawrence Mrazek" To: "'Access Developers discussion and problem solving'" Sent: Thursday, November 15, 2007 10:00 AM Subject: Re: [AccessD] Access application to WEb Based > Hmmm ... > > This is one of those "it depends" questions. > > If you're looking to merely present tabular data on the web, with perhaps > a > couple of lookups, filters, etc. this wouldn't be a problem. > > However, if you're app has a lot of custom functions, business logic, > etc., > then it will be a much larger project. > > Is the focus to make the application "usable on the web" or do you merely > need to enable remote access to the app? > > Larry Mrazek > LCM Research, Inc. > www.lcm-res.com > lmrazek at lcm-res.com > ph. 314-432-5886 > mobile: 314-496-1645 > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Eget > Sent: Wednesday, November 14, 2007 11:42 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Access application to WEb Based > > My boss asked me today "What would be the effort to make an existing > Microsoft Access application usable on the Web". I could find no > references > in any of the books I have as a reference. Any idea what I can say or > where > to look? > > Thanks for the thoughts and chuckles > > John > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From pcs at azizaz.com Fri Nov 16 18:01:57 2007 From: pcs at azizaz.com (pcs at azizaz.com) Date: Sat, 17 Nov 2007 10:01:57 +1000 (EST) Subject: [AccessD] Hey, it's Friday Message-ID: <20071117100157.DHS43880@dommail.onthenet.com.au> Arthur, Your story touched my heart...happy Birthday! Borge ---- Original message ---- >Date: Fri, 16 Nov 2007 09:24:26 -0500 >From: "Arthur Fuller" >Subject: [AccessD] Hey, it's Friday >To: "Access Developers discussion and problem solving" > >Last night was my 60th birthday, and about 25 of my friends had a surprise >party for me. I was completely clueless about its occurrence. ...... From accessd at shaw.ca Sat Nov 17 00:38:11 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 16 Nov 2007 22:38:11 -0800 Subject: [AccessD] Hey, it's Friday In-Reply-To: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> Message-ID: Arthur; What a night to remember. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, November 16, 2007 6:24 AM To: Access Developers discussion and problem solving Subject: [AccessD] Hey, it's Friday Last night was my 60th birthday, and about 25 of my friends had a surprise party for me. I was completely clueless about its occurrence. I have a favourite Indian restaurant in Toronto called Shalimar, owned and operated by a good friend called Khalid, and ironically, I decided that that was where I wanted to have dinner last night. So I booked a reservation, little knowing that the entire restaurant had already been booked. Khalid managed to keep a straight voice when I called. My friend Norma and my sister Clare came with me, and there's a great bookstore/recordstore next door which I insisted upon visiting, little knowing that there was a party awaiting me next door. This is a small restaurant (always a good sign), and when I walked in, I saw that the whole place had been re-arranged, a dozen tables united into one enormous long table, and as I scanned the occupants I realized bit by bit that I knew everyone at the table, and finally it dawned on me. To break bread with good friends is a good thing. To find oneself as the centre of attention, so to speak, surrounded by good friends, is truly breathtaking -- and humbling. For some reason or other, I have a collection of quality people to call my friends. We had fabulous food, wonderful conversation and I even received some cool presents and cards. Forced at one point to stand and make a speech, all I could manage was to thank my friends for being my friends. I've known almost everyone in attendance for 30 or so years, some more. There were even emails from persons who could not attend, such as one of my oldest friends, Paul Grenkow, who teaches English in Beijing, who could not attend only because his wife was expected to give birth on the day. I'm a lucky man. I have wonderful friends. But I do caution you to think carefully about holding a surprise party for 60yo people. The heart palpitations are unbelievable. On the other hand, what better way to go. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Sat Nov 17 03:05:00 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sat, 17 Nov 2007 09:05:00 -0000 Subject: [AccessD] Hey, it's Friday In-Reply-To: Message-ID: <000001c828f8$efaef440$3183d355@minster33c3r25> Happy Birthday Arthur. Sounds like my idea of the ideal party. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka > Sent: 16 November 2007 21:45 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Hey, it's Friday > > > Happy birthday Arthur! Wow, 60 years old...is it about time > to get a Mac? > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Arthur Fuller > Sent: Friday, November 16, 2007 8:24 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Hey, it's Friday > > Last night was my 60th birthday, and about 25 of my friends > had a surprise party for me. I was completely clueless about > its occurrence. I have a favourite Indian restaurant in > Toronto called Shalimar, owned and operated by a good friend > called Khalid, and ironically, I decided that that was where > I wanted to have dinner last night. So I booked a > reservation, little knowing that the entire restaurant had > already been booked. Khalid managed to keep a straight voice > when I called. My friend Norma and my sister Clare came with > me, and there's a great bookstore/recordstore next door which > I insisted upon visiting, little knowing that there was a > party awaiting me next door. This is a small restaurant > (always a good sign), and when I walked in, I saw that the > whole place had been re-arranged, a dozen tables united into > one enormous long table, and as I scanned the occupants I > realized bit by bit that I knew everyone at the table, and > finally it dawned on me. > > To break bread with good friends is a good thing. To find > oneself as the centre of attention, so to speak, surrounded > by good friends, is truly breathtaking -- and humbling. For > some reason or other, I have a collection of quality people > to call my friends. We had fabulous food, wonderful > conversation and I even received some cool presents and > cards. Forced at one point to stand and make a speech, all I > could manage was to thank my friends for being my friends. > I've known almost everyone in attendance for 30 or so years, > some more. There were even emails from persons who could not > attend, such as one of my oldest friends, Paul Grenkow, who > teaches English in Beijing, who could not attend only because > his wife was expected to give birth on the day. > > I'm a lucky man. I have wonderful friends. But I do caution > you to think carefully about holding a surprise party for > 60yo people. The heart palpitations are unbelievable. On the > other hand, what better way to go. > > 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 BusinessSensitve > 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 max.wanadoo at gmail.com Sat Nov 17 03:33:16 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Sat, 17 Nov 2007 09:33:16 -0000 Subject: [AccessD] Encrypting your stuff was offsite backup In-Reply-To: <005801c8289a$15263800$6c7aa8c0@M90> Message-ID: <003001c828fc$e2cd3cb0$8119fea9@LTVM> Hi John, Yes, this is something that I will now set up, especially for my laptop and memory stick. FYI I also use cGeep to encrypt sensitive emails (www cgeep com) which uses PGP encryption plus there is a web based version for those who do not want to install it. It can also encrypt files/directories directly which avoid the need to mount a volume. But what is great with TrueCrypt is that it will run apps or all kinds directly from the encrypted file without storing any decrypted data anywhere other than in memory. All in all, in a few weeks I will have great encryption right across the board. Another trick which is easy to remember is "positioning" keys. Ie, "qazwsxedcrfvtgbyhn" which if you look at a keyboard you will see that it just traverses up/down across the key pad. As long as you remember whatever positioning you use, then you actually do not need to even remember the passphrase. Needless to say, this positioning example is not my one . Throw a couple of other keys in with the alpha keys then it just won't make any sense if terms of "real words" for brute force decryption (although I think the TrueCrypt mention something like a billion years to decrypt with a supercomputer, so pretty safe really). Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, November 16, 2007 9:46 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Encrypting your stuff was offsite backup I use this for my own protection. My laptop contains an encrypted file that contains my Colby Consulting stuff (books, etc). I have another encrypted drive that contains all client projects. Thus if the laptop ever does take a hike, all data is encrypted. the other nice thing about this is that you can backup all your work by copying a single encrypted file to a backup location. If that backup location ever takes a hike no data is exposed. I have a usb memory stick (just 1 gb for now) where 3/4 is an encrypted file. If I ever need to carry anything on my person, it is encrypted. The TrueCrypt program is stored on the unencrypted part and can be run from there. Thus I can stick the memory stick into a machine, run TrueCrypt, mount the drive and copy files to/from. Of course you do have to have admin rights in order to do this. I have been using this for about two years now and it just works. Just don't forget your password. I use the first character from a phrase or song, along with special characters and numbers which make it dead simple to remember when you are first learning your password. For example take two nursery rhymes: Mary Had A Little Lamb His Fleece Was White As Snow MhAlLhFwWaS (use alternating upper and lower case) Throw two numbers in front of, behind or around it 0MhAlLhFwWaS9 Now throw two special characters in front of that !0MhAlLhFwWaS9@ That all by itself is a pretty secure password. If you want more, do that twice, perhaps Jack And Jill Went Up The Hill To Fetch A Pail Of Water #8JaJwUtHtFaPoW7$ !0MhAlLhFwWaS9@#8JaJwUtHtFaPoW7$ You get the picture. Either one is a good password, the two together are pretty industrial strength, and dead easy to remember until you have it assigned to muscle memory. Pick a favorite saying, slogan, song, whatever you already have remembered and just use the first character of each word, plus numbers and special symbols. Someone (on this list IIRC) claimed they had a password cracker that would crack any password in XX seconds. I think not. My password is 21 characters long using a simple system like that and takes me about 10 seconds to type in. 10 seconds is not too much to ask for an industrial strength memorable password. http://www.lockdown.co.uk/?pg=combi&s=articles John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Friday, November 16, 2007 2:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Off-Site Backup Hi William: Here is such an article which bears out your client's concerns: SECURITY? STICK IT! A recent survey by Tower Software has revealed that 49% of employees store work-related files in multiple locations - posing serious security threats and exposure as well as compliance and information management issues. To read the full story follow the link below... I have the FE secured with user logins, etc. The BE is password protected. Both ends (now) contained within encrypted files. Backups now contain encrypted files. Totally secure from "outsiders". BUT! - once you are in the system, a (valid) user can still "do things" unless he/she is totally restricted by the various methods outlined in postings to this site. Ie. Menu systems, exporting options, printing data options, etc. At some stage there has to be employee trust. Ie, unless I am trusted (being the developer) then nothing else works. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, November 16, 2007 6:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Off-Site Backup ...whoa! ...now there is something I'd never considered ...I have a client that is very concerned about employees stealing his data ...I'll have to take another look at this. William ----- Original Message ----- From: To: "'Access Developers discussion and problem solving'" Sent: Friday, November 16, 2007 9:26 AM Subject: Re: [AccessD] Off-Site Backup > John Colby: > > Many thanks for the pointer to TrueCrypt. This is fantastic! I now > have all my BE Data in an encrypted file on the Server and the FE's in > an encrypted file on user's PC's. Even if they steal all the > computers they will never get access to the data without my 40 char > key to mount the volumes. > > Brilliant tip, John. Many thanks > > Max -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Sat Nov 17 03:38:04 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Sat, 17 Nov 2007 09:38:04 -0000 Subject: [AccessD] Encrypting your stuff was offsite backup In-Reply-To: <000c01c828a4$098c5b00$ef706c4c@jisshowsbs.local> Message-ID: <003101c828fd$8dcf9e50$8119fea9@LTVM> Elvis? Crikey, I was coding before he was born! How about the Andrews Sisters (WW2 singers from Minnesota)- world famous though. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, November 16, 2007 10:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup I use a 4gig stick with a u3 encryption program, wear it on a chain around my neck. I seldom take a laptop to client offices anymore because most everything I need is on the stick ...just plug it in, log-on, sync, and go to work ...I use a similar password algorithm but based on an Elvis tune ...shows my age, it does :) William ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Friday, November 16, 2007 4:46 PM Subject: [AccessD] Encrypting your stuff was offsite backup >I use this for my own protection. My laptop contains an encrypted file >that > contains my Colby Consulting stuff (books, etc). I have another encrypted > drive that contains all client projects. Thus if the laptop ever does > take > a hike, all data is encrypted. the other nice thing about this is that > you > can backup all your work by copying a single encrypted file to a backup > location. If that backup location ever takes a hike no data is exposed. > > I have a usb memory stick (just 1 gb for now) where 3/4 is an encrypted > file. If I ever need to carry anything on my person, it is encrypted. > The > TrueCrypt program is stored on the unencrypted part and can be run from > there. Thus I can stick the memory stick into a machine, run TrueCrypt, > mount the drive and copy files to/from. Of course you do have to have > admin > rights in order to do this. > > I have been using this for about two years now and it just works. > > Just don't forget your password. > > I use the first character from a phrase or song, along with special > characters and numbers which make it dead simple to remember when you are > first learning your password. For example take two nursery rhymes: > > Mary Had A Little Lamb His Fleece Was White As Snow > MhAlLhFwWaS > (use alternating upper and lower case) > Throw two numbers in front of, behind or around it > 0MhAlLhFwWaS9 > Now throw two special characters in front of that > !0MhAlLhFwWaS9@ > > That all by itself is a pretty secure password. If you want more, do that > twice, perhaps > > Jack And Jill Went Up The Hill To Fetch A Pail Of Water > #8JaJwUtHtFaPoW7$ > > !0MhAlLhFwWaS9@#8JaJwUtHtFaPoW7$ > > You get the picture. Either one is a good password, the two together are > pretty industrial strength, and dead easy to remember until you have it > assigned to muscle memory. Pick a favorite saying, slogan, song, whatever > you already have remembered and just use the first character of each word, > plus numbers and special symbols. > > Someone (on this list IIRC) claimed they had a password cracker that would > crack any password in XX seconds. I think not. My password is 21 > characters long using a simple system like that and takes me about 10 > seconds to type in. 10 seconds is not too much to ask for an industrial > strength memorable password. > > http://www.lockdown.co.uk/?pg=combi&s=articles > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > max.wanadoo at gmail.com > Sent: Friday, November 16, 2007 2:11 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Off-Site Backup > > > Hi William: > > Here is such an article which bears out your client's concerns: > > SECURITY? STICK IT! > A recent survey by Tower Software has revealed that 49% of employees store > work-related files in multiple locations - posing serious security threats > and exposure as well as compliance and information management issues. > To read the full story follow the link below... > > > > I have the FE secured with user logins, etc. The BE is password > protected. > Both ends (now) contained within encrypted files. Backups now contain > encrypted files. Totally secure from "outsiders". > > BUT! - once you are in the system, a (valid) user can still "do things" > unless he/she is totally restricted by the various methods outlined in > postings to this site. Ie. Menu systems, exporting options, printing data > options, etc. > > At some stage there has to be employee trust. Ie, unless I am trusted > (being the developer) then nothing else works. > > Max > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Friday, November 16, 2007 6:22 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Off-Site Backup > > ...whoa! ...now there is something I'd never considered ...I have a client > that is very concerned about employees stealing his data ...I'll have to > take another look at this. > > William > > ----- Original Message ----- > From: > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, November 16, 2007 9:26 AM > Subject: Re: [AccessD] Off-Site Backup > > >> John Colby: >> >> Many thanks for the pointer to TrueCrypt. This is fantastic! I now >> have all my BE Data in an encrypted file on the Server and the FE's in >> an encrypted file on user's PC's. Even if they steal all the >> computers they will never get access to the data without my 40 char >> key to mount the volumes. >> >> Brilliant tip, John. Many thanks >> >> Max > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Sat Nov 17 04:21:51 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sat, 17 Nov 2007 10:21:51 -0000 Subject: [AccessD] Off-Site Backup In-Reply-To: Message-ID: <001201c82903$ab5e16d0$3183d355@minster33c3r25> Yea this would be my question too. I might download the trial and see but those of you who are already using Carbonite can probably answer the question for us. The website blurb says it "works quietly and continuously in the background". That worries me. I sometimes feel my PC has so much stuff working "quietly" in the background that I've got no foreground left (yes, just fitted more RAM before you ask). So can anyone give their experience on what the performance hit is of Carbonite? -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim > Sent: 16 November 2007 18:53 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Off-Site Backup > > > > How big a process does it leave in memory? I had to ditch one > service because they were a huge memory hog. Jim Hale > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Griffiths, Richard > Sent: Friday, November 16, 2007 3:24 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Off-Site Backup > > Hi > > I use Carbonite. (?25 per year). This service has to be seen > for what it is, simply off line backup. I have other local > backup options as well. I see Carbonite as the last layer of > support/backup. If my pc/hard disk and backup devices get > stolen, irreparable etc the I can log on to any pc/laptop and > get back the latest versions of my files. > > Richard > > ************************************************************** > ********* > The information transmitted is intended solely for the > individual or entity to which it is addressed and may contain > confidential and/or privileged material. Any review, > retransmission, dissemination or other use of or taking > action in reliance upon this information by persons or > entities other than the intended recipient is prohibited. If > you have received this email in error please contact the > sender and delete the material from any computer. As a > recipient of this email, you are responsible for screening > its contents and the contents of any attachments for the > presence of viruses. No liability is accepted for any damages > caused by any virus transmitted by this email. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From wdhindman at dejpolsystems.com Sat Nov 17 09:43:55 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sat, 17 Nov 2007 10:43:55 -0500 Subject: [AccessD] Encrypting your stuff was offsite backup References: <003101c828fd$8dcf9e50$8119fea9@LTVM> Message-ID: <001301c82930$a9e31620$ef706c4c@jisshowsbs.local> ...now, now Max ...we'd all like to accept your claim to the gerontological gold here ...but that would make you something like 80+ and writing code before the first computer was built ...besides which, only Charlotte is that old :) William ----- Original Message ----- From: To: "'Access Developers discussion and problem solving'" Sent: Saturday, November 17, 2007 4:38 AM Subject: Re: [AccessD] Encrypting your stuff was offsite backup > Elvis? Crikey, I was coding before he was born! > How about the Andrews Sisters (WW2 singers from Minnesota)- world famous > though. > > Max > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Friday, November 16, 2007 10:57 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > I use a 4gig stick with a u3 encryption program, wear it on a chain around > my neck. I seldom take a laptop to client offices anymore because most > everything I need is on the stick ...just plug it in, log-on, sync, and go > to work ...I use a similar password algorithm but based on an Elvis tune > ...shows my age, it does :) > > William > > ----- Original Message ----- > From: "jwcolby" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, November 16, 2007 4:46 PM > Subject: [AccessD] Encrypting your stuff was offsite backup > > >>I use this for my own protection. My laptop contains an encrypted file >>that >> contains my Colby Consulting stuff (books, etc). I have another >> encrypted >> drive that contains all client projects. Thus if the laptop ever does >> take >> a hike, all data is encrypted. the other nice thing about this is that >> you >> can backup all your work by copying a single encrypted file to a backup >> location. If that backup location ever takes a hike no data is exposed. >> >> I have a usb memory stick (just 1 gb for now) where 3/4 is an encrypted >> file. If I ever need to carry anything on my person, it is encrypted. >> The >> TrueCrypt program is stored on the unencrypted part and can be run from >> there. Thus I can stick the memory stick into a machine, run TrueCrypt, >> mount the drive and copy files to/from. Of course you do have to have >> admin >> rights in order to do this. >> >> I have been using this for about two years now and it just works. >> >> Just don't forget your password. >> >> I use the first character from a phrase or song, along with special >> characters and numbers which make it dead simple to remember when you are >> first learning your password. For example take two nursery rhymes: >> >> Mary Had A Little Lamb His Fleece Was White As Snow >> MhAlLhFwWaS >> (use alternating upper and lower case) >> Throw two numbers in front of, behind or around it >> 0MhAlLhFwWaS9 >> Now throw two special characters in front of that >> !0MhAlLhFwWaS9@ >> >> That all by itself is a pretty secure password. If you want more, do >> that >> twice, perhaps >> >> Jack And Jill Went Up The Hill To Fetch A Pail Of Water >> #8JaJwUtHtFaPoW7$ >> >> !0MhAlLhFwWaS9@#8JaJwUtHtFaPoW7$ >> >> You get the picture. Either one is a good password, the two together are >> pretty industrial strength, and dead easy to remember until you have it >> assigned to muscle memory. Pick a favorite saying, slogan, song, >> whatever >> you already have remembered and just use the first character of each >> word, >> plus numbers and special symbols. >> >> Someone (on this list IIRC) claimed they had a password cracker that >> would >> crack any password in XX seconds. I think not. My password is 21 >> characters long using a simple system like that and takes me about 10 >> seconds to type in. 10 seconds is not too much to ask for an industrial >> strength memorable password. >> >> http://www.lockdown.co.uk/?pg=combi&s=articles >> >> John W. Colby >> Colby Consulting >> www.ColbyConsulting.com >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> max.wanadoo at gmail.com >> Sent: Friday, November 16, 2007 2:11 PM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Off-Site Backup >> >> >> Hi William: >> >> Here is such an article which bears out your client's concerns: >> >> SECURITY? STICK IT! >> A recent survey by Tower Software has revealed that 49% of employees >> store >> work-related files in multiple locations - posing serious security >> threats >> and exposure as well as compliance and information management issues. >> To read the full story follow the link below... >> >> >> >> I have the FE secured with user logins, etc. The BE is password >> protected. >> Both ends (now) contained within encrypted files. Backups now contain >> encrypted files. Totally secure from "outsiders". >> >> BUT! - once you are in the system, a (valid) user can still "do things" >> unless he/she is totally restricted by the various methods outlined in >> postings to this site. Ie. Menu systems, exporting options, printing data >> options, etc. >> >> At some stage there has to be employee trust. Ie, unless I am trusted >> (being the developer) then nothing else works. >> >> Max >> >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >> Sent: Friday, November 16, 2007 6:22 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Off-Site Backup >> >> ...whoa! ...now there is something I'd never considered ...I have a >> client >> that is very concerned about employees stealing his data ...I'll have to >> take another look at this. >> >> William >> >> ----- Original Message ----- >> From: >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Friday, November 16, 2007 9:26 AM >> Subject: Re: [AccessD] Off-Site Backup >> >> >>> John Colby: >>> >>> Many thanks for the pointer to TrueCrypt. This is fantastic! I now >>> have all my BE Data in an encrypted file on the Server and the FE's in >>> an encrypted file on user's PC's. Even if they steal all the >>> computers they will never get access to the data without my 40 char >>> key to mount the volumes. >>> >>> Brilliant tip, John. Many thanks >>> >>> Max >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Sat Nov 17 10:27:46 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Sat, 17 Nov 2007 16:27:46 -0000 Subject: [AccessD] Encrypting your stuff was offsite backup In-Reply-To: <001301c82930$a9e31620$ef706c4c@jisshowsbs.local> Message-ID: <000301c82936$ca838990$8119fea9@LTVM> >besides which, only Charlotte is that old Oh dear, are you going to get your legs slapped or what? Max Ps, As long as I don't look in the mirror, I am only 30'ish. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Saturday, November 17, 2007 3:44 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup ...now, now Max ...we'd all like to accept your claim to the gerontological gold here ...but that would make you something like 80+ and writing code before the first computer was built ...besides which, only Charlotte is that old :) William ----- Original Message ----- From: To: "'Access Developers discussion and problem solving'" Sent: Saturday, November 17, 2007 4:38 AM Subject: Re: [AccessD] Encrypting your stuff was offsite backup > Elvis? Crikey, I was coding before he was born! > How about the Andrews Sisters (WW2 singers from Minnesota)- world famous > though. > > Max > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Friday, November 16, 2007 10:57 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > I use a 4gig stick with a u3 encryption program, wear it on a chain around > my neck. I seldom take a laptop to client offices anymore because most > everything I need is on the stick ...just plug it in, log-on, sync, and go > to work ...I use a similar password algorithm but based on an Elvis tune > ...shows my age, it does :) > > William > > ----- Original Message ----- > From: "jwcolby" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, November 16, 2007 4:46 PM > Subject: [AccessD] Encrypting your stuff was offsite backup > > >>I use this for my own protection. My laptop contains an encrypted file >>that >> contains my Colby Consulting stuff (books, etc). I have another >> encrypted >> drive that contains all client projects. Thus if the laptop ever does >> take >> a hike, all data is encrypted. the other nice thing about this is that >> you >> can backup all your work by copying a single encrypted file to a backup >> location. If that backup location ever takes a hike no data is exposed. >> >> I have a usb memory stick (just 1 gb for now) where 3/4 is an encrypted >> file. If I ever need to carry anything on my person, it is encrypted. >> The >> TrueCrypt program is stored on the unencrypted part and can be run from >> there. Thus I can stick the memory stick into a machine, run TrueCrypt, >> mount the drive and copy files to/from. Of course you do have to have >> admin >> rights in order to do this. >> >> I have been using this for about two years now and it just works. >> >> Just don't forget your password. >> >> I use the first character from a phrase or song, along with special >> characters and numbers which make it dead simple to remember when you are >> first learning your password. For example take two nursery rhymes: >> >> Mary Had A Little Lamb His Fleece Was White As Snow >> MhAlLhFwWaS >> (use alternating upper and lower case) >> Throw two numbers in front of, behind or around it >> 0MhAlLhFwWaS9 >> Now throw two special characters in front of that >> !0MhAlLhFwWaS9@ >> >> That all by itself is a pretty secure password. If you want more, do >> that >> twice, perhaps >> >> Jack And Jill Went Up The Hill To Fetch A Pail Of Water >> #8JaJwUtHtFaPoW7$ >> >> !0MhAlLhFwWaS9@#8JaJwUtHtFaPoW7$ >> >> You get the picture. Either one is a good password, the two together are >> pretty industrial strength, and dead easy to remember until you have it >> assigned to muscle memory. Pick a favorite saying, slogan, song, >> whatever >> you already have remembered and just use the first character of each >> word, >> plus numbers and special symbols. >> >> Someone (on this list IIRC) claimed they had a password cracker that >> would >> crack any password in XX seconds. I think not. My password is 21 >> characters long using a simple system like that and takes me about 10 >> seconds to type in. 10 seconds is not too much to ask for an industrial >> strength memorable password. >> >> http://www.lockdown.co.uk/?pg=combi&s=articles >> >> John W. Colby >> Colby Consulting >> www.ColbyConsulting.com >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> max.wanadoo at gmail.com >> Sent: Friday, November 16, 2007 2:11 PM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Off-Site Backup >> >> >> Hi William: >> >> Here is such an article which bears out your client's concerns: >> >> SECURITY? STICK IT! >> A recent survey by Tower Software has revealed that 49% of employees >> store >> work-related files in multiple locations - posing serious security >> threats >> and exposure as well as compliance and information management issues. >> To read the full story follow the link below... >> >> >> >> I have the FE secured with user logins, etc. The BE is password >> protected. >> Both ends (now) contained within encrypted files. Backups now contain >> encrypted files. Totally secure from "outsiders". >> >> BUT! - once you are in the system, a (valid) user can still "do things" >> unless he/she is totally restricted by the various methods outlined in >> postings to this site. Ie. Menu systems, exporting options, printing data >> options, etc. >> >> At some stage there has to be employee trust. Ie, unless I am trusted >> (being the developer) then nothing else works. >> >> Max >> >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >> Sent: Friday, November 16, 2007 6:22 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Off-Site Backup >> >> ...whoa! ...now there is something I'd never considered ...I have a >> client >> that is very concerned about employees stealing his data ...I'll have to >> take another look at this. >> >> William >> >> ----- Original Message ----- >> From: >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Friday, November 16, 2007 9:26 AM >> Subject: Re: [AccessD] Off-Site Backup >> >> >>> John Colby: >>> >>> Many thanks for the pointer to TrueCrypt. This is fantastic! I now >>> have all my BE Data in an encrypted file on the Server and the FE's in >>> an encrypted file on user's PC's. Even if they steal all the >>> computers they will never get access to the data without my 40 char >>> key to mount the volumes. >>> >>> Brilliant tip, John. Many thanks >>> >>> Max >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 17 12:15:37 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 17 Nov 2007 13:15:37 -0500 Subject: [AccessD] Encrypting your stuff was offsite backup In-Reply-To: <000301c82936$ca838990$8119fea9@LTVM> References: <001301c82930$a9e31620$ef706c4c@jisshowsbs.local> <000301c82936$ca838990$8119fea9@LTVM> Message-ID: <008301c82945$db6d1320$6c7aa8c0@M90> >Ps, As long as I don't look in the mirror, I am only 30'ish. ROTFL. ME TOO! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Saturday, November 17, 2007 11:28 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Encrypting your stuff was offsite backup >besides which, only Charlotte is that old Oh dear, are you going to get your legs slapped or what? Max Ps, As long as I don't look in the mirror, I am only 30'ish. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Saturday, November 17, 2007 3:44 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup ...now, now Max ...we'd all like to accept your claim to the gerontological gold here ...but that would make you something like 80+ and writing code before the first computer was built ...besides which, only Charlotte is that old :) William ----- Original Message ----- From: To: "'Access Developers discussion and problem solving'" Sent: Saturday, November 17, 2007 4:38 AM Subject: Re: [AccessD] Encrypting your stuff was offsite backup > Elvis? Crikey, I was coding before he was born! > How about the Andrews Sisters (WW2 singers from Minnesota)- world > famous though. > > Max > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Friday, November 16, 2007 10:57 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > I use a 4gig stick with a u3 encryption program, wear it on a chain > around my neck. I seldom take a laptop to client offices anymore > because most everything I need is on the stick ...just plug it in, > log-on, sync, and go to work ...I use a similar password algorithm but > based on an Elvis tune ...shows my age, it does :) > > William > > ----- Original Message ----- > From: "jwcolby" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, November 16, 2007 4:46 PM > Subject: [AccessD] Encrypting your stuff was offsite backup > > >>I use this for my own protection. My laptop contains an encrypted >>file that contains my Colby Consulting stuff (books, etc). I have >>another encrypted drive that contains all client projects. Thus if >>the laptop ever does take a hike, all data is encrypted. the other >>nice thing about this is that you can backup all your work by >>copying a single encrypted file to a backup location. If that backup >>location ever takes a hike no data is exposed. >> >> I have a usb memory stick (just 1 gb for now) where 3/4 is an >> encrypted file. If I ever need to carry anything on my person, it is encrypted. >> The >> TrueCrypt program is stored on the unencrypted part and can be run >> from there. Thus I can stick the memory stick into a machine, run >> TrueCrypt, mount the drive and copy files to/from. Of course you do >> have to have admin rights in order to do this. >> >> I have been using this for about two years now and it just works. >> >> Just don't forget your password. >> >> I use the first character from a phrase or song, along with special >> characters and numbers which make it dead simple to remember when you >> are first learning your password. For example take two nursery rhymes: >> >> Mary Had A Little Lamb His Fleece Was White As Snow MhAlLhFwWaS (use >> alternating upper and lower case) Throw two numbers in front of, >> behind or around it >> 0MhAlLhFwWaS9 >> Now throw two special characters in front of that !0MhAlLhFwWaS9@ >> >> That all by itself is a pretty secure password. If you want more, do >> that twice, perhaps >> >> Jack And Jill Went Up The Hill To Fetch A Pail Of Water >> #8JaJwUtHtFaPoW7$ >> >> !0MhAlLhFwWaS9@#8JaJwUtHtFaPoW7$ >> >> You get the picture. Either one is a good password, the two together >> are pretty industrial strength, and dead easy to remember until you >> have it assigned to muscle memory. Pick a favorite saying, slogan, >> song, whatever you already have remembered and just use the first >> character of each word, plus numbers and special symbols. >> >> Someone (on this list IIRC) claimed they had a password cracker that >> would crack any password in XX seconds. I think not. My password is >> 21 characters long using a simple system like that and takes me about >> 10 seconds to type in. 10 seconds is not too much to ask for an >> industrial strength memorable password. >> >> http://www.lockdown.co.uk/?pg=combi&s=articles >> >> John W. Colby >> Colby Consulting >> www.ColbyConsulting.com >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> max.wanadoo at gmail.com >> Sent: Friday, November 16, 2007 2:11 PM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Off-Site Backup >> >> >> Hi William: >> >> Here is such an article which bears out your client's concerns: >> >> SECURITY? STICK IT! >> A recent survey by Tower Software has revealed that 49% of employees >> store work-related files in multiple locations - posing serious >> security threats and exposure as well as compliance and information >> management issues. >> To read the full story follow the link below... >> >> >> >> I have the FE secured with user logins, etc. The BE is password >> protected. >> Both ends (now) contained within encrypted files. Backups now >> contain encrypted files. Totally secure from "outsiders". >> >> BUT! - once you are in the system, a (valid) user can still "do things" >> unless he/she is totally restricted by the various methods outlined >> in postings to this site. Ie. Menu systems, exporting options, >> printing data options, etc. >> >> At some stage there has to be employee trust. Ie, unless I am >> trusted (being the developer) then nothing else works. >> >> Max >> >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >> Sent: Friday, November 16, 2007 6:22 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Off-Site Backup >> >> ...whoa! ...now there is something I'd never considered ...I have a >> client that is very concerned about employees stealing his data >> ...I'll have to take another look at this. >> >> William >> >> ----- Original Message ----- >> From: >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Friday, November 16, 2007 9:26 AM >> Subject: Re: [AccessD] Off-Site Backup >> >> >>> John Colby: >>> >>> Many thanks for the pointer to TrueCrypt. This is fantastic! I now >>> have all my BE Data in an encrypted file on the Server and the FE's >>> in an encrypted file on user's PC's. Even if they steal all the >>> computers they will never get access to the data without my 40 char >>> key to mount the volumes. >>> >>> Brilliant tip, John. Many thanks >>> >>> Max >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From miscellany at mvps.org Sat Nov 17 13:55:41 2007 From: miscellany at mvps.org (Steve Schapel) Date: Sun, 18 Nov 2007 08:55:41 +1300 Subject: [AccessD] Access application to WEb Based In-Reply-To: <010a01c828a8$80a4cd40$33c2f63f@JELaptop> References: <004a01c8274a$4156f460$4cc2f63f@JELaptop> <001901c82798$4e771b40$75010a0a@lcmdv8000> <010a01c828a8$80a4cd40$33c2f63f@JELaptop> Message-ID: <473F473D.50403@mvps.org> John, Do you mean by the general public at large? Or restricted to a specific set of users? If the latter, how many? Your answer to Lawrence was not clear to me, as using an application via remote access / terminal server *is* "usable on the web". Regards Steve John Eget wrote: > usable on the web > From miscellany at mvps.org Sat Nov 17 13:57:55 2007 From: miscellany at mvps.org (Steve Schapel) Date: Sun, 18 Nov 2007 08:57:55 +1300 Subject: [AccessD] Hey, it's Friday In-Reply-To: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> References: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> Message-ID: <473F47C3.4000500@mvps.org> Thanks for sharing this great story, Arthur. And congratulations. Regards Steve Arthur Fuller wrote: > Last night was my 60th birthday, and about 25 of my friends had a surprise > party for me. I was completely clueless about its occurrence. I have a > favourite Indian restaurant in Toronto called Shalimar, owned and operated > by a good friend called Khalid, and ironically, I decided that that was > where I wanted to have dinner last night. So I booked a reservation, little > knowing that the entire restaurant had already been booked. Khalid managed > to keep a straight voice when I called. My friend Norma and my sister Clare > came with me, and there's a great bookstore/recordstore next door which I > insisted upon visiting, little knowing that there was a party awaiting me > next door. This is a small restaurant (always a good sign), and when I > walked in, I saw that the whole place had been re-arranged, a dozen tables > united into one enormous long table, and as I scanned the occupants I > realized bit by bit that I knew everyone at the table, and finally it dawned > on me. > > To break bread with good friends is a good thing. To find oneself as the > centre of attention, so to speak, surrounded by good friends, is truly > breathtaking -- and humbling. For some reason or other, I have a collection > of quality people to call my friends. We had fabulous food, wonderful > conversation and I even received some cool presents and cards. Forced at one > point to stand and make a speech, all I could manage was to thank my friends > for being my friends. I've known almost everyone in attendance for 30 or so > years, some more. There were even emails from persons who could not attend, > such as one of my oldest friends, Paul Grenkow, who teaches English in > Beijing, who could not attend only because his wife was expected to give > birth on the day. > > I'm a lucky man. I have wonderful friends. But I do caution you to think > carefully about holding a surprise party for 60yo people. The heart > palpitations are unbelievable. On the other hand, what better way to go. > > A. From miscellany at mvps.org Sat Nov 17 14:25:22 2007 From: miscellany at mvps.org (Steve Schapel) Date: Sun, 18 Nov 2007 09:25:22 +1300 Subject: [AccessD] Off-Site Backup In-Reply-To: <001201c82903$ab5e16d0$3183d355@minster33c3r25> References: <001201c82903$ab5e16d0$3183d355@minster33c3r25> Message-ID: <473F4E32.7060900@mvps.org> Andy, There is a setting in Carbonite for "low priority" on internet usage, so the backup upload only happens when there is no other internet traffic happening. I haven't measured it in any way, but the actual system resources used seems to be very low, and I noticed no performance hit at all from a "foreground" point of view. It is very easy to select within Windows Explorer which files and/or folders you want included in the backup. I found I had to remove my email folders from the regular backup, as these are large and changing frequently, which was increasing my internet usage hugely. Apart from that, I have found it great. Let me know if you would like me to send you an invitation... If you install via an invitation by an existing user, and if you eventually subscribe, you get 13 months for the price of 12 (and oh yes, the inviter also gets a bonus added to their account too ;-) ). Regards Steve Andy Lacey wrote: > Yea this would be my question too. I might download the trial and see but > those of you who are already using Carbonite can probably answer the > question for us. The website blurb says it "works quietly and continuously > in the background". That worries me. I sometimes feel my PC has so much > stuff working "quietly" in the background that I've got no foreground left > (yes, just fitted more RAM before you ask). So can anyone give their > experience on what the performance hit is of Carbonite? > From tinanfields at torchlake.com Sat Nov 17 14:35:51 2007 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 17 Nov 2007 15:35:51 -0500 Subject: [AccessD] Hey, it's Friday In-Reply-To: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> References: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> Message-ID: <473F50A7.6030602@torchlake.com> Happy birthday, Arthur. I hope you celebrate for several days or weeks! You are a lucky man to have such good friends - and they (and we) are truly fortunate to have you as a friend. Best regards, Tina Arthur Fuller wrote: > Last night was my 60th birthday, and about 25 of my friends had a surprise > party for me. I was completely clueless about its occurrence. I have a > favourite Indian restaurant in Toronto called Shalimar, owned and operated > by a good friend called Khalid, and ironically, I decided that that was > where I wanted to have dinner last night. So I booked a reservation, little > knowing that the entire restaurant had already been booked. Khalid managed > to keep a straight voice when I called. My friend Norma and my sister Clare > came with me, and there's a great bookstore/recordstore next door which I > insisted upon visiting, little knowing that there was a party awaiting me > next door. This is a small restaurant (always a good sign), and when I > walked in, I saw that the whole place had been re-arranged, a dozen tables > united into one enormous long table, and as I scanned the occupants I > realized bit by bit that I knew everyone at the table, and finally it dawned > on me. > > To break bread with good friends is a good thing. To find oneself as the > centre of attention, so to speak, surrounded by good friends, is truly > breathtaking -- and humbling. For some reason or other, I have a collection > of quality people to call my friends. We had fabulous food, wonderful > conversation and I even received some cool presents and cards. Forced at one > point to stand and make a speech, all I could manage was to thank my friends > for being my friends. I've known almost everyone in attendance for 30 or so > years, some more. There were even emails from persons who could not attend, > such as one of my oldest friends, Paul Grenkow, who teaches English in > Beijing, who could not attend only because his wife was expected to give > birth on the day. > > I'm a lucky man. I have wonderful friends. But I do caution you to think > carefully about holding a surprise party for 60yo people. The heart > palpitations are unbelievable. On the other hand, what better way to go. > > A. > From DWUTKA at Marlow.com Sat Nov 17 14:41:53 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Sat, 17 Nov 2007 14:41:53 -0600 Subject: [AccessD] Hey, it's Friday In-Reply-To: <001801c828a5$1436a6e0$ef706c4c@jisshowsbs.local> Message-ID: I've never owned a Playstation. Just Nintendos. ;) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, November 16, 2007 5:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Hey, it's Friday ...that's 60 years YOUNG, you pup! ...someday soon we'll talk about trading in your Playstation II for a real computer :) William ----- Original Message ----- From: "Drew Wutka" To: "Access Developers discussion and problem solving" Sent: Friday, November 16, 2007 4:44 PM Subject: Re: [AccessD] Hey, it's Friday > Happy birthday Arthur! Wow, 60 years old...is it about time to get a > Mac? > > Drew > 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 BusinessSensitve 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 Nov 17 14:45:48 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Sat, 17 Nov 2007 14:45:48 -0600 Subject: [AccessD] Encrypting your stuff was offsite backup In-Reply-To: <001301c82930$a9e31620$ef706c4c@jisshowsbs.local> Message-ID: I have never been more worried for you William, even cane after cane coming after ya, did you taunt them too? ;) Drew P.S.--You'll be missed. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Saturday, November 17, 2007 9:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup ...now, now Max ...we'd all like to accept your claim to the gerontological gold here ...but that would make you something like 80+ and writing code before the first computer was built ...besides which, only Charlotte is that old :) William ----- Original Message ----- From: To: "'Access Developers discussion and problem solving'" Sent: Saturday, November 17, 2007 4:38 AM Subject: Re: [AccessD] Encrypting your stuff was offsite backup > Elvis? Crikey, I was coding before he was born! > How about the Andrews Sisters (WW2 singers from Minnesota)- world famous > though. > > Max > > 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 BusinessSensitve 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 joeget at vgernet.net Sat Nov 17 18:09:20 2007 From: joeget at vgernet.net (John Eget) Date: Sat, 17 Nov 2007 19:09:20 -0500 Subject: [AccessD] Access application to WEb Based References: <004a01c8274a$4156f460$4cc2f63f@JELaptop><001901c82798$4e771b40$75010a0a@lcmdv8000><010a01c828a8$80a4cd40$33c2f63f@JELaptop> <473F473D.50403@mvps.org> Message-ID: <001c01c82977$4811c3f0$5ec2f63f@JELaptop> Steve The application would be restricted to a specific set of users thru a security login. The most users at anyone time would be around 20 or so. We are using a split database (backend on server and front end on individual PCs) and my management would like users that are teleworking to login and add/edit records of their activities Thanks for the reply John ----- Original Message ----- From: "Steve Schapel" To: "Access Developers discussion and problem solving" Sent: Saturday, November 17, 2007 2:55 PM Subject: Re: [AccessD] Access application to WEb Based > John, > > Do you mean by the general public at large? Or restricted to a specific > set of users? If the latter, how many? > > Your answer to Lawrence was not clear to me, as using an application via > remote access / terminal server *is* "usable on the web". > > Regards > Steve > > > John Eget wrote: >> usable on the web >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Sat Nov 17 20:15:30 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 17 Nov 2007 21:15:30 -0500 Subject: [AccessD] (no subject) Message-ID: <008501c82988$e50ee9b0$6c7aa8c0@M90> Folks (the Americans out there anyway), I don't normally do this but I think this is a huge opportunity to help the world, and time is running out for one particular aspect of this program. What I am talking about is the One Laptop Per Child program which is just getting off the ground. The link below is to the web page for the organization that is running this program. I have been there, it is legit and will not load any nasties on your system. You can see reviews here: http://www.nytimes.com/2007/10/04/technology/circuits/04pogue.html?_r=1&oref =slogin With links to this same website where you can participate: http://www.laptopgiving.org/en/index.php We can make a difference by simply donating (tax deductible) a laptop, or you can do a "give one get one" where you essentially pay for two and one is sent to you, and another is sent to a child in a developing nation. THAT offer expires on November 26th so if you want to participate in that, do it now. This thing is very real, not a scam, and I have been watching it develop for several years. The "Give one get one" program is a limited time deal and only lasts for another 10 days which is why I think now is the time to think about this if you have a youngster that could use such a system (and who doesn't)? I also don't EVER do this but I am making an exception now; I would ask you to send this email on to other acquaintances who might be interested. John W. Colby Colby Consulting www.ColbyConsulting.com From miscellany at mvps.org Sat Nov 17 20:30:16 2007 From: miscellany at mvps.org (Steve Schapel) Date: Sun, 18 Nov 2007 15:30:16 +1300 Subject: [AccessD] Access application to WEb Based In-Reply-To: <001c01c82977$4811c3f0$5ec2f63f@JELaptop> References: <004a01c8274a$4156f460$4cc2f63f@JELaptop> <001901c82798$4e771b40$75010a0a@lcmdv8000> <010a01c828a8$80a4cd40$33c2f63f@JELaptop> <473F473D.50403@mvps.org> <001c01c82977$4811c3f0$5ec2f63f@JELaptop> Message-ID: <473FA3B8.4000405@mvps.org> John, If you want your users to be able to use the database via a browser, then you would need to move away from the Access application for this purpose. The Access application could still be deployed on the local network, but for the web functionality you would need to have the server set up as a web server, and write a separate front-end application using a web technology such as ASP.Net or SharePoint (being the two most likely candidates). However, in the scenario you have described, it would be a lot cheaper and easier to have your teleworking users to use their existing Access frontend remotely. It may be possible, depending on your local network setup, to simply enable an RDP connection to their PCs. Otherwise, an option would be to dedicate a machine for the purpose, and install WinConnect Server, which allows up to 21 remote connections to a Windows XP or Small Business Server machine. I use this myself, to good effect. Regards Steve -- Steve Schapel, Microsoft Access MVP John Eget wrote: > Steve > > The application would be restricted to a specific set of users thru a > security login. The most users at anyone time would be around 20 or so. We > are using a split database (backend on server and front end on individual > PCs) and my management would like users that are teleworking to login and > add/edit records of their activities > From rockysmolin at bchacc.com Sun Nov 18 00:53:58 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 17 Nov 2007 22:53:58 -0800 Subject: [AccessD] (no subject) In-Reply-To: <008501c82988$e50ee9b0$6c7aa8c0@M90> References: <008501c82988$e50ee9b0$6c7aa8c0@M90> Message-ID: <005101c829af$cb777b80$0301a8c0@HAL9005> I saw this on the news. Promoting this is a good use of the Databaseadvisors resources. Do you know what the tech specs are on the machine? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, November 17, 2007 6:16 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] (no subject) Folks (the Americans out there anyway), I don't normally do this but I think this is a huge opportunity to help the world, and time is running out for one particular aspect of this program. What I am talking about is the One Laptop Per Child program which is just getting off the ground. The link below is to the web page for the organization that is running this program. I have been there, it is legit and will not load any nasties on your system. You can see reviews here: http://www.nytimes.com/2007/10/04/technology/circuits/04pogue.html?_r=1&oref =slogin With links to this same website where you can participate: http://www.laptopgiving.org/en/index.php We can make a difference by simply donating (tax deductible) a laptop, or you can do a "give one get one" where you essentially pay for two and one is sent to you, and another is sent to a child in a developing nation. THAT offer expires on November 26th so if you want to participate in that, do it now. This thing is very real, not a scam, and I have been watching it develop for several years. The "Give one get one" program is a limited time deal and only lasts for another 10 days which is why I think now is the time to think about this if you have a youngster that could use such a system (and who doesn't)? I also don't EVER do this but I am making an exception now; I would ask you to send this email on to other acquaintances who might be interested. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.0/1135 - Release Date: 11/16/2007 10:58 PM From stephen at bondsoftware.co.nz Sun Nov 18 01:04:16 2007 From: stephen at bondsoftware.co.nz (Stephen) Date: Sun, 18 Nov 2007 20:04:16 +1300 Subject: [AccessD] Old problem - forgotten the answer Message-ID: <569E08FC48047F4F848850B118195FBE019EB8@server.BondSoftware.local> On a continuous form containing record vestiges I click a button to bring up a dialog box to edit the full record. When that's finished, I re-query the invoking continuous form to update the details. This of course takes me back to the beginning of the continuous form. I want it to stay where it is. I thought I had the solution once but can't find it. Any ideas ..... Stephen Bond From miscellany at mvps.org Sun Nov 18 01:19:06 2007 From: miscellany at mvps.org (Steve Schapel) Date: Sun, 18 Nov 2007 20:19:06 +1300 Subject: [AccessD] Old problem - forgotten the answer In-Reply-To: <569E08FC48047F4F848850B118195FBE019EB8@server.BondSoftware.local> References: <569E08FC48047F4F848850B118195FBE019EB8@server.BondSoftware.local> Message-ID: <473FE76A.1040405@mvps.org> Stephen, In a nutshell... You need to assign the primary key value of the current record to a variable, prior to the requery, and then after the requery, you can use code to find that record again. Regards Steve Stephen wrote: > On a continuous form containing record vestiges I click a button to > bring up a dialog box to edit the full record. When that's finished, I > re-query the invoking continuous form to update the details. This of > course takes me back to the beginning of the continuous form. I want it > to stay where it is. > > I thought I had the solution once but can't find it. Any ideas ..... > > Stephen Bond > From rockysmolin at bchacc.com Sun Nov 18 01:35:24 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 17 Nov 2007 23:35:24 -0800 Subject: [AccessD] Old problem - forgotten the answer In-Reply-To: <569E08FC48047F4F848850B118195FBE019EB8@server.BondSoftware.local> References: <569E08FC48047F4F848850B118195FBE019EB8@server.BondSoftware.local> Message-ID: <005901c829b5$953f6b80$0301a8c0@HAL9005> Stephen: Save the primary key in a long variable. Do the requery. Then use FindFirst and bookmark to set the recordset pointer back to the original record: Me.RecordsetClone.FindFirst "ClientGroupID=" & lngClientGroupID If Me.RecordsetClone.NoMatch = False Then Me.Bookmark = Me.RecordsetClone.Bookmark Else MsgBox "Could not return to selected record", vbExclamation End If HTH Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stephen Sent: Saturday, November 17, 2007 11:04 PM To: accessd at databaseadvisors.com Subject: [AccessD] Old problem - forgotten the answer On a continuous form containing record vestiges I click a button to bring up a dialog box to edit the full record. When that's finished, I re-query the invoking continuous form to update the details. This of course takes me back to the beginning of the continuous form. I want it to stay where it is. I thought I had the solution once but can't find it. Any ideas ..... Stephen Bond -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.0/1136 - Release Date: 11/17/2007 2:55 PM From stephen at bondsoftware.co.nz Sun Nov 18 01:41:42 2007 From: stephen at bondsoftware.co.nz (Stephen) Date: Sun, 18 Nov 2007 20:41:42 +1300 Subject: [AccessD] Old problem - forgotten the answer Message-ID: <569E08FC48047F4F848850B118195FBE019EB9@server.BondSoftware.local> But how can I know when the invoking form gets the focus back from the now closed dialog box. I tested some (not all) events in the invoking form (GotFocus etc), and none seemed to fire. There is something I'm missing here ... BTW the invoking form is a subform of a tab in a tab control, but that shouldn't matter should it? Stephen -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Sunday, 18 November 2007 8:30 p.m. To: Stephen Subject: Re: [AccessD] Old problem - forgotten the answer Stephen, In a nutshell... You need to assign the primary key value of the current record to a variable, prior to the requery, and then after the requery, you can use code to find that record again. Regards Steve Stephen wrote: > On a continuous form containing record vestiges I click a button to > bring up a dialog box to edit the full record. When that's finished, > I re-query the invoking continuous form to update the details. This > of course takes me back to the beginning of the continuous form. I > want it to stay where it is. > > I thought I had the solution once but can't find it. Any ideas ..... > > Stephen Bond > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stephen at bondsoftware.co.nz Sun Nov 18 01:47:00 2007 From: stephen at bondsoftware.co.nz (Stephen) Date: Sun, 18 Nov 2007 20:47:00 +1300 Subject: [AccessD] Old problem - forgotten the answer Message-ID: <569E08FC48047F4F848850B118195FBE019EBA@server.BondSoftware.local> More info. The Requery is done from the dialog box form. It requeries the invoking form. S -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Sunday, 18 November 2007 8:30 p.m. To: Stephen Subject: Re: [AccessD] Old problem - forgotten the answer Stephen, In a nutshell... You need to assign the primary key value of the current record to a variable, prior to the requery, and then after the requery, you can use code to find that record again. Regards Steve Stephen wrote: > On a continuous form containing record vestiges I click a button to > bring up a dialog box to edit the full record. When that's finished, > I re-query the invoking continuous form to update the details. This > of course takes me back to the beginning of the continuous form. I > want it to stay where it is. > > I thought I had the solution once but can't find it. Any ideas ..... > > Stephen Bond > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Sun Nov 18 03:18:25 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sun, 18 Nov 2007 09:18:25 -0000 Subject: [AccessD] Off-Site Backup In-Reply-To: <473F4E32.7060900@mvps.org> Message-ID: <002f01c829c3$f95afb30$3183d355@minster33c3r25> Thanks Steve. I'll get back to you for an invite if I go ahead. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Steve Schapel > Sent: 17 November 2007 20:25 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Off-Site Backup > > > Andy, > > There is a setting in Carbonite for "low priority" on > internet usage, so > the backup upload only happens when there is no other > internet traffic > happening. I haven't measured it in any way, but the actual system > resources used seems to be very low, and I noticed no > performance hit at > all from a "foreground" point of view. > > It is very easy to select within Windows Explorer which files and/or > folders you want included in the backup. I found I had to remove my > email folders from the regular backup, as these are large and > changing > frequently, which was increasing my internet usage hugely. > Apart from > that, I have found it great. > > Let me know if you would like me to send you an invitation... If you > install via an invitation by an existing user, and if you eventually > subscribe, you get 13 months for the price of 12 (and oh yes, the > inviter also gets a bonus added to their account too ;-) ). > > Regards > Steve > > > Andy Lacey wrote: > > Yea this would be my question too. I might download the > trial and see > > but those of you who are already using Carbonite can > probably answer > > the question for us. The website blurb says it "works quietly and > > continuously in the background". That worries me. I > sometimes feel my > > PC has so much stuff working "quietly" in the background > that I've got > > no foreground left (yes, just fitted more RAM before you > ask). So can > > anyone give their experience on what the performance hit is of > > Carbonite? > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From bheygood at abestsystems.com Sun Nov 18 10:27:14 2007 From: bheygood at abestsystems.com (Bob Heygood) Date: Sun, 18 Nov 2007 08:27:14 -0800 Subject: [AccessD] Outputing nulls in query with function In-Reply-To: <005101c829af$cb777b80$0301a8c0@HAL9005> References: <008501c82988$e50ee9b0$6c7aa8c0@M90> <005101c829af$cb777b80$0301a8c0@HAL9005> Message-ID: <000601c829ff$e0f808d0$800101df@speedy> Good Morning to the list, I have a query that outputs a column that uses a user function to create it. Works great. The client wants the results in that column to either be a value or null, not an empty string or zero. We are going to do some statistical jive later down the road. So, how can I output a null? TIA Bob Heygood -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, November 17, 2007 6:16 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] (no subject) Folks (the Americans out there anyway), I don't normally do this but I think this is a huge opportunity to help the world, and time is running out for one particular aspect of this program. What I am talking about is the One Laptop Per Child program which is just getting off the ground. The link below is to the web page for the organization that is running this program. I have been there, it is legit and will not load any nasties on your system. You can see reviews here: http://www.nytimes.com/2007/10/04/technology/circuits/04pogue.html?_r=1&oref =slogin With links to this same website where you can participate: http://www.laptopgiving.org/en/index.php We can make a difference by simply donating (tax deductible) a laptop, or you can do a "give one get one" where you essentially pay for two and one is sent to you, and another is sent to a child in a developing nation. THAT offer expires on November 26th so if you want to participate in that, do it now. This thing is very real, not a scam, and I have been watching it develop for several years. The "Give one get one" program is a limited time deal and only lasts for another 10 days which is why I think now is the time to think about this if you have a youngster that could use such a system (and who doesn't)? I also don't EVER do this but I am making an exception now; I would ask you to send this email on to other acquaintances who might be interested. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.0/1135 - Release Date: 11/16/2007 10:58 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Sun Nov 18 10:33:49 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 18 Nov 2007 11:33:49 -0500 Subject: [AccessD] Outputing nulls in query with function References: <008501c82988$e50ee9b0$6c7aa8c0@M90><005101c829af$cb777b80$0301a8c0@HAL9005> <000601c829ff$e0f808d0$800101df@speedy> Message-ID: <00f001c82a00$ce7e4f10$4b3a8343@SusanOne> > I have a query that outputs a column that uses a user function to create > it. > Works great. > The client wants the results in that column to either be a value or null, > not an empty string or zero. We are going to do some statistical jive > later > down the road. > So, how can I output a null? =======Null has a specific meaning -- forcing it might usurp that, are you sure you really want to do that? Susan H. From bheygood at abestsystems.com Sun Nov 18 10:47:22 2007 From: bheygood at abestsystems.com (Bob Heygood) Date: Sun, 18 Nov 2007 08:47:22 -0800 Subject: [AccessD] Outputing nulls in query with function In-Reply-To: <00f001c82a00$ce7e4f10$4b3a8343@SusanOne> References: <008501c82988$e50ee9b0$6c7aa8c0@M90><005101c829af$cb777b80$0301a8c0@HAL9005><000601c829ff$e0f808d0$800101df@speedy> <00f001c82a00$ce7e4f10$4b3a8343@SusanOne> Message-ID: <000d01c82a02$b0c04170$800101df@speedy> Yes, we need to do things like count and such and use TAStats. Thanks for replying. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, November 18, 2007 8:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Outputing nulls in query with function > I have a query that outputs a column that uses a user function to > create it. > Works great. > The client wants the results in that column to either be a value or > null, not an empty string or zero. We are going to do some statistical > jive later down the road. > So, how can I output a null? =======Null has a specific meaning -- forcing it might usurp that, are you sure you really want to do that? Susan H. -- 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 Nov 18 11:04:06 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 18 Nov 2007 12:04:06 -0500 Subject: [AccessD] Outputing nulls in query with function In-Reply-To: <000d01c82a02$b0c04170$800101df@speedy> References: <008501c82988$e50ee9b0$6c7aa8c0@M90> <005101c829af$cb777b80$0301a8c0@HAL9005> <000601c829ff$e0f808d0$800101df@speedy> <00f001c82a00$ce7e4f10$4b3a8343@SusanOne> <000d01c82a02$b0c04170$800101df@speedy> Message-ID: <29f585dd0711180904r418044fbgac369e1172bbd159@mail.gmail.com> First step would be to ensure that all values in the column are nulls when they are not meaningful (although as Susan pointed out, null is meaningful). What I mean is that zero is not equivalent to null. You can do this at the table-design level by changing the properties to "allow null = yes" and then erase the default value property, which tends to go to zero, and that's not what you want. So once you have eliminated the zeroes and replaced them will nulls, then you're in business, and the front end won't let you deposit zeroes. Even that oversimplifies, and sorry about that. Suppose, for example, the column was called NumberOfChildren. The answer, as in my case, is zero. That is a valid answer, and different from null, which indicates the absence of information, not its presence. Retrofitting this analysis to existing data may be non-trivial. If you don't know how many kids I have, then the appropriate value is Null. If you do know that I have no kids, then the appropriate value is zero. Either way, you have to resolve the existing data before you can enforce it at the table-level. I hope that you don't have a lot of data already recorded with this ambiguity. If you do, then you don't have much choice but to check all the questionable values (does zero mean no kids or we don't know?). That's not going to be easy, but sometimes accuracy outweighs easiness. hth, Arthur On 11/18/07, Bob Heygood wrote: > > Yes, we need to do things like count and such and use TAStats. > > Thanks for replying. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: Sunday, November 18, 2007 8:34 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Outputing nulls in query with function > > > I have a query that outputs a column that uses a user function to > > create it. > > Works great. > > The client wants the results in that column to either be a value or > > null, not an empty string or zero. We are going to do some statistical > > jive later down the road. > > So, how can I output a null? > > =======Null has a specific meaning -- forcing it might usurp that, are you > sure you really want to do that? > > Susan H. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bheygood at abestsystems.com Sun Nov 18 11:18:28 2007 From: bheygood at abestsystems.com (Bob Heygood) Date: Sun, 18 Nov 2007 09:18:28 -0800 Subject: [AccessD] Outputing nulls in query with function In-Reply-To: <29f585dd0711180904r418044fbgac369e1172bbd159@mail.gmail.com> References: <008501c82988$e50ee9b0$6c7aa8c0@M90><005101c829af$cb777b80$0301a8c0@HAL9005><000601c829ff$e0f808d0$800101df@speedy><00f001c82a00$ce7e4f10$4b3a8343@SusanOne><000d01c82a02$b0c04170$800101df@speedy> <29f585dd0711180904r418044fbgac369e1172bbd159@mail.gmail.com> Message-ID: <001201c82a07$0915cb20$800101df@speedy> Hello Arthur As I said in my first message and in the title this is all happening in a Query, not a table. Sorry if that was not clear. This column does not appear in the underlying table. It is output by my function. Per your example: my function would compute the number of children. If it could not do so, I want a null returned. I want the query to output a value computed by my function or contain a null. Maybe this is not possible?? TIA Bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Sunday, November 18, 2007 9:04 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Outputing nulls in query with function First step would be to ensure that all values in the column are nulls when they are not meaningful (although as Susan pointed out, null is meaningful). What I mean is that zero is not equivalent to null. You can do this at the table-design level by changing the properties to "allow null = yes" and then erase the default value property, which tends to go to zero, and that's not what you want. So once you have eliminated the zeroes and replaced them will nulls, then you're in business, and the front end won't let you deposit zeroes. Even that oversimplifies, and sorry about that. Suppose, for example, the column was called NumberOfChildren. The answer, as in my case, is zero. That is a valid answer, and different from null, which indicates the absence of information, not its presence. Retrofitting this analysis to existing data may be non-trivial. If you don't know how many kids I have, then the appropriate value is Null. If you do know that I have no kids, then the appropriate value is zero. Either way, you have to resolve the existing data before you can enforce it at the table-level. I hope that you don't have a lot of data already recorded with this ambiguity. If you do, then you don't have much choice but to check all the questionable values (does zero mean no kids or we don't know?). That's not going to be easy, but sometimes accuracy outweighs easiness. hth, Arthur On 11/18/07, Bob Heygood wrote: > > Yes, we need to do things like count and such and use TAStats. > > Thanks for replying. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan > Harkins > Sent: Sunday, November 18, 2007 8:34 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Outputing nulls in query with function > > > I have a query that outputs a column that uses a user function to > > create it. > > Works great. > > The client wants the results in that column to either be a value or > > null, not an empty string or zero. We are going to do some > > statistical jive later down the road. > > So, how can I output a null? > > =======Null has a specific meaning -- forcing it might usurp that, are > you sure you really want to do that? > > Susan H. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Sun Nov 18 11:22:52 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 18 Nov 2007 12:22:52 -0500 Subject: [AccessD] Outputing nulls in query with function References: <008501c82988$e50ee9b0$6c7aa8c0@M90><005101c829af$cb777b80$0301a8c0@HAL9005><000601c829ff$e0f808d0$800101df@speedy><00f001c82a00$ce7e4f10$4b3a8343@SusanOne><000d01c82a02$b0c04170$800101df@speedy><29f585dd0711180904r418044fbgac369e1172bbd159@mail.gmail.com> <001201c82a07$0915cb20$800101df@speedy> Message-ID: <012501c82a07$a97a4780$4b3a8343@SusanOne> > > I want the query to output a value computed by my function or contain a > null. Maybe this is not possible?? ========JC recommended making VBA's vbNull constant global in a module. That way you can use it in a query expression. It's a terrific idea, wish I'd thought of it. You might try that. Susan H. From miscellany at mvps.org Sun Nov 18 11:43:39 2007 From: miscellany at mvps.org (Steve Schapel) Date: Mon, 19 Nov 2007 06:43:39 +1300 Subject: [AccessD] Old problem - forgotten the answer In-Reply-To: <569E08FC48047F4F848850B118195FBE019EBA@server.BondSoftware.local> References: <569E08FC48047F4F848850B118195FBE019EBA@server.BondSoftware.local> Message-ID: <474079CB.7050206@mvps.org> Stephen, Therefore, you could do it within the same code that does the Requery. It would make it a lot easier to provide help if you could reveal the names of the forms, and info about the subform's primary key, and the code you have so far. But possibly an adaptation of the code Rocky suggested would do it, e.g.... DoCmd.RunCommand acCmdSaveRecord lngClientGroupID = Me.TheSubformsPrimaryKey ' assumes number data type With Forms!YourForm!YourSubform.Form .Requery .RecordsetClone.FindFirst "TheSubformsPrimaryKey = " & lngClientGroupID If .RecordsetClone.NoMatch Then MsgBox "Could not return to selected record", vbExclamation Else .Bookmark = .RecordsetClone.Bookmark End If End With Another option woulkd be to use the main form's Activate event. You described the editing form as a dialog box form. If it is truly a dialog form (i.e. it is opened from the main form in acDialog mode), then possibly the main form's Activate event would be more applicable. Regards Steve Stephen wrote: > More info. The Requery is done from the dialog box form. It requeries > the invoking form. > From jwcolby at colbyconsulting.com Sun Nov 18 13:29:08 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 18 Nov 2007 14:29:08 -0500 Subject: [AccessD] Outputing nulls in query with function In-Reply-To: <29f585dd0711180904r418044fbgac369e1172bbd159@mail.gmail.com> References: <008501c82988$e50ee9b0$6c7aa8c0@M90><005101c829af$cb777b80$0301a8c0@HAL9005><000601c829ff$e0f808d0$800101df@speedy><00f001c82a00$ce7e4f10$4b3a8343@SusanOne><000d01c82a02$b0c04170$800101df@speedy> <29f585dd0711180904r418044fbgac369e1172bbd159@mail.gmail.com> Message-ID: <009001c82a19$4ad59740$6c7aa8c0@M90> And to which I reply ... hooey. The absence of a value doesn't in fact mean anything. It certainly does not mean you don't know the answer. It doesn't even mean the answer was never entered. It MIGHT mean that, with the enforcement of a bunch of rules but it certainly doesn't inherently mean that. And even if it does mean that, it may or may not be any more valuable than a default value. Furthermore a default value can explicitly mean that (unknown). I can have a table of colors (for example) where the value zero is called "unknown", the value 1 is called black, 2 is brown etc. So IMNSHO, the value of NULL is way over simplified in such discussions. Let's take Arthur's example since he brought it up. A null does NOT mean you don't know the number of children. What is he advising you to do? Insert nulls with a query to replace the zeros already in place (with a perfectly proper caution). So what do those nulls now mean? They mean you ran a query and inserted nulls in the field. Do you in fact know that a zero means "unknown"? Obviously not since the zero could (at this point in time) mean unknown or in fact it could mean zero. You MAY HAVE overwritten valid zeros (they have no children) with a null and so now you are saying you don't know how many children when in fact you did (in some cases). Why not make -1 the default value and specifically have -1 mean "unknown"? Why would I do that? We will get to that in a minute. So it becomes quite obvious to the most casual observer that, if any old hooligan can insert a NULL in a field with a valid value (a zero in this case) then the null means nothing more than some hooligan put a null in there. Except... oops, it doesn't even mean that since NOW you are going to have "hooligan nulls" intermixed with real "never entered" nulls. >From THIS discussion it becomes obvious that IF you start from the VERY BEGINNING with a table with a default value of null, and IF you prevent hooligans from erasing valid values and placing nulls in there, THEN the null might mean unknown. It also might mean that the (valid known) answer wasn't entered of course. So now you have the null meaning "never entered" and that (in the end) does NOT equate to "unknown", it really just means "never entered". NOW for the down side... NULLS wreak havoc with all kinds of operations. Inner joins for example. Math operations for another example. Some types of string operations for another example. So... for all of your efforts to get back to using nulls, you can (and probably will) BREAK THINGS in your application. Let me tell you a real life story. I was brought in to maintain a database where the original data was so poorly entered (and in fact designed) that they could not get accurate results. However because they did in fact use nulls, EVERY SINGLE FIELD in the database had nulls in it, including all of the foreign key fields. Which meant EVERY SINGLE query in the database, and EVERY SINGLE JOIN in the database had to use outer joins. Inner joins simply did not work. Furthermore, because of the way access treats outer joins, there was no way I could begin to use inner joins since I would get the old "ambiguous join" message as soon as I tried to use an inner join in amongst all the existing outer joins. Have you ever worked in a database where you open a query and every join is an outer join? Now you know why. Inner joins serve a very useful purpose but they were virtually unusable in any complex query because of the requirement to pull in nulls (outer join) if there was not a "valid" value. It is of course perfectly possible to have a record in the table which SPECIFICALLY MEANS "unknown", in which case you suddenly have a "valid value" for the "unknown" and you can use inner joins wherever they are appropriate. I just thought I should pour a little cold water of reality on the purist hooey. So use Nulls if you must, but beware the pitfalls, and be aware of the alternatives. And of course we have been over all of this before and so now the flames begin. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Sunday, November 18, 2007 12:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Outputing nulls in query with function First step would be to ensure that all values in the column are nulls when they are not meaningful (although as Susan pointed out, null is meaningful). What I mean is that zero is not equivalent to null. You can do this at the table-design level by changing the properties to "allow null = yes" and then erase the default value property, which tends to go to zero, and that's not what you want. So once you have eliminated the zeroes and replaced them will nulls, then you're in business, and the front end won't let you deposit zeroes. Even that oversimplifies, and sorry about that. Suppose, for example, the column was called NumberOfChildren. The answer, as in my case, is zero. That is a valid answer, and different from null, which indicates the absence of information, not its presence. Retrofitting this analysis to existing data may be non-trivial. If you don't know how many kids I have, then the appropriate value is Null. If you do know that I have no kids, then the appropriate value is zero. Either way, you have to resolve the existing data before you can enforce it at the table-level. I hope that you don't have a lot of data already recorded with this ambiguity. If you do, then you don't have much choice but to check all the questionable values (does zero mean no kids or we don't know?). That's not going to be easy, but sometimes accuracy outweighs easiness. hth, Arthur On 11/18/07, Bob Heygood wrote: > > Yes, we need to do things like count and such and use TAStats. > > Thanks for replying. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan > Harkins > Sent: Sunday, November 18, 2007 8:34 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Outputing nulls in query with function > > > I have a query that outputs a column that uses a user function to > > create it. > > Works great. > > The client wants the results in that column to either be a value or > > null, not an empty string or zero. We are going to do some > > statistical jive later down the road. > > So, how can I output a null? > > =======Null has a specific meaning -- forcing it might usurp that, are > you sure you really want to do that? > > Susan H. From jwcolby at colbyconsulting.com Sun Nov 18 13:30:42 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 18 Nov 2007 14:30:42 -0500 Subject: [AccessD] Outputing nulls in query with function In-Reply-To: <001201c82a07$0915cb20$800101df@speedy> References: <008501c82988$e50ee9b0$6c7aa8c0@M90><005101c829af$cb777b80$0301a8c0@HAL9005><000601c829ff$e0f808d0$800101df@speedy><00f001c82a00$ce7e4f10$4b3a8343@SusanOne><000d01c82a02$b0c04170$800101df@speedy><29f585dd0711180904r418044fbgac369e1172bbd159@mail.gmail.com> <001201c82a07$0915cb20$800101df@speedy> Message-ID: <009101c82a19$8297baf0$6c7aa8c0@M90> You use a function to perform the calculation and return a NULL where you want to. All you have to do is either not declare the return type or specifically declare it a variant. If you don't declare the return type it is automatically a variant. A variant can be set to NULL. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Sunday, November 18, 2007 12:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Outputing nulls in query with function Hello Arthur As I said in my first message and in the title this is all happening in a Query, not a table. Sorry if that was not clear. This column does not appear in the underlying table. It is output by my function. Per your example: my function would compute the number of children. If it could not do so, I want a null returned. I want the query to output a value computed by my function or contain a null. Maybe this is not possible?? TIA Bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Sunday, November 18, 2007 9:04 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Outputing nulls in query with function First step would be to ensure that all values in the column are nulls when they are not meaningful (although as Susan pointed out, null is meaningful). What I mean is that zero is not equivalent to null. You can do this at the table-design level by changing the properties to "allow null = yes" and then erase the default value property, which tends to go to zero, and that's not what you want. So once you have eliminated the zeroes and replaced them will nulls, then you're in business, and the front end won't let you deposit zeroes. Even that oversimplifies, and sorry about that. Suppose, for example, the column was called NumberOfChildren. The answer, as in my case, is zero. That is a valid answer, and different from null, which indicates the absence of information, not its presence. Retrofitting this analysis to existing data may be non-trivial. If you don't know how many kids I have, then the appropriate value is Null. If you do know that I have no kids, then the appropriate value is zero. Either way, you have to resolve the existing data before you can enforce it at the table-level. I hope that you don't have a lot of data already recorded with this ambiguity. If you do, then you don't have much choice but to check all the questionable values (does zero mean no kids or we don't know?). That's not going to be easy, but sometimes accuracy outweighs easiness. hth, Arthur On 11/18/07, Bob Heygood wrote: > > Yes, we need to do things like count and such and use TAStats. > > Thanks for replying. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan > Harkins > Sent: Sunday, November 18, 2007 8:34 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Outputing nulls in query with function > > > I have a query that outputs a column that uses a user function to > > create it. > > Works great. > > The client wants the results in that column to either be a value or > > null, not an empty string or zero. We are going to do some > > statistical jive later down the road. > > So, how can I output a null? > > =======Null has a specific meaning -- forcing it might usurp that, are > you sure you really want to do that? > > Susan H. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 18 13:31:53 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 18 Nov 2007 14:31:53 -0500 Subject: [AccessD] Outputing nulls in query with function In-Reply-To: <012501c82a07$a97a4780$4b3a8343@SusanOne> References: <008501c82988$e50ee9b0$6c7aa8c0@M90><005101c829af$cb777b80$0301a8c0@HAL9005><000601c829ff$e0f808d0$800101df@speedy><00f001c82a00$ce7e4f10$4b3a8343@SusanOne><000d01c82a02$b0c04170$800101df@speedy><29f585dd0711180904r418044fbgac369e1172bbd159@mail.gmail.com><001201c82a07$0915cb20$800101df@speedy> <012501c82a07$a97a4780$4b3a8343@SusanOne> Message-ID: <009201c82a19$ad2e97c0$6c7aa8c0@M90> Susan, No, AFAIK you cannot use any constant directly in a query, even if it is global. you could call a function which returns a variant though. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, November 18, 2007 12:23 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Outputing nulls in query with function > > I want the query to output a value computed by my function or contain > a null. Maybe this is not possible?? ========JC recommended making VBA's vbNull constant global in a module. That way you can use it in a query expression. It's a terrific idea, wish I'd thought of it. You might try that. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stephen at bondsoftware.co.nz Sun Nov 18 13:59:24 2007 From: stephen at bondsoftware.co.nz (Stephen) Date: Mon, 19 Nov 2007 08:59:24 +1300 Subject: [AccessD] Old problem - forgotten the answer Message-ID: <569E08FC48047F4F848850B118195FBE019EBB@server.BondSoftware.local> Steve and Rocky, this combination sounds like what I want. Will try it this afternoon and let you know. Cheers Stephen -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Monday, 19 November 2007 6:45 a.m. To: Stephen Subject: Re: [AccessD] Old problem - forgotten the answer Stephen, Therefore, you could do it within the same code that does the Requery. It would make it a lot easier to provide help if you could reveal the names of the forms, and info about the subform's primary key, and the code you have so far. But possibly an adaptation of the code Rocky suggested would do it, e.g.... DoCmd.RunCommand acCmdSaveRecord lngClientGroupID = Me.TheSubformsPrimaryKey ' assumes number data type With Forms!YourForm!YourSubform.Form .Requery .RecordsetClone.FindFirst "TheSubformsPrimaryKey = " & lngClientGroupID If .RecordsetClone.NoMatch Then MsgBox "Could not return to selected record", vbExclamation Else .Bookmark = .RecordsetClone.Bookmark End If End With Another option woulkd be to use the main form's Activate event. You described the editing form as a dialog box form. If it is truly a dialog form (i.e. it is opened from the main form in acDialog mode), then possibly the main form's Activate event would be more applicable. Regards Steve Stephen wrote: > More info. The Requery is done from the dialog box form. It > requeries the invoking form. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Sun Nov 18 14:08:43 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 18 Nov 2007 15:08:43 -0500 Subject: [AccessD] Outputing nulls in query with function References: <008501c82988$e50ee9b0$6c7aa8c0@M90><005101c829af$cb777b80$0301a8c0@HAL9005><000601c829ff$e0f808d0$800101df@speedy><00f001c82a00$ce7e4f10$4b3a8343@SusanOne><000d01c82a02$b0c04170$800101df@speedy><29f585dd0711180904r418044fbgac369e1172bbd159@mail.gmail.com><001201c82a07$0915cb20$800101df@speedy><012501c82a07$a97a4780$4b3a8343@SusanOne> <009201c82a19$ad2e97c0$6c7aa8c0@M90> Message-ID: <01a501c82a1e$d63c2330$4b3a8343@SusanOne> I think I totally misunderstand your response then. Someone was trying to use a vb constant in a query expression and I said you couldn't do that. I had always thought you couldn't use vb constants outside of a module until you responded with the global comment. Maybe I'm just confusing two different threads. If so, I apologize. Susan H. > Susan, > > No, AFAIK you cannot use any constant directly in a query, even if it is > global. you could call a function which returns a variant though. From bheygood at abestsystems.com Sun Nov 18 14:26:37 2007 From: bheygood at abestsystems.com (Bob Heygood) Date: Sun, 18 Nov 2007 12:26:37 -0800 Subject: [AccessD] Outputing nulls in query with function In-Reply-To: <01a501c82a1e$d63c2330$4b3a8343@SusanOne> References: <008501c82988$e50ee9b0$6c7aa8c0@M90><005101c829af$cb777b80$0301a8c0@HAL9005><000601c829ff$e0f808d0$800101df@speedy><00f001c82a00$ce7e4f10$4b3a8343@SusanOne><000d01c82a02$b0c04170$800101df@speedy><29f585dd0711180904r418044fbgac369e1172bbd159@mail.gmail.com><001201c82a07$0915cb20$800101df@speedy><012501c82a07$a97a4780$4b3a8343@SusanOne><009201c82a19$ad2e97c0$6c7aa8c0@M90> <01a501c82a1e$d63c2330$4b3a8343@SusanOne> Message-ID: <004201c82a21$51fbe850$800101df@speedy> Thanks to all who were up early and replied. I got an answer from one of the folks here in the hood (San Diego). It was just a matter of adding a line to my code in my function. See answer below: GetScope2Code = IIf(Scope2Code = "", Null, Scope2Code) Funny I just read an old Advisor with an article about the use/understanding/misunderstanding of nulls. I think it was penned by one of our frequent contributors. Here then too is another reason nulls are important; for statistical/counting/... purposes. Best, Bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, November 18, 2007 12:09 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Outputing nulls in query with function I think I totally misunderstand your response then. Someone was trying to use a vb constant in a query expression and I said you couldn't do that. I had always thought you couldn't use vb constants outside of a module until you responded with the global comment. Maybe I'm just confusing two different threads. If so, I apologize. Susan H. > Susan, > > No, AFAIK you cannot use any constant directly in a query, even if it > is global. you could call a function which returns a variant though. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sun Nov 18 15:43:14 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 18 Nov 2007 16:43:14 -0500 Subject: [AccessD] Outputing nulls in query with function In-Reply-To: <01a501c82a1e$d63c2330$4b3a8343@SusanOne> References: <008501c82988$e50ee9b0$6c7aa8c0@M90><005101c829af$cb777b80$0301a8c0@HAL9005><000601c829ff$e0f808d0$800101df@speedy><00f001c82a00$ce7e4f10$4b3a8343@SusanOne><000d01c82a02$b0c04170$800101df@speedy><29f585dd0711180904r418044fbgac369e1172bbd159@mail.gmail.com><001201c82a07$0915cb20$800101df@speedy><012501c82a07$a97a4780$4b3a8343@SusanOne><009201c82a19$ad2e97c0$6c7aa8c0@M90> <01a501c82a1e$d63c2330$4b3a8343@SusanOne> Message-ID: <009601c82a2c$06b54610$6c7aa8c0@M90> I think I was confused. I thought you were asking about "seeing" a constant outside of a module, not specifically in a query. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, November 18, 2007 3:09 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Outputing nulls in query with function I think I totally misunderstand your response then. Someone was trying to use a vb constant in a query expression and I said you couldn't do that. I had always thought you couldn't use vb constants outside of a module until you responded with the global comment. Maybe I'm just confusing two different threads. If so, I apologize. Susan H. > Susan, > > No, AFAIK you cannot use any constant directly in a query, even if it > is global. you could call a function which returns a variant though. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Sun Nov 18 15:48:40 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 18 Nov 2007 16:48:40 -0500 Subject: [AccessD] Outputing nulls in query with function References: <008501c82988$e50ee9b0$6c7aa8c0@M90><005101c829af$cb777b80$0301a8c0@HAL9005><000601c829ff$e0f808d0$800101df@speedy><00f001c82a00$ce7e4f10$4b3a8343@SusanOne><000d01c82a02$b0c04170$800101df@speedy><29f585dd0711180904r418044fbgac369e1172bbd159@mail.gmail.com><001201c82a07$0915cb20$800101df@speedy><012501c82a07$a97a4780$4b3a8343@SusanOne><009201c82a19$ad2e97c0$6c7aa8c0@M90><01a501c82a1e$d63c2330$4b3a8343@SusanOne> <009601c82a2c$06b54610$6c7aa8c0@M90> Message-ID: <021801c82a2c$cbc6a520$4b3a8343@SusanOne> Okay, that would make sense. I stand corrected -- you know, I hadn't tested it yet, but thought that would be so cool if it worked. Oh well... Susan H. >I think I was confused. I thought you were asking about "seeing" a >constant > outside of a module, not specifically in a query. From darren at activebilling.com.au Sun Nov 18 17:30:58 2007 From: darren at activebilling.com.au (Darren D) Date: Mon, 19 Nov 2007 10:30:58 +1100 Subject: [AccessD] Hey, it's Friday In-Reply-To: <29f585dd0711160624u58eab13ehd265398162a528dd@mail.gmail.com> Message-ID: <200711182331.lAINV42O023020@databaseadvisors.com> Happy birthday Arthur - Congratulations - I agree - Good friends - Healthy relationships - are truly the foundations of a good life Congratulations again Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, 17 November 2007 1:24 AM To: Access Developers discussion and problem solving Subject: [AccessD] Hey, it's Friday Last night was my 60th birthday, and about 25 of my friends had a surprise party for me. I was completely clueless about its occurrence. I have a favourite Indian restaurant in Toronto called Shalimar, owned and operated by a good friend called Khalid, and ironically, I decided that that was where I wanted to have dinner last night. So I booked a reservation, little knowing that the entire restaurant had already been booked. Khalid managed to keep a straight voice when I called. My friend Norma and my sister Clare came with me, and there's a great bookstore/recordstore next door which I insisted upon visiting, little knowing that there was a party awaiting me next door. This is a small restaurant (always a good sign), and when I walked in, I saw that the whole place had been re-arranged, a dozen tables united into one enormous long table, and as I scanned the occupants I realized bit by bit that I knew everyone at the table, and finally it dawned on me. To break bread with good friends is a good thing. To find oneself as the centre of attention, so to speak, surrounded by good friends, is truly breathtaking -- and humbling. For some reason or other, I have a collection of quality people to call my friends. We had fabulous food, wonderful conversation and I even received some cool presents and cards. Forced at one point to stand and make a speech, all I could manage was to thank my friends for being my friends. I've known almost everyone in attendance for 30 or so years, some more. There were even emails from persons who could not attend, such as one of my oldest friends, Paul Grenkow, who teaches English in Beijing, who could not attend only because his wife was expected to give birth on the day. I'm a lucky man. I have wonderful friends. But I do caution you to think carefully about holding a surprise party for 60yo people. The heart palpitations are unbelievable. On the other hand, what better way to go. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paulrster at gmail.com Mon Nov 19 01:07:51 2007 From: paulrster at gmail.com (paulr) Date: Mon, 19 Nov 2007 07:07:51 -0000 Subject: [AccessD] A test Message-ID: <001801c82a7a$e766cd70$6401a8c0@PAULSLENOVO> Thanks, Brian, for your help. When my thanks to you didn't appear, I felt it best to resubscribe, which I have done now. All the best paul From carbonnb at gmail.com Mon Nov 19 06:41:35 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Mon, 19 Nov 2007 07:41:35 -0500 Subject: [AccessD] A test In-Reply-To: <001801c82a7a$e766cd70$6401a8c0@PAULSLENOVO> References: <001801c82a7a$e766cd70$6401a8c0@PAULSLENOVO> Message-ID: On Nov 19, 2007 2:07 AM, paulr wrote: > Thanks, Brian, for your help. When my thanks to you didn't appear, I felt it > best to resubscribe, which I have done now. All the best Glad everything is now working for you. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From Gustav at cactus.dk Mon Nov 19 08:23:23 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 19 Nov 2007 15:23:23 +0100 Subject: [AccessD] MSAccess 2007 - Count days Message-ID: Hi Kostas You can copy and paste the code into a new module. Save this and the function can be used anywhere as the built-in functions of Access (like, say, DateDiff). If this is what is causing you problems, somebody else could perhaps help you with a beginner's guide to VBA (I have none, sorry). /gustav >>> kost36 at otenet.gr 16-11-2007 11:23 >>> Gustav, could you please show me the way to use that function I am not really familiar with function's code thank's a lot /kostas ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, November 16, 2007 1:17 AM Subject: Re: [AccessD] MSAccess 2007 - Count days > Hi Kostas > > Here is the function we use: > > Public Function ISO_WorkdayDiff( _ > ByVal datDateFrom As Date, _ > ByVal datDateTo As Date) _ > As Long > > ' Purpose: Calculate number of working days between dates datDateFrom and > datDateTo. > ' Assumes: 5 or 6 working days per week. Weekend is (Saturday and) Sunday. > ' Limitation: Does not count for public holidays. > ' May be freely used and distributed. > ' 1999-04-23. Gustav Brock, Cactus Data ApS, Copenhagen > ' 2000-10-03. Constants added. > ' Option for 5 or 6 working days per week added. > > Const cbytWorkdaysOfWeek As Byte = 5 > > Dim bytSunday As Byte > Dim intWeekdayDateFrom As Integer > Dim intWeekdayDateTo As Integer > Dim lngDays As Long > Dim datDateTemp As Date > > ' Reverse dates if these have been input reversed. > If datDateFrom > datDateTo Then > datDateTemp = datDateFrom > datDateFrom = datDateTo > datDateTo = datDateTemp > End If > > ' Find ISO weekday for Sunday. > bytSunday = WeekDay(vbSunday, vbMonday) > > ' Find weekdays for the dates. > intWeekdayDateFrom = WeekDay(datDateFrom, vbMonday) > intWeekdayDateTo = WeekDay(datDateTo, vbMonday) > > ' Compensate weekdays' value for non-working days (weekends). > intWeekdayDateFrom = intWeekdayDateFrom + (intWeekdayDateFrom = > bytSunday) > intWeekdayDateTo = intWeekdayDateTo + (intWeekdayDateTo = bytSunday) > > ' Calculate number of working days between the two weekdays, ignoring > number of weeks. > lngDays = intWeekdayDateTo - intWeekdayDateFrom - (cbytWorkdaysOfWeek * > (intWeekdayDateTo < intWeekdayDateFrom)) > ' Add number of working days between the weeks of the two dates. > lngDays = lngDays + (cbytWorkdaysOfWeek * DateDiff("w", datDateFrom, > datDateTo, vbMonday, vbFirstFourDays)) > > ISO_WorkdayDiff = lngDays > > End Function > > To exclude holidays, look up and count the holidays from a table of > holidays not falling in weekends; substract this number from the count of > working days. > > /gustav > >>>> kost36 at otenet.gr 15-11-07 20:49 >>> > Hi all, > > Does anybody know how it could be possible to count > the work days between two days excluding weekends and local holidays > To my coutry there are several dates as holidays and some of them > are moving year by year > > many thank's to all > > /kostas From jwcolby at colbyconsulting.com Mon Nov 19 08:59:24 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 19 Nov 2007 09:59:24 -0500 Subject: [AccessD] Encrypting your stuff was offsite backup In-Reply-To: <003001c828fc$e2cd3cb0$8119fea9@LTVM> References: <005801c8289a$15263800$6c7aa8c0@M90> <003001c828fc$e2cd3cb0$8119fea9@LTVM> Message-ID: <00ac01c82abc$c6ffcbd0$6c7aa8c0@M90> Truecrypt is also able to encrypt entire volumes is you so desire. I have never done so since I like the ability to copy the file for backup. I may experiment on doing that however. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Saturday, November 17, 2007 4:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Encrypting your stuff was offsite backup Hi John, Yes, this is something that I will now set up, especially for my laptop and memory stick. FYI I also use cGeep to encrypt sensitive emails (www cgeep com) which uses PGP encryption plus there is a web based version for those who do not want to install it. It can also encrypt files/directories directly which avoid the need to mount a volume. But what is great with TrueCrypt is that it will run apps or all kinds directly from the encrypted file without storing any decrypted data anywhere other than in memory. All in all, in a few weeks I will have great encryption right across the board. Another trick which is easy to remember is "positioning" keys. Ie, "qazwsxedcrfvtgbyhn" which if you look at a keyboard you will see that it just traverses up/down across the key pad. As long as you remember whatever positioning you use, then you actually do not need to even remember the passphrase. Needless to say, this positioning example is not my one . Throw a couple of other keys in with the alpha keys then it just won't make any sense if terms of "real words" for brute force decryption (although I think the TrueCrypt mention something like a billion years to decrypt with a supercomputer, so pretty safe really). Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, November 16, 2007 9:46 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Encrypting your stuff was offsite backup I use this for my own protection. My laptop contains an encrypted file that contains my Colby Consulting stuff (books, etc). I have another encrypted drive that contains all client projects. Thus if the laptop ever does take a hike, all data is encrypted. the other nice thing about this is that you can backup all your work by copying a single encrypted file to a backup location. If that backup location ever takes a hike no data is exposed. I have a usb memory stick (just 1 gb for now) where 3/4 is an encrypted file. If I ever need to carry anything on my person, it is encrypted. The TrueCrypt program is stored on the unencrypted part and can be run from there. Thus I can stick the memory stick into a machine, run TrueCrypt, mount the drive and copy files to/from. Of course you do have to have admin rights in order to do this. I have been using this for about two years now and it just works. Just don't forget your password. I use the first character from a phrase or song, along with special characters and numbers which make it dead simple to remember when you are first learning your password. For example take two nursery rhymes: Mary Had A Little Lamb His Fleece Was White As Snow MhAlLhFwWaS (use alternating upper and lower case) Throw two numbers in front of, behind or around it 0MhAlLhFwWaS9 Now throw two special characters in front of that !0MhAlLhFwWaS9@ That all by itself is a pretty secure password. If you want more, do that twice, perhaps Jack And Jill Went Up The Hill To Fetch A Pail Of Water #8JaJwUtHtFaPoW7$ !0MhAlLhFwWaS9@#8JaJwUtHtFaPoW7$ You get the picture. Either one is a good password, the two together are pretty industrial strength, and dead easy to remember until you have it assigned to muscle memory. Pick a favorite saying, slogan, song, whatever you already have remembered and just use the first character of each word, plus numbers and special symbols. Someone (on this list IIRC) claimed they had a password cracker that would crack any password in XX seconds. I think not. My password is 21 characters long using a simple system like that and takes me about 10 seconds to type in. 10 seconds is not too much to ask for an industrial strength memorable password. http://www.lockdown.co.uk/?pg=combi&s=articles John W. Colby Colby Consulting www.ColbyConsulting.com From Gustav at cactus.dk Mon Nov 19 09:14:19 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 19 Nov 2007 16:14:19 +0100 Subject: [AccessD] Hey, it's Friday Message-ID: What a wonderful evening, Arthur! Thank you for sharing. /gustav >>> fuller.artful at gmail.com 16-11-2007 15:24 >>> Last night was my 60th birthday, and about 25 of my friends had a surprise party for me. I was completely clueless about its occurrence. I have a favourite Indian restaurant in Toronto called Shalimar, owned and operated by a good friend called Khalid, and ironically, I decided that that was where I wanted to have dinner last night. So I booked a reservation, little knowing that the entire restaurant had already been booked. Khalid managed to keep a straight voice when I called. My friend Norma and my sister Clare came with me, and there's a great bookstore/recordstore next door which I insisted upon visiting, little knowing that there was a party awaiting me next door. This is a small restaurant (always a good sign), and when I walked in, I saw that the whole place had been re-arranged, a dozen tables united into one enormous long table, and as I scanned the occupants I realized bit by bit that I knew everyone at the table, and finally it dawned on me. To break bread with good friends is a good thing. To find oneself as the centre of attention, so to speak, surrounded by good friends, is truly breathtaking -- and humbling. For some reason or other, I have a collection of quality people to call my friends. We had fabulous food, wonderful conversation and I even received some cool presents and cards. Forced at one point to stand and make a speech, all I could manage was to thank my friends for being my friends. I've known almost everyone in attendance for 30 or so years, some more. There were even emails from persons who could not attend, such as one of my oldest friends, Paul Grenkow, who teaches English in Beijing, who could not attend only because his wife was expected to give birth on the day. I'm a lucky man. I have wonderful friends. But I do caution you to think carefully about holding a surprise party for 60yo people. The heart palpitations are unbelievable. On the other hand, what better way to go. A. From Gustav at cactus.dk Mon Nov 19 09:21:57 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 19 Nov 2007 16:21:57 +0100 Subject: [AccessD] Encrypting your stuff was offsite backup Message-ID: Hi William I know what tune: Suspicion. As I have heard you are talking to your computers, what came first to my mind was Love Me Tender, but that would be too sentimental. /gustav >>> wdhindman at dejpolsystems.com 16-11-2007 23:57 >>> I use a 4gig stick with a u3 encryption program, wear it on a chain around my neck. I seldom take a laptop to client offices anymore because most everything I need is on the stick ...just plug it in, log-on, sync, and go to work ...I use a similar password algorithm but based on an Elvis tune ...shows my age, it does :) William From jwcolby at colbyconsulting.com Mon Nov 19 09:56:11 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 19 Nov 2007 10:56:11 -0500 Subject: [AccessD] OT: make volume bootable Message-ID: <00ad01c82ac4$b5604140$6c7aa8c0@M90> I have a Windows 2003 server with an dedicated Areca raid controller. The system disk C: is on the raid controller, however another pair of disks are somehow involved in the boot process. These two disks are talking (SATA) directly to the motherboard SATA ports (using Raid1 via the motherboard raid controller), and to look at them there is nothing on them. However if I disconnect these disks then the system gives the old "boot disk not found" when the computer is reset. That implies that this pair of disks (a single Raid1 volume) contains boot files required to actually boot the computer even though the C: drive itself is on the Areca controller. How do I set the C: drive to be the boot drive and contain whatever these files are that are currently housed on this extra pair of disks? John W. Colby Colby Consulting www.ColbyConsulting.com From wdhindman at dejpolsystems.com Mon Nov 19 10:00:41 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 19 Nov 2007 11:00:41 -0500 Subject: [AccessD] Encrypting your stuff was offsite backup References: Message-ID: <000f01c82ac5$568352b0$0c10a8c0@jisshowsbs.local> ...lol ..."I'll Remember You" might be more appropriate :))) William ----- Original Message ----- From: "Gustav Brock" To: Sent: Monday, November 19, 2007 10:21 AM Subject: Re: [AccessD] Encrypting your stuff was offsite backup > Hi William > > I know what tune: Suspicion. > > As I have heard you are talking to your computers, what came first to my > mind was Love Me Tender, but that would be too sentimental. > > /gustav > >>>> wdhindman at dejpolsystems.com 16-11-2007 23:57 >>> > I use a 4gig stick with a u3 encryption program, wear it on a chain around > my neck. I seldom take a laptop to client offices anymore because most > everything I need is on the stick ...just plug it in, log-on, sync, and go > to work ...I use a similar password algorithm but based on an Elvis tune > ...shows my age, it does :) > > William > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Nov 19 09:58:49 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 19 Nov 2007 07:58:49 -0800 Subject: [AccessD] Encrypting your stuff was offsite backup In-Reply-To: <001301c82930$a9e31620$ef706c4c@jisshowsbs.local> References: <003101c828fd$8dcf9e50$8119fea9@LTVM> <001301c82930$a9e31620$ef706c4c@jisshowsbs.local> Message-ID: I'll GET you for that, Mr. Hindman. Grrr Charlotte Foust aka Granny -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Saturday, November 17, 2007 7:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup ...now, now Max ...we'd all like to accept your claim to the gerontological gold here ...but that would make you something like 80+ and writing code before the first computer was built ...besides which, only Charlotte is that old :) William ----- Original Message ----- From: To: "'Access Developers discussion and problem solving'" Sent: Saturday, November 17, 2007 4:38 AM Subject: Re: [AccessD] Encrypting your stuff was offsite backup > Elvis? Crikey, I was coding before he was born! > How about the Andrews Sisters (WW2 singers from Minnesota)- world famous > though. > > Max > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Friday, November 16, 2007 10:57 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > I use a 4gig stick with a u3 encryption program, wear it on a chain around > my neck. I seldom take a laptop to client offices anymore because most > everything I need is on the stick ...just plug it in, log-on, sync, and go > to work ...I use a similar password algorithm but based on an Elvis tune > ...shows my age, it does :) > > William > > ----- Original Message ----- > From: "jwcolby" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, November 16, 2007 4:46 PM > Subject: [AccessD] Encrypting your stuff was offsite backup > > >>I use this for my own protection. My laptop contains an encrypted file >>that >> contains my Colby Consulting stuff (books, etc). I have another >> encrypted >> drive that contains all client projects. Thus if the laptop ever does >> take >> a hike, all data is encrypted. the other nice thing about this is that >> you >> can backup all your work by copying a single encrypted file to a backup >> location. If that backup location ever takes a hike no data is exposed. >> >> I have a usb memory stick (just 1 gb for now) where 3/4 is an encrypted >> file. If I ever need to carry anything on my person, it is encrypted. >> The >> TrueCrypt program is stored on the unencrypted part and can be run from >> there. Thus I can stick the memory stick into a machine, run TrueCrypt, >> mount the drive and copy files to/from. Of course you do have to have >> admin >> rights in order to do this. >> >> I have been using this for about two years now and it just works. >> >> Just don't forget your password. >> >> I use the first character from a phrase or song, along with special >> characters and numbers which make it dead simple to remember when you are >> first learning your password. For example take two nursery rhymes: >> >> Mary Had A Little Lamb His Fleece Was White As Snow >> MhAlLhFwWaS >> (use alternating upper and lower case) >> Throw two numbers in front of, behind or around it >> 0MhAlLhFwWaS9 >> Now throw two special characters in front of that >> !0MhAlLhFwWaS9@ >> >> That all by itself is a pretty secure password. If you want more, do >> that >> twice, perhaps >> >> Jack And Jill Went Up The Hill To Fetch A Pail Of Water >> #8JaJwUtHtFaPoW7$ >> >> !0MhAlLhFwWaS9@#8JaJwUtHtFaPoW7$ >> >> You get the picture. Either one is a good password, the two together are >> pretty industrial strength, and dead easy to remember until you have it >> assigned to muscle memory. Pick a favorite saying, slogan, song, >> whatever >> you already have remembered and just use the first character of each >> word, >> plus numbers and special symbols. >> >> Someone (on this list IIRC) claimed they had a password cracker that >> would >> crack any password in XX seconds. I think not. My password is 21 >> characters long using a simple system like that and takes me about 10 >> seconds to type in. 10 seconds is not too much to ask for an industrial >> strength memorable password. >> >> http://www.lockdown.co.uk/?pg=combi&s=articles >> >> John W. Colby >> Colby Consulting >> www.ColbyConsulting.com >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> max.wanadoo at gmail.com >> Sent: Friday, November 16, 2007 2:11 PM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Off-Site Backup >> >> >> Hi William: >> >> Here is such an article which bears out your client's concerns: >> >> SECURITY? STICK IT! >> A recent survey by Tower Software has revealed that 49% of employees >> store >> work-related files in multiple locations - posing serious security >> threats >> and exposure as well as compliance and information management issues. >> To read the full story follow the link below... >> >> >> >> I have the FE secured with user logins, etc. The BE is password >> protected. >> Both ends (now) contained within encrypted files. Backups now contain >> encrypted files. Totally secure from "outsiders". >> >> BUT! - once you are in the system, a (valid) user can still "do things" >> unless he/she is totally restricted by the various methods outlined in >> postings to this site. Ie. Menu systems, exporting options, printing data >> options, etc. >> >> At some stage there has to be employee trust. Ie, unless I am trusted >> (being the developer) then nothing else works. >> >> Max >> >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >> Sent: Friday, November 16, 2007 6:22 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Off-Site Backup >> >> ...whoa! ...now there is something I'd never considered ...I have a >> client >> that is very concerned about employees stealing his data ...I'll have to >> take another look at this. >> >> William >> >> ----- Original Message ----- >> From: >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Friday, November 16, 2007 9:26 AM >> Subject: Re: [AccessD] Off-Site Backup >> >> >>> John Colby: >>> >>> Many thanks for the pointer to TrueCrypt. This is fantastic! I now >>> have all my BE Data in an encrypted file on the Server and the FE's in >>> an encrypted file on user's PC's. Even if they steal all the >>> computers they will never get access to the data without my 40 char >>> key to mount the volumes. >>> >>> Brilliant tip, John. Many thanks >>> >>> Max >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kost36 at otenet.gr Mon Nov 19 10:05:16 2007 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Mon, 19 Nov 2007 18:05:16 +0200 Subject: [AccessD] MSAccess 2007 - Count days In-Reply-To: References: Message-ID: <36EF25C510BD445685F3851603BD65EF@kost36PC> Hi Gustav, I feel to say a great thank's to you and all the people aided me the last two years to face many problems on my beggining in ms access. Be well kostas ----- Original Message ----- From: "Gustav Brock" To: Sent: Monday, November 19, 2007 4:23 PM Subject: Re: [AccessD] MSAccess 2007 - Count days > Hi Kostas > > You can copy and paste the code into a new module. Save this and the > function can be used anywhere as the built-in functions of Access (like, > say, DateDiff). > If this is what is causing you problems, somebody else could perhaps help > you with a beginner's guide to VBA (I have none, sorry). > > /gustav > >>>> kost36 at otenet.gr 16-11-2007 11:23 >>> > Gustav, > could you please show me the way to use that function > I am not really familiar with function's code > thank's a lot > /kostas > > > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Friday, November 16, 2007 1:17 AM > Subject: Re: [AccessD] MSAccess 2007 - Count days > > >> Hi Kostas >> >> Here is the function we use: >> >> Public Function ISO_WorkdayDiff( _ >> ByVal datDateFrom As Date, _ >> ByVal datDateTo As Date) _ >> As Long >> >> ' Purpose: Calculate number of working days between dates datDateFrom and >> datDateTo. >> ' Assumes: 5 or 6 working days per week. Weekend is (Saturday and) >> Sunday. >> ' Limitation: Does not count for public holidays. >> ' May be freely used and distributed. >> ' 1999-04-23. Gustav Brock, Cactus Data ApS, Copenhagen >> ' 2000-10-03. Constants added. >> ' Option for 5 or 6 working days per week added. >> >> Const cbytWorkdaysOfWeek As Byte = 5 >> >> Dim bytSunday As Byte >> Dim intWeekdayDateFrom As Integer >> Dim intWeekdayDateTo As Integer >> Dim lngDays As Long >> Dim datDateTemp As Date >> >> ' Reverse dates if these have been input reversed. >> If datDateFrom > datDateTo Then >> datDateTemp = datDateFrom >> datDateFrom = datDateTo >> datDateTo = datDateTemp >> End If >> >> ' Find ISO weekday for Sunday. >> bytSunday = WeekDay(vbSunday, vbMonday) >> >> ' Find weekdays for the dates. >> intWeekdayDateFrom = WeekDay(datDateFrom, vbMonday) >> intWeekdayDateTo = WeekDay(datDateTo, vbMonday) >> >> ' Compensate weekdays' value for non-working days (weekends). >> intWeekdayDateFrom = intWeekdayDateFrom + (intWeekdayDateFrom = >> bytSunday) >> intWeekdayDateTo = intWeekdayDateTo + (intWeekdayDateTo = bytSunday) >> >> ' Calculate number of working days between the two weekdays, ignoring >> number of weeks. >> lngDays = intWeekdayDateTo - intWeekdayDateFrom - (cbytWorkdaysOfWeek * >> (intWeekdayDateTo < intWeekdayDateFrom)) >> ' Add number of working days between the weeks of the two dates. >> lngDays = lngDays + (cbytWorkdaysOfWeek * DateDiff("w", datDateFrom, >> datDateTo, vbMonday, vbFirstFourDays)) >> >> ISO_WorkdayDiff = lngDays >> >> End Function >> >> To exclude holidays, look up and count the holidays from a table of >> holidays not falling in weekends; substract this number from the count of >> working days. >> >> /gustav >> >>>>> kost36 at otenet.gr 15-11-07 20:49 >>> >> Hi all, >> >> Does anybody know how it could be possible to count >> the work days between two days excluding weekends and local holidays >> To my coutry there are several dates as holidays and some of them >> are moving year by year >> >> many thank's to all >> >> /kostas > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Mon Nov 19 10:11:31 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 19 Nov 2007 11:11:31 -0500 Subject: [AccessD] Encrypting your stuff was offsite backup In-Reply-To: References: <003101c828fd$8dcf9e50$8119fea9@LTVM><001301c82930$a9e31620$ef706c4c@jisshowsbs.local> Message-ID: <00ae01c82ac6$d9d03010$6c7aa8c0@M90> I am amazed that Mr Hindman has lived to his current age... And that he would sling stuff like that given his current age... John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 19, 2007 10:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup I'll GET you for that, Mr. Hindman. Grrr Charlotte Foust aka Granny -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Saturday, November 17, 2007 7:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup ...now, now Max ...we'd all like to accept your claim to the gerontological gold here ...but that would make you something like 80+ and writing code before the first computer was built ...besides which, only Charlotte is that old :) William ----- Original Message ----- From: To: "'Access Developers discussion and problem solving'" Sent: Saturday, November 17, 2007 4:38 AM Subject: Re: [AccessD] Encrypting your stuff was offsite backup > Elvis? Crikey, I was coding before he was born! > How about the Andrews Sisters (WW2 singers from Minnesota)- world famous > though. > > Max > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Friday, November 16, 2007 10:57 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > I use a 4gig stick with a u3 encryption program, wear it on a chain around > my neck. I seldom take a laptop to client offices anymore because most > everything I need is on the stick ...just plug it in, log-on, sync, and go > to work ...I use a similar password algorithm but based on an Elvis tune > ...shows my age, it does :) > > William From cfoust at infostatsystems.com Mon Nov 19 10:14:47 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 19 Nov 2007 08:14:47 -0800 Subject: [AccessD] Encrypting your stuff was offsite backup In-Reply-To: <00ae01c82ac6$d9d03010$6c7aa8c0@M90> References: <003101c828fd$8dcf9e50$8119fea9@LTVM><001301c82930$a9e31620$ef706c4c@jisshowsbs.local> <00ae01c82ac6$d9d03010$6c7aa8c0@M90> Message-ID: Well, I hope he enjoys his current age because he isn't likely to live much longer! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 19, 2007 8:12 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Encrypting your stuff was offsite backup I am amazed that Mr Hindman has lived to his current age... And that he would sling stuff like that given his current age... John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 19, 2007 10:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup I'll GET you for that, Mr. Hindman. Grrr Charlotte Foust aka Granny -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Saturday, November 17, 2007 7:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup ...now, now Max ...we'd all like to accept your claim to the gerontological gold here ...but that would make you something like 80+ and writing code before the first computer was built ...besides which, only Charlotte is that old :) William From jwcolby at colbyconsulting.com Mon Nov 19 10:22:36 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 19 Nov 2007 11:22:36 -0500 Subject: [AccessD] Encrypting your stuff was offsite backup In-Reply-To: References: <003101c828fd$8dcf9e50$8119fea9@LTVM><001301c82930$a9e31620$ef706c4c@jisshowsbs.local><00ae01c82ac6$d9d03010$6c7aa8c0@M90> Message-ID: <00af01c82ac8$65ddf550$6c7aa8c0@M90> Planning a trip to Disney World Orlando? ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 19, 2007 11:15 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup Well, I hope he enjoys his current age because he isn't likely to live much longer! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 19, 2007 8:12 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Encrypting your stuff was offsite backup I am amazed that Mr Hindman has lived to his current age... And that he would sling stuff like that given his current age... John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 19, 2007 10:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup I'll GET you for that, Mr. Hindman. Grrr Charlotte Foust aka Granny -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Saturday, November 17, 2007 7:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup ...now, now Max ...we'd all like to accept your claim to the gerontological gold here ...but that would make you something like 80+ and writing code before the first computer was built ...besides which, only Charlotte is that old :) William -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Mon Nov 19 10:29:01 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 19 Nov 2007 17:29:01 +0100 Subject: [AccessD] Encrypting your stuff was offsite backup Message-ID: Hi William Wasn't that Frank Ifield? O'boy, this is racing OT ... /gustav >>> wdhindman at dejpolsystems.com 19-11-2007 17:00 >>> ...lol ..."I'll Remember You" might be more appropriate :))) William ----- Original Message ----- From: "Gustav Brock" To: Sent: Monday, November 19, 2007 10:21 AM Subject: Re: [AccessD] Encrypting your stuff was offsite backup > Hi William > > I know what tune: Suspicion. > > As I have heard you are talking to your computers, what came first to my > mind was Love Me Tender, but that would be too sentimental. > > /gustav > >>>> wdhindman at dejpolsystems.com 16-11-2007 23:57 >>> > I use a 4gig stick with a u3 encryption program, wear it on a chain around > my neck. I seldom take a laptop to client offices anymore because most > everything I need is on the stick ...just plug it in, log-on, sync, and go > to work ...I use a similar password algorithm but based on an Elvis tune > ...shows my age, it does :) > > William From cfoust at infostatsystems.com Mon Nov 19 10:29:38 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 19 Nov 2007 08:29:38 -0800 Subject: [AccessD] Encrypting your stuff was offsite backup In-Reply-To: <00af01c82ac8$65ddf550$6c7aa8c0@M90> References: <003101c828fd$8dcf9e50$8119fea9@LTVM><001301c82930$a9e31620$ef706c4c@jisshowsbs.local><00ae01c82ac6$d9d03010$6c7aa8c0@M90> <00af01c82ac8$65ddf550$6c7aa8c0@M90> Message-ID: Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 19, 2007 8:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Encrypting your stuff was offsite backup Planning a trip to Disney World Orlando? ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 19, 2007 11:15 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup Well, I hope he enjoys his current age because he isn't likely to live much longer! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 19, 2007 8:12 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Encrypting your stuff was offsite backup I am amazed that Mr Hindman has lived to his current age... And that he would sling stuff like that given his current age... John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 19, 2007 10:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup I'll GET you for that, Mr. Hindman. Grrr Charlotte Foust aka Granny -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Saturday, November 17, 2007 7:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup ...now, now Max ...we'd all like to accept your claim to the gerontological gold here ...but that would make you something like 80+ and writing code before the first computer was built ...besides which, only Charlotte is that old :) William -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 19 10:37:15 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 19 Nov 2007 17:37:15 +0100 Subject: [AccessD] Encrypting your stuff was offsite backup Message-ID: Hi John How dare you? Implying Charlotte to be the turkey at the upcoming parade? /gustav PS: That story about the lady spreading "baby powder" in the park has travelled the ocean ... >>> jwcolby at colbyconsulting.com 19-11-2007 17:22 >>> Planning a trip to Disney World Orlando? ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 19, 2007 11:15 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup Well, I hope he enjoys his current age because he isn't likely to live much longer! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 19, 2007 8:12 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Encrypting your stuff was offsite backup I am amazed that Mr Hindman has lived to his current age... And that he would sling stuff like that given his current age... John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 19, 2007 10:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup I'll GET you for that, Mr. Hindman. Grrr Charlotte Foust aka Granny -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Saturday, November 17, 2007 7:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup ...now, now Max ...we'd all like to accept your claim to the gerontological gold here ...but that would make you something like 80+ and writing code before the first computer was built ...besides which, only Charlotte is that old :) William From jwcolby at colbyconsulting.com Mon Nov 19 10:57:27 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 19 Nov 2007 11:57:27 -0500 Subject: [AccessD] Encrypting your stuff was offsite backup In-Reply-To: References: Message-ID: <00b601c82acd$447f8810$6c7aa8c0@M90> I had never heard of that until you mentioned it. I googled it and boy, what a sicko lot we humans are! It sounds like a HUGE expense for Disney World. http://www.mouseowners.com/forums/showthread.php?t=11584 John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, November 19, 2007 11:37 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Encrypting your stuff was offsite backup Hi John How dare you? Implying Charlotte to be the turkey at the upcoming parade? /gustav PS: That story about the lady spreading "baby powder" in the park has travelled the ocean ... >>> jwcolby at colbyconsulting.com 19-11-2007 17:22 >>> Planning a trip to Disney World Orlando? ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 19, 2007 11:15 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup Well, I hope he enjoys his current age because he isn't likely to live much longer! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 19, 2007 8:12 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Encrypting your stuff was offsite backup I am amazed that Mr Hindman has lived to his current age... And that he would sling stuff like that given his current age... John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 19, 2007 10:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup I'll GET you for that, Mr. Hindman. Grrr Charlotte Foust aka Granny -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Saturday, November 17, 2007 7:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup ...now, now Max ...we'd all like to accept your claim to the gerontological gold here ...but that would make you something like 80+ and writing code before the first computer was built ...besides which, only Charlotte is that old :) William -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Nov 19 13:20:48 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 19 Nov 2007 11:20:48 -0800 Subject: [AccessD] Output to PDF Message-ID: <004701c82ae1$4abd7e80$0301a8c0@HAL9005> Dear List: I have a client who wants to put a couple of reports out to PDF, attach them to emails and send them to customers. I have his copy of Acrobat 8 and have a couple of weeks left to figure out how to do this. I see, since installing it that I have references to Acrobat, Acrobat 3.0 Type Library, and Acrobat Distiller. Does anyone have a reference to how these objects work? Or maybe there's a simpler way? Ideally, I want to be able to name the output file and send it to a specific location so I can attach it to an email. MTIA Rocky From jwcolby at colbyconsulting.com Mon Nov 19 13:29:13 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 19 Nov 2007 14:29:13 -0500 Subject: [AccessD] Action Pack Subscribers Message-ID: <00d101c82ae2$784fcb90$6c7aa8c0@M90> For those of you doing Web stuff I just found this: https://partner.microsoft.com/us/40047166 John W. Colby Colby Consulting www.ColbyConsulting.com From Mwp.Reid at qub.ac.uk Mon Nov 19 13:38:17 2007 From: Mwp.Reid at qub.ac.uk (Martin W Reid) Date: Mon, 19 Nov 2007 19:38:17 +0000 Subject: [AccessD] Output to PDF In-Reply-To: <004701c82ae1$4abd7e80$0301a8c0@HAL9005> References: <004701c82ae1$4abd7e80$0301a8c0@HAL9005> Message-ID: Rocky http://www.granite.ab.ca/access/pdffiles.htm Martin Martin WP Reid Information Services Queen's University Riddel Hall 185 Stranmillis Road Belfast BT9 5EE Tel : 02890974465 Email : mwp.reid at qub.ac.uk ________________________________________ From: accessd-bounces at databaseadvisors.com [accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software [rockysmolin at bchacc.com] Sent: 19 November 2007 19:20 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Output to PDF Dear List: I have a client who wants to put a couple of reports out to PDF, attach them to emails and send them to customers. I have his copy of Acrobat 8 and have a couple of weeks left to figure out how to do this. I see, since installing it that I have references to Acrobat, Acrobat 3.0 Type Library, and Acrobat Distiller. Does anyone have a reference to how these objects work? Or maybe there's a simpler way? Ideally, I want to be able to name the output file and send it to a specific location so I can attach it to an email. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheygood at abestsystems.com Mon Nov 19 13:59:17 2007 From: bheygood at abestsystems.com (Bob Heygood) Date: Mon, 19 Nov 2007 11:59:17 -0800 Subject: [AccessD] Output to PDF In-Reply-To: <004701c82ae1$4abd7e80$0301a8c0@HAL9005> References: <004701c82ae1$4abd7e80$0301a8c0@HAL9005> Message-ID: <00ad01c82ae6$aad7e760$800101df@speedy> Hey Rocky, The first thing I would do is to try to get them to upgrade to the latest version of Acrobat. Things only got easier as the product improved. If they won't spring for it, you may want to forgo Acrobat and try some shareware/less expensive solutions. Bob Heygood -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 19, 2007 11:21 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Output to PDF Dear List: I have a client who wants to put a couple of reports out to PDF, attach them to emails and send them to customers. I have his copy of Acrobat 8 and have a couple of weeks left to figure out how to do this. I see, since installing it that I have references to Acrobat, Acrobat 3.0 Type Library, and Acrobat Distiller. Does anyone have a reference to how these objects work? Or maybe there's a simpler way? Ideally, I want to be able to name the output file and send it to a specific location so I can attach it to an email. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prosoft6 at hotmail.com Mon Nov 19 14:42:15 2007 From: prosoft6 at hotmail.com (Julie Reardon) Date: Mon, 19 Nov 2007 15:42:15 -0500 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <00d101c82ae2$784fcb90$6c7aa8c0@M90> References: <00d101c82ae2$784fcb90$6c7aa8c0@M90> Message-ID: Thanks for that link John. I took the test after the course and passed, but never received a confirmation in e-mail. Did anyone else take it? Julie Reardon PRO-SOFT of NY, Inc. 44 Public Square, Suite 5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 NYS IT Contract#CMT026A NYS Certified Woman-Owned Business www.pro-soft.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 19, 2007 2:29 PM To: 'Access Developers discussion and problem solving'; dba-sqlserver at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Action Pack Subscribers For those of you doing Web stuff I just found this: https://partner.microsoft.com/us/40047166 John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Nov 19 14:53:45 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 19 Nov 2007 12:53:45 -0800 Subject: [AccessD] Output to PDF In-Reply-To: <00ad01c82ae6$aad7e760$800101df@speedy> References: <004701c82ae1$4abd7e80$0301a8c0@HAL9005> <00ad01c82ae6$aad7e760$800101df@speedy> Message-ID: <005c01c82aee$474f6df0$0301a8c0@HAL9005> Acrobat 8 isn't the latest? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Monday, November 19, 2007 11:59 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Output to PDF Hey Rocky, The first thing I would do is to try to get them to upgrade to the latest version of Acrobat. Things only got easier as the product improved. If they won't spring for it, you may want to forgo Acrobat and try some shareware/less expensive solutions. Bob Heygood -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 19, 2007 11:21 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Output to PDF Dear List: I have a client who wants to put a couple of reports out to PDF, attach them to emails and send them to customers. I have his copy of Acrobat 8 and have a couple of weeks left to figure out how to do this. I see, since installing it that I have references to Acrobat, Acrobat 3.0 Type Library, and Acrobat Distiller. Does anyone have a reference to how these objects work? Or maybe there's a simpler way? Ideally, I want to be able to name the output file and send it to a specific location so I can attach it to an email. 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.0/1137 - Release Date: 11/18/2007 5:15 PM From rockysmolin at bchacc.com Mon Nov 19 15:05:48 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 19 Nov 2007 13:05:48 -0800 Subject: [AccessD] Output to PDF In-Reply-To: References: <004701c82ae1$4abd7e80$0301a8c0@HAL9005> Message-ID: <005d01c82aef$f642c360$0301a8c0@HAL9005> Looks good. Thanks. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin W Reid Sent: Monday, November 19, 2007 11:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Output to PDF Rocky http://www.granite.ab.ca/access/pdffiles.htm Martin Martin WP Reid Information Services Queen's University Riddel Hall 185 Stranmillis Road Belfast BT9 5EE Tel : 02890974465 Email : mwp.reid at qub.ac.uk ________________________________________ From: accessd-bounces at databaseadvisors.com [accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software [rockysmolin at bchacc.com] Sent: 19 November 2007 19:20 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Output to PDF Dear List: I have a client who wants to put a couple of reports out to PDF, attach them to emails and send them to customers. I have his copy of Acrobat 8 and have a couple of weeks left to figure out how to do this. I see, since installing it that I have references to Acrobat, Acrobat 3.0 Type Library, and Acrobat Distiller. Does anyone have a reference to how these objects work? Or maybe there's a simpler way? Ideally, I want to be able to name the output file and send it to a specific location so I can attach it to an email. 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.0/1137 - Release Date: 11/18/2007 5:15 PM From jwcolby at colbyconsulting.com Mon Nov 19 15:21:59 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 19 Nov 2007 16:21:59 -0500 Subject: [AccessD] Action Pack Subscribers In-Reply-To: References: <00d101c82ae2$784fcb90$6c7aa8c0@M90> Message-ID: <00d801c82af2$394d2b30$6c7aa8c0@M90> I have not taken any of the tests. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon Sent: Monday, November 19, 2007 3:42 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Action Pack Subscribers Thanks for that link John. I took the test after the course and passed, but never received a confirmation in e-mail. Did anyone else take it? Julie Reardon PRO-SOFT of NY, Inc. 44 Public Square, Suite 5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 NYS IT Contract#CMT026A NYS Certified Woman-Owned Business www.pro-soft.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 19, 2007 2:29 PM To: 'Access Developers discussion and problem solving'; dba-sqlserver at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Action Pack Subscribers For those of you doing Web stuff I just found this: https://partner.microsoft.com/us/40047166 John W. Colby Colby Consulting 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 iggy at nanaimo.ark.com Mon Nov 19 15:25:10 2007 From: iggy at nanaimo.ark.com (Tony Septav) Date: Mon, 19 Nov 2007 13:25:10 -0800 Subject: [AccessD] PDF Message-ID: <4741FF36.3050801@nanaimo.ark.com> Hey Rocky KISS Checkout Lebans Access Reports to PDF It is a beauty, been using it for years. From dw-murphy at cox.net Mon Nov 19 15:39:23 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Mon, 19 Nov 2007 13:39:23 -0800 Subject: [AccessD] Output to PDF In-Reply-To: <004701c82ae1$4abd7e80$0301a8c0@HAL9005> Message-ID: <004c01c82af4$a6d8ec00$0200a8c0@murphy3234aaf1> Rocky, Use Lebans Output to PDF. Works great and you can name files and store them in any directory you want. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 19, 2007 11:21 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Output to PDF Dear List: I have a client who wants to put a couple of reports out to PDF, attach them to emails and send them to customers. I have his copy of Acrobat 8 and have a couple of weeks left to figure out how to do this. I see, since installing it that I have references to Acrobat, Acrobat 3.0 Type Library, and Acrobat Distiller. Does anyone have a reference to how these objects work? Or maybe there's a simpler way? Ideally, I want to be able to name the output file and send it to a specific location so I can attach it to an email. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheygood at abestsystems.com Mon Nov 19 16:22:36 2007 From: bheygood at abestsystems.com (Bob Heygood) Date: Mon, 19 Nov 2007 14:22:36 -0800 Subject: [AccessD] Output to PDF In-Reply-To: <005c01c82aee$474f6df0$0301a8c0@HAL9005> References: <004701c82ae1$4abd7e80$0301a8c0@HAL9005><00ad01c82ae6$aad7e760$800101df@speedy> <005c01c82aee$474f6df0$0301a8c0@HAL9005> Message-ID: <00fb01c82afa$b048c9d0$800101df@speedy> Hey Rocky, Sure but I read 3.0 in your original.... "Acrobat 3.0 Type Library" Bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 19, 2007 12:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Output to PDF Acrobat 8 isn't the latest? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Monday, November 19, 2007 11:59 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Output to PDF Hey Rocky, The first thing I would do is to try to get them to upgrade to the latest version of Acrobat. Things only got easier as the product improved. If they won't spring for it, you may want to forgo Acrobat and try some shareware/less expensive solutions. Bob Heygood -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 19, 2007 11:21 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Output to PDF Dear List: I have a client who wants to put a couple of reports out to PDF, attach them to emails and send them to customers. I have his copy of Acrobat 8 and have a couple of weeks left to figure out how to do this. I see, since installing it that I have references to Acrobat, Acrobat 3.0 Type Library, and Acrobat Distiller. Does anyone have a reference to how these objects work? Or maybe there's a simpler way? Ideally, I want to be able to name the output file and send it to a specific location so I can attach it to an email. 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.0/1137 - Release Date: 11/18/2007 5:15 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Mon Nov 19 16:39:55 2007 From: actebs at actebs.com.au (ACTEBS) Date: Tue, 20 Nov 2007 09:39:55 +1100 Subject: [AccessD] Output to PDF In-Reply-To: <00fb01c82afa$b048c9d0$800101df@speedy> Message-ID: <007c01c82afd$1ba52780$0d08a8c0@carltonone.local> Rocky, Don't worry about using the full blown Acrobat. Use PDFCreator which is Open Source and has code samples available here: http://www.pdfforge.org/ Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Tuesday, 20 November 2007 9:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Output to PDF Hey Rocky, Sure but I read 3.0 in your original.... "Acrobat 3.0 Type Library" Bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 19, 2007 12:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Output to PDF Acrobat 8 isn't the latest? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Monday, November 19, 2007 11:59 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Output to PDF Hey Rocky, The first thing I would do is to try to get them to upgrade to the latest version of Acrobat. Things only got easier as the product improved. If they won't spring for it, you may want to forgo Acrobat and try some shareware/less expensive solutions. Bob Heygood -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 19, 2007 11:21 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Output to PDF Dear List: I have a client who wants to put a couple of reports out to PDF, attach them to emails and send them to customers. I have his copy of Acrobat 8 and have a couple of weeks left to figure out how to do this. I see, since installing it that I have references to Acrobat, Acrobat 3.0 Type Library, and Acrobat Distiller. Does anyone have a reference to how these objects work? Or maybe there's a simpler way? Ideally, I want to be able to name the output file and send it to a specific location so I can attach it to an email. 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.0/1137 - Release Date: 11/18/2007 5:15 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 19 17:05:22 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 19 Nov 2007 18:05:22 -0500 Subject: [AccessD] Disconnected Recordsets in 2007 Message-ID: <00f401c82b00$ad2cfc20$4b3a8343@SusanOne> Is there any substantial difference in using disconnected Recordsets from 2003 to 2007? Susan H. From wdhindman at dejpolsystems.com Mon Nov 19 17:35:25 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 19 Nov 2007 18:35:25 -0500 Subject: [AccessD] Output to PDF References: <004c01c82af4$a6d8ec00$0200a8c0@murphy3234aaf1> Message-ID: <002101c82b04$dd5ecbe0$ef706c4c@jisshowsbs.local> ...amen to Lebans ...its in every one of my apps ...combined with his RTF control and his Report to Word stuff, you can build a really nice combo ...and he actually supports his stuff in the MS news groups. William ----- Original Message ----- From: "Doug Murphy" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 19, 2007 4:39 PM Subject: Re: [AccessD] Output to PDF > Rocky, > > Use Lebans Output to PDF. Works great and you can name files and store > them > in any directory you want. > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Monday, November 19, 2007 11:21 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Output to PDF > > Dear List: > > I have a client who wants to put a couple of reports out to PDF, attach > them > to emails and send them to customers. I have his copy of Acrobat 8 and > have > a couple of weeks left to figure out how to do this. > > I see, since installing it that I have references to Acrobat, Acrobat 3.0 > Type Library, and Acrobat Distiller. Does anyone have a reference to how > these objects work? Or maybe there's a simpler way? > > Ideally, I want to be able to name the output file and send it to a > specific > location so I can attach it to an email. > > 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 rockysmolin at bchacc.com Mon Nov 19 18:01:47 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 19 Nov 2007 16:01:47 -0800 Subject: [AccessD] Output to PDF In-Reply-To: <00fb01c82afa$b048c9d0$800101df@speedy> References: <004701c82ae1$4abd7e80$0301a8c0@HAL9005><00ad01c82ae6$aad7e760$800101df@speedy><005c01c82aee$474f6df0$0301a8c0@HAL9005> <00fb01c82afa$b048c9d0$800101df@speedy> Message-ID: <007f01c82b08$8c390920$0301a8c0@HAL9005> O. That was in the references. They've got 8. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Monday, November 19, 2007 2:23 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Output to PDF Hey Rocky, Sure but I read 3.0 in your original.... "Acrobat 3.0 Type Library" Bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 19, 2007 12:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Output to PDF Acrobat 8 isn't the latest? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Monday, November 19, 2007 11:59 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Output to PDF Hey Rocky, The first thing I would do is to try to get them to upgrade to the latest version of Acrobat. Things only got easier as the product improved. If they won't spring for it, you may want to forgo Acrobat and try some shareware/less expensive solutions. Bob Heygood -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 19, 2007 11:21 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Output to PDF Dear List: I have a client who wants to put a couple of reports out to PDF, attach them to emails and send them to customers. I have his copy of Acrobat 8 and have a couple of weeks left to figure out how to do this. I see, since installing it that I have references to Acrobat, Acrobat 3.0 Type Library, and Acrobat Distiller. Does anyone have a reference to how these objects work? Or maybe there's a simpler way? Ideally, I want to be able to name the output file and send it to a specific location so I can attach it to an email. 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.0/1137 - Release Date: 11/18/2007 5:15 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.0/1137 - Release Date: 11/18/2007 5:15 PM From rockysmolin at bchacc.com Mon Nov 19 18:02:55 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 19 Nov 2007 16:02:55 -0800 Subject: [AccessD] Output to PDF In-Reply-To: <005d01c82aef$f642c360$0301a8c0@HAL9005> References: <004701c82ae1$4abd7e80$0301a8c0@HAL9005> <005d01c82aef$f642c360$0301a8c0@HAL9005> Message-ID: <008001c82b08$b44e9240$0301a8c0@HAL9005> And thank you to everyone else who's touting me on Lebans. I'm slow, but I'm teachable. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 19, 2007 1:06 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Output to PDF Looks good. Thanks. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin W Reid Sent: Monday, November 19, 2007 11:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Output to PDF Rocky http://www.granite.ab.ca/access/pdffiles.htm Martin Martin WP Reid Information Services Queen's University Riddel Hall 185 Stranmillis Road Belfast BT9 5EE Tel : 02890974465 Email : mwp.reid at qub.ac.uk ________________________________________ From: accessd-bounces at databaseadvisors.com [accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software [rockysmolin at bchacc.com] Sent: 19 November 2007 19:20 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Output to PDF Dear List: I have a client who wants to put a couple of reports out to PDF, attach them to emails and send them to customers. I have his copy of Acrobat 8 and have a couple of weeks left to figure out how to do this. I see, since installing it that I have references to Acrobat, Acrobat 3.0 Type Library, and Acrobat Distiller. Does anyone have a reference to how these objects work? Or maybe there's a simpler way? Ideally, I want to be able to name the output file and send it to a specific location so I can attach it to an email. 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.0/1137 - Release Date: 11/18/2007 5:15 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.0/1137 - Release Date: 11/18/2007 5:15 PM From jedi at charm.net Mon Nov 19 21:03:59 2007 From: jedi at charm.net (Michael Bahr) Date: Mon, 19 Nov 2007 22:03:59 -0500 (EST) Subject: [AccessD] OT: make volume bootable In-Reply-To: <00ad01c82ac4$b5604140$6c7aa8c0@M90> References: <00ad01c82ac4$b5604140$6c7aa8c0@M90> Message-ID: <1289.24.35.45.228.1195527839.squirrel@mail.expedient.net> Try this: 1. Navigate to the Disk Management console. 2. Right-click the grey 'Disk Description' pane that is located to the left of the Color-coded volume panes. 3. Select, Upgrade to Dynamic Disk.' Note you will have to reboot not once, but twice. If that does not work then reformat. Backup all your data then reformat. The big negative about RAID is that it is one-way. Once you set up as RAID you can not go back without lots of pain. Mike.. > I have a Windows 2003 server with an dedicated Areca raid controller. The > system disk C: is on the raid controller, however another pair of disks > are > somehow involved in the boot process. These two disks are talking (SATA) > directly to the motherboard SATA ports (using Raid1 via the motherboard > raid > controller), and to look at them there is nothing on them. However if I > disconnect these disks then the system gives the old "boot disk not found" > when the computer is reset. That implies that this pair of disks (a > single > Raid1 volume) contains boot files required to actually boot the computer > even though the C: drive itself is on the Areca controller. > > How do I set the C: drive to be the boot drive and contain whatever these > files are that are currently housed on this extra pair of disks? > > John W. Colby > Colby Consulting > www.ColbyConsulting.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 Nov 20 01:20:19 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 19 Nov 2007 23:20:19 -0800 Subject: [AccessD] A2K7 Navigation Pane Message-ID: <00df01c82b45$ced67c80$0301a8c0@HAL9005> Dear List: A client writes to ask if the Navigation Pane (which in his screen shot is on the left side of the screen) can be made to disappear through code. I don't have A2007 so I don't know. I guess this 'Navigation Pane' is something new in A2007? Is there a line of code that will turn the pane off? An if the user is running 2003 is suppose it would generate an error but I could precede the code to turn off the pane with On Error Resume Next? MTIA, Rocky From Gustav at cactus.dk Tue Nov 20 04:16:11 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 20 Nov 2007 11:16:11 +0100 Subject: [AccessD] Action Pack Subscribers Message-ID: Hi Julie This was discussed in the recent thread: "Action Pack, now with special edition toolkit for Web Solution Providers" http://databaseadvisors.com/pipermail/accessd/2007-October/055763.html I did take a test: http://databaseadvisors.com/pipermail/accessd/2007-October/055800.html As for the confirmation, step 4 at the tab "How to Get Your Toolkit" explains: Step 4: Order the Web Solutions Toolkit when you receive an email alert that it is available. For scheduled ship dates, visit the Standard Contents page. I guess you just have to trust that statement. /gustav >>> prosoft6 at hotmail.com 19-11-2007 21:42 >>> Thanks for that link John. I took the test after the course and passed, but never received a confirmation in e-mail. Did anyone else take it? Julie Reardon PRO-SOFT of NY, Inc. 44 Public Square, Suite 5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 NYS IT Contract#CMT026A NYS Certified Woman-Owned Business www.pro-soft.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 19, 2007 2:29 PM To: 'Access Developers discussion and problem solving'; dba-sqlserver at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Action Pack Subscribers For those of you doing Web stuff I just found this: https://partner.microsoft.com/us/40047166 John W. Colby Colby Consulting www.ColbyConsulting.com From jwcolby at colbyconsulting.com Tue Nov 20 07:58:04 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Nov 2007 08:58:04 -0500 Subject: [AccessD] Action Pack Subscribers In-Reply-To: References: Message-ID: <001601c82b7d$5fd01d40$6c7aa8c0@M90> Gustav / Julie, I think the link that I just posted is the notification of when it will be available? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, November 20, 2007 5:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Action Pack Subscribers Hi Julie This was discussed in the recent thread: "Action Pack, now with special edition toolkit for Web Solution Providers" http://databaseadvisors.com/pipermail/accessd/2007-October/055763.html I did take a test: http://databaseadvisors.com/pipermail/accessd/2007-October/055800.html As for the confirmation, step 4 at the tab "How to Get Your Toolkit" explains: Step 4: Order the Web Solutions Toolkit when you receive an email alert that it is available. For scheduled ship dates, visit the Standard Contents page. I guess you just have to trust that statement. /gustav >>> prosoft6 at hotmail.com 19-11-2007 21:42 >>> Thanks for that link John. I took the test after the course and passed, but never received a confirmation in e-mail. Did anyone else take it? Julie Reardon PRO-SOFT of NY, Inc. 44 Public Square, Suite 5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 NYS IT Contract#CMT026A NYS Certified Woman-Owned Business www.pro-soft.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 19, 2007 2:29 PM To: 'Access Developers discussion and problem solving'; dba-sqlserver at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Action Pack Subscribers For those of you doing Web stuff I just found this: https://partner.microsoft.com/us/40047166 John W. Colby Colby Consulting 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 Nov 20 08:12:51 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Nov 2007 09:12:51 -0500 Subject: [AccessD] Action Pack Subscribers In-Reply-To: References: Message-ID: <001701c82b7f$705dde20$6c7aa8c0@M90> What I am still trying to figure out is... is this a way to get the Visual Studio 2008 for "free"? IOW it does not come in the action pack but they will give it to action pack subscribers IS they take this test? That is how I got an additional copy of VS 2005, which I gave away as a door prize for the First Annual Greater Smokey Mountain AccessD conference. If I do this I guess I will have to keep this one since I don't have VS 2008. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, November 20, 2007 5:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Action Pack Subscribers Hi Julie This was discussed in the recent thread: "Action Pack, now with special edition toolkit for Web Solution Providers" http://databaseadvisors.com/pipermail/accessd/2007-October/055763.html I did take a test: http://databaseadvisors.com/pipermail/accessd/2007-October/055800.html As for the confirmation, step 4 at the tab "How to Get Your Toolkit" explains: Step 4: Order the Web Solutions Toolkit when you receive an email alert that it is available. For scheduled ship dates, visit the Standard Contents page. I guess you just have to trust that statement. /gustav >>> prosoft6 at hotmail.com 19-11-2007 21:42 >>> Thanks for that link John. I took the test after the course and passed, but never received a confirmation in e-mail. Did anyone else take it? Julie Reardon PRO-SOFT of NY, Inc. 44 Public Square, Suite 5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 NYS IT Contract#CMT026A NYS Certified Woman-Owned Business www.pro-soft.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 19, 2007 2:29 PM To: 'Access Developers discussion and problem solving'; dba-sqlserver at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Action Pack Subscribers For those of you doing Web stuff I just found this: https://partner.microsoft.com/us/40047166 John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Tue Nov 20 08:16:48 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 20 Nov 2007 09:16:48 -0500 Subject: [AccessD] Action Pack Subscribers References: <001701c82b7f$705dde20$6c7aa8c0@M90> Message-ID: <006f01c82b7f$ff129cf0$4b3a8343@SusanOne> Do you get the software even if you fail the test???????? ;) If anyone finds out, please let us know. I'll fail it, but I'll take it. :) Susan H. > What I am still trying to figure out is... is this a way to get the Visual > Studio 2008 for "free"? IOW it does not come in the action pack but they > will give it to action pack subscribers IS they take this test? That is > how > I got an additional copy of VS 2005, which I gave away as a door prize for > the First Annual Greater Smokey Mountain AccessD conference. If I do this > I > guess I will have to keep this one since I don't have VS 2008. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Tuesday, November 20, 2007 5:16 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Action Pack Subscribers > > Hi Julie > > This was discussed in the recent thread: > > "Action Pack, now with special edition toolkit for Web Solution Providers" > > http://databaseadvisors.com/pipermail/accessd/2007-October/055763.html > > I did take a test: > > http://databaseadvisors.com/pipermail/accessd/2007-October/055800.html > > As for the confirmation, step 4 at the tab "How to Get Your Toolkit" > explains: > > Step 4: > Order the Web Solutions Toolkit when you receive an email alert that it > is > available. > For scheduled ship dates, visit the Standard Contents page. > > I guess you just have to trust that statement. > > /gustav > >>>> prosoft6 at hotmail.com 19-11-2007 21:42 >>> > Thanks for that link John. I took the test after the course and passed, > but > never received a confirmation in e-mail. Did anyone else take it? > > Julie Reardon > PRO-SOFT of NY, Inc. > 44 Public Square, Suite 5 > Watertown, NY 13601 > Phone: 315.785.0319 > Fax: 315.785.0323 > NYS IT Contract#CMT026A > NYS Certified Woman-Owned Business > www.pro-soft.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, November 19, 2007 2:29 PM > To: 'Access Developers discussion and problem solving'; > dba-sqlserver at databaseadvisors.com; dba-vb at databaseadvisors.com > Subject: [AccessD] Action Pack Subscribers > > For those of you doing Web stuff I just found this: > > https://partner.microsoft.com/us/40047166 > > John W. Colby > Colby Consulting > 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 Tue Nov 20 08:47:02 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Nov 2007 09:47:02 -0500 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <006f01c82b7f$ff129cf0$4b3a8343@SusanOne> References: <001701c82b7f$705dde20$6c7aa8c0@M90> <006f01c82b7f$ff129cf0$4b3a8343@SusanOne> Message-ID: <001801c82b84$36caffd0$6c7aa8c0@M90> LOL, I doubt it. But as Gustav indicated you can just go take the test again. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, November 20, 2007 9:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Action Pack Subscribers Do you get the software even if you fail the test???????? ;) If anyone finds out, please let us know. I'll fail it, but I'll take it. :) Susan H. > What I am still trying to figure out is... is this a way to get the > Visual Studio 2008 for "free"? IOW it does not come in the action > pack but they will give it to action pack subscribers IS they take > this test? That is how I got an additional copy of VS 2005, which I > gave away as a door prize for the First Annual Greater Smokey Mountain > AccessD conference. If I do this I guess I will have to keep this one > since I don't have VS 2008. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > Brock > Sent: Tuesday, November 20, 2007 5:16 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Action Pack Subscribers > > Hi Julie > > This was discussed in the recent thread: > > "Action Pack, now with special edition toolkit for Web Solution Providers" > > http://databaseadvisors.com/pipermail/accessd/2007-October/055763.html > > I did take a test: > > http://databaseadvisors.com/pipermail/accessd/2007-October/055800.html > > As for the confirmation, step 4 at the tab "How to Get Your Toolkit" > explains: > > Step 4: > Order the Web Solutions Toolkit when you receive an email alert that > it is available. > For scheduled ship dates, visit the Standard Contents page. > > I guess you just have to trust that statement. > > /gustav > >>>> prosoft6 at hotmail.com 19-11-2007 21:42 >>> > Thanks for that link John. I took the test after the course and > passed, but never received a confirmation in e-mail. Did anyone else > take it? > > Julie Reardon > PRO-SOFT of NY, Inc. > 44 Public Square, Suite 5 > Watertown, NY 13601 > Phone: 315.785.0319 > Fax: 315.785.0323 > NYS IT Contract#CMT026A > NYS Certified Woman-Owned Business > www.pro-soft.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, November 19, 2007 2:29 PM > To: 'Access Developers discussion and problem solving'; > dba-sqlserver at databaseadvisors.com; dba-vb at databaseadvisors.com > Subject: [AccessD] Action Pack Subscribers > > For those of you doing Web stuff I just found this: > > https://partner.microsoft.com/us/40047166 > > John W. Colby > Colby Consulting > 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Tue Nov 20 09:12:51 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 20 Nov 2007 10:12:51 -0500 Subject: [AccessD] Action Pack Subscribers References: <001701c82b7f$705dde20$6c7aa8c0@M90><006f01c82b7f$ff129cf0$4b3a8343@SusanOne> <001801c82b84$36caffd0$6c7aa8c0@M90> Message-ID: <00b001c82b87$d441a3b0$4b3a8343@SusanOne> Yeah, in my spare time. :) Today, I'm caring for a sick grandbaby, just a few days away from the big T day -- so many opportunities, so little time. :) Right now, she is transferring dry dog food from bowls to the top of my cpu tower -- not sure why, but she's singing, so I think I'll leave her alone and just hope no crumbs wiggle their way into the casing. Now, if I could just keep socks on her... Susan H. > LOL, I doubt it. But as Gustav indicated you can just go take the test > again. From jwcolby at colbyconsulting.com Tue Nov 20 09:23:40 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Nov 2007 10:23:40 -0500 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <00b001c82b87$d441a3b0$4b3a8343@SusanOne> References: <001701c82b7f$705dde20$6c7aa8c0@M90><006f01c82b7f$ff129cf0$4b3a8343@SusanOne><001801c82b84$36caffd0$6c7aa8c0@M90> <00b001c82b87$d441a3b0$4b3a8343@SusanOne> Message-ID: <001901c82b89$54b04050$6c7aa8c0@M90> LOL. You don't even want to put a spare bowl or plate next to my daughter while she is eating or she will digress into transferring the food back and forth. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, November 20, 2007 10:13 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Action Pack Subscribers Yeah, in my spare time. :) Today, I'm caring for a sick grandbaby, just a few days away from the big T day -- so many opportunities, so little time. :) Right now, she is transferring dry dog food from bowls to the top of my cpu tower -- not sure why, but she's singing, so I think I'll leave her alone and just hope no crumbs wiggle their way into the casing. Now, if I could just keep socks on her... Susan H. > LOL, I doubt it. But as Gustav indicated you can just go take the > test again. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Tue Nov 20 09:45:49 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 20 Nov 2007 10:45:49 -0500 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <006f01c82b7f$ff129cf0$4b3a8343@SusanOne> References: <001701c82b7f$705dde20$6c7aa8c0@M90> <006f01c82b7f$ff129cf0$4b3a8343@SusanOne> Message-ID: <009e01c82b8c$6cf6d270$8abea8c0@XPS> <> No as you are not eligible for an Action Pack Subscription. Their trying to clear out the deadwood like me. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, November 20, 2007 9:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Action Pack Subscribers Do you get the software even if you fail the test???????? ;) If anyone finds out, please let us know. I'll fail it, but I'll take it. :) Susan H. > What I am still trying to figure out is... is this a way to get the Visual > Studio 2008 for "free"? IOW it does not come in the action pack but they > will give it to action pack subscribers IS they take this test? That is > how > I got an additional copy of VS 2005, which I gave away as a door prize for > the First Annual Greater Smokey Mountain AccessD conference. If I do this > I > guess I will have to keep this one since I don't have VS 2008. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Tuesday, November 20, 2007 5:16 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Action Pack Subscribers > > Hi Julie > > This was discussed in the recent thread: > > "Action Pack, now with special edition toolkit for Web Solution Providers" > > http://databaseadvisors.com/pipermail/accessd/2007-October/055763.html > > I did take a test: > > http://databaseadvisors.com/pipermail/accessd/2007-October/055800.html > > As for the confirmation, step 4 at the tab "How to Get Your Toolkit" > explains: > > Step 4: > Order the Web Solutions Toolkit when you receive an email alert that it > is > available. > For scheduled ship dates, visit the Standard Contents page. > > I guess you just have to trust that statement. > > /gustav > >>>> prosoft6 at hotmail.com 19-11-2007 21:42 >>> > Thanks for that link John. I took the test after the course and passed, > but > never received a confirmation in e-mail. Did anyone else take it? > > Julie Reardon > PRO-SOFT of NY, Inc. > 44 Public Square, Suite 5 > Watertown, NY 13601 > Phone: 315.785.0319 > Fax: 315.785.0323 > NYS IT Contract#CMT026A > NYS Certified Woman-Owned Business > www.pro-soft.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, November 19, 2007 2:29 PM > To: 'Access Developers discussion and problem solving'; > dba-sqlserver at databaseadvisors.com; dba-vb at databaseadvisors.com > Subject: [AccessD] Action Pack Subscribers > > For those of you doing Web stuff I just found this: > > https://partner.microsoft.com/us/40047166 > > John W. Colby > Colby Consulting > 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Tue Nov 20 09:54:50 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 20 Nov 2007 10:54:50 -0500 Subject: [AccessD] Action Pack Subscribers References: <001701c82b7f$705dde20$6c7aa8c0@M90><006f01c82b7f$ff129cf0$4b3a8343@SusanOne> <009e01c82b8c$6cf6d270$8abea8c0@XPS> Message-ID: <000401c82b8d$b1960080$4b3a8343@SusanOne> > No as you are not eligible for an Action Pack Subscription. Their trying > to clear out the deadwood like me. ======Deadwood? What does that even mean? If I don't have the software, I can't learn how to use it properly. Are they trying to weed out those that use it badly?????? If they limit the software to only those that know what they're doing, aren't they reducing their market? Susan H. From garykjos at gmail.com Tue Nov 20 10:15:09 2007 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 20 Nov 2007 10:15:09 -0600 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <000401c82b8d$b1960080$4b3a8343@SusanOne> References: <001701c82b7f$705dde20$6c7aa8c0@M90> <006f01c82b7f$ff129cf0$4b3a8343@SusanOne> <009e01c82b8c$6cf6d270$8abea8c0@XPS> <000401c82b8d$b1960080$4b3a8343@SusanOne> Message-ID: They have tightened the requirements for the Action Pack over the past couple years. I am still eligible although barely. I had to supply them with a company name last year or they wouldn't allow me to continue to buy it. Now they are instituting a training requirement. And you have to be a "Microsoft Partner". Then it is open to Resellers Technology Consultants Value-added Technology Partners System Integrators Developers System Builders Still pretty open I guess as those cover a lot of ground. GK On 11/20/07, Susan Harkins wrote: > > No as you are not eligible for an Action Pack Subscription. Their trying > > to clear out the deadwood like me. > > ======Deadwood? What does that even mean? If I don't have the software, I > can't learn how to use it properly. Are they trying to weed out those that > use it badly?????? If they limit the software to only those that know what > they're doing, aren't they reducing their market? > > Susan H. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From ssharkins at gmail.com Tue Nov 20 10:27:56 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 20 Nov 2007 11:27:56 -0500 Subject: [AccessD] Action Pack Subscribers References: <001701c82b7f$705dde20$6c7aa8c0@M90><006f01c82b7f$ff129cf0$4b3a8343@SusanOne><009e01c82b8c$6cf6d270$8abea8c0@XPS><000401c82b8d$b1960080$4b3a8343@SusanOne> Message-ID: <002901c82b92$51c7fe60$4b3a8343@SusanOne> > They have tightened the requirements for the Action Pack over the past > couple years. I am still eligible although barely. I had to supply > them with a company name last year or they wouldn't allow me to > continue to buy it. Now they are instituting a training requirement. > > And you have to be a "Microsoft Partner". Then it is open to > > Resellers > Technology Consultants > Value-added Technology Partners > System Integrators > Developers > System Builders =========Gotta be a partner too? Lets me out. Of course, I'm not interested in the Action Pack -- just a few pieces of updated software. Most of the time, I can get them from publishers if I really need them though. I jump through too many hoops as it is. I'm sure the logic of all this makes sense to them. If I weren't so old, I'd shift to non-Microsoft products, but at this stage of life and my career, I don't want to learn new technologies from the ground floor. Susan H. From garykjos at gmail.com Tue Nov 20 10:46:11 2007 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 20 Nov 2007 10:46:11 -0600 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <002901c82b92$51c7fe60$4b3a8343@SusanOne> References: <001701c82b7f$705dde20$6c7aa8c0@M90> <006f01c82b7f$ff129cf0$4b3a8343@SusanOne> <009e01c82b8c$6cf6d270$8abea8c0@XPS> <000401c82b8d$b1960080$4b3a8343@SusanOne> <002901c82b92$51c7fe60$4b3a8343@SusanOne> Message-ID: Being a partner is just a matter of signing up to be a partner. Not a big deal. It's $300 or so a year to subscribe. Includes 10 licenses to Office and Windows and one each to the server OS's and back end stuff like Exchange. You are not supposed to be using it to run your business though. Supposed to be used to learn and demonstrate to customers and to practice installing if you are a system builder. GK On 11/20/07, Susan Harkins wrote: > > > > They have tightened the requirements for the Action Pack over the past > > couple years. I am still eligible although barely. I had to supply > > them with a company name last year or they wouldn't allow me to > > continue to buy it. Now they are instituting a training requirement. > > > > And you have to be a "Microsoft Partner". Then it is open to > > > > Resellers > > Technology Consultants > > Value-added Technology Partners > > System Integrators > > Developers > > System Builders > > =========Gotta be a partner too? Lets me out. Of course, I'm not interested > in the Action Pack -- just a few pieces of updated software. Most of the > time, I can get them from publishers if I really need them though. > > I jump through too many hoops as it is. I'm sure the logic of all this makes > sense to them. If I weren't so old, I'd shift to non-Microsoft products, but > at this stage of life and my career, I don't want to learn new technologies > from the ground floor. > > Susan H. -- Gary Kjos garykjos at gmail.com From Gustav at cactus.dk Tue Nov 20 11:02:18 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 20 Nov 2007 18:02:18 +0100 Subject: [AccessD] Action Pack Subscribers Message-ID: Hi Jim and Susan > .. as you are not eligible for an Action Pack Subscription. You may be. Read again here: http://databaseadvisors.com/pipermail/accessd/2007-October/055800.html /gustav >>> jimdettman at verizon.net 20-11-2007 16:45 >>> <> No as you are not eligible for an Action Pack Subscription. Their trying to clear out the deadwood like me. Jim. From cfoust at infostatsystems.com Tue Nov 20 11:10:31 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 20 Nov 2007 09:10:31 -0800 Subject: [AccessD] A2K7 Navigation Pane In-Reply-To: <00df01c82b45$ced67c80$0301a8c0@HAL9005> References: <00df01c82b45$ced67c80$0301a8c0@HAL9005> Message-ID: If he's talking about the panel on the left in design view, then he's pretty much out of luck, since that's the replacement for the database window in 2007. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 19, 2007 11:20 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2K7 Navigation Pane Dear List: A client writes to ask if the Navigation Pane (which in his screen shot is on the left side of the screen) can be made to disappear through code. I don't have A2007 so I don't know. I guess this 'Navigation Pane' is something new in A2007? Is there a line of code that will turn the pane off? An if the user is running 2003 is suppose it would generate an error but I could precede the code to turn off the pane with On Error Resume Next? MTIA, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Nov 20 11:09:08 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Nov 2007 12:09:08 -0500 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <002901c82b92$51c7fe60$4b3a8343@SusanOne> References: <001701c82b7f$705dde20$6c7aa8c0@M90><006f01c82b7f$ff129cf0$4b3a8343@SusanOne><009e01c82b8c$6cf6d270$8abea8c0@XPS><000401c82b8d$b1960080$4b3a8343@SusanOne> <002901c82b92$51c7fe60$4b3a8343@SusanOne> Message-ID: <002801c82b98$10e16750$6c7aa8c0@M90> It is worth the bucks to me. I have three servers and three laptops and I use the software to host SQL Server 2005 on the servers as well as office for all of my computers. I have two machines running Server 2003 with SQL Server 2005, and 5 computers running XP Pro. I am supposed to migrate all of those XP machines to Vista but it would destroy my life doing so. I also run Office 2003 on three machines regularly and have installed 2007 to start playing with and get used to. All told it would cost me a thousand or two more than I pay for the software I use so I do the action pack. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, November 20, 2007 11:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Action Pack Subscribers > They have tightened the requirements for the Action Pack over the past > couple years. I am still eligible although barely. I had to supply > them with a company name last year or they wouldn't allow me to > continue to buy it. Now they are instituting a training requirement. > > And you have to be a "Microsoft Partner". Then it is open to > > Resellers > Technology Consultants > Value-added Technology Partners > System Integrators > Developers > System Builders =========Gotta be a partner too? Lets me out. Of course, I'm not interested in the Action Pack -- just a few pieces of updated software. Most of the time, I can get them from publishers if I really need them though. I jump through too many hoops as it is. I'm sure the logic of all this makes sense to them. If I weren't so old, I'd shift to non-Microsoft products, but at this stage of life and my career, I don't want to learn new technologies from the ground floor. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Nov 20 11:11:15 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Nov 2007 12:11:15 -0500 Subject: [AccessD] Action Pack Subscribers In-Reply-To: References: <001701c82b7f$705dde20$6c7aa8c0@M90><006f01c82b7f$ff129cf0$4b3a8343@SusanOne><009e01c82b8c$6cf6d270$8abea8c0@XPS><000401c82b8d$b1960080$4b3a8343@SusanOne><002901c82b92$51c7fe60$4b3a8343@SusanOne> Message-ID: <002d01c82b98$5c455490$6c7aa8c0@M90> Gary, AFAICT you ARE allowed (and encouraged) to use it to run your business, what you are not supposed to do is use it to host commercial applications like web sites, client stuff etc. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Tuesday, November 20, 2007 11:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Action Pack Subscribers Being a partner is just a matter of signing up to be a partner. Not a big deal. It's $300 or so a year to subscribe. Includes 10 licenses to Office and Windows and one each to the server OS's and back end stuff like Exchange. You are not supposed to be using it to run your business though. Supposed to be used to learn and demonstrate to customers and to practice installing if you are a system builder. GK On 11/20/07, Susan Harkins wrote: > > > > They have tightened the requirements for the Action Pack over the > > past couple years. I am still eligible although barely. I had to > > supply them with a company name last year or they wouldn't allow me > > to continue to buy it. Now they are instituting a training requirement. > > > > And you have to be a "Microsoft Partner". Then it is open to > > > > Resellers > > Technology Consultants > > Value-added Technology Partners > > System Integrators > > Developers > > System Builders > > =========Gotta be a partner too? Lets me out. Of course, I'm not > interested in the Action Pack -- just a few pieces of updated > software. Most of the time, I can get them from publishers if I really need them though. > > I jump through too many hoops as it is. I'm sure the logic of all this > makes sense to them. If I weren't so old, I'd shift to non-Microsoft > products, but at this stage of life and my career, I don't want to > learn new technologies from the ground floor. > > Susan H. -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Nov 20 11:13:58 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 20 Nov 2007 09:13:58 -0800 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <002901c82b92$51c7fe60$4b3a8343@SusanOne> References: <001701c82b7f$705dde20$6c7aa8c0@M90><006f01c82b7f$ff129cf0$4b3a8343@SusanOne><009e01c82b8c$6cf6d270$8abea8c0@XPS><000401c82b8d$b1960080$4b3a8343@SusanOne> <002901c82b92$51c7fe60$4b3a8343@SusanOne> Message-ID: Susan, You can be a partner without being a "certified" partner. I'm an associate partner, but I don't subscribe to the action pack for various reasons. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, November 20, 2007 8:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Action Pack Subscribers > They have tightened the requirements for the Action Pack over the past > couple years. I am still eligible although barely. I had to supply > them with a company name last year or they wouldn't allow me to > continue to buy it. Now they are instituting a training requirement. > > And you have to be a "Microsoft Partner". Then it is open to > > Resellers > Technology Consultants > Value-added Technology Partners > System Integrators > Developers > System Builders =========Gotta be a partner too? Lets me out. Of course, I'm not interested in the Action Pack -- just a few pieces of updated software. Most of the time, I can get them from publishers if I really need them though. I jump through too many hoops as it is. I'm sure the logic of all this makes sense to them. If I weren't so old, I'd shift to non-Microsoft products, but at this stage of life and my career, I don't want to learn new technologies from the ground floor. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Nov 20 11:28:54 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Nov 2007 12:28:54 -0500 Subject: [AccessD] OT: make volume bootable In-Reply-To: <1289.24.35.45.228.1195527839.squirrel@mail.expedient.net> References: <00ad01c82ac4$b5604140$6c7aa8c0@M90> <1289.24.35.45.228.1195527839.squirrel@mail.expedient.net> Message-ID: <002e01c82b9a$d3c83350$6c7aa8c0@M90> Michael, I am not sure I understand. I have a system with the OS itself on a raid drive, running on a dedicated raid controller card. That works exactly as expected and I like it - raid 6 protection etc. I also have a pair of older drives which probably (the details are hazy now) had the OS on them originally, which run off of the raid controller on the motherboard. These two disks form a raid 1 array (mirrored) with nothing visible on it, and yes I have told windows explorer to show system and hidden files. However if I disconnect these two older drives from the motherboard (remove power or remove the SATA connector) windows does not boot. IIRC there is a master boot record that is written to a drive that is where windows goes for the very first "bootstrap" code. It then tells windows where the rest of the OS is located. I thought there was a "sys" command (in the old days anyway) that would write this master boot record and perhaps a couple of other files to a hard disk and that you could just "sys" a drive to make it the drive with that MBR stuff. If I can do that to the C: drive on the Areca dedicated raid card then I could boot directly off of that C: drive and get rid of these two older drives. If they ever fail I am doomed. Yea they are raid one but I do NOT want to be trying to rebuild a mirror just for some hidden MBR that should have been moved long ago. Unfortunately I do not know as much about that stuff as I once did and have so far been unable to discover how to change from "booting" off these older drives to booting off the new. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael Bahr Sent: Monday, November 19, 2007 10:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: make volume bootable Try this: 1. Navigate to the Disk Management console. 2. Right-click the grey 'Disk Description' pane that is located to the left of the Color-coded volume panes. 3. Select, Upgrade to Dynamic Disk.' Note you will have to reboot not once, but twice. If that does not work then reformat. Backup all your data then reformat. The big negative about RAID is that it is one-way. Once you set up as RAID you can not go back without lots of pain. Mike.. > I have a Windows 2003 server with an dedicated Areca raid controller. > The system disk C: is on the raid controller, however another pair of > disks are somehow involved in the boot process. These two disks are > talking (SATA) directly to the motherboard SATA ports (using Raid1 via > the motherboard raid controller), and to look at them there is nothing > on them. However if I disconnect these disks then the system gives > the old "boot disk not found" > when the computer is reset. That implies that this pair of disks (a > single > Raid1 volume) contains boot files required to actually boot the > computer even though the C: drive itself is on the Areca controller. > > How do I set the C: drive to be the boot drive and contain whatever > these files are that are currently housed on this extra pair of disks? > > John W. Colby > Colby Consulting > 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 garykjos at gmail.com Tue Nov 20 11:30:08 2007 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 20 Nov 2007 11:30:08 -0600 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <002d01c82b98$5c455490$6c7aa8c0@M90> References: <001701c82b7f$705dde20$6c7aa8c0@M90> <006f01c82b7f$ff129cf0$4b3a8343@SusanOne> <009e01c82b8c$6cf6d270$8abea8c0@XPS> <000401c82b8d$b1960080$4b3a8343@SusanOne> <002901c82b92$51c7fe60$4b3a8343@SusanOne> <002d01c82b98$5c455490$6c7aa8c0@M90> Message-ID: Hi John, You are interpretting the statement differently than I then.... "The software products that are included with the subscription are NFD versions. You can use them only for testing, evaluation, demonstration, training, and educational purposes. For example, you can use the Action Pack software to host your company's intranet but the software cannot be used to host a commercial Web site. This is considered a production environment that is outside the scope of the software's intended purpose." and Item (b) below under reasons for termination.... This is an excerpt from the agreement: Subscription Term and Termination. The term of this Subscription is one (1) year from the date you purchase the Subscription. It is important that you maintain properly licensed Microsoft products. You agree that Microsoft may terminate this Agreement, without prejudice to any other rights or remedies, at any time without prior written notice to you in the event that you: (a) Violate the End User License Agreements accompanying Microsoft products; (b) Resell, transfer, or use the Microsoft Action Pack Subscription Product Licenses for any purpose other than demonstration, testing, education, or evaluation; or (c) Engage in, or participate with any third party in, the unauthorized manufacture, duplication, distribution or use of any Microsoft products or otherwise infringe any other intellectual property right of Microsoft. (d) Upon expiration or earlier termination of this Agreement, you agree to immediately cease use of and to destroy all copies of any Microsoft Products provided with or licensed under the Subscription, including but not limited to, all Not for Retail Distribution software media and all Microsoft Action Pack Subscription Product License copies. From: http://support.microsoft.com/kb/312310 GK On 11/20/07, jwcolby wrote: > Gary, > > AFAICT you ARE allowed (and encouraged) to use it to run your business, what > you are not supposed to do is use it to host commercial applications like > web sites, client stuff etc. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com -- Gary Kjos garykjos at gmail.com From Patricia.O'Connor at otda.state.ny.us Tue Nov 20 11:34:06 2007 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Tue, 20 Nov 2007 12:34:06 -0500 Subject: [AccessD] Populate field with userid Environ A97 vs A2k+ In-Reply-To: <001c01c82977$4811c3f0$5ec2f63f@JELaptop> References: <004a01c8274a$4156f460$4cc2f63f@JELaptop><001901c82798$4e771b40$75010a0a@lcmdv8000><010a01c828a8$80a4cd40$33c2f63f@JELaptop><473F473D.50403@mvps.org> <001c01c82977$4811c3f0$5ec2f63f@JELaptop> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BB0FD@EXCNYSM0A1AI.nysemail.nyenet> I am upgrading an Access97 to Access2k to Access2k3. I know about having to create a function to use it in A2k and A2k3 (GRRR) I have been using =Environ("UserName") to populate a field (LastUpdtBy) in a new record in my A97-tables for years. I created the function that was recommended and it works in my vb/vba code portions. It is not working in the table field default. Gives me the runtime error # 3388 "unknown function 'Environ'. Is there a workaround? If there is one in the archives, please send a complete link. I have tried finding something suggested in mails but can't find them easily. I still think this ban was ridiculous or at least they should have created a valid totally useable workaround Thanks - Have a wonderful Thanksgiving ALL Patti ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. From ssharkins at gmail.com Tue Nov 20 11:50:02 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 20 Nov 2007 12:50:02 -0500 Subject: [AccessD] Action Pack Subscribers References: <001701c82b7f$705dde20$6c7aa8c0@M90><006f01c82b7f$ff129cf0$4b3a8343@SusanOne><009e01c82b8c$6cf6d270$8abea8c0@XPS><000401c82b8d$b1960080$4b3a8343@SusanOne><002901c82b92$51c7fe60$4b3a8343@SusanOne> Message-ID: <00c101c82b9d$ca1c6ee0$4b3a8343@SusanOne> I haven't gone through the process, but the information suggests you must be part of an "organization" -- any loners out there who are partners? How did you fill in the organization holes? I could make something up, but I'd rather not. Susan H. > Susan, > > You can be a partner without being a "certified" partner. I'm an > associate partner, but I don't subscribe to the action pack for various > reasons. From rockysmolin at bchacc.com Tue Nov 20 11:55:42 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 20 Nov 2007 09:55:42 -0800 Subject: [AccessD] A2K7 Navigation Pane In-Reply-To: References: <00df01c82b45$ced67c80$0301a8c0@HAL9005> Message-ID: <004101c82b9e$91e12e20$0301a8c0@HAL9005> Apparently it's in form view as well. So no way to turn it off in form view? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 20, 2007 9:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K7 Navigation Pane If he's talking about the panel on the left in design view, then he's pretty much out of luck, since that's the replacement for the database window in 2007. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 19, 2007 11:20 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2K7 Navigation Pane Dear List: A client writes to ask if the Navigation Pane (which in his screen shot is on the left side of the screen) can be made to disappear through code. I don't have A2007 so I don't know. I guess this 'Navigation Pane' is something new in A2007? Is there a line of code that will turn the pane off? An if the user is running 2003 is suppose it would generate an error but I could precede the code to turn off the pane with On Error Resume Next? 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.1/1140 - Release Date: 11/19/2007 7:05 PM From jwcolby at colbyconsulting.com Tue Nov 20 11:58:45 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Nov 2007 12:58:45 -0500 Subject: [AccessD] Action Pack Subscribers In-Reply-To: References: <001701c82b7f$705dde20$6c7aa8c0@M90><006f01c82b7f$ff129cf0$4b3a8343@SusanOne><009e01c82b8c$6cf6d270$8abea8c0@XPS><000401c82b8d$b1960080$4b3a8343@SusanOne><002901c82b92$51c7fe60$4b3a8343@SusanOne><002d01c82b98$5c455490$6c7aa8c0@M90> Message-ID: <002f01c82b9e$ff4d1cd0$6c7aa8c0@M90> https://partner.microsoft.com/global/40047166 Step 3: Take your business to new levels by signing up for the Microsoft Action Pack Subscription. Your subscription offers a full suite of Microsoft not-for-distribution (NFD) software to help you run your business, train your staff, and demonstrate your Web-based solutions to your business customers. RUN YOUR BUSINESS... and https://partner.microsoft.com/global/program/managemembership/actionpack/map slicensing The Microsoft Action Pack Subscription License Agreement gives you the right to use the Action Pack software to run your own business as well as for evaluation, demonstration, testing, training, and education. They are not for personal use, for hosting customer applications, or for installation at a customer site. They may not be resold, transferred, or assigned to any third party. Again, RUN YOUR OWN BUSINESS. I think it is pretty clear that we can use it for business purposes. Putting one of the licenses on your child's computer is no doubt illegal. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Tuesday, November 20, 2007 12:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Action Pack Subscribers Hi John, You are interpretting the statement differently than I then.... GK From jwcolby at colbyconsulting.com Tue Nov 20 12:00:19 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Nov 2007 13:00:19 -0500 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <00c101c82b9d$ca1c6ee0$4b3a8343@SusanOne> References: <001701c82b7f$705dde20$6c7aa8c0@M90><006f01c82b7f$ff129cf0$4b3a8343@SusanOne><009e01c82b8c$6cf6d270$8abea8c0@XPS><000401c82b8d$b1960080$4b3a8343@SusanOne><002901c82b92$51c7fe60$4b3a8343@SusanOne> <00c101c82b9d$ca1c6ee0$4b3a8343@SusanOne> Message-ID: <003001c82b9f$3730ab30$6c7aa8c0@M90> Susan, I am a Sole Proprietorship business. It cost me about $25 to file the paperwork with the county. As such I am Colby Consulting, a licensed business. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, November 20, 2007 12:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Action Pack Subscribers I haven't gone through the process, but the information suggests you must be part of an "organization" -- any loners out there who are partners? How did you fill in the organization holes? I could make something up, but I'd rather not. Susan H. > Susan, > > You can be a partner without being a "certified" partner. I'm an > associate partner, but I don't subscribe to the action pack for > various reasons. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Tue Nov 20 12:04:18 2007 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 20 Nov 2007 12:04:18 -0600 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <00c101c82b9d$ca1c6ee0$4b3a8343@SusanOne> References: <001701c82b7f$705dde20$6c7aa8c0@M90> <006f01c82b7f$ff129cf0$4b3a8343@SusanOne> <009e01c82b8c$6cf6d270$8abea8c0@XPS> <000401c82b8d$b1960080$4b3a8343@SusanOne> <002901c82b92$51c7fe60$4b3a8343@SusanOne> <00c101c82b9d$ca1c6ee0$4b3a8343@SusanOne> Message-ID: I am my own organization. I now am called "Gary Kjos Consulting" since they needed a company name. But I don't have any officaly incorporated company of that name. I do occaisional consulting work is all and have done them without a company name but last year when I renewed they required me to have a company name other than my own name. So i added Consulting and they were good with that. GK On 11/20/07, Susan Harkins wrote: > I haven't gone through the process, but the information suggests you must be > part of an "organization" -- any loners out there who are partners? How did > you fill in the organization holes? I could make something up, but I'd > rather not. > > Susan H. > > > > Susan, > > > > You can be a partner without being a "certified" partner. I'm an > > associate partner, but I don't subscribe to the action pack for various > > reasons. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From garykjos at gmail.com Tue Nov 20 12:05:59 2007 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 20 Nov 2007 12:05:59 -0600 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <002f01c82b9e$ff4d1cd0$6c7aa8c0@M90> References: <006f01c82b7f$ff129cf0$4b3a8343@SusanOne> <009e01c82b8c$6cf6d270$8abea8c0@XPS> <000401c82b8d$b1960080$4b3a8343@SusanOne> <002901c82b92$51c7fe60$4b3a8343@SusanOne> <002d01c82b98$5c455490$6c7aa8c0@M90> <002f01c82b9e$ff4d1cd0$6c7aa8c0@M90> Message-ID: Works for me. I sit corrected. GK On 11/20/07, jwcolby wrote: > > https://partner.microsoft.com/global/40047166 > > Step 3: Take your business to new levels by signing up for the Microsoft > Action Pack Subscription. Your subscription offers a full suite of Microsoft > not-for-distribution (NFD) software to help you run your business, train > your staff, and demonstrate your Web-based solutions to your business > customers. > > RUN YOUR BUSINESS... > > and > > https://partner.microsoft.com/global/program/managemembership/actionpack/map > slicensing > > The Microsoft Action Pack Subscription License Agreement gives you the right > to use the Action Pack software to run your own business as well as for > evaluation, demonstration, testing, training, and education. They are not > for personal use, for hosting customer applications, or for installation at > a customer site. They may not be resold, transferred, or assigned to any > third party. > > Again, RUN YOUR OWN BUSINESS. > > I think it is pretty clear that we can use it for business purposes. > Putting one of the licenses on your child's computer is no doubt illegal. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: Tuesday, November 20, 2007 12:30 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Action Pack Subscribers > > Hi John, > > You are interpretting the statement differently than I then.... > > GK > -- Gary Kjos garykjos at gmail.com From cfoust at infostatsystems.com Tue Nov 20 12:14:59 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 20 Nov 2007 10:14:59 -0800 Subject: [AccessD] A2K7 Navigation Pane In-Reply-To: <004101c82b9e$91e12e20$0301a8c0@HAL9005> References: <00df01c82b45$ced67c80$0301a8c0@HAL9005> <004101c82b9e$91e12e20$0301a8c0@HAL9005> Message-ID: Yuck, I haven't worked with the beast enough to know. Can you switch him over to VB.Net?? LOL I know there's some kind of draconian method to get the old pre-2007 look in Office, so that may apply to Access as well, but I haven't pursued it to find out. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, November 20, 2007 9:56 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2K7 Navigation Pane Apparently it's in form view as well. So no way to turn it off in form view? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 20, 2007 9:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K7 Navigation Pane If he's talking about the panel on the left in design view, then he's pretty much out of luck, since that's the replacement for the database window in 2007. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 19, 2007 11:20 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2K7 Navigation Pane Dear List: A client writes to ask if the Navigation Pane (which in his screen shot is on the left side of the screen) can be made to disappear through code. I don't have A2007 so I don't know. I guess this 'Navigation Pane' is something new in A2007? Is there a line of code that will turn the pane off? An if the user is running 2003 is suppose it would generate an error but I could precede the code to turn off the pane with On Error Resume Next? 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.1/1140 - Release Date: 11/19/2007 7:05 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Tue Nov 20 12:19:49 2007 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 20 Nov 2007 12:19:49 -0600 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <00c101c82b9d$ca1c6ee0$4b3a8343@SusanOne> Message-ID: <20071120182010.CFD4924D6B@smtp-out-01.usinternet.com> Hi Susan, I am a Registered Partner (lowest level). It's no charge - I just get some emails that are sometimes useful. I've also been able to use my status to get into two different launch events, and acquire a lot of free software. Office, Visio, Project, OneNote, Sharepoint, Developer Extensions, etc. When I filled in their form, I just filled in the blanks. They're just asking for information which shows that you use their products as part of your business. Good luck! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, November 20, 2007 11:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Action Pack Subscribers I haven't gone through the process, but the information suggests you must be part of an "organization" -- any loners out there who are partners? How did you fill in the organization holes? I could make something up, but I'd rather not. Susan H. > Susan, > > You can be a partner without being a "certified" partner. I'm an > associate partner, but I don't subscribe to the action pack for various > reasons. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Tue Nov 20 12:29:46 2007 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 20 Nov 2007 13:29:46 -0500 Subject: [AccessD] Populate field with userid Environ A97 vs A2k+ Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED7424@XLIVMBX35bkup.aig.com> Is there a workaround? No. You have to use an API call to get the user ID. So quit defaulting these fields in your tables and add a tiny bit of code to the BeforeInsert (for new records) and BeforeUpdate (for edits) events on your forms. There's only a very limited list of functions you can use in the default value property of field in table design view. It was even documented once, but I'm damned if I can locate it in the Access XP help file. Oh well. BTW it also makes sense to not allow Environ(). Environ is a risky proposition because it is quite easy for a user to change an environment variable, (like "USERNAME") and so potentially bypass 'security'. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of O'Connor, Patricia (OTDA) Sent: Tuesday, November 20, 2007 12:34 PM To: Access Developers discussion and problem solving Subject: [AccessD] Populate field with userid Environ A97 vs A2k+ I am upgrading an Access97 to Access2k to Access2k3. I know about having to create a function to use it in A2k and A2k3 (GRRR) I have been using =Environ("UserName") to populate a field (LastUpdtBy) in a new record in my A97-tables for years. I created the function that was recommended and it works in my vb/vba code portions. It is not working in the table field default. Gives me the runtime error # 3388 "unknown function 'Environ'. Is there a workaround? If there is one in the archives, please send a complete link. I have tried finding something suggested in mails but can't find them easily. I still think this ban was ridiculous or at least they should have created a valid totally useable workaround Thanks - Have a wonderful Thanksgiving ALL Patti ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Tue Nov 20 12:54:17 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Tue, 20 Nov 2007 10:54:17 -0800 Subject: [AccessD] Action Pack Subscribers In-Reply-To: Message-ID: <004501c82ba6$c099ce90$0200a8c0@murphy3234aaf1> I have been looking at what is distributed in the Action Pack and don't see Windows XP. Is it still part of the program ? Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, November 20, 2007 2:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Action Pack Subscribers Hi Julie This was discussed in the recent thread: "Action Pack, now with special edition toolkit for Web Solution Providers" http://databaseadvisors.com/pipermail/accessd/2007-October/055763.html I did take a test: http://databaseadvisors.com/pipermail/accessd/2007-October/055800.html As for the confirmation, step 4 at the tab "How to Get Your Toolkit" explains: Step 4: Order the Web Solutions Toolkit when you receive an email alert that it is available. For scheduled ship dates, visit the Standard Contents page. I guess you just have to trust that statement. /gustav >>> prosoft6 at hotmail.com 19-11-2007 21:42 >>> Thanks for that link John. I took the test after the course and passed, but never received a confirmation in e-mail. Did anyone else take it? Julie Reardon PRO-SOFT of NY, Inc. 44 Public Square, Suite 5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 NYS IT Contract#CMT026A NYS Certified Woman-Owned Business www.pro-soft.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 19, 2007 2:29 PM To: 'Access Developers discussion and problem solving'; dba-sqlserver at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Action Pack Subscribers For those of you doing Web stuff I just found this: https://partner.microsoft.com/us/40047166 John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Tue Nov 20 13:07:07 2007 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 20 Nov 2007 13:07:07 -0600 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <004501c82ba6$c099ce90$0200a8c0@murphy3234aaf1> References: <004501c82ba6$c099ce90$0200a8c0@murphy3234aaf1> Message-ID: No I don't think so. Only Vista comes with it now. It did come with XP licenses last year but once Vista was officially released, then that is what comes in Action Pack. GK On 11/20/07, Doug Murphy wrote: > I have been looking at what is distributed in the Action Pack and don't see > Windows XP. Is it still part of the program ? > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Tuesday, November 20, 2007 2:16 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Action Pack Subscribers > > Hi Julie > > This was discussed in the recent thread: > > "Action Pack, now with special edition toolkit for Web Solution Providers" > > http://databaseadvisors.com/pipermail/accessd/2007-October/055763.html > > I did take a test: > > http://databaseadvisors.com/pipermail/accessd/2007-October/055800.html > > As for the confirmation, step 4 at the tab "How to Get Your Toolkit" > explains: > > Step 4: > Order the Web Solutions Toolkit when you receive an email alert that it is > available. > For scheduled ship dates, visit the Standard Contents page. > > I guess you just have to trust that statement. > > /gustav > > >>> prosoft6 at hotmail.com 19-11-2007 21:42 >>> > Thanks for that link John. I took the test after the course and passed, but > never received a confirmation in e-mail. Did anyone else take it? > > Julie Reardon > PRO-SOFT of NY, Inc. > 44 Public Square, Suite 5 > Watertown, NY 13601 > Phone: 315.785.0319 > Fax: 315.785.0323 > NYS IT Contract#CMT026A > NYS Certified Woman-Owned Business > www.pro-soft.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, November 19, 2007 2:29 PM > To: 'Access Developers discussion and problem solving'; > dba-sqlserver at databaseadvisors.com; dba-vb at databaseadvisors.com > Subject: [AccessD] Action Pack Subscribers > > For those of you doing Web stuff I just found this: > > https://partner.microsoft.com/us/40047166 > > John W. Colby > Colby Consulting > 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 > -- Gary Kjos garykjos at gmail.com From jwcolby at colbyconsulting.com Tue Nov 20 13:11:44 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 20 Nov 2007 14:11:44 -0500 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <004501c82ba6$c099ce90$0200a8c0@murphy3234aaf1> References: <004501c82ba6$c099ce90$0200a8c0@murphy3234aaf1> Message-ID: <003401c82ba9$313d56b0$6c7aa8c0@M90> I have the action pack and no, AFAICT it is no longer in the pack. However I have heard that if you got it in a previous version and kept the license current they are allowing you to continue use. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Tuesday, November 20, 2007 1:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Action Pack Subscribers I have been looking at what is distributed in the Action Pack and don't see Windows XP. Is it still part of the program ? Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, November 20, 2007 2:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Action Pack Subscribers Hi Julie This was discussed in the recent thread: "Action Pack, now with special edition toolkit for Web Solution Providers" http://databaseadvisors.com/pipermail/accessd/2007-October/055763.html I did take a test: http://databaseadvisors.com/pipermail/accessd/2007-October/055800.html As for the confirmation, step 4 at the tab "How to Get Your Toolkit" explains: Step 4: Order the Web Solutions Toolkit when you receive an email alert that it is available. For scheduled ship dates, visit the Standard Contents page. I guess you just have to trust that statement. /gustav >>> prosoft6 at hotmail.com 19-11-2007 21:42 >>> Thanks for that link John. I took the test after the course and passed, but never received a confirmation in e-mail. Did anyone else take it? Julie Reardon PRO-SOFT of NY, Inc. 44 Public Square, Suite 5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 NYS IT Contract#CMT026A NYS Certified Woman-Owned Business www.pro-soft.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 19, 2007 2:29 PM To: 'Access Developers discussion and problem solving'; dba-sqlserver at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Action Pack Subscribers For those of you doing Web stuff I just found this: https://partner.microsoft.com/us/40047166 John W. Colby Colby Consulting 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 Patricia.O'Connor at otda.state.ny.us Tue Nov 20 13:23:31 2007 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Tue, 20 Nov 2007 14:23:31 -0500 Subject: [AccessD] Populate field with userid Environ A97 vs A2k+ In-Reply-To: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED7424@XLIVMBX35bkup.aig.com> References: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED7424@XLIVMBX35bkup.aig.com> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BB100@EXCNYSM0A1AI.nysemail.nyenet> Thank you - I had a feeling there might not be a work around The table was not being updated in, with or by a form when the error occurred. Wanted to insure I knew the last person at the record. It was something that worked fine for 10 years - m$ could have made it read only if modifying was a problem . ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** > -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Heenan, Lambert > Sent: Tuesday, November 20, 2007 01:30 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Populate field with userid Environ A97 vs A2k+ > > Is there a workaround? No. You have to use an API call to get > the user ID. > So quit defaulting these fields in your tables and add a tiny > bit of code to the BeforeInsert (for new records) and > BeforeUpdate (for edits) events on your forms. > > There's only a very limited list of functions you can use in > the default value property of field in table design view. It > was even documented once, but I'm damned if I can locate it > in the Access XP help file. Oh well. > > BTW it also makes sense to not allow Environ(). Environ is a > risky proposition because it is quite easy for a user to > change an environment variable, (like "USERNAME") and so > potentially bypass 'security'. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > O'Connor, Patricia (OTDA) > Sent: Tuesday, November 20, 2007 12:34 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Populate field with userid Environ A97 vs A2k+ > > > I am upgrading an Access97 to Access2k to Access2k3. I know > about having to create a function to use it in A2k and A2k3 (GRRR) > > I have been using =Environ("UserName") to populate a field > (LastUpdtBy) in a new record in my A97-tables for years. > > I created the function that was recommended and it works in > my vb/vba code portions. It is not working in the table field > default. Gives me the runtime error # 3388 "unknown function > 'Environ'. > > Is there a workaround? If there is one in the archives, > please send a complete link. I have tried finding something > suggested in mails but can't find them easily. > > I still think this ban was ridiculous or at least they should > have created a valid totally useable workaround > > Thanks - Have a wonderful Thanksgiving ALL Patti > ************************************************** > * Patricia O'Connor > * Associate Computer Programmer Analyst > * OTDA - BDMA > * (W) mailto:Patricia.O'Connor at otda.state.ny.us > * (w) mailto:aa1160 at nysemail.state.ny.us > ************************************************** > -------------------------------------------------------- > This e-mail, including any attachments, may be confidential, > privileged or otherwise legally protected. It is intended > only for the addressee. If you received this e-mail in error > or from someone who was not authorized to send it to you, do > not disseminate, copy or otherwise use this e-mail or its > attachments. Please notify the sender immediately by reply > e-mail and delete the e-mail from your system. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From fuller.artful at gmail.com Tue Nov 20 14:20:24 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 20 Nov 2007 15:20:24 -0500 Subject: [AccessD] A2K7 Navigation Pane In-Reply-To: <004101c82b9e$91e12e20$0301a8c0@HAL9005> References: <00df01c82b45$ced67c80$0301a8c0@HAL9005> <004101c82b9e$91e12e20$0301a8c0@HAL9005> Message-ID: <29f585dd0711201220q2a34c953lac23792bab40e3aa@mail.gmail.com> It replaces both the database window and also acts as a customizable navigation window. Think of it like the navigation pane in Outlook. Once you learn how to customize it, I think it's very cool. I have habitually used the Switchboard Manager prior to this, and although it took me some time to figure out exactly how to use the navigation pane, I vastly prefer it. Arthur On 11/20/07, Rocky Smolin at Beach Access Software wrote: > > Apparently it's in form view as well. So no way to turn it off in form > view? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Tuesday, November 20, 2007 9:11 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K7 Navigation Pane > > If he's talking about the panel on the left in design view, then he's > pretty > much out of luck, since that's the replacement for the database > window in 2007. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Monday, November 19, 2007 11:20 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] A2K7 Navigation Pane > > Dear List: > > A client writes to ask if the Navigation Pane (which in his screen shot is > on the left side of the screen) can be made to disappear through code. I > don't have A2007 so I don't know. I guess this 'Navigation Pane' is > something new in A2007? > > Is there a line of code that will turn the pane off? An if the user is > running 2003 is suppose it would generate an error but I could precede the > code to turn off the pane with On Error Resume Next? > > 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 > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.16.1/1140 - Release Date: > 11/19/2007 > 7:05 PM > > > -- > 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 Nov 20 14:36:28 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 20 Nov 2007 15:36:28 -0500 Subject: [AccessD] Populate field with userid Environ A97 vs A2k+ In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BB100@EXCNYSM0A1AI.nysemail.nyenet> References: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED7424@XLIVMBX35bkup.aig.com> <01DBAB52E30A9A4AB3D94EF8029EDBE8021BB100@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: <29f585dd0711201236i42e96b44ibfc37d8c3a2945e@mail.gmail.com> Will this do? Option Compare Database Option Explicit Global Const SW_SHOWNORMAL = 1 Public Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" _ (ByVal hwnd As Long, _ ByVal lpOperation As String, _ ByVal lpFile As String, _ ByVal lpParameters As String, _ ByVal lpDirectory As String, _ ByVal nShowCmd As Long) As Long 'This code was originally written by Dev Ashish. 'It is not to be altered or distributed, 'except as part of an application. 'You are free to use it in any application, 'provided the copyright notice is left unchanged. 'Code courtesy of Dev Ashish Private Declare Function apiGetUserName Lib "advapi32.dll" Alias _ "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long Public Function fOSUserName() As String ' Returns the network login name Dim lngLen As Long, lngX As Long Dim strUserName As String strUserName = String$(254, 0) lngLen = 255 lngX = apiGetUserName(strUserName, lngLen) If lngX <> 0 Then fOSUserName = Left$(strUserName, lngLen - 1) Else fOSUserName = "" End If End Function hth, Arthur On 11/20/07, O'Connor, Patricia (OTDA) wrote: > > Thank you - I had a feeling there might not be a work around > > The table was not being updated in, with or by a form when the error > occurred. > > Wanted to insure I knew the last person at the record. It was something > that worked fine for 10 years - m$ could have made it read only if > modifying was a problem . > > ************************************************** > * Patricia O'Connor > * Associate Computer Programmer Analyst > * OTDA - BDMA > * (W) mailto:Patricia.O'Connor at otda.state.ny.us > * (w) mailto:aa1160 at nysemail.state.ny.us > ************************************************** > > > > > -------------------------------------------------------- > This e-mail, including any attachments, may be confidential, privileged or > otherwise legally protected. It is intended only for the addressee. If you > received this e-mail in error or from someone who was not authorized to send > it to you, do not disseminate, copy or otherwise use this e-mail or its > attachments. Please notify the sender immediately by reply e-mail and > delete the e-mail from your system. > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Heenan, Lambert > > Sent: Tuesday, November 20, 2007 01:30 PM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Populate field with userid Environ A97 vs A2k+ > > > > Is there a workaround? No. You have to use an API call to get > > the user ID. > > So quit defaulting these fields in your tables and add a tiny > > bit of code to the BeforeInsert (for new records) and > > BeforeUpdate (for edits) events on your forms. > > > > There's only a very limited list of functions you can use in > > the default value property of field in table design view. It > > was even documented once, but I'm damned if I can locate it > > in the Access XP help file. Oh well. > > > > BTW it also makes sense to not allow Environ(). Environ is a > > risky proposition because it is quite easy for a user to > > change an environment variable, (like "USERNAME") and so > > potentially bypass 'security'. > > > > Lambert > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > O'Connor, Patricia (OTDA) > > Sent: Tuesday, November 20, 2007 12:34 PM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] Populate field with userid Environ A97 vs A2k+ > > > > > > I am upgrading an Access97 to Access2k to Access2k3. I know > > about having to create a function to use it in A2k and A2k3 (GRRR) > > > > I have been using =Environ("UserName") to populate a field > > (LastUpdtBy) in a new record in my A97-tables for years. > > > > I created the function that was recommended and it works in > > my vb/vba code portions. It is not working in the table field > > default. Gives me the runtime error # 3388 "unknown function > > 'Environ'. > > > > Is there a workaround? If there is one in the archives, > > please send a complete link. I have tried finding something > > suggested in mails but can't find them easily. > > > > I still think this ban was ridiculous or at least they should > > have created a valid totally useable workaround > > > > Thanks - Have a wonderful Thanksgiving ALL Patti > > ************************************************** > > * Patricia O'Connor > > * Associate Computer Programmer Analyst > > * OTDA - BDMA > > * (W) mailto:Patricia.O'Connor at otda.state.ny.us > > * (w) mailto:aa1160 at nysemail.state.ny.us > > ************************************************** > > -------------------------------------------------------- > > This e-mail, including any attachments, may be confidential, > > privileged or otherwise legally protected. It is intended > > only for the addressee. If you received this e-mail in error > > or from someone who was not authorized to send it to you, do > > not disseminate, copy or otherwise use this e-mail or its > > attachments. Please notify the sender immediately by reply > > e-mail and delete the e-mail from your system. > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Tue Nov 20 21:30:18 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 20 Nov 2007 22:30:18 -0500 Subject: [AccessD] Encrypting your stuff was offsite backup References: <003101c828fd$8dcf9e50$8119fea9@LTVM><001301c82930$a9e31620$ef706c4c@jisshowsbs.local> Message-ID: <001201c82bee$d7c371a0$ef706c4c@jisshowsbs.local> ...it's all jc's fault :) William ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Monday, November 19, 2007 10:58 AM Subject: Re: [AccessD] Encrypting your stuff was offsite backup > I'll GET you for that, Mr. Hindman. Grrr > > Charlotte Foust aka Granny > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Saturday, November 17, 2007 7:44 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > ...now, now Max ...we'd all like to accept your claim to the > gerontological gold here ...but that would make you something like 80+ > and writing code before the first computer was built ...besides which, > only Charlotte is that old :) > > William > > ----- Original Message ----- > From: > To: "'Access Developers discussion and problem solving'" > > Sent: Saturday, November 17, 2007 4:38 AM > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > >> Elvis? Crikey, I was coding before he was born! >> How about the Andrews Sisters (WW2 singers from Minnesota)- world > famous >> though. >> >> Max >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman >> Sent: Friday, November 16, 2007 10:57 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> >> I use a 4gig stick with a u3 encryption program, wear it on a chain > around >> my neck. I seldom take a laptop to client offices anymore because most >> everything I need is on the stick ...just plug it in, log-on, sync, > and go >> to work ...I use a similar password algorithm but based on an Elvis > tune >> ...shows my age, it does :) >> >> William >> >> ----- Original Message ----- >> From: "jwcolby" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Friday, November 16, 2007 4:46 PM >> Subject: [AccessD] Encrypting your stuff was offsite backup >> >> >>>I use this for my own protection. My laptop contains an encrypted > file >>>that >>> contains my Colby Consulting stuff (books, etc). I have another >>> encrypted >>> drive that contains all client projects. Thus if the laptop ever > does >>> take >>> a hike, all data is encrypted. the other nice thing about this is > that >>> you >>> can backup all your work by copying a single encrypted file to a > backup >>> location. If that backup location ever takes a hike no data is > exposed. >>> >>> I have a usb memory stick (just 1 gb for now) where 3/4 is an > encrypted >>> file. If I ever need to carry anything on my person, it is > encrypted. >>> The >>> TrueCrypt program is stored on the unencrypted part and can be run > from >>> there. Thus I can stick the memory stick into a machine, run > TrueCrypt, >>> mount the drive and copy files to/from. Of course you do have to > have >>> admin >>> rights in order to do this. >>> >>> I have been using this for about two years now and it just works. >>> >>> Just don't forget your password. >>> >>> I use the first character from a phrase or song, along with special >>> characters and numbers which make it dead simple to remember when you > are >>> first learning your password. For example take two nursery rhymes: >>> >>> Mary Had A Little Lamb His Fleece Was White As Snow >>> MhAlLhFwWaS >>> (use alternating upper and lower case) >>> Throw two numbers in front of, behind or around it >>> 0MhAlLhFwWaS9 >>> Now throw two special characters in front of that >>> !0MhAlLhFwWaS9@ >>> >>> That all by itself is a pretty secure password. If you want more, do > >>> that >>> twice, perhaps >>> >>> Jack And Jill Went Up The Hill To Fetch A Pail Of Water >>> #8JaJwUtHtFaPoW7$ >>> >>> !0MhAlLhFwWaS9@#8JaJwUtHtFaPoW7$ >>> >>> You get the picture. Either one is a good password, the two together > are >>> pretty industrial strength, and dead easy to remember until you have > it >>> assigned to muscle memory. Pick a favorite saying, slogan, song, >>> whatever >>> you already have remembered and just use the first character of each >>> word, >>> plus numbers and special symbols. >>> >>> Someone (on this list IIRC) claimed they had a password cracker that >>> would >>> crack any password in XX seconds. I think not. My password is 21 >>> characters long using a simple system like that and takes me about 10 >>> seconds to type in. 10 seconds is not too much to ask for an > industrial >>> strength memorable password. >>> >>> http://www.lockdown.co.uk/?pg=combi&s=articles >>> >>> John W. Colby >>> Colby Consulting >>> www.ColbyConsulting.com >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >>> max.wanadoo at gmail.com >>> Sent: Friday, November 16, 2007 2:11 PM >>> To: 'Access Developers discussion and problem solving' >>> Subject: Re: [AccessD] Off-Site Backup >>> >>> >>> Hi William: >>> >>> Here is such an article which bears out your client's concerns: >>> >>> SECURITY? STICK IT! >>> A recent survey by Tower Software has revealed that 49% of employees >>> store >>> work-related files in multiple locations - posing serious security >>> threats >>> and exposure as well as compliance and information management issues. >>> To read the full story follow the link below... >>> >>> >>> >>> I have the FE secured with user logins, etc. The BE is password >>> protected. >>> Both ends (now) contained within encrypted files. Backups now > contain >>> encrypted files. Totally secure from "outsiders". >>> >>> BUT! - once you are in the system, a (valid) user can still "do > things" >>> unless he/she is totally restricted by the various methods outlined > in >>> postings to this site. Ie. Menu systems, exporting options, printing > data >>> options, etc. >>> >>> At some stage there has to be employee trust. Ie, unless I am > trusted >>> (being the developer) then nothing else works. >>> >>> Max >>> >>> >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >>> Hindman >>> Sent: Friday, November 16, 2007 6:22 PM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] Off-Site Backup >>> >>> ...whoa! ...now there is something I'd never considered ...I have a >>> client >>> that is very concerned about employees stealing his data ...I'll have > to >>> take another look at this. >>> >>> William >>> >>> ----- Original Message ----- >>> From: >>> To: "'Access Developers discussion and problem solving'" >>> >>> Sent: Friday, November 16, 2007 9:26 AM >>> Subject: Re: [AccessD] Off-Site Backup >>> >>> >>>> John Colby: >>>> >>>> Many thanks for the pointer to TrueCrypt. This is fantastic! I now >>>> have all my BE Data in an encrypted file on the Server and the FE's > in >>>> an encrypted file on user's PC's. Even if they steal all the >>>> computers they will never get access to the data without my 40 char >>>> key to mount the volumes. >>>> >>>> Brilliant tip, John. Many thanks >>>> >>>> Max >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Tue Nov 20 21:31:29 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 20 Nov 2007 22:31:29 -0500 Subject: [AccessD] Encrypting your stuff was offsite backup References: <003101c828fd$8dcf9e50$8119fea9@LTVM><001301c82930$a9e31620$ef706c4c@jisshowsbs.local> <00ae01c82ac6$d9d03010$6c7aa8c0@M90> Message-ID: <001601c82bef$01dbf6b0$ef706c4c@jisshowsbs.local> ...I've learned so much from you :) William ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 19, 2007 11:11 AM Subject: Re: [AccessD] Encrypting your stuff was offsite backup >I am amazed that Mr Hindman has lived to his current age... And that he > would sling stuff like that given his current age... > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Monday, November 19, 2007 10:59 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > I'll GET you for that, Mr. Hindman. Grrr > > Charlotte Foust aka Granny > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Saturday, November 17, 2007 7:44 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > ...now, now Max ...we'd all like to accept your claim to the > gerontological > gold here ...but that would make you something like 80+ and writing code > before the first computer was built ...besides which, only Charlotte is > that > old :) > > William > > ----- Original Message ----- > From: > To: "'Access Developers discussion and problem solving'" > > Sent: Saturday, November 17, 2007 4:38 AM > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > >> Elvis? Crikey, I was coding before he was born! >> How about the Andrews Sisters (WW2 singers from Minnesota)- world > famous >> though. >> >> Max >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman >> Sent: Friday, November 16, 2007 10:57 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> >> I use a 4gig stick with a u3 encryption program, wear it on a chain > around >> my neck. I seldom take a laptop to client offices anymore because most >> everything I need is on the stick ...just plug it in, log-on, sync, > and go >> to work ...I use a similar password algorithm but based on an Elvis > tune >> ...shows my age, it does :) >> >> William > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From adtp at airtelbroadband.in Tue Nov 20 23:26:03 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Wed, 21 Nov 2007 10:56:03 +0530 Subject: [AccessD] A2K7 Navigation Pane References: <00df01c82b45$ced67c80$0301a8c0@HAL9005> Message-ID: <02ba01c82bff$22d26dd0$ce59a27a@personalec1122> Rocky, A convenient arrangement would be to have two command buttons named CmdHide and CmdShow on a form so as to hide or show the NavPane window in Access 2007. If the user is in a position to ensure that forms group in NavPane is never put in collapsed state, the code applicable in Access 2K & 2K3, as given below, would work in A2K7 as well. Code in form's module - A2K7 (Forms group in NavPane must not be in collapsed state) ======================================== Private Sub CmdHide_Click() ' Make NavPane the active window and hide it DoCmd.SelectObject acForm, , True DoCmd.RunCommand acCmdWindowHide End Sub '------------------------------------------------------- Private Sub CmdShow_Click() DoCmd.SelectObject acForm, , True End Sub ======================================== The simple solution given above will not work if the forms group in NavPane window is in collapsed state. This is because hiding the NavPane can get implemented only if the focus stays on NavPane window during execution of acCmdWindowHide command. However when an attempt is made in Access 2007 to activate the NavPane via DoCmd.SelectObject method while the pertinent object group is in collapsed state, the focus reverts back to the active form. This results in acCmdWindowHide command taking effect on the form itself instead of the intended target (NavPane). Thus you land up with hiding the form itself, instead of the NavPane. Remedy lies in hiding all active forms and reports prior to hiding the NavPane, and thereafter, un-hiding the forms & reports. Of course no other object like table or query should be in open state. It is observed that it is not necessary to select any specific object in NavPane. This argument in DoCmd.SelectObject statement can be left blank Mere selection of a type group (acForm, acTable etc) is adequate. If the group mentioned in DoCmd.SelectObject method does not yet have any object, it will not force that group's title bar to show up in the NavPane if not already visible (otherwise it will). This however does not detract from effectiveness of proposed approach and even such an empty group serves satisfactorily as an argument to DoCmd.SelectObject method. Sample code in form's module, as given below, will ensure effective hiding / un-hiding of NavPane window under all situations, even if all object groups in NavPane are in collapsed state. Although this code is meant for Access 2007, it can be used in Access 2003 as well (statements meant for hiding / un-hiding of active forms / reports are however not needed in Access 2003). It permits unrestricted number of forms / reports to stay in open state. It is also ensured that while cycling through forms/reports for bulk hiding/ unhiding, any forms kept deliberately hidden to start with, continue in this state while other temporarily hidden objects are made visible again. Best wishes, A.D.Tejpal ------------ Sample universal code in form's module - Access 2007 (for hiding / un-hiding NavPane window) '==================================== ' Declarations section ' Comma separated list of form names ' already in hidden state (so that these ' do not get un-hidden along with others) ' Note - This list gets generated automatically Private HiddenFormsList As String '------------------------------------------------------- Private Sub CmdHide_Click() ' Hide all open forms & reports so that with ' statement (A) focus stays on NavPane even ' when no object is on display (e.g. all NavPane ' groups are in collapsed state) P_HideAllOpenFormsReports ' Make NavPane the active window and hide it DoCmd.SelectObject acForm, , True ' (A) DoCmd.RunCommand acCmdWindowHide ' Unhide all open forms and reports (other than ' forms deliberately kept hidden). ' Activate this form P_UnHideAllOpenFormsReports End Sub '------------------------------------------------------- Private Sub CmdShow_Click() DoCmd.SelectObject acForm, , True End Sub '------------------------------------------------------- Private Sub P_HideAllOpenFormsReports() On Error Resume Next Dim frm As Form, rpt As Report Dim Cnt As Long HiddenFormsList = "" ' Default ' Hide all open forms Err.Clear Cnt = Forms.Count If Err.Number = 0 Then For Each frm In Forms ' Update list of deliberately hidden forms If frm.Visible = False Then HiddenFormsList = _ HiddenFormsList & "," & frm.Name End If frm.Visible = False Next End If ' Hide all open reports Err.Clear Cnt = Reports.Count If Err.Number = 0 Then For Each rpt In Reports rpt.Visible = False Next End If Set frm = Nothing Set rpt = Nothing On Error GoTo 0 End Sub '------------------------------------------------------- Private Sub P_UnHideAllOpenFormsReports() On Error Resume Next Dim frm As Form, rpt As Report Dim Cnt As Long ' UnHide all open forms Err.Clear Cnt = Forms.Count If Err.Number = 0 Then For Each frm In Forms If InStr(HiddenFormsList, frm.Name) > 0 Then Else frm.Visible = True End If Next End If ' UnHide all open reports Err.Clear Cnt = Reports.Count If Err.Number = 0 Then For Each rpt In Reports rpt.Visible = True Next End If ' Activate this form DoCmd.SelectObject acForm, Me.Name, False Set frm = Nothing Set rpt = Nothing On Error GoTo 0 End Sub '==================================== ----- Original Message ----- From: Rocky Smolin at Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Tuesday, November 20, 2007 12:50 Subject: [AccessD] A2K7 Navigation Pane Dear List: A client writes to ask if the Navigation Pane (which in his screen shot is on the left side of the screen) can be made to disappear through code. I don't have A2007 so I don't know. I guess this 'Navigation Pane' is something new in A2007? Is there a line of code that will turn the pane off? An if the user is running 2003 is suppose it would generate an error but I could precede the code to turn off the pane with On Error Resume Next? MTIA, Rocky From rockysmolin at bchacc.com Wed Nov 21 00:51:53 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 20 Nov 2007 22:51:53 -0800 Subject: [AccessD] A2K7 Navigation Pane In-Reply-To: References: <00df01c82b45$ced67c80$0301a8c0@HAL9005><004101c82b9e$91e12e20$0301a8c0@HAL9005> Message-ID: <004b01c82c0a$fffa0690$0301a8c0@HAL9005> Yeah, and I'd have to effect it through code since he's developing this jewel to sell and distribute. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 20, 2007 10:15 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K7 Navigation Pane Yuck, I haven't worked with the beast enough to know. Can you switch him over to VB.Net?? LOL I know there's some kind of draconian method to get the old pre-2007 look in Office, so that may apply to Access as well, but I haven't pursued it to find out. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, November 20, 2007 9:56 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2K7 Navigation Pane Apparently it's in form view as well. So no way to turn it off in form view? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 20, 2007 9:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K7 Navigation Pane If he's talking about the panel on the left in design view, then he's pretty much out of luck, since that's the replacement for the database window in 2007. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 19, 2007 11:20 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2K7 Navigation Pane Dear List: A client writes to ask if the Navigation Pane (which in his screen shot is on the left side of the screen) can be made to disappear through code. I don't have A2007 so I don't know. I guess this 'Navigation Pane' is something new in A2007? Is there a line of code that will turn the pane off? An if the user is running 2003 is suppose it would generate an error but I could precede the code to turn off the pane with On Error Resume Next? 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.1/1140 - Release Date: 11/19/2007 7:05 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.2/1142 - Release Date: 11/20/2007 5:44 PM From rockysmolin at bchacc.com Wed Nov 21 00:53:59 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 20 Nov 2007 22:53:59 -0800 Subject: [AccessD] A2K7 Navigation Pane In-Reply-To: <29f585dd0711201220q2a34c953lac23792bab40e3aa@mail.gmail.com> References: <00df01c82b45$ced67c80$0301a8c0@HAL9005><004101c82b9e$91e12e20$0301a8c0@HAL9005> <29f585dd0711201220q2a34c953lac23792bab40e3aa@mail.gmail.com> Message-ID: <004c01c82c0b$4be39e90$0301a8c0@HAL9005> Well, he sent me a screen shot showing how it screws up the forms having it there. I think I may have to bite the bullet here and get both - A2007 and Vista, and maybe a separate machine to run both so that I don't contaminate a perfectly good working system with all that crap. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, November 20, 2007 12:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K7 Navigation Pane It replaces both the database window and also acts as a customizable navigation window. Think of it like the navigation pane in Outlook. Once you learn how to customize it, I think it's very cool. I have habitually used the Switchboard Manager prior to this, and although it took me some time to figure out exactly how to use the navigation pane, I vastly prefer it. Arthur On 11/20/07, Rocky Smolin at Beach Access Software wrote: > > Apparently it's in form view as well. So no way to turn it off in > form view? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Tuesday, November 20, 2007 9:11 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K7 Navigation Pane > > If he's talking about the panel on the left in design view, then he's > pretty much out of luck, since that's the replacement for the database > window in 2007. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Monday, November 19, 2007 11:20 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] A2K7 Navigation Pane > > Dear List: > > A client writes to ask if the Navigation Pane (which in his screen > shot is on the left side of the screen) can be made to disappear through code. I > don't have A2007 so I don't know. I guess this 'Navigation Pane' is > something new in A2007? > > Is there a line of code that will turn the pane off? An if the user > is running 2003 is suppose it would generate an error but I could > precede the code to turn off the pane with On Error Resume Next? > > 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 > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.16.1/1140 - Release Date: > 11/19/2007 > 7:05 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.2/1142 - Release Date: 11/20/2007 5:44 PM From rockysmolin at bchacc.com Wed Nov 21 00:57:41 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 20 Nov 2007 22:57:41 -0800 Subject: [AccessD] A2K7 Navigation Pane In-Reply-To: <02ba01c82bff$22d26dd0$ce59a27a@personalec1122> References: <00df01c82b45$ced67c80$0301a8c0@HAL9005> <02ba01c82bff$22d26dd0$ce59a27a@personalec1122> Message-ID: <004d01c82c0b$cf669c90$0301a8c0@HAL9005> A.D.: Thank you as usual for this solution. I have to get A2007 I think to see for myself what you are referring to by the collapsed state. What would the effect of the code be in A2003, though since there is no navigation pane? Regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, November 20, 2007 9:26 PM To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Subject: Re: [AccessD] A2K7 Navigation Pane Rocky, A convenient arrangement would be to have two command buttons named CmdHide and CmdShow on a form so as to hide or show the NavPane window in Access 2007. If the user is in a position to ensure that forms group in NavPane is never put in collapsed state, the code applicable in Access 2K & 2K3, as given below, would work in A2K7 as well. Code in form's module - A2K7 (Forms group in NavPane must not be in collapsed state) ======================================== Private Sub CmdHide_Click() ' Make NavPane the active window and hide it DoCmd.SelectObject acForm, , True DoCmd.RunCommand acCmdWindowHide End Sub '------------------------------------------------------- Private Sub CmdShow_Click() DoCmd.SelectObject acForm, , True End Sub ======================================== The simple solution given above will not work if the forms group in NavPane window is in collapsed state. This is because hiding the NavPane can get implemented only if the focus stays on NavPane window during execution of acCmdWindowHide command. However when an attempt is made in Access 2007 to activate the NavPane via DoCmd.SelectObject method while the pertinent object group is in collapsed state, the focus reverts back to the active form. This results in acCmdWindowHide command taking effect on the form itself instead of the intended target (NavPane). Thus you land up with hiding the form itself, instead of the NavPane. Remedy lies in hiding all active forms and reports prior to hiding the NavPane, and thereafter, un-hiding the forms & reports. Of course no other object like table or query should be in open state. It is observed that it is not necessary to select any specific object in NavPane. This argument in DoCmd.SelectObject statement can be left blank Mere selection of a type group (acForm, acTable etc) is adequate. If the group mentioned in DoCmd.SelectObject method does not yet have any object, it will not force that group's title bar to show up in the NavPane if not already visible (otherwise it will). This however does not detract from effectiveness of proposed approach and even such an empty group serves satisfactorily as an argument to DoCmd.SelectObject method. Sample code in form's module, as given below, will ensure effective hiding / un-hiding of NavPane window under all situations, even if all object groups in NavPane are in collapsed state. Although this code is meant for Access 2007, it can be used in Access 2003 as well (statements meant for hiding / un-hiding of active forms / reports are however not needed in Access 2003). It permits unrestricted number of forms / reports to stay in open state. It is also ensured that while cycling through forms/reports for bulk hiding/ unhiding, any forms kept deliberately hidden to start with, continue in this state while other temporarily hidden objects are made visible again. Best wishes, A.D.Tejpal ------------ Sample universal code in form's module - Access 2007 (for hiding / un-hiding NavPane window) '==================================== ' Declarations section ' Comma separated list of form names ' already in hidden state (so that these ' do not get un-hidden along with others) ' Note - This list gets generated automatically Private HiddenFormsList As String '------------------------------------------------------- Private Sub CmdHide_Click() ' Hide all open forms & reports so that with ' statement (A) focus stays on NavPane even ' when no object is on display (e.g. all NavPane ' groups are in collapsed state) P_HideAllOpenFormsReports ' Make NavPane the active window and hide it DoCmd.SelectObject acForm, , True ' (A) DoCmd.RunCommand acCmdWindowHide ' Unhide all open forms and reports (other than ' forms deliberately kept hidden). ' Activate this form P_UnHideAllOpenFormsReports End Sub '------------------------------------------------------- Private Sub CmdShow_Click() DoCmd.SelectObject acForm, , True End Sub '------------------------------------------------------- Private Sub P_HideAllOpenFormsReports() On Error Resume Next Dim frm As Form, rpt As Report Dim Cnt As Long HiddenFormsList = "" ' Default ' Hide all open forms Err.Clear Cnt = Forms.Count If Err.Number = 0 Then For Each frm In Forms ' Update list of deliberately hidden forms If frm.Visible = False Then HiddenFormsList = _ HiddenFormsList & "," & frm.Name End If frm.Visible = False Next End If ' Hide all open reports Err.Clear Cnt = Reports.Count If Err.Number = 0 Then For Each rpt In Reports rpt.Visible = False Next End If Set frm = Nothing Set rpt = Nothing On Error GoTo 0 End Sub '------------------------------------------------------- Private Sub P_UnHideAllOpenFormsReports() On Error Resume Next Dim frm As Form, rpt As Report Dim Cnt As Long ' UnHide all open forms Err.Clear Cnt = Forms.Count If Err.Number = 0 Then For Each frm In Forms If InStr(HiddenFormsList, frm.Name) > 0 Then Else frm.Visible = True End If Next End If ' UnHide all open reports Err.Clear Cnt = Reports.Count If Err.Number = 0 Then For Each rpt In Reports rpt.Visible = True Next End If ' Activate this form DoCmd.SelectObject acForm, Me.Name, False Set frm = Nothing Set rpt = Nothing On Error GoTo 0 End Sub '==================================== ----- Original Message ----- From: Rocky Smolin at Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Tuesday, November 20, 2007 12:50 Subject: [AccessD] A2K7 Navigation Pane Dear List: A client writes to ask if the Navigation Pane (which in his screen shot is on the left side of the screen) can be made to disappear through code. I don't have A2007 so I don't know. I guess this 'Navigation Pane' is something new in A2007? Is there a line of code that will turn the pane off? An if the user is running 2003 is suppose it would generate an error but I could precede the code to turn off the pane with On Error Resume Next? MTIA, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.2/1142 - Release Date: 11/20/2007 5:44 PM From jwcolby at colbyconsulting.com Wed Nov 21 06:44:54 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 21 Nov 2007 07:44:54 -0500 Subject: [AccessD] A2K7 Navigation Pane In-Reply-To: <004c01c82c0b$4be39e90$0301a8c0@HAL9005> References: <00df01c82b45$ced67c80$0301a8c0@HAL9005><004101c82b9e$91e12e20$0301a8c0@HAL9005><29f585dd0711201220q2a34c953lac23792bab40e3aa@mail.gmail.com> <004c01c82c0b$4be39e90$0301a8c0@HAL9005> Message-ID: <007e01c82c3c$514b04f0$6c7aa8c0@M90> VIRTUAL MACHINE! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, November 21, 2007 1:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2K7 Navigation Pane Well, he sent me a screen shot showing how it screws up the forms having it there. I think I may have to bite the bullet here and get both - A2007 and Vista, and maybe a separate machine to run both so that I don't contaminate a perfectly good working system with all that crap. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, November 20, 2007 12:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K7 Navigation Pane It replaces both the database window and also acts as a customizable navigation window. Think of it like the navigation pane in Outlook. Once you learn how to customize it, I think it's very cool. I have habitually used the Switchboard Manager prior to this, and although it took me some time to figure out exactly how to use the navigation pane, I vastly prefer it. Arthur On 11/20/07, Rocky Smolin at Beach Access Software wrote: > > Apparently it's in form view as well. So no way to turn it off in > form view? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Tuesday, November 20, 2007 9:11 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K7 Navigation Pane > > If he's talking about the panel on the left in design view, then he's > pretty much out of luck, since that's the replacement for the database > window in 2007. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Monday, November 19, 2007 11:20 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] A2K7 Navigation Pane > > Dear List: > > A client writes to ask if the Navigation Pane (which in his screen > shot is on the left side of the screen) can be made to disappear > through code. I > don't have A2007 so I don't know. I guess this 'Navigation Pane' is > something new in A2007? > > Is there a line of code that will turn the pane off? An if the user > is running 2003 is suppose it would generate an error but I could > precede the code to turn off the pane with On Error Resume Next? > > 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 > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.16.1/1140 - Release Date: > 11/19/2007 > 7:05 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.2/1142 - Release Date: 11/20/2007 5:44 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Nov 21 06:46:43 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 21 Nov 2007 07:46:43 -0500 Subject: [AccessD] Encrypting your stuff was offsite backup In-Reply-To: <001601c82bef$01dbf6b0$ef706c4c@jisshowsbs.local> References: <003101c828fd$8dcf9e50$8119fea9@LTVM><001301c82930$a9e31620$ef706c4c@jisshowsbs.local><00ae01c82ac6$d9d03010$6c7aa8c0@M90> <001601c82bef$01dbf6b0$ef706c4c@jisshowsbs.local> Message-ID: <007f01c82c3c$9253bb40$6c7aa8c0@M90> Just don't go skydiving with Ms. Foust. She may have learned a trick or two from me as well. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Tuesday, November 20, 2007 10:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup ...I've learned so much from you :) William ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 19, 2007 11:11 AM Subject: Re: [AccessD] Encrypting your stuff was offsite backup >I am amazed that Mr Hindman has lived to his current age... And that he > would sling stuff like that given his current age... > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Monday, November 19, 2007 10:59 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > I'll GET you for that, Mr. Hindman. Grrr > > Charlotte Foust aka Granny > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Saturday, November 17, 2007 7:44 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > ...now, now Max ...we'd all like to accept your claim to the > gerontological > gold here ...but that would make you something like 80+ and writing code > before the first computer was built ...besides which, only Charlotte is > that > old :) > > William > > ----- Original Message ----- > From: > To: "'Access Developers discussion and problem solving'" > > Sent: Saturday, November 17, 2007 4:38 AM > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > >> Elvis? Crikey, I was coding before he was born! >> How about the Andrews Sisters (WW2 singers from Minnesota)- world > famous >> though. >> >> Max >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman >> Sent: Friday, November 16, 2007 10:57 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> >> I use a 4gig stick with a u3 encryption program, wear it on a chain > around >> my neck. I seldom take a laptop to client offices anymore because most >> everything I need is on the stick ...just plug it in, log-on, sync, > and go >> to work ...I use a similar password algorithm but based on an Elvis > tune >> ...shows my age, it does :) >> >> William > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at airtelbroadband.in Wed Nov 21 06:46:17 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Wed, 21 Nov 2007 18:16:17 +0530 Subject: [AccessD] A2K7 Navigation Pane References: <00df01c82b45$ced67c80$0301a8c0@HAL9005><02ba01c82bff$22d26dd0$c e59a27a@personalec1122> <004d01c82c0b$cf669c90$0301a8c0@HAL9005> Message-ID: <003a01c82c3c$a4166490$3d57a27a@personalec1122> Rocky, It works equally well in A2K & A2K3, where it acts upon the database window (Hide or Show as required). In fact the process becomes much simpler as unlike A2K7, it is no longer necessary to temporarily hide the forms / reports. Sample code for hiding / showing db window in A2K / A2K3 is given below. Best wishes, A.D.Tejpal ------------ Code in form's module - A2K & A2K3 (For Hiding and displaying database window) ======================================== Private Sub CmdHide_Click() ' Make db window the active window and hide it DoCmd.SelectObject acForm, , True DoCmd.RunCommand acCmdWindowHide End Sub '------------------------------------------------------- Private Sub CmdShow_Click() ' Show db window DoCmd.SelectObject acForm, , True End Sub ======================================== ----- Original Message ----- From: Rocky Smolin at Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Wednesday, November 21, 2007 12:27 Subject: Re: [AccessD] A2K7 Navigation Pane A.D.: Thank you as usual for this solution. I have to get A2007 I think to see for myself what you are referring to by the collapsed state. What would the effect of the code be in A2003, though since there is no navigation pane? Regards, Rocky From tinanfields at torchlake.com Wed Nov 21 08:37:43 2007 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Wed, 21 Nov 2007 09:37:43 -0500 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <00c101c82b9d$ca1c6ee0$4b3a8343@SusanOne> References: <001701c82b7f$705dde20$6c7aa8c0@M90><006f01c82b7f$ff129cf0$4b3a8343@SusanOne><009e01c82b8c$6cf6d270$8abea8c0@XPS><000401c82b8d$b1960080$4b3a8343@SusanOne><002901c82b92$51c7fe60$4b3a8343@SusanOne> <00c101c82b9d$ca1c6ee0$4b3a8343@SusanOne> Message-ID: <474442B7.9010502@torchlake.com> Hi Susan, I am also just a Registered Partner, like Dan. My company is Tall Pines Computer Training and I am the sole proprietor of this tiny company. I am also all the functions of the company, because Tall Pines is simply the commercial face of Tina Fields. My DBA with the county was cheaper than John's - only $10 - and it has to be renewed every three years. I file a Schedule C for the business with my annual income tax return. That's it! So, create a business or commercial face of Susan Harkins as your "organization" and you are all set - legally, and ethically. Kind regards, Tina Susan Harkins wrote: > I haven't gone through the process, but the information suggests you must be > part of an "organization" -- any loners out there who are partners? How did > you fill in the organization holes? I could make something up, but I'd > rather not. > > Susan H. > > > >> Susan, >> >> You can be a partner without being a "certified" partner. I'm an >> associate partner, but I don't subscribe to the action pack for various >> reasons. >> > > From tinanfields at torchlake.com Wed Nov 21 08:40:16 2007 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Wed, 21 Nov 2007 09:40:16 -0500 Subject: [AccessD] A2K7 Navigation Pane In-Reply-To: <007e01c82c3c$514b04f0$6c7aa8c0@M90> References: <00df01c82b45$ced67c80$0301a8c0@HAL9005><004101c8 2b9e$91e12e20$0301a8c0@HAL9005><29f585dd0711201220q2a34c953lac23792bab40e3aa@mail.gmail.com><004c01c82c0b$4be39e90$0301a8c0@HAL 9005> <007e01c82c3c$514b04f0$6c7aa8c0@M90> Message-ID: <47444350.4030407@torchlake.com> One of these days, I really have to investigate this virtual machine concept. It really is cool, and it seems to solve the problem of needing more than one box. Tina jwcolby wrote: > VIRTUAL MACHINE! > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Wednesday, November 21, 2007 1:54 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] A2K7 Navigation Pane > > Well, he sent me a screen shot showing how it screws up the forms having it > there. I think I may have to bite the bullet here and get both - A2007 and > Vista, and maybe a separate machine to run both so that I don't contaminate > a perfectly good working system with all that crap. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Tuesday, November 20, 2007 12:20 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K7 Navigation Pane > > It replaces both the database window and also acts as a customizable > navigation window. Think of it like the navigation pane in Outlook. Once you > learn how to customize it, I think it's very cool. I have habitually used > the Switchboard Manager prior to this, and although it took me some time to > figure out exactly how to use the navigation pane, I vastly prefer it. > > Arthur > > On 11/20/07, Rocky Smolin at Beach Access Software > wrote: > >> Apparently it's in form view as well. So no way to turn it off in >> form view? >> >> Rocky >> >> >> >> >> >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >> Foust >> Sent: Tuesday, November 20, 2007 9:11 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] A2K7 Navigation Pane >> >> If he's talking about the panel on the left in design view, then he's >> pretty much out of luck, since that's the replacement for the database >> window in 2007. >> >> Charlotte Foust >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >> Smolin at Beach Access Software >> Sent: Monday, November 19, 2007 11:20 PM >> To: 'Access Developers discussion and problem solving' >> Subject: [AccessD] A2K7 Navigation Pane >> >> Dear List: >> >> A client writes to ask if the Navigation Pane (which in his screen >> shot is on the left side of the screen) can be made to disappear >> through >> > code. I > >> don't have A2007 so I don't know. I guess this 'Navigation Pane' is >> something new in A2007? >> >> Is there a line of code that will turn the pane off? An if the user >> is running 2003 is suppose it would generate an error but I could >> precede the code to turn off the pane with On Error Resume Next? >> >> 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 >> >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.503 / Virus Database: 269.16.1/1140 - Release Date: >> 11/19/2007 >> 7:05 PM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/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 incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.16.2/1142 - Release Date: 11/20/2007 > 5:44 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From DWUTKA at Marlow.com Wed Nov 21 08:33:47 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Wed, 21 Nov 2007 08:33:47 -0600 Subject: [AccessD] OT: make volume bootable In-Reply-To: <002e01c82b9a$d3c83350$6c7aa8c0@M90> Message-ID: So you probably installed your current OS with the 'old drives' online, so Windows wrote the MBR to those drives. Hmmm, I'd say the fastest way to fix this would be to run the repair from the Windows 2003 CD. Put it in. See if it finds your existing OS. Let it run the repair options. (Do this with the old drives out). If it still won't boot, don't panic, there is a 'hidden' repair option that most people don't use. Boot to the CD again, this time, tell it to install the OS. Go past the F8 licensing thing..... it will scan for existing OSes before it installs the new one. If it finds the OS on your existing RAID controller, use the repair option at this step, and it should do the trick. This repair option literally reinstalls the OS, while leaving the partition and installed software alone. Had an 'imaged' system I was trying to restore in Virtual PC, wouldn't boot, kept hanging. Normal 'repair' options did nothing. Ran this repair method, and about 30 minutes later, it was up and running. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 20, 2007 11:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: make volume bootable Michael, I am not sure I understand. I have a system with the OS itself on a raid drive, running on a dedicated raid controller card. That works exactly as expected and I like it - raid 6 protection etc. I also have a pair of older drives which probably (the details are hazy now) had the OS on them originally, which run off of the raid controller on the motherboard. These two disks form a raid 1 array (mirrored) with nothing visible on it, and yes I have told windows explorer to show system and hidden files. However if I disconnect these two older drives from the motherboard (remove power or remove the SATA connector) windows does not boot. IIRC there is a master boot record that is written to a drive that is where windows goes for the very first "bootstrap" code. It then tells windows where the rest of the OS is located. I thought there was a "sys" command (in the old days anyway) that would write this master boot record and perhaps a couple of other files to a hard disk and that you could just "sys" a drive to make it the drive with that MBR stuff. If I can do that to the C: drive on the Areca dedicated raid card then I could boot directly off of that C: drive and get rid of these two older drives. If they ever fail I am doomed. Yea they are raid one but I do NOT want to be trying to rebuild a mirror just for some hidden MBR that should have been moved long ago. Unfortunately I do not know as much about that stuff as I once did and have so far been unable to discover how to change from "booting" off these older drives to booting off the new. John W. Colby Colby Consulting www.ColbyConsulting.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 BusinessSensitve 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 Wed Nov 21 08:49:19 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 21 Nov 2007 09:49:19 -0500 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <474442B7.9010502@torchlake.com> References: <001701c82b7f$705dde20$6c7aa8c0@M90><006f01c82b7f$ff129cf0$4b3a8343@SusanOne><009e01c82b8c$6cf6d270$8abea8c0@XPS><000401c82b8d$b1960080$4b3a8343@SusanOne><002901c82b92$51c7fe60$4b3a8343@SusanOne> <00c101c82b9d$ca1c6ee0$4b3a8343@SusanOne> <474442B7.9010502@torchlake.com> Message-ID: <008901c82c4d$b2fe66e0$6c7aa8c0@M90> Tina, To be honest, I don't remember how much it was, I just remembered thinking "that's cheap". Just a few bucks so to speak. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Wednesday, November 21, 2007 9:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Action Pack Subscribers Hi Susan, I am also just a Registered Partner, like Dan. My company is Tall Pines Computer Training and I am the sole proprietor of this tiny company. I am also all the functions of the company, because Tall Pines is simply the commercial face of Tina Fields. My DBA with the county was cheaper than John's - only $10 - and it has to be renewed every three years. I file a Schedule C for the business with my annual income tax return. That's it! So, create a business or commercial face of Susan Harkins as your "organization" and you are all set - legally, and ethically. Kind regards, Tina Susan Harkins wrote: > I haven't gone through the process, but the information suggests you > must be part of an "organization" -- any loners out there who are > partners? How did you fill in the organization holes? I could make > something up, but I'd rather not. > > Susan H. > > > >> Susan, >> >> You can be a partner without being a "certified" partner. I'm an >> associate partner, but I don't subscribe to the action pack for >> various reasons. >> > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at Marlow.com Wed Nov 21 08:50:51 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Wed, 21 Nov 2007 08:50:51 -0600 Subject: [AccessD] A2K7 Navigation Pane In-Reply-To: <007e01c82c3c$514b04f0$6c7aa8c0@M90> Message-ID: I feel the world beginning to shift. I'm in complete agreement with you JWC! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, November 21, 2007 6:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2K7 Navigation Pane VIRTUAL MACHINE! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, November 21, 2007 1:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2K7 Navigation Pane Well, he sent me a screen shot showing how it screws up the forms having it there. I think I may have to bite the bullet here and get both - A2007 and Vista, and maybe a separate machine to run both so that I don't contaminate a perfectly good working system with all that crap. Rocky 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 BusinessSensitve 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 Wed Nov 21 08:55:12 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 21 Nov 2007 09:55:12 -0500 Subject: [AccessD] OT: make volume bootable In-Reply-To: References: <002e01c82b9a$d3c83350$6c7aa8c0@M90> Message-ID: <008d01c82c4e$855ec170$6c7aa8c0@M90> I tried that. It did not offer to repair an existing OS install. It did find the drive (I have a slipstream disk with the raid drivers on it) and asked if I wanted to format it etc, but when I answered no it started a new install. When it was done, there was an entire NEW copy of Windows 2003 in it's own directory, but even that wouldn't boot without the old drives or the slipstream CD disk in. And yes, I disconnected the old drives before doing the new install. I hooked up the old drives and can get back to my original 2003 install (it gives me a boot menu). PITA really! I ended up just giving up (real work to do). Will go back there someday. Sigh. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Wednesday, November 21, 2007 9:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: make volume bootable So you probably installed your current OS with the 'old drives' online, so Windows wrote the MBR to those drives. Hmmm, I'd say the fastest way to fix this would be to run the repair from the Windows 2003 CD. Put it in. See if it finds your existing OS. Let it run the repair options. (Do this with the old drives out). If it still won't boot, don't panic, there is a 'hidden' repair option that most people don't use. Boot to the CD again, this time, tell it to install the OS. Go past the F8 licensing thing..... it will scan for existing OSes before it installs the new one. If it finds the OS on your existing RAID controller, use the repair option at this step, and it should do the trick. This repair option literally reinstalls the OS, while leaving the partition and installed software alone. Had an 'imaged' system I was trying to restore in Virtual PC, wouldn't boot, kept hanging. Normal 'repair' options did nothing. Ran this repair method, and about 30 minutes later, it was up and running. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 20, 2007 11:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: make volume bootable Michael, I am not sure I understand. I have a system with the OS itself on a raid drive, running on a dedicated raid controller card. That works exactly as expected and I like it - raid 6 protection etc. I also have a pair of older drives which probably (the details are hazy now) had the OS on them originally, which run off of the raid controller on the motherboard. These two disks form a raid 1 array (mirrored) with nothing visible on it, and yes I have told windows explorer to show system and hidden files. However if I disconnect these two older drives from the motherboard (remove power or remove the SATA connector) windows does not boot. IIRC there is a master boot record that is written to a drive that is where windows goes for the very first "bootstrap" code. It then tells windows where the rest of the OS is located. I thought there was a "sys" command (in the old days anyway) that would write this master boot record and perhaps a couple of other files to a hard disk and that you could just "sys" a drive to make it the drive with that MBR stuff. If I can do that to the C: drive on the Areca dedicated raid card then I could boot directly off of that C: drive and get rid of these two older drives. If they ever fail I am doomed. Yea they are raid one but I do NOT want to be trying to rebuild a mirror just for some hidden MBR that should have been moved long ago. Unfortunately I do not know as much about that stuff as I once did and have so far been unable to discover how to change from "booting" off these older drives to booting off the new. John W. Colby Colby Consulting www.ColbyConsulting.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 BusinessSensitve 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 ssharkins at gmail.com Wed Nov 21 08:52:36 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 21 Nov 2007 09:52:36 -0500 Subject: [AccessD] A2K7 Navigation Pane References: <00df01c82b45$ced67c80$0301a8c0@HAL9005><004101c82b9e$91e12e20$0301a8c0@HAL9005><29f585dd0711201220q2a34c953lac23792bab40e3aa@mail.gmail.com><004c01c82c0b$4be39e90$0301a8c0@HAL9005> <007e01c82c3c$514b04f0$6c7aa8c0@M90> <47444350.4030407@torchlake.com> Message-ID: <00d001c82c4e$29329070$4b3a8343@SusanOne> Count me in on that Tina. I need to maintain two or three different versions of everything for articles and Outlook is throws a monkey wrench into that. Right now, Outlook 2003 is totally hosed and I have no idea why. It opens, the interface is there, but I can't do anything. I also have a very old virus in my startup file, which I keep under control by not enabling System Restore. I really need to reformat and start over and when I do, I plan a virtual machine for 2003 and 2007. The problem is finding the time to backup the hard drive and actually plow through it. Nobody's going to pay me to do that... ;) I set aside time in July, and we moved instead. So, now I'm looking ahead to the Christmas holidays. Crossing my fingers... Susan H. > One of these days, I really have to investigate this virtual machine > concept. It really is cool, and it seems to solve the problem of > needing more than one box. > Tina From Patricia.O'Connor at otda.state.ny.us Wed Nov 21 09:05:54 2007 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Wed, 21 Nov 2007 10:05:54 -0500 Subject: [AccessD] Populate field with userid Environ A97 vs A2k+ In-Reply-To: <29f585dd0711201236i42e96b44ibfc37d8c3a2945e@mail.gmail.com> References: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED7424@XLIVMBX35bkup.aig.com><01DBAB52E30A9A4AB3D94EF8029EDBE8021BB100@EXCNYSM0A1AI.nysemail.nyenet> <29f585dd0711201236i42e96b44ibfc37d8c3a2945e@mail.gmail.com> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BB104@EXCNYSM0A1AI.nysemail.nyenet> Arthur I will give this a try Thank you Patti ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** > -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Arthur Fuller > Sent: Tuesday, November 20, 2007 03:36 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Populate field with userid Environ A97 vs A2k+ > > Will this do? > > > Option Compare Database > Option Explicit > Global Const SW_SHOWNORMAL = 1 > > Public Declare Function ShellExecute Lib "shell32.dll" Alias > "ShellExecuteA" > _ > (ByVal hwnd As Long, _ > ByVal lpOperation As String, _ > ByVal lpFile As String, _ > ByVal lpParameters As String, _ > ByVal lpDirectory As String, _ > ByVal nShowCmd As Long) As Long > > 'This code was originally written by Dev Ashish. > 'It is not to be altered or distributed, 'except as part of > an application. > 'You are free to use it in any application, 'provided the > copyright notice is left unchanged. > 'Code courtesy of Dev Ashish > Private Declare Function apiGetUserName Lib "advapi32.dll" Alias _ > "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long > > Public Function fOSUserName() As String > ' Returns the network login name > Dim lngLen As Long, lngX As Long > Dim strUserName As String > > strUserName = String$(254, 0) > lngLen = 255 > lngX = apiGetUserName(strUserName, lngLen) > If lngX <> 0 Then > fOSUserName = Left$(strUserName, lngLen - 1) > Else > fOSUserName = "" > End If > End Function > > > hth, > Arthur > > On 11/20/07, O'Connor, Patricia (OTDA) > > wrote: > > > > Thank you - I had a feeling there might not be a work around > > > > The table was not being updated in, with or by a form when > the error > > occurred. > > > > Wanted to insure I knew the last person at the record. It was > > something that worked fine for 10 years - m$ could have > made it read > > only if modifying was a problem . > > > > ************************************************** > > * Patricia O'Connor > > * Associate Computer Programmer Analyst > > * OTDA - BDMA > > * (W) mailto:Patricia.O'Connor at otda.state.ny.us > > * (w) mailto:aa1160 at nysemail.state.ny.us > > ************************************************** > > > > > > > > > -------------------------------------------------------- > > This e-mail, including any attachments, may be confidential, > > privileged or otherwise legally protected. It is intended > only for the > > addressee. If you received this e-mail in error or from someone who > > was not authorized to send it to you, do not disseminate, copy or > > otherwise use this e-mail or its attachments. Please notify the > > sender immediately by reply e-mail and delete the e-mail > from your system. > > > > > > -----Original Message----- > > > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Heenan, > > > Lambert > > > Sent: Tuesday, November 20, 2007 01:30 PM > > > To: 'Access Developers discussion and problem solving' > > > Subject: Re: [AccessD] Populate field with userid Environ A97 vs > > > A2k+ > > > > > > Is there a workaround? No. You have to use an API call to get the > > > user ID. > > > So quit defaulting these fields in your tables and add a > tiny bit of > > > code to the BeforeInsert (for new records) and BeforeUpdate (for > > > edits) events on your forms. > > > > > > There's only a very limited list of functions you can use in the > > > default value property of field in table design view. It was even > > > documented once, but I'm damned if I can locate it in the > Access XP > > > help file. Oh well. > > > > > > BTW it also makes sense to not allow Environ(). Environ > is a risky > > > proposition because it is quite easy for a user to change an > > > environment variable, (like "USERNAME") and so potentially bypass > > > 'security'. > > > > > > Lambert > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of O'Connor, > > > Patricia (OTDA) > > > Sent: Tuesday, November 20, 2007 12:34 PM > > > To: Access Developers discussion and problem solving > > > Subject: [AccessD] Populate field with userid Environ A97 vs A2k+ > > > > > > > > > I am upgrading an Access97 to Access2k to Access2k3. I > know about > > > having to create a function to use it in A2k and A2k3 (GRRR) > > > > > > I have been using =Environ("UserName") to populate a field > > > (LastUpdtBy) in a new record in my A97-tables for years. > > > > > > I created the function that was recommended and it works in my > > > vb/vba code portions. It is not working in the table > field default. > > > Gives me the runtime error # 3388 "unknown function 'Environ'. > > > > > > Is there a workaround? If there is one in the archives, > please send > > > a complete link. I have tried finding something suggested > in mails > > > but can't find them easily. > > > > > > I still think this ban was ridiculous or at least they > should have > > > created a valid totally useable workaround > > > > > > Thanks - Have a wonderful Thanksgiving ALL Patti > > > ************************************************** > > > * Patricia O'Connor > > > * Associate Computer Programmer Analyst > > > * OTDA - BDMA > > > * (W) mailto:Patricia.O'Connor at otda.state.ny.us > > > * (w) mailto:aa1160 at nysemail.state.ny.us > > > ************************************************** > > > -------------------------------------------------------- > > > This e-mail, including any attachments, may be confidential, > > > privileged or otherwise legally protected. It is intended > only for > > > the addressee. If you received this e-mail in error or > from someone > > > who was not authorized to send it to you, do not > disseminate, copy > > > or otherwise use this e-mail or its attachments. Please > notify the > > > sender immediately by reply e-mail and delete the e-mail > from your > > > system. > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Nov 21 09:21:45 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 21 Nov 2007 16:21:45 +0100 Subject: [AccessD] Virtual Server (was: A2K7 Navigation Pane) Message-ID: Hi Tina Don't hesitate. We haven't worked that much with Microsoft's implementation or Xen (now bought by Citrix) but has focussed on the free VMware Server: http://www.vmware.com/products/server/ It's a marvellous product and we (me and my colleagues) recommend it highly. All server installations we have carried out for the last six months have been on virtual machines and all future will except for some special situations (like old hardware with limited ram). The negative part is that a virtual server runs about 10-15% slower than a clean physical installation on identical hardware, and that ram in a virtual server is limited to 3.6 GB for the free version. Everything else are pluses: - zero cost - runs on all decent hardware - host OS can be Windows (Server preferred) or Linux - remote control of the virtual servers including rebooting. - backup of a _complete_ virtual server to one single file is a snap. So is restore(!) - configuration of a server can be done on any decent hardware, then moved to the client's brand new hardware. - thus, extremely fast replacement of broken down hardware. Virtual servers are about to revolutionize server installations and in a few years it will be the default method except for some rare cases. If you prefer not to use Linux as the host OS, you can use an AMD 64 bit server which typically supports 8 GB ram or more and install the 64 bit Windows Server from the Action Pack you have wondered what to use for. /gustav >>> tinanfields at torchlake.com 21-11-2007 15:40 >>> One of these days, I really have to investigate this virtual machine concept. It really is cool, and it seems to solve the problem of needing more than one box. Tina jwcolby wrote: > VIRTUAL MACHINE! From jwcolby at colbyconsulting.com Wed Nov 21 09:38:37 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 21 Nov 2007 10:38:37 -0500 Subject: [AccessD] Virtual Server (was: A2K7 Navigation Pane) In-Reply-To: References: Message-ID: <009501c82c54$95c3a0c0$6c7aa8c0@M90> The one thing I would add is that it also uses a virtual video device which has poor capabilities, so NO GAMING. 8-( It took me awhile to figure that out. It does NOT use the actual installed hardware, i.e. you cannot set the drivers for your actual hardware and so it simply does not have the capabilities to run one of the modern games, and there is just no way to make it do so. I think it will run the old stuff like pong or Tetris. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, November 21, 2007 10:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Virtual Server (was: A2K7 Navigation Pane) Hi Tina Don't hesitate. We haven't worked that much with Microsoft's implementation or Xen (now bought by Citrix) but has focussed on the free VMware Server: http://www.vmware.com/products/server/ It's a marvellous product and we (me and my colleagues) recommend it highly. All server installations we have carried out for the last six months have been on virtual machines and all future will except for some special situations (like old hardware with limited ram). The negative part is that a virtual server runs about 10-15% slower than a clean physical installation on identical hardware, and that ram in a virtual server is limited to 3.6 GB for the free version. Everything else are pluses: - zero cost - runs on all decent hardware - host OS can be Windows (Server preferred) or Linux - remote control of the virtual servers including rebooting. - backup of a _complete_ virtual server to one single file is a snap. So is restore(!) - configuration of a server can be done on any decent hardware, then moved to the client's brand new hardware. - thus, extremely fast replacement of broken down hardware. Virtual servers are about to revolutionize server installations and in a few years it will be the default method except for some rare cases. If you prefer not to use Linux as the host OS, you can use an AMD 64 bit server which typically supports 8 GB ram or more and install the 64 bit Windows Server from the Action Pack you have wondered what to use for. /gustav >>> tinanfields at torchlake.com 21-11-2007 15:40 >>> One of these days, I really have to investigate this virtual machine concept. It really is cool, and it seems to solve the problem of needing more than one box. Tina jwcolby wrote: > VIRTUAL MACHINE! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Wed Nov 21 10:05:59 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 21 Nov 2007 11:05:59 -0500 Subject: [AccessD] Virtual Server (was: A2K7 Navigation Pane) In-Reply-To: <009501c82c54$95c3a0c0$6c7aa8c0@M90> References: <009501c82c54$95c3a0c0$6c7aa8c0@M90> Message-ID: <003401c82c58$687b3bb0$8abea8c0@XPS> John, This is one of the major drawbacks with virtualizing that I've found. Your limited to VGA resolution (640x480) if you connect to the console. It's a royal pain when you work with it. One workaround for that is if you don't need the console, you can RDP in. Still doesn't help with the games though ;) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, November 21, 2007 10:39 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Virtual Server (was: A2K7 Navigation Pane) The one thing I would add is that it also uses a virtual video device which has poor capabilities, so NO GAMING. 8-( It took me awhile to figure that out. It does NOT use the actual installed hardware, i.e. you cannot set the drivers for your actual hardware and so it simply does not have the capabilities to run one of the modern games, and there is just no way to make it do so. I think it will run the old stuff like pong or Tetris. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, November 21, 2007 10:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Virtual Server (was: A2K7 Navigation Pane) Hi Tina Don't hesitate. We haven't worked that much with Microsoft's implementation or Xen (now bought by Citrix) but has focussed on the free VMware Server: http://www.vmware.com/products/server/ It's a marvellous product and we (me and my colleagues) recommend it highly. All server installations we have carried out for the last six months have been on virtual machines and all future will except for some special situations (like old hardware with limited ram). The negative part is that a virtual server runs about 10-15% slower than a clean physical installation on identical hardware, and that ram in a virtual server is limited to 3.6 GB for the free version. Everything else are pluses: - zero cost - runs on all decent hardware - host OS can be Windows (Server preferred) or Linux - remote control of the virtual servers including rebooting. - backup of a _complete_ virtual server to one single file is a snap. So is restore(!) - configuration of a server can be done on any decent hardware, then moved to the client's brand new hardware. - thus, extremely fast replacement of broken down hardware. Virtual servers are about to revolutionize server installations and in a few years it will be the default method except for some rare cases. If you prefer not to use Linux as the host OS, you can use an AMD 64 bit server which typically supports 8 GB ram or more and install the 64 bit Windows Server from the Action Pack you have wondered what to use for. /gustav >>> tinanfields at torchlake.com 21-11-2007 15:40 >>> One of these days, I really have to investigate this virtual machine concept. It really is cool, and it seems to solve the problem of needing more than one box. Tina jwcolby wrote: > VIRTUAL MACHINE! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 21 10:15:06 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 21 Nov 2007 17:15:06 +0100 Subject: [AccessD] Virtual Server (was: A2K7 Navigation Pane) Message-ID: Hi Jim Seems like you have missed something! Just mark View, Autofit Window: On the Display tab, you can configure autofit and full-screen preferences. Autofit Preferences Use Autofit preferences to control how the console behaves when Autofit is active. Select Autofit window to have VMware Server change the console window size to match the guest operating system screen resolution. This is the same as choosing View > Autofit Window. Select Autofit guest to have VMware Server change the guest operating system display resolution to match the console window size. This is the same as choosing View > Autofit Guest. /gustav >>> jimdettman at verizon.net 21-11-2007 17:05 >>> John, This is one of the major drawbacks with virtualizing that I've found. Your limited to VGA resolution (640x480) if you connect to the console. It's a royal pain when you work with it. One workaround for that is if you don't need the console, you can RDP in. From cfoust at infostatsystems.com Wed Nov 21 10:15:15 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 21 Nov 2007 08:15:15 -0800 Subject: [AccessD] Encrypting your stuff was offsite backup In-Reply-To: <007f01c82c3c$9253bb40$6c7aa8c0@M90> References: <003101c828fd$8dcf9e50$8119fea9@LTVM><001301c82930$a9e31620$ef706c4c@jisshowsbs.local><00ae01c82ac6$d9d03010$6c7aa8c0@M90><001601c82bef$01dbf6b0$ef706c4c@jisshowsbs.local> <007f01c82c3c$9253bb40$6c7aa8c0@M90> Message-ID: Hmmn ... and stay away from open windows? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, November 21, 2007 4:47 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Encrypting your stuff was offsite backup Just don't go skydiving with Ms. Foust. She may have learned a trick or two from me as well. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Tuesday, November 20, 2007 10:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup ...I've learned so much from you :) William ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 19, 2007 11:11 AM Subject: Re: [AccessD] Encrypting your stuff was offsite backup >I am amazed that Mr Hindman has lived to his current age... And that >he would sling stuff like that given his current age... > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Monday, November 19, 2007 10:59 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > I'll GET you for that, Mr. Hindman. Grrr > > Charlotte Foust aka Granny > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Saturday, November 17, 2007 7:44 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > ...now, now Max ...we'd all like to accept your claim to the > gerontological gold here ...but that would make you something like 80+ > and writing code before the first computer was built ...besides which, > only Charlotte is that old :) > > William > > ----- Original Message ----- > From: > To: "'Access Developers discussion and problem solving'" > > Sent: Saturday, November 17, 2007 4:38 AM > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > >> Elvis? Crikey, I was coding before he was born! >> How about the Andrews Sisters (WW2 singers from Minnesota)- world > famous >> though. >> >> Max >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman >> Sent: Friday, November 16, 2007 10:57 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> >> I use a 4gig stick with a u3 encryption program, wear it on a chain > around >> my neck. I seldom take a laptop to client offices anymore because >> most everything I need is on the stick ...just plug it in, log-on, >> sync, > and go >> to work ...I use a similar password algorithm but based on an Elvis > tune >> ...shows my age, it does :) >> >> William > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Nov 21 10:16:58 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 21 Nov 2007 08:16:58 -0800 Subject: [AccessD] A2K7 Navigation Pane In-Reply-To: <004b01c82c0a$fffa0690$0301a8c0@HAL9005> References: <00df01c82b45$ced67c80$0301a8c0@HAL9005><004101c82b9e$91e12e20$0301a8c0@HAL9005> <004b01c82c0a$fffa0690$0301a8c0@HAL9005> Message-ID: *He's* developing it? Then what are you doing, hanging the curtains? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, November 20, 2007 10:52 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2K7 Navigation Pane Yeah, and I'd have to effect it through code since he's developing this jewel to sell and distribute. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 20, 2007 10:15 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K7 Navigation Pane Yuck, I haven't worked with the beast enough to know. Can you switch him over to VB.Net?? LOL I know there's some kind of draconian method to get the old pre-2007 look in Office, so that may apply to Access as well, but I haven't pursued it to find out. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, November 20, 2007 9:56 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2K7 Navigation Pane Apparently it's in form view as well. So no way to turn it off in form view? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 20, 2007 9:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K7 Navigation Pane If he's talking about the panel on the left in design view, then he's pretty much out of luck, since that's the replacement for the database window in 2007. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 19, 2007 11:20 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2K7 Navigation Pane Dear List: A client writes to ask if the Navigation Pane (which in his screen shot is on the left side of the screen) can be made to disappear through code. I don't have A2007 so I don't know. I guess this 'Navigation Pane' is something new in A2007? Is there a line of code that will turn the pane off? An if the user is running 2003 is suppose it would generate an error but I could precede the code to turn off the pane with On Error Resume Next? 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.1/1140 - Release Date: 11/19/2007 7:05 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.2/1142 - Release Date: 11/20/2007 5:44 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Nov 21 10:19:54 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 21 Nov 2007 08:19:54 -0800 Subject: [AccessD] A2K7 Navigation Pane In-Reply-To: References: <007e01c82c3c$514b04f0$6c7aa8c0@M90> Message-ID: Quick, everyone grab something solid! The earthquake should being any minute now! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Wednesday, November 21, 2007 6:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K7 Navigation Pane I feel the world beginning to shift. I'm in complete agreement with you JWC! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, November 21, 2007 6:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2K7 Navigation Pane VIRTUAL MACHINE! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, November 21, 2007 1:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2K7 Navigation Pane Well, he sent me a screen shot showing how it screws up the forms having it there. I think I may have to bite the bullet here and get both - A2007 and Vista, and maybe a separate machine to run both so that I don't contaminate a perfectly good working system with all that crap. Rocky 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 BusinessSensitve 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 wdhindman at dejpolsystems.com Wed Nov 21 10:22:28 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 21 Nov 2007 11:22:28 -0500 Subject: [AccessD] Encrypting your stuff was offsite backup References: <003101c828fd$8dcf9e50$8119fea9@LTVM><001301c82930$a9e31620$ef706c4c@jisshowsbs.local><00ae01c82ac6$d9d03010$6c7aa8c0@M90><001601c82bef$01dbf6b0$ef706c4c@jisshowsbs.local> <007f01c82c3c$9253bb40$6c7aa8c0@M90> Message-ID: <000701c82c5a$b5ffd420$ef706c4c@jisshowsbs.local> ...lol ...ladies first! :) William ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 21, 2007 7:46 AM Subject: Re: [AccessD] Encrypting your stuff was offsite backup > Just don't go skydiving with Ms. Foust. She may have learned a trick or > two > from me as well. > > ;-) > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Tuesday, November 20, 2007 10:31 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > ...I've learned so much from you :) > > William > > ----- Original Message ----- > From: "jwcolby" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, November 19, 2007 11:11 AM > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > >>I am amazed that Mr Hindman has lived to his current age... And that he >> would sling stuff like that given his current age... >> >> >> John W. Colby >> Colby Consulting >> www.ColbyConsulting.com >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >> Foust >> Sent: Monday, November 19, 2007 10:59 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> >> I'll GET you for that, Mr. Hindman. Grrr >> >> Charlotte Foust aka Granny >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >> Sent: Saturday, November 17, 2007 7:44 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> >> ...now, now Max ...we'd all like to accept your claim to the >> gerontological >> gold here ...but that would make you something like 80+ and writing code >> before the first computer was built ...besides which, only Charlotte is >> that >> old :) >> >> William >> >> ----- Original Message ----- >> From: >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Saturday, November 17, 2007 4:38 AM >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> >> >>> Elvis? Crikey, I was coding before he was born! >>> How about the Andrews Sisters (WW2 singers from Minnesota)- world >> famous >>> though. >>> >>> Max >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >>> Sent: Friday, November 16, 2007 10:57 PM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >>> >>> I use a 4gig stick with a u3 encryption program, wear it on a chain >> around >>> my neck. I seldom take a laptop to client offices anymore because most >>> everything I need is on the stick ...just plug it in, log-on, sync, >> and go >>> to work ...I use a similar password algorithm but based on an Elvis >> tune >>> ...shows my age, it does :) >>> >>> William >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Wed Nov 21 10:29:18 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 21 Nov 2007 11:29:18 -0500 Subject: [AccessD] Encrypting your stuff was offsite backup References: <003101c828fd$8dcf9e50$8119fea9@LTVM><001301c82930$a9e31620$ef706c4c@jisshowsbs.local><00ae01c82ac6$d9d03010$6c7aa8c0@M90><001601c82bef$01dbf6b0$ef706c4c@jisshowsbs.local><007f01c82c3c$9253bb40$6c7aa8c0@M90> Message-ID: <000b01c82c5b$ab731070$ef706c4c@jisshowsbs.local> ...now, now Charlotte ...you'd not take advantage of a older man would you? :) ...besides which, it's 80F here, partly cloudy, and a gentle breeze ...you can find me outside in my hammock ...under the palms and banana trees ...among the orchids. William ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 21, 2007 11:15 AM Subject: Re: [AccessD] Encrypting your stuff was offsite backup > Hmmn ... and stay away from open windows? > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Wednesday, November 21, 2007 4:47 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > Just don't go skydiving with Ms. Foust. She may have learned a trick or > two from me as well. > > ;-) > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Tuesday, November 20, 2007 10:31 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > ...I've learned so much from you :) > > William > > ----- Original Message ----- > From: "jwcolby" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, November 19, 2007 11:11 AM > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > >>I am amazed that Mr Hindman has lived to his current age... And that >>he would sling stuff like that given his current age... >> >> >> John W. Colby >> Colby Consulting >> www.ColbyConsulting.com >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >> Foust >> Sent: Monday, November 19, 2007 10:59 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> >> I'll GET you for that, Mr. Hindman. Grrr >> >> Charlotte Foust aka Granny >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >> Sent: Saturday, November 17, 2007 7:44 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> >> ...now, now Max ...we'd all like to accept your claim to the >> gerontological gold here ...but that would make you something like 80+ > >> and writing code before the first computer was built ...besides which, > >> only Charlotte is that old :) >> >> William >> >> ----- Original Message ----- >> From: >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Saturday, November 17, 2007 4:38 AM >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> >> >>> Elvis? Crikey, I was coding before he was born! >>> How about the Andrews Sisters (WW2 singers from Minnesota)- world >> famous >>> though. >>> >>> Max >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >>> Sent: Friday, November 16, 2007 10:57 PM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >>> >>> I use a 4gig stick with a u3 encryption program, wear it on a chain >> around >>> my neck. I seldom take a laptop to client offices anymore because >>> most everything I need is on the stick ...just plug it in, log-on, >>> sync, >> and go >>> to work ...I use a similar password algorithm but based on an Elvis >> tune >>> ...shows my age, it does :) >>> >>> William >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Nov 21 10:34:09 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 21 Nov 2007 08:34:09 -0800 Subject: [AccessD] A2K7 Navigation Pane In-Reply-To: References: <00df01c82b45$ced67c80$0301a8c0@HAL9005><004101c82b9e$91e12e20$0301a8c0@HAL9005><004b01c82c0a$fffa0690$0301a8c0@HAL9005> Message-ID: <003701c82c5c$578de6f0$0301a8c0@HAL9005> Um...correction, I'm programming and providing design advice on forms and reports, and the major design features that he hadn't considered, like licensing, manual, consistency, etc. But it's his idea and specification of features and functions - I don't know squat about the patent and trademark process. So I guess I think of him as the developer and me as the hired gun. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, November 21, 2007 8:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K7 Navigation Pane *He's* developing it? Then what are you doing, hanging the curtains? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, November 20, 2007 10:52 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2K7 Navigation Pane Yeah, and I'd have to effect it through code since he's developing this jewel to sell and distribute. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 20, 2007 10:15 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K7 Navigation Pane Yuck, I haven't worked with the beast enough to know. Can you switch him over to VB.Net?? LOL I know there's some kind of draconian method to get the old pre-2007 look in Office, so that may apply to Access as well, but I haven't pursued it to find out. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, November 20, 2007 9:56 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2K7 Navigation Pane Apparently it's in form view as well. So no way to turn it off in form view? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 20, 2007 9:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K7 Navigation Pane If he's talking about the panel on the left in design view, then he's pretty much out of luck, since that's the replacement for the database window in 2007. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 19, 2007 11:20 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2K7 Navigation Pane Dear List: A client writes to ask if the Navigation Pane (which in his screen shot is on the left side of the screen) can be made to disappear through code. I don't have A2007 so I don't know. I guess this 'Navigation Pane' is something new in A2007? Is there a line of code that will turn the pane off? An if the user is running 2003 is suppose it would generate an error but I could precede the code to turn off the pane with On Error Resume Next? 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.1/1140 - Release Date: 11/19/2007 7:05 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.2/1142 - Release Date: 11/20/2007 5:44 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.2/1142 - Release Date: 11/20/2007 5:44 PM From cfoust at infostatsystems.com Wed Nov 21 10:39:31 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 21 Nov 2007 08:39:31 -0800 Subject: [AccessD] OT: Was( Encrypting your stuff was offsite backup) In-Reply-To: <000b01c82c5b$ab731070$ef706c4c@jisshowsbs.local> References: <003101c828fd$8dcf9e50$8119fea9@LTVM><001301c82930$a9e31620$ef706c4c@jisshowsbs.local><00ae01c82ac6$d9d03010$6c7aa8c0@M90><001601c82bef$01dbf6b0$ef706c4c@jisshowsbs.local><007f01c82c3c$9253bb40$6c7aa8c0@M90> <000b01c82c5b$ab731070$ef706c4c@jisshowsbs.local> Message-ID: How much older? Enough to give me a real advantage? If you keep on about your weather while I'm bundled up in fleece, I may not need any other encouragement to come after you! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, November 21, 2007 8:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encrypting your stuff was offsite backup ...now, now Charlotte ...you'd not take advantage of a older man would you? :) ...besides which, it's 80F here, partly cloudy, and a gentle breeze ...you can find me outside in my hammock ...under the palms and banana trees ...among the orchids. William ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 21, 2007 11:15 AM Subject: Re: [AccessD] Encrypting your stuff was offsite backup > Hmmn ... and stay away from open windows? > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Wednesday, November 21, 2007 4:47 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > Just don't go skydiving with Ms. Foust. She may have learned a trick or > two from me as well. > > ;-) > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Tuesday, November 20, 2007 10:31 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > ...I've learned so much from you :) > > William > > ----- Original Message ----- > From: "jwcolby" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, November 19, 2007 11:11 AM > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > >>I am amazed that Mr Hindman has lived to his current age... And that >>he would sling stuff like that given his current age... >> >> >> John W. Colby >> Colby Consulting >> www.ColbyConsulting.com >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >> Foust >> Sent: Monday, November 19, 2007 10:59 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> >> I'll GET you for that, Mr. Hindman. Grrr >> >> Charlotte Foust aka Granny >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >> Sent: Saturday, November 17, 2007 7:44 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> >> ...now, now Max ...we'd all like to accept your claim to the >> gerontological gold here ...but that would make you something like 80+ > >> and writing code before the first computer was built ...besides which, > >> only Charlotte is that old :) >> >> William >> >> ----- Original Message ----- >> From: >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Saturday, November 17, 2007 4:38 AM >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> >> >>> Elvis? Crikey, I was coding before he was born! >>> How about the Andrews Sisters (WW2 singers from Minnesota)- world >> famous >>> though. >>> >>> Max >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >>> Sent: Friday, November 16, 2007 10:57 PM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >>> >>> I use a 4gig stick with a u3 encryption program, wear it on a chain >> around >>> my neck. I seldom take a laptop to client offices anymore because >>> most everything I need is on the stick ...just plug it in, log-on, >>> sync, >> and go >>> to work ...I use a similar password algorithm but based on an Elvis >> tune >>> ...shows my age, it does :) >>> >>> William >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Nov 21 10:41:08 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 21 Nov 2007 08:41:08 -0800 Subject: [AccessD] A2K7 Navigation Pane In-Reply-To: <003701c82c5c$578de6f0$0301a8c0@HAL9005> References: <00df01c82b45$ced67c80$0301a8c0@HAL9005><004101c82b9e$91e12e20$0301a8c0@HAL9005><004b01c82c0a$fffa0690$0301a8c0@HAL9005> <003701c82c5c$578de6f0$0301a8c0@HAL9005> Message-ID: LOL! Cue the Sergio Leone music! Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, November 21, 2007 8:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2K7 Navigation Pane Um...correction, I'm programming and providing design advice on forms and reports, and the major design features that he hadn't considered, like licensing, manual, consistency, etc. But it's his idea and specification of features and functions - I don't know squat about the patent and trademark process. So I guess I think of him as the developer and me as the hired gun. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, November 21, 2007 8:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K7 Navigation Pane *He's* developing it? Then what are you doing, hanging the curtains? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, November 20, 2007 10:52 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2K7 Navigation Pane Yeah, and I'd have to effect it through code since he's developing this jewel to sell and distribute. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 20, 2007 10:15 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K7 Navigation Pane Yuck, I haven't worked with the beast enough to know. Can you switch him over to VB.Net?? LOL I know there's some kind of draconian method to get the old pre-2007 look in Office, so that may apply to Access as well, but I haven't pursued it to find out. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, November 20, 2007 9:56 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2K7 Navigation Pane Apparently it's in form view as well. So no way to turn it off in form view? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 20, 2007 9:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K7 Navigation Pane If he's talking about the panel on the left in design view, then he's pretty much out of luck, since that's the replacement for the database window in 2007. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 19, 2007 11:20 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2K7 Navigation Pane Dear List: A client writes to ask if the Navigation Pane (which in his screen shot is on the left side of the screen) can be made to disappear through code. I don't have A2007 so I don't know. I guess this 'Navigation Pane' is something new in A2007? Is there a line of code that will turn the pane off? An if the user is running 2003 is suppose it would generate an error but I could precede the code to turn off the pane with On Error Resume Next? 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.1/1140 - Release Date: 11/19/2007 7:05 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.2/1142 - Release Date: 11/20/2007 5:44 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.2/1142 - Release Date: 11/20/2007 5:44 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Wed Nov 21 11:16:42 2007 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 21 Nov 2007 11:16:42 -0600 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <474442B7.9010502@torchlake.com> Message-ID: <20071121171707.7B5DE1CE58@smtp-out-02.usinternet.com> I sure do forget the obvious things! My company is ProMation Systems, Inc. And I am also a single person company. ProMation Systems is a subchapter S corporation in Minnesota. I did this partly for marketing and partly for liability. Minnesota didn't allow the option to set up my company as a Limited Liability Corporation (LLC) 5 years ago, but that's what I would do today. Good Luck Susan, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Wednesday, November 21, 2007 8:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Action Pack Subscribers Hi Susan, I am also just a Registered Partner, like Dan. My company is Tall Pines Computer Training and I am the sole proprietor of this tiny company. I am also all the functions of the company, because Tall Pines is simply the commercial face of Tina Fields. My DBA with the county was cheaper than John's - only $10 - and it has to be renewed every three years. I file a Schedule C for the business with my annual income tax return. That's it! So, create a business or commercial face of Susan Harkins as your "organization" and you are all set - legally, and ethically. Kind regards, Tina Susan Harkins wrote: > I haven't gone through the process, but the information suggests you must be > part of an "organization" -- any loners out there who are partners? How did > you fill in the organization holes? I could make something up, but I'd > rather not. > > Susan H. > > > >> Susan, >> >> You can be a partner without being a "certified" partner. I'm an >> associate partner, but I don't subscribe to the action pack for various >> reasons. >> > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Wed Nov 21 11:56:07 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 21 Nov 2007 12:56:07 -0500 Subject: [AccessD] Action Pack Subscribers References: <001701c82b7f$705dde20$6c7aa8c0@M90><006f01c82b7f$ff129cf0$4b3a8343@SusanOne><009e01c82b8c$6cf6d270$8abea8c0@XPS><000401c82b8d$b1960080$4b3a8343@SusanOne><002901c82b92$51c7fe60$4b3a8343@SusanOne> <00c101c82b9d$ca1c6ee0$4b3a8343@SusanOne> <474442B7.9010502@torchlake.com> Message-ID: <00b201c82c67$cc678890$4b3a8343@SusanOne> OH MY GOSH!!!!! It won't let me use Firefox to sign up! Fools... Susan H. > Hi Susan, > > I am also just a Registered Partner, like Dan. My company is Tall Pines > Computer Training and I am the sole proprietor of this tiny company. I > am also all the functions of the company, because Tall Pines is simply > the commercial face of Tina Fields. My DBA with the county was cheaper > than John's - only $10 - and it has to be renewed every three years. I > file a Schedule C for the business with my annual income tax return. > That's it! > > So, create a business or commercial face of Susan Harkins as your > "organization" and you are all set - legally, and ethically. > > Kind regards, > Tina > > Susan Harkins wrote: >> I haven't gone through the process, but the information suggests you must >> be >> part of an "organization" -- any loners out there who are partners? How >> did >> you fill in the organization holes? I could make something up, but I'd >> rather not. >> >> Susan H. >> >> >> >>> Susan, >>> >>> You can be a partner without being a "certified" partner. I'm an >>> associate partner, but I don't subscribe to the action pack for various >>> reasons. >>> >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From ssharkins at gmail.com Wed Nov 21 12:21:39 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 21 Nov 2007 13:21:39 -0500 Subject: [AccessD] Action Pack Subscribers References: <001701c82b7f$705dde20$6c7aa8c0@M90><006f01c82b7f$ff129cf0$4b3a8343@SusanOne><009e01c82b8c$6cf6d270$8abea8c0@XPS><000401c82b8d$b1960080$4b3a8343@SusanOne><002901c82b92$51c7fe60$4b3a8343@SusanOne> <00c101c82b9d$ca1c6ee0$4b3a8343@SusanOne> <474442B7.9010502@torchlake.com> Message-ID: <00b701c82c6b$5e606e80$4b3a8343@SusanOne> Well, I can't sign up. I don't have a web site. It would not accept my account without a url. What a hoot -- a waste of my time today. These folks just think too well of themselves if you ask me. Susan H. > > I am also just a Registered Partner, like Dan. My company is Tall Pines > Computer Training and I am the sole proprietor of this tiny company. I > am also all the functions of the company, because Tall Pines is simply > the commercial face of Tina Fields. My DBA with the county was cheaper > than John's - only $10 - and it has to be renewed every three years. I > file a Schedule C for the business with my annual income tax return. > That's it! > > So, create a business or commercial face of Susan Harkins as your > "organization" and you are all set - legally, and ethically. > > Kind regards, > Tina > > Susan Harkins wrote: >> I haven't gone through the process, but the information suggests you must >> be >> part of an "organization" -- any loners out there who are partners? How >> did >> you fill in the organization holes? I could make something up, but I'd >> rather not. >> >> Susan H. >> >> >> >>> Susan, >>> >>> You can be a partner without being a "certified" partner. I'm an >>> associate partner, but I don't subscribe to the action pack for various >>> reasons. >>> >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From garykjos at gmail.com Wed Nov 21 12:33:18 2007 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 21 Nov 2007 12:33:18 -0600 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <00b701c82c6b$5e606e80$4b3a8343@SusanOne> References: <006f01c82b7f$ff129cf0$4b3a8343@SusanOne> <009e01c82b8c$6cf6d270$8abea8c0@XPS> <000401c82b8d$b1960080$4b3a8343@SusanOne> <002901c82b92$51c7fe60$4b3a8343@SusanOne> <00c101c82b9d$ca1c6ee0$4b3a8343@SusanOne> <474442B7.9010502@torchlake.com> <00b701c82c6b$5e606e80$4b3a8343@SusanOne> Message-ID: It just wants something. I put in www.comcast.net I beleive. On 11/21/07, Susan Harkins wrote: > Well, I can't sign up. I don't have a web site. It would not accept my > account without a url. What a hoot -- a waste of my time today. These folks > just think too well of themselves if you ask me. > > Susan H. > > > > > I am also just a Registered Partner, like Dan. My company is Tall Pines > > Computer Training and I am the sole proprietor of this tiny company. I > > am also all the functions of the company, because Tall Pines is simply > > the commercial face of Tina Fields. My DBA with the county was cheaper > > than John's - only $10 - and it has to be renewed every three years. I > > file a Schedule C for the business with my annual income tax return. > > That's it! > > > > So, create a business or commercial face of Susan Harkins as your > > "organization" and you are all set - legally, and ethically. > > > > Kind regards, > > Tina > > > > Susan Harkins wrote: > >> I haven't gone through the process, but the information suggests you must > >> be > >> part of an "organization" -- any loners out there who are partners? How > >> did > >> you fill in the organization holes? I could make something up, but I'd > >> rather not. > >> > >> Susan H. > >> > >> > >> > >>> Susan, > >>> > >>> You can be a partner without being a "certified" partner. I'm an > >>> associate partner, but I don't subscribe to the action pack for various > >>> reasons. > >>> > >> > >> > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From jwcolby at colbyconsulting.com Wed Nov 21 12:40:19 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 21 Nov 2007 13:40:19 -0500 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <00b201c82c67$cc678890$4b3a8343@SusanOne> References: <001701c82b7f$705dde20$6c7aa8c0@M90><006f01c82b7f$ff129cf0$4b3a8343@SusanOne><009e01c82b8c$6cf6d270$8abea8c0@XPS><000401c82b8d$b1960080$4b3a8343@SusanOne><002901c82b92$51c7fe60$4b3a8343@SusanOne> <00c101c82b9d$ca1c6ee0$4b3a8343@SusanOne><474442B7.9010502@torchlake.com> <00b201c82c67$cc678890$4b3a8343@SusanOne> Message-ID: <00a001c82c6d$f840e8c0$6c7aa8c0@M90> LOL. Yea, MS just HATES FireFox and does whatever they can to break it. I think they have a special "break Firefox goon squad" locked away in a little room just searching for incompatibilities night and day. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, November 21, 2007 12:56 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Action Pack Subscribers OH MY GOSH!!!!! It won't let me use Firefox to sign up! Fools... Susan H. > Hi Susan, > > I am also just a Registered Partner, like Dan. My company is Tall > Pines Computer Training and I am the sole proprietor of this tiny > company. I am also all the functions of the company, because Tall > Pines is simply the commercial face of Tina Fields. My DBA with the > county was cheaper than John's - only $10 - and it has to be renewed > every three years. I file a Schedule C for the business with my annual income tax return. > That's it! > > So, create a business or commercial face of Susan Harkins as your > "organization" and you are all set - legally, and ethically. > > Kind regards, > Tina > > Susan Harkins wrote: >> I haven't gone through the process, but the information suggests you >> must be part of an "organization" -- any loners out there who are >> partners? How did you fill in the organization holes? I could make >> something up, but I'd rather not. >> >> Susan H. >> >> >> >>> Susan, >>> >>> You can be a partner without being a "certified" partner. I'm an >>> associate partner, but I don't subscribe to the action pack for >>> various reasons. >>> >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 21 12:42:25 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 21 Nov 2007 13:42:25 -0500 Subject: [AccessD] Action Pack Subscribers In-Reply-To: References: <006f01c82b7f$ff129cf0$4b3a8343@SusanOne><009e01c82b8c$6cf6d270$8abea8c0@XPS><000401c82b8d$b1960080$4b3a8343@SusanOne><002901c82b92$51c7fe60$4b3a8343@SusanOne><00c101c82b9d$ca1c6ee0$4b3a8343@SusanOne><474442B7.9010502@torchlake.com><00b701c82c6b$5e606e80$4b3a8343@SusanOne> Message-ID: <00a101c82c6e$43112180$6c7aa8c0@M90> ROTFL, that is too good. You should have put in some porn site that would have infected their computers with nasties when they clicked on it to test that it was valid. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Wednesday, November 21, 2007 1:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Action Pack Subscribers It just wants something. I put in www.comcast.net I beleive. On 11/21/07, Susan Harkins wrote: > Well, I can't sign up. I don't have a web site. It would not accept my > account without a url. What a hoot -- a waste of my time today. These > folks just think too well of themselves if you ask me. > > Susan H. From andy at minstersystems.co.uk Wed Nov 21 12:42:17 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 21 Nov 2007 18:42:17 -0000 Subject: [AccessD] OT: Was( Encrypting your stuff was offsite backup) In-Reply-To: Message-ID: <012101c82c6e$3f0906c0$3183d355@minster33c3r25> Enough already. What started as a Friday OT has staggered on to Wednesday and that's probably enough. Please go OT if you want to carry this on. Thanks. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: 21 November 2007 16:40 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Was( Encrypting your stuff was > offsite backup) > > > How much older? Enough to give me a real advantage? If you > keep on about your weather while I'm bundled up in fleece, I > may not need any other encouragement to come after you! LOL > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > William Hindman > Sent: Wednesday, November 21, 2007 8:29 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > ...now, now Charlotte ...you'd not take advantage of a older > man would you? > :) > > ...besides which, it's 80F here, partly cloudy, and a gentle > breeze ...you can find me outside in my hammock ...under the > palms and banana trees ...among the orchids. > > William > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 21, 2007 11:15 AM > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > > > Hmmn ... and stay away from open windows? > > > > Charlotte Foust > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > > Sent: Wednesday, November 21, 2007 4:47 AM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > > > Just don't go skydiving with Ms. Foust. She may have > learned a trick > or > > two from me as well. > > > > ;-) > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > > Hindman > > Sent: Tuesday, November 20, 2007 10:31 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > > > ...I've learned so much from you :) > > > > William > > > > ----- Original Message ----- > > From: "jwcolby" > > To: "'Access Developers discussion and problem solving'" > > > > Sent: Monday, November 19, 2007 11:11 AM > > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > > > > >>I am amazed that Mr Hindman has lived to his current age... > And that > >>he would sling stuff like that given his current age... > >> > >> > >> John W. Colby > >> Colby Consulting > >> www.ColbyConsulting.com > >> -----Original Message----- > >> From: accessd-bounces at databaseadvisors.com > >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte > >> Foust > >> Sent: Monday, November 19, 2007 10:59 AM > >> To: Access Developers discussion and problem solving > >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup > >> > >> I'll GET you for that, Mr. Hindman. Grrr > >> > >> Charlotte Foust aka Granny > >> > >> -----Original Message----- > >> From: accessd-bounces at databaseadvisors.com > >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > >> Hindman > >> Sent: Saturday, November 17, 2007 7:44 AM > >> To: Access Developers discussion and problem solving > >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup > >> > >> ...now, now Max ...we'd all like to accept your claim to the > >> gerontological gold here ...but that would make you something like > 80+ > > > >> and writing code before the first computer was built ...besides > which, > > > >> only Charlotte is that old :) > >> > >> William > >> > >> ----- Original Message ----- > >> From: > >> To: "'Access Developers discussion and problem solving'" > >> > >> Sent: Saturday, November 17, 2007 4:38 AM > >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup > >> > >> > >>> Elvis? Crikey, I was coding before he was born! > >>> How about the Andrews Sisters (WW2 singers from Minnesota)- world > >> famous > >>> though. > >>> > >>> Max > >>> > >>> > >>> -----Original Message----- > >>> From: accessd-bounces at databaseadvisors.com > >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > >> Hindman > >>> Sent: Friday, November 16, 2007 10:57 PM > >>> To: Access Developers discussion and problem solving > >>> Subject: Re: [AccessD] Encrypting your stuff was offsite backup > >>> > >>> I use a 4gig stick with a u3 encryption program, wear it > on a chain > >> around > >>> my neck. I seldom take a laptop to client offices anymore because > >>> most everything I need is on the stick ...just plug it > in, log-on, > >>> sync, > >> and go > >>> to work ...I use a similar password algorithm but based > on an Elvis > >> tune > >>> ...shows my age, it does :) > >>> > >>> William > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 21 12:54:39 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 21 Nov 2007 13:54:39 -0500 Subject: [AccessD] OT: Was( Encrypting your stuff was offsite backup) In-Reply-To: <012101c82c6e$3f0906c0$3183d355@minster33c3r25> References: <012101c82c6e$3f0906c0$3183d355@minster33c3r25> Message-ID: <00a201c82c6f$f88bc280$6c7aa8c0@M90> Andy, In the US this is the new Friday (for this week - Thanksgiving long weekend) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Wednesday, November 21, 2007 1:42 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Was( Encrypting your stuff was offsite backup) Enough already. What started as a Friday OT has staggered on to Wednesday and that's probably enough. Please go OT if you want to carry this on. Thanks. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: 21 November 2007 16:40 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Was( Encrypting your stuff was offsite > backup) > > > How much older? Enough to give me a real advantage? If you keep on > about your weather while I'm bundled up in fleece, I may not need any > other encouragement to come after you! LOL > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Wednesday, November 21, 2007 8:29 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > ...now, now Charlotte ...you'd not take advantage of a older man would > you? > :) > > ...besides which, it's 80F here, partly cloudy, and a gentle breeze > ...you can find me outside in my hammock ...under the palms and banana > trees ...among the orchids. > > William > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 21, 2007 11:15 AM > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > > > Hmmn ... and stay away from open windows? > > > > Charlotte Foust > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > > Sent: Wednesday, November 21, 2007 4:47 AM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > > > Just don't go skydiving with Ms. Foust. She may have > learned a trick > or > > two from me as well. > > > > ;-) > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > > Hindman > > Sent: Tuesday, November 20, 2007 10:31 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > > > ...I've learned so much from you :) > > > > William > > > > ----- Original Message ----- > > From: "jwcolby" > > To: "'Access Developers discussion and problem solving'" > > > > Sent: Monday, November 19, 2007 11:11 AM > > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > > > > >>I am amazed that Mr Hindman has lived to his current age... > And that > >>he would sling stuff like that given his current age... > >> > >> > >> John W. Colby > >> Colby Consulting > >> www.ColbyConsulting.com > >> -----Original Message----- > >> From: accessd-bounces at databaseadvisors.com > >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte > >> Foust > >> Sent: Monday, November 19, 2007 10:59 AM > >> To: Access Developers discussion and problem solving > >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup > >> > >> I'll GET you for that, Mr. Hindman. Grrr > >> > >> Charlotte Foust aka Granny > >> > >> -----Original Message----- > >> From: accessd-bounces at databaseadvisors.com > >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > >> Hindman > >> Sent: Saturday, November 17, 2007 7:44 AM > >> To: Access Developers discussion and problem solving > >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup > >> > >> ...now, now Max ...we'd all like to accept your claim to the > >> gerontological gold here ...but that would make you something like > 80+ > > > >> and writing code before the first computer was built ...besides > which, > > > >> only Charlotte is that old :) > >> > >> William > >> > >> ----- Original Message ----- > >> From: > >> To: "'Access Developers discussion and problem solving'" > >> > >> Sent: Saturday, November 17, 2007 4:38 AM > >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup > >> > >> > >>> Elvis? Crikey, I was coding before he was born! > >>> How about the Andrews Sisters (WW2 singers from Minnesota)- world > >> famous > >>> though. > >>> > >>> Max > >>> > >>> > >>> -----Original Message----- > >>> From: accessd-bounces at databaseadvisors.com > >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > >> Hindman > >>> Sent: Friday, November 16, 2007 10:57 PM > >>> To: Access Developers discussion and problem solving > >>> Subject: Re: [AccessD] Encrypting your stuff was offsite backup > >>> > >>> I use a 4gig stick with a u3 encryption program, wear it > on a chain > >> around > >>> my neck. I seldom take a laptop to client offices anymore because > >>> most everything I need is on the stick ...just plug it > in, log-on, > >>> sync, > >> and go > >>> to work ...I use a similar password algorithm but based > on an Elvis > >> tune > >>> ...shows my age, it does :) > >>> > >>> William > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Wed Nov 21 13:09:11 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 21 Nov 2007 14:09:11 -0500 Subject: [AccessD] Action Pack Subscribers References: <006f01c82b7f$ff129cf0$4b3a8343@SusanOne><009e01c82b8c$6cf6d270$8abea8c0@XPS><000401c82b8d$b1960080$4b3a8343@SusanOne><002901c82b92$51c7fe60$4b3a8343@SusanOne><00c101c82b9d$ca1c6ee0$4b3a8343@SusanOne><474442B7.9010502@torchlake.com><00b701c82c6b$5e606e80$4b3a8343@SusanOne> Message-ID: <010501c82c72$070d1190$4b3a8343@SusanOne> Well, I really didn't think about doing something like that. I'm surprised they'll take anything, when they're forcing a value -- that seems terribly inefficient. Susan H. > It just wants something. I put in www.comcast.net I beleive. From wdhindman at dejpolsystems.com Wed Nov 21 13:18:59 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 21 Nov 2007 14:18:59 -0500 Subject: [AccessD] OT: Was( Encrypting your stuff was offsite backup) References: <012101c82c6e$3f0906c0$3183d355@minster33c3r25> <00a201c82c6f$f88bc280$6c7aa8c0@M90> Message-ID: <003301c82c73$5f042ef0$ef706c4c@jisshowsbs.local> ...sssshhhhh! ...don't tell Charlotte, eh ...Andy got me off the hook, he did :) William ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 21, 2007 1:54 PM Subject: Re: [AccessD] OT: Was( Encrypting your stuff was offsite backup) > Andy, > > In the US this is the new Friday (for this week - Thanksgiving long > weekend) > > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Sent: Wednesday, November 21, 2007 1:42 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] OT: Was( Encrypting your stuff was offsite backup) > > Enough already. What started as a Friday OT has staggered on to Wednesday > and that's probably enough. Please go OT if you want to carry this on. > Thanks. > > -- Andy Lacey > http://www.minstersystems.co.uk > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >> Foust >> Sent: 21 November 2007 16:40 >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] OT: Was( Encrypting your stuff was offsite >> backup) >> >> >> How much older? Enough to give me a real advantage? If you keep on >> about your weather while I'm bundled up in fleece, I may not need any >> other encouragement to come after you! LOL >> >> Charlotte Foust >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >> Sent: Wednesday, November 21, 2007 8:29 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> >> ...now, now Charlotte ...you'd not take advantage of a older man would >> you? >> :) >> >> ...besides which, it's 80F here, partly cloudy, and a gentle breeze >> ...you can find me outside in my hammock ...under the palms and banana >> trees ...among the orchids. >> >> William >> >> ----- Original Message ----- >> From: "Charlotte Foust" >> To: "Access Developers discussion and problem solving" >> >> Sent: Wednesday, November 21, 2007 11:15 AM >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> >> >> > Hmmn ... and stay away from open windows? >> > >> > Charlotte Foust >> > >> > -----Original Message----- >> > From: accessd-bounces at databaseadvisors.com >> > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> > Sent: Wednesday, November 21, 2007 4:47 AM >> > To: 'Access Developers discussion and problem solving' >> > Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> > >> > Just don't go skydiving with Ms. Foust. She may have >> learned a trick >> or >> > two from me as well. >> > >> > ;-) >> > >> > John W. Colby >> > Colby Consulting >> > www.ColbyConsulting.com >> > -----Original Message----- >> > From: accessd-bounces at databaseadvisors.com >> > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> > Hindman >> > Sent: Tuesday, November 20, 2007 10:31 PM >> > To: Access Developers discussion and problem solving >> > Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> > >> > ...I've learned so much from you :) >> > >> > William >> > >> > ----- Original Message ----- >> > From: "jwcolby" >> > To: "'Access Developers discussion and problem solving'" >> > >> > Sent: Monday, November 19, 2007 11:11 AM >> > Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> > >> > >> >>I am amazed that Mr Hindman has lived to his current age... >> And that >> >>he would sling stuff like that given his current age... >> >> >> >> >> >> John W. Colby >> >> Colby Consulting >> >> www.ColbyConsulting.com >> >> -----Original Message----- >> >> From: accessd-bounces at databaseadvisors.com >> >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> Charlotte >> >> Foust >> >> Sent: Monday, November 19, 2007 10:59 AM >> >> To: Access Developers discussion and problem solving >> >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> >> >> >> I'll GET you for that, Mr. Hindman. Grrr >> >> >> >> Charlotte Foust aka Granny >> >> >> >> -----Original Message----- >> >> From: accessd-bounces at databaseadvisors.com >> >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> >> Hindman >> >> Sent: Saturday, November 17, 2007 7:44 AM >> >> To: Access Developers discussion and problem solving >> >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> >> >> >> ...now, now Max ...we'd all like to accept your claim to the >> >> gerontological gold here ...but that would make you something like >> 80+ >> > >> >> and writing code before the first computer was built ...besides >> which, >> > >> >> only Charlotte is that old :) >> >> >> >> William >> >> >> >> ----- Original Message ----- >> >> From: >> >> To: "'Access Developers discussion and problem solving'" >> >> >> >> Sent: Saturday, November 17, 2007 4:38 AM >> >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> >> >> >> >> >>> Elvis? Crikey, I was coding before he was born! >> >>> How about the Andrews Sisters (WW2 singers from Minnesota)- world >> >> famous >> >>> though. >> >>> >> >>> Max >> >>> >> >>> >> >>> -----Original Message----- >> >>> From: accessd-bounces at databaseadvisors.com >> >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> >> Hindman >> >>> Sent: Friday, November 16, 2007 10:57 PM >> >>> To: Access Developers discussion and problem solving >> >>> Subject: Re: [AccessD] Encrypting your stuff was offsite backup >> >>> >> >>> I use a 4gig stick with a u3 encryption program, wear it >> on a chain >> >> around >> >>> my neck. I seldom take a laptop to client offices anymore because >> >>> most everything I need is on the stick ...just plug it >> in, log-on, >> >>> sync, >> >> and go >> >>> to work ...I use a similar password algorithm but based >> on an Elvis >> >> tune >> >>> ...shows my age, it does :) >> >>> >> >>> William >> >> >> >> -- >> >> AccessD mailing list >> >> AccessD at databaseadvisors.com >> >> http://databaseadvisors.com/mailman/listinfo/accessd >> >> Website: http://www.databaseadvisors.com >> > >> > >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From garykjos at gmail.com Wed Nov 21 13:25:43 2007 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 21 Nov 2007 13:25:43 -0600 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <010501c82c72$070d1190$4b3a8343@SusanOne> References: <000401c82b8d$b1960080$4b3a8343@SusanOne> <002901c82b92$51c7fe60$4b3a8343@SusanOne> <00c101c82b9d$ca1c6ee0$4b3a8343@SusanOne> <474442B7.9010502@torchlake.com> <00b701c82c6b$5e606e80$4b3a8343@SusanOne> <010501c82c72$070d1190$4b3a8343@SusanOne> Message-ID: You could try putting "NONE" in there too. Might just be looking for a non-blank value. Yes, it's dumb that it requires it, but you have to give it what it wants. On my companies website we have literally hundreds of thousands of customers with things like "None" or "No E-MAIL" or "I don't have e-mail" in the e-mail address field. We evidently were requiring customers to enter something in there. I have had to do a lot of filters over the years to weed out that kind of crud. On 11/21/07, Susan Harkins wrote: > Well, I really didn't think about doing something like that. I'm surprised > they'll take anything, when they're forcing a value -- that seems terribly > inefficient. > > Susan H. > > > > It just wants something. I put in www.comcast.net I beleive. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From ssharkins at gmail.com Wed Nov 21 13:43:10 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 21 Nov 2007 14:43:10 -0500 Subject: [AccessD] Action Pack Subscribers References: <000401c82b8d$b1960080$4b3a8343@SusanOne><002901c82b92$51c7fe60$4b3a8343@SusanOne><00c101c82b9d$ca1c6ee0$4b3a8343@SusanOne><474442B7.9010502@torchlake.com><00b701c82c6b$5e606e80$4b3a8343@SusanOne><010501c82c72$070d1190$4b3a8343@SusanOne> Message-ID: <000401c82c76$c1682490$4b3a8343@SusanOne> > You could try putting "NONE" in there too. Might just be looking for > a non-blank value. Yes, it's dumb that it requires it, but you have > to give it what it wants. =====Tried that. Susan H. From andy at minstersystems.co.uk Wed Nov 21 13:54:10 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 21 Nov 2007 19:54:10 -0000 Subject: [AccessD] OT: Was( Encrypting your stuff was offsite backup) In-Reply-To: <00a201c82c6f$f88bc280$6c7aa8c0@M90> Message-ID: <013401c82c78$48efec80$3183d355@minster33c3r25> Don't rub it in - work as usual for the rest of us. Happy Thanksgiving anyway. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 21 November 2007 18:55 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] OT: Was( Encrypting your stuff was > offsite backup) > > > Andy, > > In the US this is the new Friday (for this week - > Thanksgiving long weekend) > > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Sent: Wednesday, November 21, 2007 1:42 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] OT: Was( Encrypting your stuff was > offsite backup) > > Enough already. What started as a Friday OT has staggered on > to Wednesday and that's probably enough. Please go OT if you > want to carry this on. Thanks. > > -- Andy Lacey > http://www.minstersystems.co.uk > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > > Foust > > Sent: 21 November 2007 16:40 > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] OT: Was( Encrypting your stuff was offsite > > backup) > > > > > > How much older? Enough to give me a real advantage? If you keep on > > about your weather while I'm bundled up in fleece, I may > not need any > > other encouragement to come after you! LOL > > > > Charlotte Foust > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > > Hindman > > Sent: Wednesday, November 21, 2007 8:29 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > > > ...now, now Charlotte ...you'd not take advantage of a > older man would > > you? > > :) > > > > ...besides which, it's 80F here, partly cloudy, and a gentle breeze > > ...you can find me outside in my hammock ...under the palms > and banana > > trees ...among the orchids. > > > > William > > > > ----- Original Message ----- > > From: "Charlotte Foust" > > To: "Access Developers discussion and problem solving" > > > > Sent: Wednesday, November 21, 2007 11:15 AM > > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > > > > > > Hmmn ... and stay away from open windows? > > > > > > Charlotte Foust > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > > > Sent: Wednesday, November 21, 2007 4:47 AM > > > To: 'Access Developers discussion and problem solving' > > > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > > > > > Just don't go skydiving with Ms. Foust. She may have > > learned a trick > > or > > > two from me as well. > > > > > > ;-) > > > > > > John W. Colby > > > Colby Consulting > > > www.ColbyConsulting.com > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > > > Hindman > > > Sent: Tuesday, November 20, 2007 10:31 PM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > > > > > ...I've learned so much from you :) > > > > > > William > > > > > > ----- Original Message ----- > > > From: "jwcolby" > > > To: "'Access Developers discussion and problem solving'" > > > > > > Sent: Monday, November 19, 2007 11:11 AM > > > Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > > > > > > > >>I am amazed that Mr Hindman has lived to his current age... > > And that > > >>he would sling stuff like that given his current age... > > >> > > >> > > >> John W. Colby > > >> Colby Consulting > > >> www.ColbyConsulting.com > > >> -----Original Message----- > > >> From: accessd-bounces at databaseadvisors.com > > >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Charlotte > > >> Foust > > >> Sent: Monday, November 19, 2007 10:59 AM > > >> To: Access Developers discussion and problem solving > > >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > >> > > >> I'll GET you for that, Mr. Hindman. Grrr > > >> > > >> Charlotte Foust aka Granny > > >> > > >> -----Original Message----- > > >> From: accessd-bounces at databaseadvisors.com > > >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of William > > >> Hindman > > >> Sent: Saturday, November 17, 2007 7:44 AM > > >> To: Access Developers discussion and problem solving > > >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > >> > > >> ...now, now Max ...we'd all like to accept your claim to the > > >> gerontological gold here ...but that would make you > something like > > 80+ > > > > > >> and writing code before the first computer was built ...besides > > which, > > > > > >> only Charlotte is that old :) > > >> > > >> William > > >> > > >> ----- Original Message ----- > > >> From: > > >> To: "'Access Developers discussion and problem solving'" > > >> > > >> Sent: Saturday, November 17, 2007 4:38 AM > > >> Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > >> > > >> > > >>> Elvis? Crikey, I was coding before he was born! > > >>> How about the Andrews Sisters (WW2 singers from > Minnesota)- world > > >> famous > > >>> though. > > >>> > > >>> Max > > >>> > > >>> > > >>> -----Original Message----- > > >>> From: accessd-bounces at databaseadvisors.com > > >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of William > > >> Hindman > > >>> Sent: Friday, November 16, 2007 10:57 PM > > >>> To: Access Developers discussion and problem solving > > >>> Subject: Re: [AccessD] Encrypting your stuff was offsite backup > > >>> > > >>> I use a 4gig stick with a u3 encryption program, wear it > > on a chain > > >> around > > >>> my neck. I seldom take a laptop to client offices > anymore because > > >>> most everything I need is on the stick ...just plug it > > in, log-on, > > >>> sync, > > >> and go > > >>> to work ...I use a similar password algorithm but based > > on an Elvis > > >> tune > > >>> ...shows my age, it does :) > > >>> > > >>> William > > >> > > >> -- > > >> AccessD mailing list > > >> AccessD at databaseadvisors.com > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > >> Website: http://www.databaseadvisors.com > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From dwaters at usinternet.com Wed Nov 21 14:17:33 2007 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 21 Nov 2007 14:17:33 -0600 Subject: [AccessD] Action Pack Subscribers In-Reply-To: <000401c82c76$c1682490$4b3a8343@SusanOne> Message-ID: <20071121201759.436A61CD57@smtp-out-02.usinternet.com> How about www.databaseadvisors.com ? It is where you work!!! ;-) Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, November 21, 2007 1:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Action Pack Subscribers > You could try putting "NONE" in there too. Might just be looking for > a non-blank value. Yes, it's dumb that it requires it, but you have > to give it what it wants. =====Tried that. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Nov 21 15:04:53 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 21 Nov 2007 16:04:53 -0500 Subject: [AccessD] Optimizing queries with in() - SQL Server 2005 Message-ID: <00b401c82c82$29e9d4e0$6c7aa8c0@M90> I have a lot of queries where I have to look for multiple values. I have been using an IN() clause but I am advised that is very slow. OTOH I built two queries that use an IN() in one query and a bunch of ORs in the other and over a 56 million record table they were both so fast I couldn't see the difference (Indexed column, containing values 1-9 and A-T (under 2 sec) Any comments? John W. Colby Colby Consulting www.ColbyConsulting.com From ssharkins at gmail.com Wed Nov 21 15:07:06 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 21 Nov 2007 16:07:06 -0500 Subject: [AccessD] Action Pack Subscribers References: <20071121201759.436A61CD57@smtp-out-02.usinternet.com> Message-ID: <002d01c82c82$7ba30130$4b3a8343@SusanOne> Well, I hadn't thought about that either. :) Susan H. > How about www.databaseadvisors.com ? > > It is where you work!!! ;-) From max.wanadoo at gmail.com Wed Nov 21 15:13:52 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Wed, 21 Nov 2007 21:13:52 -0000 Subject: [AccessD] Encrypting your stuff was offsite backup In-Reply-To: <008301c82945$db6d1320$6c7aa8c0@M90> Message-ID: <007401c82c83$6bad0c20$8119fea9@LTVM> Hi John (Colby) No doubt you have heard of the disgraceful loss of data by our Government who *lost* 25 million (yes, MILLION) personal details on two CDs. Not only that, but they were UNENCRYPTED. Obviously never heard of TrueCrypt. Perhaps you should offer your services as IT Consultant to the British Government. God knows, they need some help! Max P.s To check the stories goto www.bbc.co.uk/news or www.itv.com/news or any UK news site. From jwcolby at colbyconsulting.com Wed Nov 21 16:53:50 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 21 Nov 2007 17:53:50 -0500 Subject: [AccessD] Encrypting your stuff was offsite backup In-Reply-To: <007401c82c83$6bad0c20$8119fea9@LTVM> References: <008301c82945$db6d1320$6c7aa8c0@M90> <007401c82c83$6bad0c20$8119fea9@LTVM> Message-ID: <00bb01c82c91$6257f230$6c7aa8c0@M90> Max, The problem is rampant. In the US it is another case every week. Laptops stolen, backups lost on the way to the archive, unencrypted data on servers. This stuff isn't rocket science, I mean if I can do it anyone can. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Wednesday, November 21, 2007 4:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Encrypting your stuff was offsite backup Hi John (Colby) No doubt you have heard of the disgraceful loss of data by our Government who *lost* 25 million (yes, MILLION) personal details on two CDs. Not only that, but they were UNENCRYPTED. Obviously never heard of TrueCrypt. Perhaps you should offer your services as IT Consultant to the British Government. God knows, they need some help! Max P.s To check the stories goto www.bbc.co.uk/news or www.itv.com/news or any UK news site. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Nov 21 16:58:00 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 21 Nov 2007 14:58:00 -0800 Subject: [AccessD] Encrypting your stuff was offsite backup In-Reply-To: <007401c82c83$6bad0c20$8119fea9@LTVM> References: <008301c82945$db6d1320$6c7aa8c0@M90> <007401c82c83$6bad0c20$8119fea9@LTVM> Message-ID: <00b001c82c91$f74a4960$0301a8c0@HAL9005> Heard that on the news today. Apparently big embarrassment for the government. Big enough to bring it down? Any evidence yet that the data's been used? Rocky' -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Wednesday, November 21, 2007 1:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Encrypting your stuff was offsite backup Hi John (Colby) No doubt you have heard of the disgraceful loss of data by our Government who *lost* 25 million (yes, MILLION) personal details on two CDs. Not only that, but they were UNENCRYPTED. Obviously never heard of TrueCrypt. Perhaps you should offer your services as IT Consultant to the British Government. God knows, they need some help! Max P.s To check the stories goto www.bbc.co.uk/news or www.itv.com/news or any UK news site. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.2/1142 - Release Date: 11/20/2007 5:44 PM From max.wanadoo at gmail.com Wed Nov 21 17:10:06 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Wed, 21 Nov 2007 23:10:06 -0000 Subject: [AccessD] Encrypting your stuff was offsite backup In-Reply-To: <00bb01c82c91$6257f230$6c7aa8c0@M90> Message-ID: <009c01c82c93$a952ce10$8119fea9@LTVM> Indeed! It is easy and there are so many tools available - free if our Government is strapped for cash! But this represents HALF of our population. It now comes out that "It was too costly to separate the required/requested information" (Names and Insurance Nos.) so Her Majesty's Inspector of Taxes just dumped the lot onto 2xCDs and popped them in the postal system. Bank Details, Personal data, the lot! Not even encrypted! A simple query in Access would have done the job, followed by an encryption routine. Goodness me. I am just so astounded by the incompetence of it all. We all wait now to see how many Identify Fraud cases pop up because of this. How many foreign illegal immigrants gain access by impersonation, etc. Solution: Make it compulsory for all IT staff in Government to sign up to databaseadvisors! Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, November 21, 2007 10:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Encrypting your stuff was offsite backup Max, The problem is rampant. In the US it is another case every week. Laptops stolen, backups lost on the way to the archive, unencrypted data on servers. This stuff isn't rocket science, I mean if I can do it anyone can. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Wednesday, November 21, 2007 4:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Encrypting your stuff was offsite backup Hi John (Colby) No doubt you have heard of the disgraceful loss of data by our Government who *lost* 25 million (yes, MILLION) personal details on two CDs. Not only that, but they were UNENCRYPTED. Obviously never heard of TrueCrypt. Perhaps you should offer your services as IT Consultant to the British Government. God knows, they need some help! Max P.s To check the stories goto www.bbc.co.uk/news or www.itv.com/news or any UK news site. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Wed Nov 21 17:11:23 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Wed, 21 Nov 2007 23:11:23 -0000 Subject: [AccessD] Encrypting your stuff was offsite backup In-Reply-To: <00b001c82c91$f74a4960$0301a8c0@HAL9005> Message-ID: <009d01c82c93$d7f6ceb0$8119fea9@LTVM> Not so far, but believe me, we are all waiting for the first case to surface. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, November 21, 2007 10:58 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Encrypting your stuff was offsite backup Heard that on the news today. Apparently big embarrassment for the government. Big enough to bring it down? Any evidence yet that the data's been used? Rocky' -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Wednesday, November 21, 2007 1:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Encrypting your stuff was offsite backup Hi John (Colby) No doubt you have heard of the disgraceful loss of data by our Government who *lost* 25 million (yes, MILLION) personal details on two CDs. Not only that, but they were UNENCRYPTED. Obviously never heard of TrueCrypt. Perhaps you should offer your services as IT Consultant to the British Government. God knows, they need some help! Max P.s To check the stories goto www.bbc.co.uk/news or www.itv.com/news or any UK news site. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.2/1142 - Release Date: 11/20/2007 5:44 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fahooper at trapo.com Wed Nov 21 21:24:34 2007 From: fahooper at trapo.com (Fred Hooper) Date: Wed, 21 Nov 2007 22:24:34 -0500 Subject: [AccessD] Optimizing queries with in() - SQL Server 2005 In-Reply-To: <00b401c82c82$29e9d4e0$6c7aa8c0@M90> Message-ID: <005301c82cb7$34918b10$8151dd48@fredxp> John, I think that an IN() and a bunch of ORs are roughly equivalent. Try selecting the values you want in a sub query and (inner) joining it to the table you want to limit. E.g. select foo.* from foo inner join (select value_field from foo2 where choice = 'Y') lim on foo.value_field = lim.value_field If you use the limitation in more than one place, or just for readability, try the With clause. E.g. With limiting_values as (select value_field from foo2 where choice = 'Y') select foo.* from foo inner join limiting_values lim on foo.value_field = lim.value_field If you check the cost of both approaches I think you'll find that the IN/OR approach causes a full table scan while limiting through a join avoids it. I frequently do this when I've set the foo2.choice field using code and use the values to limit another larger table. (Note: foo2 holds all possible selection values for the value_field.) Hope this helps, Fred -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, November 21, 2007 4:05 PM To: dba-sqlserver at databaseadvisors.com; 'Access Developers discussion and problem solving' Subject: [AccessD] Optimizing queries with in() - SQL Server 2005 I have a lot of queries where I have to look for multiple values. I have been using an IN() clause but I am advised that is very slow. OTOH I built two queries that use an IN() in one query and a bunch of ORs in the other and over a 56 million record table they were both so fast I couldn't see the difference (Indexed column, containing values 1-9 and A-T (under 2 sec) Any comments? John W. Colby Colby Consulting 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 Thu Nov 22 01:34:02 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 22 Nov 2007 02:34:02 -0500 Subject: [AccessD] Optimizing queries with in() - SQL Server 2005 In-Reply-To: <005301c82cb7$34918b10$8151dd48@fredxp> References: <00b401c82c82$29e9d4e0$6c7aa8c0@M90> <005301c82cb7$34918b10$8151dd48@fredxp> Message-ID: <00ca01c82cda$0e4429e0$6c7aa8c0@M90> Thanks Fred. I have situations where for example Where Income IN('A','B','C','D','E') The values in the field range from 0-9 and A-T. The obvious solution is to "prep" the field by changing the 'A' to 10, 'B' to 11 etc and then doing a numeric comparison. Unfortunately the data owner needs to come on board and do a conversion as well so that they can understand and ask for 11 when they were used to asking for 'A'. In any case, this is a common occurrence in my data. The values are always characters (ascii) as opposed to numbers, even when they are numeric characters. This is that huge table I deal with where there are 600 fields of data, pulled in from text files. I have other fields like (boat) hull type where the values are 'A' (aluminum), 'R' (Rubber), 'F' (Fiberglass) etc so there is just no getting around some sort of IN() or =X or =Y kind of solution. I am doing the subquery route however. Today I had a case where I had to do an Income IN('A','B'..'T') and then AND that with another field where there were ORs - PresenceOfChildren11-13 IN('1','3','5','7') OR PresenceOfChildren16-17 IN('1','3','5','7'). It just SEEMS to make sense to do the Income IN() as a separate query and then inner join to the PresenceOfChildren query to create the AND effect. Whoever created the data obviously didn't understand databases and how to optimize the data for the ability to retrieve results efficiently. It's just a PITA, the table is huge (600 fields wide) and over 50 million records to sort through. "Prepping" the table over time (one field at a time as it is called for) will work and I will probably do that. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Fred Hooper Sent: Wednesday, November 21, 2007 10:25 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Optimizing queries with in() - SQL Server 2005 John, I think that an IN() and a bunch of ORs are roughly equivalent. Try selecting the values you want in a sub query and (inner) joining it to the table you want to limit. E.g. select foo.* from foo inner join (select value_field from foo2 where choice = 'Y') lim on foo.value_field = lim.value_field If you use the limitation in more than one place, or just for readability, try the With clause. E.g. With limiting_values as (select value_field from foo2 where choice = 'Y') select foo.* from foo inner join limiting_values lim on foo.value_field = lim.value_field If you check the cost of both approaches I think you'll find that the IN/OR approach causes a full table scan while limiting through a join avoids it. I frequently do this when I've set the foo2.choice field using code and use the values to limit another larger table. (Note: foo2 holds all possible selection values for the value_field.) Hope this helps, Fred -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, November 21, 2007 4:05 PM To: dba-sqlserver at databaseadvisors.com; 'Access Developers discussion and problem solving' Subject: [AccessD] Optimizing queries with in() - SQL Server 2005 I have a lot of queries where I have to look for multiple values. I have been using an IN() clause but I am advised that is very slow. OTOH I built two queries that use an IN() in one query and a bunch of ORs in the other and over a 56 million record table they were both so fast I couldn't see the difference (Indexed column, containing values 1-9 and A-T (under 2 sec) Any comments? John W. Colby Colby Consulting 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 nd500_lo at charter.net Thu Nov 22 13:54:27 2007 From: nd500_lo at charter.net (Dian) Date: Thu, 22 Nov 2007 11:54:27 -0800 Subject: [AccessD] OT: Thanksgiving In-Reply-To: References: Message-ID: <000301c82d41$7dc3d790$6400a8c0@dsunit1> I was sitting here, thinking of all the things I have to be extremely grateful for today...and this group came to mind. Over the years, through some miracle, every time I've hit a place where I was too confused to even know what to ask...someone else in this group has asked the question I needed to ask and I've reaped the benefits of all the answers. I owe all of you a debt of gratitude and this is the best I can do. Everything I have accomplished professionally, I owe to each and every one of you. You are, individually and collectively, amazing. Thank you for being here...Happy Thanksgiving! From ssharkins at gmail.com Thu Nov 22 14:00:11 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 22 Nov 2007 15:00:11 -0500 Subject: [AccessD] OT: Thanksgiving References: <000301c82d41$7dc3d790$6400a8c0@dsunit1> Message-ID: <000d01c82d42$4bb677c0$4b3a8343@SusanOne> If somebody on this list can't solve your problem, it can't be solved. ;) Susan H. > > I was sitting here, thinking of all the things I have to be extremely > grateful for today...and this group came to mind. Over the years, through > some miracle, every time I've hit a place where I was too confused to even > know what to ask...someone else in this group has asked the question I > needed to ask and I've reaped the benefits of all the answers. I owe all > of > you a debt of gratitude and this is the best I can do. Everything I have > accomplished professionally, I owe to each and every one of you. You are, > individually and collectively, amazing. Thank you for being here...Happy > Thanksgiving! > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From nd500_lo at charter.net Thu Nov 22 14:02:35 2007 From: nd500_lo at charter.net (Dian) Date: Thu, 22 Nov 2007 12:02:35 -0800 Subject: [AccessD] OT: Thanksgiving In-Reply-To: <000d01c82d42$4bb677c0$4b3a8343@SusanOne> References: <000301c82d41$7dc3d790$6400a8c0@dsunit1> <000d01c82d42$4bb677c0$4b3a8343@SusanOne> Message-ID: <000001c82d42$a06e3e10$6400a8c0@dsunit1> Susan, if you could see my bookshelf, you'll know you're at the top of the list.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, November 22, 2007 12:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Thanksgiving If somebody on this list can't solve your problem, it can't be solved. ;) Susan H. > > I was sitting here, thinking of all the things I have to be extremely > grateful for today...and this group came to mind. Over the years, > through some miracle, every time I've hit a place where I was too > confused to even know what to ask...someone else in this group has > asked the question I needed to ask and I've reaped the benefits of all > the answers. I owe all of you a debt of gratitude and this is the best > I can do. Everything I have accomplished professionally, I owe to each > and every one of you. You are, individually and collectively, amazing. > Thank you for being here...Happy Thanksgiving! > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Thu Nov 22 14:10:57 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Thu, 22 Nov 2007 15:10:57 -0500 Subject: [AccessD] OT: Thanksgiving In-Reply-To: <000d01c82d42$4bb677c0$4b3a8343@SusanOne> References: <000301c82d41$7dc3d790$6400a8c0@dsunit1> <000d01c82d42$4bb677c0$4b3a8343@SusanOne> Message-ID: On Nov 22, 2007 3:00 PM, Susan Harkins wrote: > If somebody on this list can't solve your problem, it can't be solved. ;) Ain't that the truth!!! Hope you all have a great Thanksgiving!!!! -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From ssharkins at gmail.com Thu Nov 22 14:39:40 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 22 Nov 2007 15:39:40 -0500 Subject: [AccessD] OT: Thanksgiving References: <000301c82d41$7dc3d790$6400a8c0@dsunit1><000d01c82d42$4bb677c0$4b3a8343@SusanOne> <000001c82d42$a06e3e10$6400a8c0@dsunit1> Message-ID: <002401c82d47$dbfbf670$4b3a8343@SusanOne> Oh my -- -- what a nice thing to say! Thank you so much! Susan H. > Susan, if you could see my bookshelf, you'll know you're at the top of the > list.... > > > If somebody on this list can't solve your problem, it can't be solved. ;) > From max.wanadoo at gmail.com Thu Nov 22 15:00:42 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Thu, 22 Nov 2007 21:00:42 -0000 Subject: [AccessD] OT: Thanksgiving In-Reply-To: Message-ID: <005101c82d4a$bf3d8910$8119fea9@LTVM> And it isn't always directly related to Access. Some of the other tips are great - a wide range of experience from a wide range of people. Always good tips and good references to information. Some may be OT in this regard but extremely useful none the less. Thanks to all. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Thursday, November 22, 2007 8:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Thanksgiving On Nov 22, 2007 3:00 PM, Susan Harkins wrote: > If somebody on this list can't solve your problem, it can't be solved. > ;) Ain't that the truth!!! Hope you all have a great Thanksgiving!!!! -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darren at activebilling.com.au Thu Nov 22 15:53:16 2007 From: darren at activebilling.com.au (Darren D) Date: Fri, 23 Nov 2007 08:53:16 +1100 Subject: [AccessD] OT: Thanksgiving In-Reply-To: <000301c82d41$7dc3d790$6400a8c0@dsunit1> Message-ID: <200711222153.lAMLrMSV009754@databaseadvisors.com> Here here And so say all of us My wife even knows some of regular names on this list - And she doesn't even have 'pewta' skills - I often talk about the victories that come from this list with her She'll see me smacking the monitor about the 'ears' in frustration and will say - "Send an email to your nerd mates" (That's her very sincere - tongue in cheek term for the team - Knowing how much I truly rely on you guys) Here in Oz we don't do thanksgiving - But I am very very grateful to this list and the 'nerds' on it - And to the friendships that have come from it Many many thanks DD -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dian Sent: Friday, 23 November 2007 6:54 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Thanksgiving I was sitting here, thinking of all the things I have to be extremely grateful for today...and this group came to mind. Over the years, through some miracle, every time I've hit a place where I was too confused to even know what to ask...someone else in this group has asked the question I needed to ask and I've reaped the benefits of all the answers. I owe all of you a debt of gratitude and this is the best I can do. Everything I have accomplished professionally, I owe to each and every one of you. You are, individually and collectively, amazing. Thank you for being here...Happy Thanksgiving! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Thu Nov 22 19:20:06 2007 From: robert at servicexp.com (Robert) Date: Thu, 22 Nov 2007 20:20:06 -0500 Subject: [AccessD] OT: Thanksgiving In-Reply-To: <000301c82d41$7dc3d790$6400a8c0@dsunit1> References: <000301c82d41$7dc3d790$6400a8c0@dsunit1> Message-ID: <47462AC6.8050602@servicexp.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Here Here, I raise my mug of hot coffee to every one in this group. This list is one of the most civilized and professional list I have the great privilege of reading, the wealth of talent and expertize is truly amazing. We indeed have much to be thankful for.. WBR ~Robert Dian wrote: > > I was sitting here, thinking of all the things I have to be extremely > grateful for today...and this group came to mind. Over the years, through > some miracle, every time I've hit a place where I was too confused to even > know what to ask...someone else in this group has asked the question I > needed to ask and I've reaped the benefits of all the answers. I owe all of > you a debt of gratitude and this is the best I can do. Everything I have > accomplished professionally, I owe to each and every one of you. You are, > individually and collectively, amazing. Thank you for being here...Happy > Thanksgiving! > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHRirG72dSYCwH8FQRAnKNAJoDPv+lqtGa9dralbwS27FWWWaPZwCeNcL9 f7qQKDMDLiXdaoTqQkqz9GQ= =uNd/ -----END PGP SIGNATURE----- From jwcolby at colbyconsulting.com Thu Nov 22 19:50:25 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 22 Nov 2007 20:50:25 -0500 Subject: [AccessD] OT: Thanksgiving In-Reply-To: <000301c82d41$7dc3d790$6400a8c0@dsunit1> References: <000301c82d41$7dc3d790$6400a8c0@dsunit1> Message-ID: <00ed01c82d73$37d4efd0$6c7aa8c0@M90> Thanks for expressing it so well. The strange thing is that we all feel the same way. Individually we each know a little or a lot, but together we are more than the sum. Happy Thanksgiving to all of the Americans, and the same feelings go out to the other list members. Thanks for being there, my life would be very different without you guys and gals. John W. Colby Colby Consulting www.ColbyConsulting.com PS I have no idea what the company books are like at this instant, but we are a not for profit company, incorporated in Delaware, and we do take donations to pay the bills. http://www.databaseadvisors.com/donations.asp -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dian Sent: Thursday, November 22, 2007 2:54 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Thanksgiving I was sitting here, thinking of all the things I have to be extremely grateful for today...and this group came to mind. Over the years, through some miracle, every time I've hit a place where I was too confused to even know what to ask...someone else in this group has asked the question I needed to ask and I've reaped the benefits of all the answers. I owe all of you a debt of gratitude and this is the best I can do. Everything I have accomplished professionally, I owe to each and every one of you. You are, individually and collectively, amazing. Thank you for being here...Happy Thanksgiving! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kp at sdsonline.net Thu Nov 22 22:35:41 2007 From: kp at sdsonline.net (Kath Pelletti) Date: Fri, 23 Nov 2007 15:35:41 +1100 Subject: [AccessD] Thanksgiving Message-ID: <000a01c82d8a$4ef6c0f0$6401a8c0@DELLAPTOP> Couldn't agree more with the comments made. A couple of times I have had to add 'URGENT' in the subject header because I needed some help asap and the list has never let me down. Happy thanksgiving to those of you who celebrate it, Kath ______________________________________ Kath Pelletti From Gustav at cactus.dk Fri Nov 23 01:00:25 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 23 Nov 2007 08:00:25 +0100 Subject: [AccessD] OT: Thanksgiving Message-ID: Hi Dian On this side of the ocean Thanksgiving doesn't mean much more than the word itself. But your writing explains why it has a deeper meaning for you - we should not take everything for granted. Thank you for the kind words! /gustav >>> nd500_lo at charter.net 22-11-2007 20:54 >>> I was sitting here, thinking of all the things I have to be extremely grateful for today...and this group came to mind. Over the years, through some miracle, every time I've hit a place where I was too confused to even know what to ask...someone else in this group has asked the question I needed to ask and I've reaped the benefits of all the answers. I owe all of you a debt of gratitude and this is the best I can do. Everything I have accomplished professionally, I owe to each and every one of you. You are, individually and collectively, amazing. Thank you for being here...Happy Thanksgiving! From newsgrps at dalyn.co.nz Fri Nov 23 02:07:41 2007 From: newsgrps at dalyn.co.nz (David Emerson) Date: Fri, 23 Nov 2007 21:07:41 +1300 Subject: [AccessD] Comparing date and time Message-ID: <20071123080517.BXNN9910.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> Group, Sorry to interrupt your feasting :-) I have a legacy database that stores times and dates in two separate date/time fields. Currently there is a query that compares two sets of dates like so: DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT ShipmentDetail.* " & _ "FROM ShipmentDetail INNER JOIN EntryLogSets ON ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ "WHERE (EntryLogSets.Date)>=[Forms]![BSVR]![BsvrStartDate])" This works. However, I need to change it so that it gets records that are after a certain date AND TIME. I am having problems with putting the two fields together into a single date/time. Here is my code: DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT ShipmentDetail.* " & _ "FROM ShipmentDetail INNER JOIN EntryLogSets ON ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ "WHERE CDate(EntryLogSets.Date & ' ' & EntryLogSets.Time)>= #" & CDate([Forms]![BSVR]![BsvrStartDate] & " " & [Forms]![BSVR]![BSVRStartTime]) & "#" An example of CDate([Forms]![BSVR]![BsvrStartDate] & " " & [Forms]![BSVR]![BSVRStartTime]) is 28/09/2007 9:40:00 a.m. The error I get is Error 3075 - Syntax error in date in query expression. The query runs ok if I just include the dates, but has a problem when I add the times. How can I combine the two fields into a single date/time for comparison? From andy at minstersystems.co.uk Fri Nov 23 02:19:53 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 23 Nov 2007 08:19:53 -0000 Subject: [AccessD] Comparing date and time In-Reply-To: <20071123080517.BXNN9910.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <018701c82da9$a03db260$3183d355@minster33c3r25> Hi David Well before you think about that how about this quick solution > DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT > ShipmentDetail.* " & _ > "FROM ShipmentDetail INNER JOIN EntryLogSets ON > ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ > "WHERE (EntryLogSets.Date>[Forms]![BSVR]![BsvrStartDate]) OR (EntryLogSets.Date=[Forms]![BSVR]![BsvrStartDate] AND EntryLogSets.Time>=[Forms]![BSVR]![BsvrStartTime]) ie the time only needs comparing if the dates are equal. Just a quick thought on my way out. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > David Emerson > Sent: 23 November 2007 08:08 > To: accessd at databaseadvisors.com > Subject: [AccessD] Comparing date and time > > > Group, > > Sorry to interrupt your feasting :-) > > I have a legacy database that stores times and dates in two separate > date/time fields. Currently there is a query that compares two sets > of dates like so: > > DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT > ShipmentDetail.* " & _ > "FROM ShipmentDetail INNER JOIN EntryLogSets ON > ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ > "WHERE (EntryLogSets.Date)>=[Forms]![BSVR]![BsvrStartDate])" > > This works. However, I need to change it so that it gets records > that are after a certain date AND TIME. I am having problems with > putting the two fields together into a single date/time. > Here is my code: > > DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT > ShipmentDetail.* " & _ > "FROM ShipmentDetail INNER JOIN EntryLogSets ON > ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ > "WHERE CDate(EntryLogSets.Date & ' ' & EntryLogSets.Time)>= #" & > CDate([Forms]![BSVR]![BsvrStartDate] & " " & > [Forms]![BSVR]![BSVRStartTime]) & "#" > > An example of CDate([Forms]![BSVR]![BsvrStartDate] & " " & > [Forms]![BSVR]![BSVRStartTime]) is 28/09/2007 9:40:00 a.m. > > The error I get is Error 3075 - Syntax error in date in query > expression. The query runs ok if I just include the dates, but has a > problem when I add the times. > > How can I combine the two fields into a single date/time for > comparison? > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From newsgrps at dalyn.co.nz Fri Nov 23 02:42:01 2007 From: newsgrps at dalyn.co.nz (David Emerson) Date: Fri, 23 Nov 2007 21:42:01 +1300 Subject: [AccessD] Comparing date and time In-Reply-To: <018701c82da9$a03db260$3183d355@minster33c3r25> References: <20071123080517.BXNN9910.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> <018701c82da9$a03db260$3183d355@minster33c3r25> Message-ID: <20071123083944.CSVU9910.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> Thanks Andy, I have simplified the problem. Ultimately I need to compare two sets of dates and times to get all records that fall between one date and time, and a second date and time. I could use your suggestion and do similar comparisons with the end date and time as well. I would be interested though in finding out how to create a full date/time from two separate fields. David At 23/11/2007, Andy Lacy wrote: >Hi David >Well before you think about that how about this quick solution > > > DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT > > ShipmentDetail.* " & _ > > "FROM ShipmentDetail INNER JOIN EntryLogSets ON > > ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ > > "WHERE (EntryLogSets.Date>[Forms]![BSVR]![BsvrStartDate]) > >OR (EntryLogSets.Date=[Forms]![BSVR]![BsvrStartDate] AND >EntryLogSets.Time>=[Forms]![BSVR]![BsvrStartTime]) > >ie the time only needs comparing if the dates are equal. > >Just a quick thought on my way out. > >-- Andy Lacey >http://www.minstersystems.co.uk > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > David Emerson > > Sent: 23 November 2007 08:08 > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Comparing date and time > > > > > > Group, > > > > Sorry to interrupt your feasting :-) > > > > I have a legacy database that stores times and dates in two separate > > date/time fields. Currently there is a query that compares two sets > > of dates like so: > > > > DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT > > ShipmentDetail.* " & _ > > "FROM ShipmentDetail INNER JOIN EntryLogSets ON > > ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ > > "WHERE (EntryLogSets.Date)>=[Forms]![BSVR]![BsvrStartDate])" > > > > This works. However, I need to change it so that it gets records > > that are after a certain date AND TIME. I am having problems with > > putting the two fields together into a single date/time. > > Here is my code: > > > > DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT > > ShipmentDetail.* " & _ > > "FROM ShipmentDetail INNER JOIN EntryLogSets ON > > ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ > > "WHERE CDate(EntryLogSets.Date & ' ' & EntryLogSets.Time)>= #" & > > CDate([Forms]![BSVR]![BsvrStartDate] & " " & > > [Forms]![BSVR]![BSVRStartTime]) & "#" > > > > An example of CDate([Forms]![BSVR]![BsvrStartDate] & " " & > > [Forms]![BSVR]![BSVRStartTime]) is 28/09/2007 9:40:00 a.m. > > > > The error I get is Error 3075 - Syntax error in date in query > > expression. The query runs ok if I just include the dates, but has a > > problem when I add the times. > > > > How can I combine the two fields into a single date/time for > > comparison? > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Fri Nov 23 03:50:36 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 23 Nov 2007 10:50:36 +0100 Subject: [AccessD] Comparing date and time Message-ID: <20071123105039.7E2E92B58F6@smtp.nildram.co.uk> Well this principel works (from Immediate window) x=datevalue("31/12/07") + timevalue("11:56:00") ? format(x,"dd/mm/yy hh:nn:ss") 31/12/07 11:56:00 -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Comparing date and time Date: 23/11/07 08:42 Thanks Andy, I have simplified the problem. Ultimately I need to compare two sets of dates and times to get all records that fall between one date and time, and a second date and time. I could use your suggestion and do similar comparisons with the end date and time as well. I would be interested though in finding out how to create a full date/time from two separate fields. David At 23/11/2007, Andy Lacy wrote: >Hi David >Well before you think about that how about this quick solution > > > DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT > > ShipmentDetail.* " & _ > > "FROM ShipmentDetail INNER JOIN EntryLogSets ON > > ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ > > "WHERE (EntryLogSets.Date>[Forms]![BSVR]![BsvrStartDate]) > >OR (EntryLogSets.Date=[Forms]![BSVR]![BsvrStartDate] AND >EntryLogSets.Time>=[Forms]![BSVR]![BsvrStartTime]) > >ie the time only needs comparing if the dates are equal. > >Just a quick thought on my way out. > >-- Andy Lacey >http://www.minstersystems.co.uk > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > David Emerson > > Sent: 23 November 2007 08:08 > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Comparing date and time > > > > > > Group, > > > > Sorry to interrupt your feasting :-) > > > > I have a legacy database that stores times and dates in two separate > > date/time fields. Currently there is a query that compares two sets > > of dates like so: > > > > DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT > > ShipmentDetail.* " & _ > > "FROM ShipmentDetail INNER JOIN EntryLogSets ON > > ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ > > "WHERE (EntryLogSets.Date)>=[Forms]![BSVR]![BsvrStartDate])" > > > > This works. However, I need to change it so that it gets records > > that are after a certain date AND TIME. I am having problems with > > putting the two fields together into a single date/time. > > Here is my code: > > > > DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT > > ShipmentDetail.* " & _ > > "FROM ShipmentDetail INNER JOIN EntryLogSets ON > > ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ > > "WHERE CDate(EntryLogSets.Date & ' ' & EntryLogSets.Time)>= #" & > > CDate([Forms]![BSVR]![BsvrStartDate] & " " & > > [Forms]![BSVR]![BSVRStartTime]) & "#" > > > > An example of CDate([Forms]![BSVR]![BsvrStartDate] & " " & > > [Forms]![BSVR]![BSVRStartTime]) is 28/09/2007 9:40:00 a.m. > > > > The error I get is Error 3075 - Syntax error in date in query > > expression. The query runs ok if I just include the dates, but has a > > problem when I add the times. > > > > How can I combine the two fields into a single date/time for > > comparison? > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From fuller.artful at gmail.com Fri Nov 23 07:53:08 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 23 Nov 2007 08:53:08 -0500 Subject: [AccessD] Comparing date and time In-Reply-To: <20071123083944.CSVU9910.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> References: <20071123080517.BXNN9910.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> <018701c82da9$a03db260$3183d355@minster33c3r25> <20071123083944.CSVU9910.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <29f585dd0711230553l14c5584aqa04f121cccfe48cf@mail.gmail.com> I think that you can do this by doing a DateAdd() to the date field itself, since without a time specified it will default to midnight. Therefore a DateAdd() using the number of minutes indicated by the time ought to produce a genuine datetime value. Arthur On 11/23/07, David Emerson wrote: > > Thanks Andy, > > I have simplified the problem. Ultimately I need to compare two sets > of dates and times to get all records that fall between one date and > time, and a second date and time. > > I could use your suggestion and do similar comparisons with the end > date and time as well. I would be interested though in finding out > how to create a full date/time from two separate fields. > > David > From ssharkins at gmail.com Fri Nov 23 07:59:56 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 23 Nov 2007 08:59:56 -0500 Subject: [AccessD] Comparing date and time References: <20071123080517.BXNN9910.fep05.xtra.co.nz@Dalyn.dalyn.co.nz><018701c82da9$a03db260$3183d355@minster33c3r25><20071123083944.CSVU9910.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> <29f585dd0711230553l14c5584aqa04f121cccfe48cf@mail.gmail.com> Message-ID: <005401c82dd9$23b3d3c0$4b3a8343@SusanOne> If the users insist on entering the date and time in two different fields, which I know, is totally common -- entering them together is a bit unnatural -- but this might be one of the few times when it's easier to break the rules of normalization and create a composite field in the underlying table that combines than two than to try to work with them separately. Just a thought. Susan H. >I think that you can do this by doing a DateAdd() to the date field itself, > since without a time specified it will default to midnight. Therefore a > DateAdd() using the number of minutes indicated by the time ought to > produce > a genuine datetime value. From markamatte at hotmail.com Fri Nov 23 09:54:59 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 23 Nov 2007 15:54:59 +0000 Subject: [AccessD] Comparing date and time In-Reply-To: <20071123105039.7E2E92B58F6@smtp.nildram.co.uk> References: <20071123105039.7E2E92B58F6@smtp.nildram.co.uk> Message-ID: I had a problem last week using FORMAT when building dates from text. It displayed the dates correct, but sorted them as text, and filtered them that way...I could even use DATEPART, but they still were not dates...just text. I ended up using CDATE to get what I needed. Just food for thought. Thanks, Mark A. Matte > Date: Fri, 23 Nov 2007 10:50:36 +0100 > From: andy at minstersystems.co.uk > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Comparing date and time > > Well this principel works > > (from Immediate window) > > x=datevalue("31/12/07") + timevalue("11:56:00") > ? format(x,"dd/mm/yy hh:nn:ss") > 31/12/07 11:56:00 > > > -- > Andy Lacey > http://www.minstersystems.co.uk > > > > --------- Original Message -------- > From: "Access Developers discussion and problem solving" > > To: "Access Developers discussion and problem solving" > > Subject: Re: [AccessD] Comparing date and time > Date: 23/11/07 08:42 > > > Thanks Andy, > > I have simplified the problem. Ultimately I need to compare two sets > of dates and times to get all records that fall between one date and > time, and a second date and time. > > I could use your suggestion and do similar comparisons with the end > date and time as well. I would be interested though in finding out > how to create a full date/time from two separate fields. > > David > > At 23/11/2007, Andy Lacy wrote: >>Hi David >>Well before you think about that how about this quick solution >> >>> DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT >>> ShipmentDetail.* " & _ >>> "FROM ShipmentDetail INNER JOIN EntryLogSets ON >>> ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ >>> "WHERE (EntryLogSets.Date>[Forms]![BSVR]![BsvrStartDate]) >> >>OR (EntryLogSets.Date=[Forms]![BSVR]![BsvrStartDate] AND >>EntryLogSets.Time>=[Forms]![BSVR]![BsvrStartTime]) >> >>ie the time only needs comparing if the dates are equal. >> >>Just a quick thought on my way out. >> >>-- Andy Lacey >>http://www.minstersystems.co.uk >> >> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >>> David Emerson >>> Sent: 23 November 2007 08:08 >>> To: accessd at databaseadvisors.com >>> Subject: [AccessD] Comparing date and time >>> >>> >>> Group, >>> >>> Sorry to interrupt your feasting :-) >>> >>> I have a legacy database that stores times and dates in two separate >>> date/time fields. Currently there is a query that compares two sets >>> of dates like so: >>> >>> DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT >>> ShipmentDetail.* " & _ >>> "FROM ShipmentDetail INNER JOIN EntryLogSets ON >>> ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ >>> "WHERE (EntryLogSets.Date)>=[Forms]![BSVR]![BsvrStartDate])" >>> >>> This works. However, I need to change it so that it gets records >>> that are after a certain date AND TIME. I am having problems with >>> putting the two fields together into a single date/time. >>> Here is my code: >>> >>> DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT >>> ShipmentDetail.* " & _ >>> "FROM ShipmentDetail INNER JOIN EntryLogSets ON >>> ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ >>> "WHERE CDate(EntryLogSets.Date & ' ' & EntryLogSets.Time)>= #" & >>> CDate([Forms]![BSVR]![BsvrStartDate] & " " & >>> [Forms]![BSVR]![BSVRStartTime]) & "#" >>> >>> An example of CDate([Forms]![BSVR]![BsvrStartDate] & " " & >>> [Forms]![BSVR]![BSVRStartTime]) is 28/09/2007 9:40:00 a.m. >>> >>> The error I get is Error 3075 - Syntax error in date in query >>> expression. The query runs ok if I just include the dates, but has a >>> problem when I add the times. >>> >>> How can I combine the two fields into a single date/time for >>> comparison? >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ________________________________________________ > Message sent using UebiMiau 2.7.2 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Your smile counts. The more smiles you share, the more we donate.? Join in. www.windowslive.com/smile?ocid=TXT_TAGLM_Wave2_oprsmilewlhmtagline From ssharkins at gmail.com Fri Nov 23 10:04:34 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 23 Nov 2007 11:04:34 -0500 Subject: [AccessD] Comparing date and time References: <20071123105039.7E2E92B58F6@smtp.nildram.co.uk> Message-ID: <009e01c82dea$8bfcd920$4b3a8343@SusanOne> All the results of Format() are strings. Susan H. I had a problem last week using FORMAT when building dates from text. It displayed the dates correct, but sorted them as text, and filtered them that way...I could even use DATEPART, but they still were not dates...just text. I ended up using CDATE to get what I needed. Just food for thought. Thanks, Mark A. Matte > Date: Fri, 23 Nov 2007 10:50:36 +0100 > From: andy at minstersystems.co.uk > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Comparing date and time > > Well this principel works > > (from Immediate window) > > x=datevalue("31/12/07") + timevalue("11:56:00") > ? format(x,"dd/mm/yy hh:nn:ss") > 31/12/07 11:56:00 > > > -- > Andy Lacey > http://www.minstersystems.co.uk > > > > --------- Original Message -------- > From: "Access Developers discussion and problem solving" > > To: "Access Developers discussion and problem solving" > > Subject: Re: [AccessD] Comparing date and time > Date: 23/11/07 08:42 > > > Thanks Andy, > > I have simplified the problem. Ultimately I need to compare two sets > of dates and times to get all records that fall between one date and > time, and a second date and time. > > I could use your suggestion and do similar comparisons with the end > date and time as well. I would be interested though in finding out > how to create a full date/time from two separate fields. > > David > > At 23/11/2007, Andy Lacy wrote: >>Hi David >>Well before you think about that how about this quick solution >> >>> DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT >>> ShipmentDetail.* " & _ >>> "FROM ShipmentDetail INNER JOIN EntryLogSets ON >>> ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ >>> "WHERE (EntryLogSets.Date>[Forms]![BSVR]![BsvrStartDate]) >> >>OR (EntryLogSets.Date=[Forms]![BSVR]![BsvrStartDate] AND >>EntryLogSets.Time>=[Forms]![BSVR]![BsvrStartTime]) >> >>ie the time only needs comparing if the dates are equal. >> >>Just a quick thought on my way out. >> >>-- Andy Lacey >>http://www.minstersystems.co.uk >> >> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >>> David Emerson >>> Sent: 23 November 2007 08:08 >>> To: accessd at databaseadvisors.com >>> Subject: [AccessD] Comparing date and time >>> >>> >>> Group, >>> >>> Sorry to interrupt your feasting :-) >>> >>> I have a legacy database that stores times and dates in two separate >>> date/time fields. Currently there is a query that compares two sets >>> of dates like so: >>> >>> DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT >>> ShipmentDetail.* " & _ >>> "FROM ShipmentDetail INNER JOIN EntryLogSets ON >>> ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ >>> "WHERE (EntryLogSets.Date)>=[Forms]![BSVR]![BsvrStartDate])" >>> >>> This works. However, I need to change it so that it gets records >>> that are after a certain date AND TIME. I am having problems with >>> putting the two fields together into a single date/time. >>> Here is my code: >>> >>> DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT >>> ShipmentDetail.* " & _ >>> "FROM ShipmentDetail INNER JOIN EntryLogSets ON >>> ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ >>> "WHERE CDate(EntryLogSets.Date & ' ' & EntryLogSets.Time)>= #" & >>> CDate([Forms]![BSVR]![BsvrStartDate] & " " & >>> [Forms]![BSVR]![BSVRStartTime]) & "#" >>> >>> An example of CDate([Forms]![BSVR]![BsvrStartDate] & " " & >>> [Forms]![BSVR]![BSVRStartTime]) is 28/09/2007 9:40:00 a.m. >>> >>> The error I get is Error 3075 - Syntax error in date in query >>> expression. The query runs ok if I just include the dates, but has a >>> problem when I add the times. >>> >>> How can I combine the two fields into a single date/time for >>> comparison? >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ________________________________________________ > Message sent using UebiMiau 2.7.2 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Your smile counts. The more smiles you share, the more we donate. Join in. www.windowslive.com/smile?ocid=TXT_TAGLM_Wave2_oprsmilewlhmtagline -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Fri Nov 23 10:16:08 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 23 Nov 2007 11:16:08 -0500 Subject: [AccessD] Virtual Server (was: A2K7 Navigation Pane) In-Reply-To: References: Message-ID: <000b01c82dec$28b34c30$8abea8c0@XPS> Gustav, Thanks for posting that. <> Maybe I did, but I don't have anything like this when connecting to the virtual server console with net meeting. I didn't set this virtual server up and was told by the company that did that it was a limitation of the video driver. When I checked into this, I found numerous articles that supported this, so I didn't bother to check into it further. What happens is that when connecting with Net Meeting, even though a different resolution is selected on the desktop, it still draws it as 640 x 480 in the Net Meeting window. The window itself however is correctly sized for the given resolution. If I remote Desktop in, I have no problem in getting any resolution I want. Also changing the resolution while Net Meeting is active causes all the text to disappear on the screen. The only way to get it back is to quit and reconnect. It may be a combination of the driver and Net Meeting itself, but since I will only be dealing with this server for another month or two, I didn't want to spend a lot of time on it. I suppose though that at some point I'll need to start playing around with Vmware myself. I've got Microsoft's virtual PC as well. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, November 21, 2007 11:15 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Virtual Server (was: A2K7 Navigation Pane) Hi Jim Seems like you have missed something! Just mark View, Autofit Window: On the Display tab, you can configure autofit and full-screen preferences. Autofit Preferences Use Autofit preferences to control how the console behaves when Autofit is active. Select Autofit window to have VMware Server change the console window size to match the guest operating system screen resolution. This is the same as choosing View > Autofit Window. Select Autofit guest to have VMware Server change the guest operating system display resolution to match the console window size. This is the same as choosing View > Autofit Guest. /gustav >>> jimdettman at verizon.net 21-11-2007 17:05 >>> John, This is one of the major drawbacks with virtualizing that I've found. Your limited to VGA resolution (640x480) if you connect to the console. It's a royal pain when you work with it. One workaround for that is if you don't need the console, you can RDP in. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri Nov 23 10:19:37 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 23 Nov 2007 08:19:37 -0800 Subject: [AccessD] SendObject Attachments Message-ID: <001901c82dec$a4910b80$0301a8c0@HAL9005> Dear List: Can you use SendObject to generate an email with two attachments? If not, in the absence of being assured that outlook is on every machine (which it ain't in this case), is there some other simple global method to generate an email with a couple of attachments? MTIA Rocky From andy at minstersystems.co.uk Fri Nov 23 09:30:33 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 23 Nov 2007 16:30:33 +0100 Subject: [AccessD] Comparing date and time Message-ID: <20071123163038.4FFC44C637@smtp.nildram.co.uk> Hi Mark I wasn't implying that David should use Format, just using it to demonstrate that the 1st bit (DateValue & TimeValue) worked ok. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Comparing date and time Date: 23/11/07 15:58 I had a problem last week using FORMAT when building dates from text. It displayed the dates correct, but sorted them as text, and filtered them that way...I could even use DATEPART, but they still were not dates...just text. I ended up using CDATE to get what I needed. Just food for thought. Thanks, Mark A. Matte > Date: Fri, 23 Nov 2007 10:50:36 +0100 > From: andy at minstersystems.co.uk > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Comparing date and time > > Well this principel works > > (from Immediate window) > > x=datevalue("31/12/07") + timevalue("11:56:00") > ? format(x,"dd/mm/yy hh:nn:ss") > 31/12/07 11:56:00 > > > -- > Andy Lacey > http://www.minstersystems.co.uk > > > > --------- Original Message -------- > From: "Access Developers discussion and problem solving" > > To: "Access Developers discussion and problem solving" > > Subject: Re: [AccessD] Comparing date and time > Date: 23/11/07 08:42 > > > Thanks Andy, > > I have simplified the problem. Ultimately I need to compare two sets > of dates and times to get all records that fall between one date and > time, and a second date and time. > > I could use your suggestion and do similar comparisons with the end > date and time as well. I would be interested though in finding out > how to create a full date/time from two separate fields. > > David > > At 23/11/2007, Andy Lacy wrote: >>Hi David >>Well before you think about that how about this quick solution >> >>> DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT >>> ShipmentDetail.* " & _ >>> "FROM ShipmentDetail INNER JOIN EntryLogSets ON >>> ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ >>> "WHERE (EntryLogSets.Date>[Forms]![BSVR]![BsvrStartDate]) >> >>OR (EntryLogSets.Date=[Forms]![BSVR]![BsvrStartDate] AND >>EntryLogSets.Time>=[Forms]![BSVR]![BsvrStartTime]) >> >>ie the time only needs comparing if the dates are equal. >> >>Just a quick thought on my way out. >> >>-- Andy Lacey >>http://www.minstersystems.co.uk >> >> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >>> David Emerson >>> Sent: 23 November 2007 08:08 >>> To: accessd at databaseadvisors.com >>> Subject: [AccessD] Comparing date and time >>> >>> >>> Group, >>> >>> Sorry to interrupt your feasting :-) >>> >>> I have a legacy database that stores times and dates in two separate >>> date/time fields. Currently there is a query that compares two sets >>> of dates like so: >>> >>> DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT >>> ShipmentDetail.* " & _ >>> "FROM ShipmentDetail INNER JOIN EntryLogSets ON >>> ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ >>> "WHERE (EntryLogSets.Date)>=[Forms]![BSVR]![BsvrStartDate])" >>> >>> This works. However, I need to change it so that it gets records >>> that are after a certain date AND TIME. I am having problems with >>> putting the two fields together into a single date/time. >>> Here is my code: >>> >>> DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT >>> ShipmentDetail.* " & _ >>> "FROM ShipmentDetail INNER JOIN EntryLogSets ON >>> ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ >>> "WHERE CDate(EntryLogSets.Date & ' ' & EntryLogSets.Time)>= #" & >>> CDate([Forms]![BSVR]![BsvrStartDate] & " " & >>> [Forms]![BSVR]![BSVRStartTime]) & "#" >>> >>> An example of CDate([Forms]![BSVR]![BsvrStartDate] & " " & >>> [Forms]![BSVR]![BSVRStartTime]) is 28/09/2007 9:40:00 a.m. >>> >>> The error I get is Error 3075 - Syntax error in date in query >>> expression. The query runs ok if I just include the dates, but has a >>> problem when I add the times. >>> >>> How can I combine the two fields into a single date/time for >>> comparison? >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ________________________________________________ > Message sent using UebiMiau 2.7.2 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Your smile counts. The more smiles you share, the more we donate. Join in. www.windowslive.com/smile?ocid=TXT_TAGLM_Wave2_oprsmilewlhmtagline -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From max.wanadoo at gmail.com Fri Nov 23 11:25:55 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Fri, 23 Nov 2007 17:25:55 -0000 Subject: [AccessD] SendObject Attachments In-Reply-To: <001901c82dec$a4910b80$0301a8c0@HAL9005> Message-ID: <003c01c82df5$e8dc0570$8119fea9@LTVM> Hi Rocky, Try this: Dim myolApp As Outlook.Application, myItem As Outlook.MailItem Dim strDataFileName As String, strEmailTo As String Set myolApp = CreateObject("Outlook.Application") Set myItem = myolApp.CreateItem(olMailItem) strEmailTo = "Rocky at databaseadvisors.com" strDataFileName = "c:\filename.txt" myItem.HTMLBody = fFileContents("c:\Templates\General\ExplainSecureMailings.html") myItem.To = strEmailTo myItem.Subject = "Data Mailings" myItem.Attachments.Add strDataFileName myItem.Attachments.Add "c:\file2.txt" myItem.Attachments.Add "c:\file3.txt" myItem.Attachments.Add "c:\file4.txt" myItem.Send Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, November 23, 2007 4:20 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] SendObject Attachments Dear List: Can you use SendObject to generate an email with two attachments? If not, in the absence of being assured that outlook is on every machine (which it ain't in this case), is there some other simple global method to generate an email with a couple of attachments? 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 Nov 23 11:32:47 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 23 Nov 2007 09:32:47 -0800 Subject: [AccessD] SendObject Attachments In-Reply-To: <003c01c82df5$e8dc0570$8119fea9@LTVM> References: <001901c82dec$a4910b80$0301a8c0@HAL9005> <003c01c82df5$e8dc0570$8119fea9@LTVM> Message-ID: <003401c82df6$dd86e8b0$0301a8c0@HAL9005> Max: That'll work as long as Outlook is loaded on the target machine. Which I know it isn't. Because I had similar code in the current app but had to disable it because of that very problem. However, now the client says assume Outlook. So that's what I'll do. Your code will work just fine. Thanks. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Friday, November 23, 2007 9:26 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments Hi Rocky, Try this: Dim myolApp As Outlook.Application, myItem As Outlook.MailItem Dim strDataFileName As String, strEmailTo As String Set myolApp = CreateObject("Outlook.Application") Set myItem = myolApp.CreateItem(olMailItem) strEmailTo = "Rocky at databaseadvisors.com" strDataFileName = "c:\filename.txt" myItem.HTMLBody = fFileContents("c:\Templates\General\ExplainSecureMailings.html") myItem.To = strEmailTo myItem.Subject = "Data Mailings" myItem.Attachments.Add strDataFileName myItem.Attachments.Add "c:\file2.txt" myItem.Attachments.Add "c:\file3.txt" myItem.Attachments.Add "c:\file4.txt" myItem.Send Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, November 23, 2007 4:20 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] SendObject Attachments Dear List: Can you use SendObject to generate an email with two attachments? If not, in the absence of being assured that outlook is on every machine (which it ain't in this case), is there some other simple global method to generate an email with a couple of attachments? 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.4/1146 - Release Date: 11/22/2007 6:55 PM From Gustav at cactus.dk Fri Nov 23 11:32:36 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 23 Nov 2007 18:32:36 +0100 Subject: [AccessD] Virtual Server (was: A2K7 Navigation Pane) Message-ID: Hi Jim Net meeting? I don't even know what that is. Also, my observations are for VMware Server only, I have never used MS Virtual PC if that is what you are referring to. With VMware 1.x you have a dedicated remote console client as a Windows app. With VMware 2.x (still in beta) you run an Apache/Tomcat on the server and use IE with a plug-in as the client which is able to run a virtual server screen in clean full-screen. /gustav >>> jimdettman at verizon.net 23-11-2007 17:16 >>> Gustav, Thanks for posting that. <> Maybe I did, but I don't have anything like this when connecting to the virtual server console with net meeting. I didn't set this virtual server up and was told by the company that did that it was a limitation of the video driver. When I checked into this, I found numerous articles that supported this, so I didn't bother to check into it further. What happens is that when connecting with Net Meeting, even though a different resolution is selected on the desktop, it still draws it as 640 x 480 in the Net Meeting window. The window itself however is correctly sized for the given resolution. If I remote Desktop in, I have no problem in getting any resolution I want. Also changing the resolution while Net Meeting is active causes all the text to disappear on the screen. The only way to get it back is to quit and reconnect. It may be a combination of the driver and Net Meeting itself, but since I will only be dealing with this server for another month or two, I didn't want to spend a lot of time on it. I suppose though that at some point I'll need to start playing around with Vmware myself. I've got Microsoft's virtual PC as well. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, November 21, 2007 11:15 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Virtual Server (was: A2K7 Navigation Pane) Hi Jim Seems like you have missed something! Just mark View, Autofit Window: On the Display tab, you can configure autofit and full-screen preferences. Autofit Preferences Use Autofit preferences to control how the console behaves when Autofit is active. Select Autofit window to have VMware Server change the console window size to match the guest operating system screen resolution. This is the same as choosing View > Autofit Window. Select Autofit guest to have VMware Server change the guest operating system display resolution to match the console window size. This is the same as choosing View > Autofit Guest. /gustav >>> jimdettman at verizon.net 21-11-2007 17:05 >>> John, This is one of the major drawbacks with virtualizing that I've found. Your limited to VGA resolution (640x480) if you connect to the console. It's a royal pain when you work with it. One workaround for that is if you don't need the console, you can RDP in. From max.wanadoo at gmail.com Fri Nov 23 11:51:28 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Fri, 23 Nov 2007 17:51:28 -0000 Subject: [AccessD] SendObject Attachments In-Reply-To: <003401c82df6$dd86e8b0$0301a8c0@HAL9005> Message-ID: <005c01c82df9$7b31d870$8119fea9@LTVM> Would you like a CDO example? Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, November 23, 2007 5:33 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments Max: That'll work as long as Outlook is loaded on the target machine. Which I know it isn't. Because I had similar code in the current app but had to disable it because of that very problem. However, now the client says assume Outlook. So that's what I'll do. Your code will work just fine. Thanks. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Friday, November 23, 2007 9:26 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments Hi Rocky, Try this: Dim myolApp As Outlook.Application, myItem As Outlook.MailItem Dim strDataFileName As String, strEmailTo As String Set myolApp = CreateObject("Outlook.Application") Set myItem = myolApp.CreateItem(olMailItem) strEmailTo = "Rocky at databaseadvisors.com" strDataFileName = "c:\filename.txt" myItem.HTMLBody = fFileContents("c:\Templates\General\ExplainSecureMailings.html") myItem.To = strEmailTo myItem.Subject = "Data Mailings" myItem.Attachments.Add strDataFileName myItem.Attachments.Add "c:\file2.txt" myItem.Attachments.Add "c:\file3.txt" myItem.Attachments.Add "c:\file4.txt" myItem.Send Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, November 23, 2007 4:20 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] SendObject Attachments Dear List: Can you use SendObject to generate an email with two attachments? If not, in the absence of being assured that outlook is on every machine (which it ain't in this case), is there some other simple global method to generate an email with a couple of attachments? 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.4/1146 - Release Date: 11/22/2007 6:55 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri Nov 23 12:13:01 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 23 Nov 2007 10:13:01 -0800 Subject: [AccessD] SendObject Attachments In-Reply-To: <005c01c82df9$7b31d870$8119fea9@LTVM> References: <003401c82df6$dd86e8b0$0301a8c0@HAL9005> <005c01c82df9$7b31d870$8119fea9@LTVM> Message-ID: <003f01c82dfc$7c779780$0301a8c0@HAL9005> Thanks, Max. Working the first solution at the moment. If that works I'll stop the clock, and go there to see if it works at their site. What's CDO? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Friday, November 23, 2007 9:51 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments Would you like a CDO example? Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, November 23, 2007 5:33 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments Max: That'll work as long as Outlook is loaded on the target machine. Which I know it isn't. Because I had similar code in the current app but had to disable it because of that very problem. However, now the client says assume Outlook. So that's what I'll do. Your code will work just fine. Thanks. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Friday, November 23, 2007 9:26 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments Hi Rocky, Try this: Dim myolApp As Outlook.Application, myItem As Outlook.MailItem Dim strDataFileName As String, strEmailTo As String Set myolApp = CreateObject("Outlook.Application") Set myItem = myolApp.CreateItem(olMailItem) strEmailTo = "Rocky at databaseadvisors.com" strDataFileName = "c:\filename.txt" myItem.HTMLBody = fFileContents("c:\Templates\General\ExplainSecureMailings.html") myItem.To = strEmailTo myItem.Subject = "Data Mailings" myItem.Attachments.Add strDataFileName myItem.Attachments.Add "c:\file2.txt" myItem.Attachments.Add "c:\file3.txt" myItem.Attachments.Add "c:\file4.txt" myItem.Send Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, November 23, 2007 4:20 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] SendObject Attachments Dear List: Can you use SendObject to generate an email with two attachments? If not, in the absence of being assured that outlook is on every machine (which it ain't in this case), is there some other simple global method to generate an email with a couple of attachments? 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.4/1146 - Release Date: 11/22/2007 6:55 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.4/1146 - Release Date: 11/22/2007 6:55 PM From newsgrps at dalyn.co.nz Fri Nov 23 14:05:44 2007 From: newsgrps at dalyn.co.nz (David Emerson) Date: Sat, 24 Nov 2007 09:05:44 +1300 Subject: [AccessD] Comparing date and time In-Reply-To: <20071123105039.7E2E92B58F6@smtp.nildram.co.uk> References: <20071123105039.7E2E92B58F6@smtp.nildram.co.uk> Message-ID: <20071123200328.OUPJ9910.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> Thanks to everyone who replied. The final solution was twofold. First change the query: DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT ShipmentDetail.* " & _ "FROM ShipmentDetail INNER JOIN EntryLogSets ON ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ "WHERE (CDate(DateValue(EntryLogSets.Date) + TimeValue(EntryLogSets.Time))>= CDate(DateValue([Forms]![BSVR]![BsvrStartDate]) + TimeValue([Forms]![BSVR]![BSVRStartTime]))) " & _ "And CDate(DateValue(EntryLogSets.Date) + TimeValue(EntryLogSets.Time))<= CDate(DateValue([Forms]![BSVR]![BsvrEndDate]) + TimeValue([Forms]![BSVR]![BSVREndTime]))" Secondly, tidy up the data to remove invalid entries in the time field. David At 23/11/2007, you wrote: >Well this principel works > >(from Immediate window) > >x=datevalue("31/12/07") + timevalue("11:56:00") >? format(x,"dd/mm/yy hh:nn:ss") >31/12/07 11:56:00 > > >-- >Andy Lacey >http://www.minstersystems.co.uk > > > >--------- Original Message -------- >From: "Access Developers discussion and problem solving" > >To: "Access Developers discussion and problem solving" > >Subject: Re: [AccessD] Comparing date and time >Date: 23/11/07 08:42 > > >Thanks Andy, > >I have simplified the problem. Ultimately I need to compare two sets >of dates and times to get all records that fall between one date and >time, and a second date and time. > >I could use your suggestion and do similar comparisons with the end >date and time as well. I would be interested though in finding out >how to create a full date/time from two separate fields. > >David > >At 23/11/2007, Andy Lacy wrote: > >Hi David > >Well before you think about that how about this quick solution > > > > > DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT > > > ShipmentDetail.* " & _ > > > "FROM ShipmentDetail INNER JOIN EntryLogSets ON > > > ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ > > > "WHERE (EntryLogSets.Date>[Forms]![BSVR]![BsvrStartDate]) > > > >OR (EntryLogSets.Date=[Forms]![BSVR]![BsvrStartDate] AND > >EntryLogSets.Time>=[Forms]![BSVR]![BsvrStartTime]) > > > >ie the time only needs comparing if the dates are equal. > > > >Just a quick thought on my way out. > > > >-- Andy Lacey > >http://www.minstersystems.co.uk > > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > > David Emerson > > > Sent: 23 November 2007 08:08 > > > To: accessd at databaseadvisors.com > > > Subject: [AccessD] Comparing date and time > > > > > > > > > Group, > > > > > > Sorry to interrupt your feasting :-) > > > > > > I have a legacy database that stores times and dates in two separate > > > date/time fields. Currently there is a query that compares two sets > > > of dates like so: > > > > > > DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT > > > ShipmentDetail.* " & _ > > > "FROM ShipmentDetail INNER JOIN EntryLogSets ON > > > ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ > > > "WHERE (EntryLogSets.Date)>=[Forms]![BSVR]![BsvrStartDate])" > > > > > > This works. However, I need to change it so that it gets records > > > that are after a certain date AND TIME. I am having problems with > > > putting the two fields together into a single date/time. > > > Here is my code: > > > > > > DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT > > > ShipmentDetail.* " & _ > > > "FROM ShipmentDetail INNER JOIN EntryLogSets ON > > > ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ > > > "WHERE CDate(EntryLogSets.Date & ' ' & EntryLogSets.Time)>= #" & > > > CDate([Forms]![BSVR]![BsvrStartDate] & " " & > > > [Forms]![BSVR]![BSVRStartTime]) & "#" > > > > > > An example of CDate([Forms]![BSVR]![BsvrStartDate] & " " & > > > [Forms]![BSVR]![BSVRStartTime]) is 28/09/2007 9:40:00 a.m. > > > > > > The error I get is Error 3075 - Syntax error in date in query > > > expression. The query runs ok if I just include the dates, but has a > > > problem when I add the times. > > > > > > How can I combine the two fields into a single date/time for > > > comparison? > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >________________________________________________ >Message sent using UebiMiau 2.7.2 > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From markamatte at hotmail.com Fri Nov 23 14:19:18 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 23 Nov 2007 20:19:18 +0000 Subject: [AccessD] Replace text in memo field In-Reply-To: <20071123200328.OUPJ9910.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> References: <20071123105039.7E2E92B58F6@smtp.nildram.co.uk> <20071123200328.OUPJ9910.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: Hello All, I have replaced text in a text file before...but If I already have the data in a table...and there is a 'phrase'/string I need to remove from the middle of a memo field...what is the best approach? Thanks, Mark A. Matte _________________________________________________________________ Your smile counts. The more smiles you share, the more we donate.? Join in. www.windowslive.com/smile?ocid=TXT_TAGLM_Wave2_oprsmilewlhmtagline From fuller.artful at gmail.com Fri Nov 23 14:25:49 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 23 Nov 2007 15:25:49 -0500 Subject: [AccessD] Replace text in memo field In-Reply-To: References: <20071123105039.7E2E92B58F6@smtp.nildram.co.uk> <20071123200328.OUPJ9910.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <29f585dd0711231225l73608035l1a23df886c3cfb6b@mail.gmail.com> Anything wrong with Replace( [columnName], "searchTarget", "replaceString" )? On 11/23/07, Mark A Matte wrote: > > > Hello All, > > I have replaced text in a text file before...but If I already have the > data in a table...and there is a 'phrase'/string I need to remove from the > middle of a memo field...what is the best approach? > > Thanks, > > Mark A. Matte From miscellany at mvps.org Fri Nov 23 14:48:04 2007 From: miscellany at mvps.org (Steve Schapel) Date: Sat, 24 Nov 2007 09:48:04 +1300 Subject: [AccessD] Comparing date and time In-Reply-To: <20071123200328.OUPJ9910.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> References: <20071123105039.7E2E92B58F6@smtp.nildram.co.uk> <20071123200328.OUPJ9910.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <47473C84.9000601@mvps.org> David, If the [Date] and [Time] fields in the table are a Date/Time data type, and if the criteria controls on the form are formatted with a valid date and/or time format, then I don't think you would need the CDate and DateValue functions as you have used them. I would expect (without having tested) that this would work: "WHERE (EntryLogSets.Date + EntryLogSets.Time) Between (#" & [Forms]![BSVR]![BsvrStartDate] & "# + #" & [Forms]![BSVR]![BSVRStartTime] & "#) And (#" & [Forms]![BSVR]![BsvrEndDate] "# + #" & [Forms]![BSVR]![BSVREndTime] & "#)" I always wrap date and time criteria in CLng or CDbl to handle international problem, so I would do it like this: "WHERE (EntryLogSets.Date + EntryLogSets.Time) Between (" & CLng([Forms]![BSVR]![BsvrStartDate]) + CDbl([Forms]![BSVR]![BSVRStartTime]) & ") And (" & CLng([Forms]![BSVR]![BsvrEndDate]) + CDbl([Forms]![BSVR]![BSVREndTime]) & ")" Regards Steve David Emerson wrote: > Thanks to everyone who replied. > > The final solution was twofold. First change the query: > > DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT > ShipmentDetail.* " & _ > "FROM ShipmentDetail INNER JOIN EntryLogSets ON > ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ > "WHERE (CDate(DateValue(EntryLogSets.Date) + > TimeValue(EntryLogSets.Time))>= > CDate(DateValue([Forms]![BSVR]![BsvrStartDate]) + > TimeValue([Forms]![BSVR]![BSVRStartTime]))) " & _ > "And CDate(DateValue(EntryLogSets.Date) + > TimeValue(EntryLogSets.Time))<= > CDate(DateValue([Forms]![BSVR]![BsvrEndDate]) + > TimeValue([Forms]![BSVR]![BSVREndTime]))" > > > Secondly, tidy up the data to remove invalid entries in the time field. > From markamatte at hotmail.com Fri Nov 23 14:50:44 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 23 Nov 2007 20:50:44 +0000 Subject: [AccessD] Replace text in memo field In-Reply-To: <29f585dd0711231225l73608035l1a23df886c3cfb6b@mail.gmail.com> References: <20071123105039.7E2E92B58F6@smtp.nildram.co.uk> <20071123200328.OUPJ9910.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> <29f585dd0711231225l73608035l1a23df886c3cfb6b@mail.gmail.com> Message-ID: I guessed it was something simple...I just never actually did this to data already in a table...it was always external files using vba. Thanks, Mark A. Matte > Date: Fri, 23 Nov 2007 15:25:49 -0500 > From: fuller.artful at gmail.com > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Replace text in memo field > > Anything wrong with Replace( [columnName], "searchTarget", "replaceString" > )? > > On 11/23/07, Mark A Matte wrote: >> >> >> Hello All, >> >> I have replaced text in a text file before...but If I already have the >> data in a table...and there is a 'phrase'/string I need to remove from the >> middle of a memo field...what is the best approach? >> >> Thanks, >> >> Mark A. Matte > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Put your friends on the big screen with Windows Vista? + Windows Live?. http://www.microsoft.com/windows/shop/specialoffers.mspx?ocid=TXT_TAGLM_CPC_MediaCtr_bigscreen_102007 From markamatte at hotmail.com Fri Nov 23 14:56:38 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 23 Nov 2007 20:56:38 +0000 Subject: [AccessD] Replace text in memo field In-Reply-To: References: <20071123105039.7E2E92B58F6@smtp.nildram.co.uk> <20071123200328.OUPJ9910.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> <29f585dd0711231225l73608035l1a23df886c3cfb6b@mail.gmail.com> Message-ID: Ok...that worked on XP...but it failed on A2k...is there a different function if I had to do this on a box with A2k? Thanks, Mark > From: markamatte at hotmail.com > To: accessd at databaseadvisors.com > Date: Fri, 23 Nov 2007 20:50:44 +0000 > Subject: Re: [AccessD] Replace text in memo field > > > I guessed it was something simple...I just never actually did this to data already in a table...it was always external files using vba. > > Thanks, > > > Mark A. Matte > > >> Date: Fri, 23 Nov 2007 15:25:49 -0500 >> From: fuller.artful at gmail.com >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] Replace text in memo field >> >> Anything wrong with Replace( [columnName], "searchTarget", "replaceString" >> )? >> >> On 11/23/07, Mark A Matte wrote: >>> >>> >>> Hello All, >>> >>> I have replaced text in a text file before...but If I already have the >>> data in a table...and there is a 'phrase'/string I need to remove from the >>> middle of a memo field...what is the best approach? >>> >>> Thanks, >>> >>> Mark A. Matte >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > _________________________________________________________________ > Put your friends on the big screen with Windows Vista? + Windows Live?. > http://www.microsoft.com/windows/shop/specialoffers.mspx?ocid=TXT_TAGLM_CPC_MediaCtr_bigscreen_102007 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ You keep typing, we keep giving. Download Messenger and join the i?m Initiative now. http://im.live.com/messenger/im/home/?source=TAGLM From max.wanadoo at gmail.com Sat Nov 24 05:40:10 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Sat, 24 Nov 2007 11:40:10 -0000 Subject: [AccessD] SendObject Attachments In-Reply-To: <003f01c82dfc$7c779780$0301a8c0@HAL9005> Message-ID: <006f01c82e8e$c5a7c780$8119fea9@LTVM> Hi Rocky, This should get you started with CDO. Put your own parameters in - fairly obvious where. Max Function RockyCDOTest() On Error GoTo errhandler Const conErr1 As String = "The server rejected one or more recipient addresses. The server response was: 550 " Const conErr2 As String = "The server rejected one or more recipient addresses. The server response was: 501 bad address syntax: <" Const ConErrX As String = "The transport failed to connect to the server" Const cdoReferenceTypeName = 1 Dim strUserName As String, strPwd As String, strSMTPServer As String, strErr As String Dim objCDO, objBP Set objCDO = CreateObject("CDO.Message") ' Create the message object. 'Set objCDO = server.CreateObject("CDO.Message") ' alternative for exchange I believe! Not tested objCDO.mimeformatted = True ' Sender/Email Contents/Details objCDO.from = "Rocky" objCDO.To = "somebody at gmail.com" objCDO.cc = "person1 at domain.com;person2 at domain.com" objCDO.bcc = "person3 at domain.com" objCDO.Subject = "Testing 123" 'body can be a string, or read from a file and can be text or html (Don't use both) objCDO.HTMLBody = fFileContents("C:\body.html") ' or "C:\body.txt" ' create a test file ' Attachments objCDO.addattachment "C:\Att1.txt" ' create a test file objCDO.addattachment "C:\Att2.jpg" ' create a test file ' User SMTP login details strSMTPServer = "mail.rockydomain.org" ' send via this domain - can be IP Address (sometimes this is smtp.mydomain.org) strUserName = "rocky" ' your user login name strPwd = "itsrockyletmein" ' your user login password ' SMTP Configuration Details objCDO.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configura tion/sendusing") = 2 objCDO.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configura tion/smtpserver") = strSMTPServer objCDO.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configura tion/smtpauthenticate") = 1 objCDO.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configura tion/sendusername") = strUserName objCDO.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configura tion/sendpassword") = strPwd objCDO.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configura tion/smtpserverport") = 25 'normally 25 but can be anything, try 587, or 465 or check with your ISP. objCDO.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configura tion/smtpusessl") = False objCDO.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configura tion/smtpconnectiontimeout") = 60 ' before timing out objCDO.Configuration.Fields.Update ' Update configuration 'MsgBox objCDO.GetStream.ReadText ' Use to show the message. objCDO.Send ' Send the message. exithere: Exit Function errhandler: strErr = "pfEmailByCDO - Send Errors " & Err.Description If InStr(strErr, ConErrX) > 0 Then strErr = strErr & " No Email Sent" End If MsgBox strErr GoTo exithere End Function Private Function fFileContents(strFilePath As String) As String ' Set a Reference for FileSystemObjects in Office 11. 'These constants are defined to make the code more readable Const ForReading = 1, ForWriting = 2, ForAppending = 8 Dim fso, f Set fso = CreateObject("Scripting.FileSystemObject") 'Open the file for reading Set f = fso.OpenTextFile(strFilePath, ForReading) 'The ReadAll method reads the entire file fFileContents = f.ReadAll f.Close 'Close the file Set f = Nothing Set fso = Nothing End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, November 23, 2007 6:13 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments Thanks, Max. Working the first solution at the moment. If that works I'll stop the clock, and go there to see if it works at their site. What's CDO? Rocky From jwcolby at colbyconsulting.com Sat Nov 24 06:46:42 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Nov 2007 07:46:42 -0500 Subject: [AccessD] New Comodo Firewall Message-ID: <004801c82e98$11a93e30$6c7aa8c0@M90> I have to say the new Comodo firewall, v 3.x is AWESOME. The firewall itself is great, and now they are folding in the capabilities of malware detection such as rootkits and other such goodies. If you don't use a software firewall, you should try this thing. If you use any other firewall, you should try this thing. They just keep getting better. John W. Colby Colby Consulting www.ColbyConsulting.com From rockysmolin at bchacc.com Sat Nov 24 07:51:48 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 24 Nov 2007 05:51:48 -0800 Subject: [AccessD] SendObject Attachments In-Reply-To: <006f01c82e8e$c5a7c780$8119fea9@LTVM> References: <003f01c82dfc$7c779780$0301a8c0@HAL9005> <006f01c82e8e$c5a7c780$8119fea9@LTVM> Message-ID: <001501c82ea1$28bc98c0$0301a8c0@HAL9005> Max: Thanks for the code. It begins to look familiar. I think I was going to go this route once but the users would have had trouble configuring it because they'd need to know their own smtp server string and stuff like that. This will work for the instant application because it's only one site. However, I'd have to create a form to allow each user to configure to their won email and password. (At this point, too, the client is looking for cheap solutions). But the outlook stuff you sent earlier worked a treat. Just too a couple minutes to mod for their site and walla! email with pdf attachments. Which attachments, BTW, I implemented in a hurry using the Lebans stuff, thanks again to the list. Thanks again to the list. Did I mention how thankful I am to the list? Best, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Saturday, November 24, 2007 3:40 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments Hi Rocky, This should get you started with CDO. Put your own parameters in - fairly obvious where. Max Function RockyCDOTest() On Error GoTo errhandler Const conErr1 As String = "The server rejected one or more recipient addresses. The server response was: 550 " Const conErr2 As String = "The server rejected one or more recipient addresses. The server response was: 501 bad address syntax: <" Const ConErrX As String = "The transport failed to connect to the server" Const cdoReferenceTypeName = 1 Dim strUserName As String, strPwd As String, strSMTPServer As String, strErr As String Dim objCDO, objBP Set objCDO = CreateObject("CDO.Message") ' Create the message object. 'Set objCDO = server.CreateObject("CDO.Message") ' alternative for exchange I believe! Not tested objCDO.mimeformatted = True ' Sender/Email Contents/Details objCDO.from = "Rocky" objCDO.To = "somebody at gmail.com" objCDO.cc = "person1 at domain.com;person2 at domain.com" objCDO.bcc = "person3 at domain.com" objCDO.Subject = "Testing 123" 'body can be a string, or read from a file and can be text or html (Don't use both) objCDO.HTMLBody = fFileContents("C:\body.html") ' or "C:\body.txt" ' create a test file ' Attachments objCDO.addattachment "C:\Att1.txt" ' create a test file objCDO.addattachment "C:\Att2.jpg" ' create a test file ' User SMTP login details strSMTPServer = "mail.rockydomain.org" ' send via this domain - can be IP Address (sometimes this is smtp.mydomain.org) strUserName = "rocky" ' your user login name strPwd = "itsrockyletmein" ' your user login password ' SMTP Configuration Details objCDO.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configura tion/sendusing") = 2 objCDO.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configura tion/smtpserver") = strSMTPServer objCDO.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configura tion/smtpauthenticate") = 1 objCDO.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configura tion/sendusername") = strUserName objCDO.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configura tion/sendpassword") = strPwd objCDO.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configura tion/smtpserverport") = 25 'normally 25 but can be anything, try 587, or 465 or check with your ISP. objCDO.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configura tion/smtpusessl") = False objCDO.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configura tion/smtpconnectiontimeout") = 60 ' before timing out objCDO.Configuration.Fields.Update ' Update configuration 'MsgBox objCDO.GetStream.ReadText ' Use to show the message. objCDO.Send ' Send the message. exithere: Exit Function errhandler: strErr = "pfEmailByCDO - Send Errors " & Err.Description If InStr(strErr, ConErrX) > 0 Then strErr = strErr & " No Email Sent" End If MsgBox strErr GoTo exithere End Function Private Function fFileContents(strFilePath As String) As String ' Set a Reference for FileSystemObjects in Office 11. 'These constants are defined to make the code more readable Const ForReading = 1, ForWriting = 2, ForAppending = 8 Dim fso, f Set fso = CreateObject("Scripting.FileSystemObject") 'Open the file for reading Set f = fso.OpenTextFile(strFilePath, ForReading) 'The ReadAll method reads the entire file fFileContents = f.ReadAll f.Close 'Close the file Set f = Nothing Set fso = Nothing End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, November 23, 2007 6:13 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments Thanks, Max. Working the first solution at the moment. If that works I'll stop the clock, and go there to see if it works at their site. What's CDO? Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.5/1148 - Release Date: 11/23/2007 7:39 PM From rockysmolin at bchacc.com Sat Nov 24 07:56:19 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 24 Nov 2007 05:56:19 -0800 Subject: [AccessD] New Comodo Firewall In-Reply-To: <004801c82e98$11a93e30$6c7aa8c0@M90> References: <004801c82e98$11a93e30$6c7aa8c0@M90> Message-ID: <001601c82ea1$caa5b950$0301a8c0@HAL9005> Looks good from the site. I'm using Sygate. I'm also behind a router firewall and have AVG going to the AV and their spyware product. Any compelling reason to switch? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, November 24, 2007 4:47 AM To: 'Access Developers discussion and problem solving'; 'Discussion of Hardware and Software issues' Subject: [AccessD] New Comodo Firewall I have to say the new Comodo firewall, v 3.x is AWESOME. The firewall itself is great, and now they are folding in the capabilities of malware detection such as rootkits and other such goodies. If you don't use a software firewall, you should try this thing. If you use any other firewall, you should try this thing. They just keep getting better. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.5/1148 - Release Date: 11/23/2007 7:39 PM From max.wanadoo at gmail.com Sat Nov 24 08:47:38 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Sat, 24 Nov 2007 14:47:38 -0000 Subject: [AccessD] SendObject Attachments In-Reply-To: <001501c82ea1$28bc98c0$0301a8c0@HAL9005> Message-ID: <009601c82ea8$f611e350$8119fea9@LTVM> Rocky, The email setting are easily found from the Outlook/Tools/Email Accounts settings. The smtp and user logins are all there. Click on the More Tab and find out which specific SMTP settings are set for the account they want to use and then use these in CDO. You can do this for them - takes a few minutes that's all. With CDO you do not need Outlook to be open (or any email client). You can feed a rst into the functions and send them all during silent hours. I have recently sent over 20,000 emails to participants in an event. No user overtime required. It all happened during silent hours. Very flexible once you start to use it. No more Outlook warnings etc (although these can be overcome with ClickYes). You can wrap it all in a Form to make changes to parameters and feed these through, etc, etc. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, November 24, 2007 1:52 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments Max: Thanks for the code. It begins to look familiar. I think I was going to go this route once but the users would have had trouble configuring it because they'd need to know their own smtp server string and stuff like that. This will work for the instant application because it's only one site. However, I'd have to create a form to allow each user to configure to their won email and password. (At this point, too, the client is looking for cheap solutions). But the outlook stuff you sent earlier worked a treat. Just too a couple minutes to mod for their site and walla! email with pdf attachments. Which attachments, BTW, I implemented in a hurry using the Lebans stuff, thanks again to the list. Thanks again to the list. Did I mention how thankful I am to the list? Best, Rocky From jwcolby at colbyconsulting.com Sat Nov 24 09:18:40 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Nov 2007 10:18:40 -0500 Subject: [AccessD] New Comodo Firewall In-Reply-To: <001601c82ea1$caa5b950$0301a8c0@HAL9005> References: <004801c82e98$11a93e30$6c7aa8c0@M90> <001601c82ea1$caa5b950$0301a8c0@HAL9005> Message-ID: <005501c82ead$4bbda9c0$6c7aa8c0@M90> Rocky, I don't pretend to be a security expert. Therefore all I can do is talk about what I like and why. The Comodo firewall is good and getting better. It is free. It has now added in a new layer which watches for the nasties trying to load and also the nasties trying to hook in to or manipulate already loaded applications. This is a very common practice, even with the non-nasties. Outlook hooks into Firefox or IE to display web pages. So if an "application" tries to use another application, is it normal or a nasty? If something tries to load, is it a normal known app or a nasty? There are already firewalls out there, there are already app monitors. Some are good, some are not so good, some are useless. Unfortunately given the very real importance of such things, I am not finding a good site dedicated to testing firewalls and keeping those tests up to date. I find tests for Comodo's firewall but they are from Sept 2006. That is well over a year ago and are the results valid today? As we know from the Microsoft debacle, bug fixes can break things so any firewall developer can fix a bug and break something else. We really need some place that tests each firewall / version at LEAST every few months. Well if there is one I can't find it. Anyway, Comodo is a company that I trust and I like their philosophy. They are in the business of selling security certificates, and they profess to believe that trust is the most critical aspect of their job. They already have a background in the internet, and specifically in the security side of the internet and they are trying to leverage that knowledge into good products for the little guy to protect himself with. They are openly staking their reputation on these products, and the effect on their reputation is their payback for the work they do on these products. I just like that. They are doing a good job of staying on top of the various security issues (AFAICT) and they have added a new "layer" of security directly into the firewall application which does this monitoring of other applications. It has gotten to the point where I think this is a requirement (application monitoring), and it just seems like a good idea to have one dev team handling the whole thing rather than using the firewall from over here and the monitor from over there. Given that the nasties almost always try to use the internet for some nefarious purpose, it makes sense to me for the app monitor to be able to talk directly to the firewall should it need to. Again, just my opinion, and making the assumption that they do a good job on both sides of the security house of course. Both of these things, firewalls and application monitoring, are complicated issues which I don't understand well enough to do my own testing. I keep looking for some third party which is keeping up with such testing but I am not finding such a place. In the meantime, all I can say is, I like Comodo and I like their firewall. I have been using it for well over a year now, on all of my machines and I still recommend it highly. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, November 24, 2007 8:56 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New Comodo Firewall Looks good from the site. I'm using Sygate. I'm also behind a router firewall and have AVG going to the AV and their spyware product. Any compelling reason to switch? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, November 24, 2007 4:47 AM To: 'Access Developers discussion and problem solving'; 'Discussion of Hardware and Software issues' Subject: [AccessD] New Comodo Firewall I have to say the new Comodo firewall, v 3.x is AWESOME. The firewall itself is great, and now they are folding in the capabilities of malware detection such as rootkits and other such goodies. If you don't use a software firewall, you should try this thing. If you use any other firewall, you should try this thing. They just keep getting better. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.5/1148 - Release Date: 11/23/2007 7:39 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sat Nov 24 09:20:18 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 24 Nov 2007 07:20:18 -0800 Subject: [AccessD] SendObject Attachments In-Reply-To: <009601c82ea8$f611e350$8119fea9@LTVM> References: <001501c82ea1$28bc98c0$0301a8c0@HAL9005> <009601c82ea8$f611e350$8119fea9@LTVM> Message-ID: <001701c82ead$85dd4570$0301a8c0@HAL9005> I like it. I wouldn't distribute it to a lot of users, however. In my manufacturing system the installation is dead simple. First instruction -Create a folder C:\E-Z-MRP. 50% of the users were stumped. That's when I switched to Wise/Sagekey. But for one-off installations it looks like a better approach. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Saturday, November 24, 2007 6:48 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments Rocky, The email setting are easily found from the Outlook/Tools/Email Accounts settings. The smtp and user logins are all there. Click on the More Tab and find out which specific SMTP settings are set for the account they want to use and then use these in CDO. You can do this for them - takes a few minutes that's all. With CDO you do not need Outlook to be open (or any email client). You can feed a rst into the functions and send them all during silent hours. I have recently sent over 20,000 emails to participants in an event. No user overtime required. It all happened during silent hours. Very flexible once you start to use it. No more Outlook warnings etc (although these can be overcome with ClickYes). You can wrap it all in a Form to make changes to parameters and feed these through, etc, etc. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, November 24, 2007 1:52 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments Max: Thanks for the code. It begins to look familiar. I think I was going to go this route once but the users would have had trouble configuring it because they'd need to know their own smtp server string and stuff like that. This will work for the instant application because it's only one site. However, I'd have to create a form to allow each user to configure to their won email and password. (At this point, too, the client is looking for cheap solutions). But the outlook stuff you sent earlier worked a treat. Just too a couple minutes to mod for their site and walla! email with pdf attachments. Which attachments, BTW, I implemented in a hurry using the Lebans stuff, thanks again to the list. Thanks again to the list. Did I mention how thankful I am to the list? Best, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.5/1148 - Release Date: 11/23/2007 7:39 PM From dwaters at usinternet.com Sat Nov 24 09:36:54 2007 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 24 Nov 2007 09:36:54 -0600 Subject: [AccessD] New Comodo Firewall In-Reply-To: <004801c82e98$11a93e30$6c7aa8c0@M90> Message-ID: <20071124153723.9B584250DC@smtp-out-01.usinternet.com> I went looking for info on Comodo, and found this firewall analysis site: http://www.matousec.com/projects/windows-personal-firewall-analysis/results. php Too much info for me to summarize! - But Comodo is one of the better products. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, November 24, 2007 6:47 AM To: 'Access Developers discussion and problem solving'; 'Discussion of Hardware and Software issues' Subject: [AccessD] New Comodo Firewall I have to say the new Comodo firewall, v 3.x is AWESOME. The firewall itself is great, and now they are folding in the capabilities of malware detection such as rootkits and other such goodies. If you don't use a software firewall, you should try this thing. If you use any other firewall, you should try this thing. They just keep getting better. John W. Colby Colby Consulting 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 Sat Nov 24 09:49:02 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Nov 2007 10:49:02 -0500 Subject: [AccessD] New Comodo Firewall In-Reply-To: <20071124153723.9B584250DC@smtp-out-01.usinternet.com> References: <004801c82e98$11a93e30$6c7aa8c0@M90> <20071124153723.9B584250DC@smtp-out-01.usinternet.com> Message-ID: <005e01c82eb1$898f7b30$6c7aa8c0@M90> I am unable to load the page, or even the home page. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Saturday, November 24, 2007 10:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New Comodo Firewall I went looking for info on Comodo, and found this firewall analysis site: http://www.matousec.com/projects/windows-personal-firewall-analysis/results. php Too much info for me to summarize! - But Comodo is one of the better products. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, November 24, 2007 6:47 AM To: 'Access Developers discussion and problem solving'; 'Discussion of Hardware and Software issues' Subject: [AccessD] New Comodo Firewall I have to say the new Comodo firewall, v 3.x is AWESOME. The firewall itself is great, and now they are folding in the capabilities of malware detection such as rootkits and other such goodies. If you don't use a software firewall, you should try this thing. If you use any other firewall, you should try this thing. They just keep getting better. John W. Colby Colby Consulting 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 garykjos at gmail.com Sat Nov 24 09:59:42 2007 From: garykjos at gmail.com (Gary Kjos) Date: Sat, 24 Nov 2007 09:59:42 -0600 Subject: [AccessD] New Comodo Firewall In-Reply-To: <005501c82ead$4bbda9c0$6c7aa8c0@M90> References: <004801c82e98$11a93e30$6c7aa8c0@M90> <001601c82ea1$caa5b950$0301a8c0@HAL9005> <005501c82ead$4bbda9c0$6c7aa8c0@M90> Message-ID: Here's a firewall testing site http://www.firewallguide.com/software.htm GK On Nov 24, 2007 9:18 AM, jwcolby wrote: > Rocky, > > I don't pretend to be a security expert. Therefore all I can do is talk > about what I like and why. The Comodo firewall is good and getting better. > It is free. It has now added in a new layer which watches for the nasties > trying to load and also the nasties trying to hook in to or manipulate > already loaded applications. This is a very common practice, even with the > non-nasties. Outlook hooks into Firefox or IE to display web pages. So if > an "application" tries to use another application, is it normal or a nasty? > If something tries to load, is it a normal known app or a nasty? > > There are already firewalls out there, there are already app monitors. Some > are good, some are not so good, some are useless. Unfortunately given the > very real importance of such things, I am not finding a good site dedicated > to testing firewalls and keeping those tests up to date. I find tests for > Comodo's firewall but they are from Sept 2006. That is well over a year ago > and are the results valid today? As we know from the Microsoft debacle, bug > fixes can break things so any firewall developer can fix a bug and break > something else. We really need some place that tests each firewall / > version at LEAST every few months. Well if there is one I can't find it. > > Anyway, Comodo is a company that I trust and I like their philosophy. They > are in the business of selling security certificates, and they profess to > believe that trust is the most critical aspect of their job. They already > have a background in the internet, and specifically in the security side of > the internet and they are trying to leverage that knowledge into good > products for the little guy to protect himself with. They are openly > staking their reputation on these products, and the effect on their > reputation is their payback for the work they do on these products. I just > like that. > > They are doing a good job of staying on top of the various security issues > (AFAICT) and they have added a new "layer" of security directly into the > firewall application which does this monitoring of other applications. It > has gotten to the point where I think this is a requirement (application > monitoring), and it just seems like a good idea to have one dev team > handling the whole thing rather than using the firewall from over here and > the monitor from over there. Given that the nasties almost always try to > use the internet for some nefarious purpose, it makes sense to me for the > app monitor to be able to talk directly to the firewall should it need to. > > Again, just my opinion, and making the assumption that they do a good job on > both sides of the security house of course. > > Both of these things, firewalls and application monitoring, are complicated > issues which I don't understand well enough to do my own testing. I keep > looking for some third party which is keeping up with such testing but I am > not finding such a place. In the meantime, all I can say is, I like Comodo > and I like their firewall. I have been using it for well over a year now, > on all of my machines and I still recommend it highly. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Saturday, November 24, 2007 8:56 AM > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] New Comodo Firewall > > Looks good from the site. I'm using Sygate. I'm also behind a router > firewall and have AVG going to the AV and their spyware product. Any > compelling reason to switch? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Saturday, November 24, 2007 4:47 AM > To: 'Access Developers discussion and problem solving'; 'Discussion of > Hardware and Software issues' > Subject: [AccessD] New Comodo Firewall > > I have to say the new Comodo firewall, v 3.x is AWESOME. The firewall > itself is great, and now they are folding in the capabilities of malware > detection such as rootkits and other such goodies. > > If you don't use a software firewall, you should try this thing. If you use > any other firewall, you should try this thing. They just keep getting > better. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.16.5/1148 - Release Date: 11/23/2007 > 7:39 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From fuller.artful at gmail.com Sat Nov 24 10:26:41 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 24 Nov 2007 11:26:41 -0500 Subject: [AccessD] New Comodo Firewall In-Reply-To: References: <004801c82e98$11a93e30$6c7aa8c0@M90> <001601c82ea1$caa5b950$0301a8c0@HAL9005> <005501c82ead$4bbda9c0$6c7aa8c0@M90> Message-ID: <29f585dd0711240826g372c0e61xfcd6b7c46baa4967@mail.gmail.com> I'm about to reveal my colossal ignorance (just in case it was not already evident), but my question is this: given a router that already has a firewall in it (such as LinkSys or DLink), what is gained by adding a software firewall to the mix? Since I live alone, but have 2 desktops, one notebook and one server, I want traffic between everything my house to be open and free. I'm only concerned about externalities, as it were. I don't want anybody in the outside world to get in (without permission), but within my tiny world, everything is permitted. So what would a software firewall bring to the party that I don't already have? TIA, Arthur From jwcolby at colbyconsulting.com Sat Nov 24 10:27:47 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Nov 2007 11:27:47 -0500 Subject: [AccessD] New Comodo Firewall In-Reply-To: References: <004801c82e98$11a93e30$6c7aa8c0@M90><001601c82ea1$caa5b950$0301a8c0@HAL9005><005501c82ead$4bbda9c0$6c7aa8c0@M90> Message-ID: <006401c82eb6$f3b8cfc0$6c7aa8c0@M90> Look at the dates though. The two top picks were reviewed in summer 2006. That is a LOOOONG time ago in this business. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Saturday, November 24, 2007 11:00 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New Comodo Firewall Here's a firewall testing site http://www.firewallguide.com/software.htm GK On Nov 24, 2007 9:18 AM, jwcolby wrote: > Rocky, > > I don't pretend to be a security expert. Therefore all I can do is > talk about what I like and why. The Comodo firewall is good and getting better. > It is free. It has now added in a new layer which watches for the > nasties trying to load and also the nasties trying to hook in to or > manipulate already loaded applications. This is a very common > practice, even with the non-nasties. Outlook hooks into Firefox or IE > to display web pages. So if an "application" tries to use another application, is it normal or a nasty? > If something tries to load, is it a normal known app or a nasty? > > There are already firewalls out there, there are already app monitors. > Some are good, some are not so good, some are useless. Unfortunately > given the very real importance of such things, I am not finding a good > site dedicated to testing firewalls and keeping those tests up to > date. I find tests for Comodo's firewall but they are from Sept 2006. > That is well over a year ago and are the results valid today? As we > know from the Microsoft debacle, bug fixes can break things so any > firewall developer can fix a bug and break something else. We really > need some place that tests each firewall / version at LEAST every few months. Well if there is one I can't find it. > > Anyway, Comodo is a company that I trust and I like their philosophy. > They are in the business of selling security certificates, and they > profess to believe that trust is the most critical aspect of their > job. They already have a background in the internet, and specifically > in the security side of the internet and they are trying to leverage > that knowledge into good products for the little guy to protect > himself with. They are openly staking their reputation on these > products, and the effect on their reputation is their payback for the > work they do on these products. I just like that. > > They are doing a good job of staying on top of the various security > issues > (AFAICT) and they have added a new "layer" of security directly into > the firewall application which does this monitoring of other > applications. It has gotten to the point where I think this is a > requirement (application monitoring), and it just seems like a good > idea to have one dev team handling the whole thing rather than using > the firewall from over here and the monitor from over there. Given > that the nasties almost always try to use the internet for some > nefarious purpose, it makes sense to me for the app monitor to be able to talk directly to the firewall should it need to. > > Again, just my opinion, and making the assumption that they do a good > job on both sides of the security house of course. > > Both of these things, firewalls and application monitoring, are > complicated issues which I don't understand well enough to do my own > testing. I keep looking for some third party which is keeping up with > such testing but I am not finding such a place. In the meantime, all > I can say is, I like Comodo and I like their firewall. I have been > using it for well over a year now, on all of my machines and I still recommend it highly. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Saturday, November 24, 2007 8:56 AM > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] New Comodo Firewall > > Looks good from the site. I'm using Sygate. I'm also behind a router > firewall and have AVG going to the AV and their spyware product. Any > compelling reason to switch? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Saturday, November 24, 2007 4:47 AM > To: 'Access Developers discussion and problem solving'; 'Discussion of > Hardware and Software issues' > Subject: [AccessD] New Comodo Firewall > > I have to say the new Comodo firewall, v 3.x is AWESOME. The firewall > itself is great, and now they are folding in the capabilities of > malware detection such as rootkits and other such goodies. > > If you don't use a software firewall, you should try this thing. If > you use any other firewall, you should try this thing. They just keep > getting better. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.16.5/1148 - Release Date: > 11/23/2007 > 7:39 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sat Nov 24 10:42:52 2007 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 24 Nov 2007 10:42:52 -0600 Subject: [AccessD] New Comodo Firewall In-Reply-To: <005e01c82eb1$898f7b30$6c7aa8c0@M90> Message-ID: <20071124164323.1E2EB1C8C2@smtp-out-02.usinternet.com> The URL here is wrapped. I just tried again - their home page opened fine. www.matousec.com BTW - the reviews here are quite critical and technical. For example, they say that ZoneAlarm Pro should not be used because it has too many critical bugs that would allow a skilled person to easily get into your PC! Ouch! They also gain some income by selling the full technical analysis to the vendors of firewalls - and some vendors have taken them up on this and improved their products as a result. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, November 24, 2007 9:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New Comodo Firewall I am unable to load the page, or even the home page. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Saturday, November 24, 2007 10:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New Comodo Firewall I went looking for info on Comodo, and found this firewall analysis site: http://www.matousec.com/projects/windows-personal-firewall-analysis/results. php Too much info for me to summarize! - But Comodo is one of the better products. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, November 24, 2007 6:47 AM To: 'Access Developers discussion and problem solving'; 'Discussion of Hardware and Software issues' Subject: [AccessD] New Comodo Firewall I have to say the new Comodo firewall, v 3.x is AWESOME. The firewall itself is great, and now they are folding in the capabilities of malware detection such as rootkits and other such goodies. If you don't use a software firewall, you should try this thing. If you use any other firewall, you should try this thing. They just keep getting better. John W. Colby Colby Consulting 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sat Nov 24 10:52:37 2007 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 24 Nov 2007 10:52:37 -0600 Subject: [AccessD] New Comodo Firewall In-Reply-To: <006401c82eb6$f3b8cfc0$6c7aa8c0@M90> Message-ID: <20071124165307.8B4E224FCD@smtp-out-01.usinternet.com> If you scroll down about 1/4 of the page, you'll see an update on Comodo dated Sept 2007. Sounds like the company is going to make major improvements pretty soon. I'm going to try this when they do. Hey I just checked! They do now offer version 3.0. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, November 24, 2007 10:28 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New Comodo Firewall Look at the dates though. The two top picks were reviewed in summer 2006. That is a LOOOONG time ago in this business. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Saturday, November 24, 2007 11:00 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New Comodo Firewall Here's a firewall testing site http://www.firewallguide.com/software.htm GK On Nov 24, 2007 9:18 AM, jwcolby wrote: > Rocky, > > I don't pretend to be a security expert. Therefore all I can do is > talk about what I like and why. The Comodo firewall is good and getting better. > It is free. It has now added in a new layer which watches for the > nasties trying to load and also the nasties trying to hook in to or > manipulate already loaded applications. This is a very common > practice, even with the non-nasties. Outlook hooks into Firefox or IE > to display web pages. So if an "application" tries to use another application, is it normal or a nasty? > If something tries to load, is it a normal known app or a nasty? > > There are already firewalls out there, there are already app monitors. > Some are good, some are not so good, some are useless. Unfortunately > given the very real importance of such things, I am not finding a good > site dedicated to testing firewalls and keeping those tests up to > date. I find tests for Comodo's firewall but they are from Sept 2006. > That is well over a year ago and are the results valid today? As we > know from the Microsoft debacle, bug fixes can break things so any > firewall developer can fix a bug and break something else. We really > need some place that tests each firewall / version at LEAST every few months. Well if there is one I can't find it. > > Anyway, Comodo is a company that I trust and I like their philosophy. > They are in the business of selling security certificates, and they > profess to believe that trust is the most critical aspect of their > job. They already have a background in the internet, and specifically > in the security side of the internet and they are trying to leverage > that knowledge into good products for the little guy to protect > himself with. They are openly staking their reputation on these > products, and the effect on their reputation is their payback for the > work they do on these products. I just like that. > > They are doing a good job of staying on top of the various security > issues > (AFAICT) and they have added a new "layer" of security directly into > the firewall application which does this monitoring of other > applications. It has gotten to the point where I think this is a > requirement (application monitoring), and it just seems like a good > idea to have one dev team handling the whole thing rather than using > the firewall from over here and the monitor from over there. Given > that the nasties almost always try to use the internet for some > nefarious purpose, it makes sense to me for the app monitor to be able to talk directly to the firewall should it need to. > > Again, just my opinion, and making the assumption that they do a good > job on both sides of the security house of course. > > Both of these things, firewalls and application monitoring, are > complicated issues which I don't understand well enough to do my own > testing. I keep looking for some third party which is keeping up with > such testing but I am not finding such a place. In the meantime, all > I can say is, I like Comodo and I like their firewall. I have been > using it for well over a year now, on all of my machines and I still recommend it highly. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Saturday, November 24, 2007 8:56 AM > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] New Comodo Firewall > > Looks good from the site. I'm using Sygate. I'm also behind a router > firewall and have AVG going to the AV and their spyware product. Any > compelling reason to switch? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Saturday, November 24, 2007 4:47 AM > To: 'Access Developers discussion and problem solving'; 'Discussion of > Hardware and Software issues' > Subject: [AccessD] New Comodo Firewall > > I have to say the new Comodo firewall, v 3.x is AWESOME. The firewall > itself is great, and now they are folding in the capabilities of > malware detection such as rootkits and other such goodies. > > If you don't use a software firewall, you should try this thing. If > you use any other firewall, you should try this thing. They just keep > getting better. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.16.5/1148 - Release Date: > 11/23/2007 > 7:39 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Nov 24 11:05:17 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Nov 2007 12:05:17 -0500 Subject: [AccessD] New Comodo Firewall In-Reply-To: <29f585dd0711240826g372c0e61xfcd6b7c46baa4967@mail.gmail.com> References: <004801c82e98$11a93e30$6c7aa8c0@M90><001601c82ea1$caa5b950$0301a8c0@HAL9005><005501c82ead$4bbda9c0$6c7aa8c0@M90> <29f585dd0711240826g372c0e61xfcd6b7c46baa4967@mail.gmail.com> Message-ID: <006501c82ebc$3084fb90$6c7aa8c0@M90> Arthur, A hardware firewall is about controlling the access to the NETWORK (not any specific computer) almost exclusively INCOMING only. It is definitely the first and most powerful line of defense for what it does. What it does not do is control any specific computer attempting to phone home. If you ever catch a nasty, almost all of them attempt to pass information back out to criminals. These things are a major threat nowadays. In the beginning were the script kiddies and they were idiots. Now there are crime syndicates with more resources than IBM (literally), all of it focused on breaking in to our computers. They run out of mainland china, Russia and other essentially lawless or uncaring host countries where we can't get at them and prosecute them. And they are powerful. They have made so much money that they can and do afford the best programmers in the world, paying big bucks to little people who don't stand a chance of making that kind of money legitimately, and all focused on figuring out how to get past your router. If they get in , they plant totally silent applications that just look for passwords and stuff. So... the software firewall (and application monitors) are designed to watch for applications trying to do things they shouldn't and applications trying to send stuff OUT of your computer. You will never know if you need one until your bank account or credit card is empty. If you do not ever use your computer to buy stuff over the internet or do web banking, then you do not really have much to worry about. Your computer may end up a 'bot in someone's bot network but what do you care? OTOH if you ever use your credit card over the net then just keep a close eye on things and hope for the best. Oh yea, and then there is the identity theft issue. That's the short answer. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, November 24, 2007 11:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New Comodo Firewall I'm about to reveal my colossal ignorance (just in case it was not already evident), but my question is this: given a router that already has a firewall in it (such as LinkSys or DLink), what is gained by adding a software firewall to the mix? Since I live alone, but have 2 desktops, one notebook and one server, I want traffic between everything my house to be open and free. I'm only concerned about externalities, as it were. I don't want anybody in the outside world to get in (without permission), but within my tiny world, everything is permitted. So what would a software firewall bring to the party that I don't already have? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Nov 24 11:09:42 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Nov 2007 12:09:42 -0500 Subject: [AccessD] New Comodo Firewall In-Reply-To: <20071124164323.1E2EB1C8C2@smtp-out-02.usinternet.com> References: <005e01c82eb1$898f7b30$6c7aa8c0@M90> <20071124164323.1E2EB1C8C2@smtp-out-02.usinternet.com> Message-ID: <006601c82ebc$ceb92a70$6c7aa8c0@M90> I still can't get on it. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Saturday, November 24, 2007 11:43 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New Comodo Firewall The URL here is wrapped. I just tried again - their home page opened fine. www.matousec.com BTW - the reviews here are quite critical and technical. For example, they say that ZoneAlarm Pro should not be used because it has too many critical bugs that would allow a skilled person to easily get into your PC! Ouch! They also gain some income by selling the full technical analysis to the vendors of firewalls - and some vendors have taken them up on this and improved their products as a result. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, November 24, 2007 9:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New Comodo Firewall I am unable to load the page, or even the home page. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Saturday, November 24, 2007 10:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New Comodo Firewall I went looking for info on Comodo, and found this firewall analysis site: http://www.matousec.com/projects/windows-personal-firewall-analysis/results. php Too much info for me to summarize! - But Comodo is one of the better products. Dan From jwcolby at colbyconsulting.com Sat Nov 24 11:10:51 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Nov 2007 12:10:51 -0500 Subject: [AccessD] New Comodo Firewall In-Reply-To: <006501c82ebc$3084fb90$6c7aa8c0@M90> References: <004801c82e98$11a93e30$6c7aa8c0@M90><001601c82ea1$caa5b950$0301a8c0@HAL9005><005501c82ead$4bbda9c0$6c7aa8c0@M90><29f585dd0711240826g372c0e61xfcd6b7c46baa4967@mail.gmail.com> <006501c82ebc$3084fb90$6c7aa8c0@M90> Message-ID: <006701c82ebc$f7bf7c30$6c7aa8c0@M90> http://www.eweek.com/article2/0,1895,2218894,00.asp?kc=EWKNLBOE112407STR1 John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, November 24, 2007 12:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New Comodo Firewall Arthur, A hardware firewall is about controlling the access to the NETWORK (not any specific computer) almost exclusively INCOMING only. It is definitely the first and most powerful line of defense for what it does. What it does not do is control any specific computer attempting to phone home. If you ever catch a nasty, almost all of them attempt to pass information back out to criminals. These things are a major threat nowadays. In the beginning were the script kiddies and they were idiots. Now there are crime syndicates with more resources than IBM (literally), all of it focused on breaking in to our computers. They run out of mainland china, Russia and other essentially lawless or uncaring host countries where we can't get at them and prosecute them. And they are powerful. They have made so much money that they can and do afford the best programmers in the world, paying big bucks to little people who don't stand a chance of making that kind of money legitimately, and all focused on figuring out how to get past your router. If they get in , they plant totally silent applications that just look for passwords and stuff. So... the software firewall (and application monitors) are designed to watch for applications trying to do things they shouldn't and applications trying to send stuff OUT of your computer. You will never know if you need one until your bank account or credit card is empty. If you do not ever use your computer to buy stuff over the internet or do web banking, then you do not really have much to worry about. Your computer may end up a 'bot in someone's bot network but what do you care? OTOH if you ever use your credit card over the net then just keep a close eye on things and hope for the best. Oh yea, and then there is the identity theft issue. That's the short answer. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, November 24, 2007 11:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New Comodo Firewall I'm about to reveal my colossal ignorance (just in case it was not already evident), but my question is this: given a router that already has a firewall in it (such as LinkSys or DLink), what is gained by adding a software firewall to the mix? Since I live alone, but have 2 desktops, one notebook and one server, I want traffic between everything my house to be open and free. I'm only concerned about externalities, as it were. I don't want anybody in the outside world to get in (without permission), but within my tiny world, everything is permitted. So what would a software firewall bring to the party that I don't already have? 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 jwcolby at colbyconsulting.com Sat Nov 24 11:15:35 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Nov 2007 12:15:35 -0500 Subject: [AccessD] An interesting article on exposed databases Message-ID: <006801c82ebd$a10fe810$6c7aa8c0@M90> http://www.eweek.com/article2/0,1895,2217123,00.asp John W. Colby Colby Consulting www.ColbyConsulting.com From max.wanadoo at gmail.com Sat Nov 24 11:31:39 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Sat, 24 Nov 2007 17:31:39 -0000 Subject: [AccessD] SendObject Attachments In-Reply-To: <001701c82ead$85dd4570$0301a8c0@HAL9005> Message-ID: <00a201c82ebf$dfee3260$8119fea9@LTVM> Well Rocky, As an alternative why not buy a client-domain and host it with a low-cost ISP (minimum costs these days)* then give your clients the ability to send emails from within your Access package (using CDO - no email client required). You can then build in all the paramaters into your package with zero installation overheads (you control all the values necessary). You could sell this to them as "Added-Value" with/without an price. The activation key could be part of the Licence Code. When turned on, they can use it, otherwise not (nice little popup inviting them to upgrade) You could also have client-specific web pages for each client. Get them to sign up to a no-spam clause and drop them from the "approved list" if they break this. Enhancement could be a unique selling point! Max * or host the domain with your own PC if it has permanent internet connection. Traffic would be low and easily within the capabilities of a standard PC. I use Abyss (v1 is free, v2 is lowcost). Ps. You can also automat the sending of error driven emails direct to your computers from theirs. Imagine their surprise when you call them the next day and say "I see you had a problem, here is the solution". -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, November 24, 2007 3:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments I like it. I wouldn't distribute it to a lot of users, however. In my manufacturing system the installation is dead simple. First instruction -Create a folder C:\E-Z-MRP. 50% of the users were stumped. That's when I switched to Wise/Sagekey. But for one-off installations it looks like a better approach. Rocky From jimdettman at verizon.net Sat Nov 24 11:38:52 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Sat, 24 Nov 2007 12:38:52 -0500 Subject: [AccessD] New Comodo Firewall In-Reply-To: <29f585dd0711240826g372c0e61xfcd6b7c46baa4967@mail.gmail.com> References: <004801c82e98$11a93e30$6c7aa8c0@M90> <001601c82ea1$caa5b950$0301a8c0@HAL9005> <005501c82ead$4bbda9c0$6c7aa8c0@M90> <29f585dd0711240826g372c0e61xfcd6b7c46baa4967@mail.gmail.com> Message-ID: <003f01c82ec0$e1f66900$8abea8c0@XPS> Arthur, <> Even though both are called "firewalls", the approach and what they do are different, but there is some overlap. Hardware Firewalls started off with simply NAT (Network Address Translation). NAT "hides" your internal network from the outside world. As time went on hardware Firewalls gained capabilities, such as keyword checking, URL filtering, Time restrictions, etc, but their primary focus is handling TCP/IP communications and enabling/disabling that. The problem is, they typically don't check what's going on inside the communication itself (look inside the packets). Software firewalls started off in the other direction; more concerned with content. They typically have anti-virus, spam tools, content checking, etc built in. And they as well have gained features over time, such as checking ports and allowing / disallowing communications at a basic level. So the line has blurred quite a bit, but you still typically use a pair because a hardware firewall is better at handling basic communications (it's faster) and a software firewall to check content, such as preventing personal information (ie. a phone number or credit card) from being transmitted out. You can buy a hardware firewall that has a lot of the features a software firewall has, but they are expensive and the configuration your doing is at a network wide level. If you stick with strictly software, then you have a performance issue. By splitting the difference, you get the best of both worlds. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, November 24, 2007 11:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New Comodo Firewall I'm about to reveal my colossal ignorance (just in case it was not already evident), but my question is this: given a router that already has a firewall in it (such as LinkSys or DLink), what is gained by adding a software firewall to the mix? Since I live alone, but have 2 desktops, one notebook and one server, I want traffic between everything my house to be open and free. I'm only concerned about externalities, as it were. I don't want anybody in the outside world to get in (without permission), but within my tiny world, everything is permitted. So what would a software firewall bring to the party that I don't already have? 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 Sat Nov 24 12:23:20 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 24 Nov 2007 10:23:20 -0800 Subject: [AccessD] SendObject Attachments In-Reply-To: <00a201c82ebf$dfee3260$8119fea9@LTVM> References: <001701c82ead$85dd4570$0301a8c0@HAL9005> <00a201c82ebf$dfee3260$8119fea9@LTVM> Message-ID: <001b01c82ec7$17e5e0d0$0301a8c0@HAL9005> Piece of cake. Next time you're in the neighborhood, stop by, and hook that up for me, will you? Weather's great, accommodations reasonable (ask Martin). Actually, it sounds like a good idea. But more responsibility (24/7) than I think I want. I'm a lone ranger, here. Rocky Smolin Not When The Surf's Up Software Company Del Mar, California -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Saturday, November 24, 2007 9:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments Well Rocky, As an alternative why not buy a client-domain and host it with a low-cost ISP (minimum costs these days)* then give your clients the ability to send emails from within your Access package (using CDO - no email client required). You can then build in all the paramaters into your package with zero installation overheads (you control all the values necessary). You could sell this to them as "Added-Value" with/without an price. The activation key could be part of the Licence Code. When turned on, they can use it, otherwise not (nice little popup inviting them to upgrade) You could also have client-specific web pages for each client. Get them to sign up to a no-spam clause and drop them from the "approved list" if they break this. Enhancement could be a unique selling point! Max * or host the domain with your own PC if it has permanent internet connection. Traffic would be low and easily within the capabilities of a standard PC. I use Abyss (v1 is free, v2 is lowcost). Ps. You can also automat the sending of error driven emails direct to your computers from theirs. Imagine their surprise when you call them the next day and say "I see you had a problem, here is the solution". -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, November 24, 2007 3:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments I like it. I wouldn't distribute it to a lot of users, however. In my manufacturing system the installation is dead simple. First instruction -Create a folder C:\E-Z-MRP. 50% of the users were stumped. That's when I switched to Wise/Sagekey. But for one-off installations it looks like a better approach. Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.5/1148 - Release Date: 11/23/2007 7:39 PM From miscellany at mvps.org Sat Nov 24 13:01:32 2007 From: miscellany at mvps.org (Steve Schapel) Date: Sun, 25 Nov 2007 08:01:32 +1300 Subject: [AccessD] Comparing date and time In-Reply-To: <47473C84.9000601@mvps.org> References: <20071123105039.7E2E92B58F6@smtp.nildram.co.uk> <20071123200328.OUPJ9910.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> <47473C84.9000601@mvps.org> Message-ID: <4748750C.5070007@mvps.org> David, Another thought... It would arguably be neater if you put a couple of unbound textboxes on the form, with control sources: =[BsvrStartDate]+[BSVRStartTime] =[BsvrEndDate]+[BSVREndTime] Let's say you name these textboxes BSVRStartDateTime and BSVREndDateTime. So then we could have: "WHERE (EntryLogSets.[Date] + EntryLogSets.[Time]) Between " & CDbl([Forms]![BSVR]![BSVRStartDateTime]) & " And " & CDbl([Forms]![BSVR]![BSVREndDateTime]) Or, assuming your code is actually running from an event within the BSVR form: "WHERE (EntryLogSets.[Date] + EntryLogSets.[Time]) Between " & CDbl(Me.BSVRStartDateTime) & " And " & CDbl(Me.BSVREndDateTime) Regards Steve Steve Schapel wrote: > David, > > If the [Date] and [Time] fields in the table are a Date/Time data type, > and if the criteria controls on the form are formatted with a valid date > and/or time format, then I don't think you would need the CDate and > DateValue functions as you have used them. I would expect (without > having tested) that this would work: > "WHERE (EntryLogSets.Date + EntryLogSets.Time) Between (#" & > [Forms]![BSVR]![BsvrStartDate] & "# + #" & > [Forms]![BSVR]![BSVRStartTime] & "#) And (#" & > [Forms]![BSVR]![BsvrEndDate] "# + #" & [Forms]![BSVR]![BSVREndTime] & "#)" > > I always wrap date and time criteria in CLng or CDbl to handle > international problem, so I would do it like this: > "WHERE (EntryLogSets.Date + EntryLogSets.Time) Between (" & > CLng([Forms]![BSVR]![BsvrStartDate]) + > CDbl([Forms]![BSVR]![BSVRStartTime]) & ") And (" & > CLng([Forms]![BSVR]![BsvrEndDate]) + CDbl([Forms]![BSVR]![BSVREndTime]) > & ")" > > Regards > Steve > > David Emerson wrote: >> Thanks to everyone who replied. >> >> The final solution was twofold. First change the query: >> >> DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT >> ShipmentDetail.* " & _ >> "FROM ShipmentDetail INNER JOIN EntryLogSets ON >> ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ >> "WHERE (CDate(DateValue(EntryLogSets.Date) + >> TimeValue(EntryLogSets.Time))>= >> CDate(DateValue([Forms]![BSVR]![BsvrStartDate]) + >> TimeValue([Forms]![BSVR]![BSVRStartTime]))) " & _ >> "And CDate(DateValue(EntryLogSets.Date) + >> TimeValue(EntryLogSets.Time))<= >> CDate(DateValue([Forms]![BSVR]![BsvrEndDate]) + >> TimeValue([Forms]![BSVR]![BSVREndTime]))" >> >> >> Secondly, tidy up the data to remove invalid entries in the time field. >> From max.wanadoo at gmail.com Sat Nov 24 13:01:42 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Sat, 24 Nov 2007 19:01:42 -0000 Subject: [AccessD] SendObject Attachments In-Reply-To: <001b01c82ec7$17e5e0d0$0301a8c0@HAL9005> Message-ID: <00a601c82ecc$74255970$8119fea9@LTVM> >> Piece of cake. Yes it is, probably sounds more complicated than it actually is. Probably a day's work for the lot. I would love to take up your offer, but it is a long drive from England! My son is currently in Orangevale, CA. Is that anywhere near you? Would be great to see him and drop in on you. Max Ps. You don't have to answer the email calls 24/7, just during office hours. Pps. 1. Abyss is such a doddle to set up. Complete with firewall etc 2. Domain set up is done by ISP, just connect to it. They will give you the parameters. Just leave you PC online 24/7 if you offer web pages, otherwise scratch Abyss. You can collect any error emails via a mailbox on the ISP. 3. Access you already know. Do it Rocky - be the first kid on the block to offer this service! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, November 24, 2007 6:23 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments Piece of cake. Next time you're in the neighborhood, stop by, and hook that up for me, will you? Weather's great, accommodations reasonable (ask Martin). Actually, it sounds like a good idea. But more responsibility (24/7) than I think I want. I'm a lone ranger, here. Rocky Smolin Not When The Surf's Up Software Company Del Mar, California -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Saturday, November 24, 2007 9:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments Well Rocky, As an alternative why not buy a client-domain and host it with a low-cost ISP (minimum costs these days)* then give your clients the ability to send emails from within your Access package (using CDO - no email client required). You can then build in all the paramaters into your package with zero installation overheads (you control all the values necessary). You could sell this to them as "Added-Value" with/without an price. The activation key could be part of the Licence Code. When turned on, they can use it, otherwise not (nice little popup inviting them to upgrade) You could also have client-specific web pages for each client. Get them to sign up to a no-spam clause and drop them from the "approved list" if they break this. Enhancement could be a unique selling point! Max * or host the domain with your own PC if it has permanent internet connection. Traffic would be low and easily within the capabilities of a standard PC. I use Abyss (v1 is free, v2 is lowcost). Ps. You can also automat the sending of error driven emails direct to your computers from theirs. Imagine their surprise when you call them the next day and say "I see you had a problem, here is the solution". -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, November 24, 2007 3:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments I like it. I wouldn't distribute it to a lot of users, however. In my manufacturing system the installation is dead simple. First instruction -Create a folder C:\E-Z-MRP. 50% of the users were stumped. That's when I switched to Wise/Sagekey. But for one-off installations it looks like a better approach. Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.5/1148 - Release Date: 11/23/2007 7:39 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sat Nov 24 13:27:57 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 24 Nov 2007 11:27:57 -0800 Subject: [AccessD] SendObject Attachments In-Reply-To: <00a601c82ecc$74255970$8119fea9@LTVM> References: <001b01c82ec7$17e5e0d0$0301a8c0@HAL9005> <00a601c82ecc$74255970$8119fea9@LTVM> Message-ID: <001c01c82ed0$1e65c340$0301a8c0@HAL9005> Orangevale is about 500 miles north - near Sacramento. We're just North of San Diego, about 35 miles from the Mexico border Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Saturday, November 24, 2007 11:02 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments >> Piece of cake. Yes it is, probably sounds more complicated than it actually is. Probably a day's work for the lot. I would love to take up your offer, but it is a long drive from England! My son is currently in Orangevale, CA. Is that anywhere near you? Would be great to see him and drop in on you. Max Ps. You don't have to answer the email calls 24/7, just during office hours. Pps. 1. Abyss is such a doddle to set up. Complete with firewall etc 2. Domain set up is done by ISP, just connect to it. They will give you the parameters. Just leave you PC online 24/7 if you offer web pages, otherwise scratch Abyss. You can collect any error emails via a mailbox on the ISP. 3. Access you already know. Do it Rocky - be the first kid on the block to offer this service! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, November 24, 2007 6:23 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments Piece of cake. Next time you're in the neighborhood, stop by, and hook that up for me, will you? Weather's great, accommodations reasonable (ask Martin). Actually, it sounds like a good idea. But more responsibility (24/7) than I think I want. I'm a lone ranger, here. Rocky Smolin Not When The Surf's Up Software Company Del Mar, California -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of max.wanadoo at gmail.com Sent: Saturday, November 24, 2007 9:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments Well Rocky, As an alternative why not buy a client-domain and host it with a low-cost ISP (minimum costs these days)* then give your clients the ability to send emails from within your Access package (using CDO - no email client required). You can then build in all the paramaters into your package with zero installation overheads (you control all the values necessary). You could sell this to them as "Added-Value" with/without an price. The activation key could be part of the Licence Code. When turned on, they can use it, otherwise not (nice little popup inviting them to upgrade) You could also have client-specific web pages for each client. Get them to sign up to a no-spam clause and drop them from the "approved list" if they break this. Enhancement could be a unique selling point! Max * or host the domain with your own PC if it has permanent internet connection. Traffic would be low and easily within the capabilities of a standard PC. I use Abyss (v1 is free, v2 is lowcost). Ps. You can also automat the sending of error driven emails direct to your computers from theirs. Imagine their surprise when you call them the next day and say "I see you had a problem, here is the solution". -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, November 24, 2007 3:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SendObject Attachments I like it. I wouldn't distribute it to a lot of users, however. In my manufacturing system the installation is dead simple. First instruction -Create a folder C:\E-Z-MRP. 50% of the users were stumped. That's when I switched to Wise/Sagekey. But for one-off installations it looks like a better approach. Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.5/1148 - Release Date: 11/23/2007 7:39 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.5/1148 - Release Date: 11/23/2007 7:39 PM From accessd at shaw.ca Sun Nov 25 13:55:42 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 25 Nov 2007 11:55:42 -0800 Subject: [AccessD] An interesting article on exposed databases In-Reply-To: <006801c82ebd$a10fe810$6c7aa8c0@M90> References: <006801c82ebd$a10fe810$6c7aa8c0@M90> Message-ID: <192DFB7E988C405D89493E215F7168E1@creativesystemdesigns.com> Very interesting article John Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, November 24, 2007 9:16 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] An interesting article on exposed databases http://www.eweek.com/article2/0,1895,2217123,00.asp John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paulrster at gmail.com Sun Nov 25 14:14:15 2007 From: paulrster at gmail.com (paulr) Date: Sun, 25 Nov 2007 20:14:15 -0000 Subject: [AccessD] Anyone remember File Express? Message-ID: <000001c82f9f$c1d1d940$6401a8c0@PAULSLENOVO> Does anyone have any experience with File Express, please? It was an old database system, DOS-based. The main question is: Would it be possible to import it into Access? Cheers all paul From fuller.artful at gmail.com Sun Nov 25 14:52:06 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 25 Nov 2007 15:52:06 -0500 Subject: [AccessD] Anyone remember File Express? In-Reply-To: <000001c82f9f$c1d1d940$6401a8c0@PAULSLENOVO> References: <000001c82f9f$c1d1d940$6401a8c0@PAULSLENOVO> Message-ID: <29f585dd0711251252vc248ea9jbb31696d4fe7c4fd@mail.gmail.com> See this: http://www.millenniacorp.com/Expressware/InfoFileExpress.htm On 11/25/07, paulr wrote: > > Does anyone have any experience with File Express, please? It was an old > database system, DOS-based. The main question is: Would it be possible to > import it into Access? > > Cheers all > > paul > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From paulrster at gmail.com Sun Nov 25 15:28:58 2007 From: paulrster at gmail.com (paulr) Date: Sun, 25 Nov 2007 21:28:58 -0000 Subject: [AccessD] Anyone remember File Express? In-Reply-To: <29f585dd0711251252vc248ea9jbb31696d4fe7c4fd@mail.gmail.com> References: <000001c82f9f$c1d1d940$6401a8c0@PAULSLENOVO> <29f585dd0711251252vc248ea9jbb31696d4fe7c4fd@mail.gmail.com> Message-ID: <000f01c82faa$3244bad0$6401a8c0@PAULSLENOVO> Thanks, Arthur, but I got the impression that the site was abandoned some time back. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: 25 November 2007 20:52 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Anyone remember File Express? See this: http://www.millenniacorp.com/Expressware/InfoFileExpress.htm On 11/25/07, paulr wrote: > > Does anyone have any experience with File Express, please? It was an > old database system, DOS-based. The main question is: Would it be > possible to import it into Access? > > Cheers all > > paul > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Sun Nov 25 15:39:56 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 25 Nov 2007 16:39:56 -0500 Subject: [AccessD] Anyone remember File Express? In-Reply-To: <000f01c82faa$3244bad0$6401a8c0@PAULSLENOVO> References: <000001c82f9f$c1d1d940$6401a8c0@PAULSLENOVO> <29f585dd0711251252vc248ea9jbb31696d4fe7c4fd@mail.gmail.com> <000f01c82faa$3244bad0$6401a8c0@PAULSLENOVO> Message-ID: <29f585dd0711251339v66d5943eye7dfc5dd4af63d1d@mail.gmail.com> I don't think so. On 11/25/07, paulr wrote: > > Thanks, Arthur, but I got the impression that the site was abandoned some > time back. > From paulrster at gmail.com Sun Nov 25 15:53:11 2007 From: paulrster at gmail.com (paulr) Date: Sun, 25 Nov 2007 21:53:11 -0000 Subject: [AccessD] Anyone remember File Express? In-Reply-To: <29f585dd0711251339v66d5943eye7dfc5dd4af63d1d@mail.gmail.com> References: <000001c82f9f$c1d1d940$6401a8c0@PAULSLENOVO><29f585dd0711251252vc248ea9jbb31696d4fe7c4fd@mail.gmail.com><000f01c82faa$3244bad0$6401a8c0@PAULSLENOVO> <29f585dd0711251339v66d5943eye7dfc5dd4af63d1d@mail.gmail.com> Message-ID: <001001c82fad$938abd50$6401a8c0@PAULSLENOVO> They seem to have become involved in family trees with the latest offering. Is there a way to import DOS files from a program like File Express into Access, do you think, Arthur? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: 25 November 2007 21:40 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Anyone remember File Express? I don't think so. On 11/25/07, paulr wrote: > > Thanks, Arthur, but I got the impression that the site was abandoned > some time back. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Sun Nov 25 15:55:50 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 25 Nov 2007 16:55:50 -0500 Subject: [AccessD] Anyone remember File Express? References: <000001c82f9f$c1d1d940$6401a8c0@PAULSLENOVO> Message-ID: <006901c82fad$fa41e7d0$4b3a8343@SusanOne> If you can't import it directly, you might be able to use a third program -- look for a product that's supported by both File Express and Access and use it as a go-between if you have to. If nothing else, you might export the FE data to a delimited text file. Susan H. > Does anyone have any experience with File Express, please? It was an old > database system, DOS-based. The main question is: Would it be possible to > import it into Access? From ssharkins at gmail.com Sun Nov 25 17:57:35 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 25 Nov 2007 18:57:35 -0500 Subject: [AccessD] ADO Message-ID: <000301c82fbe$f5d444c0$4b3a8343@SusanOne> I don't think there's a querydef-type object in ADO, is there? Susan H. From nd500_lo at charter.net Sun Nov 25 18:42:37 2007 From: nd500_lo at charter.net (Dian) Date: Sun, 25 Nov 2007 16:42:37 -0800 Subject: [AccessD] Anyone remember File Express? In-Reply-To: <006901c82fad$fa41e7d0$4b3a8343@SusanOne> References: <000001c82f9f$c1d1d940$6401a8c0@PAULSLENOVO> <006901c82fad$fa41e7d0$4b3a8343@SusanOne> Message-ID: <000001c82fc5$3e24efd0$6400a8c0@dsunit1> Excel might do the trick, too...have used it several times with legacy stuff... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, November 25, 2007 1:56 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Anyone remember File Express? If you can't import it directly, you might be able to use a third program -- look for a product that's supported by both File Express and Access and use it as a go-between if you have to. If nothing else, you might export the FE data to a delimited text file. Susan H. > Does anyone have any experience with File Express, please? It was an > old database system, DOS-based. The main question is: Would it be > possible to import it into Access? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Sun Nov 25 18:50:57 2007 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Sun, 25 Nov 2007 16:50:57 -0800 (PST) Subject: [AccessD] ADO Message-ID: <118699.93917.qm@web33103.mail.mud.yahoo.com> Nope. That's the one thing that keeps me using the DAO. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Susan Harkins To: AccessD at databaseadvisors.com Sent: Sunday, November 25, 2007 5:57:35 PM Subject: [AccessD] ADO I don't think there's a querydef-type object in ADO, is there? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ____________________________________________________________________________________ Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how. http://overview.mail.yahoo.com/ From ssharkins at gmail.com Sun Nov 25 19:02:54 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 25 Nov 2007 20:02:54 -0500 Subject: [AccessD] ADO References: <118699.93917.qm@web33103.mail.mud.yahoo.com> Message-ID: <001701c82fc8$15c81d20$4b3a8343@SusanOne> Yeah, that's what I thought. I seldom have need to reference a fixed query, so I never can remember. Thanks! Susan H. > Nope. That's the one thing that keeps me using the DAO. > > May God bless you beyond your imagination! > Lonnie Johnson > ProDev, Professional Development of MS Access Databases > Visit me at ==> http://www.prodev.us From ssharkins at gmail.com Sun Nov 25 19:29:22 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 25 Nov 2007 20:29:22 -0500 Subject: [AccessD] Odd property error Message-ID: <000301c82fcb$ccfa9560$4b3a8343@SusanOne> I'm using the following statement to retrieve the description properties for query fields: SetFieldDescription = fld.Properties("Description") As long as there's a description, it works fine. An empty property returns the error "property not found" I've tried a Resume Next error statement, but VBA acts like it isn't even there and still returns the error. I've tried numerous ways to avoid or capture it, and nothing's worked. As far as I know, Description isn't user-defined and I think VBA's just returning one of its many, famous erroneous error messages that aren't so terribly helpful. However, you'd think Resume Next would ignore it, but it doesn't seem to. Anyone seen anything like this before? I haven't tried a real error handling routine because I'd hoped to avoid doing so if there was an easier solution. Susan H. From rockysmolin at bchacc.com Sun Nov 25 23:35:44 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 25 Nov 2007 21:35:44 -0800 Subject: [AccessD] Odd property error In-Reply-To: <000301c82fcb$ccfa9560$4b3a8343@SusanOne> References: <000301c82fcb$ccfa9560$4b3a8343@SusanOne> Message-ID: <005a01c82fee$31357cd0$0301a8c0@HAL9005> How about SetFieldDescription = Nz( fld.Properties("Description"))? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, November 25, 2007 5:29 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Odd property error I'm using the following statement to retrieve the description properties for query fields: SetFieldDescription = fld.Properties("Description") As long as there's a description, it works fine. An empty property returns the error "property not found" I've tried a Resume Next error statement, but VBA acts like it isn't even there and still returns the error. I've tried numerous ways to avoid or capture it, and nothing's worked. As far as I know, Description isn't user-defined and I think VBA's just returning one of its many, famous erroneous error messages that aren't so terribly helpful. However, you'd think Resume Next would ignore it, but it doesn't seem to. Anyone seen anything like this before? I haven't tried a real error handling routine because I'd hoped to avoid doing so if there was an easier solution. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.6/1150 - Release Date: 11/24/2007 5:58 PM From paulrster at gmail.com Mon Nov 26 00:36:12 2007 From: paulrster at gmail.com (paulr) Date: Mon, 26 Nov 2007 06:36:12 -0000 Subject: [AccessD] Anyone remember File Express? In-Reply-To: <006901c82fad$fa41e7d0$4b3a8343@SusanOne> References: <000001c82f9f$c1d1d940$6401a8c0@PAULSLENOVO> <006901c82fad$fa41e7d0$4b3a8343@SusanOne> Message-ID: <002901c82ff6$a47042e0$6401a8c0@PAULSLENOVO> Thanks, Susan H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: 25 November 2007 21:56 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Anyone remember File Express? If you can't import it directly, you might be able to use a third program -- look for a product that's supported by both File Express and Access and use it as a go-between if you have to. If nothing else, you might export the FE data to a delimited text file. Susan H. > Does anyone have any experience with File Express, please? It was an > old database system, DOS-based. The main question is: Would it be > possible to import it into Access? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at airtelbroadband.in Mon Nov 26 00:43:53 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Mon, 26 Nov 2007 12:13:53 +0530 Subject: [AccessD] Odd property error References: <000301c82fcb$ccfa9560$4b3a8343@SusanOne> Message-ID: <016e01c82ff7$d8dae1b0$1458a27a@personalec1122> Susan, On Error Resume Next is found to work smoothly at my end. Sample subroutine named P_ListQryFieldDescr() is given below. It outputs only those fields where description property is not blank. If you are interested in listing all fields and show description where available (otherwise N.A.), sample subroutine named P_ListQryFieldDescr_A() as given below, will do the needful. Best wishes, A.D.Tejpal ------------ '==================================== Sub P_ListQryFieldDescr(QryName As String) On Error Resume Next Dim qdf As QueryDef, fd As Field Set qdf = CurrentDb.QueryDefs(QryName) For Each fd In qdf.Fields Debug.Print fd.Name & " - (" & _ fd.Properties("Description") & ")" Next Set fd = Nothing Set qdf = Nothing On Error GoTo 0 End Sub '------------------------------------------------------ Sub P_ListQryFieldDescr_A(QryName As String) On Error Resume Next Dim qdf As QueryDef, fd As Field Dim Txt As String Set qdf = CurrentDb.QueryDefs(QryName) For Each fd In qdf.Fields Err.Clear Txt = fd.Properties("Description") If Err.Number = 0 Then Debug.Print fd.Name & " - (" & _ fd.Properties("Description") & ")" Else Debug.Print fd.Name & " - (N.A.)" End If Next Set fd = Nothing Set qdf = Nothing On Error GoTo 0 End Sub '==================================== ----- Original Message ----- From: Susan Harkins To: AccessD at databaseadvisors.com Sent: Monday, November 26, 2007 06:59 Subject: [AccessD] Odd property error I'm using the following statement to retrieve the description properties for query fields: SetFieldDescription = fld.Properties("Description") As long as there's a description, it works fine. An empty property returns the error "property not found" I've tried a Resume Next error statement, but VBA acts like it isn't even there and still returns the error. I've tried numerous ways to avoid or capture it, and nothing's worked. As far as I know, Description isn't user-defined and I think VBA's just returning one of its many, famous erroneous error messages that aren't so terribly helpful. However, you'd think Resume Next would ignore it, but it doesn't seem to. Anyone seen anything like this before? I haven't tried a real error handling routine because I'd hoped to avoid doing so if there was an easier solution. Susan H. From max.wanadoo at gmail.com Mon Nov 26 03:15:03 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Mon, 26 Nov 2007 09:15:03 -0000 Subject: [AccessD] Odd property error In-Reply-To: <000301c82fcb$ccfa9560$4b3a8343@SusanOne> Message-ID: <001601c8300c$d500cf40$8119fea9@LTVM> Function xProp() 'SetFieldDescription = fld.Properties("Description") On Error GoTo errhandler ' property 'DESCRIPTION' for a FIELD does not exist unless user creates it and it is creatable! Dim dbs As DAO.Database, tbldef As DAO.TableDef, fld As Field, prp As Property Dim strDescription As String Set dbs = CurrentDb Set tbldef = dbs.TableDefs("Explains") For Each fld In tbldef.Fields For Each prp In fld.Properties If prp.Name = "Description" Then strDescription = prp.Value End If Next prp Next fld exithere: Set dbs = Nothing: Set tbldef = Nothing: Set fld = Nothing: Set prp = Nothing Exit Function errhandler: Select Case Err.Number Case 3219, 3267, 3251 ' invalid operation type errors If prp.Name = "Description" Then ' You should never arrive here because the prp.name of 'Description' does not exist if it not creatable. strDescription = fld.Name & " " & prp.Name & " No Description Held" MsgBox strDescription End If Resume Next Case Else MsgBox "Error: " & Err.Number & vbCrLf & Err.Description End Select Resume exithere End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 26, 2007 1:29 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Odd property error I'm using the following statement to retrieve the description properties for query fields: SetFieldDescription = fld.Properties("Description") As long as there's a description, it works fine. An empty property returns the error "property not found" I've tried a Resume Next error statement, but VBA acts like it isn't even there and still returns the error. I've tried numerous ways to avoid or capture it, and nothing's worked. As far as I know, Description isn't user-defined and I think VBA's just returning one of its many, famous erroneous error messages that aren't so terribly helpful. However, you'd think Resume Next would ignore it, but it doesn't seem to. Anyone seen anything like this before? I haven't tried a real error handling routine because I'd hoped to avoid doing so if there was an easier solution. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Mon Nov 26 09:42:29 2007 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 26 Nov 2007 09:42:29 -0600 Subject: [AccessD] OT: Thanksgiving In-Reply-To: <00ed01c82d73$37d4efd0$6c7aa8c0@M90> References: <000301c82d41$7dc3d790$6400a8c0@dsunit1> <00ed01c82d73$37d4efd0$6c7aa8c0@M90> Message-ID: I was off the last four days so I am late adding my two cents. Nevertheless I feel compelled to say that this list has been particularly valuable to this non-IT accounting type. As the sole VBA user in the company there are no in house gurus. Consequently, over the last ten years or so (10 years?!) this group has helped me elevate my game and saved my rear countless times. I also very much enjoy the true international nature of this group. I take comfort in the fact that in a world with so many nasty disagreements there are places where professionals from every continent can collaborate successfully. Thanks to all. Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, November 22, 2007 7:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Thanksgiving Thanks for expressing it so well. The strange thing is that we all feel the same way. Individually we each know a little or a lot, but together we are more than the sum. Happy Thanksgiving to all of the Americans, and the same feelings go out to the other list members. Thanks for being there, my life would be very different without you guys and gals. John W. Colby Colby Consulting www.ColbyConsulting.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From ssharkins at gmail.com Mon Nov 26 09:58:41 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 26 Nov 2007 10:58:41 -0500 Subject: [AccessD] Odd property error References: <000301c82fcb$ccfa9560$4b3a8343@SusanOne> <016e01c82ff7$d8dae1b0$1458a27a@personalec1122> Message-ID: <002b01c83045$38cd1460$4b3a8343@SusanOne> > On Error Resume Next is found to work smoothly at my end. Sample > subroutine named P_ListQryFieldDescr() is given below. It outputs only > those fields where description property is not blank. ======I will try it on another system -- there is so much wrong with this one, that I wouldn't be surprised to learn that Access and VBA aren't working properly either. Susan H. From rockysmolin at bchacc.com Mon Nov 26 10:09:38 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 26 Nov 2007 08:09:38 -0800 Subject: [AccessD] A2K7 Navigation Pane In-Reply-To: <02ba01c82bff$22d26dd0$ce59a27a@personalec1122> References: <00df01c82b45$ced67c80$0301a8c0@HAL9005> <02ba01c82bff$22d26dd0$ce59a27a@personalec1122> Message-ID: <004301c83046$bef83280$0301a8c0@HAL9005> A.D.: Does the code: DoCmd.SelectObject acForm, , True DoCmd.RunCommand acCmdWindowHide have to appear in each form, or just called once from the opening form? Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, November 20, 2007 9:26 PM To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Subject: Re: [AccessD] A2K7 Navigation Pane Rocky, A convenient arrangement would be to have two command buttons named CmdHide and CmdShow on a form so as to hide or show the NavPane window in Access 2007. If the user is in a position to ensure that forms group in NavPane is never put in collapsed state, the code applicable in Access 2K & 2K3, as given below, would work in A2K7 as well. Code in form's module - A2K7 (Forms group in NavPane must not be in collapsed state) ======================================== Private Sub CmdHide_Click() ' Make NavPane the active window and hide it DoCmd.SelectObject acForm, , True DoCmd.RunCommand acCmdWindowHide End Sub '------------------------------------------------------- Private Sub CmdShow_Click() DoCmd.SelectObject acForm, , True End Sub ======================================== The simple solution given above will not work if the forms group in NavPane window is in collapsed state. This is because hiding the NavPane can get implemented only if the focus stays on NavPane window during execution of acCmdWindowHide command. However when an attempt is made in Access 2007 to activate the NavPane via DoCmd.SelectObject method while the pertinent object group is in collapsed state, the focus reverts back to the active form. This results in acCmdWindowHide command taking effect on the form itself instead of the intended target (NavPane). Thus you land up with hiding the form itself, instead of the NavPane. Remedy lies in hiding all active forms and reports prior to hiding the NavPane, and thereafter, un-hiding the forms & reports. Of course no other object like table or query should be in open state. It is observed that it is not necessary to select any specific object in NavPane. This argument in DoCmd.SelectObject statement can be left blank Mere selection of a type group (acForm, acTable etc) is adequate. If the group mentioned in DoCmd.SelectObject method does not yet have any object, it will not force that group's title bar to show up in the NavPane if not already visible (otherwise it will). This however does not detract from effectiveness of proposed approach and even such an empty group serves satisfactorily as an argument to DoCmd.SelectObject method. Sample code in form's module, as given below, will ensure effective hiding / un-hiding of NavPane window under all situations, even if all object groups in NavPane are in collapsed state. Although this code is meant for Access 2007, it can be used in Access 2003 as well (statements meant for hiding / un-hiding of active forms / reports are however not needed in Access 2003). It permits unrestricted number of forms / reports to stay in open state. It is also ensured that while cycling through forms/reports for bulk hiding/ unhiding, any forms kept deliberately hidden to start with, continue in this state while other temporarily hidden objects are made visible again. Best wishes, A.D.Tejpal ------------ Sample universal code in form's module - Access 2007 (for hiding / un-hiding NavPane window) '==================================== ' Declarations section ' Comma separated list of form names ' already in hidden state (so that these ' do not get un-hidden along with others) ' Note - This list gets generated automatically Private HiddenFormsList As String '------------------------------------------------------- Private Sub CmdHide_Click() ' Hide all open forms & reports so that with ' statement (A) focus stays on NavPane even ' when no object is on display (e.g. all NavPane ' groups are in collapsed state) P_HideAllOpenFormsReports ' Make NavPane the active window and hide it DoCmd.SelectObject acForm, , True ' (A) DoCmd.RunCommand acCmdWindowHide ' Unhide all open forms and reports (other than ' forms deliberately kept hidden). ' Activate this form P_UnHideAllOpenFormsReports End Sub '------------------------------------------------------- Private Sub CmdShow_Click() DoCmd.SelectObject acForm, , True End Sub '------------------------------------------------------- Private Sub P_HideAllOpenFormsReports() On Error Resume Next Dim frm As Form, rpt As Report Dim Cnt As Long HiddenFormsList = "" ' Default ' Hide all open forms Err.Clear Cnt = Forms.Count If Err.Number = 0 Then For Each frm In Forms ' Update list of deliberately hidden forms If frm.Visible = False Then HiddenFormsList = _ HiddenFormsList & "," & frm.Name End If frm.Visible = False Next End If ' Hide all open reports Err.Clear Cnt = Reports.Count If Err.Number = 0 Then For Each rpt In Reports rpt.Visible = False Next End If Set frm = Nothing Set rpt = Nothing On Error GoTo 0 End Sub '------------------------------------------------------- Private Sub P_UnHideAllOpenFormsReports() On Error Resume Next Dim frm As Form, rpt As Report Dim Cnt As Long ' UnHide all open forms Err.Clear Cnt = Forms.Count If Err.Number = 0 Then For Each frm In Forms If InStr(HiddenFormsList, frm.Name) > 0 Then Else frm.Visible = True End If Next End If ' UnHide all open reports Err.Clear Cnt = Reports.Count If Err.Number = 0 Then For Each rpt In Reports rpt.Visible = True Next End If ' Activate this form DoCmd.SelectObject acForm, Me.Name, False Set frm = Nothing Set rpt = Nothing On Error GoTo 0 End Sub '==================================== ----- Original Message ----- From: Rocky Smolin at Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Tuesday, November 20, 2007 12:50 Subject: [AccessD] A2K7 Navigation Pane Dear List: A client writes to ask if the Navigation Pane (which in his screen shot is on the left side of the screen) can be made to disappear through code. I don't have A2007 so I don't know. I guess this 'Navigation Pane' is something new in A2007? Is there a line of code that will turn the pane off? An if the user is running 2003 is suppose it would generate an error but I could precede the code to turn off the pane with On Error Resume Next? MTIA, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.2/1142 - Release Date: 11/20/2007 5:44 PM From cfoust at infostatsystems.com Mon Nov 26 10:32:41 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 26 Nov 2007 08:32:41 -0800 Subject: [AccessD] ADO In-Reply-To: <000301c82fbe$f5d444c0$4b3a8343@SusanOne> References: <000301c82fbe$f5d444c0$4b3a8343@SusanOne> Message-ID: There is a query object in ADOX, but why do you ask? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, November 25, 2007 3:58 PM To: AccessD at databaseadvisors.com Subject: [AccessD] ADO I don't think there's a querydef-type object in ADO, is there? Susan H. -- 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 Nov 26 10:35:56 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 26 Nov 2007 11:35:56 -0500 Subject: [AccessD] OT: Thanksgiving In-Reply-To: References: <000301c82d41$7dc3d790$6400a8c0@dsunit1> <00ed01c82d73$37d4efd0$6c7aa8c0@M90> Message-ID: <29f585dd0711260835u2b7dfddal4a903d9744f67295@mail.gmail.com> >> I also very much enjoy the true international nature of this group. I take comfort in the fact that in a world with so many nasty disagreements there are places where professionals from every continent can collaborate successfully. Thanks to all. Wow! You said it all. I feel that I've made friends with people on every continent except maybe Antarctica, and who knows, someone among us may hail from there and just hasn't bothered yet to hail. Hell, I've even achieved a sort of working peace with Hindman, and you know how effort that takes! LOL. Arthur From ssharkins at gmail.com Mon Nov 26 11:04:15 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 26 Nov 2007 12:04:15 -0500 Subject: [AccessD] ADO References: <000301c82fbe$f5d444c0$4b3a8343@SusanOne> Message-ID: <002b01c8304e$66742850$4b3a8343@SusanOne> > There is a query object in ADOX, but why do you ask? Charlotte, I checked the ADOX OM before asking -- I knew there was a Table object and I found a View object, but not query object. Did I miss it or does the View object include an Access query object? I thought that was perhaps the case, but didn't see it mentioned in any of the documentation I read. Susan H. From fuller.artful at gmail.com Mon Nov 26 11:25:44 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 26 Nov 2007 12:25:44 -0500 Subject: [AccessD] ADO In-Reply-To: <002b01c8304e$66742850$4b3a8343@SusanOne> References: <000301c82fbe$f5d444c0$4b3a8343@SusanOne> <002b01c8304e$66742850$4b3a8343@SusanOne> Message-ID: <29f585dd0711260925rdc234b1g272a5ca855312ad0@mail.gmail.com> Like, Susan, that's like, because you are, like, the chief documenter of all this. More cereally, ADOX refers to queries as View because that's how the big boys (SQL) refer to them. If you wish, I can send you a few procedures that use ADOX to list all the objects of any specified type. Arthur On 11/26/07, Susan Harkins wrote: > > > > There is a query object in ADOX, but why do you ask? > > Charlotte, I checked the ADOX OM before asking -- I knew there was a Table > object and I found a View object, but not query object. Did I miss it or > does the View object include an Access query object? I thought that was > perhaps the case, but didn't see it mentioned in any of the documentation > I > read. > > Susan H. > From DWUTKA at Marlow.com Mon Nov 26 09:45:02 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 26 Nov 2007 09:45:02 -0600 Subject: [AccessD] OT: Thanksgiving In-Reply-To: <000d01c82d42$4bb677c0$4b3a8343@SusanOne> Message-ID: Ok, I want to be Greg House (I walked with a cane for a few months! ;) )! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, November 22, 2007 2:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Thanksgiving If somebody on this list can't solve your problem, it can't be solved. ;) Susan H. > > I was sitting here, thinking of all the things I have to be extremely > grateful for today...and this group came to mind. Over the years, through > some miracle, every time I've hit a place where I was too confused to even > know what to ask...someone else in this group has asked the question I > needed to ask and I've reaped the benefits of all the answers. I owe all > of > you a debt of gratitude and this is the best I can do. Everything I have > accomplished professionally, I owe to each and every one of you. You are, > individually and collectively, amazing. Thank you for being here...Happy > Thanksgiving! > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 BusinessSensitve 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 Mon Nov 26 11:35:29 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 26 Nov 2007 12:35:29 -0500 Subject: [AccessD] OT: Thanksgiving In-Reply-To: <29f585dd0711260835u2b7dfddal4a903d9744f67295@mail.gmail.com> References: <000301c82d41$7dc3d790$6400a8c0@dsunit1><00ed01c82d73$37d4efd0$6c7aa8c0@M90> <29f585dd0711260835u2b7dfddal4a903d9744f67295@mail.gmail.com> Message-ID: <004001c83052$bd429cd0$647aa8c0@M90> >Hell, I've even achieved a sort of working peace with Hindman, and you know how effort that takes! LOL. OK, share your secret! ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, November 26, 2007 11:36 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Thanksgiving >> I also very much enjoy the true international nature of this group. I take comfort in the fact that in a world with so many nasty disagreements there are places where professionals from every continent can collaborate successfully. Thanks to all. Wow! You said it all. I feel that I've made friends with people on every continent except maybe Antarctica, and who knows, someone among us may hail from there and just hasn't bothered yet to hail. Hell, I've even achieved a sort of working peace with Hindman, and you know how effort that takes! LOL. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at Marlow.com Mon Nov 26 10:05:21 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 26 Nov 2007 10:05:21 -0600 Subject: [AccessD] An interesting article on exposed databases In-Reply-To: <006801c82ebd$a10fe810$6c7aa8c0@M90> Message-ID: Wow...making a server side database directly open to the web is the virtual equivalent to putting your companies file cabinets out on a public street. Just plain crazy! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, November 24, 2007 11:16 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] An interesting article on exposed databases http://www.eweek.com/article2/0,1895,2217123,00.asp John W. Colby Colby Consulting 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 BusinessSensitve 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 Mon Nov 26 10:09:05 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 26 Nov 2007 10:09:05 -0600 Subject: [AccessD] ADO In-Reply-To: <000301c82fbe$f5d444c0$4b3a8343@SusanOne> Message-ID: Just curious, what do you need one for? Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, November 25, 2007 5:58 PM To: AccessD at databaseadvisors.com Subject: [AccessD] ADO I don't think there's a querydef-type object in ADO, is there? Susan H. -- 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 BusinessSensitve 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 Mon Nov 26 10:09:50 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 26 Nov 2007 10:09:50 -0600 Subject: [AccessD] ADO In-Reply-To: <001701c82fc8$15c81d20$4b3a8343@SusanOne> Message-ID: But you can use a fixed query in ADO. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, November 25, 2007 7:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO Yeah, that's what I thought. I seldom have need to reference a fixed query, so I never can remember. Thanks! Susan H. > Nope. That's the one thing that keeps me using the DAO. > > May God bless you beyond your imagination! > Lonnie Johnson > ProDev, Professional Development of MS Access Databases > Visit me at ==> http://www.prodev.us -- 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 BusinessSensitve 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 Mon Nov 26 11:41:57 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 26 Nov 2007 12:41:57 -0500 Subject: [AccessD] OT: Thanksgiving In-Reply-To: <004001c83052$bd429cd0$647aa8c0@M90> References: <000301c82d41$7dc3d790$6400a8c0@dsunit1> <00ed01c82d73$37d4efd0$6c7aa8c0@M90> <29f585dd0711260835u2b7dfddal4a903d9744f67295@mail.gmail.com> <004001c83052$bd429cd0$647aa8c0@M90> Message-ID: <29f585dd0711260941l6361727bg21ff9655d05e1038@mail.gmail.com> Sorry, the shareware version does not cover this plan. On 11/26/07, jwcolby wrote: > > >Hell, I've even achieved a sort of working peace with Hindman, and you > know > how effort that takes! LOL. > > OK, share your secret! > > ;-) > From accessd at shaw.ca Mon Nov 26 11:48:38 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 26 Nov 2007 09:48:38 -0800 Subject: [AccessD] Odd property error In-Reply-To: <016e01c82ff7$d8dae1b0$1458a27a@personalec1122> References: <000301c82fcb$ccfa9560$4b3a8343@SusanOne> <016e01c82ff7$d8dae1b0$1458a27a@personalec1122> Message-ID: <56A8B254D93E468A91B03443645232F4@creativesystemdesigns.com> > On Error Resume Next Now that is cheating... but it sure is a time saver and that one line of code can negate 20 lines of code. (Use it myself... ) Jim Jim From ssharkins at gmail.com Mon Nov 26 11:53:44 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 26 Nov 2007 12:53:44 -0500 Subject: [AccessD] ADO References: <000301c82fbe$f5d444c0$4b3a8343@SusanOne><002b01c8304e$66742850$4b3a8343@SusanOne> <29f585dd0711260925rdc234b1g272a5ca855312ad0@mail.gmail.com> Message-ID: <001e01c83055$4b8fae40$4b3a8343@SusanOne> If you wish, I can send you a few procedures > that use ADOX to list all the objects of any specified type. ======Might as well send them to the entire group -- I'm sure I won't be the only one who's interested. I've used ADOX before, but I don't use it often enough to remember everything -- I just look it up when I need it. I've never used it to reference a fixed query. Susan H. From ssharkins at gmail.com Mon Nov 26 11:54:57 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 26 Nov 2007 12:54:57 -0500 Subject: [AccessD] ADO References: Message-ID: <003301c83055$a586fde0$4b3a8343@SusanOne> > Just curious, what do you need one for? Cycling through query field properties. Susan H. From ssharkins at gmail.com Mon Nov 26 11:55:26 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 26 Nov 2007 12:55:26 -0500 Subject: [AccessD] ADO References: Message-ID: <003601c83055$a62dc530$4b3a8343@SusanOne> > But you can use a fixed query in ADO. =====Can you reference the field properties? That's what I'm doing. Susan H. From ssharkins at gmail.com Mon Nov 26 11:56:16 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 26 Nov 2007 12:56:16 -0500 Subject: [AccessD] Odd property error References: <000301c82fcb$ccfa9560$4b3a8343@SusanOne><016e01c82ff7$d8dae1b0$1458a27a@personalec1122> <56A8B254D93E468A91B03443645232F4@creativesystemdesigns.com> Message-ID: <003701c83055$a6de5080$4b3a8343@SusanOne> >> On Error Resume Next > > Now that is cheating... but it sure is a time saver and that one line of > code can negate 20 lines of code. (Use it myself... ) Jim ======I use it a lot. I find it much preferable and inefficient when the error just needs to be ignored rather than captured and reported. Susan H. From DWUTKA at Marlow.com Mon Nov 26 09:47:03 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 26 Nov 2007 09:47:03 -0600 Subject: [AccessD] OT: Thanksgiving In-Reply-To: <200711222153.lAMLrMSV009754@databaseadvisors.com> Message-ID: Nerd mates? When I was in the Navy, the term was shipmates....ugh, that one made my skin crawl. Nerd mates isn't too bad though, I'm more of a nerd then a ship! ;) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren D Sent: Thursday, November 22, 2007 3:53 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Thanksgiving Here here And so say all of us My wife even knows some of regular names on this list - And she doesn't even have 'pewta' skills - I often talk about the victories that come from this list with her She'll see me smacking the monitor about the 'ears' in frustration and will say - "Send an email to your nerd mates" (That's her very sincere - tongue in cheek term for the team - Knowing how much I truly rely on you guys) Here in Oz we don't do thanksgiving - But I am very very grateful to this list and the 'nerds' on it - And to the friendships that have come from it Many many thanks DD 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 BusinessSensitve 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 wdhindman at dejpolsystems.com Mon Nov 26 11:59:35 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 26 Nov 2007 12:59:35 -0500 Subject: [AccessD] OT: Thanksgiving References: <000301c82d41$7dc3d790$6400a8c0@dsunit1><00ed01c82d73$37d4efd0$6c7aa8c0@M90><29f585dd0711260835u2b7dfddal4a903d9744f67295@mail.gmail.com> <004001c83052$bd429cd0$647aa8c0@M90> Message-ID: <002201c83056$1c774b80$0c10a8c0@jisshowsbs.local> JC ...there is no secret ...nor any real effort required ...just kneel and all will be well. ...btw, Arthur makes a very nice supplicant :) William ...exiting stage left. ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 26, 2007 12:35 PM Subject: Re: [AccessD] OT: Thanksgiving > >Hell, I've even achieved a sort of working peace with Hindman, and you > >know > how effort that takes! LOL. > > OK, share your secret! > > ;-) > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Monday, November 26, 2007 11:36 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Thanksgiving > >>> I also very much enjoy the true > international nature of this group. I take comfort in the fact that in a > world with so many nasty disagreements there are places where > professionals > from every continent can collaborate successfully. Thanks to all. > > Wow! You said it all. I feel that I've made friends with people on every > continent except maybe Antarctica, and who knows, someone among us may > hail > from there and just hasn't bothered yet to hail. > Hell, I've even achieved a sort of working peace with Hindman, and you > know > how effort that takes! LOL. > > 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 DWUTKA at Marlow.com Mon Nov 26 09:51:49 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 26 Nov 2007 09:51:49 -0600 Subject: [AccessD] Comparing date and time In-Reply-To: <20071123080517.BXNN9910.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: Sorry to chime in here late, but if these are true date/time fields, then you need to add them, not 'join' them. In a date/time field, the data is stored as a double, the integer portion is the date, the decimal portion is the time. To join a date and time together, you just add them. Joining them like text requires that they are represented by text (which is more work, because you are converting from numbers to text, then back to numbers) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Friday, November 23, 2007 2:08 AM To: accessd at databaseadvisors.com Subject: [AccessD] Comparing date and time Group, Sorry to interrupt your feasting :-) I have a legacy database that stores times and dates in two separate date/time fields. Currently there is a query that compares two sets of dates like so: DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT ShipmentDetail.* " & _ "FROM ShipmentDetail INNER JOIN EntryLogSets ON ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ "WHERE (EntryLogSets.Date)>=[Forms]![BSVR]![BsvrStartDate])" This works. However, I need to change it so that it gets records that are after a certain date AND TIME. I am having problems with putting the two fields together into a single date/time. Here is my code: DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT ShipmentDetail.* " & _ "FROM ShipmentDetail INNER JOIN EntryLogSets ON ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ "WHERE CDate(EntryLogSets.Date & ' ' & EntryLogSets.Time)>= #" & CDate([Forms]![BSVR]![BsvrStartDate] & " " & [Forms]![BSVR]![BSVRStartTime]) & "#" An example of CDate([Forms]![BSVR]![BsvrStartDate] & " " & [Forms]![BSVR]![BSVRStartTime]) is 28/09/2007 9:40:00 a.m. The error I get is Error 3075 - Syntax error in date in query expression. The query runs ok if I just include the dates, but has a problem when I add the times. How can I combine the two fields into a single date/time for comparison? -- 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 BusinessSensitve 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 Mon Nov 26 12:04:27 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 26 Nov 2007 13:04:27 -0500 Subject: [AccessD] OT: Thanksgiving In-Reply-To: <002201c83056$1c774b80$0c10a8c0@jisshowsbs.local> References: <000301c82d41$7dc3d790$6400a8c0@dsunit1><00ed01c82d73$37d4efd0$6c7aa8c0@M90><29f585dd0711260835u2b7dfddal4a903d9744f67295@mail.gmail.com><004001c83052$bd429cd0$647aa8c0@M90> <002201c83056$1c774b80$0c10a8c0@jisshowsbs.local> Message-ID: <004101c83056$c98ad9e0$647aa8c0@M90> LOL. You have come a long ways from the early days, as have we all. Kneeling is not likely however. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, November 26, 2007 1:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Thanksgiving JC ...there is no secret ...nor any real effort required ...just kneel and all will be well. ...btw, Arthur makes a very nice supplicant :) William ...exiting stage left. ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 26, 2007 12:35 PM Subject: Re: [AccessD] OT: Thanksgiving > >Hell, I've even achieved a sort of working peace with Hindman, and you > >know > how effort that takes! LOL. > > OK, share your secret! > > ;-) > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- From jwcolby at colbyconsulting.com Mon Nov 26 12:24:09 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 26 Nov 2007 13:24:09 -0500 Subject: [AccessD] MIMO-G router Message-ID: <004201c83059$89c327b0$647aa8c0@M90> Santa dropped off one of those new routers (Netgear WPN824v2) which have a bunch of antennas and dynamically selects the one picking up the strongest signal and uses that for talking to the wireless computers (mostly laptops). I have to say that it kinda sorta works. I bought it specifically because Mary's laptop, down a floor and a couple of rooms over, has poor reception. I use Network Stumbler to test signal strength. After the install, with the old router still out there, her laptop gets roughly the same, or slightly poorer reception via this new router in her office. However if I take her laptop on out to the dining room at the far end of the house, the signal strength is definitely higher, by about 6db on average and sometimes more, than the old router. I am looking to buy my wife a Tivo Series 2 and will need the usb wireless to do the phone home stuff. It will be in the living room at the far end of the house, so it is encouraging that I get that much better reception down there. I already have an old Series 1 Tivo down in the bedroom directly below my office, and am buying a bridge to put on it to get the wireless down to it. Currently I am running a cable down the stairs and manually connecting it to the Series 1 once a week to phone home. Yuk! I am looking to keep the old router in place however and put the new one "in parallel", i.e. I will place a plain old vanilla 10/100 switch immediately behind the cable modem, then plug BOTH wireless routers in to that. Thus I can have a wireless system (the new one) that talks to the internet, but not to my internal (business) LAN. The original router will talk to the internet as well but will have its firewall between the internal LAN and the new router. All of the Tivos and my wife's laptop and my son's laptop will all talk to the internet through the new router and not be behind the business firewall (the old wireless router). The hoops we jump through. John W. Colby Colby Consulting www.ColbyConsulting.com From robert at webedb.com Mon Nov 26 12:45:34 2007 From: robert at webedb.com (Robert L. Stewart) Date: Mon, 26 Nov 2007 12:45:34 -0600 Subject: [AccessD] Anyone remember File Express? In-Reply-To: References: Message-ID: <200711261849.lAQInjc6011233@databaseadvisors.com> My guess is that there is an export capability within it. Export it to comma delimited files. At 11:36 AM 11/26/2007, you wrote: >Date: Sun, 25 Nov 2007 21:53:11 -0000 >From: "paulr" >Subject: Re: [AccessD] Anyone remember File Express? >To: "'Access Developers discussion and problem solving'" > >Message-ID: <001001c82fad$938abd50$6401a8c0 at PAULSLENOVO> >Content-Type: text/plain; charset="us-ascii" > >They seem to have become involved in family trees with the latest offering. >Is there a way to import DOS files from a program like File Express into >Access, do you think, Arthur? From rockysmolin at bchacc.com Mon Nov 26 12:58:24 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 26 Nov 2007 10:58:24 -0800 Subject: [AccessD] MIMO-G router In-Reply-To: <004201c83059$89c327b0$647aa8c0@M90> References: <004201c83059$89c327b0$647aa8c0@M90> Message-ID: <009301c8305e$526578e0$0301a8c0@HAL9005> John: I struggled with the wireless thing for a couple of years. Same problem - weak signal even after I upgraded to the Netgear Rangemax. I solved the problem with the Netgear wall-plugged bridge (XE102). They're rock solid, no installation, no configuration, no wireless security issue, plug and play. It's like a hard wired connection and uses you house wiring. So no more wireless. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 26, 2007 10:24 AM To: 'Access Developers discussion and problem solving'; 'Discussion of Hardware and Software issues' Subject: [AccessD] MIMO-G router Santa dropped off one of those new routers (Netgear WPN824v2) which have a bunch of antennas and dynamically selects the one picking up the strongest signal and uses that for talking to the wireless computers (mostly laptops). I have to say that it kinda sorta works. I bought it specifically because Mary's laptop, down a floor and a couple of rooms over, has poor reception. I use Network Stumbler to test signal strength. After the install, with the old router still out there, her laptop gets roughly the same, or slightly poorer reception via this new router in her office. However if I take her laptop on out to the dining room at the far end of the house, the signal strength is definitely higher, by about 6db on average and sometimes more, than the old router. I am looking to buy my wife a Tivo Series 2 and will need the usb wireless to do the phone home stuff. It will be in the living room at the far end of the house, so it is encouraging that I get that much better reception down there. I already have an old Series 1 Tivo down in the bedroom directly below my office, and am buying a bridge to put on it to get the wireless down to it. Currently I am running a cable down the stairs and manually connecting it to the Series 1 once a week to phone home. Yuk! I am looking to keep the old router in place however and put the new one "in parallel", i.e. I will place a plain old vanilla 10/100 switch immediately behind the cable modem, then plug BOTH wireless routers in to that. Thus I can have a wireless system (the new one) that talks to the internet, but not to my internal (business) LAN. The original router will talk to the internet as well but will have its firewall between the internal LAN and the new router. All of the Tivos and my wife's laptop and my son's laptop will all talk to the internet through the new router and not be behind the business firewall (the old wireless router). The hoops we jump through. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.7/1151 - Release Date: 11/25/2007 4:24 PM From cfoust at infostatsystems.com Mon Nov 26 12:58:41 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 26 Nov 2007 10:58:41 -0800 Subject: [AccessD] ADO In-Reply-To: <003601c83055$a62dc530$4b3a8343@SusanOne> References: <003601c83055$a62dc530$4b3a8343@SusanOne> Message-ID: Just for fun, here's an old routine I built to create a query using ADO: 'Sample call: 'CreateQuery "c:\Program Files\Microsoft Office\Office\Samples\Northwind.mdb", _ ' "SELECT Products.* FROM Products WHERE Products.CategoryID=1;", _ ' "AllBeverages" Sub CreateQuery(strDBPath As String, _ strSQL As String, _ strQryName As String) 'Created by Charlotte Foust 'Appends a new view to the specified database 'from the SQL string passed Dim catDB As ADOX.Catalog Dim cmd As ADODB.Command 'instantiate the objects Set catDB = New ADOX.Catalog 'Define a Command object to contain the query's 'SQL. Set cmd = New ADODB.Command 'Open the catalog. catDB.ActiveConnection = CurrentProject.Connection Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 26, 2007 9:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO > But you can use a fixed query in ADO. =====Can you reference the field properties? That's what I'm doing. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at Marlow.com Mon Nov 26 12:46:19 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 26 Nov 2007 12:46:19 -0600 Subject: [AccessD] ADO In-Reply-To: <003601c83055$a62dc530$4b3a8343@SusanOne> Message-ID: I don't see why not..... I'll take a look in a second. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 26, 2007 11:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO > But you can use a fixed query in ADO. =====Can you reference the field properties? That's what I'm doing. Susan H. -- 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 BusinessSensitve 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 cfoust at infostatsystems.com Mon Nov 26 13:01:29 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 26 Nov 2007 11:01:29 -0800 Subject: [AccessD] ADO In-Reply-To: <003601c83055$a62dc530$4b3a8343@SusanOne> References: <003601c83055$a62dc530$4b3a8343@SusanOne> Message-ID: The simple answer is NO. The query/view doesn't expose field properties, those are in the table. Why would you try to use a query for this? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 26, 2007 9:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO > But you can use a fixed query in ADO. =====Can you reference the field properties? That's what I'm doing. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Nov 26 13:02:40 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 26 Nov 2007 11:02:40 -0800 Subject: [AccessD] OT: Thanksgiving In-Reply-To: <004101c83056$c98ad9e0$647aa8c0@M90> References: <000301c82d41$7dc3d790$6400a8c0@dsunit1><00ed01c82d73$37d4efd0$6c7aa8c0@M90><29f585dd0711260835u2b7dfddal4a903d9744f67295@mail.gmail.com><004001c83052$bd429cd0$647aa8c0@M90><002201c83056$1c774b80$0c10a8c0@jisshowsbs.local> <004101c83056$c98ad9e0$647aa8c0@M90> Message-ID: At my age, kneeling is becoming nearly IMPOSSIBLE! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 26, 2007 10:04 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Thanksgiving LOL. You have come a long ways from the early days, as have we all. Kneeling is not likely however. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, November 26, 2007 1:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Thanksgiving JC ...there is no secret ...nor any real effort required ...just kneel and all will be well. ...btw, Arthur makes a very nice supplicant :) William ...exiting stage left. ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 26, 2007 12:35 PM Subject: Re: [AccessD] OT: Thanksgiving > >Hell, I've even achieved a sort of working peace with Hindman, and > >you know > how effort that takes! LOL. > > OK, share your secret! > > ;-) > From DWUTKA at Marlow.com Mon Nov 26 12:51:46 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 26 Nov 2007 12:51:46 -0600 Subject: [AccessD] ADO In-Reply-To: <003601c83055$a62dc530$4b3a8343@SusanOne> Message-ID: Using plain old ADO, with a recordset object lets you see a lot of field properties, but I didn't see Description there.... Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 26, 2007 11:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO > But you can use a fixed query in ADO. =====Can you reference the field properties? That's what I'm doing. Susan H. -- 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 BusinessSensitve 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 ssharkins at gmail.com Mon Nov 26 13:15:20 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 26 Nov 2007 14:15:20 -0500 Subject: [AccessD] ADO References: <003601c83055$a62dc530$4b3a8343@SusanOne> Message-ID: <003101c83060$b2000ac0$4b3a8343@SusanOne> Charlotte, I'm just trying to use that technique we wrote about years ago -- using the query field Description property. I'm using it differently, but like I said -- works fine until I run into a query field that doesn't have a Description property setting. However, I'm going to try it on another system. This one really does behave badly anymore. I can't trust that what's happening isn't just something that's broke, especially since A.D. said Resume Next worked fine for him. Susan H. > The simple answer is NO. The query/view doesn't expose field > properties, those are in the table. Why would you try to use a query > for this? > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: Monday, November 26, 2007 9:55 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] ADO > > >> But you can use a fixed query in ADO. > > =====Can you reference the field properties? That's what I'm doing. > > Susan H. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon Nov 26 14:06:03 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 26 Nov 2007 12:06:03 -0800 Subject: [AccessD] ADO In-Reply-To: <002b01c8304e$66742850$4b3a8343@SusanOne> References: <000301c82fbe$f5d444c0$4b3a8343@SusanOne> <002b01c8304e$66742850$4b3a8343@SusanOne> Message-ID: Are you talking about the query definition object? Like: Dim qdf1 As QueryDef The object allows you to check whether a query exists, delete, add or modify a query as well as view all the properties. Am I missing something? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 26, 2007 9:04 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO > There is a query object in ADOX, but why do you ask? Charlotte, I checked the ADOX OM before asking -- I knew there was a Table object and I found a View object, but not query object. Did I miss it or does the View object include an Access query object? I thought that was perhaps the case, but didn't see it mentioned in any of the documentation I read. 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 Mon Nov 26 14:21:09 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 26 Nov 2007 15:21:09 -0500 Subject: [AccessD] ADO References: <000301c82fbe$f5d444c0$4b3a8343@SusanOne><002b01c8304e$66742850$4b3a8343@SusanOne> Message-ID: <000401c83069$e3089930$4b3a8343@SusanOne> > Are you talking about the query definition object? > > Like: > Dim qdf1 As QueryDef > > The object allows you to check whether a query exists, delete, add or > modify > a query as well as view all the properties. Am I missing something? =====That's it, and yes, it works -- just wondering if there was an ADO equivalent. Susan H. From john at winhaven.net Mon Nov 26 14:35:24 2007 From: john at winhaven.net (John Bartow) Date: Mon, 26 Nov 2007 14:35:24 -0600 Subject: [AccessD] Anyone remember File Express? In-Reply-To: <000001c82f9f$c1d1d940$6401a8c0@PAULSLENOVO> Message-ID: <200711262036.lAQKaWRq007106@databaseadvisors.com> Hi Paul, Hopefully you have access to the program and can use the built in export feature (Fixed Length, Lotus and dBase formats). If not you can still purchase File Express 6 and upgrade the data to it and then export it. https://www.legacyfamilytree.net/Expressware/Order.htm HTH John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paulr Sent: Sunday, November 25, 2007 2:14 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Anyone remember File Express? Does anyone have any experience with File Express, please? It was an old database system, DOS-based. The main question is: Would it be possible to import it into Access? Cheers all paul From cfoust at infostatsystems.com Mon Nov 26 14:41:31 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 26 Nov 2007 12:41:31 -0800 Subject: [AccessD] ADO In-Reply-To: <003101c83060$b2000ac0$4b3a8343@SusanOne> References: <003601c83055$a62dc530$4b3a8343@SusanOne> <003101c83060$b2000ac0$4b3a8343@SusanOne> Message-ID: Hmmn. There is a description property, but it isn't available until you create it (go figure), if I remember correctly. I know I built that played with the description property years ago, but even in DAO I don't think it's there until you create it once and append it to the properties of the object. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 26, 2007 11:15 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO Charlotte, I'm just trying to use that technique we wrote about years ago -- using the query field Description property. I'm using it differently, but like I said -- works fine until I run into a query field that doesn't have a Description property setting. However, I'm going to try it on another system. This one really does behave badly anymore. I can't trust that what's happening isn't just something that's broke, especially since A.D. said Resume Next worked fine for him. Susan H. From markamatte at hotmail.com Mon Nov 26 14:44:14 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 26 Nov 2007 20:44:14 +0000 Subject: [AccessD] MIMO-G router In-Reply-To: <009301c8305e$526578e0$0301a8c0@HAL9005> References: <004201c83059$89c327b0$647aa8c0@M90> <009301c8305e$526578e0$0301a8c0@HAL9005> Message-ID: I have a small single level house(about 1600sq.ft)...I have a cheap linxus wireless router...and have no issue anywhere in the house. I also use it outside on the deck(back of house) in the garage(front of house)and I have gone as far as sitting at my neighbors house( a little slower there). Mostly for internet, but also for file sharing and printing. I have been to both of your houses...and I believe both are multi level...which makes me wonder how directional wireless routers are? Mark A. Matte > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Mon, 26 Nov 2007 10:58:24 -0800 > Subject: Re: [AccessD] MIMO-G router > > John: > > I struggled with the wireless thing for a couple of years. Same problem - > weak signal even after I upgraded to the Netgear Rangemax. > > I solved the problem with the Netgear wall-plugged bridge (XE102). They're > rock solid, no installation, no configuration, no wireless security issue, > plug and play. It's like a hard wired connection and uses you house wiring. > > > So no more wireless. > > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, November 26, 2007 10:24 AM > To: 'Access Developers discussion and problem solving'; 'Discussion of > Hardware and Software issues' > Subject: [AccessD] MIMO-G router > > Santa dropped off one of those new routers (Netgear WPN824v2) which have a > bunch of antennas and dynamically selects the one picking up the strongest > signal and uses that for talking to the wireless computers (mostly laptops). > I have to say that it kinda sorta works. I bought it specifically because > Mary's laptop, down a floor and a couple of rooms over, has poor reception. > I use Network Stumbler to test signal strength. After the install, with the > old router still out there, her laptop gets roughly the same, or slightly > poorer reception via this new router in her office. However if I take her > laptop on out to the dining room at the far end of the house, the signal > strength is definitely higher, by about 6db on average and sometimes more, > than the old router. > > I am looking to buy my wife a Tivo Series 2 and will need the usb wireless > to do the phone home stuff. It will be in the living room at the far end of > the house, so it is encouraging that I get that much better reception down > there. I already have an old Series 1 Tivo down in the bedroom directly > below my office, and am buying a bridge to put on it to get the wireless > down to it. Currently I am running a cable down the stairs and manually > connecting it to the Series 1 once a week to phone home. Yuk! > > I am looking to keep the old router in place however and put the new one "in > parallel", i.e. I will place a plain old vanilla 10/100 switch immediately > behind the cable modem, then plug BOTH wireless routers in to that. Thus I > can have a wireless system (the new one) that talks to the internet, but not > to my internal (business) LAN. The original router will talk to the > internet as well but will have its firewall between the internal LAN and the > new router. All of the Tivos and my wife's laptop and my son's laptop will > all talk to the internet through the new router and not be behind the > business firewall (the old wireless router). > > The hoops we jump through. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.16.7/1151 - Release Date: 11/25/2007 > 4:24 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ You keep typing, we keep giving. Download Messenger and join the i?m Initiative now. http://im.live.com/messenger/im/home/?source=TAGLM From ssharkins at gmail.com Mon Nov 26 14:45:37 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 26 Nov 2007 15:45:37 -0500 Subject: [AccessD] ADO References: <003601c83055$a62dc530$4b3a8343@SusanOne><003101c83060$b2000ac0$4b3a8343@SusanOne> Message-ID: <001001c8306d$4ee79ef0$4b3a8343@SusanOne> > Hmmn. There is a description property, but it isn't available until you > create it (go figure), if I remember correctly. I know I built that > played with the description property years ago, but even in DAO I don't > think it's there until you create it once and append it to the > properties of the object. =======That may be the case if you don't actually use the property via the properties window -- and that would explain the problem, although I think it's strange. Susan H. From jwcolby at colbyconsulting.com Mon Nov 26 14:46:13 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 26 Nov 2007 15:46:13 -0500 Subject: [AccessD] MIMO-G router In-Reply-To: <009301c8305e$526578e0$0301a8c0@HAL9005> References: <004201c83059$89c327b0$647aa8c0@M90> <009301c8305e$526578e0$0301a8c0@HAL9005> Message-ID: <005d01c8306d$62ce87d0$647aa8c0@M90> Rocky, I am definitely looking at this, however I have had a bad experience with power line transmission. I have an "intercom" system which is supposed to send the voice over the AC wiring. It works, except that it will not send from this circuit to that circuit etc. I had the same issue with that same system back in CT. It seems the issue is the circuits in the breaker panel. This is a physically big house, with a new addition and the original house, plus I installed a generator and pulled some circuits into a dedicated breaker box for the generator etc. That Rangemax system costs just enough that I don't want to try it. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 26, 2007 1:58 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MIMO-G router John: I struggled with the wireless thing for a couple of years. Same problem - weak signal even after I upgraded to the Netgear Rangemax. I solved the problem with the Netgear wall-plugged bridge (XE102). They're rock solid, no installation, no configuration, no wireless security issue, plug and play. It's like a hard wired connection and uses you house wiring. So no more wireless. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 26, 2007 10:24 AM To: 'Access Developers discussion and problem solving'; 'Discussion of Hardware and Software issues' Subject: [AccessD] MIMO-G router Santa dropped off one of those new routers (Netgear WPN824v2) which have a bunch of antennas and dynamically selects the one picking up the strongest signal and uses that for talking to the wireless computers (mostly laptops). I have to say that it kinda sorta works. I bought it specifically because Mary's laptop, down a floor and a couple of rooms over, has poor reception. I use Network Stumbler to test signal strength. After the install, with the old router still out there, her laptop gets roughly the same, or slightly poorer reception via this new router in her office. However if I take her laptop on out to the dining room at the far end of the house, the signal strength is definitely higher, by about 6db on average and sometimes more, than the old router. I am looking to buy my wife a Tivo Series 2 and will need the usb wireless to do the phone home stuff. It will be in the living room at the far end of the house, so it is encouraging that I get that much better reception down there. I already have an old Series 1 Tivo down in the bedroom directly below my office, and am buying a bridge to put on it to get the wireless down to it. Currently I am running a cable down the stairs and manually connecting it to the Series 1 once a week to phone home. Yuk! I am looking to keep the old router in place however and put the new one "in parallel", i.e. I will place a plain old vanilla 10/100 switch immediately behind the cable modem, then plug BOTH wireless routers in to that. Thus I can have a wireless system (the new one) that talks to the internet, but not to my internal (business) LAN. The original router will talk to the internet as well but will have its firewall between the internal LAN and the new router. All of the Tivos and my wife's laptop and my son's laptop will all talk to the internet through the new router and not be behind the business firewall (the old wireless router). The hoops we jump through. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.7/1151 - Release Date: 11/25/2007 4:24 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Mon Nov 26 14:56:02 2007 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 27 Nov 2007 09:56:02 +1300 Subject: [AccessD] Comparing date and time In-Reply-To: References: <20071123080517.BXNN9910.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <20071126205318.HVLF17371.fep04.xtra.co.nz@Dalyn.dalyn.co.nz> Thanks for the explanation Drew - it is always nice to know why I am doing something :-) At 27/11/2007, you wrote: >Sorry to chime in here late, but if these are true date/time fields, >then you need to add them, not 'join' them. In a date/time field, the >data is stored as a double, the integer portion is the date, the decimal >portion is the time. To join a date and time together, you just add >them. Joining them like text requires that they are represented by text >(which is more work, because you are converting from numbers to text, >then back to numbers) > >Drew > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson >Sent: Friday, November 23, 2007 2:08 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Comparing date and time > >Group, > >Sorry to interrupt your feasting :-) > >I have a legacy database that stores times and dates in two separate >date/time fields. Currently there is a query that compares two sets >of dates like so: > >DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT >ShipmentDetail.* " & _ >"FROM ShipmentDetail INNER JOIN EntryLogSets ON >ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ >"WHERE (EntryLogSets.Date)>=[Forms]![BSVR]![BsvrStartDate])" > >This works. However, I need to change it so that it gets records >that are after a certain date AND TIME. I am having problems with >putting the two fields together into a single date/time. Here is my >code: > >DoCmd.RunSQL "INSERT INTO ShipmentDetailForBSVRperiod SELECT >ShipmentDetail.* " & _ >"FROM ShipmentDetail INNER JOIN EntryLogSets ON >ShipmentDetail.CargoID = EntryLogSets.CargoID " & _ >"WHERE CDate(EntryLogSets.Date & ' ' & EntryLogSets.Time)>= #" & >CDate([Forms]![BSVR]![BsvrStartDate] & " " & >[Forms]![BSVR]![BSVRStartTime]) & "#" > >An example of CDate([Forms]![BSVR]![BsvrStartDate] & " " & >[Forms]![BSVR]![BSVRStartTime]) is 28/09/2007 9:40:00 a.m. > >The error I get is Error 3075 - Syntax error in date in query >expression. The query runs ok if I just include the dates, but has a >problem when I add the times. > >How can I combine the two fields into a single date/time for comparison? > > >-- >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 BusinessSensitve 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 Mon Nov 26 14:54:29 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 26 Nov 2007 15:54:29 -0500 Subject: [AccessD] MIMO-G router In-Reply-To: References: <004201c83059$89c327b0$647aa8c0@M90><009301c8305e$526578e0$0301a8c0@HAL9005> Message-ID: <005e01c8306e$8a7469c0$647aa8c0@M90> I do believe that is part of the problem. Another part is simply the mass of metal from all the computers in my office. I really need to get the routers physically away from all my computer cases. I can have the antenna router under the table and the signal strength will be abysmal. Pick the antenna up and place it on the table and it improves a LOT. What I really need is a router with a couple of antennas, and a couple of Cantennas to aim directly at where I want to use the laptop. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Monday, November 26, 2007 3:44 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MIMO-G router I have a small single level house(about 1600sq.ft)...I have a cheap linxus wireless router...and have no issue anywhere in the house. I also use it outside on the deck(back of house) in the garage(front of house)and I have gone as far as sitting at my neighbors house( a little slower there). Mostly for internet, but also for file sharing and printing. I have been to both of your houses...and I believe both are multi level...which makes me wonder how directional wireless routers are? Mark A. Matte > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Mon, 26 Nov 2007 10:58:24 -0800 > Subject: Re: [AccessD] MIMO-G router > > John: > > I struggled with the wireless thing for a couple of years. Same > problem - weak signal even after I upgraded to the Netgear Rangemax. > > I solved the problem with the Netgear wall-plugged bridge (XE102). > They're rock solid, no installation, no configuration, no wireless > security issue, plug and play. It's like a hard wired connection and uses you house wiring. > > > So no more wireless. > > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, November 26, 2007 10:24 AM > To: 'Access Developers discussion and problem solving'; 'Discussion of > Hardware and Software issues' > Subject: [AccessD] MIMO-G router > > Santa dropped off one of those new routers (Netgear WPN824v2) which > have a bunch of antennas and dynamically selects the one picking up > the strongest signal and uses that for talking to the wireless computers (mostly laptops). > I have to say that it kinda sorta works. I bought it specifically > because Mary's laptop, down a floor and a couple of rooms over, has poor reception. > I use Network Stumbler to test signal strength. After the install, > with the old router still out there, her laptop gets roughly the same, > or slightly poorer reception via this new router in her office. > However if I take her laptop on out to the dining room at the far end > of the house, the signal strength is definitely higher, by about 6db > on average and sometimes more, than the old router. > > I am looking to buy my wife a Tivo Series 2 and will need the usb > wireless to do the phone home stuff. It will be in the living room at > the far end of the house, so it is encouraging that I get that much > better reception down there. I already have an old Series 1 Tivo down > in the bedroom directly below my office, and am buying a bridge to put > on it to get the wireless down to it. Currently I am running a cable > down the stairs and manually connecting it to the Series 1 once a week to phone home. Yuk! > > I am looking to keep the old router in place however and put the new > one "in parallel", i.e. I will place a plain old vanilla 10/100 switch > immediately behind the cable modem, then plug BOTH wireless routers in > to that. Thus I can have a wireless system (the new one) that talks to > the internet, but not to my internal (business) LAN. The original > router will talk to the internet as well but will have its firewall > between the internal LAN and the new router. All of the Tivos and my > wife's laptop and my son's laptop will all talk to the internet > through the new router and not be behind the business firewall (the old wireless router). > > The hoops we jump through. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.16.7/1151 - Release Date: > 11/25/2007 > 4:24 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ You keep typing, we keep giving. Download Messenger and join the i'm Initiative now. http://im.live.com/messenger/im/home/?source=TAGLM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From reuben at gfconsultants.com Mon Nov 26 15:08:47 2007 From: reuben at gfconsultants.com (Reuben Cummings) Date: Mon, 26 Nov 2007 16:08:47 -0500 Subject: [AccessD] MIMO-G router In-Reply-To: <005d01c8306d$62ce87d0$647aa8c0@M90> Message-ID: I find your problems with the house wiring interesting. I could see a problem if the circuits are on different phases (assuming the system used the hot wires). Or if the electrician wired stuff backwards (landed the hot on the neutral terminal of the outlet). I don't know how it works, but I would assume it would use the neutral as it is the only constant in the system. I'd say you've got some voltage feeding back onto your neutral or you have something wired incorrectly. This technology obviously works as there are HUGE areas using BPL as their internet service. Only difference is getting around transformers. Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of jwcolby > Sent: Monday, November 26, 2007 3:46 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] MIMO-G router > > > Rocky, > > I am definitely looking at this, however I have had a bad experience with > power line transmission. I have an "intercom" system which is supposed to > send the voice over the AC wiring. It works, except that it will not send > from this circuit to that circuit etc. I had the same issue with > that same > system back in CT. It seems the issue is the circuits in the > breaker panel. > This is a physically big house, with a new addition and the > original house, > plus I installed a generator and pulled some circuits into a dedicated > breaker box for the generator etc. That Rangemax system costs just enough > that I don't want to try it. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Monday, November 26, 2007 1:58 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] MIMO-G router > > John: > > I struggled with the wireless thing for a couple of years. Same problem - > weak signal even after I upgraded to the Netgear Rangemax. > > I solved the problem with the Netgear wall-plugged bridge > (XE102). They're > rock solid, no installation, no configuration, no wireless security issue, > plug and play. It's like a hard wired connection and uses you > house wiring. > > > So no more wireless. > > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, November 26, 2007 10:24 AM > To: 'Access Developers discussion and problem solving'; 'Discussion of > Hardware and Software issues' > Subject: [AccessD] MIMO-G router > > Santa dropped off one of those new routers (Netgear WPN824v2) which have a > bunch of antennas and dynamically selects the one picking up the strongest > signal and uses that for talking to the wireless computers > (mostly laptops). > I have to say that it kinda sorta works. I bought it specifically because > Mary's laptop, down a floor and a couple of rooms over, has poor > reception. > I use Network Stumbler to test signal strength. After the > install, with the > old router still out there, her laptop gets roughly the same, or slightly > poorer reception via this new router in her office. However if I take her > laptop on out to the dining room at the far end of the house, the signal > strength is definitely higher, by about 6db on average and sometimes more, > than the old router. > > I am looking to buy my wife a Tivo Series 2 and will need the usb wireless > to do the phone home stuff. It will be in the living room at the > far end of > the house, so it is encouraging that I get that much better reception down > there. I already have an old Series 1 Tivo down in the bedroom directly > below my office, and am buying a bridge to put on it to get the wireless > down to it. Currently I am running a cable down the stairs and manually > connecting it to the Series 1 once a week to phone home. Yuk! > > I am looking to keep the old router in place however and put the > new one "in > parallel", i.e. I will place a plain old vanilla 10/100 switch immediately > behind the cable modem, then plug BOTH wireless routers in to > that. Thus I > can have a wireless system (the new one) that talks to the > internet, but not > to my internal (business) LAN. The original router will talk to the > internet as well but will have its firewall between the internal > LAN and the > new router. All of the Tivos and my wife's laptop and my son's > laptop will > all talk to the internet through the new router and not be behind the > business firewall (the old wireless router). > > The hoops we jump through. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.16.7/1151 - Release Date: > 11/25/2007 > 4:24 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Mon Nov 26 15:17:48 2007 From: john at winhaven.net (John Bartow) Date: Mon, 26 Nov 2007 15:17:48 -0600 Subject: [AccessD] Anyone remember File Express? In-Reply-To: <200711262036.lAQKaWRq007106@databaseadvisors.com> Message-ID: <200711262119.lAQLIvdk032192@databaseadvisors.com> Oh, BTW, Yes I remember it :o) There was a fellow I knew that used it exclusively back in the 90s. From DWUTKA at Marlow.com Mon Nov 26 17:10:54 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 26 Nov 2007 17:10:54 -0600 Subject: [AccessD] Comparing date and time In-Reply-To: <20071126205318.HVLF17371.fep04.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: No problem, glad you resolved it already. Just an FYI, one handy trick with a query is that you can 'replace' a table with it. For example: If you have a table called tblSomething with a Date field and a Time field, you can rename your table to tblSomethingActual then build a query named tblSomething with this: SELECT *, DateField + TimeField AS CompleteDateTime FROM tblSomethingActual By renaming the original table to something else, and naming the query to the original table name, everything that used to use that table will now use the query, and now that unified field is available for that 'table'. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Monday, November 26, 2007 2:56 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Comparing date and time Thanks for the explanation Drew - it is always nice to know why I am doing something :-) At 27/11/2007, you wrote: >Sorry to chime in here late, but if these are true date/time fields, >then you need to add them, not 'join' them. In a date/time field, the >data is stored as a double, the integer portion is the date, the decimal >portion is the time. To join a date and time together, you just add >them. Joining them like text requires that they are represented by text >(which is more work, because you are converting from numbers to text, >then back to numbers) > >Drew > 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 BusinessSensitve 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 rockysmolin at bchacc.com Mon Nov 26 17:14:44 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 26 Nov 2007 15:14:44 -0800 Subject: [AccessD] MIMO-G router In-Reply-To: <005e01c8306e$8a7469c0$647aa8c0@M90> References: <004201c83059$89c327b0$647aa8c0@M90><009301c8305e$526578e0$0301a8c0@HAL9005> <005e01c8306e$8a7469c0$647aa8c0@M90> Message-ID: <000601c83082$22027fd0$0301a8c0@HAL9005> I think that was part of my problem as well. There's a microwave and a refrigerator between the router and the wireless access point in my wife's office. I even put a repeater in between at one point - no soap. The plug-ins are totally stable. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 26, 2007 12:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MIMO-G router I do believe that is part of the problem. Another part is simply the mass of metal from all the computers in my office. I really need to get the routers physically away from all my computer cases. I can have the antenna router under the table and the signal strength will be abysmal. Pick the antenna up and place it on the table and it improves a LOT. What I really need is a router with a couple of antennas, and a couple of Cantennas to aim directly at where I want to use the laptop. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Monday, November 26, 2007 3:44 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MIMO-G router I have a small single level house(about 1600sq.ft)...I have a cheap linxus wireless router...and have no issue anywhere in the house. I also use it outside on the deck(back of house) in the garage(front of house)and I have gone as far as sitting at my neighbors house( a little slower there). Mostly for internet, but also for file sharing and printing. I have been to both of your houses...and I believe both are multi level...which makes me wonder how directional wireless routers are? Mark A. Matte > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Mon, 26 Nov 2007 10:58:24 -0800 > Subject: Re: [AccessD] MIMO-G router > > John: > > I struggled with the wireless thing for a couple of years. Same > problem - weak signal even after I upgraded to the Netgear Rangemax. > > I solved the problem with the Netgear wall-plugged bridge (XE102). > They're rock solid, no installation, no configuration, no wireless > security issue, plug and play. It's like a hard wired connection and uses you house wiring. > > > So no more wireless. > > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, November 26, 2007 10:24 AM > To: 'Access Developers discussion and problem solving'; 'Discussion of > Hardware and Software issues' > Subject: [AccessD] MIMO-G router > > Santa dropped off one of those new routers (Netgear WPN824v2) which > have a bunch of antennas and dynamically selects the one picking up > the strongest signal and uses that for talking to the wireless computers (mostly laptops). > I have to say that it kinda sorta works. I bought it specifically > because Mary's laptop, down a floor and a couple of rooms over, has poor reception. > I use Network Stumbler to test signal strength. After the install, > with the old router still out there, her laptop gets roughly the same, > or slightly poorer reception via this new router in her office. > However if I take her laptop on out to the dining room at the far end > of the house, the signal strength is definitely higher, by about 6db > on average and sometimes more, than the old router. > > I am looking to buy my wife a Tivo Series 2 and will need the usb > wireless to do the phone home stuff. It will be in the living room at > the far end of the house, so it is encouraging that I get that much > better reception down there. I already have an old Series 1 Tivo down > in the bedroom directly below my office, and am buying a bridge to put > on it to get the wireless down to it. Currently I am running a cable > down the stairs and manually connecting it to the Series 1 once a week to phone home. Yuk! > > I am looking to keep the old router in place however and put the new > one "in parallel", i.e. I will place a plain old vanilla 10/100 switch > immediately behind the cable modem, then plug BOTH wireless routers in > to that. Thus I can have a wireless system (the new one) that talks to > the internet, but not to my internal (business) LAN. The original > router will talk to the internet as well but will have its firewall > between the internal LAN and the new router. All of the Tivos and my > wife's laptop and my son's laptop will all talk to the internet > through the new router and not be behind the business firewall (the old wireless router). > > The hoops we jump through. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.16.7/1151 - Release Date: > 11/25/2007 > 4:24 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ You keep typing, we keep giving. Download Messenger and join the i'm Initiative now. http://im.live.com/messenger/im/home/?source=TAGLM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.7/1151 - Release Date: 11/25/2007 4:24 PM From darren at activebilling.com.au Mon Nov 26 17:28:21 2007 From: darren at activebilling.com.au (Darren D) Date: Tue, 27 Nov 2007 10:28:21 +1100 Subject: [AccessD] A2003:Command line to start SQL QA No longer works Message-ID: <200711262328.lAQNSI0E009091@databaseadvisors.com> Hi All Cross posted to DBASQL >From an Access 2003 APP - I use a command line - built from a string - to spark up Query Analyser It used to work - Now it no longer works - I get the error [Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]SQLServer does not exist or access is denied When I click OK - I get another error message. Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]ConnectionOpen (Connect()) The general syntax I use to spark up QA is. "C:\Program Files\Microsoft SQL Server\80\Tools\Binn\isqlw.exe" -S MyServer -d MydB -E This has worked in the past and just 'stopped' in the last few days - not sure why I did delete all my old - no longer used - DSN's form the DSN folder - That's all I can recall (I have since recreated a few - still no joy) Any clues? - Many thanks in advance Darren From newsgrps at dalyn.co.nz Mon Nov 26 17:37:15 2007 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 27 Nov 2007 12:37:15 +1300 Subject: [AccessD] Comparing date and time In-Reply-To: References: <20071126205318.HVLF17371.fep04.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <20071126233530.VDLZ18083.fep03.xtra.co.nz@Dalyn.dalyn.co.nz> Good tip - I'll add that to my bag of tricks. David At 27/11/2007, you wrote: >No problem, glad you resolved it already. > >Just an FYI, one handy trick with a query is that you can 'replace' a >table with it. For example: > >If you have a table called tblSomething with a Date field and a Time >field, you can rename your table to tblSomethingActual then build a >query named tblSomething with this: > >SELECT *, DateField + TimeField AS CompleteDateTime FROM >tblSomethingActual > >By renaming the original table to something else, and naming the query >to the original table name, everything that used to use that table will >now use the query, and now that unified field is available for that >'table'. > >Drew > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson >Sent: Monday, November 26, 2007 2:56 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Comparing date and time > >Thanks for the explanation Drew - it is always nice to know why I am >doing something :-) > >At 27/11/2007, you wrote: > >Sorry to chime in here late, but if these are true date/time fields, > >then you need to add them, not 'join' them. In a date/time field, the > >data is stored as a double, the integer portion is the date, the >decimal > >portion is the time. To join a date and time together, you just add > >them. Joining them like text requires that they are represented by >text > >(which is more work, because you are converting from numbers to text, > >then back to numbers) > > > >Drew > > >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 BusinessSensitve 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 cfoust at infostatsystems.com Mon Nov 26 17:45:29 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 26 Nov 2007 15:45:29 -0800 Subject: [AccessD] A2003:Command line to start SQL QA No longer works In-Reply-To: <200711262328.lAQNSI0E009091@databaseadvisors.com> References: <200711262328.lAQNSI0E009091@databaseadvisors.com> Message-ID: And which version of SQL Server are you using? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren D Sent: Monday, November 26, 2007 3:28 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2003:Command line to start SQL QA No longer works Hi All Cross posted to DBASQL >From an Access 2003 APP - I use a command line - built from a string - >to spark up Query Analyser It used to work - Now it no longer works - I get the error [Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]SQLServer does not exist or access is denied When I click OK - I get another error message. Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]ConnectionOpen (Connect()) The general syntax I use to spark up QA is. "C:\Program Files\Microsoft SQL Server\80\Tools\Binn\isqlw.exe" -S MyServer -d MydB -E This has worked in the past and just 'stopped' in the last few days - not sure why I did delete all my old - no longer used - DSN's form the DSN folder - That's all I can recall (I have since recreated a few - still no joy) Any clues? - Many thanks in advance Darren -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darren at activebilling.com.au Mon Nov 26 19:43:21 2007 From: darren at activebilling.com.au (Darren D) Date: Tue, 27 Nov 2007 12:43:21 +1100 Subject: [AccessD] A2003:Command line to start SQL QA No longer works In-Reply-To: Message-ID: <200711270143.lAR1hJXq019963@databaseadvisors.com> Hi Charlotte SQL Server 2000 The odd thing is - when I sent the text... "C:\Program Files\Microsoft SQL Server\80\Tools\Binn\isqlw.exe" -S MyServer -d MydB -E To my colleague (With real dB details) - it worked on her machine So I think something has changed on my machine or I have dowloaded some MS security patch that stops command line access to SQL Server - I dunno Darren ----------------- T: 1300 301 731 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, 27 November 2007 10:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2003:Command line to start SQL QA No longer works And which version of SQL Server are you using? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren D Sent: Monday, November 26, 2007 3:28 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2003:Command line to start SQL QA No longer works Hi All Cross posted to DBASQL >From an Access 2003 APP - I use a command line - built from a string - >to spark up Query Analyser It used to work - Now it no longer works - I get the error [Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]SQLServer does not exist or access is denied When I click OK - I get another error message. Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]ConnectionOpen (Connect()) The general syntax I use to spark up QA is. "C:\Program Files\Microsoft SQL Server\80\Tools\Binn\isqlw.exe" -S MyServer -d MydB -E This has worked in the past and just 'stopped' in the last few days - not sure why I did delete all my old - no longer used - DSN's form the DSN folder - That's all I can recall (I have since recreated a few - still no joy) Any clues? - Many thanks in advance Darren -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fahooper at trapo.com Mon Nov 26 20:02:35 2007 From: fahooper at trapo.com (Fred Hooper) Date: Mon, 26 Nov 2007 21:02:35 -0500 Subject: [AccessD] ADO In-Reply-To: Message-ID: <004301c83099$9491ece0$8151dd48@fredxp> Susan, I'm not sure what you mean by "field properties" and if what I have is what you want: I wrote a "data dictionary" that I use when I go to a new site. It takes the table, field, key & index information from a db and places it in an access table. Currently it works for SQL Server and Oracle by running a query on the metadata tables/views in the database and saving the results. If it sounds useful to you please let me know. Fred Hooper -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 26, 2007 2:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO The simple answer is NO. The query/view doesn't expose field properties, those are in the table. Why would you try to use a query for this? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 26, 2007 9:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO > But you can use a fixed query in ADO. =====Can you reference the field properties? That's what I'm doing. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at airtelbroadband.in Tue Nov 27 01:02:01 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Tue, 27 Nov 2007 12:32:01 +0530 Subject: [AccessD] ADO References: <003601c83055$a62dc530$4b3a8343@SusanOne> <003101c83060$b2000ac0$4b3a8343@SusanOne> Message-ID: <02d101c830c3$fee0cb00$2557a27a@personalec1122> Also make sure that the setting in general tab of options dialog box in VBA window has not inadvertently reverted to "Break on all errors" A.D.Tejpal ------------ ----- Original Message ----- From: Susan Harkins To: Access Developers discussion and problem solving Sent: Tuesday, November 27, 2007 00:45 Subject: Re: [AccessD] ADO Charlotte, I'm just trying to use that technique we wrote about years ago -- using the query field Description property. I'm using it differently, but like I said -- works fine until I run into a query field that doesn't have a Description property setting. However, I'm going to try it on another system. This one really does behave badly anymore. I can't trust that what's happening isn't just something that's broke, especially since A.D. said Resume Next worked fine for him. Susan H. > The simple answer is NO. The query/view doesn't expose field > properties, those are in the table. Why would you try to use a query > for this? > > Charlotte Foust From adtp at airtelbroadband.in Tue Nov 27 00:53:16 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Tue, 27 Nov 2007 12:23:16 +0530 Subject: [AccessD] A2K7 Navigation Pane References: <200711270143.lAR1hJXq019963@databaseadvisors.com> Message-ID: <02d001c830c3$fe7a6810$2557a27a@personalec1122> Rocky, No need to put it on every form. It is for you to decide as to which form is most convenient for carrying out this action. Typically, the switchboard form (which is usually the start up form) could be considered for such role. Best wishes, A.D.Tejpal ------------ ----- Original Message ----- From: Rocky Smolin at Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Monday, November 26, 2007 21:39 Subject: Re: [AccessD] A2K7 Navigation Pane A.D.: Does the code: DoCmd.SelectObject acForm, , True DoCmd.RunCommand acCmdWindowHide have to appear in each form, or just called once from the opening form? Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, November 20, 2007 9:26 PM To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Subject: Re: [AccessD] A2K7 Navigation Pane Rocky, A convenient arrangement would be to have two command buttons named CmdHide and CmdShow on a form so as to hide or show the NavPane window in Access 2007. If the user is in a position to ensure that forms group in NavPane is never put in collapsed state, the code applicable in Access 2K & 2K3, as given below, would work in A2K7 as well. Code in form's module - A2K7 (Forms group in NavPane must not be in collapsed state) ======================================== Private Sub CmdHide_Click() ' Make NavPane the active window and hide it DoCmd.SelectObject acForm, , True DoCmd.RunCommand acCmdWindowHide End Sub '------------------------------------------------------- Private Sub CmdShow_Click() DoCmd.SelectObject acForm, , True End Sub ======================================== The simple solution given above will not work if the forms group in NavPane window is in collapsed state. This is because hiding the NavPane can get implemented only if the focus stays on NavPane window during execution of acCmdWindowHide command. However when an attempt is made in Access 2007 to activate the NavPane via DoCmd.SelectObject method while the pertinent object group is in collapsed state, the focus reverts back to the active form. This results in acCmdWindowHide command taking effect on the form itself instead of the intended target (NavPane). Thus you land up with hiding the form itself, instead of the NavPane. Remedy lies in hiding all active forms and reports prior to hiding the NavPane, and thereafter, un-hiding the forms & reports. Of course no other object like table or query should be in open state. It is observed that it is not necessary to select any specific object in NavPane. This argument in DoCmd.SelectObject statement can be left blank Mere selection of a type group (acForm, acTable etc) is adequate. If the group mentioned in DoCmd.SelectObject method does not yet have any object, it will not force that group's title bar to show up in the NavPane if not already visible (otherwise it will). This however does not detract from effectiveness of proposed approach and even such an empty group serves satisfactorily as an argument to DoCmd.SelectObject method. Sample code in form's module, as given below, will ensure effective hiding / un-hiding of NavPane window under all situations, even if all object groups in NavPane are in collapsed state. Although this code is meant for Access 2007, it can be used in Access 2003 as well (statements meant for hiding / un-hiding of active forms / reports are however not needed in Access 2003). It permits unrestricted number of forms / reports to stay in open state. It is also ensured that while cycling through forms/reports for bulk hiding/ unhiding, any forms kept deliberately hidden to start with, continue in this state while other temporarily hidden objects are made visible again. Best wishes, A.D.Tejpal ------------ From ssharkins at gmail.com Tue Nov 27 07:00:30 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 27 Nov 2007 08:00:30 -0500 Subject: [AccessD] ADO References: <003601c83055$a62dc530$4b3a8343@SusanOne> <003101c83060$b2000ac0$4b3a8343@SusanOne> <02d101c830c3$fee0cb00$2557a27a@personalec1122> Message-ID: <003301c830f6$0dc65950$4b3a8343@SusanOne> I'll check that -- on my system, anything's possible at this point, although I didn't do it myself. :) That's a good tip in itself. :) Susan H. > Also make sure that the setting in general tab of options dialog box in > VBA window has not inadvertently reverted to "Break on all errors" > > A.D.Tejpal > ------------ > > ----- Original Message ----- > From: Susan Harkins > To: Access Developers discussion and problem solving > Sent: Tuesday, November 27, 2007 00:45 > Subject: Re: [AccessD] ADO > > > Charlotte, I'm just trying to use that technique we wrote about years > ago -- > using the query field Description property. I'm using it differently, but > like I said -- works fine until I run into a query field that doesn't > have a > Description property setting. > > However, I'm going to try it on another system. This one really does > behave > badly anymore. I can't trust that what's happening isn't just something > that's broke, especially since A.D. said Resume Next worked fine for him. > > Susan H. > > > > The simple answer is NO. The query/view doesn't expose field > > properties, those are in the table. Why would you try to use a query > > for this? > > > > Charlotte Foust > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From ssharkins at gmail.com Tue Nov 27 07:13:24 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 27 Nov 2007 08:13:24 -0500 Subject: [AccessD] Article on colorblindness Message-ID: <006801c830f7$4f1e4ba0$4b3a8343@SusanOne> http://colorvisiontesting.com/color4.htm This was written for the education industry, but seems like it would apply to a lot of development. Susan H. From jwcolby at colbyconsulting.com Tue Nov 27 07:18:20 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Nov 2007 08:18:20 -0500 Subject: [AccessD] Licensing - just an FYI Message-ID: <004901c830f7$fb435b50$647aa8c0@M90> http://www.networkworld.com/community/node/22242 John W. Colby Colby Consulting www.ColbyConsulting.com From jimdettman at verizon.net Tue Nov 27 07:32:26 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 27 Nov 2007 08:32:26 -0500 Subject: [AccessD] MIMO-G router In-Reply-To: <005d01c8306d$62ce87d0$647aa8c0@M90> References: <004201c83059$89c327b0$647aa8c0@M90> <009301c8305e$526578e0$0301a8c0@HAL9005> <005d01c8306d$62ce87d0$647aa8c0@M90> Message-ID: <007601c830f9$f39a6130$8abea8c0@XPS> John, Just do a single run of Cat5e (6 if you might go to gigabit) over to the other end of the house and put a WAP on the end of it and be done with it. You'll have plenty of coverage for the entire house that way. You can do this on the cheap to if you have another wireless router laying around. Just plug the cable into one of the ports (not the Internet Port), disable all the routing type functions (DHCP, etc), assign a static IP to the box, and it will act as a wireless access point. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 26, 2007 3:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MIMO-G router Rocky, I am definitely looking at this, however I have had a bad experience with power line transmission. I have an "intercom" system which is supposed to send the voice over the AC wiring. It works, except that it will not send from this circuit to that circuit etc. I had the same issue with that same system back in CT. It seems the issue is the circuits in the breaker panel. This is a physically big house, with a new addition and the original house, plus I installed a generator and pulled some circuits into a dedicated breaker box for the generator etc. That Rangemax system costs just enough that I don't want to try it. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, November 26, 2007 1:58 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MIMO-G router John: I struggled with the wireless thing for a couple of years. Same problem - weak signal even after I upgraded to the Netgear Rangemax. I solved the problem with the Netgear wall-plugged bridge (XE102). They're rock solid, no installation, no configuration, no wireless security issue, plug and play. It's like a hard wired connection and uses you house wiring. So no more wireless. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, November 26, 2007 10:24 AM To: 'Access Developers discussion and problem solving'; 'Discussion of Hardware and Software issues' Subject: [AccessD] MIMO-G router Santa dropped off one of those new routers (Netgear WPN824v2) which have a bunch of antennas and dynamically selects the one picking up the strongest signal and uses that for talking to the wireless computers (mostly laptops). I have to say that it kinda sorta works. I bought it specifically because Mary's laptop, down a floor and a couple of rooms over, has poor reception. I use Network Stumbler to test signal strength. After the install, with the old router still out there, her laptop gets roughly the same, or slightly poorer reception via this new router in her office. However if I take her laptop on out to the dining room at the far end of the house, the signal strength is definitely higher, by about 6db on average and sometimes more, than the old router. I am looking to buy my wife a Tivo Series 2 and will need the usb wireless to do the phone home stuff. It will be in the living room at the far end of the house, so it is encouraging that I get that much better reception down there. I already have an old Series 1 Tivo down in the bedroom directly below my office, and am buying a bridge to put on it to get the wireless down to it. Currently I am running a cable down the stairs and manually connecting it to the Series 1 once a week to phone home. Yuk! I am looking to keep the old router in place however and put the new one "in parallel", i.e. I will place a plain old vanilla 10/100 switch immediately behind the cable modem, then plug BOTH wireless routers in to that. Thus I can have a wireless system (the new one) that talks to the internet, but not to my internal (business) LAN. The original router will talk to the internet as well but will have its firewall between the internal LAN and the new router. All of the Tivos and my wife's laptop and my son's laptop will all talk to the internet through the new router and not be behind the business firewall (the old wireless router). The hoops we jump through. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.7/1151 - Release Date: 11/25/2007 4:24 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 27 07:38:17 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 27 Nov 2007 05:38:17 -0800 Subject: [AccessD] A2K7 Navigation Pane In-Reply-To: <02d001c830c3$fe7a6810$2557a27a@personalec1122> References: <200711270143.lAR1hJXq019963@databaseadvisors.com> <02d001c830c3$fe7a6810$2557a27a@personalec1122> Message-ID: <000c01c830fa$c4846f70$0301a8c0@HAL9005> A.D.: I put in just the two lines: DoCmd.SelectObject acForm, , True DoCmd.RunCommand acCmdWindowHide to turn it off and sent it over to the client. Worked perfectly. So we'll add it to the local options form so each user can decide whether they want the Nav pane on or off. Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Monday, November 26, 2007 10:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K7 Navigation Pane Rocky, No need to put it on every form. It is for you to decide as to which form is most convenient for carrying out this action. Typically, the switchboard form (which is usually the start up form) could be considered for such role. Best wishes, A.D.Tejpal ------------ ----- Original Message ----- From: Rocky Smolin at Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Monday, November 26, 2007 21:39 Subject: Re: [AccessD] A2K7 Navigation Pane A.D.: Does the code: DoCmd.SelectObject acForm, , True DoCmd.RunCommand acCmdWindowHide have to appear in each form, or just called once from the opening form? Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, November 20, 2007 9:26 PM To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Subject: Re: [AccessD] A2K7 Navigation Pane Rocky, A convenient arrangement would be to have two command buttons named CmdHide and CmdShow on a form so as to hide or show the NavPane window in Access 2007. If the user is in a position to ensure that forms group in NavPane is never put in collapsed state, the code applicable in Access 2K & 2K3, as given below, would work in A2K7 as well. Code in form's module - A2K7 (Forms group in NavPane must not be in collapsed state) ======================================== Private Sub CmdHide_Click() ' Make NavPane the active window and hide it DoCmd.SelectObject acForm, , True DoCmd.RunCommand acCmdWindowHide End Sub '------------------------------------------------------- Private Sub CmdShow_Click() DoCmd.SelectObject acForm, , True End Sub ======================================== The simple solution given above will not work if the forms group in NavPane window is in collapsed state. This is because hiding the NavPane can get implemented only if the focus stays on NavPane window during execution of acCmdWindowHide command. However when an attempt is made in Access 2007 to activate the NavPane via DoCmd.SelectObject method while the pertinent object group is in collapsed state, the focus reverts back to the active form. This results in acCmdWindowHide command taking effect on the form itself instead of the intended target (NavPane). Thus you land up with hiding the form itself, instead of the NavPane. Remedy lies in hiding all active forms and reports prior to hiding the NavPane, and thereafter, un-hiding the forms & reports. Of course no other object like table or query should be in open state. It is observed that it is not necessary to select any specific object in NavPane. This argument in DoCmd.SelectObject statement can be left blank Mere selection of a type group (acForm, acTable etc) is adequate. If the group mentioned in DoCmd.SelectObject method does not yet have any object, it will not force that group's title bar to show up in the NavPane if not already visible (otherwise it will). This however does not detract from effectiveness of proposed approach and even such an empty group serves satisfactorily as an argument to DoCmd.SelectObject method. Sample code in form's module, as given below, will ensure effective hiding / un-hiding of NavPane window under all situations, even if all object groups in NavPane are in collapsed state. Although this code is meant for Access 2007, it can be used in Access 2003 as well (statements meant for hiding / un-hiding of active forms / reports are however not needed in Access 2003). It permits unrestricted number of forms / reports to stay in open state. It is also ensured that while cycling through forms/reports for bulk hiding/ unhiding, any forms kept deliberately hidden to start with, continue in this state while other temporarily hidden objects are made visible again. Best wishes, A.D.Tejpal ------------ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.8/1153 - Release Date: 11/26/2007 9:08 PM From jwcolby at colbyconsulting.com Tue Nov 27 08:57:29 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Nov 2007 09:57:29 -0500 Subject: [AccessD] test Message-ID: <000001c83105$d8d4ee90$647aa8c0@M90> test John W. Colby Colby Consulting www.ColbyConsulting.com From jwcolby at colbyconsulting.com Tue Nov 27 08:58:39 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Nov 2007 09:58:39 -0500 Subject: [AccessD] MIMO-G router Message-ID: <000101c83105$ff27e020$647aa8c0@M90> I would love to do that but the "details" always get in the way. My office is up in "the attic", in a "bonus room" kind of thing above my bedroom. Thus on the other side of the office wall is the rest of the attic for the house. I can certainly run a cable through there. The problem is that the attic gets well over 130 degrees F during the day in the summer and so no electronics are going to like that environment. Thus I would have to snake the cable down a wall to get it into the house. And therein lies the problem, I don't know how to do that. Not to mention all the nasty fiberglass insulation and stuff. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, November 27, 2007 8:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MIMO-G router John, Just do a single run of Cat5e (6 if you might go to gigabit) over to the other end of the house and put a WAP on the end of it and be done with it. You'll have plenty of coverage for the entire house that way. You can do this on the cheap to if you have another wireless router laying around. Just plug the cable into one of the ports (not the Internet Port), disable all the routing type functions (DHCP, etc), assign a static IP to the box, and it will act as a wireless access point. Jim. John W. Colby Colby Consulting www.ColbyConsulting.com From garykjos at gmail.com Tue Nov 27 09:29:27 2007 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 27 Nov 2007 09:29:27 -0600 Subject: [AccessD] MIMO-G router In-Reply-To: <000101c83105$ff27e020$647aa8c0@M90> References: <000101c83105$ff27e020$647aa8c0@M90> Message-ID: Actually snaking cable through wood stud walls is pretty easy if you get the right tool. I bought a wire snake or fish tape maybe it's called at one o the home supply stores a few years back and it really works well. This looks like mine. http://www.mytoolstore.com/klein/kln21.html Espeically if you have good access to the wall cavity at either end of the run. You would need to cut a hole in the wall where the cable would end up and then you could fish that fish tape through to the other end. You might als need to drill a hole though the wood at the top of the wall for the wire to go through. But maybe not. Then you just go down along between the insulation and the sheetrock inside the wall. It would help a lot to have two people so one can watch for the end to appear in the hole or out the top of the wall depending on which way you are going. Then you just attach the cable you are running to the end of the fish tape and pull it through. I've used mine to run Speaker wires, Coax for TV cable, phone wire and ethernet at various times. It's still WORK of course and it takes some time but once you do it you will wonder why you didn't do it before. Now if there are block walls or brick walls or if you have to go several floors its s bit tougher but still not impossible. GK. On 11/27/07, jwcolby wrote: > I would love to do that but the "details" always get in the way. My office > is up in "the attic", in a "bonus room" kind of thing above my bedroom. > Thus on the other side of the office wall is the rest of the attic for the > house. I can certainly run a cable through there. The problem is that the > attic gets well over 130 degrees F during the day in the summer and so no > electronics are going to like that environment. Thus I would have to snake > the cable down a wall to get it into the house. And therein lies the > problem, I don't know how to do that. Not to mention all the nasty > fiberglass insulation and stuff. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com -- Gary Kjos garykjos at gmail.com From garykjos at gmail.com Tue Nov 27 09:29:46 2007 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 27 Nov 2007 09:29:46 -0600 Subject: [AccessD] test In-Reply-To: <000001c83105$d8d4ee90$647aa8c0@M90> References: <000001c83105$d8d4ee90$647aa8c0@M90> Message-ID: Hi John! On 11/27/07, jwcolby wrote: > test > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From garykjos at gmail.com Tue Nov 27 09:37:59 2007 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 27 Nov 2007 09:37:59 -0600 Subject: [AccessD] MIMO-G router In-Reply-To: References: <004201c83059$89c327b0$647aa8c0@M90> <009301c8305e$526578e0$0301a8c0@HAL9005> Message-ID: My Linksys router also works all over our house. It's in the basement and my wife's laptop is normally on the first floor and it works fine. She has also used it in the bedroom on the second floor with no problem. I have used my laptoip outside on the deck with no trouble and fast speed and out in the driveway in front of the garage which is quite a long distance and above the routers location. The room the computer is in is directly under the kitchen so the refrigerator would be in between the router and much of the rest of the house. I was not able to see my router from across the street at my neighbors house though. I can see 3 or 4 other neighbors routers from my house though if I go looking for a connection. GK On 11/26/07, Mark A Matte wrote: > > I have a small single level house(about 1600sq.ft)...I have a cheap linxus wireless router...and have no issue anywhere in the house. I also use it outside on the deck(back of house) in the garage(front of house)and I have gone as far as sitting at my neighbors house( a little slower there). Mostly for internet, but also for file sharing and printing. > > I have been to both of your houses...and I believe both are multi level...which makes me wonder how directional wireless routers are? > > Mark A. Matte > > > > From: rockysmolin at bchacc.com > > To: accessd at databaseadvisors.com > > Date: Mon, 26 Nov 2007 10:58:24 -0800 > > Subject: Re: [AccessD] MIMO-G router > > > > John: > > > > I struggled with the wireless thing for a couple of years. Same problem - > > weak signal even after I upgraded to the Netgear Rangemax. > > > > I solved the problem with the Netgear wall-plugged bridge (XE102). They're > > rock solid, no installation, no configuration, no wireless security issue, > > plug and play. It's like a hard wired connection and uses you house wiring. > > > > > > So no more wireless. > > > > > > Rocky > > > > > > > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > > Sent: Monday, November 26, 2007 10:24 AM > > To: 'Access Developers discussion and problem solving'; 'Discussion of > > Hardware and Software issues' > > Subject: [AccessD] MIMO-G router > > > > Santa dropped off one of those new routers (Netgear WPN824v2) which have a > > bunch of antennas and dynamically selects the one picking up the strongest > > signal and uses that for talking to the wireless computers (mostly laptops). > > I have to say that it kinda sorta works. I bought it specifically because > > Mary's laptop, down a floor and a couple of rooms over, has poor reception. > > I use Network Stumbler to test signal strength. After the install, with the > > old router still out there, her laptop gets roughly the same, or slightly > > poorer reception via this new router in her office. However if I take her > > laptop on out to the dining room at the far end of the house, the signal > > strength is definitely higher, by about 6db on average and sometimes more, > > than the old router. > > > > I am looking to buy my wife a Tivo Series 2 and will need the usb wireless > > to do the phone home stuff. It will be in the living room at the far end of > > the house, so it is encouraging that I get that much better reception down > > there. I already have an old Series 1 Tivo down in the bedroom directly > > below my office, and am buying a bridge to put on it to get the wireless > > down to it. Currently I am running a cable down the stairs and manually > > connecting it to the Series 1 once a week to phone home. Yuk! > > > > I am looking to keep the old router in place however and put the new one "in > > parallel", i.e. I will place a plain old vanilla 10/100 switch immediately > > behind the cable modem, then plug BOTH wireless routers in to that. Thus I > > can have a wireless system (the new one) that talks to the internet, but not > > to my internal (business) LAN. The original router will talk to the > > internet as well but will have its firewall between the internal LAN and the > > new router. All of the Tivos and my wife's laptop and my son's laptop will > > all talk to the internet through the new router and not be behind the > > business firewall (the old wireless router). > > > > The hoops we jump through. > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > No virus found in this incoming message. > > Checked by AVG Free Edition. > > Version: 7.5.503 / Virus Database: 269.16.7/1151 - Release Date: 11/25/2007 > > 4:24 PM > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _________________________________________________________________ > You keep typing, we keep giving. Download Messenger and join the i'm Initiative now. > http://im.live.com/messenger/im/home/?source=TAGLM > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From cfoust at infostatsystems.com Tue Nov 27 09:50:51 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 27 Nov 2007 07:50:51 -0800 Subject: [AccessD] MIMO-G router In-Reply-To: References: <004201c83059$89c327b0$647aa8c0@M90><009301c8305e$526578e0$0301a8c0@HAL9005> Message-ID: My LinkSys wireless gateway is upstairs in one corner of the condo and my laptop is usually downstairs in a well shielded spot out of direct line of anything. It works just fine everywhere I've tried. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Tuesday, November 27, 2007 7:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MIMO-G router My Linksys router also works all over our house. It's in the basement and my wife's laptop is normally on the first floor and it works fine. She has also used it in the bedroom on the second floor with no problem. I have used my laptoip outside on the deck with no trouble and fast speed and out in the driveway in front of the garage which is quite a long distance and above the routers location. The room the computer is in is directly under the kitchen so the refrigerator would be in between the router and much of the rest of the house. I was not able to see my router from across the street at my neighbors house though. I can see 3 or 4 other neighbors routers from my house though if I go looking for a connection. GK On 11/26/07, Mark A Matte wrote: > > I have a small single level house(about 1600sq.ft)...I have a cheap linxus wireless router...and have no issue anywhere in the house. I also use it outside on the deck(back of house) in the garage(front of house)and I have gone as far as sitting at my neighbors house( a little slower there). Mostly for internet, but also for file sharing and printing. > > I have been to both of your houses...and I believe both are multi level...which makes me wonder how directional wireless routers are? > > Mark A. Matte > > > > From: rockysmolin at bchacc.com > > To: accessd at databaseadvisors.com > > Date: Mon, 26 Nov 2007 10:58:24 -0800 > > Subject: Re: [AccessD] MIMO-G router > > > > John: > > > > I struggled with the wireless thing for a couple of years. Same > > problem - weak signal even after I upgraded to the Netgear Rangemax. > > > > I solved the problem with the Netgear wall-plugged bridge (XE102). > > They're rock solid, no installation, no configuration, no wireless > > security issue, plug and play. It's like a hard wired connection and uses you house wiring. > > > > > > So no more wireless. > > > > > > Rocky > > > > > > > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > > Sent: Monday, November 26, 2007 10:24 AM > > To: 'Access Developers discussion and problem solving'; 'Discussion > > of Hardware and Software issues' > > Subject: [AccessD] MIMO-G router > > > > Santa dropped off one of those new routers (Netgear WPN824v2) which > > have a bunch of antennas and dynamically selects the one picking up > > the strongest signal and uses that for talking to the wireless computers (mostly laptops). > > I have to say that it kinda sorta works. I bought it specifically > > because Mary's laptop, down a floor and a couple of rooms over, has poor reception. > > I use Network Stumbler to test signal strength. After the install, > > with the old router still out there, her laptop gets roughly the > > same, or slightly poorer reception via this new router in her > > office. However if I take her laptop on out to the dining room at > > the far end of the house, the signal strength is definitely higher, > > by about 6db on average and sometimes more, than the old router. > > > > I am looking to buy my wife a Tivo Series 2 and will need the usb > > wireless to do the phone home stuff. It will be in the living room > > at the far end of the house, so it is encouraging that I get that > > much better reception down there. I already have an old Series 1 > > Tivo down in the bedroom directly below my office, and am buying a > > bridge to put on it to get the wireless down to it. Currently I am > > running a cable down the stairs and manually connecting it to the Series 1 once a week to phone home. Yuk! > > > > I am looking to keep the old router in place however and put the new > > one "in parallel", i.e. I will place a plain old vanilla 10/100 > > switch immediately behind the cable modem, then plug BOTH wireless > > routers in to that. Thus I can have a wireless system (the new one) > > that talks to the internet, but not to my internal (business) LAN. > > The original router will talk to the internet as well but will have > > its firewall between the internal LAN and the new router. All of the > > Tivos and my wife's laptop and my son's laptop will all talk to the > > internet through the new router and not be behind the business firewall (the old wireless router). > > > > The hoops we jump through. > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > No virus found in this incoming message. > > Checked by AVG Free Edition. > > Version: 7.5.503 / Virus Database: 269.16.7/1151 - Release Date: > > 11/25/2007 > > 4:24 PM > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _________________________________________________________________ > You keep typing, we keep giving. Download Messenger and join the i'm Initiative now. > http://im.live.com/messenger/im/home/?source=TAGLM > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Tue Nov 27 09:52:07 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 27 Nov 2007 15:52:07 +0000 Subject: [AccessD] MIMO-G router In-Reply-To: <000101c83105$ff27e020$647aa8c0@M90> References: <000101c83105$ff27e020$647aa8c0@M90> Message-ID: Hmmm...Just happen to live near you...have some skills...and I already have the "fish tape". Let me know. Mark > From: jwcolby at colbyconsulting.com > To: accessd at databaseadvisors.com > Date: Tue, 27 Nov 2007 09:58:39 -0500 > Subject: [AccessD] MIMO-G router > > I would love to do that but the "details" always get in the way. My office > is up in "the attic", in a "bonus room" kind of thing above my bedroom. > Thus on the other side of the office wall is the rest of the attic for the > house. I can certainly run a cable through there. The problem is that the > attic gets well over 130 degrees F during the day in the summer and so no > electronics are going to like that environment. Thus I would have to snake > the cable down a wall to get it into the house. And therein lies the > problem, I don't know how to do that. Not to mention all the nasty > fiberglass insulation and stuff. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Tuesday, November 27, 2007 8:32 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] MIMO-G router > > John, > > Just do a single run of Cat5e (6 if you might go to gigabit) over to the > other end of the house and put a WAP on the end of it and be done with it. > > You'll have plenty of coverage for the entire house that way. > > You can do this on the cheap to if you have another wireless router laying > around. Just plug the cable into one of the ports (not the Internet Port), > disable all the routing type functions (DHCP, etc), assign a static IP to > the box, and it will act as a wireless access point. > > Jim. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Your smile counts. The more smiles you share, the more we donate.? Join in. www.windowslive.com/smile?ocid=TXT_TAGLM_Wave2_oprsmilewlhmtagline From jwcolby at colbyconsulting.com Tue Nov 27 10:45:17 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Nov 2007 11:45:17 -0500 Subject: [AccessD] MIMO-G router In-Reply-To: References: <000101c83105$ff27e020$647aa8c0@M90> Message-ID: <001301c83114$e4d413b0$647aa8c0@M90> LOL. "Near" is not an adjective I would use, "easy afternoon drive" would be more like it. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, November 27, 2007 10:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MIMO-G router Hmmm...Just happen to live near you...have some skills...and I already have the "fish tape". Let me know. Mark > From: jwcolby at colbyconsulting.com > To: accessd at databaseadvisors.com > Date: Tue, 27 Nov 2007 09:58:39 -0500 > Subject: [AccessD] MIMO-G router > > I would love to do that but the "details" always get in the way. My > office is up in "the attic", in a "bonus room" kind of thing above my bedroom. > Thus on the other side of the office wall is the rest of the attic for > the house. I can certainly run a cable through there. The problem is > that the attic gets well over 130 degrees F during the day in the > summer and so no electronics are going to like that environment. Thus > I would have to snake the cable down a wall to get it into the house. > And therein lies the problem, I don't know how to do that. Not to > mention all the nasty fiberglass insulation and stuff. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Tuesday, November 27, 2007 8:32 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] MIMO-G router > > John, > > Just do a single run of Cat5e (6 if you might go to gigabit) over to > the other end of the house and put a WAP on the end of it and be done with it. > > You'll have plenty of coverage for the entire house that way. > > You can do this on the cheap to if you have another wireless router > laying around. Just plug the cable into one of the ports (not the > Internet Port), disable all the routing type functions (DHCP, etc), > assign a static IP to the box, and it will act as a wireless access point. > > Jim. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Your smile counts. The more smiles you share, the more we donate.? Join in. www.windowslive.com/smile?ocid=TXT_TAGLM_Wave2_oprsmilewlhmtagline -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Tue Nov 27 10:46:24 2007 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 27 Nov 2007 10:46:24 -0600 Subject: [AccessD] MIMO-G router In-Reply-To: References: <004201c83059$89c327b0$647aa8c0@M90> <009301c8305e$526578e0$0301a8c0@HAL9005> Message-ID: Yea Linksys! ;-) 3 for 3! GK On 11/27/07, Charlotte Foust wrote: > My LinkSys wireless gateway is upstairs in one corner of the condo and > my laptop is usually downstairs in a well shielded spot out of direct > line of anything. It works just fine everywhere I've tried. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: Tuesday, November 27, 2007 7:38 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] MIMO-G router > > My Linksys router also works all over our house. -- Gary Kjos garykjos at gmail.com From garykjos at gmail.com Tue Nov 27 10:47:40 2007 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 27 Nov 2007 10:47:40 -0600 Subject: [AccessD] MIMO-G router In-Reply-To: References: <000101c83105$ff27e020$647aa8c0@M90> Message-ID: There you go. Once you have done it or seen it done it seems a lot less difficult. GK On 11/27/07, Mark A Matte wrote: > > Hmmm...Just happen to live near you...have some skills...and I already have the "fish tape". > > Let me know. > > Mark > -- Gary Kjos garykjos at gmail.com From jwcolby at colbyconsulting.com Tue Nov 27 11:04:42 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Nov 2007 12:04:42 -0500 Subject: [AccessD] MIMO-G router In-Reply-To: References: <004201c83059$89c327b0$647aa8c0@M90><009301c8305e$526578e0$0301a8c0@HAL9005> Message-ID: <001a01c83117$9b2aa050$647aa8c0@M90> My original router is a dlink, and it does work, however it seems that the specific location of my wife's laptop may be in a dead spot or something. Not dead exactly, she does have internet, it is just slow John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Tuesday, November 27, 2007 11:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MIMO-G router Yea Linksys! ;-) 3 for 3! GK On 11/27/07, Charlotte Foust wrote: > My LinkSys wireless gateway is upstairs in one corner of the condo and > my laptop is usually downstairs in a well shielded spot out of direct > line of anything. It works just fine everywhere I've tried. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: Tuesday, November 27, 2007 7:38 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] MIMO-G router > > My Linksys router also works all over our house. -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Tue Nov 27 11:21:37 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 27 Nov 2007 17:21:37 +0000 Subject: [AccessD] More Web Stuff In-Reply-To: <001a01c83117$9b2aa050$647aa8c0@M90> References: <004201c83059$89c327b0$647aa8c0@M90><009301c8305e$526578e0$0301a8c0@HAL9005> <001a01c83117$9b2aa050$647aa8c0@M90> Message-ID: Hello All, Anyone familiar with http://www.caspio.com Its claims to be a wizard to move access dbs to the web. Ideas? Thanks, mark _________________________________________________________________ Connect and share in new ways with Windows Live. http://www.windowslive.com/connect.html?ocid=TXT_TAGLM_Wave2_newways_112007 From andy at minstersystems.co.uk Tue Nov 27 11:45:15 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 27 Nov 2007 17:45:15 -0000 Subject: [AccessD] MIMO-G router In-Reply-To: <001a01c83117$9b2aa050$647aa8c0@M90> Message-ID: <023d01c8311d$452849e0$3183d355@minster33c3r25> C'mon folks. This should be on the dbaTech list. There are dark mutterings about the level of OT on the main list and I have to admit there is quite an epidemic. So enough of this one please, and over to dbaTech or OT. Thanks. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 27 November 2007 17:05 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] MIMO-G router > > > My original router is a dlink, and it does work, however it > seems that the specific location of my wife's laptop may be > in a dead spot or something. Not dead exactly, she does have > internet, it is just slow > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: Tuesday, November 27, 2007 11:46 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] MIMO-G router > > Yea Linksys! ;-) > > 3 for 3! > > GK > > On 11/27/07, Charlotte Foust wrote: > > My LinkSys wireless gateway is upstairs in one corner of > the condo and > > my laptop is usually downstairs in a well shielded spot out > of direct > > line of anything. It works just fine everywhere I've tried. > > > > Charlotte Foust > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > > Sent: Tuesday, November 27, 2007 7:38 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] MIMO-G router > > > > My Linksys router also works all over our house. > > -- > Gary Kjos > garykjos at gmail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From wdhindman at dejpolsystems.com Tue Nov 27 13:25:00 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 27 Nov 2007 14:25:00 -0500 Subject: [AccessD] More Web Stuff References: <004201c83059$89c327b0$647aa8c0@M90><009301c8305e$526578e0$0301a8c0@HAL9005> <001a01c83117$9b2aa050$647aa8c0@M90> Message-ID: <000e01c8312b$346f4000$ef706c4c@jisshowsbs.local> ...to THEIR web and THEIR db. William ----- Original Message ----- From: "Mark A Matte" To: "Access Developers discussion and problem solving" Sent: Tuesday, November 27, 2007 12:21 PM Subject: [AccessD] More Web Stuff > > Hello All, > > Anyone familiar with http://www.caspio.com > > Its claims to be a wizard to move access dbs to the web. > > Ideas? > > Thanks, > > mark > _________________________________________________________________ > Connect and share in new ways with Windows Live. > http://www.windowslive.com/connect.html?ocid=TXT_TAGLM_Wave2_newways_112007 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Tue Nov 27 13:32:19 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 27 Nov 2007 14:32:19 -0500 Subject: [AccessD] MIMO-G router References: <023d01c8311d$452849e0$3183d355@minster33c3r25> Message-ID: <000d01c8312c$3a03d1b0$ef706c4c@jisshowsbs.local> ...dark mutterings? ...you've read one too many Harry Potter books :) William ----- Original Message ----- From: "Andy Lacey" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 27, 2007 12:45 PM Subject: Re: [AccessD] MIMO-G router > C'mon folks. This should be on the dbaTech list. There are dark mutterings > about the level of OT on the main list and I have to admit there is quite > an > epidemic. So enough of this one please, and over to dbaTech or OT. > > Thanks. > > -- Andy Lacey > http://www.minstersystems.co.uk > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: 27 November 2007 17:05 >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] MIMO-G router >> >> >> My original router is a dlink, and it does work, however it >> seems that the specific location of my wife's laptop may be >> in a dead spot or something. Not dead exactly, she does have >> internet, it is just slow >> >> >> John W. Colby >> Colby Consulting >> www.ColbyConsulting.com >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos >> Sent: Tuesday, November 27, 2007 11:46 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] MIMO-G router >> >> Yea Linksys! ;-) >> >> 3 for 3! >> >> GK >> >> On 11/27/07, Charlotte Foust wrote: >> > My LinkSys wireless gateway is upstairs in one corner of >> the condo and >> > my laptop is usually downstairs in a well shielded spot out >> of direct >> > line of anything. It works just fine everywhere I've tried. >> > >> > Charlotte Foust >> > >> > -----Original Message----- >> > From: accessd-bounces at databaseadvisors.com >> > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos >> > Sent: Tuesday, November 27, 2007 7:38 AM >> > To: Access Developers discussion and problem solving >> > Subject: Re: [AccessD] MIMO-G router >> > >> > My Linksys router also works all over our house. >> >> -- >> Gary Kjos >> garykjos at gmail.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Nov 27 13:43:50 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Nov 2007 14:43:50 -0500 Subject: [AccessD] MIMO-G router In-Reply-To: <000d01c8312c$3a03d1b0$ef706c4c@jisshowsbs.local> References: <023d01c8311d$452849e0$3183d355@minster33c3r25> <000d01c8312c$3a03d1b0$ef706c4c@jisshowsbs.local> Message-ID: <003001c8312d$d60377e0$647aa8c0@M90> ROTFL. I was about to ask if the mutterings were coming from the "pure bloods". John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Tuesday, November 27, 2007 2:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MIMO-G router ...dark mutterings? ...you've read one too many Harry Potter books :) William ----- Original Message ----- From: "Andy Lacey" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 27, 2007 12:45 PM Subject: Re: [AccessD] MIMO-G router > C'mon folks. This should be on the dbaTech list. There are dark mutterings > about the level of OT on the main list and I have to admit there is quite > an > epidemic. So enough of this one please, and over to dbaTech or OT. > > Thanks. > > -- Andy Lacey > http://www.minstersystems.co.uk > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: 27 November 2007 17:05 >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] MIMO-G router >> >> >> My original router is a dlink, and it does work, however it >> seems that the specific location of my wife's laptop may be >> in a dead spot or something. Not dead exactly, she does have >> internet, it is just slow >> >> >> John W. Colby >> Colby Consulting >> www.ColbyConsulting.com >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos >> Sent: Tuesday, November 27, 2007 11:46 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] MIMO-G router >> >> Yea Linksys! ;-) >> >> 3 for 3! >> >> GK >> >> On 11/27/07, Charlotte Foust wrote: >> > My LinkSys wireless gateway is upstairs in one corner of >> the condo and >> > my laptop is usually downstairs in a well shielded spot out >> of direct >> > line of anything. It works just fine everywhere I've tried. >> > >> > Charlotte Foust >> > >> > -----Original Message----- >> > From: accessd-bounces at databaseadvisors.com >> > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos >> > Sent: Tuesday, November 27, 2007 7:38 AM >> > To: Access Developers discussion and problem solving >> > Subject: Re: [AccessD] MIMO-G router >> > >> > My Linksys router also works all over our house. >> >> -- >> Gary Kjos >> garykjos at gmail.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Tue Nov 27 16:03:41 2007 From: john at winhaven.net (John Bartow) Date: Tue, 27 Nov 2007 16:03:41 -0600 Subject: [AccessD] Professional Liability Insurance Coverage Message-ID: <200711272205.lARM526Y008312@databaseadvisors.com> I'm in the midst of redoing all of my insurance and I was wondering what kind of Professional Liability Insurance coverage you all have. John B. From dwaters at usinternet.com Tue Nov 27 16:32:08 2007 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 27 Nov 2007 16:32:08 -0600 Subject: [AccessD] Professional Liability Insurance Coverage In-Reply-To: <200711272205.lARM526Y008312@databaseadvisors.com> Message-ID: <20071127223215.5D64F253ED@smtp-out-01.usinternet.com> Zero! I'm incorporated and work at home. So the most anyone could get out of me would be my computer equipment. But no one is going to initiate a lawsuit over that amount of money. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Tuesday, November 27, 2007 4:04 PM To: _DBA-Access Subject: [AccessD] Professional Liability Insurance Coverage I'm in the midst of redoing all of my insurance and I was wondering what kind of Professional Liability Insurance coverage you all have. John B. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue Nov 27 16:33:12 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 27 Nov 2007 14:33:12 -0800 Subject: [AccessD] Professional Liability Insurance Coverage In-Reply-To: <200711272205.lARM526Y008312@databaseadvisors.com> References: <200711272205.lARM526Y008312@databaseadvisors.com> Message-ID: <005501c83145$7f1a65c0$0301a8c0@HAL9005> I don't carry it. When I had the office I had the usual coverage for theft, fire, and broken leg. But no professional or E&O insurance. But I'm incorporated which covers my assets. For The Sleep Advisor I looked into it because it's a quasi-medical app. $50k for openers. If they'd have us. So we dropped the idea. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Tuesday, November 27, 2007 2:04 PM To: _DBA-Access Subject: [AccessD] Professional Liability Insurance Coverage I'm in the midst of redoing all of my insurance and I was wondering what kind of Professional Liability Insurance coverage you all have. John B. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.8/1153 - Release Date: 11/26/2007 9:08 PM From wdhindman at dejpolsystems.com Tue Nov 27 17:57:28 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 27 Nov 2007 18:57:28 -0500 Subject: [AccessD] Professional Liability Insurance Coverage References: <200711272205.lARM526Y008312@databaseadvisors.com> <005501c83145$7f1a65c0$0301a8c0@HAL9005> Message-ID: <001c01c83151$44849230$ef706c4c@jisshowsbs.local> ...a word of caution here ...incorporation protection varies significantly by state and structure you choose ...some states protect your "homestead" including personal property ...some protect only up to a set value ...and in some states if you are the primary beneficiary of a privately held corporation, especially a "c", you may not really have any corporate shield at all ...if you have any doubts, the best advice is to call your lawyer for an answer. William ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 27, 2007 5:33 PM Subject: Re: [AccessD] Professional Liability Insurance Coverage >I don't carry it. When I had the office I had the usual coverage for >theft, > fire, and broken leg. But no professional or E&O insurance. But I'm > incorporated which covers my assets. > > For The Sleep Advisor I looked into it because it's a quasi-medical app. > $50k for openers. If they'd have us. > > So we dropped the idea. > > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Tuesday, November 27, 2007 2:04 PM > To: _DBA-Access > Subject: [AccessD] Professional Liability Insurance Coverage > > I'm in the midst of redoing all of my insurance and I was wondering what > kind of Professional Liability Insurance coverage you all have. > > > John B. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.16.8/1153 - Release Date: > 11/26/2007 > 9:08 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From lmrazek at lcm-res.com Tue Nov 27 20:38:17 2007 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Tue, 27 Nov 2007 20:38:17 -0600 Subject: [AccessD] Troubleshooting Opinions In-Reply-To: <001c01c83151$44849230$ef706c4c@jisshowsbs.local> References: <200711272205.lARM526Y008312@databaseadvisors.com><005501c83145$7f1a65c0$0301a8c0@HAL9005> <001c01c83151$44849230$ef706c4c@jisshowsbs.local> Message-ID: <009501c83167$bb5f32f0$036fa8c0@lcmdv8000> Hi Folks: I have an application written in Access 97 (yes, some people refuse to upgrade ...), and have been getting reports back from the client regarding some db problems. The db is a FE/BE configuration, with the BE on a network share in a peer-to-peer network. 1. They're experiencing wierdness when entering records ... Sometimes the new record switches to an existing record. 2. They can't pull up (or only sometimes) linked word documents. This db has been cooking along quite nicely for over 10 yrs ... I'm thinking that the problems they're experiencing are either network related or due to a firewall being overly assertive. But perhaps this could be a corruption of the BE? Any feedback would be greatly appreciated. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 From accessd at shaw.ca Tue Nov 27 23:10:32 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 27 Nov 2007 21:10:32 -0800 Subject: [AccessD] Troubleshooting Opinions In-Reply-To: <009501c83167$bb5f32f0$036fa8c0@lcmdv8000> References: <200711272205.lARM526Y008312@databaseadvisors.com> <005501c83145$7f1a65c0$0301a8c0@HAL9005> <001c01c83151$44849230$ef706c4c@jisshowsbs.local> <009501c83167$bb5f32f0$036fa8c0@lcmdv8000> Message-ID: Hi Larry: Maybe you could check the database. I have had problems with databases that got stopped a few times when the server was abruptly shutdown through carelessness or maybe even a power outage. If the site has been running successfully for a number of years and none of the above are obviously the cause, my first thought would be that some updating on the network is not compatible with the old DB. Access97 is not totally happy in a network environment where stations are running an OS later than Windown2000. XP home edition is very unreliable on a network, from my experience and I would never recommend that version for a business... that is what XP Pro is for. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawrence Mrazek Sent: Tuesday, November 27, 2007 6:38 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Troubleshooting Opinions Hi Folks: I have an application written in Access 97 (yes, some people refuse to upgrade ...), and have been getting reports back from the client regarding some db problems. The db is a FE/BE configuration, with the BE on a network share in a peer-to-peer network. 1. They're experiencing wierdness when entering records ... Sometimes the new record switches to an existing record. 2. They can't pull up (or only sometimes) linked word documents. This db has been cooking along quite nicely for over 10 yrs ... I'm thinking that the problems they're experiencing are either network related or due to a firewall being overly assertive. But perhaps this could be a corruption of the BE? Any feedback would be greatly appreciated. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Wed Nov 28 00:46:09 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 28 Nov 2007 01:46:09 -0500 Subject: [AccessD] Troubleshooting Opinions References: <200711272205.lARM526Y008312@databaseadvisors.com><005501c83145$7f1a65c0$0301a8c0@HAL9005><001c01c83151$44849230$ef706c4c@jisshowsbs.local> <009501c83167$bb5f32f0$036fa8c0@lcmdv8000> Message-ID: <000701c8318a$5c501860$ef706c4c@jisshowsbs.local> Simplest first. Have you actually defined the problem yourself rather than relying on user reports? Your post makes it appear that you might not have actually done so as yet ...imnsho, users are almost always wrong in defining problems in a manner that enables you to address them effectively ...thy just don't see it with your eyes. Do you/they have archive/master copies that don't exhibit the behavior? Hope they are doing daily backups. Have you done a full decompile of both mdbs? With A97, you have to follow the steps very carefully or the decompile does not work as intended. If none of the above clears the problem, try a system restore to a date prior to the problem first appearing to see if any system software changes have caused it. Look especially for any changes in AV software configuration or for changes in macro security settings. A97 was very susseptible to tamper protection schemes and heuristic type background scanning. ...just hit me but you didn't say what their OS is ...if its anything less than XP Pro, you ought to just Colbyize them and be done with it ...and if they installed Vista on even one system, start there. Isolate any hardware/firmware changes in the environment ...or possibly a faulty nic on the workgroup share ...A97 was very intolerant of nic faults ime and they were the primary cause of intermittant problems. ...and for heaven's sake, upgrade them to AXP already ...if they are too cheap to buy Office upgrades, at least put them on a runtime of Access 2002 ...with the current prices on e-bay for such, its ridiculous for them not to do so. hth William ----- Original Message ----- From: "Lawrence Mrazek" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 27, 2007 9:38 PM Subject: [AccessD] Troubleshooting Opinions > Hi Folks: > > I have an application written in Access 97 (yes, some people refuse to > upgrade ...), and have been getting reports back from the client regarding > some db problems. The db is a FE/BE configuration, with the BE on a > network > share in a peer-to-peer network. > > 1. They're experiencing wierdness when entering records ... Sometimes the > new record switches to an existing record. > 2. They can't pull up (or only sometimes) linked word documents. > > This db has been cooking along quite nicely for over 10 yrs ... I'm > thinking > that the problems they're experiencing are either network related or due > to > a firewall being overly assertive. But perhaps this could be a corruption > of > the BE? > > Any feedback would be greatly appreciated. > > Larry Mrazek > LCM Research, Inc. > www.lcm-res.com > lmrazek at lcm-res.com > ph. 314-432-5886 > mobile: 314-496-1645 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Gustav at cactus.dk Wed Nov 28 03:51:22 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 28 Nov 2007 10:51:22 +0100 Subject: [AccessD] Troubleshooting Opinions Message-ID: Hi Jim That is not our experience. We see no difference in reliability between WinXP Home and Pro running on brand named hardware, and Access 97 runs rock steady on any Win OS from Win95 to XP (we have yet to experience some heavy use on Vista). /gustav >>> accessd at shaw.ca 28-11-2007 06:10 >>> Access97 is not totally happy in a network environment where stations are running an OS later than Windown2000. XP home edition is very unreliable on a network, from my experience and I would never recommend that version for a business... that is what XP Pro is for. From Gustav at cactus.dk Wed Nov 28 03:54:39 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 28 Nov 2007 10:54:39 +0100 Subject: [AccessD] Troubleshooting Opinions Message-ID: Hi William So true. We have cooked this down to an in-house motto: Users lie. /gustav >>> wdhindman at dejpolsystems.com 28-11-2007 07:46 >>> Simplest first. Have you actually defined the problem yourself rather than relying on user reports? Your post makes it appear that you might not have actually done so as yet ...imnsho, users are almost always wrong in defining problems in a manner that enables you to address them effectively ...thy just don't see it with your eyes. From Erwin.Craps at ithelps.eu Wed Nov 28 05:48:45 2007 From: Erwin.Craps at ithelps.eu (Erwin Craps - IT Helps) Date: Wed, 28 Nov 2007 12:48:45 +0100 Subject: [AccessD] HTML code stripper Message-ID: <430E80531228BA4497C5EB1A7BA786B0276F6F@stekelbes.ithelps.local> I was wondering if someone has a VBA based "HTML code stripper" to share with me? The target is to strip all HTML code from a block of text obtained from a downloaded HTML page with a plain simple text as a result that can be stored in a database. thx Erwin Craps Zaakvoerder Internetwinkel op http://shop.ithelps.eu http://www.linkedin.com/in/erwincraps www.ithelps.be/onsgezin bezoek ook eens de website van mijn zus www.friedacraps.be This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center * Box Office Belgium & Luxembourg www.ithelps.eu * www.boxoffice.be IT Helps bvba * Mercatorpad 3 * 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.eu Box Office * Fax: +32 16 296 406 * Box Office E-mail: Staff at boxoffice.be From Gustav at cactus.dk Wed Nov 28 06:23:13 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 28 Nov 2007 13:23:13 +0100 Subject: [AccessD] HTML code stripper Message-ID: Hi Erwin How about the rich text component of Access 2007? This isn't Rich Text (RTF) based but HTML based. /gustav >>> Erwin.Craps at ithelps.eu 28-11-2007 12:48 >>> I was wondering if someone has a VBA based "HTML code stripper" to share with me? The target is to strip all HTML code from a block of text obtained from a downloaded HTML page with a plain simple text as a result that can be stored in a database. From andy at minstersystems.co.uk Wed Nov 28 05:27:25 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 28 Nov 2007 12:27:25 +0100 Subject: [AccessD] HTML code stripper Message-ID: <20071128122729.4116D2B5A23@smtp.nildram.co.uk> Hi Erwin Sorry, I'm not replying because I have one but it's a nice idea. Iwonder though if stripping is enough. Wouldn't you want to change
to vbCrLf, and   to a space? And I'm no HTML expert so there may be others that need conversion rather than removal. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: [AccessD] HTML code stripper Date: 28/11/07 11:54 I was wondering if someone has a VBA based "HTML code stripper" to share with me? The target is to strip all HTML code from a block of text obtained from a downloaded HTML page with a plain simple text as a result that can be stored in a database. thx Erwin Craps Zaakvoerder Internetwinkel op http://shop.ithelps.eu http://www.linkedin.com/in/erwincraps www.ithelps.be/onsgezin bezoek ook eens de website van mijn zus www.friedacraps.be This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center * Box Office Belgium & Luxembourg www.ithelps.eu * www.boxoffice.be IT Helps bvba * Mercatorpad 3 * 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.eu Box Office * Fax: +32 16 296 406 * Box Office E-mail: Staff at boxoffice.be -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From Gustav at cactus.dk Wed Nov 28 06:29:46 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 28 Nov 2007 13:29:46 +0100 Subject: [AccessD] HTML code stripper Message-ID: Hi Erwin Or use the free ActiveX String Component from ChilkatSoft: http://www.example-code.com/asp/asp_html_entity_decode.asp /gustav >>> Erwin.Craps at ithelps.eu 28-11-2007 12:48 >>> I was wondering if someone has a VBA based "HTML code stripper" to share with me? The target is to strip all HTML code from a block of text obtained from a downloaded HTML page with a plain simple text as a result that can be stored in a database. From lmrazek at lcm-res.com Wed Nov 28 07:35:08 2007 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Wed, 28 Nov 2007 07:35:08 -0600 Subject: [AccessD] Troubleshooting Opinions In-Reply-To: References: Message-ID: <00e601c831c3$7e57b4c0$036fa8c0@lcmdv8000> Yes, users occassionally are "truth challenged". The funny thing about this issue is that the application has been solid for the past 10 years, other than the occassional enhancement, It has happily cooked along. I'm first going to look at the network issues, as well as the backend for corruption. (and I'll probably get them on Access XP, if only to remove the need for having Access97 on my machine). Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, November 28, 2007 3:55 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Troubleshooting Opinions Hi William So true. We have cooked this down to an in-house motto: Users lie. /gustav >>> wdhindman at dejpolsystems.com 28-11-2007 07:46 >>> Simplest first. Have you actually defined the problem yourself rather than relying on user reports? Your post makes it appear that you might not have actually done so as yet ...imnsho, users are almost always wrong in defining problems in a manner that enables you to address them effectively ...thy just don't see it with your eyes. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Nov 28 09:38:55 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 28 Nov 2007 07:38:55 -0800 Subject: [AccessD] HTML code stripper In-Reply-To: <20071128122729.4116D2B5A23@smtp.nildram.co.uk> References: <20071128122729.4116D2B5A23@smtp.nildram.co.uk> Message-ID: Hi Erwin: I have always just opened a page in the browser and simply cut and pasted from there. Do you want an automated process? Jim --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: [AccessD] HTML code stripper Date: 28/11/07 11:54 I was wondering if someone has a VBA based "HTML code stripper" to share with me? The target is to strip all HTML code from a block of text obtained from a downloaded HTML page with a plain simple text as a result that can be stored in a database. thx Erwin Craps Zaakvoerder Internetwinkel op http://shop.ithelps.eu http://www.linkedin.com/in/erwincraps www.ithelps.be/onsgezin bezoek ook eens de website van mijn zus www.friedacraps.be This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center * Box Office Belgium & Luxembourg www.ithelps.eu * www.boxoffice.be IT Helps bvba * Mercatorpad 3 * 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.eu Box Office * Fax: +32 16 296 406 * Box Office E-mail: Staff at boxoffice.be -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Nov 28 09:56:39 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 28 Nov 2007 07:56:39 -0800 Subject: [AccessD] Troubleshooting Opinions In-Reply-To: References: Message-ID: LOL! Hear, hear! Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, November 28, 2007 1:55 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Troubleshooting Opinions Hi William So true. We have cooked this down to an in-house motto: Users lie. /gustav >>> wdhindman at dejpolsystems.com 28-11-2007 07:46 >>> Simplest first. Have you actually defined the problem yourself rather than relying on user reports? Your post makes it appear that you might not have actually done so as yet ...imnsho, users are almost always wrong in defining problems in a manner that enables you to address them effectively ...thy just don't see it with your eyes. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Wed Nov 28 10:53:11 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 28 Nov 2007 16:53:11 +0000 Subject: [AccessD] Troubleshooting Opinions In-Reply-To: <009501c83167$bb5f32f0$036fa8c0@lcmdv8000> References: <200711272205.lARM526Y008312@databaseadvisors.com><005501c83145$7f1a65c0$0301a8c0@HAL9005> <001c01c83151$44849230$ef706c4c@jisshowsbs.local> <009501c83167$bb5f32f0$036fa8c0@lcmdv8000> Message-ID: Larry, I have read everyone else's feedback...and if these are truely the symptoms...I have seen similar issues that were not DB related...but they were not related to each other either. 1. A new mouse can cause this type of issue. I have seen it with the 'side buttons' that actually act as a 'BACK' button...and the mouse wheel will scroll back through records. 2. Not so sure about this one...but have seen something similar depending on version of word...and how the DB calls word...and whether or not it is already open. Just thoughts. Mark A. Matte > From: lmrazek at lcm-res.com > To: accessd at databaseadvisors.com > Date: Tue, 27 Nov 2007 20:38:17 -0600 > Subject: [AccessD] Troubleshooting Opinions > > Hi Folks: > > I have an application written in Access 97 (yes, some people refuse to > upgrade ...), and have been getting reports back from the client regarding > some db problems. The db is a FE/BE configuration, with the BE on a network > share in a peer-to-peer network. > > 1. They're experiencing wierdness when entering records ... Sometimes the > new record switches to an existing record. > 2. They can't pull up (or only sometimes) linked word documents. > > This db has been cooking along quite nicely for over 10 yrs ... I'm thinking > that the problems they're experiencing are either network related or due to > a firewall being overly assertive. But perhaps this could be a corruption of > the BE? > > Any feedback would be greatly appreciated. > > Larry Mrazek > LCM Research, Inc. > www.lcm-res.com > lmrazek at lcm-res.com > ph. 314-432-5886 > mobile: 314-496-1645 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ You keep typing, we keep giving. Download Messenger and join the i?m Initiative now. http://im.live.com/messenger/im/home/?source=TAGLM From Erwin.Craps at ithelps.eu Wed Nov 28 11:20:26 2007 From: Erwin.Craps at ithelps.eu (Erwin Craps - IT Helps) Date: Wed, 28 Nov 2007 18:20:26 +0100 Subject: [AccessD] HTML code stripper References: <20071128122729.4116D2B5A23@smtp.nildram.co.uk> Message-ID: <430E80531228BA4497C5EB1A7BA786B0276F75@stekelbes.ithelps.local> Well indeed. Converting of hyperlinks etc would be nice to. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Wednesday, November 28, 2007 12:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] HTML code stripper Hi Erwin Sorry, I'm not replying because I have one but it's a nice idea. Iwonder though if stripping is enough. Wouldn't you want to change
to vbCrLf, and   to a space? And I'm no HTML expert so there may be others that need conversion rather than removal. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: [AccessD] HTML code stripper Date: 28/11/07 11:54 I was wondering if someone has a VBA based "HTML code stripper" to share with me? The target is to strip all HTML code from a block of text obtained from a downloaded HTML page with a plain simple text as a result that can be stored in a database. thx Erwin Craps Zaakvoerder Internetwinkel op http://shop.ithelps.eu http://www.linkedin.com/in/erwincraps www.ithelps.be/onsgezin bezoek ook eens de website van mijn zus www.friedacraps.be This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center * Box Office Belgium & Luxembourg www.ithelps.eu * www.boxoffice.be IT Helps bvba * Mercatorpad 3 * 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.eu Box Office * Fax: +32 16 296 406 * Box Office E-mail: Staff at boxoffice.be -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From krosenstiel at comcast.net Wed Nov 28 12:29:36 2007 From: krosenstiel at comcast.net (krosenstiel at comcast.net) Date: Wed, 28 Nov 2007 18:29:36 +0000 Subject: [AccessD] HTML code stripper Message-ID: <112820071829.9326.474DB3900001C1A60000246E2216557996040A079B9C020A9C019D05@comcast.net> Seems to me all you really need is a macro in your text editor to remove <*.*> from your docuement. -- Karen Rosenstiel Seattle WA USA -------------- Original message ---------------------- From: "Erwin Craps - IT Helps" > Well indeed. > > Converting of hyperlinks etc would be nice to. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Sent: Wednesday, November 28, 2007 12:27 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] HTML code stripper > > Hi Erwin > Sorry, I'm not replying because I have one but it's a nice idea. Iwonder > though if stripping is enough. Wouldn't you want to change
to > vbCrLf, > and   to a space? And I'm no HTML expert so there may be others > that > need conversion rather than removal. > > -- > Andy Lacey > http://www.minstersystems.co.uk > > > > --------- Original Message -------- > From: "Access Developers discussion and problem solving" > > To: "accessd at databaseadvisors.com" > Subject: [AccessD] HTML code stripper > Date: 28/11/07 11:54 > > > I was wondering if someone has a VBA based "HTML code stripper" to > share with me? > > > > The target is to strip all HTML code from a block of text obtained from > a downloaded HTML page with a plain simple text as a result that can be > stored in a database. > > > > thx > > > > > > > > > > Erwin Craps > > Zaakvoerder > > > > Internetwinkel op http://shop.ithelps.eu > > http://www.linkedin.com/in/erwincraps > > > www.ithelps.be/onsgezin > > bezoek ook eens de website van mijn zus www.friedacraps.be > > > > > This E-mail is confidential, may be legally privileged, and is for the > intended recipient only. Access, disclosure, copying, distribution, or > reliance on any of it by anyone else is prohibited and may be a criminal > offence. Please delete if obtained in error and E-mail confirmation to > the sender. > > IT Helps - I.T. Help Center * Box Office Belgium & Luxembourg > > www.ithelps.eu * www.boxoffice.be > > > IT Helps bvba * Mercatorpad 3 * 3000 Leuven > > IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: > Info at ithelps.eu > > Box Office * Fax: +32 16 296 406 * Box Office E-mail: > Staff at boxoffice.be > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ________________________________________________ > Message sent using UebiMiau 2.7.2 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 28 12:39:17 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 28 Nov 2007 19:39:17 +0100 Subject: [AccessD] HTML code stripper Message-ID: Hi Karen Oh no. Study the link I posted earlier today ... /gustav >>> krosenstiel at comcast.net 28-11-2007 19:29 >>> Seems to me all you really need is a macro in your text editor to remove <*.*> from your docuement. From Erwin.Craps at ithelps.eu Wed Nov 28 13:40:30 2007 From: Erwin.Craps at ithelps.eu (Erwin Craps - IT Helps) Date: Wed, 28 Nov 2007 20:40:30 +0100 Subject: [AccessD] HTML code stripper References: <20071128122729.4116D2B5A23@smtp.nildram.co.uk> Message-ID: <430E80531228BA4497C5EB1A7BA786B0276F76@stekelbes.ithelps.local> I already have the process automated, but I see that HTML code get's into my database. Things like
color etc. Some stuff I already replace/remove like
I just want plain simple text in this case. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, November 28, 2007 4:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] HTML code stripper Hi Erwin: I have always just opened a page in the browser and simply cut and pasted from there. Do you want an automated process? Jim --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: [AccessD] HTML code stripper Date: 28/11/07 11:54 I was wondering if someone has a VBA based "HTML code stripper" to share with me? The target is to strip all HTML code from a block of text obtained from a downloaded HTML page with a plain simple text as a result that can be stored in a database. thx Erwin Craps Zaakvoerder Internetwinkel op http://shop.ithelps.eu http://www.linkedin.com/in/erwincraps www.ithelps.be/onsgezin bezoek ook eens de website van mijn zus www.friedacraps.be This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center * Box Office Belgium & Luxembourg www.ithelps.eu * www.boxoffice.be IT Helps bvba * Mercatorpad 3 * 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.eu Box Office * Fax: +32 16 296 406 * Box Office E-mail: Staff at boxoffice.be -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.eu Wed Nov 28 13:42:07 2007 From: Erwin.Craps at ithelps.eu (Erwin Craps - IT Helps) Date: Wed, 28 Nov 2007 20:42:07 +0100 Subject: [AccessD] HTML code stripper References: <112820071829.9326.474DB3900001C1A60000246E2216557996040A079B9C020A9C019D05@comcast.net> Message-ID: <430E80531228BA4497C5EB1A7BA786B0276F77@stekelbes.ithelps.local> That's what I thought, but it's not like that. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of krosenstiel at comcast.net Sent: Wednesday, November 28, 2007 7:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] HTML code stripper Seems to me all you really need is a macro in your text editor to remove <*.*> from your docuement. -- Karen Rosenstiel Seattle WA USA -------------- Original message ---------------------- From: "Erwin Craps - IT Helps" > Well indeed. > > Converting of hyperlinks etc would be nice to. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Sent: Wednesday, November 28, 2007 12:27 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] HTML code stripper > > Hi Erwin > Sorry, I'm not replying because I have one but it's a nice idea. Iwonder > though if stripping is enough. Wouldn't you want to change
to > vbCrLf, > and   to a space? And I'm no HTML expert so there may be others > that > need conversion rather than removal. > > -- > Andy Lacey > http://www.minstersystems.co.uk > > > > --------- Original Message -------- > From: "Access Developers discussion and problem solving" > > To: "accessd at databaseadvisors.com" > Subject: [AccessD] HTML code stripper > Date: 28/11/07 11:54 > > > I was wondering if someone has a VBA based "HTML code stripper" to > share with me? > > > > The target is to strip all HTML code from a block of text obtained from > a downloaded HTML page with a plain simple text as a result that can be > stored in a database. > > > > thx > > > > > > > > > > Erwin Craps > > Zaakvoerder > > > > Internetwinkel op http://shop.ithelps.eu > > http://www.linkedin.com/in/erwincraps > > > www.ithelps.be/onsgezin > > bezoek ook eens de website van mijn zus www.friedacraps.be > > > > > This E-mail is confidential, may be legally privileged, and is for the > intended recipient only. Access, disclosure, copying, distribution, or > reliance on any of it by anyone else is prohibited and may be a criminal > offence. Please delete if obtained in error and E-mail confirmation to > the sender. > > IT Helps - I.T. Help Center * Box Office Belgium & Luxembourg > > www.ithelps.eu * www.boxoffice.be > > > IT Helps bvba * Mercatorpad 3 * 3000 Leuven > > IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: > Info at ithelps.eu > > Box Office * Fax: +32 16 296 406 * Box Office E-mail: > Staff at boxoffice.be > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ________________________________________________ > Message sent using UebiMiau 2.7.2 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 28 14:10:24 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 28 Nov 2007 15:10:24 -0500 Subject: [AccessD] Programmatically change cell formulae in Ecel Message-ID: <29f585dd0711281210j64aa846el1055ebdb3a034884@mail.gmail.com> Sorry for the double-post but I'm desperate. I'm trying to change cell formulae in Excel using VBA code and am running into two different problems (well, maybe problem 2 will disappear when I figure out problem 1). I have a string stored like this: Dim strFormula as String strFormula "=VLOOKUP(A6,'S:\Lgroup\Fundacct\Excel\!INVPORT\CSV Files\Sep 07\[# of securities.xls]SOI'!$B$3:$C$100,2,TRUE)" I am trying to assign it to the formula of a cell like this: Range("E6").Formula = strFormula What happens is that it gets pasted in as text, NOT as the formula. I tried removing the equals sign and assigning the rest to the formula of the cell, but that didn't work either. I'm way behind on a deadline and I have to get this working. Any assistance greatly appreciated! TIA, Arthur From DWUTKA at Marlow.com Wed Nov 28 14:14:13 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Wed, 28 Nov 2007 14:14:13 -0600 Subject: [AccessD] HTML code stripper In-Reply-To: <430E80531228BA4497C5EB1A7BA786B0276F76@stekelbes.ithelps.local> Message-ID: A relatively simple way would be to open it with a browser, and just read the text of it: brwWebBrowser.Document.Body.innertext where bwWebBrowser would be an instance of IE. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Wednesday, November 28, 2007 1:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] HTML code stripper I already have the process automated, but I see that HTML code get's into my database. Things like
color etc. Some stuff I already replace/remove like
I just want plain simple text in this case. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, November 28, 2007 4:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] HTML code stripper Hi Erwin: I have always just opened a page in the browser and simply cut and pasted from there. Do you want an automated process? Jim --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: [AccessD] HTML code stripper Date: 28/11/07 11:54 I was wondering if someone has a VBA based "HTML code stripper" to share with me? The target is to strip all HTML code from a block of text obtained from a downloaded HTML page with a plain simple text as a result that can be stored in a database. thx Erwin Craps Zaakvoerder Internetwinkel op http://shop.ithelps.eu http://www.linkedin.com/in/erwincraps www.ithelps.be/onsgezin bezoek ook eens de website van mijn zus www.friedacraps.be This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center * Box Office Belgium & Luxembourg www.ithelps.eu * www.boxoffice.be IT Helps bvba * Mercatorpad 3 * 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.eu Box Office * Fax: +32 16 296 406 * Box Office E-mail: Staff at boxoffice.be -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 BusinessSensitve 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 jwelz at hotmail.com Wed Nov 28 14:17:06 2007 From: jwelz at hotmail.com (Jurgen Welz) Date: Wed, 28 Nov 2007 13:17:06 -0700 Subject: [AccessD] Programmatically change cell formulae in Ecel In-Reply-To: <29f585dd0711281210j64aa846el1055ebdb3a034884@mail.gmail.com> References: <29f585dd0711281210j64aa846el1055ebdb3a034884@mail.gmail.com> Message-ID: Arthur: Here is an example from code I use where M refers to a named range cell in a sheet: .Cells(14, 4).Select .ActiveCell.FormulaR1C1 = "=IF(M=0,Tender!RC[-1],Tender!RC[-1]*Tender!RC[11])"CiaoJ?rgen WelzEdmonton, Albertajwelz at hotmail.com> Date: Wed, 28 Nov 2007 15:10:24 -0500> From: fuller.artful at gmail.com> To: dba-tech at databaseadvisors.com; accessd at databaseadvisors.com> Subject: [AccessD] Programmatically change cell formulae in Ecel> > Sorry for the double-post but I'm desperate.> > I'm trying to change cell formulae in Excel using VBA code and am running> into two different problems (well, maybe problem 2 will disappear when I> figure out problem 1).> > I have a string stored like this:> > Dim strFormula as String> strFormula "=VLOOKUP(A6,'S:\Lgroup\Fundacct\Excel\!INVPORT\CSV Files\Sep> 07\[# of securities.xls]SOI'!$B$3:$C$100,2,TRUE)"> > I am trying to assign it to the formula of a cell like this:> > Range("E6").Formula = strFormula> > > What happens is that it gets pasted in as text, NOT as the formula. I tried> removing the equals sign and assigning the rest to the formula of the cell,> but that didn't work either.> > I'm way behind on a deadline and I have to get this working. Any assistance> greatly appreciated!> > TIA,> Arthur> -- > AccessD mailing list> AccessD at databaseadvisors.com> http://databaseadvisors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com _________________________________________________________________ Are you ready for Windows Live Messenger Beta 8.5 ? Get the latest for free today! http://entertainment.sympatico.msn.ca/WindowsLiveMessenger From Lambert.Heenan at AIG.com Wed Nov 28 14:21:42 2007 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 28 Nov 2007 15:21:42 -0500 Subject: [AccessD] Programmatically change cell formulae in Ecel Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED74A7@XLIVMBX35bkup.aig.com> Try just Range("E6") = strFormula Works for me. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, November 28, 2007 3:10 PM To: Discussion of Hardware and Software issues; Access Developers discussion and problem solving Subject: [AccessD] Programmatically change cell formulae in Ecel Sorry for the double-post but I'm desperate. I'm trying to change cell formulae in Excel using VBA code and am running into two different problems (well, maybe problem 2 will disappear when I figure out problem 1). I have a string stored like this: Dim strFormula as String strFormula "=VLOOKUP(A6,'S:\Lgroup\Fundacct\Excel\!INVPORT\CSV Files\Sep 07\[# of securities.xls]SOI'!$B$3:$C$100,2,TRUE)" I am trying to assign it to the formula of a cell like this: Range("E6").Formula = strFormula What happens is that it gets pasted in as text, NOT as the formula. I tried removing the equals sign and assigning the rest to the formula of the cell, but that didn't work either. I'm way behind on a deadline and I have to get this working. Any assistance greatly appreciated! TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Patricia.O'Connor at otda.state.ny.us Wed Nov 28 14:37:11 2007 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Wed, 28 Nov 2007 15:37:11 -0500 Subject: [AccessD] Programmatically change cell formulae in Ecel References: <29f585dd0711281210j64aa846el1055ebdb3a034884@mail.gmail.com> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE80253C1B2@EXCNYSM0A1AI.nysemail.nyenet> hi Arthur Sorry I am not at work to really try this out before sending a answer if I had a copy of the excel spreadsheet I could play with it a bit more and test But when building strings and I tend to put the " and ' in using the CHR() and have gotten around many problems Dim strFormula as String strFormula = CHR(34) & "=VBLOOKUP(A6," & CHR(39) & strFormula = strFormula & "S:\Lgroup\Fundacct\Excel\!INVPORT\CSV FILES\Sep07\[# of securities.xls]SOI" strFormula = strFormula & CHR(39) & "!$B$3:$C$100,2,TRUE)" & CHR(34) or strFormula = "=VBLOOKUP(A6," & CHR(39) & strFormula = strFormula & "S:\Lgroup\Fundacct\Excel\!INVPORT\CSV FILES\Sep07\[# of securities.xls]SOI" strFormula = strFormula & CHR(39) & "!$B$3:$C$100,2,TRUE)" HTH Patti ************************************************************* * Patricia E. O'Connor * Associate Computer Programmer/Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (W) mailto:aa1160 at otda.state.ny.us *********************************************************** -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Arthur Fuller Sent: Wed 11/28/2007 3:10 PM To: Discussion of Hardware and Software issues; Access Developers discussion and problem solving Subject: [AccessD] Programmatically change cell formulae in Ecel Sorry for the double-post but I'm desperate. I'm trying to change cell formulae in Excel using VBA code and am running into two different problems (well, maybe problem 2 will disappear when I figure out problem 1). I have a string stored like this: Dim strFormula as String strFormula "=VLOOKUP(A6,'S:\Lgroup\Fundacct\Excel\!INVPORT\CSV Files\Sep 07\[# of securities.xls]SOI'!$B$3:$C$100,2,TRUE)" I am trying to assign it to the formula of a cell like this: Range("E6").Formula = strFormula What happens is that it gets pasted in as text, NOT as the formula. I tried removing the equals sign and assigning the rest to the formula of the cell, but that didn't work either. I'm way behind on a deadline and I have to get this working. Any assistance greatly appreciated! 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 Nov 28 14:54:22 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 28 Nov 2007 15:54:22 -0500 Subject: [AccessD] Programmatically change cell formulae in Ecel In-Reply-To: References: <29f585dd0711281210j64aa846el1055ebdb3a034884@mail.gmail.com> Message-ID: <29f585dd0711281254s2ef7992es85a4304f13c62f2d@mail.gmail.com> What's the R1C1 for, Jurgen? Arthur On Nov 28, 2007 3:17 PM, Jurgen Welz wrote: > > Arthur: > > Here is an example from code I use where M refers to a named range cell in > a sheet: > > .Cells(14, 4).Select .ActiveCell.FormulaR1C1 > = "=IF(M=0,Tender!RC[-1],Tender!RC[-1]*Tender!RC[11])" > CiaoJ?rgen WelzEdmonton From Chester_Kaup at kindermorgan.com Wed Nov 28 15:07:24 2007 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 28 Nov 2007 15:07:24 -0600 Subject: [AccessD] API: Remove Close button from maximized forms Message-ID: I am using the API: Remove Close button from maximized forms from the Access Web website.(www.mvps.org/access/api/aqpioo22.htm) It works great on the first form in the DB that opens. On subsequent forms the result is not as good. The form opens to full size with the blue bar across the top. I use the following lines of code to run the function from the on open event. DoCmd.Restore DoEvents MaximizeRestoredForm Me I have also tried it explicitly naming the form with the same result. Thanks for your ideas. 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 Jim.Hale at FleetPride.com Wed Nov 28 15:12:52 2007 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 28 Nov 2007 15:12:52 -0600 Subject: [AccessD] Programmatically change cell formulae in Ecel In-Reply-To: <29f585dd0711281254s2ef7992es85a4304f13c62f2d@mail.gmail.com> References: <29f585dd0711281210j64aa846el1055ebdb3a034884@mail.gmail.com> <29f585dd0711281254s2ef7992es85a4304f13c62f2d@mail.gmail.com> Message-ID: Arthur, This works for me, ie it places the formula in cell E6 correctly strFormula = "=VLOOKUP(A6,'C:\Documents and Settings\jhale\My Documents\[file1.xls]OutPut_Data'!$B$3:$C$100,2,TRUE)" Range("E6").Formula = strFormula HOWEVER if the cell E6 is formatted as text then it the sub pastes it in as a text string. Check the cell formatting Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, November 28, 2007 2:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Programmatically change cell formulae in Ecel What's the R1C1 for, Jurgen? Arthur On Nov 28, 2007 3:17 PM, Jurgen Welz wrote: > > Arthur: > > Here is an example from code I use where M refers to a named range cell in > a sheet: > > .Cells(14, 4).Select .ActiveCell.FormulaR1C1 > = "=IF(M=0,Tender!RC[-1],Tender!RC[-1]*Tender!RC[11])" > CiaoJ?rgen WelzEdmonton -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From fuller.artful at gmail.com Wed Nov 28 15:44:58 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 28 Nov 2007 16:44:58 -0500 Subject: [AccessD] Programmatically change cell formulae in Ecel In-Reply-To: <29f585dd0711281254s2ef7992es85a4304f13c62f2d@mail.gmail.com> References: <29f585dd0711281210j64aa846el1055ebdb3a034884@mail.gmail.com> <29f585dd0711281254s2ef7992es85a4304f13c62f2d@mail.gmail.com> Message-ID: <29f585dd0711281344r6d6ba1b8ob9cb8ee5440b721d@mail.gmail.com> Never mind, I looked it up. A. On Nov 28, 2007 3:54 PM, Arthur Fuller wrote: > What's the R1C1 for, Jurgen? > > Arthur > > > On Nov 28, 2007 3:17 PM, Jurgen Welz wrote: > > > > > Arthur: > > > > Here is an example from code I use where M refers to a named range cell > > in a sheet: > > > > .Cells(14, 4).Select > > .ActiveCell.FormulaR1C1 = > > "=IF(M=0,Tender!RC[-1],Tender!RC[-1]*Tender!RC[11])" > > > > > CiaoJ?rgen WelzEdmonton > > > From dwaters at usinternet.com Wed Nov 28 17:07:36 2007 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 28 Nov 2007 17:07:36 -0600 Subject: [AccessD] API: Remove Close button from maximized forms In-Reply-To: Message-ID: <20071128230746.197BF19FB0@smtp-out-02.usinternet.com> You can turn the Close button for forms on or off using each form's property sheet. I turn it off for every form. Same for Min/Max. Perhaps that would work . . . Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, November 28, 2007 3:07 PM To: Access Developers discussion and problem solving Subject: [AccessD] API: Remove Close button from maximized forms I am using the API: Remove Close button from maximized forms from the Access Web website.(www.mvps.org/access/api/aqpioo22.htm) It works great on the first form in the DB that opens. On subsequent forms the result is not as good. The form opens to full size with the blue bar across the top. I use the following lines of code to run the function from the on open event. DoCmd.Restore DoEvents MaximizeRestoredForm Me I have also tried it explicitly naming the form with the same result. Thanks for your ideas. 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 fuller.artful at gmail.com Wed Nov 28 17:39:53 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 28 Nov 2007 18:39:53 -0500 Subject: [AccessD] Programmatically change cell formulae in Ecel In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE80253C1B2@EXCNYSM0A1AI.nysemail.nyenet> References: <29f585dd0711281210j64aa846el1055ebdb3a034884@mail.gmail.com> <01DBAB52E30A9A4AB3D94EF8029EDBE80253C1B2@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: <29f585dd0711281539l310b44f2g57fed833032a7486@mail.gmail.com> Bizarrely enough, this appears to be the answer. Those accursed single quotes! Who knew? Arthur On Nov 28, 2007 3:37 PM, O'Connor, Patricia (OTDA) wrote: > hi Arthur > Sorry I am not at work to really try this out before sending a answer > if I had a copy of the excel spreadsheet I could play with it a bit more > and test > But when building strings and I tend to put the " and ' in using the CHR() > and have gotten around many problems > > Dim strFormula as String > strFormula = CHR(34) & "=VBLOOKUP(A6," & CHR(39) & > strFormula = strFormula & "S:\Lgroup\Fundacct\Excel\!INVPORT\CSV > FILES\Sep07\[# of securities.xls]SOI" > strFormula = strFormula & CHR(39) & "!$B$3:$C$100,2,TRUE)" & CHR(34) > > or > strFormula = "=VBLOOKUP(A6," & CHR(39) & > strFormula = strFormula & "S:\Lgroup\Fundacct\Excel\!INVPORT\CSV > FILES\Sep07\[# of securities.xls]SOI" > strFormula = strFormula & CHR(39) & "!$B$3:$C$100,2,TRUE)" > > HTH > Patti > > From Patricia.O'Connor at otda.state.ny.us Wed Nov 28 17:58:39 2007 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Wed, 28 Nov 2007 18:58:39 -0500 Subject: [AccessD] Programmatically change cell formulae in Ecel References: <29f585dd0711281210j64aa846el1055ebdb3a034884@mail.gmail.com><01DBAB52E30A9A4AB3D94EF8029EDBE80253C1B2@EXCNYSM0A1AI.nysemail.nyenet> <29f585dd0711281539l310b44f2g57fed833032a7486@mail.gmail.com> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE80253C1B3@EXCNYSM0A1AI.nysemail.nyenet> Arthur Glad it worked !! Will add it to the list of " you better remember" For me with a last name of O'Connor and dealing with many legacy systems I have learned to try almost anything to work around. Have a good evening Patti ************************************************************* * Patricia E. O'Connor * Associate Computer Programmer/Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (W) mailto:aa1160 at otda.state.ny.us *********************************************************** -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Arthur Fuller Sent: Wed 11/28/2007 6:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Programmatically change cell formulae in Ecel Bizarrely enough, this appears to be the answer. Those accursed single quotes! Who knew? Arthur On Nov 28, 2007 3:37 PM, O'Connor, Patricia (OTDA) wrote: > hi Arthur > Sorry I am not at work to really try this out before sending a answer > if I had a copy of the excel spreadsheet I could play with it a bit more > and test > But when building strings and I tend to put the " and ' in using the CHR() > and have gotten around many problems > > Dim strFormula as String > strFormula = CHR(34) & "=VBLOOKUP(A6," & CHR(39) & > strFormula = strFormula & "S:\Lgroup\Fundacct\Excel\!INVPORT\CSV > FILES\Sep07\[# of securities.xls]SOI" > strFormula = strFormula & CHR(39) & "!$B$3:$C$100,2,TRUE)" & CHR(34) > > or > strFormula = "=VBLOOKUP(A6," & CHR(39) & > strFormula = strFormula & "S:\Lgroup\Fundacct\Excel\!INVPORT\CSV > FILES\Sep07\[# of securities.xls]SOI" > strFormula = strFormula & CHR(39) & "!$B$3:$C$100,2,TRUE)" > > HTH > Patti > > -- 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 Nov 28 18:51:23 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 28 Nov 2007 19:51:23 -0500 Subject: [AccessD] Programmatically change cell formulae in Ecel In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE80253C1B3@EXCNYSM0A1AI.nysemail.nyenet> References: <29f585dd0711281210j64aa846el1055ebdb3a034884@mail.gmail.com> <01DBAB52E30A9A4AB3D94EF8029EDBE80253C1B2@EXCNYSM0A1AI.nysemail.nyenet> <29f585dd0711281539l310b44f2g57fed833032a7486@mail.gmail.com> <01DBAB52E30A9A4AB3D94EF8029EDBE80253C1B3@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: <29f585dd0711281651s3a62bafet7ca92da2f2854ace@mail.gmail.com> Patti, Given SQL Server's "respect" for single quotes, here's another trick (which you may already know). When accepting a name such as O'Connor, do a Replace of single quote with a pair of single quotes. That gets the data in as you wanted. I ran into this very often in an app a while ago, and eventually wrote a function to deal with it: Function sqTo2sq( ByRef str as String ) If Instr( str, Chr(39) ) > 0 then sqTo2sq = Replace( str, Chr(39), (Chr(39) & Chr(39) ) End If End Function I didn't copy and paste, so this is the gmail compiler at not work. But that's a best guess. Arthur On 11/28/07, O'Connor, Patricia (OTDA) wrote: > > Arthur > Glad it worked !! Will add it to the list of " you better remember" > For me with a last name of O'Connor and dealing with many legacy systems I > have learned to try almost anything to work around. > > Have a good evening > Patti > From scapistrant at symphonyinfo.com Wed Nov 28 21:46:57 2007 From: scapistrant at symphonyinfo.com (steve) Date: Wed, 28 Nov 2007 21:46:57 -0600 Subject: [AccessD] Convert to 2007; Dependencies In-Reply-To: <009501c83167$bb5f32f0$036fa8c0@lcmdv8000> References: <200711272205.lARM526Y008312@databaseadvisors.com><005501c83145$7f1a65c0$0301a8c0@HAL9005><001c01c83151$44849230$ef706c4c@jisshowsbs.local> <009501c83167$bb5f32f0$036fa8c0@lcmdv8000> Message-ID: <8E5309988E5E402B9AE235B711D4D8F2@symphony.symphonyinfo.com> My initial attempts at converting Acc2000 mdbs to Acc07 have been not going well. It will convert, but at the end it tells me that Object Name Dependencies must be mapped, and that Track Name Autocorrect must be turned on, before the app will actually work. I can see all the objects in the left side navigation pane, and Acc07 presented me with a right pane showing the Dependencies, but I can't figure out how to trigger that action. What am I missing? The converted file is essentially unworkable. Coincidentally, I accidentally stumbled on that problem in the Acc2000 database (a 7 years old db) for the very first time today. I pulled an Front end table into design mode, and looked at its properties. Then I get that the very same Dependencies message that I've never seen before. Happily, the dialog box offered to turn on Track AutoName Correct, and began the process, which took about 15 minutes to do. I don't know what's different or why this is required. I've always shied away from the TrackNameAutocorrect because I don't like Access doing things without me knowing. Internet searches for this issue turn up very little. Help! Steve Capistrant Symphony Information Services www.symphonyinfo.com Email: scapistrant at symphonyinfo.com Phone: 763-391-7400 ext 801 Skype: steve.capistrant From Erwin.Craps at ithelps.eu Thu Nov 29 01:32:55 2007 From: Erwin.Craps at ithelps.eu (Erwin Craps - IT Helps) Date: Thu, 29 Nov 2007 08:32:55 +0100 Subject: [AccessD] HTML code stripper References: Message-ID: <430E80531228BA4497C5EB1A7BA786B0276F78@stekelbes.ithelps.local> Thx Drew, I'll take a look at that. I'm use now some HTML code to find a specific piece of text on the page, so I will need to change that. But it's certainly worth to investigate. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Wednesday, November 28, 2007 9:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] HTML code stripper A relatively simple way would be to open it with a browser, and just read the text of it: brwWebBrowser.Document.Body.innertext where bwWebBrowser would be an instance of IE. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Wednesday, November 28, 2007 1:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] HTML code stripper I already have the process automated, but I see that HTML code get's into my database. Things like
color etc. Some stuff I already replace/remove like
I just want plain simple text in this case. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, November 28, 2007 4:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] HTML code stripper Hi Erwin: I have always just opened a page in the browser and simply cut and pasted from there. Do you want an automated process? Jim --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: [AccessD] HTML code stripper Date: 28/11/07 11:54 I was wondering if someone has a VBA based "HTML code stripper" to share with me? The target is to strip all HTML code from a block of text obtained from a downloaded HTML page with a plain simple text as a result that can be stored in a database. thx Erwin Craps Zaakvoerder Internetwinkel op http://shop.ithelps.eu http://www.linkedin.com/in/erwincraps www.ithelps.be/onsgezin bezoek ook eens de website van mijn zus www.friedacraps.be This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center * Box Office Belgium & Luxembourg www.ithelps.eu * www.boxoffice.be IT Helps bvba * Mercatorpad 3 * 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.eu Box Office * Fax: +32 16 296 406 * Box Office E-mail: Staff at boxoffice.be -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 BusinessSensitve 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 Gustav at cactus.dk Thu Nov 29 05:38:23 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 29 Nov 2007 12:38:23 +0100 Subject: [AccessD] HTML code stripper Message-ID: Hi Erwin Just curious, why wouldn't this control fit your purpose? To me it seems exactly what you are looking for but I may be missing something. The Chilkat ASP String Component is freeware and may be used in any ASP application. To install, download and unzip the ASP String Component. Then copy the CkString.dll to a directory on your ASP Web Server and register it with regsvr32.exe. The CkString.dll is a standard ActiveX component. It may also be used in Visual Basic 6.0, Delphi, Cold Fusion, Visual FoxPro, PowerBuilder, MFC, or any other programming language that supports ActiveX components. http://www.example-code.com/asp/aspstring.asp Example code here: set cks = Server.CreateObject("CkString.CkString") ' Strip HTML from a string. cks.Str = "

This is a test
Here is a test link

" cks.StripHtml ' Prints "This is a testHere is a test link" Response.Write cks.Str + "
" ' Perhaps it's better to replace
tags with SPACE chars first... cks.Str = "

This is a test
Here is a test link

" cks.ReplaceAll "
"," " cks.ReplaceAll "
"," " cks.StripHtml ' Prints "This is a test Here is a test link" Response.Write cks.Str
/gustav >>> Erwin.Craps at ithelps.eu 28-11-2007 20:40 >>> I already have the process automated, but I see that HTML code get's into my database. Things like
color etc. Some stuff I already replace/remove like
I just want plain simple text in this case. From Erwin.Craps at ithelps.eu Thu Nov 29 06:07:06 2007 From: Erwin.Craps at ithelps.eu (Erwin Craps - IT Helps) Date: Thu, 29 Nov 2007 13:07:06 +0100 Subject: [AccessD] HTML code stripper References: Message-ID: <430E80531228BA4497C5EB1A7BA786B0276F7D@stekelbes.ithelps.local> I thought it was a ASP for websites only! Didn't see the "Strip HTML tags from a string" but only the " HTML Entity Decode" Mea culpa, I'll turn my but so you can kick it.... Rather like to have the VB code than the control, but it should do it... Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, November 29, 2007 12:38 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] HTML code stripper Hi Erwin Just curious, why wouldn't this control fit your purpose? To me it seems exactly what you are looking for but I may be missing something. The Chilkat ASP String Component is freeware and may be used in any ASP application. To install, download and unzip the ASP String Component. Then copy the CkString.dll to a directory on your ASP Web Server and register it with regsvr32.exe. The CkString.dll is a standard ActiveX component. It may also be used in Visual Basic 6.0, Delphi, Cold Fusion, Visual FoxPro, PowerBuilder, MFC, or any other programming language that supports ActiveX components. http://www.example-code.com/asp/aspstring.asp Example code here: set cks = Server.CreateObject("CkString.CkString") ' Strip HTML from a string. cks.Str = "

This is a test
Here is a test link

" cks.StripHtml ' Prints "This is a testHere is a test link" Response.Write cks.Str + "
" ' Perhaps it's better to replace
tags with SPACE chars first... cks.Str = "

This is a test
Here is a test link

" cks.ReplaceAll "
"," " cks.ReplaceAll "
"," " cks.StripHtml ' Prints "This is a test Here is a test link" Response.Write cks.Str
/gustav >>> Erwin.Craps at ithelps.eu 28-11-2007 20:40 >>> I already have the process automated, but I see that HTML code get's into my database. Things like
color etc. Some stuff I already replace/remove like
I just want plain simple text in this case. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Thu Nov 29 06:26:14 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 29 Nov 2007 13:26:14 +0100 Subject: [AccessD] HTML code stripper Message-ID: Hi Erwin Good! That explains. No kicking from here, but it would be nice if you posted your findings from experimenting with it. Building an HTML parser yourself is an alternative but it's like reinventing the wheel. /gustav >>> Erwin.Craps at ithelps.eu 29-11-2007 13:07 >>> I thought it was a ASP for websites only! Didn't see the "Strip HTML tags from a string" but only the " HTML Entity Decode" Mea culpa, I'll turn my but so you can kick it.... Rather like to have the VB code than the control, but it should do it... Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, November 29, 2007 12:38 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] HTML code stripper Hi Erwin Just curious, why wouldn't this control fit your purpose? To me it seems exactly what you are looking for but I may be missing something. The Chilkat ASP String Component is freeware and may be used in any ASP application. To install, download and unzip the ASP String Component. Then copy the CkString.dll to a directory on your ASP Web Server and register it with regsvr32.exe. The CkString.dll is a standard ActiveX component. It may also be used in Visual Basic 6.0, Delphi, Cold Fusion, Visual FoxPro, PowerBuilder, MFC, or any other programming language that supports ActiveX components. http://www.example-code.com/asp/aspstring.asp Example code here: set cks = Server.CreateObject("CkString.CkString") ' Strip HTML from a string. cks.Str = "

This is a test
Here is a test link

" cks.StripHtml ' Prints "This is a testHere is a test link" Response.Write cks.Str + "
" ' Perhaps it's better to replace
tags with SPACE chars first... cks.Str = "

This is a test
Here is a test link

" cks.ReplaceAll "
"," " cks.ReplaceAll "
"," " cks.StripHtml ' Prints "This is a test Here is a test link" Response.Write cks.Str
/gustav >>> Erwin.Craps at ithelps.eu 28-11-2007 20:40 >>> I already have the process automated, but I see that HTML code get's into my database. Things like
color etc. Some stuff I already replace/remove like
I just want plain simple text in this case. From bbruen at unwired.com.au Thu Nov 29 07:04:13 2007 From: bbruen at unwired.com.au (Bruce Bruen) Date: Fri, 30 Nov 2007 00:04:13 +1100 Subject: [AccessD] HTML code stripper In-Reply-To: <430E80531228BA4497C5EB1A7BA786B0276F78@stekelbes.ithelps.local> References: <430E80531228BA4497C5EB1A7BA786B0276F78@stekelbes.ithelps.local> Message-ID: <200711300004.13685.bbruen@unwired.com.au> .Innertext will only return the complete html of the tag it is invoked on. This includes all tags, scripting and booofle contained therein. I have never yet been successful at html "scraping". At best you can locate and extract [bold]well constructed[/bold] and [bold]for want of a better phrase, "well formed"[/bold] information. However, the problems are: 1) the html page syntax can change, almost daily. 2) the paucious (specious?) html specification means that tag (mis)matching breaks the syntax parsing continually. Much better to investigate whether there is an xml feed equivalent. regards bruce From Chester_Kaup at kindermorgan.com Thu Nov 29 07:44:30 2007 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Thu, 29 Nov 2007 07:44:30 -0600 Subject: [AccessD] API: Remove Close button from maximized forms In-Reply-To: <20071128230746.197BF19FB0@smtp-out-02.usinternet.com> References: <20071128230746.197BF19FB0@smtp-out-02.usinternet.com> Message-ID: The code actually removes the restore window button. The problem with turning off the close button is that when a form is maximized in code the button reaapears. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, November 28, 2007 5:08 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] API: Remove Close button from maximized forms You can turn the Close button for forms on or off using each form's property sheet. I turn it off for every form. Same for Min/Max. Perhaps that would work . . . Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, November 28, 2007 3:07 PM To: Access Developers discussion and problem solving Subject: [AccessD] API: Remove Close button from maximized forms I am using the API: Remove Close button from maximized forms from the Access Web website.(www.mvps.org/access/api/aqpioo22.htm) It works great on the first form in the DB that opens. On subsequent forms the result is not as good. The form opens to full size with the blue bar across the top. I use the following lines of code to run the function from the on open event. DoCmd.Restore DoEvents MaximizeRestoredForm Me I have also tried it explicitly naming the form with the same result. Thanks for your ideas. 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 dwaters at usinternet.com Thu Nov 29 08:04:28 2007 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 29 Nov 2007 08:04:28 -0600 Subject: [AccessD] API: Remove Close button from maximized forms In-Reply-To: References: <20071128230746.197BF19FB0@smtp-out-02.usinternet.com> Message-ID: <000501c83290$c1da7ca0$0300a8c0@danwaters> I just looked at one of my forms - try this: Control Box = No Min Max Buttons = None Close Button = No Whats This Button = No This combination of property settings keeps everything not visible on my forms (but I always have a separate Close button). However, I haven't used maximized forms so I haven't seen what that would do. Good Luck Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Thursday, November 29, 2007 7:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] API: Remove Close button from maximized forms The code actually removes the restore window button. The problem with turning off the close button is that when a form is maximized in code the button reaapears. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, November 28, 2007 5:08 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] API: Remove Close button from maximized forms You can turn the Close button for forms on or off using each form's property sheet. I turn it off for every form. Same for Min/Max. Perhaps that would work . . . Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, November 28, 2007 3:07 PM To: Access Developers discussion and problem solving Subject: [AccessD] API: Remove Close button from maximized forms I am using the API: Remove Close button from maximized forms from the Access Web website.(www.mvps.org/access/api/aqpioo22.htm) It works great on the first form in the DB that opens. On subsequent forms the result is not as good. The form opens to full size with the blue bar across the top. I use the following lines of code to run the function from the on open event. DoCmd.Restore DoEvents MaximizeRestoredForm Me I have also tried it explicitly naming the form with the same result. Thanks for your ideas. 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 mmattys at rochester.rr.com Thu Nov 29 22:01:23 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Thu, 29 Nov 2007 23:01:23 -0500 Subject: [AccessD] Trim in Access 2007 Message-ID: <007b01c83305$afaca740$0202a8c0@Laptop> All fields in table defined as TEXT (39) I wrote: For Each fld In oDB.TableDefs("CASS").Fields qdfTrim.SQL = "UPDATE CASS SET CASS.[" & fld.Name & "] = Trim([" & fld.Name & "])" qdfTrim.Execute Next When I do a Len(AnyField), they are all 39. How do I know if Trim() worked or not? What's going on here? Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com From Patricia.O'Connor at otda.state.ny.us Thu Nov 29 23:52:06 2007 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Fri, 30 Nov 2007 00:52:06 -0500 Subject: [AccessD] Trim in Access 2007 References: <007b01c83305$afaca740$0202a8c0@Laptop> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE80253C1B5@EXCNYSM0A1AI.nysemail.nyenet> I think you are getting field.NAME mixed up with the value in the field.VALUE. I am not at work so I can't verify the full statement but you could try Dim oDB As DAO.Database Dim oTbl As DAO.TableDef Dim oQry As DAO.QueryDef Dim oFld As DAO.Field Dim strTmp as string Dim strSql as string Set oDB = CurrentDb Set oTbl = odb.TableDefs("CASS") strSql = "UPDATE CASS SET CASS.[" For Each oFld In oTbl.Fields strTmp = TRIM(ofld.VALUE) Debug.print = ofld.Name " - Untrimmed: " & LEN(fld.VALUE) & " trimmed: " & LEN(strTmp) qdfTrim.SQL = strSQL & ofld.Name & "] = " & strTmp qdfTrim.Execute Next HTH ************************************************************* * Patricia E. O'Connor * Associate Computer Programmer/Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (W) mailto:aa1160 at otda.state.ny.us *********************************************************** -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Michael R Mattys Sent: Thu 11/29/2007 11:01 PM To: AccessD Subject: [AccessD] Trim in Access 2007 All fields in table defined as TEXT (39) I wrote: For Each fld In oDB.TableDefs("CASS").Fields qdfTrim.SQL = "UPDATE CASS SET CASS.[" & fld.Name & "] = Trim([" & fld.Name & "])" qdfTrim.Execute Next When I do a Len(AnyField), they are all 39. How do I know if Trim() worked or not? What's going on here? Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.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 Nov 30 06:45:04 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 30 Nov 2007 13:45:04 +0100 Subject: [AccessD] OT: Friday (weekend) fun: Erlang Message-ID: Hi all Everyone seems so busy, so here's something for a relaxing weekend. Predicting that in 2019 we will have the million core processor, you need to use a language capable of parallel processing. Erlang is one. And it is free and open-source: http://www.erlang.org Note chapter 3, Concurrent Programming, here: http://www.erlang.org/doc/getting_started/part_frame.html Also, a community exists: http://www.trapexit.org/ Have fun! /gustav From fuller.artful at gmail.com Fri Nov 30 06:53:59 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 30 Nov 2007 07:53:59 -0500 Subject: [AccessD] OT: Friday (weekend) fun: Erlang In-Reply-To: References: Message-ID: <29f585dd0711300453i7193a214ydc276ee43b5354f9@mail.gmail.com> If I'm not dead and cremated by then, Gustav, this could be important. I will look into it, on the off-chance that I'm still breathing when it happens. Better safe than sorry. A. From jwcolby at colbyconsulting.com Fri Nov 30 07:00:56 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 30 Nov 2007 08:00:56 -0500 Subject: [AccessD] OT: Friday (weekend) fun: Erlang In-Reply-To: References: Message-ID: <001201c83351$0c307910$647aa8c0@M90> OK, let's get real. Assuming that Moore's law continues for that period, we would double the number of transistors every 2 years which means 12 years / 2 = 6 doublings. We currently have 4 processors so that means 2^8 processors = 256 processors. The problem as I see it is that memory module size is stalled. I have to hope that the problem lies in the fact that 32 bit windows did not allow more than 4 g byte so there was no active need to go further. With the 64 bit OS' finally making it into the picture, perhaps the memory module makers will put the problem back on the front burner. On a more interesting note, Solid State Disks are finally here and readily available: http://www.newegg.com/Store/SubCategory.aspx?SubCategory=636&Tpk=solid+state +disk Yes, they are still expensive but even these prices are low compared to what was available and these prices are dropping rapidly as manufacturing picks up steam. Dell is now actually shipping laptops with a 64 gb solid state disk. We live in exciting times. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, November 30, 2007 7:45 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Friday (weekend) fun: Erlang Hi all Everyone seems so busy, so here's something for a relaxing weekend. Predicting that in 2019 we will have the million core processor, you need to use a language capable of parallel processing. Erlang is one. And it is free and open-source: http://www.erlang.org Note chapter 3, Concurrent Programming, here: http://www.erlang.org/doc/getting_started/part_frame.html Also, a community exists: http://www.trapexit.org/ Have fun! /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmattys at rochester.rr.com Fri Nov 30 07:05:58 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 30 Nov 2007 08:05:58 -0500 Subject: [AccessD] Trim in Access 2007 References: <007b01c83305$afaca740$0202a8c0@Laptop> <01DBAB52E30A9A4AB3D94EF8029EDBE80253C1B5@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: <001c01c83351$c517fbb0$0202a8c0@Laptop> Hi Patricia & Group, I wish to trim all values in the column rather than set them all to a single value. I will certainly try this on a copy of my table, but the SQL view of an Update query will confirm that the Field.Name should be used. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "O'Connor, Patricia (OTDA)" To: "Access Developers discussion and problem solving" Sent: Friday, November 30, 2007 12:52 AM Subject: Re: [AccessD] Trim in Access 2007 >I think you are getting field.NAME mixed up with the value in the >field.VALUE. > I am not at work so I can't verify the full statement but you could try > > Dim oDB As DAO.Database > Dim oTbl As DAO.TableDef > Dim oQry As DAO.QueryDef > Dim oFld As DAO.Field > > Dim strTmp as string > Dim strSql as string > > Set oDB = CurrentDb > Set oTbl = odb.TableDefs("CASS") > strSql = "UPDATE CASS SET CASS.[" > > For Each oFld In oTbl.Fields > strTmp = TRIM(ofld.VALUE) > Debug.print = ofld.Name " - Untrimmed: " & LEN(fld.VALUE) & " trimmed: > " & LEN(strTmp) > > qdfTrim.SQL = strSQL & ofld.Name & "] = " & strTmp > qdfTrim.Execute > Next > > HTH > > ************************************************************* > * Patricia E. O'Connor > * Associate Computer Programmer/Analyst > * OTDA - BDMA > * (W) mailto:Patricia.O'Connor at otda.state.ny.us > * (W) mailto:aa1160 at otda.state.ny.us > *********************************************************** > > > -------------------------------------------------------- > This e-mail, including any attachments, may be confidential, privileged or > otherwise legally protected. It is intended only for the addressee. If you > received this e-mail in error or from someone who was not authorized to > send it to you, do not disseminate, copy or otherwise use this e-mail or > its attachments. Please notify the sender immediately by reply e-mail and > delete the e-mail from your system. > > > ________________________________ > > > From: accessd-bounces at databaseadvisors.com on behalf of Michael R Mattys > Sent: Thu 11/29/2007 11:01 PM > To: AccessD > Subject: [AccessD] Trim in Access 2007 > > > > All fields in table defined as TEXT (39) > > I wrote: > For Each fld In oDB.TableDefs("CASS").Fields > qdfTrim.SQL = "UPDATE CASS SET CASS.[" & fld.Name & "] = Trim([" & > fld.Name & "])" > qdfTrim.Execute > Next > > When I do a Len(AnyField), they are all 39. > How do I know if Trim() worked or not? > What's going on here? > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 30 07:08:45 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 30 Nov 2007 08:08:45 -0500 Subject: [AccessD] OT: Friday (weekend) fun: Erlang In-Reply-To: References: Message-ID: <001801c83352$23f7b3f0$647aa8c0@M90> What I find amusing is that the current 4 core desktop computer is more that a supercomputer from 1980. Why aren't we able to run all of the oh so cool things that ran on the supercomputers 30 years ago. We could simulate a nuclear bomb or the weather if we were willing to allow our computers to run uninterrupted for a couple of months. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, November 30, 2007 7:45 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Friday (weekend) fun: Erlang Hi all Everyone seems so busy, so here's something for a relaxing weekend. Predicting that in 2019 we will have the million core processor, you need to use a language capable of parallel processing. Erlang is one. And it is free and open-source: http://www.erlang.org Note chapter 3, Concurrent Programming, here: http://www.erlang.org/doc/getting_started/part_frame.html Also, a community exists: http://www.trapexit.org/ Have fun! /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmattys at rochester.rr.com Fri Nov 30 08:04:06 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 30 Nov 2007 09:04:06 -0500 Subject: [AccessD] Trim in Access 2007 References: <007b01c83305$afaca740$0202a8c0@Laptop> <01DBAB52E30A9A4AB3D94EF8029EDBE80253C1B5@EXCNYSM0A1AI.nysemail.nyenet> <001c01c83351$c517fbb0$0202a8c0@Laptop> Message-ID: <004301c83359$e58e8e10$0202a8c0@Laptop> Unfortunately, strTmp = Trim(oFld.Value) is invalid in this context. Thank you anyway, Patricia. Feel free to try again. I'm stumped. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Michael R Mattys" To: "Access Developers discussion and problem solving" Sent: Friday, November 30, 2007 8:05 AM Subject: Re: [AccessD] Trim in Access 2007 > Hi Patricia & Group, > > I wish to trim all values in the column rather than set them > all to a single value. I will certainly try this on a copy of my > table, but the SQL view of an Update query will confirm that > the Field.Name should be used. > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "O'Connor, Patricia (OTDA)" > To: "Access Developers discussion and problem solving" > > Sent: Friday, November 30, 2007 12:52 AM > Subject: Re: [AccessD] Trim in Access 2007 > > >>I think you are getting field.NAME mixed up with the value in the >>field.VALUE. >> I am not at work so I can't verify the full statement but you could try >> >> Dim oDB As DAO.Database >> Dim oTbl As DAO.TableDef >> Dim oQry As DAO.QueryDef >> Dim oFld As DAO.Field >> >> Dim strTmp as string >> Dim strSql as string >> >> Set oDB = CurrentDb >> Set oTbl = odb.TableDefs("CASS") >> strSql = "UPDATE CASS SET CASS.[" >> >> For Each oFld In oTbl.Fields >> strTmp = TRIM(ofld.VALUE) >> Debug.print = ofld.Name " - Untrimmed: " & LEN(fld.VALUE) & " >> trimmed: >> " & LEN(strTmp) >> >> qdfTrim.SQL = strSQL & ofld.Name & "] = " & strTmp >> qdfTrim.Execute >> Next >> >> HTH >> >> ************************************************************* >> * Patricia E. O'Connor >> * Associate Computer Programmer/Analyst >> * OTDA - BDMA >> * (W) mailto:Patricia.O'Connor at otda.state.ny.us >> * (W) mailto:aa1160 at otda.state.ny.us >> *********************************************************** >> >> >> -------------------------------------------------------- >> This e-mail, including any attachments, may be confidential, privileged >> or >> otherwise legally protected. It is intended only for the addressee. If >> you >> received this e-mail in error or from someone who was not authorized to >> send it to you, do not disseminate, copy or otherwise use this e-mail or >> its attachments. Please notify the sender immediately by reply e-mail >> and >> delete the e-mail from your system. >> >> >> ________________________________ >> >> >> From: accessd-bounces at databaseadvisors.com on behalf of Michael R Mattys >> Sent: Thu 11/29/2007 11:01 PM >> To: AccessD >> Subject: [AccessD] Trim in Access 2007 >> >> >> >> All fields in table defined as TEXT (39) >> >> I wrote: >> For Each fld In oDB.TableDefs("CASS").Fields >> qdfTrim.SQL = "UPDATE CASS SET CASS.[" & fld.Name & "] = Trim([" & >> fld.Name & "])" >> qdfTrim.Execute >> Next >> >> When I do a Len(AnyField), they are all 39. >> How do I know if Trim() worked or not? >> What's going on here? >> >> Michael R. Mattys >> MapPoint & Access Dev >> www.mattysconsulting.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Fri Nov 30 08:28:20 2007 From: max.wanadoo at gmail.com (max.wanadoo at gmail.com) Date: Fri, 30 Nov 2007 14:28:20 -0000 Subject: [AccessD] OT: Friday (weekend) fun: Erlang In-Reply-To: <001801c83352$23f7b3f0$647aa8c0@M90> Message-ID: <00e901c8335d$4217f2e0$8119fea9@LTVM> Oh year, what a good idea. WOPR all over again...Play "Global Thermonuclear War" Wikepeida says:- WOPR is a form of artificial intelligence, programmed to play numerous strategy and war games, including one called Global Thermonuclear War, the purpose being to enable itself to optimally respond to any possible enemy nuclear attack. WarGames In WarGames, David Lightman (Matthew Broderick), a teenage computer hacker unwittingly makes contact with WOPR by dialing random phone numbers (known as Wardialing). Believing he has discovered a backdoor to the mainframe at a computer game development company, he hacks into WOPR, finds a list of games and gives the command to play the Global Thermonuclear War scenario. In the process, WOPR begins running the simulation on the main screen at NORAD, making the staff there think the Soviet Union is readying their missiles for a first strike. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, November 30, 2007 1:09 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Friday (weekend) fun: Erlang What I find amusing is that the current 4 core desktop computer is more that a supercomputer from 1980. Why aren't we able to run all of the oh so cool things that ran on the supercomputers 30 years ago. We could simulate a nuclear bomb or the weather if we were willing to allow our computers to run uninterrupted for a couple of months. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, November 30, 2007 7:45 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Friday (weekend) fun: Erlang Hi all Everyone seems so busy, so here's something for a relaxing weekend. Predicting that in 2019 we will have the million core processor, you need to use a language capable of parallel processing. Erlang is one. And it is free and open-source: http://www.erlang.org Note chapter 3, Concurrent Programming, here: http://www.erlang.org/doc/getting_started/part_frame.html Also, a community exists: http://www.trapexit.org/ Have fun! /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Nov 30 08:31:32 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 30 Nov 2007 15:31:32 +0100 Subject: [AccessD] Trim in Access 2007 Message-ID: Hi Michael Haven't followed this thread until now. Could you explain what you try to do? Clear as mud for me ... /gustav >> From: accessd-bounces at databaseadvisors.com on behalf of Michael R Mattys >> Sent: Thu 11/29/2007 11:01 PM >> To: AccessD >> Subject: [AccessD] Trim in Access 2007 >> >> All fields in table defined as TEXT (39) >> >> I wrote: >> For Each fld In oDB.TableDefs("CASS").Fields >> qdfTrim.SQL = "UPDATE CASS SET CASS.[" & fld.Name & "] = Trim([" & >> fld.Name & "])" >> qdfTrim.Execute >> Next >> >> When I do a Len(AnyField), they are all 39. >> How do I know if Trim() worked or not? >> What's going on here? >> >> Michael R. Mattys >> MapPoint & Access Dev >> www.mattysconsulting.com From mmattys at rochester.rr.com Fri Nov 30 08:36:54 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 30 Nov 2007 09:36:54 -0500 Subject: [AccessD] Trim in Access 2007 References: <007b01c83305$afaca740$0202a8c0@Laptop> <01DBAB52E30A9A4AB3D94EF8029EDBE80253C1B5@EXCNYSM0A1AI.nysemail.nyenet> <001c01c83351$c517fbb0$0202a8c0@Laptop> <004301c83359$e58e8e10$0202a8c0@Laptop> Message-ID: <004e01c8335e$7885b4b0$0202a8c0@Laptop> This didn't work either; maybe the table is corrupt? Function TrimCass() Dim oDB As DAO.Database Dim oTbl As DAO.TableDef Dim oQry As DAO.QueryDef Dim oFld As DAO.Field Dim strTmp As String Dim strSql As String Set oDB = CurrentDb Set oQry = oDB.CreateQueryDef("Trimmer", "SELECT * FROM CASS") Set oTbl = oDB.TableDefs("CASS") For Each oFld In oTbl.Fields oQry.SQL = "UPDATE CASS SET CASS.[" & oFld.Name & "] = Trim([" & oFld.Name & "])" oDB.QueryDefs.Refresh DoCmd.SetWarnings False DoCmd.SelectObject acQuery, "Trimmer", True DoCmd.OpenQuery "Trimmer", acViewNormal DoCmd.SetWarnings True Next Set oTbl = Nothing Set oQry = Nothing Set oDB = Nothing End Function Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Michael R Mattys" To: "Access Developers discussion and problem solving" Sent: Friday, November 30, 2007 9:04 AM Subject: Re: [AccessD] Trim in Access 2007 > > Unfortunately, strTmp = Trim(oFld.Value) is invalid in this context. > Thank you anyway, Patricia. Feel free to try again. I'm stumped. > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com From mmattys at rochester.rr.com Fri Nov 30 08:46:24 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 30 Nov 2007 09:46:24 -0500 Subject: [AccessD] Trim in Access 2007 References: Message-ID: <005501c8335f$d0b14f90$0202a8c0@Laptop> Hi Gustav, I am doing the common operation of trimming fields that have extra spaces in them. These probably came from a fixed-width text-file, but I only receive the accdb. I execute the query and it has no effect on the spaces. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, November 30, 2007 9:31 AM Subject: Re: [AccessD] Trim in Access 2007 > Hi Michael > > Haven't followed this thread until now. > Could you explain what you try to do? Clear as mud for me ... > > /gustav From Gustav at cactus.dk Fri Nov 30 09:00:04 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 30 Nov 2007 16:00:04 +0100 Subject: [AccessD] Trim in Access 2007 Message-ID: Hi Matt Trim only trim outer spaces. Use MTrim to trim inner spaces as well: Public Function MTrim(ByVal strString As String) As String ' Trims strString for mid and outer spaces. ' ' 1999-06-23. Cactus Data ApS. CPH. Const cstrSpace As String * 1 = " " Dim lngTemp As Long Dim lngChop As Long Dim lngLoop As Long Dim strTemp As String Dim strTrim As String strTemp = Trim(strString) lngTemp = Len(strTemp) If lngTemp > 0 Then strTrim = strTemp lngChop = 1 Do lngChop = InStr(lngChop, strTrim, cstrSpace) If lngChop > 0 Then ' A space is found. Shift one character and ' overwrite this space in string strTrim. lngLoop = lngLoop + 1 Mid(strTrim, lngChop) = Mid(strTemp, lngChop + lngLoop) End If Loop Until lngChop = 0 ' String strTrim now contains no spaces. End If ' Return net length of trimmed string. MTrim = Left(strTrim, lngTemp - lngLoop) End Function /gustav >>> mmattys at rochester.rr.com 30-11-2007 15:46 >>> Hi Gustav, I am doing the common operation of trimming fields that have extra spaces in them. These probably came from a fixed-width text-file, but I only receive the accdb. I execute the query and it has no effect on the spaces. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, November 30, 2007 9:31 AM Subject: Re: [AccessD] Trim in Access 2007 > Hi Michael > > Haven't followed this thread until now. > Could you explain what you try to do? Clear as mud for me ... > > /gustav From Gustav at cactus.dk Fri Nov 30 09:05:58 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 30 Nov 2007 16:05:58 +0100 Subject: [AccessD] Trim in Access 2007 Message-ID: Hi Michael Ignoring Trim for a moment, why not just execute a temporary query: Function TrimCass() Dim oDB As DAO.Database Dim oTbl As DAO.TableDef Dim oQry As DAO.QueryDef Dim oFld As DAO.Field Dim strTmp As String Dim strSql As String Set oDB = CurrentDb Set oQry = oDB.CreateQueryDef("", "SELECT * FROM CASS") Set oTbl = oDB.TableDefs("CASS") For Each oFld In oTbl.Fields oQry.SQL = "UPDATE CASS SET CASS.[" & oFld.Name & "] = Trim([" & oFld.Name & "])" oQry.Execute Next Set oFld = Nothing Set oTbl = Nothing Set oQry = Nothing Set oDB = Nothing End Function /gustav From mmattys at rochester.rr.com Fri Nov 30 09:12:18 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 30 Nov 2007 10:12:18 -0500 Subject: [AccessD] Trim in Access 2007 References: Message-ID: <007801c83363$9f904430$0202a8c0@Laptop> Thanks Gustav, That took out all spaces, proving the table is not corrupt However, these are addresses ... :) Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, November 30, 2007 10:00 AM Subject: Re: [AccessD] Trim in Access 2007 > Hi Matt > > Trim only trim outer spaces. Use MTrim to trim inner spaces as well: > > Public Function MTrim(ByVal strString As String) As String > > ' Trims strString for mid and outer spaces. > ' > ' 1999-06-23. Cactus Data ApS. CPH. > > Const cstrSpace As String * 1 = " " > > Dim lngTemp As Long > Dim lngChop As Long > Dim lngLoop As Long > Dim strTemp As String > Dim strTrim As String > > strTemp = Trim(strString) > lngTemp = Len(strTemp) > If lngTemp > 0 Then > strTrim = strTemp > lngChop = 1 > Do > lngChop = InStr(lngChop, strTrim, cstrSpace) > If lngChop > 0 Then > ' A space is found. Shift one character and > ' overwrite this space in string strTrim. > lngLoop = lngLoop + 1 > Mid(strTrim, lngChop) = Mid(strTemp, lngChop + lngLoop) > End If > Loop Until lngChop = 0 > ' String strTrim now contains no spaces. > End If > > ' Return net length of trimmed string. > MTrim = Left(strTrim, lngTemp - lngLoop) > > End Function > > /gustav > >>>> mmattys at rochester.rr.com 30-11-2007 15:46 >>> > Hi Gustav, > > I am doing the common operation of trimming fields that have > extra spaces in them. These probably came from a fixed-width > text-file, but I only receive the accdb. > > I execute the query and it has no effect on the spaces. > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Friday, November 30, 2007 9:31 AM > Subject: Re: [AccessD] Trim in Access 2007 > > >> Hi Michael >> >> Haven't followed this thread until now. >> Could you explain what you try to do? Clear as mud for me ... >> >> /gustav > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From mmattys at rochester.rr.com Fri Nov 30 09:13:46 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 30 Nov 2007 10:13:46 -0500 Subject: [AccessD] Trim in Access 2007 References: Message-ID: <007901c83363$a072b4f0$0202a8c0@Laptop> Yes, that's what I had originally. Trim() does not appear to work at all I'll have to do it with a custom function like yours. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, November 30, 2007 10:05 AM Subject: Re: [AccessD] Trim in Access 2007 > Hi Michael > > Ignoring Trim for a moment, why not just execute a temporary query: > > Function TrimCass() > > Dim oDB As DAO.Database > Dim oTbl As DAO.TableDef > Dim oQry As DAO.QueryDef > Dim oFld As DAO.Field > > Dim strTmp As String > Dim strSql As String > > Set oDB = CurrentDb > Set oQry = oDB.CreateQueryDef("", "SELECT * FROM CASS") > Set oTbl = oDB.TableDefs("CASS") > > For Each oFld In oTbl.Fields > oQry.SQL = "UPDATE CASS SET CASS.[" & oFld.Name & "] = Trim([" & > oFld.Name & "])" > oQry.Execute > Next > > Set oFld = Nothing > Set oTbl = Nothing > Set oQry = Nothing > Set oDB = Nothing > > End Function > > /gustav > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From mmattys at rochester.rr.com Fri Nov 30 09:24:40 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 30 Nov 2007 10:24:40 -0500 Subject: [AccessD] Trim in Access 2007 References: <007901c83363$a072b4f0$0202a8c0@Laptop> Message-ID: <008b01c83365$23c1dc40$0202a8c0@Laptop> I'm going to try this Trim replacement: http://www.vbcode.com/Asp/showsn.asp?theID=967 Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Michael R Mattys" To: "Access Developers discussion and problem solving" Sent: Friday, November 30, 2007 10:13 AM Subject: Re: [AccessD] Trim in Access 2007 > Yes, that's what I had originally. > Trim() does not appear to work at all > I'll have to do it with a custom function like yours. > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Friday, November 30, 2007 10:05 AM > Subject: Re: [AccessD] Trim in Access 2007 > > >> Hi Michael >> >> Ignoring Trim for a moment, why not just execute a temporary query: From Gustav at cactus.dk Fri Nov 30 09:30:31 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 30 Nov 2007 16:30:31 +0100 Subject: [AccessD] Trim in Access 2007 Message-ID: Hi Michael OK, then try to modify it like this: Const cstrSpace As String * 2 = " " /gustav >>> mmattys at rochester.rr.com 30-11-2007 16:12 >>> Thanks Gustav, That took out all spaces, proving the table is not corrupt However, these are addresses ... :) Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, November 30, 2007 10:00 AM Subject: Re: [AccessD] Trim in Access 2007 > Hi Matt > > Trim only trim outer spaces. Use MTrim to trim inner spaces as well: > > Public Function MTrim(ByVal strString As String) As String > > ' Trims strString for mid and outer spaces. > ' > ' 1999-06-23. Cactus Data ApS. CPH. > > Const cstrSpace As String * 1 = " " > > Dim lngTemp As Long > Dim lngChop As Long > Dim lngLoop As Long > Dim strTemp As String > Dim strTrim As String > > strTemp = Trim(strString) > lngTemp = Len(strTemp) > If lngTemp > 0 Then > strTrim = strTemp > lngChop = 1 > Do > lngChop = InStr(lngChop, strTrim, cstrSpace) > If lngChop > 0 Then > ' A space is found. Shift one character and > ' overwrite this space in string strTrim. > lngLoop = lngLoop + 1 > Mid(strTrim, lngChop) = Mid(strTemp, lngChop + lngLoop) > End If > Loop Until lngChop = 0 > ' String strTrim now contains no spaces. > End If > > ' Return net length of trimmed string. > MTrim = Left(strTrim, lngTemp - lngLoop) > > End Function > > /gustav > >>>> mmattys at rochester.rr.com 30-11-2007 15:46 >>> > Hi Gustav, > > I am doing the common operation of trimming fields that have > extra spaces in them. These probably came from a fixed-width > text-file, but I only receive the accdb. > > I execute the query and it has no effect on the spaces. > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Friday, November 30, 2007 9:31 AM > Subject: Re: [AccessD] Trim in Access 2007 > > >> Hi Michael >> >> Haven't followed this thread until now. >> Could you explain what you try to do? Clear as mud for me ... >> >> /gustav From rusty.hammond at cpiqpc.com Fri Nov 30 09:39:06 2007 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Fri, 30 Nov 2007 09:39:06 -0600 Subject: [AccessD] Trim in Access 2007 Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A2584C070@cpixchng-1.cpiqpc.net> Not having worked with Access 2007 this is just a wag, but in SQL you can set a field as char (fixed length text) or varchar ( variable length text). Is this same capability in Access 2007 and could it be that your field type is set to fixed length? Rusty -----Original Message----- From: Michael R Mattys [mailto:mmattys at rochester.rr.com] Sent: Friday, November 30, 2007 9:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Trim in Access 2007 I'm going to try this Trim replacement: http://www.vbcode.com/Asp/showsn.asp?theID=967 Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Michael R Mattys" To: "Access Developers discussion and problem solving" Sent: Friday, November 30, 2007 10:13 AM Subject: Re: [AccessD] Trim in Access 2007 > Yes, that's what I had originally. > Trim() does not appear to work at all > I'll have to do it with a custom function like yours. > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Friday, November 30, 2007 10:05 AM > Subject: Re: [AccessD] Trim in Access 2007 > > >> Hi Michael >> >> Ignoring Trim for a moment, why not just execute a temporary query: -- 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 pharold at proftesting.com Fri Nov 30 09:40:38 2007 From: pharold at proftesting.com (Perry L Harold) Date: Fri, 30 Nov 2007 10:40:38 -0500 Subject: [AccessD] Trim in Access 2007 References: Message-ID: Michael I think if you change the constant to Const cstrSpace As String * 2 = " " It should replace all double spaces with a single space. If there are multiple spaces, especially if the field is right packed, the loop would have to be rerun until no double spaces exist. Perry Harold -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, November 30, 2007 10:00 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Trim in Access 2007 Hi Matt Trim only trim outer spaces. Use MTrim to trim inner spaces as well: Public Function MTrim(ByVal strString As String) As String ' Trims strString for mid and outer spaces. ' ' 1999-06-23. Cactus Data ApS. CPH. Const cstrSpace As String * 1 = " " Dim lngTemp As Long Dim lngChop As Long Dim lngLoop As Long Dim strTemp As String Dim strTrim As String strTemp = Trim(strString) lngTemp = Len(strTemp) If lngTemp > 0 Then strTrim = strTemp lngChop = 1 Do lngChop = InStr(lngChop, strTrim, cstrSpace) If lngChop > 0 Then ' A space is found. Shift one character and ' overwrite this space in string strTrim. lngLoop = lngLoop + 1 Mid(strTrim, lngChop) = Mid(strTemp, lngChop + lngLoop) End If Loop Until lngChop = 0 ' String strTrim now contains no spaces. End If ' Return net length of trimmed string. MTrim = Left(strTrim, lngTemp - lngLoop) End Function /gustav >>> mmattys at rochester.rr.com 30-11-2007 15:46 >>> Hi Gustav, I am doing the common operation of trimming fields that have extra spaces in them. These probably came from a fixed-width text-file, but I only receive the accdb. I execute the query and it has no effect on the spaces. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, November 30, 2007 9:31 AM Subject: Re: [AccessD] Trim in Access 2007 > Hi Michael > > Haven't followed this thread until now. > Could you explain what you try to do? Clear as mud for me ... > > /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmattys at rochester.rr.com Fri Nov 30 09:48:31 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 30 Nov 2007 10:48:31 -0500 Subject: [AccessD] Trim in Access 2007 References: Message-ID: <00ae01c83368$7ace1280$0202a8c0@Laptop> Yes! Excellent, Gustav. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, November 30, 2007 10:30 AM Subject: Re: [AccessD] Trim in Access 2007 > Hi Michael > > OK, then try to modify it like this: > > Const cstrSpace As String * 2 = " " > > /gustav > >>>> mmattys at rochester.rr.com 30-11-2007 16:12 >>> > Thanks Gustav, > > That took out all spaces, proving the table is not corrupt > However, these are addresses ... :) > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Friday, November 30, 2007 10:00 AM > Subject: Re: [AccessD] Trim in Access 2007 > > >> Hi Matt >> >> Trim only trim outer spaces. Use MTrim to trim inner spaces as well: >> >> Public Function MTrim(ByVal strString As String) As String >> >> ' Trims strString for mid and outer spaces. >> ' >> ' 1999-06-23. Cactus Data ApS. CPH. >> >> Const cstrSpace As String * 1 = " " >> >> Dim lngTemp As Long >> Dim lngChop As Long >> Dim lngLoop As Long >> Dim strTemp As String >> Dim strTrim As String >> >> strTemp = Trim(strString) >> lngTemp = Len(strTemp) >> If lngTemp > 0 Then >> strTrim = strTemp >> lngChop = 1 >> Do >> lngChop = InStr(lngChop, strTrim, cstrSpace) >> If lngChop > 0 Then >> ' A space is found. Shift one character and >> ' overwrite this space in string strTrim. >> lngLoop = lngLoop + 1 >> Mid(strTrim, lngChop) = Mid(strTemp, lngChop + lngLoop) >> End If >> Loop Until lngChop = 0 >> ' String strTrim now contains no spaces. >> End If >> >> ' Return net length of trimmed string. >> MTrim = Left(strTrim, lngTemp - lngLoop) >> >> End Function >> >> /gustav >> >>>>> mmattys at rochester.rr.com 30-11-2007 15:46 >>> >> Hi Gustav, >> >> I am doing the common operation of trimming fields that have >> extra spaces in them. These probably came from a fixed-width >> text-file, but I only receive the accdb. >> >> I execute the query and it has no effect on the spaces. >> >> Michael R. Mattys >> MapPoint & Access Dev >> www.mattysconsulting.com >> >> ----- Original Message ----- >> From: "Gustav Brock" >> To: >> Sent: Friday, November 30, 2007 9:31 AM >> Subject: Re: [AccessD] Trim in Access 2007 >> >> >>> Hi Michael >>> >>> Haven't followed this thread until now. >>> Could you explain what you try to do? Clear as mud for me ... >>> >>> /gustav > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From ssharkins at gmail.com Fri Nov 30 09:49:55 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 30 Nov 2007 10:49:55 -0500 Subject: [AccessD] OT: For the diversified list Message-ID: <00f001c83368$a8f40980$4b3a8343@SusanOne> >From my 9 year old granddaughters: When you go into the bathroom, you're American. When you come out of the bathroom, you're American. What are you when you're IN the bathroom.... . . . . You're a peein! Yo From mmattys at rochester.rr.com Fri Nov 30 09:54:42 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 30 Nov 2007 10:54:42 -0500 Subject: [AccessD] Trim in Access 2007 References: <8301C8A868251E4C8ECD3D4FFEA40F8A2584C070@cpixchng-1.cpiqpc.net> Message-ID: <00b301c83369$53c8cb70$0202a8c0@Laptop> Hi Rusty, No, still the same old field definitions (afaict) Gustav's function works, I don't know why Trim wouldn't. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: To: Sent: Friday, November 30, 2007 10:39 AM Subject: Re: [AccessD] Trim in Access 2007 > Not having worked with Access 2007 this is just a wag, but in SQL you can > set a field as char (fixed length text) or varchar ( variable length > text). > Is this same capability in Access 2007 and could it be that your field > type > is set to fixed length? > > Rusty From Lambert.Heenan at AIG.com Fri Nov 30 10:04:50 2007 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 30 Nov 2007 11:04:50 -0500 Subject: [AccessD] OT: Friday (weekend) fun: Erlang Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED74E0@XLIVMBX35bkup.aig.com> Early adopters form a line. Personally I don't need to spend over $3,399 on a 128 Gig drive. http://www.newegg.com/Product/Product.aspx?Item=N82E16820609259 Interesting that the spec provided quote data throughput but not access speeds. I think I'll wait until it gets down to a more realistic $40 or $50. :-) http://www.newegg.com/Product/Product.aspx?Item=N82E16822136075 Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, November 30, 2007 8:01 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Friday (weekend) fun: Erlang On a more interesting note, Solid State Disks are finally here and readily available: http://www.newegg.com/Store/SubCategory.aspx?SubCategory=636&Tpk=solid+state +disk Yes, they are still expensive but even these prices are low compared to what was available and these prices are dropping rapidly as manufacturing picks up steam. Dell is now actually shipping laptops with a 64 gb solid state disk. We live in exciting times. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, November 30, 2007 7:45 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Friday (weekend) fun: Erlang Hi all Everyone seems so busy, so here's something for a relaxing weekend. Predicting that in 2019 we will have the million core processor, you need to use a language capable of parallel processing. Erlang is one. And it is free and open-source: http://www.erlang.org Note chapter 3, Concurrent Programming, here: http://www.erlang.org/doc/getting_started/part_frame.html Also, a community exists: http://www.trapexit.org/ Have fun! /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Nov 30 10:06:16 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 30 Nov 2007 17:06:16 +0100 Subject: [AccessD] Trim in Access 2007 Message-ID: Hi Michael It could be that Trim on its own is a native function of JET SQL while using a custom function will call Trim of VBA. /gustav >>> mmattys at rochester.rr.com 30-11-2007 16:54 >>> Hi Rusty, No, still the same old field definitions (afaict) Gustav's function works, I don't know why Trim wouldn't. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: To: Sent: Friday, November 30, 2007 10:39 AM Subject: Re: [AccessD] Trim in Access 2007 > Not having worked with Access 2007 this is just a wag, but in SQL you can > set a field as char (fixed length text) or varchar ( variable length > text). > Is this same capability in Access 2007 and could it be that your field > type > is set to fixed length? > > Rusty From jwcolby at colbyconsulting.com Fri Nov 30 10:24:06 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 30 Nov 2007 11:24:06 -0500 Subject: [AccessD] OT: Friday (weekend) fun: Erlang In-Reply-To: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED74E0@XLIVMBX35bkup.aig.com> References: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED74E0@XLIVMBX35bkup.aig.com> Message-ID: <001c01c8336d$6e1dd5c0$647aa8c0@M90> LOL, think back Lambert. In 1982 I purchased a dual 8" floppy which provided me with 1 mb of data storage per drive. $600 Paid. I am certainly not buying these solid state disks, simply noting that they are finally available. However last year I paid $125 for a board and $100 / gigabyte to build a 4 gig ram drive because I needed it. The access speed was key to getting double the performance out of an address validation system. That is $500 for 4 gigs, which I purchased less than 2 years ago, and it did exactly what I needed and paid for itself 10 times over. These new drives are $430 for a 32 gig drive that is plug in compatible with my IDE port. http://www.newegg.com/Product/Product.aspx?Item=N82E16820147021 And how much was your example hard disk 2 years ago? These flash disks will probably never replace rotating media everywhere, but they are actually a great medium for certain uses. Imagine a data logger on low powered system, or in a car, logging data from the car's engine, or in an airplane logging data, or in a low power laptop. There are many places where the unreliability of rotating media just makes them risky to use. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Friday, November 30, 2007 11:05 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Friday (weekend) fun: Erlang Early adopters form a line. Personally I don't need to spend over $3,399 on a 128 Gig drive. http://www.newegg.com/Product/Product.aspx?Item=N82E16820609259 Interesting that the spec provided quote data throughput but not access speeds. I think I'll wait until it gets down to a more realistic $40 or $50. :-) http://www.newegg.com/Product/Product.aspx?Item=N82E16822136075 Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, November 30, 2007 8:01 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Friday (weekend) fun: Erlang On a more interesting note, Solid State Disks are finally here and readily available: http://www.newegg.com/Store/SubCategory.aspx?SubCategory=636&Tpk=solid+state +disk Yes, they are still expensive but even these prices are low compared to what was available and these prices are dropping rapidly as manufacturing picks up steam. Dell is now actually shipping laptops with a 64 gb solid state disk. We live in exciting times. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, November 30, 2007 7:45 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Friday (weekend) fun: Erlang Hi all Everyone seems so busy, so here's something for a relaxing weekend. Predicting that in 2019 we will have the million core processor, you need to use a language capable of parallel processing. Erlang is one. And it is free and open-source: http://www.erlang.org Note chapter 3, Concurrent Programming, here: http://www.erlang.org/doc/getting_started/part_frame.html Also, a community exists: http://www.trapexit.org/ Have fun! /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmattys at rochester.rr.com Fri Nov 30 10:49:42 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 30 Nov 2007 11:49:42 -0500 Subject: [AccessD] Trim in Access 2007 References: Message-ID: <010601c83371$02564b70$0202a8c0@Laptop> Gustav, I don't know, but I'll use your MTrim from now on. Thanks again. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, November 30, 2007 11:06 AM Subject: Re: [AccessD] Trim in Access 2007 > Hi Michael > > It could be that Trim on its own is a native function of JET SQL while > using a custom function will call Trim of VBA. > > /gustav > >>>> mmattys at rochester.rr.com 30-11-2007 16:54 >>> > Hi Rusty, > > No, still the same old field definitions (afaict) > Gustav's function works, I don't know why Trim wouldn't. > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com From jimdettman at verizon.net Fri Nov 30 11:08:03 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 30 Nov 2007 12:08:03 -0500 Subject: [AccessD] OT: Friday (weekend) fun: Erlang In-Reply-To: <001801c83352$23f7b3f0$647aa8c0@M90> References: <001801c83352$23f7b3f0$647aa8c0@M90> Message-ID: <001401c83373$91d944d0$8abea8c0@XPS> << Why aren't we able to run all of the oh so cool things that ran on the supercomputers 30 years ago. >> Because we use Windoze... Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, November 30, 2007 8:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Friday (weekend) fun: Erlang What I find amusing is that the current 4 core desktop computer is more that a supercomputer from 1980. Why aren't we able to run all of the oh so cool things that ran on the supercomputers 30 years ago. We could simulate a nuclear bomb or the weather if we were willing to allow our computers to run uninterrupted for a couple of months. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, November 30, 2007 7:45 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Friday (weekend) fun: Erlang Hi all Everyone seems so busy, so here's something for a relaxing weekend. Predicting that in 2019 we will have the million core processor, you need to use a language capable of parallel processing. Erlang is one. And it is free and open-source: http://www.erlang.org Note chapter 3, Concurrent Programming, here: http://www.erlang.org/doc/getting_started/part_frame.html Also, a community exists: http://www.trapexit.org/ Have fun! /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Nov 30 11:38:28 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 30 Nov 2007 12:38:28 -0500 Subject: [AccessD] OT: Friday (weekend) fun: Erlang In-Reply-To: <001401c83373$91d944d0$8abea8c0@XPS> References: <001801c83352$23f7b3f0$647aa8c0@M90> <001401c83373$91d944d0$8abea8c0@XPS> Message-ID: <001d01c83377$d2a73f40$647aa8c0@M90> Well besides that... There are plenty of Linux machines running. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, November 30, 2007 12:08 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Friday (weekend) fun: Erlang << Why aren't we able to run all of the oh so cool things that ran on the supercomputers 30 years ago. >> Because we use Windoze... Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, November 30, 2007 8:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Friday (weekend) fun: Erlang What I find amusing is that the current 4 core desktop computer is more that a supercomputer from 1980. Why aren't we able to run all of the oh so cool things that ran on the supercomputers 30 years ago. We could simulate a nuclear bomb or the weather if we were willing to allow our computers to run uninterrupted for a couple of months. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, November 30, 2007 7:45 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Friday (weekend) fun: Erlang Hi all Everyone seems so busy, so here's something for a relaxing weekend. Predicting that in 2019 we will have the million core processor, you need to use a language capable of parallel processing. Erlang is one. And it is free and open-source: http://www.erlang.org Note chapter 3, Concurrent Programming, here: http://www.erlang.org/doc/getting_started/part_frame.html Also, a community exists: http://www.trapexit.org/ Have fun! /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Fri Nov 30 11:51:21 2007 From: garykjos at gmail.com (Gary Kjos) Date: Fri, 30 Nov 2007 11:51:21 -0600 Subject: [AccessD] OT: For the diversified list In-Reply-To: <00f001c83368$a8f40980$4b3a8343@SusanOne> References: <00f001c83368$a8f40980$4b3a8343@SusanOne> Message-ID: HA. Good one! GK On 11/30/07, Susan Harkins wrote: > >From my 9 year old granddaughters: > > When you go into the bathroom, you're American. > When you come out of the bathroom, you're American. > > What are you when you're IN the bathroom.... > > . > > . > > . > > . > > You're a peein! > > > > > > > > > > > > Yo > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From mmattys at rochester.rr.com Fri Nov 30 12:35:25 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 30 Nov 2007 13:35:25 -0500 Subject: [AccessD] Trim in Access 2007 References: <010601c83371$02564b70$0202a8c0@Laptop> Message-ID: <016001c8337f$ca009c80$0202a8c0@Laptop> I figured out what went wrong, but I still don't like it: The imported table name is also called CASS The SQL I used to create the table was SELECT TRIM([ID]) AS ID, ... INTO CASS FROM CASS IN 'dbpath' No error occurred in the code, but manually creating the query tells me that TRIM([ID]) AS ID is a circular reference. It created the table anyway, it just refused to Trim. ?? (I did not use On Error Resume Next) Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com From Gustav at cactus.dk Fri Nov 30 12:53:52 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 30 Nov 2007 19:53:52 +0100 Subject: [AccessD] Trim in Access 2007 Message-ID: Hi Michael That's what happens when you keep small secrets for yourself ... had you posted the full SQL we would, of course, have spotted that right away(?) /gustav >>> mmattys at rochester.rr.com 30-11-2007 19:35 >>> I figured out what went wrong, but I still don't like it: The imported table name is also called CASS The SQL I used to create the table was SELECT TRIM([ID]) AS ID, ... INTO CASS FROM CASS IN 'dbpath' No error occurred in the code, but manually creating the query tells me that TRIM([ID]) AS ID is a circular reference. It created the table anyway, it just refused to Trim. ?? (I did not use On Error Resume Next) Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com